lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e+ea2635875d50d8674d03123d64d8d0373faddc1b (7033a45b8fad14336dff999a82a7d217ce194e44) 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-ssh9369489624201532912.key Verifying host key using known hosts file > 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-ssh5158930936255212455.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14246388145384081191.key Verifying host key using known hosts file > 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 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-ssh725587003592538703.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16679267118071026961.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-120988’ Running on prd-ubuntu20.04-docker-8c-8g-120990 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e Merge succeeded, producing d3b7e01fe5f484d09df282b7606f34a288138b80 Checking out Revision d3b7e01fe5f484d09df282b7606f34a288138b80 (PR-222) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3b7e01fe5f484d09df282b7606f34a288138b80 # timeout=10 Commit message: "Merge commit 'ea2635875d50d8674d03123d64d8d0373faddc1b' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:22:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:22:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:22:08 ========================================================= 21:22:08 EdgeX Global Pipelines Version Info 21:22:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:22:08 ------------------- 21:22:08 stable info: 21:22:08 ------------------- 21:22:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:22:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:22:08 Message: update stable to v1.0.244 > git rev-list --no-walk 3e7266363a38cd709a629ca1e1ab30ceeac22e5f # timeout=10 21:22:09 ------------------- 21:22:09 experimental info: 21:22:09 ------------------- 21:22:09 Commited By: **** collab-it+edgex@linuxfoundation.org 21:22:09 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:22:09 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:22:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3b7e01 [Pipeline] echo 21:22:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:10 provisioning config files... 21:22:10 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config1156192781532434796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:10 ---> docker-login.sh 21:22:10 nexus3.edgexfoundry.org:10001 21:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:10 Configure a credential helper to remove this warning. See 21:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:10 21:22:10 Login Succeeded 21:22:10 nexus3.edgexfoundry.org:10002 21:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:10 Configure a credential helper to remove this warning. See 21:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:10 21:22:10 Login Succeeded 21:22:10 nexus3.edgexfoundry.org:10003 21:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:11 Configure a credential helper to remove this warning. See 21:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:11 21:22:11 Login Succeeded 21:22:11 nexus3.edgexfoundry.org:10004 21:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:11 Configure a credential helper to remove this warning. See 21:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:11 21:22:11 Login Succeeded 21:22:11 docker.io 21:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:11 Configure a credential helper to remove this warning. See 21:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:11 21:22:11 Login Succeeded 21:22:11 ---> docker-login.sh ends [Pipeline] } 21:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:22:11 + git rev-list -1 --merges d3b7e01fe5f484d09df282b7606f34a288138b80~1..d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo 21:22:11 -----------> git rev-list -1 --merges d3b7e01fe5f484d09df282b7606f34a288138b80~1..d3b7e01fe5f484d09df282b7606f34a288138b80 d3b7e01fe5f484d09df282b7606f34a288138b80 21:22:11 d3b7e01fe5f484d09df282b7606f34a288138b80 [false] [Pipeline] sh 21:22:12 + git log --format=format:%s -1 d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo 21:22:12 ========================================================= 21:22:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:22:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:12 + git log --format=format:%s -1 d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo 21:22:12 [semverPrep] GIT_COMMIT: d3b7e01fe5f484d09df282b7606f34a288138b80, Commit Message: Merge commit 'ea2635875d50d8674d03123d64d8d0373faddc1b' into HEAD [Pipeline] echo 21:22:12 [semverPrep] This is not a build commit. [Pipeline] sh 21:22:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:12 + grep -v github /etc/ssh/ssh_known_hosts 21:22:12 + [ -e /tmp/ssh_known_hosts ] 21:22:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:22:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:22:12 + sudo tee -a /etc/ssh/ssh_known_hosts 21:22:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:13 21:22:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:13 0.1.4: Pulling from edgex-devops/py-git-semver 21:22:13 b85a868b505f: Pulling fs layer 21:22:13 e2be974225ed: Pulling fs layer 21:22:13 339a4e72a1f5: Pulling fs layer 21:22:13 988bab9f4d93: Pulling fs layer 21:22:13 1469e6f7b9e6: Pulling fs layer 21:22:13 eaf3925da568: Pulling fs layer 21:22:13 bab4dde63d76: Pulling fs layer 21:22:13 bde34c3a00c8: Pulling fs layer 21:22:13 b352a97aabf1: Pulling fs layer 21:22:13 4872d77fe225: Pulling fs layer 21:22:13 5851b861e8e6: Pulling fs layer 21:22:13 eaf3925da568: Waiting 21:22:13 bab4dde63d76: Waiting 21:22:13 bde34c3a00c8: Waiting 21:22:13 4872d77fe225: Waiting 21:22:13 5851b861e8e6: Waiting 21:22:13 b352a97aabf1: Waiting 21:22:13 988bab9f4d93: Waiting 21:22:13 1469e6f7b9e6: Waiting 21:22:13 e2be974225ed: Verifying Checksum 21:22:13 e2be974225ed: Download complete 21:22:13 988bab9f4d93: Download complete 21:22:13 1469e6f7b9e6: Verifying Checksum 21:22:13 1469e6f7b9e6: Download complete 21:22:13 339a4e72a1f5: Verifying Checksum 21:22:13 339a4e72a1f5: Download complete 21:22:13 eaf3925da568: Verifying Checksum 21:22:13 eaf3925da568: Download complete 21:22:13 bde34c3a00c8: Verifying Checksum 21:22:13 bde34c3a00c8: Download complete 21:22:13 b352a97aabf1: Verifying Checksum 21:22:13 b352a97aabf1: Download complete 21:22:13 4872d77fe225: Verifying Checksum 21:22:13 5851b861e8e6: Verifying Checksum 21:22:13 5851b861e8e6: Download complete 21:22:13 b85a868b505f: Download complete 21:22:14 bab4dde63d76: Verifying Checksum 21:22:14 bab4dde63d76: Download complete 21:22:15 b85a868b505f: Pull complete 21:22:15 e2be974225ed: Pull complete 21:22:15 339a4e72a1f5: Pull complete 21:22:15 988bab9f4d93: Pull complete 21:22:16 1469e6f7b9e6: Pull complete 21:22:16 eaf3925da568: Pull complete 21:22:18 bab4dde63d76: Pull complete 21:22:18 bde34c3a00c8: Pull complete 21:22:18 b352a97aabf1: Pull complete 21:22:18 4872d77fe225: Pull complete 21:22:18 5851b861e8e6: Pull complete 21:22:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:18 prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container 21:22:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:20 $ docker top d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e -eo pid,comm 21:22:20 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). 21:22:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:20 [ssh-agent] Looking for ssh-agent implementation... 21:22:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:21 $ docker exec d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent 21:22:21 SSH_AUTH_SOCK=/tmp/ssh-6WOIwSmQL7HU/agent.33 21:22:21 SSH_AGENT_PID=39 21:22:21 Running ssh-add (command line suppressed) 21:22:21 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_482110295493234499.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_482110295493234499.key) 21:22:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:21 + git tag --points-at HEAD [Pipeline] } 21:22:21 $ docker exec --env ******** --env ******** d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent -k 21:22:21 unset SSH_AUTH_SOCK; 21:22:21 unset SSH_AGENT_PID; 21:22:21 echo Agent pid 39 killed; 21:22:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:22:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:21 [ssh-agent] Looking for ssh-agent implementation... 21:22:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:21 $ docker exec d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent 21:22:22 SSH_AUTH_SOCK=/tmp/ssh-akfdjbTrLVDP/agent.71 21:22:22 SSH_AGENT_PID=77 21:22:22 Running ssh-add (command line suppressed) 21:22:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_7984874189050288963.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_7984874189050288963.key) 21:22:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:22 + git semver init 21:22:22 2022-12-12 21:22:22,680 [run_init] DEBUG init version:0.0.0 force:False 21:22:22 2022-12-12 21:22:22,681 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver 21:22:22 2022-12-12 21:22:22,681 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver 21:22:22 2022-12-12 21:22:22,681 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) 21:22:24 2022-12-12 21:22:23,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude 21:22:24 2022-12-12 21:22:23,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False 21:22:24 2022-12-12 21:22:23,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 21:22:24 2022-12-12 21:22:23,740 [execute] INFO git cat-file --batch-check 21:22:24 2022-12-12 21:22:23,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 21:22:24 2022-12-12 21:22:23,746 [execute] INFO git cat-file --batch 21:22:24 2022-12-12 21:22:23,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) 21:22:24 2022-12-12 21:22:23,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 21:22:24 0.0.0 [Pipeline] } 21:22:24 $ docker exec --env ******** --env ******** d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent -k 21:22:24 unset SSH_AUTH_SOCK; 21:22:24 unset SSH_AGENT_PID; 21:22:24 echo Agent pid 77 killed; 21:22:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:24 + git semver [Pipeline] } 21:22:24 $ docker stop --time=1 d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e 21:22:26 $ docker rm -f d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e [Pipeline] // withDockerContainer [Pipeline] sh 21:22:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:22:26 Stashed 1 file(s) [Pipeline] echo 21:22:26 [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 21:22:26 provisioning config files... 21:22:26 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config6855294814659340824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:27 ---> docker-login.sh 21:22:27 nexus3.edgexfoundry.org:10001 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 nexus3.edgexfoundry.org:10002 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 nexus3.edgexfoundry.org:10003 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 nexus3.edgexfoundry.org:10004 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 docker.io 21:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:27 Configure a credential helper to remove this warning. See 21:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:27 21:22:27 Login Succeeded 21:22:27 ---> docker-login.sh ends [Pipeline] } 21:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:22:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:27 ========================================================= 21:22:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:22:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:27 + 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 . 21:22:27 Sending build context to Docker daemon 10.77MB 21:22:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:22:27 Step 2/12 : FROM ${BASE} AS builder 21:22:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:22:27 213ec9aee27d: Pulling fs layer 21:22:27 4583459ba037: Pulling fs layer 21:22:27 93c1e223e6f2: Pulling fs layer 21:22:27 53926ce57604: Pulling fs layer 21:22:27 21b2b0c7a3f4: Pulling fs layer 21:22:27 21b2b0c7a3f4: Waiting 21:22:27 22ff95d597cd: Pulling fs layer 21:22:27 12d6caf4c0d1: Pulling fs layer 21:22:27 22ff95d597cd: Waiting 21:22:27 96b7cbca73a9: Pulling fs layer 21:22:27 53926ce57604: Waiting 21:22:27 12d6caf4c0d1: Waiting 21:22:27 a7acece74701: Pulling fs layer 21:22:27 96b7cbca73a9: Waiting 21:22:27 a7acece74701: Waiting 21:22:27 93c1e223e6f2: Verifying Checksum 21:22:27 93c1e223e6f2: Download complete 21:22:28 4583459ba037: Download complete 21:22:28 21b2b0c7a3f4: Download complete 21:22:28 22ff95d597cd: Verifying Checksum 21:22:28 213ec9aee27d: Verifying Checksum 21:22:28 213ec9aee27d: Download complete 21:22:28 12d6caf4c0d1: Verifying Checksum 21:22:28 12d6caf4c0d1: Download complete 21:22:28 213ec9aee27d: Pull complete 21:22:28 4583459ba037: Pull complete 21:22:28 93c1e223e6f2: Pull complete 21:22:28 a7acece74701: Verifying Checksum 21:22:28 a7acece74701: Download complete 21:22:29 96b7cbca73a9: Verifying Checksum 21:22:29 96b7cbca73a9: Download complete 21:22:29 53926ce57604: Verifying Checksum 21:22:29 53926ce57604: Download complete 21:22:33 53926ce57604: Pull complete 21:22:33 21b2b0c7a3f4: Pull complete 21:22:33 22ff95d597cd: Pull complete 21:22:33 12d6caf4c0d1: Pull complete 21:22:35 96b7cbca73a9: Pull complete 21:22:36 a7acece74701: Pull complete 21:22:36 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:22:36 ---> db6d94c90886 21:22:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:22:39 ---> Running in cab009468115 21:22:39 Removing intermediate container cab009468115 21:22:39 ---> 1ce09a24fc0e 21:22:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:39 ---> Running in 21a09e184853 21:22:39 Removing intermediate container 21a09e184853 21:22:39 ---> c0c5b0ce239a 21:22:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:22:39 ---> Running in ff0504c00bee 21:22:39 Removing intermediate container ff0504c00bee 21:22:39 ---> 1f212e9d744f 21:22:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:22:39 ---> Running in aa924f0471a2 21:22:39 Removing intermediate container aa924f0471a2 21:22:39 ---> 274ae1421d76 21:22:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:39 ---> Running in 63ca61f2c5bf 21:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:22:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:22:40 (2/4) Installing libedit (20210910.3.1-r0) 21:22:40 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:22:40 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:22:40 Executing busybox-1.35.0-r17.trigger 21:22:40 OK: 216 MiB in 55 packages 21:22:40 Removing intermediate container 63ca61f2c5bf 21:22:40 ---> 8c3719c746fd 21:22:40 Step 8/12 : WORKDIR /device-rest-go 21:22:40 ---> Running in ae16707264f8 21:22:40 Removing intermediate container ae16707264f8 21:22:40 ---> 678c7aa38990 21:22:40 Step 9/12 : COPY go.mod vendor* ./ 21:22:40 ---> b4ca6c6dfe66 21:22:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:40 ---> Running in 6a7a8e8c83af 21:22:41 Still waiting to schedule task 21:22:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-120989’ 21:23:02 Removing intermediate container 6a7a8e8c83af 21:23:02 ---> 7ea5e9f7583b 21:23:02 Step 11/12 : COPY . . 21:23:02 ---> 65148a7f03d0 21:23:02 Step 12/12 : RUN $MAKE 21:23:02 ---> Running in 7edbee65e2ea 21:23:02 noop 21:23:02 Removing intermediate container 7edbee65e2ea 21:23:02 ---> 9641ba97214a 21:23:02 Successfully built 9641ba97214a 21:23:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:03 + docker inspect -f . ci-base-image-x86_64 21:23:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:03 prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container 21:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:23:03 $ docker top 821983f084ce9b34773afe76fa138becbbc1b2a95edda3803039369b7c880870 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:03 + go version 21:23:03 go version go1.18.7 linux/amd64 [Pipeline] } 21:23:03 $ docker stop --time=1 821983f084ce9b34773afe76fa138becbbc1b2a95edda3803039369b7c880870 21:23:05 $ docker rm -f 821983f084ce9b34773afe76fa138becbbc1b2a95edda3803039369b7c880870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:05 + docker inspect -f . ci-base-image-x86_64 21:23:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:05 prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container 21:23:05 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:23:06 $ docker top 076facfad75457c130bf61180f0d930ea6084527bb11edc3a86687d379a317fa -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh 21:23:06 + make test 21:23:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:23:06 go: updates to go.mod needed; to update it: 21:23:06 go mod tidy 21:23:06 make: *** [Makefile:39: unittest] Error 1 [Pipeline] } 21:23:06 $ docker stop --time=1 076facfad75457c130bf61180f0d930ea6084527bb11edc3a86687d379a317fa 21:23:08 $ docker rm -f 076facfad75457c130bf61180f0d930ea6084527bb11edc3a86687d379a317fa [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 21:23:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:08 21:23:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:08 latest: Pulling from edgex-lftools-log-publisher 21:23:08 5eb5b503b376: Pulling fs layer 21:23:08 5c69ac0246d0: Pulling fs layer 21:23:08 ec43610c2a17: Pulling fs layer 21:23:08 3a2ae6a8a46f: Pulling fs layer 21:23:08 33b1e0a273af: Pulling fs layer 21:23:08 5d3b04190fa2: Pulling fs layer 21:23:08 2f39f015ded8: Pulling fs layer 21:23:08 3a2ae6a8a46f: Waiting 21:23:08 5d3b04190fa2: Waiting 21:23:08 5c69ac0246d0: Verifying Checksum 21:23:08 5c69ac0246d0: Download complete 21:23:08 3a2ae6a8a46f: Download complete 21:23:08 ec43610c2a17: Download complete 21:23:08 33b1e0a273af: Verifying Checksum 21:23:08 33b1e0a273af: Download complete 21:23:09 5d3b04190fa2: Verifying Checksum 21:23:09 5d3b04190fa2: Download complete 21:23:09 5eb5b503b376: Download complete 21:23:09 2f39f015ded8: Download complete 21:23:10 5eb5b503b376: Pull complete 21:23:10 5c69ac0246d0: Pull complete 21:23:11 ec43610c2a17: Pull complete 21:23:11 3a2ae6a8a46f: Pull complete 21:23:11 33b1e0a273af: Pull complete 21:23:11 5d3b04190fa2: Pull complete 21:23:16 2f39f015ded8: Pull complete 21:23:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:16 prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container 21:23:16 $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:23:19 $ docker top e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:19 ---> job-cost.sh 21:23:19 lf-activate-venv: SKIPPING 21:23:19 INFO: No Stack... 21:23:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:20 INFO: Archiving Costs [Pipeline] sh 21:23:20 + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv 21:23:20 + cut -d, -f6 [Pipeline] lock 21:23:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] 21:23:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] did not exist. Created. 21:23:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:20 + echo total: 0.2199999988079071 [Pipeline] stash 21:23:20 Stashed 1 file(s) [Pipeline] } 21:23:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:20 $ docker stop --time=1 e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 21:23:22 $ docker rm -f e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:22 Failed in branch amd64 21:26:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-120991 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws 21:26:01 Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout 21:26:01 The recommended git tool is: git 21:26:08 using credential edgex-jenkins-ssh 21:26:08 Cloning the remote Git repository 21:26:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:26:08 > git init /w/workspace/device-rest-go/11 # timeout=10 21:26:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:26:08 > git --version # timeout=10 21:26:08 > git --version # 'git version 2.25.1' 21:26:08 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:08 Verifying host key using known hosts file 21:26:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:26:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:26:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:26:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:26:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:26:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:11 Verifying host key using known hosts file 21:26:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:26:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:26:12 Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e 21:26:12 Merge succeeded, producing eae9da2607cc3f513588ab3317042e4d9b0aed54 21:26:12 Checking out Revision eae9da2607cc3f513588ab3317042e4d9b0aed54 (PR-222) 21:26:12 > git config core.sparsecheckout # timeout=10 21:26:12 > git checkout -f c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e # timeout=10 21:26:12 > git remote # timeout=10 21:26:12 > git config --get remote.origin.url # timeout=10 21:26:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:26:12 Verifying host key using known hosts file 21:26:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:26:12 > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 21:26:12 > git rev-parse HEAD^{commit} # timeout=10 21:26:12 > git config core.sparsecheckout # timeout=10 21:26:12 > git checkout -f eae9da2607cc3f513588ab3317042e4d9b0aed54 # timeout=10 21:26:16 Commit message: "Merge commit 'ea2635875d50d8674d03123d64d8d0373faddc1b' into HEAD" 21:26:16 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:16 > git rev-list --no-walk 3e7266363a38cd709a629ca1e1ab30ceeac22e5f # timeout=10 21:26:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:26:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:26:17 Dload Upload Total Spent Left Speed 21:26:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh 21:26:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:26:18 + sudo tee /etc/docker/daemon.new 21:26:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:26:18 { 21:26:18 "registry-mirrors": [ 21:26:18 "https://nexus3.edgexfoundry.org:10001" 21:26:18 ], 21:26:18 "bip": "10.250.0.254/24", 21:26:18 "hosts": [ 21:26:18 "tcp://0.0.0.0:5555", 21:26:18 "unix:///var/run/docker.sock" 21:26:18 ], 21:26:18 "mtu": 1458, 21:26:18 "selinux-enabled": true, 21:26:18 "seccomp-profile": "/etc/docker/seccomp.json" 21:26:18 } [Pipeline] sh 21:26:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:26:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:37 provisioning config files... 21:26:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config11623145985733903551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:37 ---> docker-login.sh 21:26:37 nexus3.edgexfoundry.org:10001 21:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:38 Configure a credential helper to remove this warning. See 21:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:38 21:26:38 Login Succeeded 21:26:38 nexus3.edgexfoundry.org:10002 21:26:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:38 Configure a credential helper to remove this warning. See 21:26:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:38 21:26:38 Login Succeeded 21:26:38 nexus3.edgexfoundry.org:10003 21:26:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:39 Configure a credential helper to remove this warning. See 21:26:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:39 21:26:39 Login Succeeded 21:26:39 nexus3.edgexfoundry.org:10004 21:26:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:39 Configure a credential helper to remove this warning. See 21:26:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:39 21:26:39 Login Succeeded 21:26:39 docker.io 21:26:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:40 Configure a credential helper to remove this warning. See 21:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:40 21:26:40 Login Succeeded 21:26:40 ---> docker-login.sh ends [Pipeline] } 21:26:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:40 ========================================================= 21:26:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:26:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:40 + 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 . 21:26:40 Sending build context to Docker daemon 129.5kB 21:26:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:26:41 Step 2/12 : FROM ${BASE} AS builder 21:26:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:26:41 9b18e9b68314: Pulling fs layer 21:26:41 35d82f9e3411: Pulling fs layer 21:26:41 e16973657156: Pulling fs layer 21:26:41 fc693d55d65f: Pulling fs layer 21:26:41 7e9fc2657dce: Pulling fs layer 21:26:41 dda99020689f: Pulling fs layer 21:26:41 db1c61fa0a46: Pulling fs layer 21:26:41 891c053d2c06: Pulling fs layer 21:26:41 dda99020689f: Waiting 21:26:41 db1c61fa0a46: Waiting 21:26:41 fc693d55d65f: Waiting 21:26:41 7e9fc2657dce: Waiting 21:26:41 891c053d2c06: Waiting 21:26:41 e16973657156: Verifying Checksum 21:26:41 e16973657156: Download complete 21:26:41 35d82f9e3411: Download complete 21:26:41 7e9fc2657dce: Verifying Checksum 21:26:41 7e9fc2657dce: Download complete 21:26:41 dda99020689f: Verifying Checksum 21:26:41 dda99020689f: Download complete 21:26:41 9b18e9b68314: Verifying Checksum 21:26:41 9b18e9b68314: Download complete 21:26:42 9b18e9b68314: Pull complete 21:26:42 891c053d2c06: Verifying Checksum 21:26:42 891c053d2c06: Download complete 21:26:42 35d82f9e3411: Pull complete 21:26:43 e16973657156: Pull complete 21:26:43 db1c61fa0a46: Verifying Checksum 21:26:43 db1c61fa0a46: Download complete 21:26:44 fc693d55d65f: Verifying Checksum 21:26:44 fc693d55d65f: Download complete 21:26:56 fc693d55d65f: Pull complete 21:26:56 7e9fc2657dce: Pull complete 21:26:56 dda99020689f: Pull complete 21:27:02 db1c61fa0a46: Pull complete 21:27:04 891c053d2c06: Pull complete 21:27:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:27:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:27:04 ---> f96f9c87975a 21:27:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:27:06 ---> Running in 272e62120dbd 21:27:06 Removing intermediate container 272e62120dbd 21:27:06 ---> df59aa59dbd1 21:27:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:27:06 ---> Running in d6c841b72e2b 21:27:06 Removing intermediate container d6c841b72e2b 21:27:06 ---> 1a2df3ea572e 21:27:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:27:06 ---> Running in be5347f0ec06 21:27:07 Removing intermediate container be5347f0ec06 21:27:07 ---> 1b3af5a7711d 21:27:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:27:07 ---> Running in 1235a042866d 21:27:07 Removing intermediate container 1235a042866d 21:27:07 ---> a3d4576a4196 21:27:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:07 ---> Running in f682a52d6e5c 21:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:27:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:27:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:27:09 (2/4) Installing libedit (20210910.3.1-r0) 21:27:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:27:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:27:09 Executing busybox-1.35.0-r17.trigger 21:27:10 OK: 226 MiB in 55 packages 21:27:11 Removing intermediate container f682a52d6e5c 21:27:11 ---> 746ab84854f9 21:27:11 Step 8/12 : WORKDIR /device-rest-go 21:27:11 ---> Running in e9ef591844f9 21:27:11 Removing intermediate container e9ef591844f9 21:27:11 ---> 3eed6850dd04 21:27:11 Step 9/12 : COPY go.mod vendor* ./ 21:27:11 ---> 8334a34cc413 21:27:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:11 ---> Running in 731e51d7a754 21:28:08 Removing intermediate container 731e51d7a754 21:28:08 ---> 228c45bd60e1 21:28:08 Step 11/12 : COPY . . 21:28:08 ---> 544a3716e18c 21:28:08 Step 12/12 : RUN $MAKE 21:28:08 ---> Running in b4a5228c547f 21:28:08 noop 21:28:08 Removing intermediate container b4a5228c547f 21:28:08 ---> e4dc615976d2 21:28:08 Successfully built e4dc615976d2 21:28:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:08 + docker inspect -f . ci-base-image-arm64 21:28:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:08 prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container 21:28:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:10 $ docker top b09dd98359bdc8b8f594821c9d65fe55587c6bf78101acc893ba49b77b0d9491 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:11 + go version 21:28:11 go version go1.18.7 linux/arm64 [Pipeline] } 21:28:11 $ docker stop --time=1 b09dd98359bdc8b8f594821c9d65fe55587c6bf78101acc893ba49b77b0d9491 21:28:12 $ docker rm -f b09dd98359bdc8b8f594821c9d65fe55587c6bf78101acc893ba49b77b0d9491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:13 + docker inspect -f . ci-base-image-arm64 21:28:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:13 prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container 21:28:13 $ 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/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:28:14 $ docker top 7e1c955c3b9ed6ec3216384eccb587bf9dadffb657601ac1891081601ce86930 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:15 + git config --global --add safe.directory /w/workspace/device-rest-go/11 [Pipeline] fileExists [Pipeline] sh 21:28:15 + make test 21:28:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:28:16 go: updates to go.mod needed; to update it: 21:28:16 go mod tidy 21:28:16 make: *** [Makefile:39: unittest] Error 1 [Pipeline] } 21:28:16 $ docker stop --time=1 7e1c955c3b9ed6ec3216384eccb587bf9dadffb657601ac1891081601ce86930 21:28:17 $ docker rm -f 7e1c955c3b9ed6ec3216384eccb587bf9dadffb657601ac1891081601ce86930 [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 21:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:18 21:28:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:18 arm64: Pulling from edgex-lftools-log-publisher 21:28:18 8998bd30e6a1: Pulling fs layer 21:28:18 04944245beec: Pulling fs layer 21:28:18 699f458cf7ca: Pulling fs layer 21:28:18 765212b225bb: Pulling fs layer 21:28:18 f23df028b6ca: Pulling fs layer 21:28:18 d65c8cfc05b1: Pulling fs layer 21:28:18 2437ff75d9bd: Pulling fs layer 21:28:18 f23df028b6ca: Waiting 21:28:18 765212b225bb: Waiting 21:28:18 d65c8cfc05b1: Waiting 21:28:18 2437ff75d9bd: Waiting 21:28:18 04944245beec: Verifying Checksum 21:28:18 04944245beec: Download complete 21:28:18 765212b225bb: Verifying Checksum 21:28:18 765212b225bb: Download complete 21:28:18 f23df028b6ca: Download complete 21:28:18 d65c8cfc05b1: Verifying Checksum 21:28:18 d65c8cfc05b1: Download complete 21:28:19 699f458cf7ca: Verifying Checksum 21:28:19 699f458cf7ca: Download complete 21:28:19 8998bd30e6a1: Verifying Checksum 21:28:22 2437ff75d9bd: Verifying Checksum 21:28:22 2437ff75d9bd: Download complete 21:28:24 8998bd30e6a1: Pull complete 21:28:24 04944245beec: Pull complete 21:28:26 699f458cf7ca: Pull complete 21:28:26 765212b225bb: Pull complete 21:28:27 f23df028b6ca: Pull complete 21:28:27 d65c8cfc05b1: Pull complete 21:28:42 2437ff75d9bd: Pull complete 21:28:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:28:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:42 prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container 21:28:42 $ 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/11 -v /w/workspace/device-rest-go/11:/w/workspace/device-rest-go/11:rw,z -v /w/workspace/device-rest-go/11@tmp:/w/workspace/device-rest-go/11@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:28:44 $ docker top 237fe0fe373976866134528e443c47447425f3068da71cc9c31a3a450fde5b47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:45 ---> job-cost.sh 21:28:45 lf-activate-venv: SKIPPING 21:28:45 INFO: No Stack... 21:28:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:28:46 INFO: Archiving Costs [Pipeline] sh 21:28:47 + cat /w/workspace/device-rest-go/11/archives/cost.csv 21:28:47 + cut -d, -f6 [Pipeline] lock 21:28:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] 21:28:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] did not exist. Created. 21:28:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:47 /w/workspace/device-rest-go/11@tmp/durable-1f902086/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:28:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:28:48 Warning: overwriting stash ‘stack-cost’ 21:28:48 Stashed 1 file(s) [Pipeline] } 21:28:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:48 $ docker stop --time=1 237fe0fe373976866134528e443c47447425f3068da71cc9c31a3a450fde5b47 21:28:50 $ docker rm -f 237fe0fe373976866134528e443c47447425f3068da71cc9c31a3a450fde5b47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:28:50 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 21:28:51 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] 21:28:51 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 21:28:51 total 16 21:28:51 drwxr-xr-x 3 root root 4096 Dec 12 21:23 . 21:28:51 drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 21:23 .. 21:28:51 drwxr-xr-x 2 root root 4096 Dec 12 21:23 cost 21:28:51 -rw-r--r-- 1 root root 87 Dec 12 21:23 cost.csv 21:28:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives 21:28:51 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives 21:28:51 total 16 21:28:51 drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 21:23 . 21:28:51 drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 21:23 .. 21:28:51 drwxr-xr-x 2 jenkins jenkins 4096 Dec 12 21:23 cost 21:28:51 -rw-r--r-- 1 jenkins jenkins 87 Dec 12 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:52 ---> package-listing.sh 21:28:52 ++ facter osfamily 21:28:52 ++ tr '[:upper:]' '[:lower:]' 21:28:52 + OS_FAMILY=debian 21:28:52 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 21:28:52 + START_PACKAGES=/tmp/packages_start.txt 21:28:52 + END_PACKAGES=/tmp/packages_end.txt 21:28:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:52 + PACKAGES=/tmp/packages_start.txt 21:28:52 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 21:28:52 + PACKAGES=/tmp/packages_end.txt 21:28:52 + case "${OS_FAMILY}" in 21:28:52 + dpkg -l 21:28:52 + grep '^ii' 21:28:52 + '[' -f /tmp/packages_start.txt ']' 21:28:52 + '[' -f /tmp/packages_end.txt ']' 21:28:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:52 + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' 21:28:52 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ 21:28:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo 21:28:52 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:53 prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container 21:28:53 $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:53 $ docker top 97d2f4192a83aaf78509da7ea6d43ae60572c987c9b82081ece7568cd8cdbb31 -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:53 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:53 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:54 + ls /var/log/sa-host 21:28:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:54 provisioning config files... 21:28:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config598946045387871221tmp [Pipeline] { [Pipeline] echo 21:28:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:54 ---> create-netrc.sh [Pipeline] } 21:28:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:54 ---> python-tools-install.sh [Pipeline] echo 21:28:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:55 ---> sudo-logs.sh 21:28:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:55 ---> job-cost.sh 21:28:55 lf-activate-venv: SKIPPING 21:28:55 DEBUG: total: 0.2199999988079071 21:28:55 INFO: Retrieving Stack Cost... 21:28:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:56 INFO: Archiving Costs [Pipeline] echo 21:28:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:56 ---> logs-deploy.sh 21:28:56 lf-activate-venv: SKIPPING 21:28:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/11 21:28:56 INFO: archiving workspace using pattern(s): 21:28:57 Archives upload complete. 21:28:57 INFO: archiving logs to Nexus