-
Notifications
You must be signed in to change notification settings - Fork 60
Add IoT image url check in collector (New) #1867
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
base: main
Are you sure you want to change the base?
Conversation
Hello, we have a new collector in checkbox that should always put the image information in the submission.json under |
hi @Hook25, |
having the collector work in every situation would be nice, especially because it would include the information in all test runs you do, not just the ones that have this job included, but also because the information is always in the same place and parsed by C3, so it is easier to display. There was a spec a while back about these strings, are you saying that IoT is not following the spec or that the parser I wrote doesn't understand the spec? |
The parser you wrote for PC looks good to me. |
Just FYI, DCD file for IoT is stored in different location "/run/mnt/ubuntu-seed/.disk/info". |
I really like your idea! Ping me once you have it I will give it a look |
7fb9039
to
b7004ed
Compare
b7004ed
to
cdd4c98
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1867 +/- ##
==========================================
+ Coverage 49.96% 50.11% +0.14%
==========================================
Files 378 378
Lines 40768 40819 +51
Branches 6859 6856 -3
==========================================
+ Hits 20370 20455 +85
+ Misses 19670 19626 -44
- Partials 728 738 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Adds a test case to get URL of the image installed on IoT devicePC and IOT devices have different DCD strings formats, thus existing PC parser does not support url generation for IoT devices.
This change will add a check in collector to parse the dcd file for IoT devices first. When this file is missing, we assume that platform is PC and use the PC parser instead.
Resolved issues
Closes https://warthogs.atlassian.net/browse/OEX86-682
Documentation
N/A
Tests
Added unittest for IoT dcd format and url