Pull request #205 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 56a929b58b76fdc0c9b70be91cb644b567c19238+deaabcb9638c408d38a62ca07687bca64c62376f (af404470e9162f8c7afc564cb3a4acf565b39e5f) 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-ssh13964828044665489316.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10382216430037773553.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11840401626572178512.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh385820569495641226.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14149356060496065875.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-205/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9753286733380602094.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17183’ Running on prd-ubuntu20.04-docker-8c-8g-17192 in /w/workspace/gexfoundry_device-rest-go_PR-205 [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-205 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit 56a929b58b76fdc0c9b70be91cb644b567c19238 Merge succeeded, producing 56a929b58b76fdc0c9b70be91cb644b567c19238 Checking out Revision 56a929b58b76fdc0c9b70be91cb644b567c19238 (PR-205) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T21:59:08.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T21:59:08.766Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T21:59:08.857Z] ========================================================= [2022-07-07T21:59:08.857Z] EdgeX Global Pipelines Version Info [2022-07-07T21:59:08.857Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-07T21:59:09.689Z] ------------------- [2022-07-07T21:59:09.689Z] stable info: [2022-07-07T21:59:09.689Z] ------------------- [2022-07-07T21:59:09.689Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T21:59:09.689Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T21:59:09.689Z] Message: update stable to v1.0.234 [2022-07-07T21:59:10.297Z] ------------------- [2022-07-07T21:59:10.297Z] experimental info: [2022-07-07T21:59:10.297Z] ------------------- [2022-07-07T21:59:10.297Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T21:59:10.297Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T21:59:10.297Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T21:59:10.674Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-07T21:59:10.715Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-07T21:59:10.754Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T21:59:10.791Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T21:59:10.827Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T21:59:10.869Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T21:59:10.905Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T21:59:10.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T21:59:10.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T21:59:11.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T21:59:11.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T21:59:11.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-07T21:59:11.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T21:59:11.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T21:59:11.195Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T21:59:11.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T21:59:11.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T21:59:11.303Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T21:59:11.338Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T21:59:11.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T21:59:11.411Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T21:59:11.447Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T21:59:11.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T21:59:11.520Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T21:59:11.555Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T21:59:11.592Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T21:59:11.631Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T21:59:11.666Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-205 [Pipeline] echo [2022-07-07T21:59:11.706Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-205 [Pipeline] echo [2022-07-07T21:59:11.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-205 [Pipeline] echo [2022-07-07T21:59:11.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo [2022-07-07T21:59:11.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a929b [Pipeline] echo [2022-07-07T21:59:11.860Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T21:59:11.967Z] provisioning config files... [2022-07-07T21:59:11.993Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config8228668559439905395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T21:59:12.343Z] ---> docker-login.sh [2022-07-07T21:59:12.343Z] nexus3.edgexfoundry.org:10001 [2022-07-07T21:59:12.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:12.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:12.613Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:12.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:12.613Z] [2022-07-07T21:59:12.613Z] Login Succeeded [2022-07-07T21:59:12.878Z] nexus3.edgexfoundry.org:10002 [2022-07-07T21:59:12.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:12.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:12.878Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:12.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:12.878Z] [2022-07-07T21:59:12.878Z] Login Succeeded [2022-07-07T21:59:12.878Z] nexus3.edgexfoundry.org:10003 [2022-07-07T21:59:12.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:13.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:13.138Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:13.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:13.138Z] [2022-07-07T21:59:13.138Z] Login Succeeded [2022-07-07T21:59:13.138Z] nexus3.edgexfoundry.org:10004 [2022-07-07T21:59:13.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:13.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:13.138Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:13.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:13.139Z] [2022-07-07T21:59:13.139Z] Login Succeeded [2022-07-07T21:59:13.139Z] docker.io [2022-07-07T21:59:13.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:13.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:13.663Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:13.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:13.663Z] [2022-07-07T21:59:13.663Z] Login Succeeded [2022-07-07T21:59:13.663Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T21:59:13.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T21:59:14.322Z] + git rev-list -1 --merges 56a929b58b76fdc0c9b70be91cb644b567c19238~1..56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo [2022-07-07T21:59:14.374Z] -----------> git rev-list -1 --merges 56a929b58b76fdc0c9b70be91cb644b567c19238~1..56a929b58b76fdc0c9b70be91cb644b567c19238 56a929b58b76fdc0c9b70be91cb644b567c19238 [false] [Pipeline] sh [2022-07-07T21:59:14.686Z] + git log --format=format:%s -1 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo [2022-07-07T21:59:14.720Z] ========================================================= [2022-07-07T21:59:14.721Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T21:59:14.721Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T21:59:15.175Z] + git log --format=format:%s -1 56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] echo [2022-07-07T21:59:15.207Z] [semverPrep] GIT_COMMIT: 56a929b58b76fdc0c9b70be91cb644b567c19238, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo [2022-07-07T21:59:15.241Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T21:59:15.643Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T21:59:15.643Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T21:59:15.643Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T21:59:15.643Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T21:59:15.643Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T21:59:15.643Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T21:59:15.643Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T21:59:16.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T21:59:16.149Z] [2022-07-07T21:59:16.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T21:59:16.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T21:59:16.541Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T21:59:16.541Z] 42c077c10790: Pulling fs layer [2022-07-07T21:59:16.541Z] f63e77b7563a: Pulling fs layer [2022-07-07T21:59:16.541Z] bd5fdadae976: Pulling fs layer [2022-07-07T21:59:16.541Z] 205491f53016: Pulling fs layer [2022-07-07T21:59:16.541Z] df18705c85c3: Pulling fs layer [2022-07-07T21:59:16.541Z] bdb3f477010e: Pulling fs layer [2022-07-07T21:59:16.541Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T21:59:16.541Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T21:59:16.541Z] bdb8f0575790: Pulling fs layer [2022-07-07T21:59:16.541Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T21:59:16.541Z] 2343380bae48: Pulling fs layer [2022-07-07T21:59:16.541Z] df18705c85c3: Waiting [2022-07-07T21:59:16.541Z] bdb3f477010e: Waiting [2022-07-07T21:59:16.541Z] c8a8fc8e1c8f: Waiting [2022-07-07T21:59:16.541Z] 2c6e9b1d212d: Waiting [2022-07-07T21:59:16.541Z] bdb8f0575790: Waiting [2022-07-07T21:59:16.541Z] 386e3cb2ff24: Waiting [2022-07-07T21:59:16.541Z] 2343380bae48: Waiting [2022-07-07T21:59:16.541Z] 205491f53016: Waiting [2022-07-07T21:59:16.541Z] f63e77b7563a: Verifying Checksum [2022-07-07T21:59:16.541Z] f63e77b7563a: Download complete [2022-07-07T21:59:16.541Z] 205491f53016: Verifying Checksum [2022-07-07T21:59:16.541Z] 205491f53016: Download complete [2022-07-07T21:59:16.803Z] df18705c85c3: Verifying Checksum [2022-07-07T21:59:16.803Z] df18705c85c3: Download complete [2022-07-07T21:59:16.803Z] bd5fdadae976: Verifying Checksum [2022-07-07T21:59:16.803Z] bd5fdadae976: Download complete [2022-07-07T21:59:16.803Z] bdb3f477010e: Verifying Checksum [2022-07-07T21:59:16.803Z] bdb3f477010e: Download complete [2022-07-07T21:59:16.803Z] 2c6e9b1d212d: Download complete [2022-07-07T21:59:16.803Z] bdb8f0575790: Verifying Checksum [2022-07-07T21:59:16.803Z] bdb8f0575790: Download complete [2022-07-07T21:59:16.803Z] 386e3cb2ff24: Download complete [2022-07-07T21:59:16.803Z] 2343380bae48: Verifying Checksum [2022-07-07T21:59:16.803Z] 2343380bae48: Download complete [2022-07-07T21:59:16.803Z] 42c077c10790: Verifying Checksum [2022-07-07T21:59:16.803Z] 42c077c10790: Download complete [2022-07-07T21:59:17.065Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-07T21:59:17.065Z] c8a8fc8e1c8f: Download complete [2022-07-07T21:59:18.461Z] 42c077c10790: Pull complete [2022-07-07T21:59:18.461Z] f63e77b7563a: Pull complete [2022-07-07T21:59:19.036Z] bd5fdadae976: Pull complete [2022-07-07T21:59:19.036Z] 205491f53016: Pull complete [2022-07-07T21:59:19.608Z] df18705c85c3: Pull complete [2022-07-07T21:59:19.608Z] bdb3f477010e: Pull complete [2022-07-07T21:59:21.523Z] c8a8fc8e1c8f: Pull complete [2022-07-07T21:59:21.785Z] 2c6e9b1d212d: Pull complete [2022-07-07T21:59:21.785Z] bdb8f0575790: Pull complete [2022-07-07T21:59:22.048Z] 386e3cb2ff24: Pull complete [2022-07-07T21:59:22.048Z] 2343380bae48: Pull complete [2022-07-07T21:59:22.048Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T21:59:22.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T21:59:22.048Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T21:59:22.269Z] prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container [2022-07-07T21:59:22.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-07T21:59:24.062Z] $ docker top 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 -eo pid,comm [2022-07-07T21:59:24.121Z] 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-07-07T21:59:24.121Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T21:59:24.242Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T21:59:24.242Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T21:59:24.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T21:59:24.395Z] $ docker exec 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent [2022-07-07T21:59:24.511Z] SSH_AUTH_SOCK=/tmp/ssh-GpMVIXP9hfG0/agent.32 [2022-07-07T21:59:24.511Z] SSH_AGENT_PID=38 [2022-07-07T21:59:24.518Z] Running ssh-add (command line suppressed) [2022-07-07T21:59:24.655Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_6625654140778192869.key (/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_6625654140778192869.key) [2022-07-07T21:59:24.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T21:59:25.004Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T21:59:25.044Z] $ docker exec --env ******** --env ******** 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent -k [2022-07-07T21:59:25.165Z] unset SSH_AUTH_SOCK; [2022-07-07T21:59:25.165Z] unset SSH_AGENT_PID; [2022-07-07T21:59:25.165Z] echo Agent pid 38 killed; [2022-07-07T21:59:25.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T21:59:25.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T21:59:25.258Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T21:59:25.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T21:59:25.408Z] $ docker exec 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent [2022-07-07T21:59:25.525Z] SSH_AUTH_SOCK=/tmp/ssh-KiF4PVP6CKp6/agent.71 [2022-07-07T21:59:25.525Z] SSH_AGENT_PID=77 [2022-07-07T21:59:25.532Z] Running ssh-add (command line suppressed) [2022-07-07T21:59:25.668Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_8134361638440153369.key (/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/private_key_8134361638440153369.key) [2022-07-07T21:59:25.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T21:59:26.021Z] + git semver init [2022-07-07T21:59:26.282Z] 2022-07-07 21:59:26,212 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T21:59:26.282Z] 2022-07-07 21:59:26,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver [2022-07-07T21:59:26.282Z] 2022-07-07 21:59:26,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-205/.semver [2022-07-07T21:59:26.282Z] 2022-07-07 21:59:26,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-205/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205, universal_newlines=False, shell=None, istream=None) [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,096 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-205/.git/info/exclude [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,097 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 with force:False [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,097 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,101 [execute] INFO git cat-file --batch-check [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,107 [execute] INFO git cat-file --batch [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,108 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-205/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T21:59:27.229Z] 2022-07-07 21:59:27,113 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-205/.semver/PR-205 [2022-07-07T21:59:27.229Z] 0.0.0 [Pipeline] } [2022-07-07T21:59:27.259Z] $ docker exec --env ******** --env ******** 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 ssh-agent -k [2022-07-07T21:59:27.370Z] unset SSH_AUTH_SOCK; [2022-07-07T21:59:27.371Z] unset SSH_AGENT_PID; [2022-07-07T21:59:27.371Z] echo Agent pid 77 killed; [2022-07-07T21:59:27.376Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T21:59:27.806Z] + git semver [Pipeline] } [2022-07-07T21:59:28.098Z] $ docker stop --time=1 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 [2022-07-07T21:59:29.438Z] $ docker rm -f 160f209645fe5c114c5682ab9a686d0dea833ac4266e919b703c4fdfd4b9b1e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T21:59:29.862Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T21:59:30.174Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T21:59:30.190Z] [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-07-07T21:59:30.752Z] provisioning config files... [2022-07-07T21:59:30.761Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config3774231659484829657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T21:59:31.102Z] ---> docker-login.sh [2022-07-07T21:59:31.102Z] nexus3.edgexfoundry.org:10001 [2022-07-07T21:59:31.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:31.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:31.102Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:31.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:31.102Z] [2022-07-07T21:59:31.102Z] Login Succeeded [2022-07-07T21:59:31.102Z] nexus3.edgexfoundry.org:10002 [2022-07-07T21:59:31.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:31.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:31.362Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:31.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:31.362Z] [2022-07-07T21:59:31.362Z] Login Succeeded [2022-07-07T21:59:31.362Z] nexus3.edgexfoundry.org:10003 [2022-07-07T21:59:31.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:31.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:31.362Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:31.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:31.362Z] [2022-07-07T21:59:31.362Z] Login Succeeded [2022-07-07T21:59:31.362Z] nexus3.edgexfoundry.org:10004 [2022-07-07T21:59:31.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:31.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:31.623Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:31.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:31.623Z] [2022-07-07T21:59:31.623Z] Login Succeeded [2022-07-07T21:59:31.623Z] docker.io [2022-07-07T21:59:31.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T21:59:31.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T21:59:31.882Z] Configure a credential helper to remove this warning. See [2022-07-07T21:59:31.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T21:59:31.882Z] [2022-07-07T21:59:31.882Z] Login Succeeded [2022-07-07T21:59:31.882Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T21:59:31.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T21:59:32.086Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T21:59:32.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T21:59:32.162Z] ========================================================= [2022-07-07T21:59:32.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T21:59:32.162Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T21:59:32.635Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T21:59:32.635Z] Sending build context to Docker daemon 10.68MB [2022-07-07T21:59:32.635Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-07T21:59:32.635Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T21:59:32.635Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T21:59:32.635Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T21:59:32.635Z] 666ba61612fd: Pulling fs layer [2022-07-07T21:59:32.635Z] 8ed8ca486205: Pulling fs layer [2022-07-07T21:59:32.635Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T21:59:32.635Z] c516ae0d96e1: Pulling fs layer [2022-07-07T21:59:32.635Z] 684cea983483: Pulling fs layer [2022-07-07T21:59:32.635Z] dd3240ac7de5: Pulling fs layer [2022-07-07T21:59:32.635Z] b1e948a4e11c: Pulling fs layer [2022-07-07T21:59:32.635Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T21:59:32.635Z] 646ad004c059: Pulling fs layer [2022-07-07T21:59:32.635Z] cc1cd167ecdc: Waiting [2022-07-07T21:59:32.635Z] c516ae0d96e1: Waiting [2022-07-07T21:59:32.635Z] 684cea983483: Waiting [2022-07-07T21:59:32.635Z] a8fd76ee1af6: Waiting [2022-07-07T21:59:32.635Z] dd3240ac7de5: Waiting [2022-07-07T21:59:32.635Z] b1e948a4e11c: Waiting [2022-07-07T21:59:32.635Z] 646ad004c059: Waiting [2022-07-07T21:59:32.904Z] 8ed8ca486205: Verifying Checksum [2022-07-07T21:59:32.904Z] 8ed8ca486205: Download complete [2022-07-07T21:59:32.904Z] 666ba61612fd: Verifying Checksum [2022-07-07T21:59:32.904Z] 666ba61612fd: Download complete [2022-07-07T21:59:32.904Z] c516ae0d96e1: Verifying Checksum [2022-07-07T21:59:32.904Z] c516ae0d96e1: Download complete [2022-07-07T21:59:32.904Z] 684cea983483: Verifying Checksum [2022-07-07T21:59:32.904Z] 684cea983483: Download complete [2022-07-07T21:59:32.904Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T21:59:32.904Z] 59bf1c3509f3: Download complete [2022-07-07T21:59:32.904Z] dd3240ac7de5: Verifying Checksum [2022-07-07T21:59:32.904Z] dd3240ac7de5: Download complete [2022-07-07T21:59:32.904Z] b1e948a4e11c: Verifying Checksum [2022-07-07T21:59:32.904Z] b1e948a4e11c: Download complete [2022-07-07T21:59:32.904Z] 59bf1c3509f3: Pull complete [2022-07-07T21:59:33.176Z] 666ba61612fd: Pull complete [2022-07-07T21:59:33.176Z] 8ed8ca486205: Pull complete [2022-07-07T21:59:33.771Z] cc1cd167ecdc: Download complete [2022-07-07T21:59:33.771Z] a8fd76ee1af6: Verifying Checksum [2022-07-07T21:59:33.771Z] a8fd76ee1af6: Download complete [2022-07-07T21:59:33.771Z] 646ad004c059: Verifying Checksum [2022-07-07T21:59:33.771Z] 646ad004c059: Download complete [2022-07-07T21:59:37.978Z] cc1cd167ecdc: Pull complete [2022-07-07T21:59:37.978Z] c516ae0d96e1: Pull complete [2022-07-07T21:59:37.978Z] 684cea983483: Pull complete [2022-07-07T21:59:37.978Z] dd3240ac7de5: Pull complete [2022-07-07T21:59:38.238Z] b1e948a4e11c: Pull complete [2022-07-07T21:59:40.779Z] a8fd76ee1af6: Pull complete [2022-07-07T21:59:41.357Z] 646ad004c059: Pull complete [2022-07-07T21:59:41.357Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T21:59:41.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T21:59:41.357Z] ---> 8f69c11f6b0c [2022-07-07T21:59:41.357Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T21:59:43.913Z] ---> Running in 7419edc34ca3 [2022-07-07T21:59:43.913Z] Removing intermediate container 7419edc34ca3 [2022-07-07T21:59:43.913Z] ---> 0726da8e8629 [2022-07-07T21:59:43.913Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T21:59:43.914Z] ---> Running in 046a671c460e [2022-07-07T21:59:43.914Z] Removing intermediate container 046a671c460e [2022-07-07T21:59:43.914Z] ---> 609229e7914e [2022-07-07T21:59:43.914Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T21:59:43.914Z] ---> Running in f46f08d0c39a [2022-07-07T21:59:43.914Z] Removing intermediate container f46f08d0c39a [2022-07-07T21:59:43.914Z] ---> db6d9a750e89 [2022-07-07T21:59:43.914Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T21:59:43.914Z] ---> Running in 834a6cb80c94 [2022-07-07T21:59:44.854Z] Removing intermediate container 834a6cb80c94 [2022-07-07T21:59:44.854Z] ---> 1ac0b9e94ee3 [2022-07-07T21:59:44.854Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T21:59:44.854Z] ---> Running in 5ddb79e46691 [2022-07-07T21:59:45.127Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T21:59:45.565Z] Still waiting to schedule task [2022-07-07T21:59:45.566Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17191’ is offline [2022-07-07T21:59:46.074Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T21:59:46.335Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T21:59:46.335Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T21:59:46.335Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T21:59:46.596Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T21:59:46.596Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T21:59:46.596Z] OK: 224 MiB in 56 packages [2022-07-07T21:59:47.178Z] Removing intermediate container 5ddb79e46691 [2022-07-07T21:59:47.178Z] ---> 3827e8693593 [2022-07-07T21:59:47.178Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T21:59:47.178Z] ---> Running in 45dae14e66ce [2022-07-07T21:59:47.178Z] Removing intermediate container 45dae14e66ce [2022-07-07T21:59:47.178Z] ---> a9afee9a4aea [2022-07-07T21:59:47.178Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T21:59:47.178Z] ---> 1bea2e73aa54 [2022-07-07T21:59:47.178Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T21:59:47.439Z] ---> Running in cc503c4f80a7 [2022-07-07T22:00:05.574Z] Removing intermediate container cc503c4f80a7 [2022-07-07T22:00:05.574Z] ---> 849a7d2df3b2 [2022-07-07T22:00:05.574Z] Step 11/12 : COPY . . [2022-07-07T22:00:05.574Z] ---> 91723ae3dc53 [2022-07-07T22:00:05.574Z] Step 12/12 : RUN $MAKE [2022-07-07T22:00:05.574Z] ---> Running in 87af09efc804 [2022-07-07T22:00:05.574Z] noop [2022-07-07T22:00:05.574Z] Removing intermediate container 87af09efc804 [2022-07-07T22:00:05.574Z] ---> f977ef016b0c [2022-07-07T22:00:05.574Z] Successfully built f977ef016b0c [2022-07-07T22:00:05.574Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:00:06.014Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T22:00:06.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:00:06.174Z] prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container [2022-07-07T22:00:06.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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 ******** ci-base-image-x86_64 cat [2022-07-07T22:00:06.690Z] $ docker top accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T22:00:07.198Z] + go version [2022-07-07T22:00:07.198Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T22:00:07.239Z] $ docker stop --time=1 accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 [2022-07-07T22:00:08.526Z] $ docker rm -f accb808f14f8cd398530af11d09bdf3494ccd3aa1690d1ef607f64d8e34e1c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:00:09.244Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T22:00:09.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:00:09.402Z] prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container [2022-07-07T22:00:09.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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 ******** ci-base-image-x86_64 cat [2022-07-07T22:00:09.845Z] $ docker top f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T22:00:10.298Z] + make test [2022-07-07T22:00:10.298Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T22:00:10.559Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T22:00:20.548Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T22:00:20.548Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-07-07T22:00:28.683Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T22:00:31.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T22:00:31.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T22:00:31.980Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T22:00:32.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T22:00:32.302Z] $ docker stop --time=1 f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 [2022-07-07T22:00:34.121Z] $ docker rm -f f4e79314cd69ab08b12aa79b7cb87e6e92b4affa7730701d281d21c1559ad509 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T22:00:34.656Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T22:00:34.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T22:00:35.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T22:00:35.678Z] + ls -al . [2022-07-07T22:00:35.678Z] total 172 [2022-07-07T22:00:35.678Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 22:00 . [2022-07-07T22:00:35.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:59 .. [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 21:59 .dockerignore [2022-07-07T22:00:35.678Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 21:59 .git [2022-07-07T22:00:35.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:59 .github [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 21:59 .gitignore [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 21:59 .golangci.yml [2022-07-07T22:00:35.678Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 21:59 .semver [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 21:59 Attribution.txt [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 21:59 CHANGELOG.md [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 7 21:59 Dockerfile [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 21:59 GOVERNANCE.md [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 21:59 Jenkinsfile [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 21:59 LICENSE [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 7 21:59 Makefile [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 21:59 OWNERS.md [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 21:59 README.md [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:59 VERSION [2022-07-07T22:00:35.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:59 bin [2022-07-07T22:00:35.678Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 21:59 cmd [2022-07-07T22:00:35.678Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 22:00 coverage.out [2022-07-07T22:00:35.678Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 21:59 driver [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 21:59 go.mod [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 7 21:59 go.sum [2022-07-07T22:00:35.678Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 21:59 snap [2022-07-07T22:00:35.678Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 21:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:00:36.063Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 --label arch=amd64 --label version=0.0.0 . [2022-07-07T22:00:36.063Z] Sending build context to Docker daemon 10.69MB [2022-07-07T22:00:36.063Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-07T22:00:36.063Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T22:00:36.063Z] ---> f977ef016b0c [2022-07-07T22:00:36.063Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T22:00:36.324Z] ---> Running in 95da87d6ba79 [2022-07-07T22:00:36.324Z] Removing intermediate container 95da87d6ba79 [2022-07-07T22:00:36.324Z] ---> 5e8aaaad8dc0 [2022-07-07T22:00:36.324Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T22:00:36.324Z] ---> Running in 2b1666658138 [2022-07-07T22:00:36.324Z] Removing intermediate container 2b1666658138 [2022-07-07T22:00:36.324Z] ---> 0d3d0bfa5952 [2022-07-07T22:00:36.324Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T22:00:36.585Z] ---> Running in 4359bfb94a70 [2022-07-07T22:00:36.585Z] Removing intermediate container 4359bfb94a70 [2022-07-07T22:00:36.585Z] ---> 99bd04eb5ce6 [2022-07-07T22:00:36.585Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T22:00:36.585Z] ---> Running in 00a5c7879523 [2022-07-07T22:00:37.158Z] Removing intermediate container 00a5c7879523 [2022-07-07T22:00:37.158Z] ---> 9c03efa8d564 [2022-07-07T22:00:37.158Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T22:00:37.158Z] ---> Running in ff0ffe1e788c [2022-07-07T22:00:37.734Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T22:00:38.307Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T22:00:38.879Z] OK: 224 MiB in 56 packages [2022-07-07T22:00:39.140Z] Removing intermediate container ff0ffe1e788c [2022-07-07T22:00:39.140Z] ---> b0a99a7573ee [2022-07-07T22:00:39.140Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T22:00:39.140Z] ---> Running in 1a7aa3c75101 [2022-07-07T22:00:39.140Z] Removing intermediate container 1a7aa3c75101 [2022-07-07T22:00:39.140Z] ---> 4d21759dac29 [2022-07-07T22:00:39.140Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T22:00:39.404Z] ---> 9bacf3283807 [2022-07-07T22:00:39.404Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T22:00:39.404Z] ---> Running in 8ea22c264ca0 [2022-07-07T22:00:39.976Z] Removing intermediate container 8ea22c264ca0 [2022-07-07T22:00:39.976Z] ---> 228cc66b652a [2022-07-07T22:00:39.976Z] Step 11/25 : COPY . . [2022-07-07T22:00:40.546Z] ---> ac92df90c905 [2022-07-07T22:00:40.547Z] Step 12/25 : RUN $MAKE [2022-07-07T22:00:40.547Z] ---> Running in 8370e68929ed [2022-07-07T22:00:40.807Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-07T22:01:02.804Z] Removing intermediate container 8370e68929ed [2022-07-07T22:01:02.804Z] ---> 38b14eb77fbb [2022-07-07T22:01:02.804Z] Step 13/25 : FROM alpine:3.16 [2022-07-07T22:01:02.804Z] 3.16: Pulling from library/alpine [2022-07-07T22:01:02.804Z] 2408cc74d12b: Pulling fs layer [2022-07-07T22:01:02.804Z] 2408cc74d12b: Verifying Checksum [2022-07-07T22:01:02.804Z] 2408cc74d12b: Download complete [2022-07-07T22:01:02.804Z] 2408cc74d12b: Pull complete [2022-07-07T22:01:02.804Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-07T22:01:02.804Z] Status: Downloaded newer image for alpine:3.16 [2022-07-07T22:01:02.804Z] ---> e66264b98777 [2022-07-07T22:01:02.804Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-07T22:01:03.075Z] ---> Running in 27aa7bd04fa6 [2022-07-07T22:01:03.075Z] Removing intermediate container 27aa7bd04fa6 [2022-07-07T22:01:03.075Z] ---> e874aa7a3751 [2022-07-07T22:01:03.075Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T22:01:03.075Z] ---> Running in c81998348b31 [2022-07-07T22:01:03.336Z] Removing intermediate container c81998348b31 [2022-07-07T22:01:03.336Z] ---> fb200659ad8e [2022-07-07T22:01:03.336Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T22:01:03.336Z] ---> Running in bfd31d03ca41 [2022-07-07T22:01:03.597Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-07T22:01:03.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-07T22:01:03.860Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T22:01:03.860Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-07T22:01:03.860Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T22:01:03.860Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-07T22:01:04.120Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T22:01:04.120Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T22:01:04.120Z] Executing busybox-1.35.0-r13.trigger [2022-07-07T22:01:04.120Z] OK: 8 MiB in 20 packages [2022-07-07T22:01:04.382Z] Removing intermediate container bfd31d03ca41 [2022-07-07T22:01:04.382Z] ---> a8f5f749ecca [2022-07-07T22:01:04.382Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T22:01:05.323Z] ---> 94455813abf7 [2022-07-07T22:01:05.323Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T22:01:05.323Z] ---> 2fbdc7a467d1 [2022-07-07T22:01:05.323Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T22:01:05.584Z] ---> f8f8a5dddc5b [2022-07-07T22:01:05.584Z] Step 20/25 : EXPOSE 59986 [2022-07-07T22:01:05.584Z] ---> Running in 10de37d54115 [2022-07-07T22:01:05.584Z] Removing intermediate container 10de37d54115 [2022-07-07T22:01:05.584Z] ---> 7c4e8aefbeb0 [2022-07-07T22:01:05.584Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T22:01:05.584Z] ---> Running in 9baaa9993267 [2022-07-07T22:01:05.845Z] Removing intermediate container 9baaa9993267 [2022-07-07T22:01:05.845Z] ---> 10d147f79224 [2022-07-07T22:01:05.845Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T22:01:05.845Z] ---> Running in 1eaea244fd21 [2022-07-07T22:01:05.845Z] Removing intermediate container 1eaea244fd21 [2022-07-07T22:01:05.845Z] ---> 8faefbe38aa2 [2022-07-07T22:01:05.845Z] Step 23/25 : LABEL arch=amd64 [2022-07-07T22:01:05.845Z] ---> Running in eea95e0f108e [2022-07-07T22:01:06.106Z] Removing intermediate container eea95e0f108e [2022-07-07T22:01:06.106Z] ---> 28b08b2a3e39 [2022-07-07T22:01:06.106Z] Step 24/25 : LABEL git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 [2022-07-07T22:01:06.106Z] ---> Running in 1f068087bc1c [2022-07-07T22:01:06.106Z] Removing intermediate container 1f068087bc1c [2022-07-07T22:01:06.106Z] ---> 9864a5c490f5 [2022-07-07T22:01:06.106Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T22:01:06.106Z] ---> Running in 70c05d929d5e [2022-07-07T22:01:06.375Z] Removing intermediate container 70c05d929d5e [2022-07-07T22:01:06.375Z] ---> 2d2b82a85bad [2022-07-07T22:01:06.375Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T22:01:06.375Z] Successfully built 2d2b82a85bad [2022-07-07T22:01:06.375Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:01:07.229Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T22:01:07.229Z] [2022-07-07T22:01:07.229Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:01:07.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T22:01:07.611Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T22:01:07.611Z] 5eb5b503b376: Pulling fs layer [2022-07-07T22:01:07.611Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T22:01:07.611Z] ec43610c2a17: Pulling fs layer [2022-07-07T22:01:07.611Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T22:01:07.611Z] 33b1e0a273af: Pulling fs layer [2022-07-07T22:01:07.611Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T22:01:07.611Z] 2f39f015ded8: Pulling fs layer [2022-07-07T22:01:07.611Z] 3a2ae6a8a46f: Waiting [2022-07-07T22:01:07.611Z] 33b1e0a273af: Waiting [2022-07-07T22:01:07.611Z] 5d3b04190fa2: Waiting [2022-07-07T22:01:07.611Z] 2f39f015ded8: Waiting [2022-07-07T22:01:07.611Z] 5c69ac0246d0: Download complete [2022-07-07T22:01:07.611Z] 3a2ae6a8a46f: Download complete [2022-07-07T22:01:07.611Z] 33b1e0a273af: Verifying Checksum [2022-07-07T22:01:07.611Z] 33b1e0a273af: Download complete [2022-07-07T22:01:07.611Z] ec43610c2a17: Verifying Checksum [2022-07-07T22:01:07.611Z] ec43610c2a17: Download complete [2022-07-07T22:01:07.870Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T22:01:07.870Z] 5d3b04190fa2: Download complete [2022-07-07T22:01:07.870Z] 5eb5b503b376: Verifying Checksum [2022-07-07T22:01:07.870Z] 5eb5b503b376: Download complete [2022-07-07T22:01:08.438Z] 2f39f015ded8: Download complete [2022-07-07T22:01:09.379Z] 5eb5b503b376: Pull complete [2022-07-07T22:01:09.379Z] 5c69ac0246d0: Pull complete [2022-07-07T22:01:09.948Z] ec43610c2a17: Pull complete [2022-07-07T22:01:09.948Z] 3a2ae6a8a46f: Pull complete [2022-07-07T22:01:10.209Z] 33b1e0a273af: Pull complete [2022-07-07T22:01:10.209Z] 5d3b04190fa2: Pull complete [2022-07-07T22:01:15.490Z] 2f39f015ded8: Pull complete [2022-07-07T22:01:15.490Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T22:01:15.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T22:01:15.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:01:15.724Z] prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container [2022-07-07T22:01:15.764Z] $ 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-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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-07-07T22:01:16.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17194 in /w/workspace/gexfoundry_device-rest-go_PR-205 [2022-07-07T22:01:17.637Z] $ docker top 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-07-07T22:01:17.904Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-07-07T22:01:17.971Z] The recommended git tool is: git [2022-07-07T22:01:18.130Z] ---> job-cost.sh [2022-07-07T22:01:18.130Z] lf-activate-venv: SKIPPING [2022-07-07T22:01:18.130Z] INFO: No Stack... [2022-07-07T22:01:18.393Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T22:01:18.963Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T22:01:19.299Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-205/archives/cost.csv [2022-07-07T22:01:19.299Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T22:01:19.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [2022-07-07T22:01:19.391Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] did not exist. Created. [2022-07-07T22:01:19.391Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T22:01:19.809Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T22:01:19.857Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T22:01:19.881Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T22:01:19.964Z] $ docker stop --time=1 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 [2022-07-07T22:01:21.189Z] $ docker rm -f 014fbcac6e39a8c9308bb96160ad8519975ba3fbdc31199477c7348eda333065 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T22:01:23.338Z] using credential edgex-jenkins-ssh [2022-07-07T22:01:23.356Z] Cloning the remote Git repository [2022-07-07T22:01:23.419Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T22:01:23.490Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-07-07T22:01:23.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T22:01:23.565Z] > git --version # timeout=10 [2022-07-07T22:01:23.583Z] > git --version # 'git version 2.25.1' [2022-07-07T22:01:23.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T22:01:23.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T22:01:25.405Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T22:01:25.472Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T22:01:26.164Z] Merging remotes/origin/main commit deaabcb9638c408d38a62ca07687bca64c62376f into PR head commit 56a929b58b76fdc0c9b70be91cb644b567c19238 [2022-07-07T22:01:26.433Z] Merge succeeded, producing 56a929b58b76fdc0c9b70be91cb644b567c19238 [2022-07-07T22:01:26.433Z] Checking out Revision 56a929b58b76fdc0c9b70be91cb644b567c19238 (PR-205) [2022-07-07T22:01:25.546Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T22:01:25.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T22:01:25.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T22:01:25.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/205/head:refs/remotes/origin/PR-205 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T22:01:26.190Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T22:01:26.211Z] > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 [2022-07-07T22:01:26.312Z] > git remote # timeout=10 [2022-07-07T22:01:26.338Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T22:01:26.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T22:01:26.373Z] > git merge deaabcb9638c408d38a62ca07687bca64c62376f # timeout=10 [2022-07-07T22:01:26.403Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T22:01:26.444Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T22:01:26.457Z] > git checkout -f 56a929b58b76fdc0c9b70be91cb644b567c19238 # timeout=10 [2022-07-07T22:01:30.607Z] Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" [2022-07-07T22:01:30.666Z] > git --version # timeout=10 [2022-07-07T22:01:30.677Z] > git --version # 'git version 2.25.1' [2022-07-07T22:01:30.692Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T22:01:31.676Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T22:01:31.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T22:01:31.676Z] Dload Upload Total Spent Left Speed [2022-07-07T22:01:31.676Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 98208 0 --:--:-- --:--:-- --:--:-- 99000 [Pipeline] sh [2022-07-07T22:01:32.366Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T22:01:32.790Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T22:01:32.790Z] + sudo tee /etc/docker/daemon.new [2022-07-07T22:01:32.790Z] { [2022-07-07T22:01:32.790Z] "registry-mirrors": [ [2022-07-07T22:01:32.790Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T22:01:32.790Z] ], [2022-07-07T22:01:32.790Z] "bip": "10.250.0.254/24", [2022-07-07T22:01:32.790Z] "hosts": [ [2022-07-07T22:01:32.790Z] "tcp://0.0.0.0:5555", [2022-07-07T22:01:32.790Z] "unix:///var/run/docker.sock" [2022-07-07T22:01:32.790Z] ], [2022-07-07T22:01:32.790Z] "mtu": 1458, [2022-07-07T22:01:32.790Z] "selinux-enabled": true, [2022-07-07T22:01:32.790Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T22:01:32.790Z] } [Pipeline] sh [2022-07-07T22:01:33.146Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T22:01:33.497Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T22:01:52.047Z] provisioning config files... [2022-07-07T22:01:52.073Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3520521200309371878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:01:52.469Z] ---> docker-login.sh [2022-07-07T22:01:52.469Z] nexus3.edgexfoundry.org:10001 [2022-07-07T22:01:53.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T22:01:53.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T22:01:53.342Z] Configure a credential helper to remove this warning. See [2022-07-07T22:01:53.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T22:01:53.342Z] [2022-07-07T22:01:53.342Z] Login Succeeded [2022-07-07T22:01:53.342Z] nexus3.edgexfoundry.org:10002 [2022-07-07T22:01:53.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T22:01:53.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T22:01:53.887Z] Configure a credential helper to remove this warning. See [2022-07-07T22:01:53.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T22:01:53.887Z] [2022-07-07T22:01:53.887Z] Login Succeeded [2022-07-07T22:01:53.887Z] nexus3.edgexfoundry.org:10003 [2022-07-07T22:01:54.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T22:01:54.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T22:01:54.165Z] Configure a credential helper to remove this warning. See [2022-07-07T22:01:54.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T22:01:54.165Z] [2022-07-07T22:01:54.165Z] Login Succeeded [2022-07-07T22:01:54.165Z] nexus3.edgexfoundry.org:10004 [2022-07-07T22:01:54.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T22:01:54.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T22:01:54.757Z] Configure a credential helper to remove this warning. See [2022-07-07T22:01:54.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T22:01:54.757Z] [2022-07-07T22:01:54.757Z] Login Succeeded [2022-07-07T22:01:54.757Z] docker.io [2022-07-07T22:01:55.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T22:01:55.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T22:01:55.625Z] Configure a credential helper to remove this warning. See [2022-07-07T22:01:55.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T22:01:55.625Z] [2022-07-07T22:01:55.625Z] Login Succeeded [2022-07-07T22:01:55.625Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T22:01:55.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T22:01:56.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T22:01:56.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T22:01:56.083Z] ========================================================= [2022-07-07T22:01:56.083Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T22:01:56.083Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:01:56.605Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T22:01:56.605Z] Sending build context to Docker daemon 126.5kB [2022-07-07T22:01:56.879Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-07T22:01:56.879Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T22:01:56.879Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T22:01:56.879Z] 9b3977197b4f: Pulling fs layer [2022-07-07T22:01:56.879Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T22:01:56.879Z] 94645a83ff95: Pulling fs layer [2022-07-07T22:01:56.879Z] e6fb740bc735: Pulling fs layer [2022-07-07T22:01:56.879Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T22:01:56.879Z] 355e64cbe906: Pulling fs layer [2022-07-07T22:01:56.879Z] 63ab81a10011: Pulling fs layer [2022-07-07T22:01:56.879Z] 555d1d1c4555: Pulling fs layer [2022-07-07T22:01:56.879Z] 7d9057610161: Pulling fs layer [2022-07-07T22:01:56.879Z] 63ab81a10011: Waiting [2022-07-07T22:01:56.879Z] e6fb740bc735: Waiting [2022-07-07T22:01:56.879Z] 3a77bd46dcc9: Waiting [2022-07-07T22:01:56.879Z] 555d1d1c4555: Waiting [2022-07-07T22:01:56.879Z] 7d9057610161: Waiting [2022-07-07T22:01:56.879Z] 355e64cbe906: Waiting [2022-07-07T22:01:57.167Z] 94645a83ff95: Verifying Checksum [2022-07-07T22:01:57.167Z] 94645a83ff95: Download complete [2022-07-07T22:01:57.167Z] 1a89e8eeedd5: Verifying Checksum [2022-07-07T22:01:57.167Z] 1a89e8eeedd5: Download complete [2022-07-07T22:01:57.167Z] 3a77bd46dcc9: Verifying Checksum [2022-07-07T22:01:57.167Z] 3a77bd46dcc9: Download complete [2022-07-07T22:01:57.167Z] 355e64cbe906: Verifying Checksum [2022-07-07T22:01:57.167Z] 355e64cbe906: Download complete [2022-07-07T22:01:57.167Z] 63ab81a10011: Verifying Checksum [2022-07-07T22:01:57.167Z] 63ab81a10011: Download complete [2022-07-07T22:01:57.167Z] 9b3977197b4f: Verifying Checksum [2022-07-07T22:01:57.167Z] 9b3977197b4f: Download complete [2022-07-07T22:01:58.164Z] 9b3977197b4f: Pull complete [2022-07-07T22:01:58.164Z] 7d9057610161: Verifying Checksum [2022-07-07T22:01:58.164Z] 7d9057610161: Download complete [2022-07-07T22:01:58.776Z] 1a89e8eeedd5: Pull complete [2022-07-07T22:01:59.050Z] 94645a83ff95: Pull complete [2022-07-07T22:01:59.321Z] 555d1d1c4555: Verifying Checksum [2022-07-07T22:01:59.321Z] 555d1d1c4555: Download complete [2022-07-07T22:01:59.914Z] e6fb740bc735: Verifying Checksum [2022-07-07T22:01:59.914Z] e6fb740bc735: Download complete [2022-07-07T22:02:12.293Z] e6fb740bc735: Pull complete [2022-07-07T22:02:12.293Z] 3a77bd46dcc9: Pull complete [2022-07-07T22:02:12.293Z] 355e64cbe906: Pull complete [2022-07-07T22:02:12.293Z] 63ab81a10011: Pull complete [2022-07-07T22:02:17.707Z] 555d1d1c4555: Pull complete [2022-07-07T22:02:19.144Z] 7d9057610161: Pull complete [2022-07-07T22:02:19.144Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T22:02:19.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T22:02:19.144Z] ---> 819e984ddca1 [2022-07-07T22:02:19.144Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T22:02:20.585Z] ---> Running in 4c19adb258e2 [2022-07-07T22:02:20.860Z] Removing intermediate container 4c19adb258e2 [2022-07-07T22:02:20.860Z] ---> f56584b2ccd3 [2022-07-07T22:02:20.860Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T22:02:21.134Z] ---> Running in 1d799f669d42 [2022-07-07T22:02:21.408Z] Removing intermediate container 1d799f669d42 [2022-07-07T22:02:21.408Z] ---> 20ea20331f0b [2022-07-07T22:02:21.408Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T22:02:21.408Z] ---> Running in 00728c3d4c98 [2022-07-07T22:02:21.686Z] Removing intermediate container 00728c3d4c98 [2022-07-07T22:02:21.686Z] ---> 61c6eea41b27 [2022-07-07T22:02:21.686Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T22:02:21.967Z] ---> Running in 89f3f3d2c008 [2022-07-07T22:02:24.597Z] Removing intermediate container 89f3f3d2c008 [2022-07-07T22:02:24.597Z] ---> a291b7abefac [2022-07-07T22:02:24.597Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T22:02:24.882Z] ---> Running in 057b6852621a [2022-07-07T22:02:25.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T22:02:26.849Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T22:02:27.443Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T22:02:27.717Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T22:02:27.717Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T22:02:27.991Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T22:02:27.991Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T22:02:27.991Z] OK: 224 MiB in 56 packages [2022-07-07T22:02:28.974Z] Removing intermediate container 057b6852621a [2022-07-07T22:02:28.974Z] ---> 76d54dfbd747 [2022-07-07T22:02:28.974Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T22:02:29.250Z] ---> Running in bdfa9b71e731 [2022-07-07T22:02:29.528Z] Removing intermediate container bdfa9b71e731 [2022-07-07T22:02:29.528Z] ---> 8f8d066c8834 [2022-07-07T22:02:29.528Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T22:02:30.126Z] ---> ec06bcab4fa5 [2022-07-07T22:02:30.126Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T22:02:30.126Z] ---> Running in 006102f89f96 [2022-07-07T22:03:17.114Z] Removing intermediate container 006102f89f96 [2022-07-07T22:03:17.114Z] ---> 94d1411dc93f [2022-07-07T22:03:17.114Z] Step 11/12 : COPY . . [2022-07-07T22:03:17.114Z] ---> f243c0339989 [2022-07-07T22:03:17.114Z] Step 12/12 : RUN $MAKE [2022-07-07T22:03:17.114Z] ---> Running in 7a8f31d44008 [2022-07-07T22:03:17.114Z] noop [2022-07-07T22:03:17.114Z] Removing intermediate container 7a8f31d44008 [2022-07-07T22:03:17.114Z] ---> 2399a94e45dc [2022-07-07T22:03:17.114Z] Successfully built 2399a94e45dc [2022-07-07T22:03:17.114Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:03:17.612Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T22:03:17.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:03:17.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container [2022-07-07T22:03:18.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T22:03:19.351Z] $ docker top 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T22:03:20.318Z] + go version [2022-07-07T22:03:20.318Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T22:03:20.358Z] $ docker stop --time=1 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 [2022-07-07T22:03:21.993Z] $ docker rm -f 0477e24e4da73d1eba5047018cdd3bd50f1862427a0f987d5fa17deb73237474 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:03:22.900Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T22:03:22.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:03:23.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container [2022-07-07T22:03:23.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T22:03:24.565Z] $ docker top 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T22:03:25.593Z] + make test [2022-07-07T22:03:25.593Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T22:03:27.580Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T22:04:49.443Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T22:04:49.443Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements [2022-07-07T22:04:49.443Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T22:04:49.443Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T22:05:16.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T22:05:16.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T22:05:16.258Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T22:05:16.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T22:05:16.335Z] $ docker stop --time=1 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 [2022-07-07T22:05:18.187Z] $ docker rm -f 11462c44b0fe32d79e36640261d27f2495587fc19fe527901a66d0665e82afd8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T22:05:19.309Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T22:05:19.348Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T22:05:20.019Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T22:05:20.653Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T22:05:21.071Z] + ls -al . [2022-07-07T22:05:21.071Z] total 168 [2022-07-07T22:05:21.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 22:03 . [2022-07-07T22:05:21.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 22:01 .. [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 22:01 .dockerignore [2022-07-07T22:05:21.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 22:01 .git [2022-07-07T22:05:21.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 22:01 .github [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 22:01 .gitignore [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 22:01 .golangci.yml [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 22:01 Attribution.txt [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 22:01 CHANGELOG.md [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 1674 Jul 7 22:01 Dockerfile [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 22:01 GOVERNANCE.md [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 22:01 Jenkinsfile [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 22:01 LICENSE [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 1964 Jul 7 22:01 Makefile [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 22:01 OWNERS.md [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 22:01 README.md [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 21:59 VERSION [2022-07-07T22:05:21.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 22:01 bin [2022-07-07T22:05:21.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 22:01 cmd [2022-07-07T22:05:21.071Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 22:04 coverage.out [2022-07-07T22:05:21.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 22:01 driver [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 22:01 go.mod [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 7 22:01 go.sum [2022-07-07T22:05:21.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 22:01 snap [2022-07-07T22:05:21.071Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:05:21.522Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 --label arch=arm64 --label version=0.0.0 . [2022-07-07T22:05:21.522Z] Sending build context to Docker daemon 136.7kB [2022-07-07T22:05:21.803Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-07T22:05:21.803Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T22:05:21.803Z] ---> 2399a94e45dc [2022-07-07T22:05:21.803Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T22:05:22.083Z] ---> Running in 9bfb3eb330e1 [2022-07-07T22:05:22.368Z] Removing intermediate container 9bfb3eb330e1 [2022-07-07T22:05:22.368Z] ---> 1165c116f085 [2022-07-07T22:05:22.368Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T22:05:22.368Z] ---> Running in 7855ac60edf6 [2022-07-07T22:05:22.642Z] Removing intermediate container 7855ac60edf6 [2022-07-07T22:05:22.642Z] ---> 90f784e2408c [2022-07-07T22:05:22.642Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T22:05:22.642Z] ---> Running in d8928ee2b0b7 [2022-07-07T22:05:23.253Z] Removing intermediate container d8928ee2b0b7 [2022-07-07T22:05:23.253Z] ---> f16d44601681 [2022-07-07T22:05:23.253Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T22:05:23.253Z] ---> Running in 6d752ca15af0 [2022-07-07T22:05:24.701Z] Removing intermediate container 6d752ca15af0 [2022-07-07T22:05:24.701Z] ---> 79697e65bb1b [2022-07-07T22:05:24.701Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T22:05:24.978Z] ---> Running in 2045a4cdd778 [2022-07-07T22:05:25.959Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T22:05:26.941Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T22:05:27.935Z] OK: 224 MiB in 56 packages [2022-07-07T22:05:28.535Z] Removing intermediate container 2045a4cdd778 [2022-07-07T22:05:28.535Z] ---> c0905c5b0eee [2022-07-07T22:05:28.535Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T22:05:28.535Z] ---> Running in 7a986065a7ce [2022-07-07T22:05:28.808Z] Removing intermediate container 7a986065a7ce [2022-07-07T22:05:28.808Z] ---> f373a2f6e6d2 [2022-07-07T22:05:28.808Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T22:05:29.412Z] ---> ead653f66ac8 [2022-07-07T22:05:29.412Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T22:05:29.412Z] ---> Running in 46abefac1d70 [2022-07-07T22:05:31.388Z] Removing intermediate container 46abefac1d70 [2022-07-07T22:05:31.388Z] ---> 15ff7ce00ed5 [2022-07-07T22:05:31.388Z] Step 11/25 : COPY . . [2022-07-07T22:05:31.992Z] ---> 3da335702b7d [2022-07-07T22:05:31.992Z] Step 12/25 : RUN $MAKE [2022-07-07T22:05:31.992Z] ---> Running in 550b0f7b6d66 [2022-07-07T22:05:32.973Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-07T22:07:39.825Z] Removing intermediate container 550b0f7b6d66 [2022-07-07T22:07:39.825Z] ---> 0f36797b2b2e [2022-07-07T22:07:39.825Z] Step 13/25 : FROM alpine:3.16 [2022-07-07T22:07:39.825Z] 3.16: Pulling from library/alpine [2022-07-07T22:07:39.825Z] b3c136eddcbf: Pulling fs layer [2022-07-07T22:07:40.099Z] b3c136eddcbf: Download complete [2022-07-07T22:07:40.697Z] b3c136eddcbf: Pull complete [2022-07-07T22:07:40.697Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-07T22:07:40.697Z] Status: Downloaded newer image for alpine:3.16 [2022-07-07T22:07:40.697Z] ---> 6e30ab57aeee [2022-07-07T22:07:40.697Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-07T22:07:40.974Z] ---> Running in d5ddbcb340c5 [2022-07-07T22:07:41.254Z] Removing intermediate container d5ddbcb340c5 [2022-07-07T22:07:41.255Z] ---> 1cedebeb8c24 [2022-07-07T22:07:41.255Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T22:07:41.255Z] ---> Running in e91fd6f6d832 [2022-07-07T22:07:41.855Z] Removing intermediate container e91fd6f6d832 [2022-07-07T22:07:41.855Z] ---> 87b167357259 [2022-07-07T22:07:41.855Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T22:07:41.855Z] ---> Running in 68b5fe5f6440 [2022-07-07T22:07:42.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-07T22:07:43.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-07T22:07:44.090Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T22:07:44.090Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-07T22:07:44.090Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T22:07:44.090Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-07T22:07:44.090Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T22:07:44.362Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T22:07:44.362Z] Executing busybox-1.35.0-r13.trigger [2022-07-07T22:07:44.362Z] OK: 8 MiB in 20 packages [2022-07-07T22:07:45.355Z] Removing intermediate container 68b5fe5f6440 [2022-07-07T22:07:45.355Z] ---> 0accac16b74b [2022-07-07T22:07:45.355Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T22:07:46.791Z] ---> 0500cf2ad5fd [2022-07-07T22:07:46.791Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T22:07:47.386Z] ---> f802c17f57fc [2022-07-07T22:07:47.386Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T22:07:47.982Z] ---> 39bb73f0a168 [2022-07-07T22:07:47.982Z] Step 20/25 : EXPOSE 59986 [2022-07-07T22:07:48.261Z] ---> Running in 0adf2ab5a82a [2022-07-07T22:07:48.536Z] Removing intermediate container 0adf2ab5a82a [2022-07-07T22:07:48.536Z] ---> 9687fb88b67e [2022-07-07T22:07:48.536Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T22:07:48.536Z] ---> Running in 8619fb76c372 [2022-07-07T22:07:48.809Z] Removing intermediate container 8619fb76c372 [2022-07-07T22:07:48.809Z] ---> e7b0c76a9f56 [2022-07-07T22:07:48.809Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T22:07:49.096Z] ---> Running in d5260228f444 [2022-07-07T22:07:49.369Z] Removing intermediate container d5260228f444 [2022-07-07T22:07:49.369Z] ---> e5f7ff08485c [2022-07-07T22:07:49.369Z] Step 23/25 : LABEL arch=arm64 [2022-07-07T22:07:49.369Z] ---> Running in e4b0fdcaeb1f [2022-07-07T22:07:49.643Z] Removing intermediate container e4b0fdcaeb1f [2022-07-07T22:07:49.643Z] ---> 17273ce95bf9 [2022-07-07T22:07:49.643Z] Step 24/25 : LABEL git_sha=56a929b58b76fdc0c9b70be91cb644b567c19238 [2022-07-07T22:07:49.920Z] ---> Running in 7ba695342641 [2022-07-07T22:07:50.196Z] Removing intermediate container 7ba695342641 [2022-07-07T22:07:50.196Z] ---> c06ca2a89b12 [2022-07-07T22:07:50.196Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T22:07:50.196Z] ---> Running in bdb96de5d025 [2022-07-07T22:07:50.473Z] Removing intermediate container bdb96de5d025 [2022-07-07T22:07:50.473Z] ---> db5d7b7e3dc6 [2022-07-07T22:07:50.473Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T22:07:50.473Z] Successfully built db5d7b7e3dc6 [2022-07-07T22:07:50.473Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:07:51.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T22:07:51.250Z] [2022-07-07T22:07:51.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:07:51.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T22:07:51.937Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T22:07:51.937Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T22:07:51.937Z] 04944245beec: Pulling fs layer [2022-07-07T22:07:51.937Z] 699f458cf7ca: Pulling fs layer [2022-07-07T22:07:51.937Z] 765212b225bb: Pulling fs layer [2022-07-07T22:07:51.937Z] f23df028b6ca: Pulling fs layer [2022-07-07T22:07:51.937Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T22:07:51.937Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T22:07:51.937Z] 765212b225bb: Waiting [2022-07-07T22:07:51.937Z] f23df028b6ca: Waiting [2022-07-07T22:07:51.937Z] d65c8cfc05b1: Waiting [2022-07-07T22:07:51.937Z] 04944245beec: Verifying Checksum [2022-07-07T22:07:51.937Z] 04944245beec: Download complete [2022-07-07T22:07:51.937Z] 765212b225bb: Verifying Checksum [2022-07-07T22:07:51.937Z] 765212b225bb: Download complete [2022-07-07T22:07:51.937Z] f23df028b6ca: Verifying Checksum [2022-07-07T22:07:51.937Z] f23df028b6ca: Download complete [2022-07-07T22:07:51.937Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T22:07:51.937Z] d65c8cfc05b1: Download complete [2022-07-07T22:07:52.216Z] 699f458cf7ca: Verifying Checksum [2022-07-07T22:07:52.216Z] 699f458cf7ca: Download complete [2022-07-07T22:07:52.490Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T22:07:52.490Z] 8998bd30e6a1: Download complete [2022-07-07T22:07:55.133Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T22:07:55.133Z] 2437ff75d9bd: Download complete [2022-07-07T22:07:57.767Z] 8998bd30e6a1: Pull complete [2022-07-07T22:07:58.043Z] 04944245beec: Pull complete [2022-07-07T22:07:59.484Z] 699f458cf7ca: Pull complete [2022-07-07T22:07:59.759Z] 765212b225bb: Pull complete [2022-07-07T22:08:00.745Z] f23df028b6ca: Pull complete [2022-07-07T22:08:01.020Z] d65c8cfc05b1: Pull complete [2022-07-07T22:08:19.339Z] 2437ff75d9bd: Pull complete [2022-07-07T22:08:19.339Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T22:08:19.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T22:08:19.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:08:19.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-17194 does not seem to be running inside a container [2022-07-07T22:08:19.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T22:08:22.655Z] $ docker top 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:23.802Z] ---> job-cost.sh [2022-07-07T22:08:23.802Z] lf-activate-venv: SKIPPING [2022-07-07T22:08:23.802Z] INFO: No Stack... [2022-07-07T22:08:24.408Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T22:08:25.004Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T22:08:25.700Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-07-07T22:08:25.700Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T22:08:25.790Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [2022-07-07T22:08:25.796Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] did not exist. Created. [2022-07-07T22:08:25.796Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T22:08:26.556Z] /w/workspace/device-rest-go/1@tmp/durable-98ad5cbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T22:08:27.264Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T22:08:27.296Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T22:08:27.340Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T22:08:27.355Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-205-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T22:08:27.435Z] $ docker stop --time=1 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af [2022-07-07T22:08:28.944Z] $ docker rm -f 6dae5fd07c9be5708ce0004341a1fd5bb27527f6a3e8200649ff1df2d98069af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-07T22:08:29.975Z] provisioning config files... [2022-07-07T22:08:29.983Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config7325689082405241122tmp [Pipeline] { [Pipeline] sh [2022-07-07T22:08:30.320Z] + set +x [2022-07-07T22:08:30.320Z] + curl -s https://codecov.io/bash [2022-07-07T22:08:30.320Z] + bash -s -- [2022-07-07T22:08:30.320Z] [2022-07-07T22:08:30.320Z] _____ _ [2022-07-07T22:08:30.320Z] / ____| | | [2022-07-07T22:08:30.320Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T22:08:30.320Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T22:08:30.320Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T22:08:30.320Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T22:08:30.320Z] Bash-1.0.6 [2022-07-07T22:08:30.320Z] [2022-07-07T22:08:30.320Z] [2022-07-07T22:08:30.320Z] ==> git version 2.25.1 found [2022-07-07T22:08:30.320Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-07T22:08:30.320Z] Release-Date: 2020-01-08 [2022-07-07T22:08:30.320Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-07T22:08:30.320Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T22:08:30.320Z] ==> Jenkins CI detected. [2022-07-07T22:08:30.320Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-205 [2022-07-07T22:08:30.320Z] project root: . [2022-07-07T22:08:30.320Z] --> token set from env [2022-07-07T22:08:30.320Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T22:08:30.320Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T22:08:30.320Z] ==> Python coveragepy not found [2022-07-07T22:08:30.320Z] ==> Searching for coverage reports in: [2022-07-07T22:08:30.320Z] + . [2022-07-07T22:08:30.320Z] -> Found 1 reports [2022-07-07T22:08:30.320Z] ==> Detecting git/mercurial file structure [2022-07-07T22:08:30.320Z] ==> Reading reports [2022-07-07T22:08:30.321Z] + ./coverage.out bytes=9355 [2022-07-07T22:08:30.321Z] ==> Appending adjustments [2022-07-07T22:08:30.321Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T22:08:30.583Z] + Found adjustments [2022-07-07T22:08:30.583Z] ==> Gzipping contents [2022-07-07T22:08:30.583Z] 4.0K /tmp/codecov.xWDNNK.gz [2022-07-07T22:08:30.583Z] ==> Uploading reports [2022-07-07T22:08:30.583Z] url: https://codecov.io [2022-07-07T22:08:30.583Z] query: branch=PR-205&commit=56a929b58b76fdc0c9b70be91cb644b567c19238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=205&job=&cmd_args= [2022-07-07T22:08:30.583Z] -> Pinging Codecov [2022-07-07T22:08:30.583Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-205&commit=56a929b58b76fdc0c9b70be91cb644b567c19238&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-205%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=205&job=&cmd_args= [2022-07-07T22:08:30.844Z] -> Uploading to [2022-07-07T22:08:30.844Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/56a929b58b76fdc0c9b70be91cb644b567c19238/2ec7ffe4-409a-4e6f-87ed-325bef108b87.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T220830Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8df9d659915423f6ee4c8555dd2593a5683bf7bd059fb44b9603957c9bb24ee8 [2022-07-07T22:08:30.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T22:08:30.844Z] Dload Upload Total Spent Left Speed [2022-07-07T22:08:31.106Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 8399 --:--:-- --:--:-- --:--:-- 8399 [2022-07-07T22:08:31.106Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/56a929b58b76fdc0c9b70be91cb644b567c19238 [Pipeline] } [2022-07-07T22:08:31.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-07-07T22:08:32.771Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-205/archives ] [2022-07-07T22:08:32.771Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-205/archives [2022-07-07T22:08:32.771Z] total 16 [2022-07-07T22:08:32.771Z] drwxr-xr-x 3 root root 4096 Jul 7 22:01 . [2022-07-07T22:08:32.771Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 22:01 .. [2022-07-07T22:08:32.771Z] drwxr-xr-x 2 root root 4096 Jul 7 22:01 cost [2022-07-07T22:08:32.771Z] -rw-r--r-- 1 root root 85 Jul 7 22:01 cost.csv [2022-07-07T22:08:32.771Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-205/archives [2022-07-07T22:08:32.771Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-205/archives [2022-07-07T22:08:32.771Z] total 16 [2022-07-07T22:08:32.771Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 22:01 . [2022-07-07T22:08:32.771Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 22:01 .. [2022-07-07T22:08:32.771Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 22:01 cost [2022-07-07T22:08:32.771Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 7 22:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:33.104Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:34.000Z] ---> package-listing.sh [2022-07-07T22:08:34.000Z] ++ facter osfamily [2022-07-07T22:08:34.000Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T22:08:34.261Z] + OS_FAMILY=debian [2022-07-07T22:08:34.261Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-205 [2022-07-07T22:08:34.261Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T22:08:34.261Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T22:08:34.261Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T22:08:34.261Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T22:08:34.261Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-205 ']' [2022-07-07T22:08:34.261Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T22:08:34.261Z] + case "${OS_FAMILY}" in [2022-07-07T22:08:34.261Z] + dpkg -l [2022-07-07T22:08:34.261Z] + grep '^ii' [2022-07-07T22:08:34.261Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T22:08:34.261Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T22:08:34.261Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T22:08:34.261Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-205 ']' [2022-07-07T22:08:34.261Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-205/archives/ [2022-07-07T22:08:34.261Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-205/archives/ [Pipeline] echo [2022-07-07T22:08:34.293Z] 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-205/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T22:08:34.591Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T22:08:35.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T22:08:35.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T22:08:35.386Z] prd-ubuntu20.04-docker-8c-8g-17192 does not seem to be running inside a container [2022-07-07T22:08:35.426Z] $ 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-205/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-205 -v /w/workspace/gexfoundry_device-rest-go_PR-205:/w/workspace/gexfoundry_device-rest-go_PR-205:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-205@tmp:/w/workspace/gexfoundry_device-rest-go_PR-205@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T22:08:35.677Z] $ docker top 143492c538f94a0d07d36d9460890663bd0097b07a47eb659d8e2e6972a02caf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T22:08:36.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T22:08:36.404Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T22:08:36.719Z] + ls /var/log/sa-host [2022-07-07T22:08:36.719Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T22:08:36.908Z] provisioning config files... [2022-07-07T22:08:36.919Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-205@tmp/config1775299284489388932tmp [Pipeline] { [Pipeline] echo [2022-07-07T22:08:36.959Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:37.273Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T22:08:37.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:37.720Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T22:08:37.745Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:38.061Z] ---> sudo-logs.sh [2022-07-07T22:08:38.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T22:08:38.147Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:38.463Z] ---> job-cost.sh [2022-07-07T22:08:38.463Z] lf-activate-venv: SKIPPING [2022-07-07T22:08:38.463Z] DEBUG: total: 0.2199999988079071 [2022-07-07T22:08:38.463Z] INFO: Retrieving Stack Cost... [2022-07-07T22:08:39.040Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T22:08:39.611Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T22:08:39.646Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T22:08:39.966Z] ---> logs-deploy.sh [2022-07-07T22:08:39.967Z] lf-activate-venv: SKIPPING [2022-07-07T22:08:39.967Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-205/1 [2022-07-07T22:08:39.967Z] INFO: archiving workspace using pattern(s): [2022-07-07T22:08:40.906Z] Archives upload complete. [2022-07-07T22:08:41.167Z] INFO: archiving logs to Nexus [2022-07-07T22:08:41.738Z] ---> uname -a: [2022-07-07T22:08:41.738Z] Linux prd-ubuntu20-04-docker-8c-8g-17192 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-07T22:08:41.738Z] [2022-07-07T22:08:41.738Z] [2022-07-07T22:08:41.738Z] ---> lscpu: [2022-07-07T22:08:41.738Z] Architecture: x86_64 [2022-07-07T22:08:41.738Z] CPU op-mode(s): 32-bit, 64-bit [2022-07-07T22:08:41.738Z] Byte Order: Little Endian [2022-07-07T22:08:41.738Z] Address sizes: 40 bits physical, 48 bits virtual [2022-07-07T22:08:41.738Z] CPU(s): 8 [2022-07-07T22:08:41.738Z] On-line CPU(s) list: 0-7 [2022-07-07T22:08:41.738Z] Thread(s) per core: 1 [2022-07-07T22:08:41.738Z] Core(s) per socket: 1 [2022-07-07T22:08:41.738Z] Socket(s): 8 [2022-07-07T22:08:41.738Z] NUMA node(s): 1 [2022-07-07T22:08:41.738Z] Vendor ID: AuthenticAMD [2022-07-07T22:08:41.738Z] CPU family: 23 [2022-07-07T22:08:41.738Z] Model: 49 [2022-07-07T22:08:41.738Z] Model name: AMD EPYC-Rome Processor [2022-07-07T22:08:41.738Z] Stepping: 0 [2022-07-07T22:08:41.738Z] CPU MHz: 2799.996 [2022-07-07T22:08:41.738Z] BogoMIPS: 5599.99 [2022-07-07T22:08:41.738Z] Virtualization: AMD-V [2022-07-07T22:08:41.738Z] Hypervisor vendor: KVM [2022-07-07T22:08:41.738Z] Virtualization type: full [2022-07-07T22:08:41.738Z] L1d cache: 256 KiB [2022-07-07T22:08:41.738Z] L1i cache: 256 KiB [2022-07-07T22:08:41.738Z] L2 cache: 4 MiB [2022-07-07T22:08:41.738Z] L3 cache: 128 MiB [2022-07-07T22:08:41.738Z] NUMA node0 CPU(s): 0-7 [2022-07-07T22:08:41.738Z] Vulnerability Itlb multihit: Not affected [2022-07-07T22:08:41.738Z] Vulnerability L1tf: Not affected [2022-07-07T22:08:41.738Z] Vulnerability Mds: Not affected [2022-07-07T22:08:41.738Z] Vulnerability Meltdown: Not affected [2022-07-07T22:08:41.738Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-07-07T22:08:41.738Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-07-07T22:08:41.738Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-07-07T22:08:41.738Z] Vulnerability Srbds: Not affected [2022-07-07T22:08:41.738Z] Vulnerability Tsx async abort: Not affected [2022-07-07T22:08:41.738Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-07-07T22:08:41.738Z] [2022-07-07T22:08:41.738Z] [2022-07-07T22:08:41.738Z] ---> nproc: [2022-07-07T22:08:41.738Z] 8 [2022-07-07T22:08:41.738Z] [2022-07-07T22:08:41.738Z]