Pull request #179 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f17a959956fc561d4771619dc1a45ddee013e59e+238d080d640a7e3d9ba0ccf186e4988c74ba76ef (0ca5c5823b82c5919e0125fae82d4e6a6db505f5) 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-ssh18084447443097412739.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-ssh1254038305517798663.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-179/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-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh674476052869393881.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-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2696699538465029669.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-ssh10104558229589550483.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-179/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-179/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4212853331553223745.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22892 in /w/workspace/gexfoundry_device-rest-go_PR-179 [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-179 # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e Merge succeeded, producing f17a959956fc561d4771619dc1a45ddee013e59e Checking out Revision f17a959956fc561d4771619dc1a45ddee013e59e (PR-179) > 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/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # 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 20:23:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:23:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:23:48 ========================================================= 20:23:48 EdgeX Global Pipelines Version Info 20:23:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:23:49 ------------------- 20:23:49 stable info: 20:23:49 ------------------- 20:23:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:49 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:23:49 Message: update stable to v1.0.221 20:23:50 ------------------- 20:23:50 experimental info: 20:23:50 ------------------- 20:23:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:50 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 20:23:50 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:23:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f17a959 [Pipeline] echo 20:23:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:51 provisioning config files... 20:23:51 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config7228103031894167472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:52 ---> docker-login.sh 20:23:52 nexus3.edgexfoundry.org:10001 20:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:52 Configure a credential helper to remove this warning. See 20:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:52 20:23:52 Login Succeeded 20:23:52 nexus3.edgexfoundry.org:10002 20:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:52 Configure a credential helper to remove this warning. See 20:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:52 20:23:52 Login Succeeded 20:23:52 nexus3.edgexfoundry.org:10003 20:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:53 Configure a credential helper to remove this warning. See 20:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:53 20:23:53 Login Succeeded 20:23:53 nexus3.edgexfoundry.org:10004 20:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:53 Configure a credential helper to remove this warning. See 20:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:53 20:23:53 Login Succeeded 20:23:53 docker.io 20:23:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:23:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:23:53 Configure a credential helper to remove this warning. See 20:23:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:23:53 20:23:53 Login Succeeded 20:23:53 ---> docker-login.sh ends [Pipeline] } 20:23:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:23:54 + git rev-list -1 --merges f17a959956fc561d4771619dc1a45ddee013e59e~1..f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo 20:23:54 -----------> git rev-list -1 --merges f17a959956fc561d4771619dc1a45ddee013e59e~1..f17a959956fc561d4771619dc1a45ddee013e59e f17a959956fc561d4771619dc1a45ddee013e59e [false] [Pipeline] sh 20:23:54 + git log --format=format:%s -1 f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo 20:23:54 ========================================================= 20:23:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:23:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:23:55 + git log --format=format:%s -1 f17a959956fc561d4771619dc1a45ddee013e59e [Pipeline] echo 20:23:55 [semverPrep] GIT_COMMIT: f17a959956fc561d4771619dc1a45ddee013e59e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:23:55 [semverPrep] This is not a build commit. [Pipeline] sh 20:23:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:23:55 + grep -v github /etc/ssh/ssh_known_hosts 20:23:55 + [ -e /tmp/ssh_known_hosts ] 20:23:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:23:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:23:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:23:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:56 20:23:56 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:23:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:56 latest: Pulling from edgex-devops/git-semver 20:23:56 a0d0a0d46f8b: Pulling fs layer 20:23:56 3e5f54012d9b: Pulling fs layer 20:23:56 4c7163046ea9: Pulling fs layer 20:23:56 0c2d73faf560: Pulling fs layer 20:23:56 0c2d73faf560: Waiting 20:23:56 3e5f54012d9b: Verifying Checksum 20:23:56 3e5f54012d9b: Download complete 20:23:56 a0d0a0d46f8b: Verifying Checksum 20:23:56 a0d0a0d46f8b: Download complete 20:23:56 0c2d73faf560: Verifying Checksum 20:23:56 0c2d73faf560: Download complete 20:23:56 4c7163046ea9: Download complete 20:23:56 a0d0a0d46f8b: Pull complete 20:23:56 3e5f54012d9b: Pull complete 20:23:57 4c7163046ea9: Pull complete 20:23:57 0c2d73faf560: Pull complete 20:23:57 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:57 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:23:57 prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container 20:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:58 $ docker top 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:58 [ssh-agent] Looking for ssh-agent implementation... 20:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:58 $ docker exec 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent 20:23:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNlInkb/agent.13 20:23:58 SSH_AGENT_PID=20 20:23:58 Running ssh-add (command line suppressed) 20:23:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_32944658356448920.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_32944658356448920.key) 20:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:59 + git tag --points-at HEAD [Pipeline] } 20:23:59 $ docker exec --env ******** --env ******** 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent -k 20:23:59 unset SSH_AUTH_SOCK; 20:23:59 unset SSH_AGENT_PID; 20:23:59 echo Agent pid 20 killed; 20:23:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:23:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:59 [ssh-agent] Looking for ssh-agent implementation... 20:23:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:59 $ docker exec 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent 20:23:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKMKCBl/agent.54 20:23:59 SSH_AGENT_PID=60 20:23:59 Running ssh-add (command line suppressed) 20:23:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4557647987814190076.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4557647987814190076.key) 20:23:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:00 + git semver init 20:24:00 # -> Open(): unable to determine branch for HEAD 20:24:00 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.git 20:24:00 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-179 20:24:00 # $SEMVER_REMOTE_NAME = origin 20:24:00 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:24:00 # $SEMVER_USER_NAME = edgex-jenkins 20:24:00 # $SEMVER_BRANCH = PR-179 20:24:00 # $SEMVER_TEMP = /tmp/semver-944245555 20:24:00 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:24:01 # '/tmp/semver-944245555' -> '/w/workspace/gexfoundry_device-rest-go_PR-179/.semver' 20:24:01 # -> Force: false 20:24:01 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.semver [Pipeline] } 20:24:01 $ docker exec --env ******** --env ******** 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 ssh-agent -k 20:24:01 unset SSH_AUTH_SOCK; 20:24:01 unset SSH_AGENT_PID; 20:24:01 echo Agent pid 60 killed; 20:24:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:02 + git semver [Pipeline] } 20:24:02 $ docker stop --time=1 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 20:24:03 $ docker rm -f 487377515c3047b3efa4ec472a59b730a319024d68ea5bf811d3ff66e0b8b0b8 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:04 Stashed 1 file(s) [Pipeline] echo 20:24:04 [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 20:24:04 provisioning config files... 20:24:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config8429055435172140654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:05 ---> docker-login.sh 20:24:05 nexus3.edgexfoundry.org:10001 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 nexus3.edgexfoundry.org:10002 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 nexus3.edgexfoundry.org:10003 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 nexus3.edgexfoundry.org:10004 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 docker.io 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:06 Configure a credential helper to remove this warning. See 20:24:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:06 20:24:06 Login Succeeded 20:24:06 ---> docker-login.sh ends [Pipeline] } 20:24:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:24:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:24:06 ========================================================= 20:24:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:24:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:24:06 + 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 . 20:24:06 Sending build context to Docker daemon 10.58MB 20:24:06 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:24:06 Step 2/12 : FROM ${BASE} AS builder 20:24:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:24:06 59bf1c3509f3: Pulling fs layer 20:24:06 666ba61612fd: Pulling fs layer 20:24:06 8ed8ca486205: Pulling fs layer 20:24:06 4fe6c5a15a65: Pulling fs layer 20:24:06 22a0e8bec74d: Pulling fs layer 20:24:06 ca2b28591e48: Pulling fs layer 20:24:06 a51346096db8: Pulling fs layer 20:24:06 daebc70d1ce1: Pulling fs layer 20:24:06 0e18a0eac166: Pulling fs layer 20:24:06 ca2b28591e48: Waiting 20:24:06 daebc70d1ce1: Waiting 20:24:06 0e18a0eac166: Waiting 20:24:06 a51346096db8: Waiting 20:24:06 22a0e8bec74d: Waiting 20:24:06 4fe6c5a15a65: Waiting 20:24:06 8ed8ca486205: Verifying Checksum 20:24:06 8ed8ca486205: Download complete 20:24:07 666ba61612fd: Download complete 20:24:07 22a0e8bec74d: Verifying Checksum 20:24:07 22a0e8bec74d: Download complete 20:24:07 ca2b28591e48: Download complete 20:24:07 59bf1c3509f3: Verifying Checksum 20:24:07 59bf1c3509f3: Download complete 20:24:07 a51346096db8: Verifying Checksum 20:24:07 a51346096db8: Download complete 20:24:07 daebc70d1ce1: Verifying Checksum 20:24:07 daebc70d1ce1: Download complete 20:24:07 59bf1c3509f3: Pull complete 20:24:07 666ba61612fd: Pull complete 20:24:07 8ed8ca486205: Pull complete 20:24:07 0e18a0eac166: Verifying Checksum 20:24:07 0e18a0eac166: Download complete 20:24:07 4fe6c5a15a65: Verifying Checksum 20:24:07 4fe6c5a15a65: Download complete 20:24:12 4fe6c5a15a65: Pull complete 20:24:12 22a0e8bec74d: Pull complete 20:24:12 ca2b28591e48: Pull complete 20:24:12 a51346096db8: Pull complete 20:24:12 daebc70d1ce1: Pull complete 20:24:14 0e18a0eac166: Pull complete 20:24:14 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:24:14 ---> f018257e8ee9 20:24:14 Step 3/12 : ARG MAKE='make build' 20:24:15 ---> Running in a6ead0282fdf 20:24:15 Removing intermediate container a6ead0282fdf 20:24:15 ---> 66cf9a2998bd 20:24:15 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:24:15 ---> Running in d6987011a0a4 20:24:15 Removing intermediate container d6987011a0a4 20:24:15 ---> 4e4e8924fab0 20:24:15 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:24:15 ---> Running in fc1f627b4592 20:24:15 Removing intermediate container fc1f627b4592 20:24:15 ---> 07022960ba79 20:24:15 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:24:15 ---> Running in b72c2f7bbe12 20:24:16 Removing intermediate container b72c2f7bbe12 20:24:16 ---> 67ace28e78d5 20:24:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:24:16 ---> Running in d75e029862be 20:24:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:24:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:24:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:24:18 (2/4) Installing libedit (20210910.3.1-r0) 20:24:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:24:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:24:18 Executing busybox-1.34.1-r3.trigger 20:24:18 OK: 224 MiB in 56 packages 20:24:18 Removing intermediate container d75e029862be 20:24:18 ---> 63516d766126 20:24:18 Step 8/12 : WORKDIR /device-rest-go 20:24:18 ---> Running in 45be28acca5f 20:24:18 Removing intermediate container 45be28acca5f 20:24:18 ---> be52a6a2eb78 20:24:18 Step 9/12 : COPY go.mod vendor* ./ 20:24:18 ---> e4e921997ada 20:24:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:24:19 ---> Running in 8a29ae2875c4 20:24:19 Still waiting to schedule task 20:24:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:24:34 Removing intermediate container 8a29ae2875c4 20:24:34 ---> 422e8730abdc 20:24:34 Step 11/12 : COPY . . 20:24:34 ---> 69c9c6bdfa98 20:24:34 Step 12/12 : RUN $MAKE 20:24:34 ---> Running in d68af93250c2 20:24:34 noop 20:24:34 Removing intermediate container d68af93250c2 20:24:34 ---> 22debf089228 20:24:34 Successfully built 22debf089228 20:24:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:24:34 + docker inspect -f . ci-base-image-x86_64 20:24:34 . [Pipeline] withDockerContainer 20:24:35 prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container 20:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** ci-base-image-x86_64 cat 20:24:35 $ docker top 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:35 + go version 20:24:35 go version go1.17.6 linux/amd64 [Pipeline] } 20:24:35 $ docker stop --time=1 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 20:24:37 $ docker rm -f 0fac6a6103c023e6643c25163b764ef3bc528b55441af7e551a707d52fd145d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:24:37 + docker inspect -f . ci-base-image-x86_64 20:24:37 . [Pipeline] withDockerContainer 20:24:38 prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container 20:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** ci-base-image-x86_64 cat 20:24:38 $ docker top 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:24:38 + make test 20:24:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:24:39 ? github.com/edgexfoundry/device-rest-go [no test files] 20:24:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:24:49 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 20:24:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:24:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:24:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:24:58 ./bin/test-attribution-txt.sh 20:24:58 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 20:24:58 make: *** [Makefile:46: test] Error 1 [Pipeline] } 20:24:58 $ docker stop --time=1 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 20:25:00 $ docker rm -f 76db1b78844d83ccaed7c071077b1d918804abe628a05dd2474e6140dc8c8100 [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 20:25:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:01 20:25:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:25:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:01 latest: Pulling from edgex-lftools-log-publisher 20:25:01 5eb5b503b376: Pulling fs layer 20:25:01 5c69ac0246d0: Pulling fs layer 20:25:01 ec43610c2a17: Pulling fs layer 20:25:01 3a2ae6a8a46f: Pulling fs layer 20:25:01 33b1e0a273af: Pulling fs layer 20:25:01 5d3b04190fa2: Pulling fs layer 20:25:01 2f39f015ded8: Pulling fs layer 20:25:01 3a2ae6a8a46f: Waiting 20:25:01 33b1e0a273af: Waiting 20:25:01 5d3b04190fa2: Waiting 20:25:01 2f39f015ded8: Waiting 20:25:01 5c69ac0246d0: Verifying Checksum 20:25:01 5c69ac0246d0: Download complete 20:25:01 3a2ae6a8a46f: Verifying Checksum 20:25:01 3a2ae6a8a46f: Download complete 20:25:01 33b1e0a273af: Verifying Checksum 20:25:01 33b1e0a273af: Download complete 20:25:01 ec43610c2a17: Verifying Checksum 20:25:01 ec43610c2a17: Download complete 20:25:01 5d3b04190fa2: Verifying Checksum 20:25:01 5d3b04190fa2: Download complete 20:25:02 5eb5b503b376: Verifying Checksum 20:25:02 5eb5b503b376: Download complete 20:25:02 2f39f015ded8: Download complete 20:25:03 5eb5b503b376: Pull complete 20:25:03 5c69ac0246d0: Pull complete 20:25:03 ec43610c2a17: Pull complete 20:25:04 3a2ae6a8a46f: Pull complete 20:25:04 33b1e0a273af: Pull complete 20:25:04 5d3b04190fa2: Pull complete 20:25:08 2f39f015ded8: Pull complete 20:25:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:25:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:25:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:25:08 prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container 20:25:08 $ 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-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 20:25:10 $ docker top 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:10 ---> job-cost.sh 20:25:10 lf-activate-venv: SKIPPING 20:25:10 INFO: No Stack... 20:25:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:25:11 INFO: Archiving Costs [Pipeline] sh 20:25:12 + cat /w/workspace/gexfoundry_device-rest-go_PR-179/archives/cost.csv 20:25:12 + cut -d, -f6 [Pipeline] lock 20:25:12 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] 20:25:12 Resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] did not exist. Created. 20:25:12 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:25:12 + echo total: 0.2199999988079071 [Pipeline] stash 20:25:12 Stashed 1 file(s) [Pipeline] } 20:25:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:25:12 $ docker stop --time=1 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f 20:25:13 $ docker rm -f 8375706e8be1de3d39b0c5ed0928437a185aea1bece413f1e626531b470ad26f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:25:14 Failed in branch amd64 20:45:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23514 in /w/workspace/gexfoundry_device-rest-go_PR-179 [Pipeline] { [Pipeline] ws 20:45:09 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:45:09 The recommended git tool is: git 20:45:19 using credential edgex-jenkins-ssh 20:45:19 Cloning the remote Git repository 20:45:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:45:19 > git init /w/workspace/device-rest-go/1 # timeout=10 20:45:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:20 > git --version # timeout=10 20:45:20 > git --version # 'git version 2.25.1' 20:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:23 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e 20:45:23 Merge succeeded, producing f17a959956fc561d4771619dc1a45ddee013e59e 20:45:23 Checking out Revision f17a959956fc561d4771619dc1a45ddee013e59e (PR-179) 20:45:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:23 > git config core.sparsecheckout # timeout=10 20:45:23 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 20:45:23 > git remote # timeout=10 20:45:23 > git config --get remote.origin.url # timeout=10 20:45:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:23 > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 20:45:23 > git rev-parse HEAD^{commit} # timeout=10 20:45:23 > git config core.sparsecheckout # timeout=10 20:45:23 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 20:45:28 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:45:28 > git --version # timeout=10 20:45:28 > git --version # 'git version 2.25.1' 20:45:28 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:29 Dload Upload Total Spent Left Speed 20:45:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 20:45:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:30 + sudo tee /etc/docker/daemon.new 20:45:30 { 20:45:30 "registry-mirrors": [ 20:45:30 "https://nexus3.edgexfoundry.org:10001" 20:45:30 ], 20:45:30 "bip": "10.250.0.254/24", 20:45:30 "hosts": [ 20:45:30 "tcp://0.0.0.0:5555", 20:45:30 "unix:///var/run/docker.sock" 20:45:30 ], 20:45:30 "mtu": 1458, 20:45:30 "selinux-enabled": true, 20:45:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:30 } [Pipeline] sh 20:45:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:49 provisioning config files... 20:45:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8175554348615726225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:50 ---> docker-login.sh 20:45:50 nexus3.edgexfoundry.org:10001 20:45:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:51 Configure a credential helper to remove this warning. See 20:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:51 20:45:51 Login Succeeded 20:45:51 nexus3.edgexfoundry.org:10002 20:45:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:52 Configure a credential helper to remove this warning. See 20:45:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:52 20:45:52 Login Succeeded 20:45:52 nexus3.edgexfoundry.org:10003 20:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:53 Configure a credential helper to remove this warning. See 20:45:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:53 20:45:53 Login Succeeded 20:45:53 nexus3.edgexfoundry.org:10004 20:45:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:54 Configure a credential helper to remove this warning. See 20:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:54 20:45:54 Login Succeeded 20:45:54 docker.io 20:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:54 Configure a credential helper to remove this warning. See 20:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:54 20:45:54 Login Succeeded 20:45:54 ---> docker-login.sh ends [Pipeline] } 20:45:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:55 ========================================================= 20:45:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:45:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:45:56 + 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 . 20:45:56 Sending build context to Docker daemon 129.5kB 20:45:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:45:56 Step 2/12 : FROM ${BASE} AS builder 20:45:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:56 9b3977197b4f: Pulling fs layer 20:45:56 1a89e8eeedd5: Pulling fs layer 20:45:56 94645a83ff95: Pulling fs layer 20:45:56 3f3a8bcf1eab: Pulling fs layer 20:45:56 0c92f367c5e7: Pulling fs layer 20:45:56 3096ccb668a1: Pulling fs layer 20:45:56 e8cf19c19ddd: Pulling fs layer 20:45:56 a4caa8a26152: Pulling fs layer 20:45:56 3f3a8bcf1eab: Waiting 20:45:56 0c92f367c5e7: Waiting 20:45:56 3096ccb668a1: Waiting 20:45:56 e8cf19c19ddd: Waiting 20:45:56 a4caa8a26152: Waiting 20:45:56 94645a83ff95: Verifying Checksum 20:45:56 94645a83ff95: Download complete 20:45:56 1a89e8eeedd5: Verifying Checksum 20:45:56 1a89e8eeedd5: Download complete 20:45:56 0c92f367c5e7: Verifying Checksum 20:45:56 0c92f367c5e7: Download complete 20:45:56 3096ccb668a1: Verifying Checksum 20:45:56 3096ccb668a1: Download complete 20:45:56 e8cf19c19ddd: Verifying Checksum 20:45:56 e8cf19c19ddd: Download complete 20:45:56 9b3977197b4f: Download complete 20:45:57 9b3977197b4f: Pull complete 20:45:58 1a89e8eeedd5: Pull complete 20:45:58 94645a83ff95: Pull complete 20:45:59 a4caa8a26152: Verifying Checksum 20:45:59 a4caa8a26152: Download complete 20:46:00 3f3a8bcf1eab: Download complete 20:46:15 3f3a8bcf1eab: Pull complete 20:46:15 0c92f367c5e7: Pull complete 20:46:15 3096ccb668a1: Pull complete 20:46:15 e8cf19c19ddd: Pull complete 20:46:23 a4caa8a26152: Pull complete 20:46:23 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:46:23 ---> 725f1c02e7f9 20:46:23 Step 3/12 : ARG MAKE='make build' 20:46:24 ---> Running in 533cb8a47904 20:46:25 Removing intermediate container 533cb8a47904 20:46:25 ---> 453e3039b582 20:46:25 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:46:25 ---> Running in afc1dd28f1e2 20:46:25 Removing intermediate container afc1dd28f1e2 20:46:25 ---> 44c7a8f05d0b 20:46:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:46:25 ---> Running in 2fbb80d70041 20:46:26 Removing intermediate container 2fbb80d70041 20:46:26 ---> ba54fbc07a48 20:46:26 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:26 ---> Running in 8640da6a6cd5 20:46:28 Removing intermediate container 8640da6a6cd5 20:46:28 ---> 35f836d252d5 20:46:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:28 ---> Running in c02d3f1529e2 20:46:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:46:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:46:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:46:32 (2/4) Installing libedit (20210910.3.1-r0) 20:46:32 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:46:32 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:46:32 Executing busybox-1.34.1-r3.trigger 20:46:32 OK: 224 MiB in 56 packages 20:46:33 Removing intermediate container c02d3f1529e2 20:46:33 ---> f70fcd27eb3e 20:46:33 Step 8/12 : WORKDIR /device-rest-go 20:46:33 ---> Running in 0f4e2d0e4a23 20:46:34 Removing intermediate container 0f4e2d0e4a23 20:46:34 ---> aab397e4692e 20:46:34 Step 9/12 : COPY go.mod vendor* ./ 20:46:34 ---> 0164c44f130e 20:46:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:35 ---> Running in a28f01db996d 20:47:31 Removing intermediate container a28f01db996d 20:47:31 ---> d49446e6b99a 20:47:31 Step 11/12 : COPY . . 20:47:31 ---> da65b5887631 20:47:31 Step 12/12 : RUN $MAKE 20:47:31 ---> Running in ca830996895b 20:47:31 noop 20:47:31 Removing intermediate container ca830996895b 20:47:31 ---> 7fb72141cc20 20:47:31 Successfully built 7fb72141cc20 20:47:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:47:32 + docker inspect -f . ci-base-image-arm64 20:47:32 . [Pipeline] withDockerContainer 20:47:32 prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container 20:47:32 $ 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 20:47:33 $ docker top d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:35 + go version 20:47:35 go version go1.17.6 linux/arm64 [Pipeline] } 20:47:35 $ docker stop --time=1 d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 20:47:36 $ docker rm -f d8dd4d1baa14bca9aa3c90ad111e70846408e8f5b2ff1defb51779aca944c282 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:47:37 + docker inspect -f . ci-base-image-arm64 20:47:37 . [Pipeline] withDockerContainer 20:47:38 prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container 20:47:38 $ 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 20:47:39 $ docker top 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:47:40 + make test 20:47:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:47:42 ? github.com/edgexfoundry/device-rest-go [no test files] 20:49:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:49:19 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements 20:49:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:49:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:49:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:49:41 ./bin/test-attribution-txt.sh 20:49:44 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 20:49:44 make: *** [Makefile:46: test] Error 1 [Pipeline] } 20:49:44 $ docker stop --time=1 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 20:49:46 $ docker rm -f 9e336c9a699fb527bb66902bdb9b2bc6264555acbc97e413fb6c189901a2b6c8 [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 20:49:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:49:48 20:49:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:49:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:49:48 arm64: Pulling from edgex-lftools-log-publisher 20:49:48 8998bd30e6a1: Pulling fs layer 20:49:48 04944245beec: Pulling fs layer 20:49:48 699f458cf7ca: Pulling fs layer 20:49:48 765212b225bb: Pulling fs layer 20:49:48 f23df028b6ca: Pulling fs layer 20:49:48 d65c8cfc05b1: Pulling fs layer 20:49:48 2437ff75d9bd: Pulling fs layer 20:49:48 d65c8cfc05b1: Waiting 20:49:48 2437ff75d9bd: Waiting 20:49:48 f23df028b6ca: Waiting 20:49:48 765212b225bb: Waiting 20:49:48 04944245beec: Download complete 20:49:48 765212b225bb: Download complete 20:49:49 f23df028b6ca: Download complete 20:49:49 d65c8cfc05b1: Download complete 20:49:49 699f458cf7ca: Verifying Checksum 20:49:49 699f458cf7ca: Download complete 20:49:49 8998bd30e6a1: Download complete 20:49:52 2437ff75d9bd: Verifying Checksum 20:49:52 2437ff75d9bd: Download complete 20:49:54 8998bd30e6a1: Pull complete 20:49:54 04944245beec: Pull complete 20:49:55 699f458cf7ca: Pull complete 20:49:56 765212b225bb: Pull complete 20:49:56 f23df028b6ca: Pull complete 20:49:56 d65c8cfc05b1: Pull complete 20:50:12 2437ff75d9bd: Pull complete 20:50:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:50:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:50:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:50:12 prd-ubuntu20.04-docker-arm64-4c-16g-23514 does not seem to be running inside a container 20:50:12 $ 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 20:50:15 $ docker top cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:50:16 ---> job-cost.sh 20:50:16 lf-activate-venv: SKIPPING 20:50:16 INFO: No Stack... 20:50:16 INFO: Retrieving Pricing Info for: v3-standard-4 20:50:17 INFO: Archiving Costs [Pipeline] sh 20:50:18 + + cut -d, -f6 20:50:18 cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:50:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] 20:50:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] did not exist. Created. 20:50:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:50:19 /w/workspace/device-rest-go/1@tmp/durable-75640b35/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:50:19 + echo total: 0.10999999940395355 [Pipeline] stash 20:50:19 Warning: overwriting stash ‘stack-cost’ 20:50:20 Stashed 1 file(s) [Pipeline] } 20:50:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:50:20 $ docker stop --time=1 cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb 20:50:22 $ docker rm -f cc997265999265e8ea5061e84f778a5126e766b5e851d00a20fdb2744eef9ffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:50:22 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 20:50:24 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-179/archives ] 20:50:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives 20:50:24 total 16 20:50:24 drwxr-xr-x 3 root root 4096 Apr 25 20:25 . 20:50:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:25 .. 20:50:24 drwxr-xr-x 2 root root 4096 Apr 25 20:25 cost 20:50:24 -rw-r--r-- 1 root root 85 Apr 25 20:25 cost.csv 20:50:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-179/archives 20:50:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives 20:50:24 total 16 20:50:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 20:25 . 20:50:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:25 .. 20:50:24 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 20:25 cost 20:50:24 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 20:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:50:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:50:25 ---> package-listing.sh 20:50:25 ++ facter osfamily 20:50:25 ++ tr '[:upper:]' '[:lower:]' 20:50:26 + OS_FAMILY=debian 20:50:26 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-179 20:50:26 + START_PACKAGES=/tmp/packages_start.txt 20:50:26 + END_PACKAGES=/tmp/packages_end.txt 20:50:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:50:26 + PACKAGES=/tmp/packages_start.txt 20:50:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' 20:50:26 + PACKAGES=/tmp/packages_end.txt 20:50:26 + case "${OS_FAMILY}" in 20:50:26 + dpkg -l 20:50:26 + grep '^ii' 20:50:26 + '[' -f /tmp/packages_start.txt ']' 20:50:26 + '[' -f /tmp/packages_end.txt ']' 20:50:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:50:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' 20:50:26 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ 20:50:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [Pipeline] echo 20:50:26 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-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:50:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:50:27 . [Pipeline] withDockerContainer 20:50:27 prd-ubuntu20.04-docker-8c-8g-22892 does not seem to be running inside a container 20:50:27 $ 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-179/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-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:50:27 $ docker top 92ef54adcf0de3b62d757cd54c0e51a923e69e65dbf981630a1f6ecf47c43a2c -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:50:28 + mkdir -p /var/log/sysstat [Pipeline] sh 20:50:28 + ls /var/log/sa-host 20:50:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:28 provisioning config files... 20:50:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config3388088169936965805tmp [Pipeline] { [Pipeline] echo 20:50:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:50:29 ---> create-netrc.sh [Pipeline] } 20:50:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:50:29 ---> python-tools-install.sh [Pipeline] echo 20:50:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:50:29 ---> sudo-logs.sh 20:50:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:50:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:50:30 ---> job-cost.sh 20:50:30 lf-activate-venv: SKIPPING 20:50:30 DEBUG: total: 0.2199999988079071 20:50:30 INFO: Retrieving Stack Cost... 20:50:30 INFO: Retrieving Pricing Info for: v3-standard-8 20:50:31 INFO: Archiving Costs [Pipeline] echo 20:50:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:50:31 ---> logs-deploy.sh 20:50:31 lf-activate-venv: SKIPPING 20:50:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-179/1 20:50:31 INFO: archiving workspace using pattern(s): 20:50:32 Archives upload complete. 20:50:32 INFO: archiving logs to Nexus