Pull request #248 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec6607bba225c8cb70c66717198a33a141207962+b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (ddfcf3828bfe58f2d2a54d2730dda06be1bf4237) 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-ssh16691296047943053047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2533436155399558781.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8901723887141811491.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-248/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5706377554736373021.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh17373925575038455464.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-248/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16652231372044848209.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4989’ is offline ‘prd-ubuntu20.04-docker-8c-8g-4999’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5003’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5004’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5001’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5006 in /w/workspace/gexfoundry_device-rest-go_PR-248 [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-248 # 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 > 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/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit ec6607bba225c8cb70c66717198a33a141207962 Merge succeeded, producing ec6607bba225c8cb70c66717198a33a141207962 Checking out Revision ec6607bba225c8cb70c66717198a33a141207962 (PR-248) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:46:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f ec6607bba225c8cb70c66717198a33a141207962 # 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 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec6607bba225c8cb70c66717198a33a141207962 # timeout=10 [Pipeline] withCredentials 22:46:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:46:14 ========================================================= 22:46:14 EdgeX Global Pipelines Version Info 22:46:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:46:15 ------------------- 22:46:15 stable info: 22:46:15 ------------------- 22:46:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:46:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:46:15 Message: update stable to v1.0.244 22:46:15 ------------------- 22:46:15 experimental info: 22:46:15 ------------------- 22:46:15 Commited By: **** collab-it+edgex@linuxfoundation.org 22:46:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 22:46:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:46:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-248 [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-248 [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-248 [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec6607bba225c8cb70c66717198a33a141207962 [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec6607b [Pipeline] echo 22:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:17 provisioning config files... 22:46:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-248@tmp/config15990509030535947801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:18 ---> docker-login.sh 22:46:18 nexus3.edgexfoundry.org:10001 22:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:19 Configure a credential helper to remove this warning. See 22:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:19 22:46:19 Login Succeeded 22:46:19 nexus3.edgexfoundry.org:10002 22:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:19 Configure a credential helper to remove this warning. See 22:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:19 22:46:19 Login Succeeded 22:46:19 nexus3.edgexfoundry.org:10003 22:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:19 Configure a credential helper to remove this warning. See 22:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:19 22:46:19 Login Succeeded 22:46:19 nexus3.edgexfoundry.org:10004 22:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:19 Configure a credential helper to remove this warning. See 22:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:19 22:46:19 Login Succeeded 22:46:19 docker.io 22:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:19 Configure a credential helper to remove this warning. See 22:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:19 22:46:19 Login Succeeded 22:46:19 ---> docker-login.sh ends [Pipeline] } 22:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:46:20 + git rev-list -1 --merges ec6607bba225c8cb70c66717198a33a141207962~1..ec6607bba225c8cb70c66717198a33a141207962 [Pipeline] echo 22:46:20 -----------> git rev-list -1 --merges ec6607bba225c8cb70c66717198a33a141207962~1..ec6607bba225c8cb70c66717198a33a141207962 ec6607bba225c8cb70c66717198a33a141207962 [false] [Pipeline] sh 22:46:20 + git log --format=format:%s -1 ec6607bba225c8cb70c66717198a33a141207962 [Pipeline] echo 22:46:20 ========================================================= 22:46:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:46:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:21 + git log --format=format:%s -1 ec6607bba225c8cb70c66717198a33a141207962 [Pipeline] echo 22:46:21 [semverPrep] GIT_COMMIT: ec6607bba225c8cb70c66717198a33a141207962, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 22:46:21 [semverPrep] This is not a build commit. [Pipeline] sh 22:46:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:46:21 + grep -v github /etc/ssh/ssh_known_hosts 22:46:21 + [ -e /tmp/ssh_known_hosts ] 22:46:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:46:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:46:21 + sudo tee -a /etc/ssh/ssh_known_hosts 22:46:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:46:22 22:46:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:46:22 0.1.4: Pulling from edgex-devops/py-git-semver 22:46:22 b85a868b505f: Pulling fs layer 22:46:22 e2be974225ed: Pulling fs layer 22:46:22 339a4e72a1f5: Pulling fs layer 22:46:22 988bab9f4d93: Pulling fs layer 22:46:22 1469e6f7b9e6: Pulling fs layer 22:46:22 eaf3925da568: Pulling fs layer 22:46:22 bab4dde63d76: Pulling fs layer 22:46:22 bde34c3a00c8: Pulling fs layer 22:46:22 b352a97aabf1: Pulling fs layer 22:46:22 4872d77fe225: Pulling fs layer 22:46:22 5851b861e8e6: Pulling fs layer 22:46:22 bab4dde63d76: Waiting 22:46:22 4872d77fe225: Waiting 22:46:22 1469e6f7b9e6: Waiting 22:46:22 5851b861e8e6: Waiting 22:46:22 bde34c3a00c8: Waiting 22:46:22 b352a97aabf1: Waiting 22:46:22 eaf3925da568: Waiting 22:46:22 988bab9f4d93: Waiting 22:46:22 e2be974225ed: Verifying Checksum 22:46:22 e2be974225ed: Download complete 22:46:22 988bab9f4d93: Verifying Checksum 22:46:22 988bab9f4d93: Download complete 22:46:23 1469e6f7b9e6: Verifying Checksum 22:46:23 1469e6f7b9e6: Download complete 22:46:23 eaf3925da568: Verifying Checksum 22:46:23 eaf3925da568: Download complete 22:46:23 339a4e72a1f5: Download complete 22:46:23 bde34c3a00c8: Download complete 22:46:23 b352a97aabf1: Verifying Checksum 22:46:23 b352a97aabf1: Download complete 22:46:23 4872d77fe225: Download complete 22:46:23 5851b861e8e6: Download complete 22:46:23 b85a868b505f: Download complete 22:46:24 bab4dde63d76: Verifying Checksum 22:46:24 bab4dde63d76: Download complete 22:46:25 b85a868b505f: Pull complete 22:46:25 e2be974225ed: Pull complete 22:46:26 339a4e72a1f5: Pull complete 22:46:26 988bab9f4d93: Pull complete 22:46:26 1469e6f7b9e6: Pull complete 22:46:26 eaf3925da568: Pull complete 22:46:28 bab4dde63d76: Pull complete 22:46:28 bde34c3a00c8: Pull complete 22:46:28 b352a97aabf1: Pull complete 22:46:29 4872d77fe225: Pull complete 22:46:29 5851b861e8e6: Pull complete 22:46:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:46:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:29 prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container 22:46:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-248 -v /w/workspace/gexfoundry_device-rest-go_PR-248:/w/workspace/gexfoundry_device-rest-go_PR-248:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-248@tmp:/w/workspace/gexfoundry_device-rest-go_PR-248@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-devops/py-git-semver:0.1.4 cat 22:46:33 $ docker top 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 -eo pid,comm 22:46:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:46:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:46:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:46:33 [ssh-agent] Looking for ssh-agent implementation... 22:46:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:46:33 $ docker exec 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 ssh-agent 22:46:33 SSH_AUTH_SOCK=/tmp/ssh-eDEM9TaQTlLS/agent.14 22:46:33 SSH_AGENT_PID=20 22:46:33 Running ssh-add (command line suppressed) 22:46:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-248@tmp/private_key_4443115267299839495.key (/w/workspace/gexfoundry_device-rest-go_PR-248@tmp/private_key_4443115267299839495.key) 22:46:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:46:34 + git tag --points-at HEAD [Pipeline] } 22:46:34 $ docker exec --env ******** --env ******** 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 ssh-agent -k 22:46:34 unset SSH_AUTH_SOCK; 22:46:34 unset SSH_AGENT_PID; 22:46:34 echo Agent pid 20 killed; 22:46:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:46:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:46:34 [ssh-agent] Looking for ssh-agent implementation... 22:46:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:46:34 $ docker exec 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 ssh-agent 22:46:34 SSH_AUTH_SOCK=/tmp/ssh-cgXdytxfEhKR/agent.70 22:46:34 SSH_AGENT_PID=76 22:46:34 Running ssh-add (command line suppressed) 22:46:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-248@tmp/private_key_9996591061645631872.key (/w/workspace/gexfoundry_device-rest-go_PR-248@tmp/private_key_9996591061645631872.key) 22:46:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:46:35 + git semver init 22:46:35 2023-02-07 22:46:35,351 [run_init] DEBUG init version:0.0.0 force:False 22:46:35 2023-02-07 22:46:35,352 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-248/.semver 22:46:35 2023-02-07 22:46:35,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-248/.semver 22:46:35 2023-02-07 22:46:35,353 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-248/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-248, universal_newlines=False, shell=None, istream=None) 22:46:36 2023-02-07 22:46:36,666 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-248/.git/info/exclude 22:46:36 2023-02-07 22:46:36,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-248/.semver/PR-248 with force:False 22:46:36 2023-02-07 22:46:36,667 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-248/.semver/PR-248 22:46:36 2023-02-07 22:46:36,672 [execute] INFO git cat-file --batch-check 22:46:36 2023-02-07 22:46:36,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-248/.semver, universal_newlines=False, shell=None, istream=) 22:46:36 2023-02-07 22:46:36,680 [execute] INFO git cat-file --batch 22:46:36 2023-02-07 22:46:36,680 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-248/.semver, universal_newlines=False, shell=None, istream=) 22:46:36 2023-02-07 22:46:36,686 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-248/.semver/PR-248 22:46:36 0.0.0 [Pipeline] } 22:46:36 $ docker exec --env ******** --env ******** 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 ssh-agent -k 22:46:36 unset SSH_AUTH_SOCK; 22:46:36 unset SSH_AGENT_PID; 22:46:36 echo Agent pid 76 killed; 22:46:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:46:37 + git semver [Pipeline] } 22:46:37 $ docker stop --time=1 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 22:46:38 $ docker rm -f --volumes 96efdc6de359398fbf7369887649ea8f71463b16a90aa07aa7243bb4cfbe0911 [Pipeline] // withDockerContainer [Pipeline] sh 22:46:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:46:39 Stashed 1 file(s) [Pipeline] echo 22:46:39 [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 22:46:40 provisioning config files... 22:46:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-248@tmp/config3520898669176757164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:40 ---> docker-login.sh 22:46:40 nexus3.edgexfoundry.org:10001 22:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:40 Configure a credential helper to remove this warning. See 22:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:40 22:46:40 Login Succeeded 22:46:40 nexus3.edgexfoundry.org:10002 22:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:40 Configure a credential helper to remove this warning. See 22:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:40 22:46:40 Login Succeeded 22:46:40 nexus3.edgexfoundry.org:10003 22:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:41 Configure a credential helper to remove this warning. See 22:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:41 22:46:41 Login Succeeded 22:46:41 nexus3.edgexfoundry.org:10004 22:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:41 Configure a credential helper to remove this warning. See 22:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:41 22:46:41 Login Succeeded 22:46:41 docker.io 22:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:41 Configure a credential helper to remove this warning. See 22:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:41 22:46:41 Login Succeeded 22:46:41 ---> docker-login.sh ends [Pipeline] } 22:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:41 ========================================================= 22:46:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:46:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:46:42 Sending build context to Docker daemon 10.83MB 22:46:42 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:46:42 Step 2/12 : FROM ${BASE} AS builder 22:46:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:46:42 213ec9aee27d: Pulling fs layer 22:46:42 4583459ba037: Pulling fs layer 22:46:42 93c1e223e6f2: Pulling fs layer 22:46:42 53926ce57604: Pulling fs layer 22:46:42 21b2b0c7a3f4: Pulling fs layer 22:46:42 22ff95d597cd: Pulling fs layer 22:46:42 12d6caf4c0d1: Pulling fs layer 22:46:42 96b7cbca73a9: Pulling fs layer 22:46:42 a7acece74701: Pulling fs layer 22:46:42 53926ce57604: Waiting 22:46:42 96b7cbca73a9: Waiting 22:46:42 21b2b0c7a3f4: Waiting 22:46:42 a7acece74701: Waiting 22:46:42 12d6caf4c0d1: Waiting 22:46:42 22ff95d597cd: Waiting 22:46:42 93c1e223e6f2: Verifying Checksum 22:46:42 4583459ba037: Verifying Checksum 22:46:42 4583459ba037: Download complete 22:46:42 21b2b0c7a3f4: Download complete 22:46:42 22ff95d597cd: Verifying Checksum 22:46:42 22ff95d597cd: Download complete 22:46:42 213ec9aee27d: Verifying Checksum 22:46:42 213ec9aee27d: Download complete 22:46:42 12d6caf4c0d1: Download complete 22:46:43 213ec9aee27d: Pull complete 22:46:43 4583459ba037: Pull complete 22:46:44 93c1e223e6f2: Pull complete 22:46:44 a7acece74701: Verifying Checksum 22:46:44 a7acece74701: Download complete 22:46:44 96b7cbca73a9: Verifying Checksum 22:46:44 96b7cbca73a9: Download complete 22:46:45 53926ce57604: Verifying Checksum 22:46:45 53926ce57604: Download complete 22:46:49 53926ce57604: Pull complete 22:46:50 21b2b0c7a3f4: Pull complete 22:46:50 22ff95d597cd: Pull complete 22:46:50 12d6caf4c0d1: Pull complete 22:46:53 96b7cbca73a9: Pull complete 22:46:54 a7acece74701: Pull complete 22:46:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:46:54 ---> db6d94c90886 22:46:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:46:55 Still waiting to schedule task 22:46:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:47:00 ---> Running in 6714891e19cd 22:47:00 Removing intermediate container 6714891e19cd 22:47:00 ---> 41d46cfe29d9 22:47:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:47:00 ---> Running in 8664aa6662ea 22:47:01 Removing intermediate container 8664aa6662ea 22:47:01 ---> 2cd8f296f908 22:47:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:47:01 ---> Running in 42a997aa09d3 22:47:01 Removing intermediate container 42a997aa09d3 22:47:01 ---> 61ba0909e37c 22:47:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:47:01 ---> Running in 561571241e32 22:47:02 Removing intermediate container 561571241e32 22:47:02 ---> a660f9f081e6 22:47:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:02 ---> Running in e105d4784a41 22:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:47:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:47:03 (2/4) Installing libedit (20210910.3.1-r0) 22:47:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:47:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:47:03 Executing busybox-1.35.0-r17.trigger 22:47:03 OK: 216 MiB in 55 packages 22:47:05 Removing intermediate container e105d4784a41 22:47:05 ---> 515d08889546 22:47:05 Step 8/12 : WORKDIR /device-rest-go 22:47:05 ---> Running in 0581225314d4 22:47:06 Removing intermediate container 0581225314d4 22:47:06 ---> 0bb082736261 22:47:06 Step 9/12 : COPY go.mod vendor* ./ 22:47:06 ---> 0a679323e71f 22:47:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:06 ---> Running in 8eca4d0cb170 22:47:45 Removing intermediate container 8eca4d0cb170 22:47:45 ---> 30c3bd504573 22:47:45 Step 11/12 : COPY . . 22:47:45 ---> 9adb37c77f45 22:47:45 Step 12/12 : RUN $MAKE 22:47:45 ---> Running in ccb89882cdb8 22:47:46 noop 22:47:47 Removing intermediate container ccb89882cdb8 22:47:47 ---> 5c4e735ff7d4 22:47:47 Successfully built 5c4e735ff7d4 22:47:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:48 + docker inspect -f . ci-base-image-x86_64 22:47:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:48 prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container 22:47:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-248 -v /w/workspace/gexfoundry_device-rest-go_PR-248:/w/workspace/gexfoundry_device-rest-go_PR-248:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-248@tmp:/w/workspace/gexfoundry_device-rest-go_PR-248@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 ******** -e ******** ci-base-image-x86_64 cat 22:47:48 $ docker top 93b1acadce0e7e5b8c8335235d95f29c2d65cba5e6895d5c2d26d770d4326a1f -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:49 + go version 22:47:49 go version go1.18.7 linux/amd64 [Pipeline] } 22:47:49 $ docker stop --time=1 93b1acadce0e7e5b8c8335235d95f29c2d65cba5e6895d5c2d26d770d4326a1f 22:47:51 $ docker rm -f --volumes 93b1acadce0e7e5b8c8335235d95f29c2d65cba5e6895d5c2d26d770d4326a1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:51 + docker inspect -f . ci-base-image-x86_64 22:47:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:52 prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container 22:47:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-248 -v /w/workspace/gexfoundry_device-rest-go_PR-248:/w/workspace/gexfoundry_device-rest-go_PR-248:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-248@tmp:/w/workspace/gexfoundry_device-rest-go_PR-248@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 ******** -e ******** ci-base-image-x86_64 cat 22:47:52 $ docker top 10c2e2349612419449394ca798a8d4d042f91606103bb19b56192a66125106c5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:47:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-248 [Pipeline] fileExists [Pipeline] sh 22:47:53 + make test 22:47:53 go test ./... -coverprofile=coverage.out ./... 22:47:53 ? github.com/edgexfoundry/device-rest-go [no test files] 22:48:01 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 22:48:01 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 22:48:01 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 22:48:01 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 22:48:01 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 22:48:01 make: *** [Makefile:29: unittest] Error 2 [Pipeline] } 22:48:02 $ docker stop --time=1 10c2e2349612419449394ca798a8d4d042f91606103bb19b56192a66125106c5 22:48:06 $ docker rm -f --volumes 10c2e2349612419449394ca798a8d4d042f91606103bb19b56192a66125106c5 [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] withEnv [Pipeline] { [Pipeline] sh 22:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:07 22:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:08 latest: Pulling from edgex-lftools-log-publisher 22:48:08 5eb5b503b376: Pulling fs layer 22:48:08 5c69ac0246d0: Pulling fs layer 22:48:08 ec43610c2a17: Pulling fs layer 22:48:08 3a2ae6a8a46f: Pulling fs layer 22:48:08 33b1e0a273af: Pulling fs layer 22:48:08 5d3b04190fa2: Pulling fs layer 22:48:08 2f39f015ded8: Pulling fs layer 22:48:08 3a2ae6a8a46f: Waiting 22:48:08 2f39f015ded8: Waiting 22:48:08 5d3b04190fa2: Waiting 22:48:08 5c69ac0246d0: Verifying Checksum 22:48:08 5c69ac0246d0: Download complete 22:48:08 3a2ae6a8a46f: Verifying Checksum 22:48:08 3a2ae6a8a46f: Download complete 22:48:08 33b1e0a273af: Verifying Checksum 22:48:08 33b1e0a273af: Download complete 22:48:08 5d3b04190fa2: Verifying Checksum 22:48:08 5d3b04190fa2: Download complete 22:48:08 ec43610c2a17: Verifying Checksum 22:48:08 ec43610c2a17: Download complete 22:48:08 5eb5b503b376: Verifying Checksum 22:48:08 5eb5b503b376: Download complete 22:48:09 2f39f015ded8: Verifying Checksum 22:48:09 2f39f015ded8: Download complete 22:48:10 5eb5b503b376: Pull complete 22:48:12 5c69ac0246d0: Pull complete 22:48:13 ec43610c2a17: Pull complete 22:48:14 3a2ae6a8a46f: Pull complete 22:48:14 33b1e0a273af: Pull complete 22:48:14 5d3b04190fa2: Pull complete 22:48:19 2f39f015ded8: Pull complete 22:48:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:19 prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container 22:48:19 $ 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-248 -v /w/workspace/gexfoundry_device-rest-go_PR-248:/w/workspace/gexfoundry_device-rest-go_PR-248:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-248@tmp:/w/workspace/gexfoundry_device-rest-go_PR-248@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:48:25 $ docker top 163d1c1a799fedd5c320cd144c8ca5d51417607689d09d68e72dd78bda8c7d97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:26 ---> job-cost.sh 22:48:26 lf-activate-venv: SKIPPING 22:48:26 INFO: No Stack... 22:48:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:48:27 INFO: Archiving Costs [Pipeline] sh 22:48:27 + cat /w/workspace/gexfoundry_device-rest-go_PR-248/archives/cost.csv 22:48:27 + cut -d, -f6 [Pipeline] lock 22:48:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] 22:48:27 Resource [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] did not exist. Created. 22:48:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:27 + echo total: 0.2199999988079071 [Pipeline] stash 22:48:28 Stashed 1 file(s) [Pipeline] } 22:48:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:48:28 $ docker stop --time=1 163d1c1a799fedd5c320cd144c8ca5d51417607689d09d68e72dd78bda8c7d97 22:48:29 $ docker rm -f --volumes 163d1c1a799fedd5c320cd144c8ca5d51417607689d09d68e72dd78bda8c7d97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:30 Failed in branch amd64 22:49:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5012 in /w/workspace/gexfoundry_device-rest-go_PR-248 [Pipeline] { [Pipeline] ws 22:49:51 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:49:51 The recommended git tool is: git 22:49:59 using credential edgex-jenkins-ssh 22:49:59 Cloning the remote Git repository 22:49:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:49:59 > git init /w/workspace/device-rest-go/1 # timeout=10 22:49:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:49:59 > git --version # timeout=10 22:49:59 > git --version # 'git version 2.25.1' 22:49:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:50:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:50:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:50:03 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:50:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:50:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:50:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/248/head:refs/remotes/origin/PR-248 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:50:04 Merging remotes/origin/main commit b8541e7e07d14b35bcb3c6fb0ee347edefdec343 into PR head commit ec6607bba225c8cb70c66717198a33a141207962 22:50:04 Merge succeeded, producing ec6607bba225c8cb70c66717198a33a141207962 22:50:04 Checking out Revision ec6607bba225c8cb70c66717198a33a141207962 (PR-248) 22:50:04 > git config core.sparsecheckout # timeout=10 22:50:04 > git checkout -f ec6607bba225c8cb70c66717198a33a141207962 # timeout=10 22:50:04 > git remote # timeout=10 22:50:04 > git config --get remote.origin.url # timeout=10 22:50:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:50:04 > git merge b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 22:50:04 > git rev-parse HEAD^{commit} # timeout=10 22:50:04 > git config core.sparsecheckout # timeout=10 22:50:04 > git checkout -f ec6607bba225c8cb70c66717198a33a141207962 # timeout=10 22:50:05 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 22:50:05 > git --version # timeout=10 22:50:05 > git --version # 'git version 2.25.1' 22:50:05 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:50:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:50:06 % Total % Received % Xferd Average Speed Time Time Time Current 22:50:06 Dload Upload Total Spent Left Speed 22:50:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 22:50:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:50:08 + sudo tee /etc/docker/daemon.new 22:50:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:50:08 { 22:50:08 "registry-mirrors": [ 22:50:08 "https://nexus3.edgexfoundry.org:10001" 22:50:08 ], 22:50:08 "bip": "10.250.0.254/24", 22:50:08 "hosts": [ 22:50:08 "tcp://0.0.0.0:5555", 22:50:08 "unix:///var/run/docker.sock" 22:50:08 ], 22:50:08 "mtu": 1458, 22:50:08 "selinux-enabled": true, 22:50:08 "seccomp-profile": "/etc/docker/seccomp.json" 22:50:08 } [Pipeline] sh 22:50:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:50:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:50:28 provisioning config files... 22:50:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4514854582531396799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:50:28 ---> docker-login.sh 22:50:28 nexus3.edgexfoundry.org:10001 22:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:29 Configure a credential helper to remove this warning. See 22:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:29 22:50:29 Login Succeeded 22:50:29 nexus3.edgexfoundry.org:10002 22:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:29 Configure a credential helper to remove this warning. See 22:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:29 22:50:29 Login Succeeded 22:50:29 nexus3.edgexfoundry.org:10003 22:50:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:29 Configure a credential helper to remove this warning. See 22:50:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:29 22:50:29 Login Succeeded 22:50:29 nexus3.edgexfoundry.org:10004 22:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:30 Configure a credential helper to remove this warning. See 22:50:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:30 22:50:30 Login Succeeded 22:50:30 docker.io 22:50:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:50:31 Configure a credential helper to remove this warning. See 22:50:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:50:31 22:50:31 Login Succeeded 22:50:31 ---> docker-login.sh ends [Pipeline] } 22:50:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:50:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:50:31 ========================================================= 22:50:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:50:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:50:32 Sending build context to Docker daemon 142.8kB 22:50:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:50:32 Step 2/12 : FROM ${BASE} AS builder 22:50:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:50:32 9b18e9b68314: Pulling fs layer 22:50:32 35d82f9e3411: Pulling fs layer 22:50:32 e16973657156: Pulling fs layer 22:50:32 fc693d55d65f: Pulling fs layer 22:50:32 7e9fc2657dce: Pulling fs layer 22:50:32 dda99020689f: Pulling fs layer 22:50:32 db1c61fa0a46: Pulling fs layer 22:50:32 891c053d2c06: Pulling fs layer 22:50:32 7e9fc2657dce: Waiting 22:50:32 dda99020689f: Waiting 22:50:32 db1c61fa0a46: Waiting 22:50:32 891c053d2c06: Waiting 22:50:32 fc693d55d65f: Waiting 22:50:32 e16973657156: Verifying Checksum 22:50:32 e16973657156: Download complete 22:50:32 35d82f9e3411: Verifying Checksum 22:50:32 35d82f9e3411: Download complete 22:50:32 7e9fc2657dce: Verifying Checksum 22:50:32 7e9fc2657dce: Download complete 22:50:32 dda99020689f: Verifying Checksum 22:50:32 dda99020689f: Download complete 22:50:32 9b18e9b68314: Verifying Checksum 22:50:32 9b18e9b68314: Download complete 22:50:33 9b18e9b68314: Pull complete 22:50:34 891c053d2c06: Verifying Checksum 22:50:34 891c053d2c06: Download complete 22:50:34 35d82f9e3411: Pull complete 22:50:34 e16973657156: Pull complete 22:50:35 db1c61fa0a46: Verifying Checksum 22:50:35 db1c61fa0a46: Download complete 22:50:36 fc693d55d65f: Download complete 22:50:48 fc693d55d65f: Pull complete 22:50:48 7e9fc2657dce: Pull complete 22:50:48 dda99020689f: Pull complete 22:50:55 db1c61fa0a46: Pull complete 22:50:58 891c053d2c06: Pull complete 22:50:58 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:50:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:50:58 ---> f96f9c87975a 22:50:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:50:59 ---> Running in b24cdc681faf 22:50:59 Removing intermediate container b24cdc681faf 22:50:59 ---> 0ac8bbcb5683 22:50:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:50:59 ---> Running in 6914d3d8f92f 22:51:00 Removing intermediate container 6914d3d8f92f 22:51:00 ---> cfe31221a11b 22:51:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:51:00 ---> Running in 4a79df929d48 22:51:00 Removing intermediate container 4a79df929d48 22:51:00 ---> 83f2f9875282 22:51:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:51:00 ---> Running in 2935d38c1cb3 22:51:00 Removing intermediate container 2935d38c1cb3 22:51:00 ---> 6c7f43ece447 22:51:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:00 ---> Running in aa7483005443 22:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:51:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:51:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:51:03 (2/4) Installing libedit (20210910.3.1-r0) 22:51:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:51:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:51:03 Executing busybox-1.35.0-r17.trigger 22:51:03 OK: 226 MiB in 55 packages 22:51:05 Removing intermediate container aa7483005443 22:51:05 ---> e76a181d877d 22:51:05 Step 8/12 : WORKDIR /device-rest-go 22:51:05 ---> Running in 01a3f02ad4af 22:51:05 Removing intermediate container 01a3f02ad4af 22:51:05 ---> d6aec20b959c 22:51:05 Step 9/12 : COPY go.mod vendor* ./ 22:51:06 ---> 7dbf73e37d8d 22:51:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:06 ---> Running in bdc01182c50f 22:52:29 Removing intermediate container bdc01182c50f 22:52:29 ---> 0d332f313830 22:52:29 Step 11/12 : COPY . . 22:52:29 ---> fa7a3b516523 22:52:29 Step 12/12 : RUN $MAKE 22:52:29 ---> Running in 8bf525cb0e92 22:52:29 noop 22:52:29 Removing intermediate container 8bf525cb0e92 22:52:29 ---> 9a0ae88b7bc5 22:52:29 Successfully built 9a0ae88b7bc5 22:52:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:29 + docker inspect -f . ci-base-image-arm64 22:52:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:30 prd-ubuntu20.04-docker-arm64-4c-16g-5012 does not seem to be running inside a container 22:52:30 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:52:31 $ docker top 2a4429a15128577cd761035dfcf161475ea90fc2c8f8b5c70c7f958913d840d9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:32 + go version 22:52:32 go version go1.18.7 linux/arm64 [Pipeline] } 22:52:32 $ docker stop --time=1 2a4429a15128577cd761035dfcf161475ea90fc2c8f8b5c70c7f958913d840d9 22:52:34 $ docker rm -f --volumes 2a4429a15128577cd761035dfcf161475ea90fc2c8f8b5c70c7f958913d840d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:35 + docker inspect -f . ci-base-image-arm64 22:52:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:35 prd-ubuntu20.04-docker-arm64-4c-16g-5012 does not seem to be running inside a container 22:52:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat 22:52:36 $ docker top 3d8467a9aae7324e05509fcf597f9e5c229b2b0b7a8618c72d9e79b4c6c0f864 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:37 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 22:52:38 + make test 22:52:38 go test ./... -coverprofile=coverage.out ./... 22:52:40 ? github.com/edgexfoundry/device-rest-go [no test files] 22:54:19 # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 22:54:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd 22:54:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate 22:54:19 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.21/internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete 22:54:21 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 22:54:21 make: *** [Makefile:29: unittest] Error 2 [Pipeline] } 22:54:21 $ docker stop --time=1 3d8467a9aae7324e05509fcf597f9e5c229b2b0b7a8618c72d9e79b4c6c0f864 22:54:24 $ docker rm -f --volumes 3d8467a9aae7324e05509fcf597f9e5c229b2b0b7a8618c72d9e79b4c6c0f864 [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] withEnv [Pipeline] { [Pipeline] sh 22:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:26 22:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:26 arm64: Pulling from edgex-lftools-log-publisher 22:54:26 8998bd30e6a1: Pulling fs layer 22:54:26 04944245beec: Pulling fs layer 22:54:26 699f458cf7ca: Pulling fs layer 22:54:26 765212b225bb: Pulling fs layer 22:54:26 f23df028b6ca: Pulling fs layer 22:54:26 d65c8cfc05b1: Pulling fs layer 22:54:26 2437ff75d9bd: Pulling fs layer 22:54:26 765212b225bb: Waiting 22:54:26 f23df028b6ca: Waiting 22:54:26 d65c8cfc05b1: Waiting 22:54:26 2437ff75d9bd: Waiting 22:54:26 04944245beec: Verifying Checksum 22:54:26 04944245beec: Download complete 22:54:26 765212b225bb: Download complete 22:54:27 f23df028b6ca: Download complete 22:54:27 d65c8cfc05b1: Verifying Checksum 22:54:27 d65c8cfc05b1: Download complete 22:54:27 699f458cf7ca: Verifying Checksum 22:54:27 699f458cf7ca: Download complete 22:54:27 8998bd30e6a1: Verifying Checksum 22:54:27 8998bd30e6a1: Download complete 22:54:31 2437ff75d9bd: Verifying Checksum 22:54:31 2437ff75d9bd: Download complete 22:54:33 8998bd30e6a1: Pull complete 22:54:34 04944245beec: Pull complete 22:54:36 699f458cf7ca: Pull complete 22:54:36 765212b225bb: Pull complete 22:54:36 f23df028b6ca: Pull complete 22:54:37 d65c8cfc05b1: Pull complete 22:54:55 2437ff75d9bd: Pull complete 22:54:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:55 prd-ubuntu20.04-docker-arm64-4c-16g-5012 does not seem to be running inside a container 22:54:55 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:54:58 $ docker top 6dd76414bc33e2a0b5f276fe56ab458bd91bfc0181100d690b12e868077cd974 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:58 ---> job-cost.sh 22:54:58 lf-activate-venv: SKIPPING 22:54:58 INFO: No Stack... 22:54:59 INFO: Retrieving Pricing Info for: v3-standard-4 22:55:00 INFO: Archiving Costs [Pipeline] sh 22:55:00 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:55:00 + cut -d, -f6 [Pipeline] lock 22:55:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] 22:55:01 Resource [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] did not exist. Created. 22:55:01 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:55:01 /w/workspace/device-rest-go/1@tmp/durable-e645535a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:55:02 + echo total: 0.10999999940395355 [Pipeline] stash 22:55:02 Warning: overwriting stash ‘stack-cost’ 22:55:03 Stashed 1 file(s) [Pipeline] } 22:55:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-248-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:55:03 $ docker stop --time=1 6dd76414bc33e2a0b5f276fe56ab458bd91bfc0181100d690b12e868077cd974 22:55:06 $ docker rm -f --volumes 6dd76414bc33e2a0b5f276fe56ab458bd91bfc0181100d690b12e868077cd974 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:55:07 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 22:55:09 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-248/archives ] 22:55:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-248/archives 22:55:09 total 16 22:55:09 drwxr-xr-x 3 root root 4096 Feb 7 22:48 . 22:55:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:48 .. 22:55:09 drwxr-xr-x 2 root root 4096 Feb 7 22:48 cost 22:55:09 -rw-r--r-- 1 root root 86 Feb 7 22:48 cost.csv 22:55:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-248/archives 22:55:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-248/archives 22:55:09 total 16 22:55:09 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:48 . 22:55:09 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:48 .. 22:55:09 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:48 cost 22:55:09 -rw-r--r-- 1 jenkins jenkins 86 Feb 7 22:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:55:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:10 ---> package-listing.sh 22:55:10 ++ facter osfamily 22:55:10 ++ tr '[:upper:]' '[:lower:]' 22:55:10 + OS_FAMILY=debian 22:55:10 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-248 22:55:10 + START_PACKAGES=/tmp/packages_start.txt 22:55:10 + END_PACKAGES=/tmp/packages_end.txt 22:55:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:10 + PACKAGES=/tmp/packages_start.txt 22:55:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-248 ']' 22:55:10 + PACKAGES=/tmp/packages_end.txt 22:55:10 + case "${OS_FAMILY}" in 22:55:10 + dpkg -l 22:55:10 + grep '^ii' 22:55:10 + '[' -f /tmp/packages_start.txt ']' 22:55:10 + '[' -f /tmp/packages_end.txt ']' 22:55:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-248 ']' 22:55:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-248/archives/ 22:55:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-248/archives/ [Pipeline] echo 22:55:10 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-248/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:55:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:11 prd-ubuntu20.04-docker-8c-8g-5006 does not seem to be running inside a container 22:55:11 $ 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-248/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-248 -v /w/workspace/gexfoundry_device-rest-go_PR-248:/w/workspace/gexfoundry_device-rest-go_PR-248:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-248@tmp:/w/workspace/gexfoundry_device-rest-go_PR-248@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 22:55:11 $ docker top 5bc1e7d91eb6a0bfe963f46115aa02b993b6d5ec791fabd92a015bbfc37517ca -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:12 + touch /tmp/pre-build-complete [Pipeline] sh 22:55:12 + mkdir -p /var/log/sysstat [Pipeline] sh 22:55:12 + ls /var/log/sa-host 22:55:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:13 provisioning config files... 22:55:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-248@tmp/config10032339405172267496tmp [Pipeline] { [Pipeline] echo 22:55:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:55:13 ---> create-netrc.sh [Pipeline] } 22:55:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> python-tools-install.sh [Pipeline] echo 22:55:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> sudo-logs.sh 22:55:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:55:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:55:14 ---> job-cost.sh 22:55:14 lf-activate-venv: SKIPPING 22:55:14 DEBUG: total: 0.2199999988079071 22:55:14 INFO: Retrieving Stack Cost... 22:55:15 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:15 INFO: Archiving Costs [Pipeline] echo 22:55:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:55:15 ---> logs-deploy.sh 22:55:15 lf-activate-venv: SKIPPING 22:55:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-248/1 22:55:15 INFO: archiving workspace using pattern(s): 22:55:16 Archives upload complete. 22:55:16 INFO: archiving logs to Nexus