github: print debug logs for failed unit tests #8083
Merged
This check has been archived and is scheduled for deletion.
Learn more about checks retention
Travis CI / Travis CI - Pull Request
failed
Oct 11, 2023 in 1h 6m 18s
Build Failed
The build failed. This is a change from the previous build, which passed.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #8083 github: print debug logs for failed unit tests.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Go |
Operating System | Linux (Xenial) |
Go Version | 1.21.0 |
Build Configuration
{
"language": "go",
"os": [
"linux"
],
"dist": "xenial",
"cache": {
"directories": [
"$GOCACHE",
"$GOPATH/pkg/mod",
"$GOPATH/src/github.com/btcsuite",
"$GOPATH/src/github.com/golang",
"$GOPATH/src/github.com/grpc-ecosystem",
"$GOPATH/src/gopkg.in/alecthomas",
"$GOPATH/src/google.golang.org"
]
},
"git": {
"depth": false
},
"go": [
"1.21.0"
],
"env": [
"global={:GOCACHE=>\"$HOME/.go-build\"}={:BITCOIN_VERSION=>\"\\\"22.0\\\"\"}"
],
"sudo": true,
"jobs": {
"include": [
{
"stage": "Integration Test",
"name": "Bitcoind Integration ARM",
"script": [
"bash ./scripts/install_bitcoind.sh",
"GOMEMLIMIT=1024MiB GOARM=7 GOARCH=arm GOOS=linux travis_wait 120 make itest-parallel backend=bitcoind tranches=8"
],
"arch": "arm64"
}
]
},
"after_failure": [
"LOG_FILES=$(find ./itest -name '*.log')\necho \"Uploading to termbin.com...\" && for f in $LOG_FILES; do echo -n $f; cat $f | nc termbin.com 9999 | xargs -r0 printf ' uploaded to %s'; done\necho \"Uploading to file.io...\" && tar -zcvO $LOG_FILES | curl -s -F 'file=@-;filename=logs.tar.gz' https://file.io | xargs -r0 printf 'logs.tar.gz uploaded to %s\\n'"
]
}
Loading