-
Notifications
You must be signed in to change notification settings - Fork 190
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
Notify Chewie of port status events. #2623
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2623 +/- ##
=========================================
- Coverage 92.15% 92.05% -0.1%
=========================================
Files 42 42
Lines 6077 6083 +6
=========================================
Hits 5600 5600
- Misses 477 483 +6
Continue to review full report at Codecov.
|
I've rerun the failing test on my travis-ci 3 times, and it has not failed again, so possibly a timing issue?? |
I reran on our travis instance three times and always see the same failure:
|
Same failure again 😞 |
Yea, I've down merged master in on another branch and got it failing on my instance of travis now. 50 retries doesn't help either |
downmerge issue is probably the prometheus rename. "**_total" |
still fails |
It's the labels. Use self.port_labels() to construct the label; it now prepends a 'b' to stuff. 'port_dot1x_success_total{dp_id="0xf0bcfbf4",dp_name="faucet-1",port="b1",port_description="b1"} 1.0', |
Okay looks like this is mostly passing now, unfortunately #2647 broke builds for faucet@master. We're just working on a fix now and when that works I'll let you know to rebase which should make your tests pass again. |
Thanks @byllyfish. |
Okay turns out we had a few problems caused by faucetsdn/docker-test-base#9, I have reverted this change and fixed the clib failures we were seeing in #2652. Rebase on master and this should work now, sorry about all the fuss! |
Codecov Report
@@ Coverage Diff @@
## master #2623 +/- ##
========================================
- Coverage 92.09% 92% -0.1%
========================================
Files 42 42
Lines 6082 6088 +6
========================================
Hits 5601 5601
- Misses 481 487 +6
Continue to review full report at Codecov.
|
FaucetDockerHostTest failed, which I've seen fail at other times, is there something in particular that causes it to fail? |
Hmmmm okay. I thought I had fixed this bug. Basically the clib tests want to use docker-in-docker which can be unreliable when not done correctly. I will keep investigating at my end and try get to the bottom of this and let you know when it's safe to rebase again. Sorry again for the disruption. |
Sorry again, you managed to grab faucet@master during our release process which means the version number wasn't set correctly so your tests failed again. Give it one more rebase and you'll be good to go finally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a bit of a messy system for handling interface numbers now in case the end user is not using ports 1-4 in their hardware test bed.
For now you can use portN instead of the integers to set which port you are referring to.
I've just updated the docs to mention we support TLS (as of v0.0.10), and PEAP (there is a PR in chewie). I can back it out if it should be in another pr. |
Yeah put the documentation change in a separate PR. |
Does this PR now pass, on a hardware test bed using not ports 1-4? |
all 1x tests pass on c9300 not using ports 1,2,3,4 |
Also added code to explicitly remove the ACLs from the port_acl table, although this isn't actually necessary as the caller clears the table for anything that matches the port number.
https://travis-ci.org/Bairdo/faucet/builds/452148059