fibercrypto / fibercrypto/skycoin
Flaky e2e tests in Travis
- Dominant language
- Go
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Recently tests failures reported quite often on `make test-ui-e2e` step of Travis build jobs . This snippet extracted from [build job 452200226](https://api.travis-ci.org/v3/job/452200226/log.txt) illustrates details a bit better .
```
**************************************************
* Failures *
**************************************************
1) Transactions should contain transactions
[31m- [39m[31mExpected 0 to be greater than 0.[39m
2) Transactions should show transaction detail modal
[31m- [39m[31mFailed: Index out of bound. Trying to access element at index: 0, but there are only 0 elements that match locator By(css selector, .-transaction)[39m
3) Transactions should hide transaction detail modal
[31m- [39m[31mFailed: Wait timed out after 5001ms[39m
Executed 40 of 40 specs[31m (3 FAILED)[39m in 47 secs.
[[90m03:29:55[39m] I/launcher - 0 instance(s) of WebDriver still running
[[90m03:29:55[39m] I/launcher - chrome #01 failed 3 test(s)
[[90m03:29:55[39m] I/launcher - overall: 3 failed spec(s)
[[90m03:29:55[39m] [31mE[39m[31m/launcher[39m - Process exited with error code 1
[37;40mnpm[0m [0m[31;40mERR![0m [0m[35mcode[0m ELIFECYCLE
[0m[37;40mnpm[0m [0m[31;40mERR![0m [0m[35merrno[0m 1
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m desktopwallet@0.0.0 e2e-choose-config: `ng e2e --proxy-config $E2E_PROXY_CONFIG --delete-output-path false`
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Exit status 1
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m Failed at the desktopwallet@0.0.0 e2e-choose-config script.
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m This is probably not a problem with npm. There is likely additional logging output above.
[0m
[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m A complete log of this run can be found in:
[0m[37;40mnpm[0m [0m[31;40mERR![0m[35m[0m /home/travis/.npm/_logs/2018-11-08T03_29_55_218Z-debug.log
[0m+RESULT=1
+echo 'shutting down skycoin node'
shutting down skycoin node
+kill -s SIGINT 30453
+wait 30453
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Shutting down...
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Closing web interface
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [api]:[0m Shutting down web interface
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [api]:[0m Web interface closed
[90m[2018-11-08T03:29:55Z][0m [31mERROR[0m[36m [main]:[0m accept tcp 127.0.0.1:1024: use of closed network connection
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [api]:[0m Web interface shut down
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Closing daemon
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Stopping the daemon run loop
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Shutting down Pool
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown called
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown closed pool.quit
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown waiting for strandDone
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown closing the listener
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown disconnecting all connections
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [gnet]:[0m ConnectionPool.Shutdown waiting for done
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Shutting down Gateway
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Shutting down Pex
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [pex]:[0m Shutting down pex
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [pex]:[0m Save peerlist
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [pex]:[0m Pex.Run stopped
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [pex]:[0m Pex shutdown
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Daemon closed
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [daemon]:[0m Daemon shutdown complete
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Waiting for goroutines to finish
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Closing database
[90m[2018-11-08T03:29:55Z][0m [32mINFO[0m[36m [main]:[0m Goodbye
+rm skycoin-integration
+rm /tmp/e2e-proxy.config.FhQzyq.js
+[[ 1 -ne 0 ]]
+exit 1
make: *** [test-ui-e2e] Error 1
travis_time:end:229c33c0:start=1541647715908676009,finish=1541647795239705195,duration=79331029186
[0K
[31;1mThe command "make test-ui-e2e" exited with 2.[0m
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.