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 [2022-12-12T21:22:08.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-12T21:22:08.284Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-12T21:22:08.296Z] ========================================================= [2022-12-12T21:22:08.296Z] EdgeX Global Pipelines Version Info [2022-12-12T21:22:08.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:22:08.991Z] ------------------- [2022-12-12T21:22:08.991Z] stable info: [2022-12-12T21:22:08.991Z] ------------------- [2022-12-12T21:22:08.991Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-12T21:22:08.991Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-12T21:22:08.991Z] Message: update stable to v1.0.244 > git rev-list --no-walk 3e7266363a38cd709a629ca1e1ab30ceeac22e5f # timeout=10 [2022-12-12T21:22:09.565Z] ------------------- [2022-12-12T21:22:09.565Z] experimental info: [2022-12-12T21:22:09.565Z] ------------------- [2022-12-12T21:22:09.565Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-12T21:22:09.565Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-12T21:22:09.565Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-12T21:22:09.717Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-12-12T21:22:09.730Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-12-12T21:22:09.742Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-12T21:22:09.756Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-12T21:22:09.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-12T21:22:09.783Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-12T21:22:09.793Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-12T21:22:09.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-12T21:22:09.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-12T21:22:09.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-12T21:22:09.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-12T21:22:09.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-12-12T21:22:09.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-12T21:22:09.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-12T21:22:09.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-12T21:22:09.911Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-12T21:22:09.925Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-12T21:22:09.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-12T21:22:09.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-12T21:22:09.969Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-12T21:22:09.982Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-12-12T21:22:09.993Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-12-12T21:22:10.008Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-12T21:22:10.024Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-12T21:22:10.041Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-12T21:22:10.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-12T21:22:10.065Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-12T21:22:10.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-12-12T21:22:10.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-12-12T21:22:10.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-12-12T21:22:10.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo [2022-12-12T21:22:10.123Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3b7e01 [Pipeline] echo [2022-12-12T21:22:10.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-12T21:22:10.172Z] provisioning config files... [2022-12-12T21:22:10.187Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config1156192781532434796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:22:10.489Z] ---> docker-login.sh [2022-12-12T21:22:10.489Z] nexus3.edgexfoundry.org:10001 [2022-12-12T21:22:10.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:10.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:10.748Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:10.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:10.748Z] [2022-12-12T21:22:10.748Z] Login Succeeded [2022-12-12T21:22:10.748Z] nexus3.edgexfoundry.org:10002 [2022-12-12T21:22:10.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:10.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:10.748Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:10.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:10.748Z] [2022-12-12T21:22:10.748Z] Login Succeeded [2022-12-12T21:22:10.748Z] nexus3.edgexfoundry.org:10003 [2022-12-12T21:22:11.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:11.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:11.006Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:11.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:11.006Z] [2022-12-12T21:22:11.006Z] Login Succeeded [2022-12-12T21:22:11.006Z] nexus3.edgexfoundry.org:10004 [2022-12-12T21:22:11.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:11.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:11.006Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:11.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:11.006Z] [2022-12-12T21:22:11.006Z] Login Succeeded [2022-12-12T21:22:11.006Z] docker.io [2022-12-12T21:22:11.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:11.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:11.528Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:11.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:11.528Z] [2022-12-12T21:22:11.528Z] Login Succeeded [2022-12-12T21:22:11.528Z] ---> docker-login.sh ends [Pipeline] } [2022-12-12T21:22:11.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-12T21:22:11.901Z] + git rev-list -1 --merges d3b7e01fe5f484d09df282b7606f34a288138b80~1..d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo [2022-12-12T21:22:11.934Z] -----------> git rev-list -1 --merges d3b7e01fe5f484d09df282b7606f34a288138b80~1..d3b7e01fe5f484d09df282b7606f34a288138b80 d3b7e01fe5f484d09df282b7606f34a288138b80 [2022-12-12T21:22:11.934Z] d3b7e01fe5f484d09df282b7606f34a288138b80 [false] [Pipeline] sh [2022-12-12T21:22:12.222Z] + git log --format=format:%s -1 d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo [2022-12-12T21:22:12.237Z] ========================================================= [2022-12-12T21:22:12.237Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-12T21:22:12.237Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-12T21:22:12.618Z] + git log --format=format:%s -1 d3b7e01fe5f484d09df282b7606f34a288138b80 [Pipeline] echo [2022-12-12T21:22:12.630Z] [semverPrep] GIT_COMMIT: d3b7e01fe5f484d09df282b7606f34a288138b80, Commit Message: Merge commit 'ea2635875d50d8674d03123d64d8d0373faddc1b' into HEAD [Pipeline] echo [2022-12-12T21:22:12.639Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-12T21:22:12.980Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-12T21:22:12.980Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-12T21:22:12.980Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-12T21:22:12.980Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-12T21:22:12.980Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-12T21:22:12.980Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-12T21:22:12.980Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:22:13.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-12T21:22:13.332Z] [2022-12-12T21:22:13.332Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:22:13.633Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-12T21:22:13.634Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-12T21:22:13.634Z] b85a868b505f: Pulling fs layer [2022-12-12T21:22:13.634Z] e2be974225ed: Pulling fs layer [2022-12-12T21:22:13.634Z] 339a4e72a1f5: Pulling fs layer [2022-12-12T21:22:13.634Z] 988bab9f4d93: Pulling fs layer [2022-12-12T21:22:13.634Z] 1469e6f7b9e6: Pulling fs layer [2022-12-12T21:22:13.634Z] eaf3925da568: Pulling fs layer [2022-12-12T21:22:13.634Z] bab4dde63d76: Pulling fs layer [2022-12-12T21:22:13.634Z] bde34c3a00c8: Pulling fs layer [2022-12-12T21:22:13.634Z] b352a97aabf1: Pulling fs layer [2022-12-12T21:22:13.634Z] 4872d77fe225: Pulling fs layer [2022-12-12T21:22:13.634Z] 5851b861e8e6: Pulling fs layer [2022-12-12T21:22:13.634Z] eaf3925da568: Waiting [2022-12-12T21:22:13.634Z] bab4dde63d76: Waiting [2022-12-12T21:22:13.634Z] bde34c3a00c8: Waiting [2022-12-12T21:22:13.634Z] 4872d77fe225: Waiting [2022-12-12T21:22:13.634Z] 5851b861e8e6: Waiting [2022-12-12T21:22:13.634Z] b352a97aabf1: Waiting [2022-12-12T21:22:13.634Z] 988bab9f4d93: Waiting [2022-12-12T21:22:13.634Z] 1469e6f7b9e6: Waiting [2022-12-12T21:22:13.634Z] e2be974225ed: Verifying Checksum [2022-12-12T21:22:13.634Z] e2be974225ed: Download complete [2022-12-12T21:22:13.634Z] 988bab9f4d93: Download complete [2022-12-12T21:22:13.893Z] 1469e6f7b9e6: Verifying Checksum [2022-12-12T21:22:13.893Z] 1469e6f7b9e6: Download complete [2022-12-12T21:22:13.893Z] 339a4e72a1f5: Verifying Checksum [2022-12-12T21:22:13.893Z] 339a4e72a1f5: Download complete [2022-12-12T21:22:13.893Z] eaf3925da568: Verifying Checksum [2022-12-12T21:22:13.893Z] eaf3925da568: Download complete [2022-12-12T21:22:13.893Z] bde34c3a00c8: Verifying Checksum [2022-12-12T21:22:13.893Z] bde34c3a00c8: Download complete [2022-12-12T21:22:13.893Z] b352a97aabf1: Verifying Checksum [2022-12-12T21:22:13.893Z] b352a97aabf1: Download complete [2022-12-12T21:22:13.893Z] 4872d77fe225: Verifying Checksum [2022-12-12T21:22:13.893Z] 5851b861e8e6: Verifying Checksum [2022-12-12T21:22:13.893Z] 5851b861e8e6: Download complete [2022-12-12T21:22:13.893Z] b85a868b505f: Download complete [2022-12-12T21:22:14.152Z] bab4dde63d76: Verifying Checksum [2022-12-12T21:22:14.152Z] bab4dde63d76: Download complete [2022-12-12T21:22:15.087Z] b85a868b505f: Pull complete [2022-12-12T21:22:15.346Z] e2be974225ed: Pull complete [2022-12-12T21:22:15.914Z] 339a4e72a1f5: Pull complete [2022-12-12T21:22:15.914Z] 988bab9f4d93: Pull complete [2022-12-12T21:22:16.174Z] 1469e6f7b9e6: Pull complete [2022-12-12T21:22:16.174Z] eaf3925da568: Pull complete [2022-12-12T21:22:18.075Z] bab4dde63d76: Pull complete [2022-12-12T21:22:18.075Z] bde34c3a00c8: Pull complete [2022-12-12T21:22:18.335Z] b352a97aabf1: Pull complete [2022-12-12T21:22:18.335Z] 4872d77fe225: Pull complete [2022-12-12T21:22:18.335Z] 5851b861e8e6: Pull complete [2022-12-12T21:22:18.595Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-12T21:22:18.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-12T21:22:18.595Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:22:18.677Z] prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container [2022-12-12T21:22:18.708Z] $ 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 [2022-12-12T21:22:20.819Z] $ docker top d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e -eo pid,comm [2022-12-12T21:22:20.876Z] 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). [2022-12-12T21:22:20.876Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-12T21:22:20.978Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-12T21:22:20.978Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-12T21:22:21.091Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-12T21:22:21.098Z] $ docker exec d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent [2022-12-12T21:22:21.212Z] SSH_AUTH_SOCK=/tmp/ssh-6WOIwSmQL7HU/agent.33 [2022-12-12T21:22:21.212Z] SSH_AGENT_PID=39 [2022-12-12T21:22:21.220Z] Running ssh-add (command line suppressed) [2022-12-12T21:22:21.333Z] 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) [2022-12-12T21:22:21.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-12T21:22:21.629Z] + git tag --points-at HEAD [Pipeline] } [2022-12-12T21:22:21.646Z] $ docker exec --env ******** --env ******** d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent -k [2022-12-12T21:22:21.785Z] unset SSH_AUTH_SOCK; [2022-12-12T21:22:21.785Z] unset SSH_AGENT_PID; [2022-12-12T21:22:21.785Z] echo Agent pid 39 killed; [2022-12-12T21:22:21.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-12T21:22:21.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-12T21:22:21.816Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-12T21:22:21.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-12T21:22:21.939Z] $ docker exec d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent [2022-12-12T21:22:22.055Z] SSH_AUTH_SOCK=/tmp/ssh-akfdjbTrLVDP/agent.71 [2022-12-12T21:22:22.055Z] SSH_AGENT_PID=77 [2022-12-12T21:22:22.060Z] Running ssh-add (command line suppressed) [2022-12-12T21:22:22.175Z] 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) [2022-12-12T21:22:22.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-12T21:22:22.471Z] + git semver init [2022-12-12T21:22:22.729Z] 2022-12-12 21:22:22,680 [run_init] DEBUG init version:0.0.0 force:False [2022-12-12T21:22:22.729Z] 2022-12-12 21:22:22,681 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-12-12T21:22:22.729Z] 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 [2022-12-12T21:22:22.729Z] 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) [2022-12-12T21:22:24.111Z] 2022-12-12 21:22:23,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-12-12T21:22:24.111Z] 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 [2022-12-12T21:22:24.111Z] 2022-12-12 21:22:23,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-12-12T21:22:24.111Z] 2022-12-12 21:22:23,740 [execute] INFO git cat-file --batch-check [2022-12-12T21:22:24.111Z] 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=) [2022-12-12T21:22:24.111Z] 2022-12-12 21:22:23,746 [execute] INFO git cat-file --batch [2022-12-12T21:22:24.111Z] 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=) [2022-12-12T21:22:24.111Z] 2022-12-12 21:22:23,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-12-12T21:22:24.111Z] 0.0.0 [Pipeline] } [2022-12-12T21:22:24.125Z] $ docker exec --env ******** --env ******** d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e ssh-agent -k [2022-12-12T21:22:24.225Z] unset SSH_AUTH_SOCK; [2022-12-12T21:22:24.225Z] unset SSH_AGENT_PID; [2022-12-12T21:22:24.225Z] echo Agent pid 77 killed; [2022-12-12T21:22:24.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-12T21:22:24.540Z] + git semver [Pipeline] } [2022-12-12T21:22:24.814Z] $ docker stop --time=1 d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e [2022-12-12T21:22:26.107Z] $ docker rm -f d849e888c98fb99146c0b0e2f513d18b7792d618ca92eccaf486bfa7fdd4876e [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-12T21:22:26.454Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-12T21:22:26.625Z] Stashed 1 file(s) [Pipeline] echo [2022-12-12T21:22:26.628Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-12T21:22:26.736Z] provisioning config files... [2022-12-12T21:22:26.746Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config6855294814659340824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:22:27.041Z] ---> docker-login.sh [2022-12-12T21:22:27.041Z] nexus3.edgexfoundry.org:10001 [2022-12-12T21:22:27.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:27.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:27.041Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:27.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:27.041Z] [2022-12-12T21:22:27.041Z] Login Succeeded [2022-12-12T21:22:27.041Z] nexus3.edgexfoundry.org:10002 [2022-12-12T21:22:27.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:27.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:27.041Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:27.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:27.041Z] [2022-12-12T21:22:27.041Z] Login Succeeded [2022-12-12T21:22:27.041Z] nexus3.edgexfoundry.org:10003 [2022-12-12T21:22:27.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:27.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:27.299Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:27.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:27.299Z] [2022-12-12T21:22:27.299Z] Login Succeeded [2022-12-12T21:22:27.299Z] nexus3.edgexfoundry.org:10004 [2022-12-12T21:22:27.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:27.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:27.299Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:27.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:27.299Z] [2022-12-12T21:22:27.299Z] Login Succeeded [2022-12-12T21:22:27.299Z] docker.io [2022-12-12T21:22:27.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:22:27.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:22:27.558Z] Configure a credential helper to remove this warning. See [2022-12-12T21:22:27.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:22:27.558Z] [2022-12-12T21:22:27.558Z] Login Succeeded [2022-12-12T21:22:27.558Z] ---> docker-login.sh ends [Pipeline] } [2022-12-12T21:22:27.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-12T21:22:27.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-12T21:22:27.646Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-12T21:22:27.651Z] ========================================================= [2022-12-12T21:22:27.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-12T21:22:27.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:22:27.952Z] + 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 . [2022-12-12T21:22:27.953Z] Sending build context to Docker daemon 10.77MB [2022-12-12T21:22:27.953Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-12T21:22:27.953Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-12T21:22:27.953Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-12T21:22:27.953Z] 213ec9aee27d: Pulling fs layer [2022-12-12T21:22:27.953Z] 4583459ba037: Pulling fs layer [2022-12-12T21:22:27.953Z] 93c1e223e6f2: Pulling fs layer [2022-12-12T21:22:27.953Z] 53926ce57604: Pulling fs layer [2022-12-12T21:22:27.953Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-12T21:22:27.953Z] 21b2b0c7a3f4: Waiting [2022-12-12T21:22:27.953Z] 22ff95d597cd: Pulling fs layer [2022-12-12T21:22:27.953Z] 12d6caf4c0d1: Pulling fs layer [2022-12-12T21:22:27.953Z] 22ff95d597cd: Waiting [2022-12-12T21:22:27.953Z] 96b7cbca73a9: Pulling fs layer [2022-12-12T21:22:27.953Z] 53926ce57604: Waiting [2022-12-12T21:22:27.953Z] 12d6caf4c0d1: Waiting [2022-12-12T21:22:27.953Z] a7acece74701: Pulling fs layer [2022-12-12T21:22:27.953Z] 96b7cbca73a9: Waiting [2022-12-12T21:22:27.953Z] a7acece74701: Waiting [2022-12-12T21:22:27.953Z] 93c1e223e6f2: Verifying Checksum [2022-12-12T21:22:27.953Z] 93c1e223e6f2: Download complete [2022-12-12T21:22:28.215Z] 4583459ba037: Download complete [2022-12-12T21:22:28.215Z] 21b2b0c7a3f4: Download complete [2022-12-12T21:22:28.215Z] 22ff95d597cd: Verifying Checksum [2022-12-12T21:22:28.215Z] 213ec9aee27d: Verifying Checksum [2022-12-12T21:22:28.215Z] 213ec9aee27d: Download complete [2022-12-12T21:22:28.215Z] 12d6caf4c0d1: Verifying Checksum [2022-12-12T21:22:28.215Z] 12d6caf4c0d1: Download complete [2022-12-12T21:22:28.215Z] 213ec9aee27d: Pull complete [2022-12-12T21:22:28.490Z] 4583459ba037: Pull complete [2022-12-12T21:22:28.490Z] 93c1e223e6f2: Pull complete [2022-12-12T21:22:28.752Z] a7acece74701: Verifying Checksum [2022-12-12T21:22:28.752Z] a7acece74701: Download complete [2022-12-12T21:22:29.009Z] 96b7cbca73a9: Verifying Checksum [2022-12-12T21:22:29.009Z] 96b7cbca73a9: Download complete [2022-12-12T21:22:29.009Z] 53926ce57604: Verifying Checksum [2022-12-12T21:22:29.009Z] 53926ce57604: Download complete [2022-12-12T21:22:33.201Z] 53926ce57604: Pull complete [2022-12-12T21:22:33.201Z] 21b2b0c7a3f4: Pull complete [2022-12-12T21:22:33.201Z] 22ff95d597cd: Pull complete [2022-12-12T21:22:33.201Z] 12d6caf4c0d1: Pull complete [2022-12-12T21:22:35.100Z] 96b7cbca73a9: Pull complete [2022-12-12T21:22:36.033Z] a7acece74701: Pull complete [2022-12-12T21:22:36.033Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-12T21:22:36.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-12T21:22:36.033Z] ---> db6d94c90886 [2022-12-12T21:22:36.033Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-12T21:22:39.326Z] ---> Running in cab009468115 [2022-12-12T21:22:39.326Z] Removing intermediate container cab009468115 [2022-12-12T21:22:39.326Z] ---> 1ce09a24fc0e [2022-12-12T21:22:39.326Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-12T21:22:39.326Z] ---> Running in 21a09e184853 [2022-12-12T21:22:39.326Z] Removing intermediate container 21a09e184853 [2022-12-12T21:22:39.326Z] ---> c0c5b0ce239a [2022-12-12T21:22:39.326Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-12T21:22:39.326Z] ---> Running in ff0504c00bee [2022-12-12T21:22:39.326Z] Removing intermediate container ff0504c00bee [2022-12-12T21:22:39.326Z] ---> 1f212e9d744f [2022-12-12T21:22:39.326Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-12T21:22:39.326Z] ---> Running in aa924f0471a2 [2022-12-12T21:22:39.584Z] Removing intermediate container aa924f0471a2 [2022-12-12T21:22:39.584Z] ---> 274ae1421d76 [2022-12-12T21:22:39.584Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-12T21:22:39.584Z] ---> Running in 63ca61f2c5bf [2022-12-12T21:22:39.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-12T21:22:39.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-12T21:22:40.104Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-12T21:22:40.104Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-12T21:22:40.104Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-12T21:22:40.104Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-12T21:22:40.104Z] Executing busybox-1.35.0-r17.trigger [2022-12-12T21:22:40.104Z] OK: 216 MiB in 55 packages [2022-12-12T21:22:40.673Z] Removing intermediate container 63ca61f2c5bf [2022-12-12T21:22:40.673Z] ---> 8c3719c746fd [2022-12-12T21:22:40.673Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-12T21:22:40.673Z] ---> Running in ae16707264f8 [2022-12-12T21:22:40.931Z] Removing intermediate container ae16707264f8 [2022-12-12T21:22:40.931Z] ---> 678c7aa38990 [2022-12-12T21:22:40.931Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-12T21:22:40.931Z] ---> b4ca6c6dfe66 [2022-12-12T21:22:40.931Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-12T21:22:40.931Z] ---> Running in 6a7a8e8c83af [2022-12-12T21:22:41.708Z] Still waiting to schedule task [2022-12-12T21:22:41.708Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-120989’ [2022-12-12T21:23:02.898Z] Removing intermediate container 6a7a8e8c83af [2022-12-12T21:23:02.898Z] ---> 7ea5e9f7583b [2022-12-12T21:23:02.898Z] Step 11/12 : COPY . . [2022-12-12T21:23:02.898Z] ---> 65148a7f03d0 [2022-12-12T21:23:02.898Z] Step 12/12 : RUN $MAKE [2022-12-12T21:23:02.898Z] ---> Running in 7edbee65e2ea [2022-12-12T21:23:02.898Z] noop [2022-12-12T21:23:02.898Z] Removing intermediate container 7edbee65e2ea [2022-12-12T21:23:02.898Z] ---> 9641ba97214a [2022-12-12T21:23:02.898Z] Successfully built 9641ba97214a [2022-12-12T21:23:02.898Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:23:03.206Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-12T21:23:03.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:23:03.271Z] prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container [2022-12-12T21:23:03.301Z] $ 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 [2022-12-12T21:23:03.636Z] $ docker top 821983f084ce9b34773afe76fa138becbbc1b2a95edda3803039369b7c880870 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-12T21:23:03.982Z] + go version [2022-12-12T21:23:03.982Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-12T21:23:03.995Z] $ docker stop --time=1 821983f084ce9b34773afe76fa138becbbc1b2a95edda3803039369b7c880870 [2022-12-12T21:23:05.318Z] $ 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 [2022-12-12T21:23:05.698Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-12T21:23:05.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:23:05.763Z] prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container [2022-12-12T21:23:05.796Z] $ 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 [2022-12-12T21:23:06.128Z] $ docker top 076facfad75457c130bf61180f0d930ea6084527bb11edc3a86687d379a317fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-12T21:23:06.466Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-12-12T21:23:06.765Z] + make test [2022-12-12T21:23:06.765Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-12T21:23:06.765Z] go: updates to go.mod needed; to update it: [2022-12-12T21:23:06.765Z] go mod tidy [2022-12-12T21:23:06.765Z] make: *** [Makefile:39: unittest] Error 1 [Pipeline] } [2022-12-12T21:23:06.782Z] $ docker stop --time=1 076facfad75457c130bf61180f0d930ea6084527bb11edc3a86687d379a317fa [2022-12-12T21:23:08.094Z] $ 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 [2022-12-12T21:23:08.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-12T21:23:08.591Z] [2022-12-12T21:23:08.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:23:08.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-12T21:23:08.894Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-12T21:23:08.894Z] 5eb5b503b376: Pulling fs layer [2022-12-12T21:23:08.894Z] 5c69ac0246d0: Pulling fs layer [2022-12-12T21:23:08.894Z] ec43610c2a17: Pulling fs layer [2022-12-12T21:23:08.894Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-12T21:23:08.894Z] 33b1e0a273af: Pulling fs layer [2022-12-12T21:23:08.894Z] 5d3b04190fa2: Pulling fs layer [2022-12-12T21:23:08.894Z] 2f39f015ded8: Pulling fs layer [2022-12-12T21:23:08.894Z] 3a2ae6a8a46f: Waiting [2022-12-12T21:23:08.894Z] 5d3b04190fa2: Waiting [2022-12-12T21:23:08.894Z] 5c69ac0246d0: Verifying Checksum [2022-12-12T21:23:08.894Z] 5c69ac0246d0: Download complete [2022-12-12T21:23:08.894Z] 3a2ae6a8a46f: Download complete [2022-12-12T21:23:08.894Z] ec43610c2a17: Download complete [2022-12-12T21:23:08.894Z] 33b1e0a273af: Verifying Checksum [2022-12-12T21:23:08.894Z] 33b1e0a273af: Download complete [2022-12-12T21:23:09.154Z] 5d3b04190fa2: Verifying Checksum [2022-12-12T21:23:09.154Z] 5d3b04190fa2: Download complete [2022-12-12T21:23:09.154Z] 5eb5b503b376: Download complete [2022-12-12T21:23:09.721Z] 2f39f015ded8: Download complete [2022-12-12T21:23:10.286Z] 5eb5b503b376: Pull complete [2022-12-12T21:23:10.544Z] 5c69ac0246d0: Pull complete [2022-12-12T21:23:11.112Z] ec43610c2a17: Pull complete [2022-12-12T21:23:11.112Z] 3a2ae6a8a46f: Pull complete [2022-12-12T21:23:11.371Z] 33b1e0a273af: Pull complete [2022-12-12T21:23:11.371Z] 5d3b04190fa2: Pull complete [2022-12-12T21:23:16.665Z] 2f39f015ded8: Pull complete [2022-12-12T21:23:16.665Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-12T21:23:16.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-12T21:23:16.665Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:23:16.736Z] prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container [2022-12-12T21:23:16.771Z] $ 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 [2022-12-12T21:23:19.058Z] $ docker top e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:23:19.419Z] ---> job-cost.sh [2022-12-12T21:23:19.419Z] lf-activate-venv: SKIPPING [2022-12-12T21:23:19.419Z] INFO: No Stack... [2022-12-12T21:23:19.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-12T21:23:20.245Z] INFO: Archiving Costs [Pipeline] sh [2022-12-12T21:23:20.538Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-12-12T21:23:20.538Z] + cut -d, -f6 [Pipeline] lock [2022-12-12T21:23:20.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [2022-12-12T21:23:20.556Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] did not exist. Created. [2022-12-12T21:23:20.556Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-12T21:23:20.850Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-12T21:23:20.879Z] Stashed 1 file(s) [Pipeline] } [2022-12-12T21:23:20.890Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-12T21:23:20.910Z] $ docker stop --time=1 e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 [2022-12-12T21:23:22.062Z] $ docker rm -f e6547c417f71f5f6f5789bf591e3ce233cc8bb722e69ec73e66ee14edd3f8061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-12T21:23:22.149Z] Failed in branch amd64 [2022-12-12T21:26:01.890Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-120991 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws [2022-12-12T21:26:01.903Z] Running in /w/workspace/device-rest-go/11 [Pipeline] { [Pipeline] checkout [2022-12-12T21:26:01.934Z] The recommended git tool is: git [2022-12-12T21:26:08.477Z] using credential edgex-jenkins-ssh [2022-12-12T21:26:08.494Z] Cloning the remote Git repository [2022-12-12T21:26:08.549Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-12-12T21:26:08.639Z] > git init /w/workspace/device-rest-go/11 # timeout=10 [2022-12-12T21:26:08.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-12T21:26:08.802Z] > git --version # timeout=10 [2022-12-12T21:26:08.824Z] > git --version # 'git version 2.25.1' [2022-12-12T21:26:08.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-12T21:26:08.882Z] Verifying host key using known hosts file [2022-12-12T21:26:09.102Z] 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. [2022-12-12T21:26:09.117Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-12T21:26:11.021Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-12T21:26:11.043Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-12T21:26:11.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-12-12T21:26:11.971Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-12-12T21:26:11.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-12T21:26:11.979Z] Verifying host key using known hosts file [2022-12-12T21:26:11.988Z] 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. [2022-12-12T21:26:12.002Z] > 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 [2022-12-12T21:26:12.513Z] Merging remotes/origin/main commit ea2635875d50d8674d03123d64d8d0373faddc1b into PR head commit c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e [2022-12-12T21:26:12.787Z] Merge succeeded, producing eae9da2607cc3f513588ab3317042e4d9b0aed54 [2022-12-12T21:26:12.788Z] Checking out Revision eae9da2607cc3f513588ab3317042e4d9b0aed54 (PR-222) [2022-12-12T21:26:12.535Z] > git config core.sparsecheckout # timeout=10 [2022-12-12T21:26:12.559Z] > git checkout -f c5931a0afdfd2186d43a4d43d7c7a0cc685dce5e # timeout=10 [2022-12-12T21:26:12.651Z] > git remote # timeout=10 [2022-12-12T21:26:12.670Z] > git config --get remote.origin.url # timeout=10 [2022-12-12T21:26:12.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-12T21:26:12.692Z] Verifying host key using known hosts file [2022-12-12T21:26:12.696Z] 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. [2022-12-12T21:26:12.704Z] > git merge ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [2022-12-12T21:26:12.766Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-12T21:26:12.797Z] > git config core.sparsecheckout # timeout=10 [2022-12-12T21:26:12.814Z] > git checkout -f eae9da2607cc3f513588ab3317042e4d9b0aed54 # timeout=10 [2022-12-12T21:26:16.295Z] Commit message: "Merge commit 'ea2635875d50d8674d03123d64d8d0373faddc1b' into HEAD" [2022-12-12T21:26:16.319Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-12T21:26:16.305Z] > git rev-list --no-walk 3e7266363a38cd709a629ca1e1ab30ceeac22e5f # timeout=10 [2022-12-12T21:26:17.217Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-12T21:26:17.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-12T21:26:17.217Z] Dload Upload Total Spent Left Speed [2022-12-12T21:26:17.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 76353 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2022-12-12T21:26:17.917Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-12T21:26:18.262Z] + sudo tee /etc/docker/daemon.new [2022-12-12T21:26:18.262Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-12T21:26:18.262Z] { [2022-12-12T21:26:18.262Z] "registry-mirrors": [ [2022-12-12T21:26:18.262Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-12T21:26:18.262Z] ], [2022-12-12T21:26:18.262Z] "bip": "10.250.0.254/24", [2022-12-12T21:26:18.262Z] "hosts": [ [2022-12-12T21:26:18.262Z] "tcp://0.0.0.0:5555", [2022-12-12T21:26:18.262Z] "unix:///var/run/docker.sock" [2022-12-12T21:26:18.262Z] ], [2022-12-12T21:26:18.262Z] "mtu": 1458, [2022-12-12T21:26:18.262Z] "selinux-enabled": true, [2022-12-12T21:26:18.262Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-12T21:26:18.262Z] } [Pipeline] sh [2022-12-12T21:26:18.607Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-12T21:26:18.965Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-12T21:26:37.267Z] provisioning config files... [2022-12-12T21:26:37.297Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/11@tmp/config11623145985733903551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:26:37.654Z] ---> docker-login.sh [2022-12-12T21:26:37.654Z] nexus3.edgexfoundry.org:10001 [2022-12-12T21:26:37.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:26:38.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:26:38.519Z] Configure a credential helper to remove this warning. See [2022-12-12T21:26:38.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:26:38.519Z] [2022-12-12T21:26:38.519Z] Login Succeeded [2022-12-12T21:26:38.519Z] nexus3.edgexfoundry.org:10002 [2022-12-12T21:26:38.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:26:38.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:26:38.790Z] Configure a credential helper to remove this warning. See [2022-12-12T21:26:38.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:26:38.790Z] [2022-12-12T21:26:38.790Z] Login Succeeded [2022-12-12T21:26:38.790Z] nexus3.edgexfoundry.org:10003 [2022-12-12T21:26:39.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:26:39.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:26:39.337Z] Configure a credential helper to remove this warning. See [2022-12-12T21:26:39.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:26:39.337Z] [2022-12-12T21:26:39.337Z] Login Succeeded [2022-12-12T21:26:39.337Z] nexus3.edgexfoundry.org:10004 [2022-12-12T21:26:39.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:26:39.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:26:39.623Z] Configure a credential helper to remove this warning. See [2022-12-12T21:26:39.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:26:39.623Z] [2022-12-12T21:26:39.623Z] Login Succeeded [2022-12-12T21:26:39.623Z] docker.io [2022-12-12T21:26:39.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-12T21:26:40.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-12T21:26:40.166Z] Configure a credential helper to remove this warning. See [2022-12-12T21:26:40.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-12T21:26:40.166Z] [2022-12-12T21:26:40.166Z] Login Succeeded [2022-12-12T21:26:40.166Z] ---> docker-login.sh ends [Pipeline] } [2022-12-12T21:26:40.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-12T21:26:40.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-12T21:26:40.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-12T21:26:40.384Z] ========================================================= [2022-12-12T21:26:40.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-12T21:26:40.384Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:26:40.740Z] + 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 . [2022-12-12T21:26:40.740Z] Sending build context to Docker daemon 129.5kB [2022-12-12T21:26:41.015Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-12-12T21:26:41.015Z] Step 2/12 : FROM ${BASE} AS builder [2022-12-12T21:26:41.015Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-12T21:26:41.015Z] 9b18e9b68314: Pulling fs layer [2022-12-12T21:26:41.015Z] 35d82f9e3411: Pulling fs layer [2022-12-12T21:26:41.015Z] e16973657156: Pulling fs layer [2022-12-12T21:26:41.015Z] fc693d55d65f: Pulling fs layer [2022-12-12T21:26:41.015Z] 7e9fc2657dce: Pulling fs layer [2022-12-12T21:26:41.015Z] dda99020689f: Pulling fs layer [2022-12-12T21:26:41.015Z] db1c61fa0a46: Pulling fs layer [2022-12-12T21:26:41.015Z] 891c053d2c06: Pulling fs layer [2022-12-12T21:26:41.015Z] dda99020689f: Waiting [2022-12-12T21:26:41.015Z] db1c61fa0a46: Waiting [2022-12-12T21:26:41.015Z] fc693d55d65f: Waiting [2022-12-12T21:26:41.015Z] 7e9fc2657dce: Waiting [2022-12-12T21:26:41.015Z] 891c053d2c06: Waiting [2022-12-12T21:26:41.286Z] e16973657156: Verifying Checksum [2022-12-12T21:26:41.286Z] e16973657156: Download complete [2022-12-12T21:26:41.286Z] 35d82f9e3411: Download complete [2022-12-12T21:26:41.286Z] 7e9fc2657dce: Verifying Checksum [2022-12-12T21:26:41.286Z] 7e9fc2657dce: Download complete [2022-12-12T21:26:41.286Z] dda99020689f: Verifying Checksum [2022-12-12T21:26:41.286Z] dda99020689f: Download complete [2022-12-12T21:26:41.286Z] 9b18e9b68314: Verifying Checksum [2022-12-12T21:26:41.286Z] 9b18e9b68314: Download complete [2022-12-12T21:26:42.273Z] 9b18e9b68314: Pull complete [2022-12-12T21:26:42.273Z] 891c053d2c06: Verifying Checksum [2022-12-12T21:26:42.273Z] 891c053d2c06: Download complete [2022-12-12T21:26:42.874Z] 35d82f9e3411: Pull complete [2022-12-12T21:26:43.150Z] e16973657156: Pull complete [2022-12-12T21:26:43.744Z] db1c61fa0a46: Verifying Checksum [2022-12-12T21:26:43.744Z] db1c61fa0a46: Download complete [2022-12-12T21:26:44.343Z] fc693d55d65f: Verifying Checksum [2022-12-12T21:26:44.343Z] fc693d55d65f: Download complete [2022-12-12T21:26:56.704Z] fc693d55d65f: Pull complete [2022-12-12T21:26:56.704Z] 7e9fc2657dce: Pull complete [2022-12-12T21:26:56.704Z] dda99020689f: Pull complete [2022-12-12T21:27:02.067Z] db1c61fa0a46: Pull complete [2022-12-12T21:27:04.039Z] 891c053d2c06: Pull complete [2022-12-12T21:27:04.040Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-12T21:27:04.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-12T21:27:04.040Z] ---> f96f9c87975a [2022-12-12T21:27:04.040Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-12-12T21:27:06.002Z] ---> Running in 272e62120dbd [2022-12-12T21:27:06.272Z] Removing intermediate container 272e62120dbd [2022-12-12T21:27:06.272Z] ---> df59aa59dbd1 [2022-12-12T21:27:06.272Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-12T21:27:06.272Z] ---> Running in d6c841b72e2b [2022-12-12T21:27:06.539Z] Removing intermediate container d6c841b72e2b [2022-12-12T21:27:06.539Z] ---> 1a2df3ea572e [2022-12-12T21:27:06.539Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-12-12T21:27:06.818Z] ---> Running in be5347f0ec06 [2022-12-12T21:27:07.088Z] Removing intermediate container be5347f0ec06 [2022-12-12T21:27:07.088Z] ---> 1b3af5a7711d [2022-12-12T21:27:07.088Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-12-12T21:27:07.088Z] ---> Running in 1235a042866d [2022-12-12T21:27:07.357Z] Removing intermediate container 1235a042866d [2022-12-12T21:27:07.357Z] ---> a3d4576a4196 [2022-12-12T21:27:07.357Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-12T21:27:07.629Z] ---> Running in f682a52d6e5c [2022-12-12T21:27:08.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-12T21:27:08.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-12T21:27:09.824Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-12-12T21:27:09.824Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-12-12T21:27:09.824Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-12-12T21:27:09.824Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-12-12T21:27:09.824Z] Executing busybox-1.35.0-r17.trigger [2022-12-12T21:27:10.095Z] OK: 226 MiB in 55 packages [2022-12-12T21:27:11.074Z] Removing intermediate container f682a52d6e5c [2022-12-12T21:27:11.074Z] ---> 746ab84854f9 [2022-12-12T21:27:11.074Z] Step 8/12 : WORKDIR /device-rest-go [2022-12-12T21:27:11.074Z] ---> Running in e9ef591844f9 [2022-12-12T21:27:11.343Z] Removing intermediate container e9ef591844f9 [2022-12-12T21:27:11.343Z] ---> 3eed6850dd04 [2022-12-12T21:27:11.343Z] Step 9/12 : COPY go.mod vendor* ./ [2022-12-12T21:27:11.928Z] ---> 8334a34cc413 [2022-12-12T21:27:11.928Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-12T21:27:11.928Z] ---> Running in 731e51d7a754 [2022-12-12T21:28:08.360Z] Removing intermediate container 731e51d7a754 [2022-12-12T21:28:08.360Z] ---> 228c45bd60e1 [2022-12-12T21:28:08.360Z] Step 11/12 : COPY . . [2022-12-12T21:28:08.360Z] ---> 544a3716e18c [2022-12-12T21:28:08.360Z] Step 12/12 : RUN $MAKE [2022-12-12T21:28:08.360Z] ---> Running in b4a5228c547f [2022-12-12T21:28:08.360Z] noop [2022-12-12T21:28:08.360Z] Removing intermediate container b4a5228c547f [2022-12-12T21:28:08.360Z] ---> e4dc615976d2 [2022-12-12T21:28:08.360Z] Successfully built e4dc615976d2 [2022-12-12T21:28:08.360Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:28:08.698Z] + docker inspect -f . ci-base-image-arm64 [2022-12-12T21:28:08.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:28:08.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container [2022-12-12T21:28:08.960Z] $ 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 [2022-12-12T21:28:10.177Z] $ docker top b09dd98359bdc8b8f594821c9d65fe55587c6bf78101acc893ba49b77b0d9491 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-12T21:28:11.005Z] + go version [2022-12-12T21:28:11.005Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-12T21:28:11.026Z] $ docker stop --time=1 b09dd98359bdc8b8f594821c9d65fe55587c6bf78101acc893ba49b77b0d9491 [2022-12-12T21:28:12.653Z] $ 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 [2022-12-12T21:28:13.198Z] + docker inspect -f . ci-base-image-arm64 [2022-12-12T21:28:13.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:28:13.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container [2022-12-12T21:28:13.419Z] $ 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 [2022-12-12T21:28:14.596Z] $ docker top 7e1c955c3b9ed6ec3216384eccb587bf9dadffb657601ac1891081601ce86930 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-12T21:28:15.107Z] + git config --global --add safe.directory /w/workspace/device-rest-go/11 [Pipeline] fileExists [Pipeline] sh [2022-12-12T21:28:15.768Z] + make test [2022-12-12T21:28:15.768Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-12T21:28:16.036Z] go: updates to go.mod needed; to update it: [2022-12-12T21:28:16.036Z] go mod tidy [2022-12-12T21:28:16.036Z] make: *** [Makefile:39: unittest] Error 1 [Pipeline] } [2022-12-12T21:28:16.058Z] $ docker stop --time=1 7e1c955c3b9ed6ec3216384eccb587bf9dadffb657601ac1891081601ce86930 [2022-12-12T21:28:17.731Z] $ 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 [2022-12-12T21:28:18.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-12T21:28:18.338Z] [2022-12-12T21:28:18.338Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:28:18.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-12T21:28:18.675Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-12T21:28:18.675Z] 8998bd30e6a1: Pulling fs layer [2022-12-12T21:28:18.675Z] 04944245beec: Pulling fs layer [2022-12-12T21:28:18.675Z] 699f458cf7ca: Pulling fs layer [2022-12-12T21:28:18.675Z] 765212b225bb: Pulling fs layer [2022-12-12T21:28:18.675Z] f23df028b6ca: Pulling fs layer [2022-12-12T21:28:18.675Z] d65c8cfc05b1: Pulling fs layer [2022-12-12T21:28:18.675Z] 2437ff75d9bd: Pulling fs layer [2022-12-12T21:28:18.675Z] f23df028b6ca: Waiting [2022-12-12T21:28:18.675Z] 765212b225bb: Waiting [2022-12-12T21:28:18.675Z] d65c8cfc05b1: Waiting [2022-12-12T21:28:18.675Z] 2437ff75d9bd: Waiting [2022-12-12T21:28:18.949Z] 04944245beec: Verifying Checksum [2022-12-12T21:28:18.949Z] 04944245beec: Download complete [2022-12-12T21:28:18.949Z] 765212b225bb: Verifying Checksum [2022-12-12T21:28:18.949Z] 765212b225bb: Download complete [2022-12-12T21:28:18.949Z] f23df028b6ca: Download complete [2022-12-12T21:28:18.949Z] d65c8cfc05b1: Verifying Checksum [2022-12-12T21:28:18.949Z] d65c8cfc05b1: Download complete [2022-12-12T21:28:19.221Z] 699f458cf7ca: Verifying Checksum [2022-12-12T21:28:19.221Z] 699f458cf7ca: Download complete [2022-12-12T21:28:19.492Z] 8998bd30e6a1: Verifying Checksum [2022-12-12T21:28:22.097Z] 2437ff75d9bd: Verifying Checksum [2022-12-12T21:28:22.097Z] 2437ff75d9bd: Download complete [2022-12-12T21:28:24.685Z] 8998bd30e6a1: Pull complete [2022-12-12T21:28:24.953Z] 04944245beec: Pull complete [2022-12-12T21:28:26.363Z] 699f458cf7ca: Pull complete [2022-12-12T21:28:26.363Z] 765212b225bb: Pull complete [2022-12-12T21:28:27.324Z] f23df028b6ca: Pull complete [2022-12-12T21:28:27.324Z] d65c8cfc05b1: Pull complete [2022-12-12T21:28:42.305Z] 2437ff75d9bd: Pull complete [2022-12-12T21:28:42.305Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-12T21:28:42.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-12T21:28:42.305Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:28:42.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-120991 does not seem to be running inside a container [2022-12-12T21:28:42.561Z] $ 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 [2022-12-12T21:28:44.922Z] $ docker top 237fe0fe373976866134528e443c47447425f3068da71cc9c31a3a450fde5b47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:45.412Z] ---> job-cost.sh [2022-12-12T21:28:45.677Z] lf-activate-venv: SKIPPING [2022-12-12T21:28:45.677Z] INFO: No Stack... [2022-12-12T21:28:45.943Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-12T21:28:46.901Z] INFO: Archiving Costs [Pipeline] sh [2022-12-12T21:28:47.217Z] + cat /w/workspace/device-rest-go/11/archives/cost.csv [2022-12-12T21:28:47.217Z] + cut -d, -f6 [Pipeline] lock [2022-12-12T21:28:47.286Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [2022-12-12T21:28:47.291Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] did not exist. Created. [2022-12-12T21:28:47.292Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-12T21:28:47.624Z] /w/workspace/device-rest-go/11@tmp/durable-1f902086/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-12T21:28:48.222Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-12T21:28:48.242Z] Warning: overwriting stash ‘stack-cost’ [2022-12-12T21:28:48.585Z] Stashed 1 file(s) [Pipeline] } [2022-12-12T21:28:48.597Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-12T21:28:48.614Z] $ docker stop --time=1 237fe0fe373976866134528e443c47447425f3068da71cc9c31a3a450fde5b47 [2022-12-12T21:28:50.151Z] $ 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] } [2022-12-12T21:28:50.384Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-12T21:28:51.003Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-12-12T21:28:51.003Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-12-12T21:28:51.003Z] total 16 [2022-12-12T21:28:51.003Z] drwxr-xr-x 3 root root 4096 Dec 12 21:23 . [2022-12-12T21:28:51.003Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 21:23 .. [2022-12-12T21:28:51.003Z] drwxr-xr-x 2 root root 4096 Dec 12 21:23 cost [2022-12-12T21:28:51.003Z] -rw-r--r-- 1 root root 87 Dec 12 21:23 cost.csv [2022-12-12T21:28:51.003Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-12-12T21:28:51.003Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-12-12T21:28:51.003Z] total 16 [2022-12-12T21:28:51.003Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 12 21:23 . [2022-12-12T21:28:51.003Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 12 21:23 .. [2022-12-12T21:28:51.003Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 12 21:23 cost [2022-12-12T21:28:51.003Z] -rw-r--r-- 1 jenkins jenkins 87 Dec 12 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:51.289Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:52.150Z] ---> package-listing.sh [2022-12-12T21:28:52.150Z] ++ facter osfamily [2022-12-12T21:28:52.150Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-12T21:28:52.410Z] + OS_FAMILY=debian [2022-12-12T21:28:52.410Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-12-12T21:28:52.410Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-12T21:28:52.410Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-12T21:28:52.410Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-12T21:28:52.410Z] + PACKAGES=/tmp/packages_start.txt [2022-12-12T21:28:52.410Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-12-12T21:28:52.410Z] + PACKAGES=/tmp/packages_end.txt [2022-12-12T21:28:52.410Z] + case "${OS_FAMILY}" in [2022-12-12T21:28:52.410Z] + dpkg -l [2022-12-12T21:28:52.410Z] + grep '^ii' [2022-12-12T21:28:52.410Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-12T21:28:52.410Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-12T21:28:52.410Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-12T21:28:52.410Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-12-12T21:28:52.410Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-12-12T21:28:52.410Z] + 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 [2022-12-12T21:28:52.421Z] 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 [2022-12-12T21:28:52.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-12T21:28:52.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-12T21:28:52.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-12T21:28:53.065Z] prd-ubuntu20.04-docker-8c-8g-120990 does not seem to be running inside a container [2022-12-12T21:28:53.096Z] $ 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 [2022-12-12T21:28:53.363Z] $ docker top 97d2f4192a83aaf78509da7ea6d43ae60572c987c9b82081ece7568cd8cdbb31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-12T21:28:53.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-12T21:28:53.990Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-12T21:28:54.277Z] + ls /var/log/sa-host [2022-12-12T21:28:54.277Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-12T21:28:54.363Z] provisioning config files... [2022-12-12T21:28:54.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config598946045387871221tmp [Pipeline] { [Pipeline] echo [2022-12-12T21:28:54.388Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:54.671Z] ---> create-netrc.sh [Pipeline] } [2022-12-12T21:28:54.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:54.995Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-12T21:28:55.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:55.285Z] ---> sudo-logs.sh [2022-12-12T21:28:55.286Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-12T21:28:55.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:55.587Z] ---> job-cost.sh [2022-12-12T21:28:55.587Z] lf-activate-venv: SKIPPING [2022-12-12T21:28:55.587Z] DEBUG: total: 0.2199999988079071 [2022-12-12T21:28:55.587Z] INFO: Retrieving Stack Cost... [2022-12-12T21:28:56.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-12T21:28:56.413Z] INFO: Archiving Costs [Pipeline] echo [2022-12-12T21:28:56.425Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-12T21:28:56.710Z] ---> logs-deploy.sh [2022-12-12T21:28:56.710Z] lf-activate-venv: SKIPPING [2022-12-12T21:28:56.710Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/11 [2022-12-12T21:28:56.710Z] INFO: archiving workspace using pattern(s): [2022-12-12T21:28:57.647Z] Archives upload complete. [2022-12-12T21:28:57.647Z] INFO: archiving logs to Nexus