-
Notifications
You must be signed in to change notification settings - Fork 282
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
Meta: Implement results publisher #207
Comments
Test ReportingTest Reporting consists of TestRecorder and TestPublisher. P0
Here is the low level design proposal for each of the pieces TestRecorder:
TestPublisher:
Proposal for test directory structureThis is the directory structure we will use in S3. Build Directory structure: |
Looks like the directory structure has been changed in S3. Proposing a new tentative structure here for publishing logs in S3: |
How about That base path has the arch, platform, build number and all that good stuff in there. The change that was make for the bundle workflow would be a clean way to update the test system |
Let's not call paths camelCase ;) |
That proposal with examples: Build Manifest
Dist Manifest
Test Results
|
I would just call it "tests" and "integ-tests" to match other names. https://ci.opensearch.org/ci/dbc/bundle-build/1.2.0/292/linux/x64/tests/1/integ-test.html |
Just to be sure will we be storing tests under |
|
RE: |
The way test recorder and publisher are integrated right now is, test recorder is storing results under |
Note that in #878 I am getting rid of the S3 dependency. We don't have build code that uploads to S3, this is done in Jenkins. Similarly we need to only worry about publishing test results locally and the Jenkins job can copy those results to S3 as needed. |
Thanks for the update. Does that mean #341 will be handled by Jenkins as the test results are already getting published locally by TestRecorder under |
@owaiskazi19 We still need something in Jenkinsfile to publish those results, not sure which issue that is |
I think the actual uploading should be done via Jenkins, the system itself doesn't need this knowledge. I think it would look something like what is already in the build workflow |
Nice, I like it @owaiskazi19. Also make sure the test manifest file is also included in the path, I believe the tests generate this via TestRecorder. @peternied is there an issue for updating the Jenkins job to support uploading files to artifact bucket? |
Closing this. |
Subtask of #177
TestRecorder: Add implementations to record generic information from test suites. #340
TestPublisher: Implement result publisher #341
Integrate Test Recorder to publish results for all Tests(Integration Tests, BWC tests and Performance Tests) #172
TestPublisher: Business Logic to implement the folder structure for test results #225
Implement a results publisher that writes test logs and results to the same location that the bundle manifest came from (local filesystem or S3).
The text was updated successfully, but these errors were encountered: