Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline fails to find the report for datastax 4.18.1 #71

Closed
Bouncheck opened this issue Jan 22, 2025 · 1 comment
Closed

Pipeline fails to find the report for datastax 4.18.1 #71

Bouncheck opened this issue Jan 22, 2025 · 1 comment
Assignees

Comments

@Bouncheck
Copy link
Contributor

The test itself succeeds, but there is no .xml in "Build Artifacts" like for other versions.

From https://jenkins.scylladb.com/job/scylla-master/job/driver-tests/job/java-driver-matrix-test/1547/consoleFull :

00:22:54  [INFO] Results:
00:22:54  [INFO] 
00:22:54  [WARNING] Tests run: 1432, Failures: 0, Errors: 0, Skipped: 62
00:22:54  [INFO] 
00:22:54  [INFO] ------------------------------------------------------------------------
00:22:54  [INFO] BUILD SUCCESS
00:22:54  [INFO] ------------------------------------------------------------------------
00:22:54  [INFO] Total time:  13:34 min
00:22:54  [INFO] Finished at: 2025-01-19T23:22:53Z
00:22:54  [INFO] ------------------------------------------------------------------------
00:22:54  INFO:root:All tests are passed for '4.18.1' version
00:22:54  ERROR:root:4.18.1 failed
00:22:54  Traceback (most recent call last):
00:22:54    File "/jenkins/workspace/scylla-master/driver-tests/java-driver-matrix-test/scylla-java-driver-matrix/main.py", line 31, in main
00:22:54      report = runner.run()
00:22:54               ^^^^^^^^^^^^
00:22:54    File "/jenkins/workspace/scylla-master/driver-tests/java-driver-matrix-test/scylla-java-driver-matrix/run.py", line 183, in run
00:22:54      metadata_file.write_text(json.dumps(metadata))
00:22:54    File "/usr/local/lib/python3.11/pathlib.py", line 1078, in write_text
00:22:54      with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:
00:22:54           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:22:54    File "/usr/local/lib/python3.11/pathlib.py", line 1044, in open
00:22:54      return io.open(self, mode, buffering, encoding, errors, newline)
00:22:54             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
00:22:54  FileNotFoundError: [Errno 2] No such file or directory: '/jenkins/workspace/scylla-master/driver-tests/java-driver-matrix-test/scylla-java-driver-matrix/reports/metadata_4.18.1.json'
@Bouncheck
Copy link
Contributor Author

Turns out the version is irrelevant. The issue was that the directory would not be created until first failure or somehow accessing a summary field in another class.
Resolved by #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant