Command
$ make -C generator/_templates/metricbeat test
Build -> here
Stacktrace
2020-10-07T00:22:59.776Z] github.com/klauspost/compress/zstd: github.com/klauspost/compress@v1.9.8: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.9.8.zip: 503 Service Unavailable
[2020-10-07T00:22:59.776Z] beatpath/testmetricbeat/cmd imports
[2020-10-07T00:22:59.776Z] github.com/elastic/beats/v7/libbeat/cmd/instance imports
[2020-10-07T00:22:59.776Z] github.com/elastic/beats/v7/libbeat/publisher/includes imports
[2020-10-07T00:22:59.776Z] github.com/elastic/beats/v7/libbeat/outputs/kafka imports
[2020-10-07T00:22:59.776Z] github.com/Shopify/sarama imports
[2020-10-07T00:22:59.776Z] github.com/pierrec/lz4: github.com/pierrec/lz4@v2.4.1+incompatible: reading https://proxy.golang.org/github.com/pierrec/lz4/@v/v2.4.1+incompatible.zip: 503 Service Unavailable
[2020-10-07T00:22:59.776Z] server response: Service Unavailable
Actions
Can the download dependencies independently of the make/mage goal in a way we could run a retry in the CI if there are instabilities in the third party systems?
The below pseudo-code shows what I meant:
stage('beat foo') {
steps {
dir(BASE_DIR) {
// Download dependencies independently to reduce the third party instabilities.
retryWithSleep(retries: 2, seconds: 5, backoff: true){
sh 'make getDependencies'
}
sh 'make -C generator/_templates/metricbeat test'
}
}
}
Command
$ make -C generator/_templates/metricbeat testBuild -> here
Stacktrace
Actions
Can the download dependencies independently of the make/mage goal in a way we could run a retry in the CI if there are instabilities in the third party systems?
The below pseudo-code shows what I meant: