Title: CI artifacts missing in some jobs · Issue #1438 · fastmachinelearning/hls4ml · GitHub
Open Graph Title: CI artifacts missing in some jobs · Issue #1438 · fastmachinelearning/hls4ml
X Title: CI artifacts missing in some jobs · Issue #1438 · fastmachinelearning/hls4ml
Description: Prerequisites Please make sure to check off these prerequisites before submitting a bug report. Test that the bug appears on the current version of the master branch. Make sure to include the commit hash of the commit you checked out. Ch...
Open Graph Description: Prerequisites Please make sure to check off these prerequisites before submitting a bug report. Test that the bug appears on the current version of the master branch. Make sure to include the commi...
X Description: Prerequisites Please make sure to check off these prerequisites before submitting a bug report. Test that the bug appears on the current version of the master branch. Make sure to include the commi...
Opengraph URL: https://github.com/fastmachinelearning/hls4ml/issues/1438
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI artifacts missing in some jobs","articleBody":"## Prerequisites\nPlease make sure to check off these prerequisites before submitting a bug report.\n- [x] Test that the bug appears on the current version of the master branch. Make sure to include the commit hash of the commit you checked out.\n- [x] Check that the issue hasn't already been reported, by checking the currently open issues.\n- [x] If there are steps to reproduce the problem, make sure to write them down below.\n- [ ] If relevant, please include the hls4ml project files, which were created directly before and/or after the bug.\n\n## Quick summary\nSome CI jobs upload no artifacts even though the CI template expects tarballs and/or synthesis reports, which results in artifact upload warnings. *The jobs do not fail, but this is noisy*.\n\n## Details\n### Steps to Reproduce\n1. Look at a CI job that only executes tests without synthesis and without explicit tarball generation, e.g.\n - `test_recurrent_pytorch.py::test_gru`, `test_lstm`, `test_rnn`\n - https://gitlab.cern.ch/fastmachinelearning/hls4ml/-/jobs/69760179\n2. Observe the artifact upload step.\n\n### Expected behavior\nArtifacts should be produced.\n\n### Actual behavior\nArtifacts are produced only for certain backends/tests (e.g., Catapult where tarballs are always generated). Other jobs produce none and the upload step logs:\n```\nUploading artifacts...\nWARNING: test/pytest/*.tar.gz: no matching files...\nWARNING: test/pytest/synthesis_report_*.json: no matching files...\nERROR: No files to upload\n```\n\n## Optional\n\n### Possible fix\n- Add a `WriteTar` configuration to `CatapultWriter` for consistency with other backends.\n- If artifacts are desired, update tests to set `write_tar=True`.\n\n### Additional context\nThe root cause is inconsistent artifact production: Catapult always generates `.tar.gz` archives (unconditional `write_tar` in `CatapultWriter.write_hls()`), while other backends only generate tarballs when `WriterConfig.WriteTar` is enabled (default False).\n\nEvidence\n- `hls4ml/writer/catapult_writer.py`: `write_hls()` always calls `self.write_tar(model)` (no config gate).\n- `hls4ml/writer/vivado_writer.py`, `oneapi_writer.py`, `quartus_writer.py`: tarball creation is gated by `WriteTar`.","author":{"url":"https://github.com/marco66colombo","@type":"Person","name":"marco66colombo"},"datePublished":"2026-02-13T21:14:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1438/hls4ml/issues/1438"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7a3cb6fb-d36c-b6fb-90a2-b1cdfd936d42 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E94:6C38E:14A735:1DAB1C:6A4BBFA8 |
| html-safe-nonce | 5721901f45e760e4f6520670b6b8ec665beaecab93ce79b6132e96916121e080 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTk0OjZDMzhFOjE0QTczNToxREFCMUM6NkE0QkJGQTgiLCJ2aXNpdG9yX2lkIjoiMjgxNjU3MzI5OTIwNDkxNDMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 18b2c4281f8b567b6760dd4fba5906271efc33b80490ae38d9e1570bbe8d2fde |
| hovercard-subject-tag | issue:3939259216 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fastmachinelearning/hls4ml/1438/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2cf32ac9e75c3077e52dd39b94d8bf72f9da732cf12ed12188e076199a677c86/fastmachinelearning/hls4ml/issues/1438 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2cf32ac9e75c3077e52dd39b94d8bf72f9da732cf12ed12188e076199a677c86/fastmachinelearning/hls4ml/issues/1438 |
| og:image:alt | Prerequisites Please make sure to check off these prerequisites before submitting a bug report. Test that the bug appears on the current version of the master branch. Make sure to include the commi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marco66colombo |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae1c14875555a1dd92bdef45baa6dd9aa796df891e4e471989f7117fe3139fc1 |
| turbo-cache-control | no-preview |
| go-import | github.com/fastmachinelearning/hls4ml git https://github.com/fastmachinelearning/hls4ml.git |
| octolytics-dimension-user_id | 33101568 |
| octolytics-dimension-user_login | fastmachinelearning |
| octolytics-dimension-repository_id | 108329371 |
| octolytics-dimension-repository_nwo | fastmachinelearning/hls4ml |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 108329371 |
| octolytics-dimension-repository_network_root_nwo | fastmachinelearning/hls4ml |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b15c57117aeff522995a9578e1185f6c45d6c562 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width