Pull request #168 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2177555e95d41f0f45d633ce741e967a7a8317c6+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (eb483e1ca58ebacaeaf31d3506850b22be6dc845) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10243535251485790848.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9899264466646708207.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-168/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3192774781540642171.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10295987157648328589.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8885736690082955525.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-168/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12696877287385704791.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10677 in /w/workspace/gexfoundry_device-rest-go_PR-168 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-168 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 2177555e95d41f0f45d633ce741e967a7a8317c6 Merge succeeded, producing 2177555e95d41f0f45d633ce741e967a7a8317c6 Checking out Revision 2177555e95d41f0f45d633ce741e967a7a8317c6 (PR-168) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-04T20:05:01.167Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T20:05:01.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T20:05:01.465Z] ========================================================= [2022-04-04T20:05:01.466Z] EdgeX Global Pipelines Version Info [2022-04-04T20:05:01.466Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:05:02.278Z] ------------------- [2022-04-04T20:05:02.278Z] stable info: [2022-04-04T20:05:02.278Z] ------------------- [2022-04-04T20:05:02.278Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T20:05:02.278Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T20:05:02.278Z] Message: update stable to v1.0.221 [2022-04-04T20:05:02.853Z] ------------------- [2022-04-04T20:05:02.853Z] experimental info: [2022-04-04T20:05:02.853Z] ------------------- [2022-04-04T20:05:02.853Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T20:05:02.853Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T20:05:02.853Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T20:05:03.096Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-04T20:05:03.138Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-04T20:05:03.176Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T20:05:03.221Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T20:05:03.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T20:05:03.301Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T20:05:03.336Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T20:05:03.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T20:05:03.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T20:05:03.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T20:05:03.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T20:05:03.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-04T20:05:03.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T20:05:03.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T20:05:03.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T20:05:03.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T20:05:03.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T20:05:03.847Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T20:05:03.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T20:05:03.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T20:05:03.977Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T20:05:04.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T20:05:04.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T20:05:04.101Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T20:05:04.144Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T20:05:04.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T20:05:04.227Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo [2022-04-04T20:05:04.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo [2022-04-04T20:05:04.309Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo [2022-04-04T20:05:04.350Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo [2022-04-04T20:05:04.391Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2177555 [Pipeline] echo [2022-04-04T20:05:04.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:05:04.548Z] provisioning config files... [2022-04-04T20:05:04.562Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config2606463190200565009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:05:04.908Z] ---> docker-login.sh [2022-04-04T20:05:04.908Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:05:05.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:05.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:05.169Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:05.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:05.169Z] [2022-04-04T20:05:05.169Z] Login Succeeded [2022-04-04T20:05:05.169Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:05:05.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:05.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:05.430Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:05.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:05.430Z] [2022-04-04T20:05:05.430Z] Login Succeeded [2022-04-04T20:05:05.430Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:05:05.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:05.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:05.430Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:05.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:05.430Z] [2022-04-04T20:05:05.430Z] Login Succeeded [2022-04-04T20:05:05.430Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:05:05.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:05.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:05.691Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:05.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:05.691Z] [2022-04-04T20:05:05.691Z] Login Succeeded [2022-04-04T20:05:05.691Z] docker.io [2022-04-04T20:05:05.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:06.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:06.264Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:06.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:06.264Z] [2022-04-04T20:05:06.264Z] Login Succeeded [2022-04-04T20:05:06.264Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:05:06.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T20:05:06.936Z] + git rev-list -1 --merges 2177555e95d41f0f45d633ce741e967a7a8317c6~1..2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo [2022-04-04T20:05:07.066Z] -----------> git rev-list -1 --merges 2177555e95d41f0f45d633ce741e967a7a8317c6~1..2177555e95d41f0f45d633ce741e967a7a8317c6 2177555e95d41f0f45d633ce741e967a7a8317c6 [false] [Pipeline] sh [2022-04-04T20:05:07.380Z] + git log --format=format:%s -1 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo [2022-04-04T20:05:07.421Z] ========================================================= [2022-04-04T20:05:07.421Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T20:05:07.421Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T20:05:07.874Z] + git log --format=format:%s -1 2177555e95d41f0f45d633ce741e967a7a8317c6 [Pipeline] echo [2022-04-04T20:05:07.907Z] [semverPrep] GIT_COMMIT: 2177555e95d41f0f45d633ce741e967a7a8317c6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-04T20:05:07.941Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T20:05:08.366Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T20:05:08.366Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T20:05:08.366Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T20:05:08.366Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T20:05:08.366Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T20:05:08.366Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T20:05:08.366Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:08.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:05:08.763Z] [2022-04-04T20:05:08.763Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:09.106Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:05:09.107Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T20:05:09.107Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T20:05:09.107Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T20:05:09.107Z] 4c7163046ea9: Pulling fs layer [2022-04-04T20:05:09.107Z] 0c2d73faf560: Pulling fs layer [2022-04-04T20:05:09.107Z] 0c2d73faf560: Waiting [2022-04-04T20:05:09.107Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T20:05:09.107Z] 3e5f54012d9b: Download complete [2022-04-04T20:05:09.107Z] a0d0a0d46f8b: Download complete [2022-04-04T20:05:09.107Z] 0c2d73faf560: Download complete [2022-04-04T20:05:09.107Z] 4c7163046ea9: Verifying Checksum [2022-04-04T20:05:09.107Z] 4c7163046ea9: Download complete [2022-04-04T20:05:09.367Z] a0d0a0d46f8b: Pull complete [2022-04-04T20:05:09.367Z] 3e5f54012d9b: Pull complete [2022-04-04T20:05:09.630Z] 4c7163046ea9: Pull complete [2022-04-04T20:05:09.896Z] 0c2d73faf560: Pull complete [2022-04-04T20:05:09.896Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T20:05:09.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:05:09.896Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T20:05:10.003Z] prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container [2022-04-04T20:05:10.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T20:05:10.704Z] $ docker top f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T20:05:10.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T20:05:10.887Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T20:05:11.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T20:05:11.040Z] $ docker exec f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent [2022-04-04T20:05:11.169Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBNccNI/agent.15 [2022-04-04T20:05:11.169Z] SSH_AGENT_PID=21 [2022-04-04T20:05:11.178Z] Running ssh-add (command line suppressed) [2022-04-04T20:05:11.311Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_5669805757349283031.key (/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_5669805757349283031.key) [2022-04-04T20:05:11.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T20:05:11.661Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T20:05:11.691Z] $ docker exec --env ******** --env ******** f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent -k [2022-04-04T20:05:11.823Z] unset SSH_AUTH_SOCK; [2022-04-04T20:05:11.824Z] unset SSH_AGENT_PID; [2022-04-04T20:05:11.824Z] echo Agent pid 21 killed; [2022-04-04T20:05:11.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T20:05:11.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T20:05:11.918Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T20:05:12.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T20:05:12.056Z] $ docker exec f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent [2022-04-04T20:05:12.175Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNfBCIb/agent.55 [2022-04-04T20:05:12.175Z] SSH_AGENT_PID=61 [2022-04-04T20:05:12.181Z] Running ssh-add (command line suppressed) [2022-04-04T20:05:12.305Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_4688792962403493086.key (/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/private_key_4688792962403493086.key) [2022-04-04T20:05:12.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T20:05:12.640Z] + git semver init [2022-04-04T20:05:12.640Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T20:05:12.640Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-168/.git [2022-04-04T20:05:12.640Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-168 [2022-04-04T20:05:12.640Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T20:05:12.640Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T20:05:12.640Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T20:05:12.640Z] # $SEMVER_BRANCH = PR-168 [2022-04-04T20:05:12.640Z] # $SEMVER_TEMP = /tmp/semver-831632464 [2022-04-04T20:05:12.640Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-04T20:05:14.025Z] # '/tmp/semver-831632464' -> '/w/workspace/gexfoundry_device-rest-go_PR-168/.semver' [2022-04-04T20:05:14.025Z] # -> Force: false [2022-04-04T20:05:14.025Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-168/.semver [Pipeline] } [2022-04-04T20:05:14.055Z] $ docker exec --env ******** --env ******** f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 ssh-agent -k [2022-04-04T20:05:14.184Z] unset SSH_AUTH_SOCK; [2022-04-04T20:05:14.184Z] unset SSH_AGENT_PID; [2022-04-04T20:05:14.184Z] echo Agent pid 61 killed; [2022-04-04T20:05:14.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T20:05:14.619Z] + git semver [Pipeline] } [2022-04-04T20:05:14.659Z] $ docker stop --time=1 f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 [2022-04-04T20:05:16.024Z] $ docker rm -f f2cf2f05fde5465975dff4a2724120c384e97a1f17e8e461262f9f9c65284de4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T20:05:16.437Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T20:05:16.729Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T20:05:16.746Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:05:17.396Z] provisioning config files... [2022-04-04T20:05:17.407Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config8378662160180307907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:05:17.761Z] ---> docker-login.sh [2022-04-04T20:05:17.761Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:05:17.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:17.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:17.761Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:17.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:17.761Z] [2022-04-04T20:05:17.761Z] Login Succeeded [2022-04-04T20:05:17.761Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:05:17.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:18.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:18.022Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:18.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:18.022Z] [2022-04-04T20:05:18.022Z] Login Succeeded [2022-04-04T20:05:18.022Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:05:18.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:18.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:18.022Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:18.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:18.022Z] [2022-04-04T20:05:18.022Z] Login Succeeded [2022-04-04T20:05:18.022Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:05:18.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:18.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:18.284Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:18.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:18.284Z] [2022-04-04T20:05:18.284Z] Login Succeeded [2022-04-04T20:05:18.284Z] docker.io [2022-04-04T20:05:18.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:05:18.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:05:18.859Z] Configure a credential helper to remove this warning. See [2022-04-04T20:05:18.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:05:18.859Z] [2022-04-04T20:05:18.859Z] Login Succeeded [2022-04-04T20:05:18.859Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:05:18.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T20:05:19.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T20:05:19.125Z] ========================================================= [2022-04-04T20:05:19.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T20:05:19.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:19.529Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T20:05:19.529Z] Sending build context to Docker daemon 10.55MB [2022-04-04T20:05:19.529Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:05:19.529Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T20:05:19.529Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T20:05:19.529Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T20:05:19.529Z] 666ba61612fd: Pulling fs layer [2022-04-04T20:05:19.529Z] 8ed8ca486205: Pulling fs layer [2022-04-04T20:05:19.529Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T20:05:19.529Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T20:05:19.529Z] 640e595b4fbd: Pulling fs layer [2022-04-04T20:05:19.529Z] 763cafe07f6e: Pulling fs layer [2022-04-04T20:05:19.529Z] 0c0b528cf693: Pulling fs layer [2022-04-04T20:05:19.529Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T20:05:19.529Z] 4fe6c5a15a65: Waiting [2022-04-04T20:05:19.529Z] 763cafe07f6e: Waiting [2022-04-04T20:05:19.529Z] 22a0e8bec74d: Waiting [2022-04-04T20:05:19.529Z] 0c0b528cf693: Waiting [2022-04-04T20:05:19.529Z] 640e595b4fbd: Waiting [2022-04-04T20:05:19.529Z] 8ed8ca486205: Verifying Checksum [2022-04-04T20:05:19.529Z] 8ed8ca486205: Download complete [2022-04-04T20:05:19.529Z] 666ba61612fd: Verifying Checksum [2022-04-04T20:05:19.529Z] 666ba61612fd: Download complete [2022-04-04T20:05:19.797Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T20:05:19.797Z] 22a0e8bec74d: Download complete [2022-04-04T20:05:19.797Z] 640e595b4fbd: Verifying Checksum [2022-04-04T20:05:19.797Z] 640e595b4fbd: Download complete [2022-04-04T20:05:19.797Z] 59bf1c3509f3: Download complete [2022-04-04T20:05:19.797Z] 763cafe07f6e: Verifying Checksum [2022-04-04T20:05:19.797Z] 763cafe07f6e: Download complete [2022-04-04T20:05:19.797Z] 0c0b528cf693: Verifying Checksum [2022-04-04T20:05:19.797Z] 0c0b528cf693: Download complete [2022-04-04T20:05:19.797Z] 59bf1c3509f3: Pull complete [2022-04-04T20:05:20.057Z] 666ba61612fd: Pull complete [2022-04-04T20:05:20.057Z] 8ed8ca486205: Pull complete [2022-04-04T20:05:20.317Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T20:05:20.317Z] 10935f4eaf8b: Download complete [2022-04-04T20:05:20.317Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T20:05:20.317Z] 4fe6c5a15a65: Download complete [2022-04-04T20:05:24.514Z] 4fe6c5a15a65: Pull complete [2022-04-04T20:05:24.514Z] 22a0e8bec74d: Pull complete [2022-04-04T20:05:24.514Z] 640e595b4fbd: Pull complete [2022-04-04T20:05:24.514Z] 763cafe07f6e: Pull complete [2022-04-04T20:05:24.514Z] 0c0b528cf693: Pull complete [2022-04-04T20:05:27.054Z] 10935f4eaf8b: Pull complete [2022-04-04T20:05:27.054Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T20:05:27.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T20:05:27.054Z] ---> 99d49a6021b9 [2022-04-04T20:05:27.054Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T20:05:27.997Z] ---> Running in 6d202da7338b [2022-04-04T20:05:28.257Z] Removing intermediate container 6d202da7338b [2022-04-04T20:05:28.257Z] ---> efbfb19be29f [2022-04-04T20:05:28.257Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:05:28.257Z] ---> Running in 883adde5e49b [2022-04-04T20:05:28.257Z] Removing intermediate container 883adde5e49b [2022-04-04T20:05:28.257Z] ---> 53950d8d2059 [2022-04-04T20:05:28.257Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:05:28.257Z] ---> Running in cd04c8df94d3 [2022-04-04T20:05:28.520Z] Removing intermediate container cd04c8df94d3 [2022-04-04T20:05:28.520Z] ---> 0003ac387bee [2022-04-04T20:05:28.520Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:05:28.520Z] ---> Running in a64a2fae7881 [2022-04-04T20:05:29.097Z] Removing intermediate container a64a2fae7881 [2022-04-04T20:05:29.097Z] ---> 47c7240aefc4 [2022-04-04T20:05:29.097Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:05:29.097Z] ---> Running in 3d74e36afac9 [2022-04-04T20:05:29.364Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T20:05:30.328Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T20:05:30.589Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T20:05:30.589Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T20:05:30.589Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T20:05:30.850Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T20:05:30.850Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T20:05:30.850Z] OK: 224 MiB in 56 packages [2022-04-04T20:05:31.422Z] Removing intermediate container 3d74e36afac9 [2022-04-04T20:05:31.422Z] ---> 966f2fd80ff0 [2022-04-04T20:05:31.422Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-04T20:05:31.422Z] ---> Running in 42bf1ba86e97 [2022-04-04T20:05:31.422Z] Removing intermediate container 42bf1ba86e97 [2022-04-04T20:05:31.422Z] ---> f7aac1bb5c61 [2022-04-04T20:05:31.422Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T20:05:31.422Z] ---> 1b3bcde1f27f [2022-04-04T20:05:31.422Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:05:31.683Z] ---> Running in 8d80e605c24c [2022-04-04T20:05:32.218Z] Still waiting to schedule task [2022-04-04T20:05:32.219Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10678’ is offline [2022-04-04T20:05:46.595Z] Removing intermediate container 8d80e605c24c [2022-04-04T20:05:46.595Z] ---> 47d4f8d2df9c [2022-04-04T20:05:46.595Z] Step 11/12 : COPY . . [2022-04-04T20:05:46.595Z] ---> 1a7147607a9b [2022-04-04T20:05:46.595Z] Step 12/12 : RUN $MAKE [2022-04-04T20:05:46.595Z] ---> Running in 3f50d5e4dbb5 [2022-04-04T20:05:46.595Z] noop [2022-04-04T20:05:46.595Z] Removing intermediate container 3f50d5e4dbb5 [2022-04-04T20:05:46.595Z] ---> 9fc70672beaa [2022-04-04T20:05:46.595Z] Successfully built 9fc70672beaa [2022-04-04T20:05:46.595Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:46.924Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T20:05:46.925Z] . [Pipeline] withDockerContainer [2022-04-04T20:05:47.018Z] prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container [2022-04-04T20:05:47.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-04T20:05:47.437Z] $ docker top 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:05:47.834Z] + go version [2022-04-04T20:05:47.834Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T20:05:47.875Z] $ docker stop --time=1 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 [2022-04-04T20:05:49.167Z] $ docker rm -f 74ae6e0e4e8c8de1bd29cbe5df2d35aa0998332af55eb9f980fbece6619ebd63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:49.848Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T20:05:49.848Z] . [Pipeline] withDockerContainer [2022-04-04T20:05:49.941Z] prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container [2022-04-04T20:05:50.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-04T20:05:50.428Z] $ docker top 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T20:05:50.890Z] + make test [2022-04-04T20:05:50.890Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-04T20:05:51.150Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-04T20:06:01.134Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-04T20:06:01.134Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-04-04T20:06:01.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T20:06:03.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T20:06:03.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T20:06:03.683Z] ./bin/test-attribution-txt.sh [2022-04-04T20:06:04.255Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T20:06:04.255Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-04-04T20:06:04.304Z] $ docker stop --time=1 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 [2022-04-04T20:06:05.943Z] $ docker rm -f 749e5ed4e2ad7ebae4aaba1a5ad97648cc3ee10ce9adb24b2ed185e81d75cd38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:06:06.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:06:06.996Z] [2022-04-04T20:06:06.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:06:07.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:06:07.337Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T20:06:07.337Z] 5eb5b503b376: Pulling fs layer [2022-04-04T20:06:07.337Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T20:06:07.337Z] ec43610c2a17: Pulling fs layer [2022-04-04T20:06:07.337Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T20:06:07.337Z] 33b1e0a273af: Pulling fs layer [2022-04-04T20:06:07.337Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T20:06:07.337Z] 2f39f015ded8: Pulling fs layer [2022-04-04T20:06:07.337Z] 3a2ae6a8a46f: Waiting [2022-04-04T20:06:07.337Z] 33b1e0a273af: Waiting [2022-04-04T20:06:07.337Z] 2f39f015ded8: Waiting [2022-04-04T20:06:07.337Z] 5d3b04190fa2: Waiting [2022-04-04T20:06:07.337Z] 5c69ac0246d0: Verifying Checksum [2022-04-04T20:06:07.337Z] 5c69ac0246d0: Download complete [2022-04-04T20:06:07.337Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-04T20:06:07.337Z] 3a2ae6a8a46f: Download complete [2022-04-04T20:06:07.337Z] ec43610c2a17: Verifying Checksum [2022-04-04T20:06:07.337Z] ec43610c2a17: Download complete [2022-04-04T20:06:07.337Z] 33b1e0a273af: Verifying Checksum [2022-04-04T20:06:07.337Z] 33b1e0a273af: Download complete [2022-04-04T20:06:07.337Z] 5d3b04190fa2: Download complete [2022-04-04T20:06:07.598Z] 5eb5b503b376: Verifying Checksum [2022-04-04T20:06:07.598Z] 5eb5b503b376: Download complete [2022-04-04T20:06:08.166Z] 2f39f015ded8: Download complete [2022-04-04T20:06:09.104Z] 5eb5b503b376: Pull complete [2022-04-04T20:06:09.104Z] 5c69ac0246d0: Pull complete [2022-04-04T20:06:09.673Z] ec43610c2a17: Pull complete [2022-04-04T20:06:09.673Z] 3a2ae6a8a46f: Pull complete [2022-04-04T20:06:09.933Z] 33b1e0a273af: Pull complete [2022-04-04T20:06:09.933Z] 5d3b04190fa2: Pull complete [2022-04-04T20:06:14.130Z] 2f39f015ded8: Pull complete [2022-04-04T20:06:14.130Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T20:06:14.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:06:14.130Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T20:06:14.219Z] prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container [2022-04-04T20:06:14.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T20:06:15.783Z] $ docker top 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:06:16.230Z] ---> job-cost.sh [2022-04-04T20:06:16.230Z] lf-activate-venv: SKIPPING [2022-04-04T20:06:16.230Z] INFO: No Stack... [2022-04-04T20:06:16.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T20:06:17.062Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T20:06:17.372Z] + + cat /w/workspace/gexfoundry_device-rest-go_PR-168/archives/cost.csv [2022-04-04T20:06:17.372Z] cut -d, -f6 [Pipeline] lock [2022-04-04T20:06:17.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [2022-04-04T20:06:17.416Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] did not exist. Created. [2022-04-04T20:06:17.416Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T20:06:17.799Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T20:06:17.848Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T20:06:17.868Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T20:06:17.939Z] $ docker stop --time=1 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e [2022-04-04T20:06:19.110Z] $ docker rm -f 7bcee1724620e11f099f162840b1bf841aadfc10a1ac6634efaa3de933814a5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T20:06:19.443Z] Failed in branch amd64 [2022-04-04T20:07:45.365Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10679 in /w/workspace/gexfoundry_device-rest-go_PR-168 [Pipeline] { [Pipeline] ws [2022-04-04T20:07:45.405Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T20:07:45.716Z] The recommended git tool is: git [2022-04-04T20:07:54.380Z] using credential edgex-jenkins-ssh [2022-04-04T20:07:54.398Z] Cloning the remote Git repository [2022-04-04T20:07:54.479Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:07:54.600Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-04-04T20:07:54.684Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:07:54.685Z] > git --version # timeout=10 [2022-04-04T20:07:54.747Z] > git --version # 'git version 2.25.1' [2022-04-04T20:07:54.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:07:54.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T20:07:57.852Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 2177555e95d41f0f45d633ce741e967a7a8317c6 [2022-04-04T20:07:57.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-04T20:07:57.157Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T20:07:57.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-04T20:07:57.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:07:57.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:07:57.298Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T20:07:58.246Z] Merge succeeded, producing 2177555e95d41f0f45d633ce741e967a7a8317c6 [2022-04-04T20:07:58.246Z] Checking out Revision 2177555e95d41f0f45d633ce741e967a7a8317c6 (PR-168) [2022-04-04T20:07:57.885Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T20:07:57.919Z] > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 [2022-04-04T20:07:58.068Z] > git remote # timeout=10 [2022-04-04T20:07:58.133Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T20:07:58.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:07:58.182Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-04-04T20:07:58.219Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T20:07:58.260Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T20:07:58.294Z] > git checkout -f 2177555e95d41f0f45d633ce741e967a7a8317c6 # timeout=10 [2022-04-04T20:08:02.839Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-04T20:08:02.909Z] > git --version # timeout=10 [2022-04-04T20:08:02.922Z] > git --version # 'git version 2.25.1' [2022-04-04T20:08:02.937Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T20:08:04.075Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T20:08:04.075Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T20:08:04.075Z] Dload Upload Total Spent Left Speed [2022-04-04T20:08:04.075Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-04-04T20:08:04.659Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T20:08:05.022Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T20:08:05.022Z] + sudo tee /etc/docker/daemon.new [2022-04-04T20:08:05.022Z] { [2022-04-04T20:08:05.022Z] "registry-mirrors": [ [2022-04-04T20:08:05.022Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T20:08:05.022Z] ], [2022-04-04T20:08:05.022Z] "bip": "10.250.0.254/24", [2022-04-04T20:08:05.022Z] "hosts": [ [2022-04-04T20:08:05.022Z] "tcp://0.0.0.0:5555", [2022-04-04T20:08:05.022Z] "unix:///var/run/docker.sock" [2022-04-04T20:08:05.022Z] ], [2022-04-04T20:08:05.022Z] "mtu": 1458, [2022-04-04T20:08:05.022Z] "selinux-enabled": true, [2022-04-04T20:08:05.022Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T20:08:05.022Z] } [Pipeline] sh [2022-04-04T20:08:05.394Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T20:08:05.756Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:08:24.292Z] provisioning config files... [2022-04-04T20:08:24.319Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6055493141971717697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:08:24.911Z] ---> docker-login.sh [2022-04-04T20:08:24.911Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:08:25.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:08:25.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:08:25.791Z] Configure a credential helper to remove this warning. See [2022-04-04T20:08:25.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:08:25.791Z] [2022-04-04T20:08:25.791Z] Login Succeeded [2022-04-04T20:08:25.791Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:08:26.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:08:26.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:08:26.345Z] Configure a credential helper to remove this warning. See [2022-04-04T20:08:26.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:08:26.345Z] [2022-04-04T20:08:26.345Z] Login Succeeded [2022-04-04T20:08:26.345Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:08:26.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:08:26.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:08:26.904Z] Configure a credential helper to remove this warning. See [2022-04-04T20:08:26.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:08:26.904Z] [2022-04-04T20:08:26.904Z] Login Succeeded [2022-04-04T20:08:26.904Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:08:27.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:08:27.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:08:27.179Z] Configure a credential helper to remove this warning. See [2022-04-04T20:08:27.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:08:27.179Z] [2022-04-04T20:08:27.179Z] Login Succeeded [2022-04-04T20:08:27.456Z] docker.io [2022-04-04T20:08:27.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:08:28.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:08:28.007Z] Configure a credential helper to remove this warning. See [2022-04-04T20:08:28.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:08:28.007Z] [2022-04-04T20:08:28.007Z] Login Succeeded [2022-04-04T20:08:28.007Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:08:28.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T20:08:28.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T20:08:28.503Z] ========================================================= [2022-04-04T20:08:28.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T20:08:28.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:08:28.953Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T20:08:28.953Z] Sending build context to Docker daemon 125.4kB [2022-04-04T20:08:29.227Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:08:29.227Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T20:08:29.509Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T20:08:29.509Z] 9b3977197b4f: Pulling fs layer [2022-04-04T20:08:29.509Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T20:08:29.509Z] 94645a83ff95: Pulling fs layer [2022-04-04T20:08:29.509Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T20:08:29.509Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T20:08:29.509Z] f7c0051592d6: Pulling fs layer [2022-04-04T20:08:29.509Z] a227ed2f7395: Pulling fs layer [2022-04-04T20:08:29.509Z] 7b1c46037f91: Pulling fs layer [2022-04-04T20:08:29.509Z] 3f3a8bcf1eab: Waiting [2022-04-04T20:08:29.509Z] 0c92f367c5e7: Waiting [2022-04-04T20:08:29.509Z] f7c0051592d6: Waiting [2022-04-04T20:08:29.509Z] a227ed2f7395: Waiting [2022-04-04T20:08:29.509Z] 7b1c46037f91: Waiting [2022-04-04T20:08:29.509Z] 94645a83ff95: Download complete [2022-04-04T20:08:29.509Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T20:08:29.509Z] 1a89e8eeedd5: Download complete [2022-04-04T20:08:29.509Z] 0c92f367c5e7: Download complete [2022-04-04T20:08:29.509Z] f7c0051592d6: Verifying Checksum [2022-04-04T20:08:29.509Z] f7c0051592d6: Download complete [2022-04-04T20:08:29.509Z] 9b3977197b4f: Verifying Checksum [2022-04-04T20:08:29.509Z] 9b3977197b4f: Download complete [2022-04-04T20:08:29.509Z] a227ed2f7395: Verifying Checksum [2022-04-04T20:08:29.509Z] a227ed2f7395: Download complete [2022-04-04T20:08:30.504Z] 9b3977197b4f: Pull complete [2022-04-04T20:08:30.786Z] 1a89e8eeedd5: Pull complete [2022-04-04T20:08:31.396Z] 94645a83ff95: Pull complete [2022-04-04T20:08:31.684Z] 7b1c46037f91: Verifying Checksum [2022-04-04T20:08:31.684Z] 7b1c46037f91: Download complete [2022-04-04T20:08:32.290Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-04T20:08:32.290Z] 3f3a8bcf1eab: Download complete [2022-04-04T20:08:44.710Z] 3f3a8bcf1eab: Pull complete [2022-04-04T20:08:44.710Z] 0c92f367c5e7: Pull complete [2022-04-04T20:08:44.985Z] f7c0051592d6: Pull complete [2022-04-04T20:08:45.262Z] a227ed2f7395: Pull complete [2022-04-04T20:08:52.010Z] 7b1c46037f91: Pull complete [2022-04-04T20:08:52.010Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T20:08:52.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T20:08:52.010Z] ---> f79e39bc4007 [2022-04-04T20:08:52.010Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T20:08:52.609Z] ---> Running in 112508c16fa9 [2022-04-04T20:08:52.883Z] Removing intermediate container 112508c16fa9 [2022-04-04T20:08:52.883Z] ---> e96860e63f12 [2022-04-04T20:08:52.883Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:08:52.883Z] ---> Running in e644d9017362 [2022-04-04T20:08:53.163Z] Removing intermediate container e644d9017362 [2022-04-04T20:08:53.163Z] ---> b67b6b9f2723 [2022-04-04T20:08:53.163Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:08:53.163Z] ---> Running in 41479290b291 [2022-04-04T20:08:53.763Z] Removing intermediate container 41479290b291 [2022-04-04T20:08:53.763Z] ---> 35434063aab4 [2022-04-04T20:08:53.763Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:08:53.763Z] ---> Running in 2365d5480b9d [2022-04-04T20:08:55.750Z] Removing intermediate container 2365d5480b9d [2022-04-04T20:08:55.750Z] ---> 9a95d875ef2d [2022-04-04T20:08:55.750Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:08:55.750Z] ---> Running in aedfdaded74a [2022-04-04T20:08:56.734Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T20:08:57.335Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T20:08:58.318Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T20:08:58.318Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T20:08:58.318Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T20:08:58.593Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T20:08:58.593Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T20:08:58.866Z] OK: 224 MiB in 56 packages [2022-04-04T20:08:59.851Z] Removing intermediate container aedfdaded74a [2022-04-04T20:08:59.851Z] ---> 699b44b311f3 [2022-04-04T20:08:59.851Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-04T20:08:59.851Z] ---> Running in 2ef76e596d85 [2022-04-04T20:09:00.126Z] Removing intermediate container 2ef76e596d85 [2022-04-04T20:09:00.126Z] ---> 035a5e5d8f95 [2022-04-04T20:09:00.126Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T20:09:00.723Z] ---> 4e98729e4c8c [2022-04-04T20:09:00.723Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:09:00.723Z] ---> Running in 736e981b7bbd [2022-04-04T20:09:57.312Z] Removing intermediate container 736e981b7bbd [2022-04-04T20:09:57.312Z] ---> a53e31499b56 [2022-04-04T20:09:57.312Z] Step 11/12 : COPY . . [2022-04-04T20:09:57.312Z] ---> d5dc6b3e9bc4 [2022-04-04T20:09:57.312Z] Step 12/12 : RUN $MAKE [2022-04-04T20:09:57.312Z] ---> Running in 9238617c3b11 [2022-04-04T20:09:57.312Z] noop [2022-04-04T20:09:57.312Z] Removing intermediate container 9238617c3b11 [2022-04-04T20:09:57.312Z] ---> 5cbd1f9e1585 [2022-04-04T20:09:57.312Z] Successfully built 5cbd1f9e1585 [2022-04-04T20:09:57.312Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:09:57.688Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T20:09:57.688Z] . [Pipeline] withDockerContainer [2022-04-04T20:09:57.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container [2022-04-04T20:09:58.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T20:09:59.394Z] $ docker top 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:10:00.386Z] + go version [2022-04-04T20:10:00.386Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T20:10:00.427Z] $ docker stop --time=1 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 [2022-04-04T20:10:02.126Z] $ docker rm -f 7df3d4aaf73ae90010a1569ca3a74e53aea5285353744855fcd962c3dc0d2222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:10:02.980Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T20:10:02.980Z] . [Pipeline] withDockerContainer [2022-04-04T20:10:03.250Z] prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container [2022-04-04T20:10:03.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-04T20:10:04.706Z] $ docker top 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T20:10:05.750Z] + make test [2022-04-04T20:10:05.750Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-04T20:10:07.193Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-04T20:11:29.103Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-04T20:11:29.104Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 56.0% of statements [2022-04-04T20:11:29.104Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T20:11:55.930Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T20:11:55.930Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T20:11:55.930Z] ./bin/test-attribution-txt.sh [2022-04-04T20:11:55.930Z] An attribution for github.com/golang/protobuf is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for github.com/spiffe/go-spiffe/v2 is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for github.com/zeebo/errs is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for google.golang.org/genproto is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for google.golang.org/grpc is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for google.golang.org/protobuf is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] An attribution for gopkg.in/square/go-jose.v2 is missing from in Attribution.txt, please add [2022-04-04T20:11:55.930Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-04-04T20:11:55.981Z] $ docker stop --time=1 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 [2022-04-04T20:11:57.755Z] $ docker rm -f 691bca50f2aced88277496045756ba763bc469c6cfc2ecec2bef947582e3fe36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:11:59.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:11:59.240Z] [2022-04-04T20:11:59.240Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:11:59.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:11:59.900Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T20:11:59.900Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T20:11:59.900Z] 04944245beec: Pulling fs layer [2022-04-04T20:11:59.900Z] 699f458cf7ca: Pulling fs layer [2022-04-04T20:11:59.900Z] 765212b225bb: Pulling fs layer [2022-04-04T20:11:59.900Z] f23df028b6ca: Pulling fs layer [2022-04-04T20:11:59.900Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T20:11:59.900Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T20:11:59.900Z] 765212b225bb: Waiting [2022-04-04T20:11:59.900Z] f23df028b6ca: Waiting [2022-04-04T20:11:59.900Z] d65c8cfc05b1: Waiting [2022-04-04T20:11:59.900Z] 2437ff75d9bd: Waiting [2022-04-04T20:11:59.900Z] 04944245beec: Verifying Checksum [2022-04-04T20:11:59.900Z] 04944245beec: Download complete [2022-04-04T20:11:59.900Z] 765212b225bb: Download complete [2022-04-04T20:12:00.180Z] f23df028b6ca: Verifying Checksum [2022-04-04T20:12:00.180Z] f23df028b6ca: Download complete [2022-04-04T20:12:00.180Z] d65c8cfc05b1: Download complete [2022-04-04T20:12:00.180Z] 699f458cf7ca: Verifying Checksum [2022-04-04T20:12:00.180Z] 699f458cf7ca: Download complete [2022-04-04T20:12:00.454Z] 8998bd30e6a1: Download complete [2022-04-04T20:12:03.084Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T20:12:03.084Z] 2437ff75d9bd: Download complete [2022-04-04T20:12:05.071Z] 8998bd30e6a1: Pull complete [2022-04-04T20:12:05.071Z] 04944245beec: Pull complete [2022-04-04T20:12:06.510Z] 699f458cf7ca: Pull complete [2022-04-04T20:12:06.788Z] 765212b225bb: Pull complete [2022-04-04T20:12:07.776Z] f23df028b6ca: Pull complete [2022-04-04T20:12:07.776Z] d65c8cfc05b1: Pull complete [2022-04-04T20:12:22.866Z] 2437ff75d9bd: Pull complete [2022-04-04T20:12:22.866Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T20:12:22.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:12:22.866Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T20:12:23.119Z] prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container [2022-04-04T20:12:23.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-04T20:12:25.635Z] $ docker top e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:26.613Z] ---> job-cost.sh [2022-04-04T20:12:26.613Z] lf-activate-venv: SKIPPING [2022-04-04T20:12:26.613Z] INFO: No Stack... [2022-04-04T20:12:26.883Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T20:12:27.860Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T20:12:28.550Z] + cut -d, -f6 [2022-04-04T20:12:28.550Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-04-04T20:12:28.634Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [2022-04-04T20:12:28.639Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] did not exist. Created. [2022-04-04T20:12:28.639Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T20:12:29.381Z] /w/workspace/device-rest-go/1@tmp/durable-30a2f463/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T20:12:30.083Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T20:12:30.119Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T20:12:30.589Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T20:12:30.605Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-168-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T20:12:30.693Z] $ docker stop --time=1 e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 [2022-04-04T20:12:32.179Z] $ docker rm -f e29f1178e8c79d2a0251d3dfa029ce1c8a3d51b57dd6816bc7cc6747f5025116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T20:12:32.910Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-04T20:12:34.758Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-168/archives ] [2022-04-04T20:12:34.758Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-168/archives [2022-04-04T20:12:34.758Z] total 16 [2022-04-04T20:12:34.758Z] drwxr-xr-x 3 root root 4096 Apr 4 20:06 . [2022-04-04T20:12:34.758Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:06 .. [2022-04-04T20:12:34.758Z] drwxr-xr-x 2 root root 4096 Apr 4 20:06 cost [2022-04-04T20:12:34.758Z] -rw-r--r-- 1 root root 85 Apr 4 20:06 cost.csv [2022-04-04T20:12:34.758Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-168/archives [2022-04-04T20:12:34.758Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-168/archives [2022-04-04T20:12:34.758Z] total 16 [2022-04-04T20:12:34.758Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 20:06 . [2022-04-04T20:12:34.758Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:06 .. [2022-04-04T20:12:34.758Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 20:06 cost [2022-04-04T20:12:34.758Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 4 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:35.095Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:35.990Z] ---> package-listing.sh [2022-04-04T20:12:35.990Z] ++ facter osfamily [2022-04-04T20:12:35.990Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T20:12:36.254Z] + OS_FAMILY=debian [2022-04-04T20:12:36.254Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-168 [2022-04-04T20:12:36.254Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T20:12:36.254Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T20:12:36.254Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T20:12:36.254Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T20:12:36.254Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-168 ']' [2022-04-04T20:12:36.254Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T20:12:36.254Z] + case "${OS_FAMILY}" in [2022-04-04T20:12:36.254Z] + dpkg -l [2022-04-04T20:12:36.254Z] + grep '^ii' [2022-04-04T20:12:36.254Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T20:12:36.254Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T20:12:36.254Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T20:12:36.254Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-168 ']' [2022-04-04T20:12:36.254Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-168/archives/ [2022-04-04T20:12:36.254Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-168/archives/ [Pipeline] echo [2022-04-04T20:12:36.287Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T20:12:36.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:12:37.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:12:37.173Z] . [Pipeline] withDockerContainer [2022-04-04T20:12:37.263Z] prd-ubuntu20.04-docker-8c-8g-10677 does not seem to be running inside a container [2022-04-04T20:12:37.305Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-168 -v /w/workspace/gexfoundry_device-rest-go_PR-168:/w/workspace/gexfoundry_device-rest-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-168@tmp:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T20:12:37.533Z] $ docker top 26a7827ead6b994c6c1fd1b2cb42a80d2bef14a15dd38c9ff0746ceb3e1284a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:12:37.960Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T20:12:38.271Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T20:12:38.582Z] + ls /var/log/sa-host [2022-04-04T20:12:38.582Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:12:38.721Z] provisioning config files... [2022-04-04T20:12:38.730Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-168@tmp/config8972321275977885005tmp [Pipeline] { [Pipeline] echo [2022-04-04T20:12:38.782Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:39.095Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T20:12:39.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:39.534Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T20:12:39.568Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:39.885Z] ---> sudo-logs.sh [2022-04-04T20:12:39.885Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T20:12:39.967Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:40.277Z] ---> job-cost.sh [2022-04-04T20:12:40.277Z] lf-activate-venv: SKIPPING [2022-04-04T20:12:40.277Z] DEBUG: total: 0.2199999988079071 [2022-04-04T20:12:40.277Z] INFO: Retrieving Stack Cost... [2022-04-04T20:12:40.875Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T20:12:41.161Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T20:12:41.195Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:12:41.535Z] ---> logs-deploy.sh [2022-04-04T20:12:41.535Z] lf-activate-venv: SKIPPING [2022-04-04T20:12:41.535Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-168/1 [2022-04-04T20:12:41.535Z] INFO: archiving workspace using pattern(s): [2022-04-04T20:12:42.475Z] Archives upload complete. [2022-04-04T20:12:42.475Z] INFO: archiving logs to Nexus