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

[network] Tests failing #7980

Closed
lolodomo opened this issue Jun 22, 2020 · 1 comment · Fixed by #7982
Closed

[network] Tests failing #7980

lolodomo opened this issue Jun 22, 2020 · 1 comment · Fixed by #7982
Labels
bug An unexpected problem or unintended behavior of an add-on test

Comments

@lolodomo
Copy link
Contributor

Build on Windows 10:

[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.openhab.binding.network.internal.dhcp.DHCPTest
[Thread-1] INFO org.openhab.binding.network.internal.dhcp.DHCPPacketListenerServer - DHCP request packet listener online
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.463 s - in org.openhab.binding.network.internal.dhcp.DHCPTest
[INFO] Running org.openhab.binding.network.internal.discovery.DiscoveryTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.727 s - in org.openhab.binding.network.internal.discovery.DiscoveryTest
[INFO] Running org.openhab.binding.network.internal.handler.NetworkHandlerTest
[Thread-2] INFO org.openhab.binding.network.internal.dhcp.DHCPPacketListenerServer - DHCP request packet listener online
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.285 s - in org.openhab.binding.network.internal.handler.NetworkHandlerTest
[INFO] Running org.openhab.binding.network.internal.PresenceDetectionTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.247 s - in org.openhab.binding.network.internal.PresenceDetectionTest
[INFO] Running org.openhab.binding.network.internal.PresenceDetectionValuesTest
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.openhab.binding.network.internal.PresenceDetectionValuesTest
[INFO] Running org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest
[ERROR] Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.147 s <<< FAILURE! - in org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest
[ERROR] testExpiring(org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest)  Time elapsed: 0.147 s  <<< FAILURE!
org.mockito.exceptions.verification.WantedButNotInvoked:

Wanted but not invoked:
expiringCacheUpdate.requestCacheUpdate();
-> at org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest.testExpiring(ExpiringCacheAsyncTest.java:89)
Actually, there were zero interactions with this mock.

        at org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest.testExpiring(ExpiringCacheAsyncTest.java:89)

[INFO] Running org.openhab.binding.network.internal.utils.LatencyParserTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.openhab.binding.network.internal.utils.LatencyParserTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   ExpiringCacheAsyncTest.testExpiring:89
Wanted but not invoked:
expiringCacheUpdate.requestCacheUpdate();
-> at org.openhab.binding.network.internal.toberemoved.cache.ExpiringCacheAsyncTest.testExpiring(ExpiringCacheAsyncTest.java:89)
Actually, there were zero interactions with this mock.

[INFO]
[ERROR] Tests run: 22, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.041 s
[INFO] Finished at: 2020-06-22T18:18:16+02:00
[INFO] Final Memory: 36M/657M
[INFO] ------------------------------------------------------------------------
@lolodomo lolodomo added bug An unexpected problem or unintended behavior of an add-on test labels Jun 22, 2020
@lolodomo
Copy link
Contributor Author

The faliure is not systematic but very frequent.

lolodomo added a commit to lolodomo/openhab-addons that referenced this issue Jun 22, 2020
cpmeister pushed a commit that referenced this issue Jun 23, 2020
knikhilwiz pushed a commit to knikhilwiz/openhab2-addons that referenced this issue Jul 12, 2020
CSchlipp pushed a commit to CSchlipp/openhab-addons that referenced this issue Jul 26, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: CSchlipp <[email protected]>
MPH80 pushed a commit to MPH80/openhab-addons that referenced this issue Aug 3, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: MPH80 <[email protected]>
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this issue Aug 31, 2020
DaanMeijer pushed a commit to DaanMeijer/openhab-addons that referenced this issue Sep 1, 2020
Fix openhab#7980

Signed-off-by: Laurent Garnier <[email protected]>
Signed-off-by: Daan Meijer <[email protected]>
markus7017 pushed a commit to markus7017/openhab-addons that referenced this issue Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant