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

Fix Pics Statement Failing Unsupported Properties #948

Merged
merged 9 commits into from
Feb 15, 2022
Merged

Fix Pics Statement Failing Unsupported Properties #948

merged 9 commits into from
Feb 15, 2022

Conversation

jhughesbiot
Copy link
Collaborator

Corrects issue: #886

Properties indicated as not supported, will be shown as SKIPPED in the result. The same will occur if an object is in the pics statement but is not in the device as long as all properties are marked false.

Tested against the most recent device that had this failure present itself to confirm both test builds and real world scenarios. Image included to show how the report and pics statement handle these scenarios.

image

@codecov
Copy link

codecov bot commented Feb 14, 2022

Codecov Report

Merging #948 (4278e50) into master (59e9ba4) will decrease coverage by 49.50%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #948       +/-   ##
===========================================
- Coverage   82.14%   32.63%   -49.51%     
===========================================
  Files          47       47               
  Lines        5769     5769               
===========================================
- Hits         4739     1883     -2856     
- Misses       1030     3886     +2856     
Flag Coverage Δ
ata ?
aux ?
base ?
dhcp ?
many ?
mud ?
switch ?
topo ?
unit 32.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
daq/entry.py 0.00% <0.00%> (-90.42%) ⬇️
daq/traffic_analyzer.py 0.00% <0.00%> (-89.69%) ⬇️
daq/test_modules/external_module.py 18.18% <0.00%> (-79.03%) ⬇️
daq/dhcp_monitor.py 20.75% <0.00%> (-78.31%) ⬇️
daq/stream_monitor.py 14.87% <0.00%> (-75.21%) ⬇️
daq/test_modules/native_host.py 19.40% <0.00%> (-74.63%) ⬇️
daq/base_gateway.py 19.65% <0.00%> (-73.94%) ⬇️
daq/topology.py 21.85% <0.00%> (-73.45%) ⬇️
daq/report.py 26.66% <0.00%> (-71.75%) ⬇️
daq/host.py 20.74% <0.00%> (-70.61%) ⬇️
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 59e9ba4...4278e50. Read the comment docs.

@jhughesbiot
Copy link
Collaborator Author

@grafnu
Is there any way to get a report of the stickler-ci failure for a single file? I'd like to get that issue resolved before merging just not seeing anyway to run the formatting check against a single file and get a report.

@grafnu
Copy link
Collaborator

grafnu commented Feb 15, 2022 via email

@jhughesbiot
Copy link
Collaborator Author

I think I have a fix for the stickler but would want to get this merged in first so I can get a clean PR going to just address that issue. I can't merge it in since I don't have write access.

@grafnu grafnu merged commit 4063107 into faucetsdn:master Feb 15, 2022
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

Successfully merging this pull request may close these issues.

2 participants