Pull request #198 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bb5b1563ede4d3576ac6954b00e175d4240e0d83+a3ce1b492942266db7d07684db880175cd9968c1 (2eaef06badb0885b3d97119c2e2de11e683f9600) 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-ssh476251421307812735.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-ssh17589058696951061001.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-198/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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2662327417779679548.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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17182459165481504087.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-ssh5136991813368855575.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-198/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-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15856300380381497861.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15178 in /w/workspace/gexfoundry_device-rest-go_PR-198 [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-198 # 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 a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit bb5b1563ede4d3576ac6954b00e175d4240e0d83 Merge succeeded, producing bb5b1563ede4d3576ac6954b00e175d4240e0d83 Checking out Revision bb5b1563ede4d3576ac6954b00e175d4240e0d83 (PR-198) > 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/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb5b1563ede4d3576ac6954b00e175d4240e0d83 # 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 a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb5b1563ede4d3576ac6954b00e175d4240e0d83 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.3" 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-06-20T20:03:47.101Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T20:03:47.277Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T20:03:47.367Z] ========================================================= [2022-06-20T20:03:47.367Z] EdgeX Global Pipelines Version Info [2022-06-20T20:03:47.368Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:03:48.146Z] ------------------- [2022-06-20T20:03:48.146Z] stable info: [2022-06-20T20:03:48.146Z] ------------------- [2022-06-20T20:03:48.146Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T20:03:48.146Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T20:03:48.146Z] Message: update stable to v1.0.234 [2022-06-20T20:03:48.719Z] ------------------- [2022-06-20T20:03:48.719Z] experimental info: [2022-06-20T20:03:48.719Z] ------------------- [2022-06-20T20:03:48.719Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T20:03:48.719Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T20:03:48.719Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T20:03:49.087Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-20T20:03:49.130Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-20T20:03:49.177Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T20:03:49.219Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T20:03:49.259Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T20:03:49.300Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T20:03:49.342Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T20:03:49.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T20:03:49.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T20:03:49.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T20:03:49.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T20:03:49.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-20T20:03:49.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T20:03:49.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T20:03:49.680Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T20:03:49.719Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T20:03:49.753Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T20:03:49.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T20:03:49.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T20:03:49.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T20:03:49.903Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T20:03:49.941Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T20:03:49.979Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T20:03:50.019Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T20:03:50.055Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T20:03:50.091Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T20:03:50.130Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T20:03:50.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo [2022-06-20T20:03:50.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo [2022-06-20T20:03:50.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo [2022-06-20T20:03:50.270Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb5b1563ede4d3576ac6954b00e175d4240e0d83 [Pipeline] echo [2022-06-20T20:03:50.307Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb5b156 [Pipeline] echo [2022-06-20T20:03:50.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:03:50.462Z] provisioning config files... [2022-06-20T20:03:50.479Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/config3169253245198289286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:03:50.848Z] ---> docker-login.sh [2022-06-20T20:03:50.848Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:03:51.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:03:51.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:03:51.112Z] Configure a credential helper to remove this warning. See [2022-06-20T20:03:51.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:03:51.112Z] [2022-06-20T20:03:51.112Z] Login Succeeded [2022-06-20T20:03:51.112Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:03:51.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:03:51.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:03:51.372Z] Configure a credential helper to remove this warning. See [2022-06-20T20:03:51.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:03:51.373Z] [2022-06-20T20:03:51.373Z] Login Succeeded [2022-06-20T20:03:51.373Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:03:51.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:03:51.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:03:51.373Z] Configure a credential helper to remove this warning. See [2022-06-20T20:03:51.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:03:51.373Z] [2022-06-20T20:03:51.373Z] Login Succeeded [2022-06-20T20:03:51.373Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:03:51.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:03:51.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:03:51.632Z] Configure a credential helper to remove this warning. See [2022-06-20T20:03:51.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:03:51.632Z] [2022-06-20T20:03:51.632Z] Login Succeeded [2022-06-20T20:03:51.632Z] docker.io [2022-06-20T20:03:51.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:03:51.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:03:51.899Z] Configure a credential helper to remove this warning. See [2022-06-20T20:03:51.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:03:51.899Z] [2022-06-20T20:03:51.899Z] Login Succeeded [2022-06-20T20:03:51.899Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:03:51.925Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T20:03:52.544Z] + git rev-list -1 --merges bb5b1563ede4d3576ac6954b00e175d4240e0d83~1..bb5b1563ede4d3576ac6954b00e175d4240e0d83 [Pipeline] echo [2022-06-20T20:03:52.593Z] -----------> git rev-list -1 --merges bb5b1563ede4d3576ac6954b00e175d4240e0d83~1..bb5b1563ede4d3576ac6954b00e175d4240e0d83 bb5b1563ede4d3576ac6954b00e175d4240e0d83 [false] [Pipeline] sh [2022-06-20T20:03:52.908Z] + git log --format=format:%s -1 bb5b1563ede4d3576ac6954b00e175d4240e0d83 [Pipeline] echo [2022-06-20T20:03:52.944Z] ========================================================= [2022-06-20T20:03:52.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T20:03:52.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:03:53.380Z] + git log --format=format:%s -1 bb5b1563ede4d3576ac6954b00e175d4240e0d83 [Pipeline] echo [2022-06-20T20:03:53.408Z] [semverPrep] GIT_COMMIT: bb5b1563ede4d3576ac6954b00e175d4240e0d83, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.3 [Pipeline] echo [2022-06-20T20:03:53.435Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T20:03:53.830Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T20:03:53.830Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T20:03:53.830Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T20:03:53.830Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T20:03:53.830Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T20:03:53.830Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T20:03:53.830Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:03:54.326Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:03:54.326Z] [2022-06-20T20:03:54.326Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:03:54.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:03:54.706Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T20:03:54.706Z] 42c077c10790: Pulling fs layer [2022-06-20T20:03:54.706Z] f63e77b7563a: Pulling fs layer [2022-06-20T20:03:54.706Z] bd5fdadae976: Pulling fs layer [2022-06-20T20:03:54.706Z] 205491f53016: Pulling fs layer [2022-06-20T20:03:54.706Z] df18705c85c3: Pulling fs layer [2022-06-20T20:03:54.706Z] bdb3f477010e: Pulling fs layer [2022-06-20T20:03:54.706Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T20:03:54.706Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T20:03:54.706Z] bdb8f0575790: Pulling fs layer [2022-06-20T20:03:54.706Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T20:03:54.706Z] 2343380bae48: Pulling fs layer [2022-06-20T20:03:54.706Z] 205491f53016: Waiting [2022-06-20T20:03:54.706Z] df18705c85c3: Waiting [2022-06-20T20:03:54.706Z] 2343380bae48: Waiting [2022-06-20T20:03:54.706Z] bdb3f477010e: Waiting [2022-06-20T20:03:54.706Z] bdb8f0575790: Waiting [2022-06-20T20:03:54.706Z] c8a8fc8e1c8f: Waiting [2022-06-20T20:03:54.706Z] 2c6e9b1d212d: Waiting [2022-06-20T20:03:54.706Z] 386e3cb2ff24: Waiting [2022-06-20T20:03:54.706Z] f63e77b7563a: Verifying Checksum [2022-06-20T20:03:54.706Z] f63e77b7563a: Download complete [2022-06-20T20:03:54.706Z] 205491f53016: Download complete [2022-06-20T20:03:54.969Z] bd5fdadae976: Verifying Checksum [2022-06-20T20:03:54.969Z] bd5fdadae976: Download complete [2022-06-20T20:03:54.969Z] df18705c85c3: Download complete [2022-06-20T20:03:54.969Z] bdb3f477010e: Verifying Checksum [2022-06-20T20:03:54.969Z] bdb3f477010e: Download complete [2022-06-20T20:03:54.969Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T20:03:54.969Z] 2c6e9b1d212d: Download complete [2022-06-20T20:03:54.969Z] bdb8f0575790: Download complete [2022-06-20T20:03:54.969Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T20:03:54.969Z] 386e3cb2ff24: Download complete [2022-06-20T20:03:54.969Z] 2343380bae48: Download complete [2022-06-20T20:03:54.969Z] 42c077c10790: Verifying Checksum [2022-06-20T20:03:54.969Z] 42c077c10790: Download complete [2022-06-20T20:03:55.229Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-20T20:03:55.229Z] c8a8fc8e1c8f: Download complete [2022-06-20T20:03:56.171Z] 42c077c10790: Pull complete [2022-06-20T20:03:56.435Z] f63e77b7563a: Pull complete [2022-06-20T20:03:57.008Z] bd5fdadae976: Pull complete [2022-06-20T20:03:57.008Z] 205491f53016: Pull complete [2022-06-20T20:03:57.269Z] df18705c85c3: Pull complete [2022-06-20T20:03:57.270Z] bdb3f477010e: Pull complete [2022-06-20T20:03:59.193Z] c8a8fc8e1c8f: Pull complete [2022-06-20T20:03:59.193Z] 2c6e9b1d212d: Pull complete [2022-06-20T20:03:59.193Z] bdb8f0575790: Pull complete [2022-06-20T20:03:59.453Z] 386e3cb2ff24: Pull complete [2022-06-20T20:03:59.453Z] 2343380bae48: Pull complete [2022-06-20T20:03:59.453Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T20:03:59.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T20:03:59.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:03:59.691Z] prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container [2022-06-20T20:03:59.736Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-198 -v /w/workspace/gexfoundry_device-rest-go_PR-198:/w/workspace/gexfoundry_device-rest-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-198@tmp:/w/workspace/gexfoundry_device-rest-go_PR-198@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T20:04:01.195Z] $ docker top 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 -eo pid,comm [2022-06-20T20:04:01.269Z] 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-06-20T20:04:01.269Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T20:04:01.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T20:04:01.392Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T20:04:01.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T20:04:01.537Z] $ docker exec 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 ssh-agent [2022-06-20T20:04:01.662Z] SSH_AUTH_SOCK=/tmp/ssh-xAnVSCxhgfVM/agent.34 [2022-06-20T20:04:01.662Z] SSH_AGENT_PID=40 [2022-06-20T20:04:01.670Z] Running ssh-add (command line suppressed) [2022-06-20T20:04:01.801Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-198@tmp/private_key_8382623101759571332.key (/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/private_key_8382623101759571332.key) [2022-06-20T20:04:01.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T20:04:02.160Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T20:04:02.194Z] $ docker exec --env ******** --env ******** 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 ssh-agent -k [2022-06-20T20:04:02.305Z] unset SSH_AUTH_SOCK; [2022-06-20T20:04:02.306Z] unset SSH_AGENT_PID; [2022-06-20T20:04:02.306Z] echo Agent pid 40 killed; [2022-06-20T20:04:02.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T20:04:02.398Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T20:04:02.398Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T20:04:02.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T20:04:02.536Z] $ docker exec 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 ssh-agent [2022-06-20T20:04:02.686Z] SSH_AUTH_SOCK=/tmp/ssh-eVsvQfDUG2BV/agent.73 [2022-06-20T20:04:02.686Z] SSH_AGENT_PID=79 [2022-06-20T20:04:02.694Z] Running ssh-add (command line suppressed) [2022-06-20T20:04:02.811Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-198@tmp/private_key_842902843958509740.key (/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/private_key_842902843958509740.key) [2022-06-20T20:04:02.820Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T20:04:03.157Z] + git semver init [2022-06-20T20:04:03.420Z] 2022-06-20 20:04:03,338 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T20:04:03.420Z] 2022-06-20 20:04:03,339 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-198/.semver [2022-06-20T20:04:03.420Z] 2022-06-20 20:04:03,340 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-198/.semver [2022-06-20T20:04:03.420Z] 2022-06-20 20:04:03,340 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-198/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-198, universal_newlines=False, shell=None, istream=None) [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,489 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-198/.git/info/exclude [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,489 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-198/.semver/PR-198 with force:False [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,490 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-198/.semver/PR-198 [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,493 [execute] INFO git cat-file --batch-check [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,501 [execute] INFO git cat-file --batch [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T20:04:04.816Z] 2022-06-20 20:04:04,505 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-198/.semver/PR-198 [2022-06-20T20:04:04.816Z] 0.0.0 [Pipeline] } [2022-06-20T20:04:04.854Z] $ docker exec --env ******** --env ******** 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 ssh-agent -k [2022-06-20T20:04:04.978Z] unset SSH_AUTH_SOCK; [2022-06-20T20:04:04.979Z] unset SSH_AGENT_PID; [2022-06-20T20:04:04.979Z] echo Agent pid 79 killed; [2022-06-20T20:04:04.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T20:04:05.404Z] + git semver [Pipeline] } [2022-06-20T20:04:05.700Z] $ docker stop --time=1 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 [2022-06-20T20:04:07.046Z] $ docker rm -f 47c616b15ca9e3f373aee16166a442c584b812dead79a0d0157a9c99ce620cd3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:04:07.461Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T20:04:07.755Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T20:04:07.775Z] [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-06-20T20:04:08.375Z] provisioning config files... [2022-06-20T20:04:08.387Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/config3388536184551392070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:04:08.735Z] ---> docker-login.sh [2022-06-20T20:04:08.735Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:04:08.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:04:08.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:04:08.735Z] Configure a credential helper to remove this warning. See [2022-06-20T20:04:08.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:04:08.735Z] [2022-06-20T20:04:08.735Z] Login Succeeded [2022-06-20T20:04:08.735Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:04:08.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:04:08.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:04:08.735Z] Configure a credential helper to remove this warning. See [2022-06-20T20:04:08.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:04:08.735Z] [2022-06-20T20:04:08.996Z] Login Succeeded [2022-06-20T20:04:08.996Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:04:08.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:04:08.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:04:08.996Z] Configure a credential helper to remove this warning. See [2022-06-20T20:04:08.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:04:08.996Z] [2022-06-20T20:04:08.996Z] Login Succeeded [2022-06-20T20:04:08.996Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:04:08.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:04:09.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:04:09.257Z] Configure a credential helper to remove this warning. See [2022-06-20T20:04:09.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:04:09.257Z] [2022-06-20T20:04:09.257Z] Login Succeeded [2022-06-20T20:04:09.257Z] docker.io [2022-06-20T20:04:09.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:04:09.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:04:09.520Z] Configure a credential helper to remove this warning. See [2022-06-20T20:04:09.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:04:09.520Z] [2022-06-20T20:04:09.520Z] Login Succeeded [2022-06-20T20:04:09.520Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:04:09.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T20:04:09.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:04:09.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:04:09.804Z] ========================================================= [2022-06-20T20:04:09.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T20:04:09.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:04:10.263Z] + 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-06-20T20:04:10.263Z] Sending build context to Docker daemon 10.68MB [2022-06-20T20:04:10.263Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:04:10.263Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T20:04:10.263Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T20:04:10.263Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T20:04:10.263Z] 666ba61612fd: Pulling fs layer [2022-06-20T20:04:10.263Z] 8ed8ca486205: Pulling fs layer [2022-06-20T20:04:10.263Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T20:04:10.263Z] c516ae0d96e1: Pulling fs layer [2022-06-20T20:04:10.263Z] 684cea983483: Pulling fs layer [2022-06-20T20:04:10.263Z] dd3240ac7de5: Pulling fs layer [2022-06-20T20:04:10.263Z] b1e948a4e11c: Pulling fs layer [2022-06-20T20:04:10.263Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T20:04:10.263Z] 646ad004c059: Pulling fs layer [2022-06-20T20:04:10.263Z] c516ae0d96e1: Waiting [2022-06-20T20:04:10.263Z] 684cea983483: Waiting [2022-06-20T20:04:10.263Z] a8fd76ee1af6: Waiting [2022-06-20T20:04:10.263Z] dd3240ac7de5: Waiting [2022-06-20T20:04:10.263Z] 646ad004c059: Waiting [2022-06-20T20:04:10.263Z] b1e948a4e11c: Waiting [2022-06-20T20:04:10.263Z] cc1cd167ecdc: Waiting [2022-06-20T20:04:10.263Z] 8ed8ca486205: Verifying Checksum [2022-06-20T20:04:10.263Z] 8ed8ca486205: Download complete [2022-06-20T20:04:10.263Z] 666ba61612fd: Download complete [2022-06-20T20:04:10.523Z] c516ae0d96e1: Download complete [2022-06-20T20:04:10.523Z] 684cea983483: Verifying Checksum [2022-06-20T20:04:10.523Z] 684cea983483: Download complete [2022-06-20T20:04:10.523Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T20:04:10.523Z] 59bf1c3509f3: Download complete [2022-06-20T20:04:10.523Z] dd3240ac7de5: Download complete [2022-06-20T20:04:10.523Z] b1e948a4e11c: Verifying Checksum [2022-06-20T20:04:10.523Z] b1e948a4e11c: Download complete [2022-06-20T20:04:10.523Z] 59bf1c3509f3: Pull complete [2022-06-20T20:04:10.786Z] 666ba61612fd: Pull complete [2022-06-20T20:04:10.786Z] 8ed8ca486205: Pull complete [2022-06-20T20:04:10.786Z] 646ad004c059: Verifying Checksum [2022-06-20T20:04:10.786Z] 646ad004c059: Download complete [2022-06-20T20:04:11.046Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T20:04:11.046Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T20:04:11.046Z] cc1cd167ecdc: Download complete [2022-06-20T20:04:15.242Z] cc1cd167ecdc: Pull complete [2022-06-20T20:04:15.242Z] c516ae0d96e1: Pull complete [2022-06-20T20:04:15.242Z] 684cea983483: Pull complete [2022-06-20T20:04:15.242Z] dd3240ac7de5: Pull complete [2022-06-20T20:04:15.242Z] b1e948a4e11c: Pull complete [2022-06-20T20:04:16.624Z] a8fd76ee1af6: Pull complete [2022-06-20T20:04:17.562Z] 646ad004c059: Pull complete [2022-06-20T20:04:17.562Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T20:04:17.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T20:04:17.562Z] ---> 8f69c11f6b0c [2022-06-20T20:04:17.562Z] Step 3/12 : ARG MAKE='make build' [2022-06-20T20:04:19.474Z] ---> Running in da491a3b9e35 [2022-06-20T20:04:19.474Z] Removing intermediate container da491a3b9e35 [2022-06-20T20:04:19.474Z] ---> 9eaf24eabc85 [2022-06-20T20:04:19.474Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:04:19.474Z] ---> Running in 81fd1566a87d [2022-06-20T20:04:19.474Z] Removing intermediate container 81fd1566a87d [2022-06-20T20:04:19.474Z] ---> bd89b1d08301 [2022-06-20T20:04:19.474Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:04:19.474Z] ---> Running in 116c65109bc8 [2022-06-20T20:04:19.474Z] Removing intermediate container 116c65109bc8 [2022-06-20T20:04:19.474Z] ---> 8c356edecf5a [2022-06-20T20:04:19.474Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:04:19.474Z] ---> Running in 215e995fed75 [2022-06-20T20:04:20.044Z] Removing intermediate container 215e995fed75 [2022-06-20T20:04:20.044Z] ---> f87d21b51fa5 [2022-06-20T20:04:20.044Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:04:20.044Z] ---> Running in 609b50df54e9 [2022-06-20T20:04:20.305Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:04:21.247Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:04:21.508Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T20:04:21.508Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T20:04:21.769Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T20:04:21.769Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T20:04:22.044Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T20:04:22.044Z] OK: 224 MiB in 56 packages [2022-06-20T20:04:22.307Z] Removing intermediate container 609b50df54e9 [2022-06-20T20:04:22.307Z] ---> 2b5a8f952e49 [2022-06-20T20:04:22.307Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-20T20:04:22.307Z] ---> Running in cc62656782e2 [2022-06-20T20:04:22.568Z] Removing intermediate container cc62656782e2 [2022-06-20T20:04:22.568Z] ---> 399cf8ca3c59 [2022-06-20T20:04:22.568Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T20:04:22.568Z] ---> a95875c5e44a [2022-06-20T20:04:22.568Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:04:22.568Z] ---> Running in 934c5e9187d8 [2022-06-20T20:04:23.197Z] Still waiting to schedule task [2022-06-20T20:04:23.198Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T20:04:40.678Z] Removing intermediate container 934c5e9187d8 [2022-06-20T20:04:40.678Z] ---> b4f01c81488b [2022-06-20T20:04:40.678Z] Step 11/12 : COPY . . [2022-06-20T20:04:40.678Z] ---> 781e29803045 [2022-06-20T20:04:40.678Z] Step 12/12 : RUN $MAKE [2022-06-20T20:04:40.678Z] ---> Running in e1157c24947f [2022-06-20T20:04:40.678Z] noop [2022-06-20T20:04:40.678Z] Removing intermediate container e1157c24947f [2022-06-20T20:04:40.678Z] ---> 8515d239e68b [2022-06-20T20:04:40.678Z] Successfully built 8515d239e68b [2022-06-20T20:04:40.678Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:04:41.123Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T20:04:41.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:04:41.284Z] prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container [2022-06-20T20:04:41.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-198 -v /w/workspace/gexfoundry_device-rest-go_PR-198:/w/workspace/gexfoundry_device-rest-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-198@tmp:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T20:04:41.698Z] $ docker top d340dd3d2e490795720980496d04f60f8f4a45cfb213b9e6a0957cdff59bb908 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:04:42.100Z] + go version [2022-06-20T20:04:42.100Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T20:04:42.137Z] $ docker stop --time=1 d340dd3d2e490795720980496d04f60f8f4a45cfb213b9e6a0957cdff59bb908 [2022-06-20T20:04:43.430Z] $ docker rm -f d340dd3d2e490795720980496d04f60f8f4a45cfb213b9e6a0957cdff59bb908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:04:44.107Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T20:04:44.107Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:04:44.295Z] prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container [2022-06-20T20:04:44.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-198 -v /w/workspace/gexfoundry_device-rest-go_PR-198:/w/workspace/gexfoundry_device-rest-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-198@tmp:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T20:04:44.784Z] $ docker top 7c6e9d7945d68d524017e13da5e9d008b2858ba57a905e175f4937b9e65e232b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T20:04:45.229Z] + make test [2022-06-20T20:04:45.229Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-20T20:04:45.493Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-20T20:04:55.489Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-20T20:04:55.489Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-20T20:05:00.776Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T20:05:04.067Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T20:05:04.067Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T20:05:04.067Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T20:05:04.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T20:05:04.700Z] $ docker stop --time=1 7c6e9d7945d68d524017e13da5e9d008b2858ba57a905e175f4937b9e65e232b [2022-06-20T20:05:06.489Z] $ docker rm -f 7c6e9d7945d68d524017e13da5e9d008b2858ba57a905e175f4937b9e65e232b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:05:06.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T20:05:07.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T20:05:07.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T20:05:08.165Z] + ls -al . [2022-06-20T20:05:08.165Z] total 172 [2022-06-20T20:05:08.165Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 20:05 . [2022-06-20T20:05:08.165Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 20:03 .. [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 20 20:03 .dockerignore [2022-06-20T20:05:08.165Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:04 .git [2022-06-20T20:05:08.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:03 .github [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 20 20:03 .gitignore [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 20:03 .golangci.yml [2022-06-20T20:05:08.165Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 20:04 .semver [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 20 20:03 Attribution.txt [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 20 20:03 CHANGELOG.md [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 20 20:03 Dockerfile [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 20:03 GOVERNANCE.md [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 20 20:03 Jenkinsfile [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 20:03 LICENSE [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 20 20:03 Makefile [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 20 20:03 OWNERS.md [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 20 20:03 README.md [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 20:04 VERSION [2022-06-20T20:05:08.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:03 bin [2022-06-20T20:05:08.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:03 cmd [2022-06-20T20:05:08.165Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 20 20:04 coverage.out [2022-06-20T20:05:08.165Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:03 driver [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 20 20:03 go.mod [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 36279 Jun 20 20:03 go.sum [2022-06-20T20:05:08.165Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:03 snap [2022-06-20T20:05:08.165Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 20 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:05:08.556Z] + 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=bb5b1563ede4d3576ac6954b00e175d4240e0d83 --label arch=amd64 --label version=0.0.0 . [2022-06-20T20:05:08.556Z] Sending build context to Docker daemon 10.69MB [2022-06-20T20:05:08.556Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:05:08.556Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T20:05:08.556Z] ---> 8515d239e68b [2022-06-20T20:05:08.556Z] Step 3/25 : ARG MAKE='make build' [2022-06-20T20:05:08.556Z] ---> Running in 3247fc9bb6e9 [2022-06-20T20:05:08.816Z] Removing intermediate container 3247fc9bb6e9 [2022-06-20T20:05:08.816Z] ---> b1cb83c1a501 [2022-06-20T20:05:08.816Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:05:08.816Z] ---> Running in c9d6155758da [2022-06-20T20:05:08.816Z] Removing intermediate container c9d6155758da [2022-06-20T20:05:08.816Z] ---> d2d49ce0b2d0 [2022-06-20T20:05:08.816Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:05:08.816Z] ---> Running in 699583a760fc [2022-06-20T20:05:09.082Z] Removing intermediate container 699583a760fc [2022-06-20T20:05:09.082Z] ---> 73f15b00da3a [2022-06-20T20:05:09.082Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:05:09.082Z] ---> Running in 0bac8552259a [2022-06-20T20:05:09.652Z] Removing intermediate container 0bac8552259a [2022-06-20T20:05:09.652Z] ---> 37380a30004d [2022-06-20T20:05:09.652Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:05:09.652Z] ---> Running in d891abbcf3e9 [2022-06-20T20:05:09.912Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:12.453Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:15.754Z] OK: 224 MiB in 56 packages [2022-06-20T20:05:15.754Z] Removing intermediate container d891abbcf3e9 [2022-06-20T20:05:15.754Z] ---> 987d82a5dff8 [2022-06-20T20:05:15.754Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-20T20:05:15.754Z] ---> Running in 36b7144ebe10 [2022-06-20T20:05:15.754Z] Removing intermediate container 36b7144ebe10 [2022-06-20T20:05:15.754Z] ---> 540bcdf89fd6 [2022-06-20T20:05:15.754Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-20T20:05:16.016Z] ---> 51bac64e576f [2022-06-20T20:05:16.016Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:05:16.016Z] ---> Running in e67e1f97bddb [2022-06-20T20:05:16.585Z] Removing intermediate container e67e1f97bddb [2022-06-20T20:05:16.585Z] ---> e5d75b5e1764 [2022-06-20T20:05:16.585Z] Step 11/25 : COPY . . [2022-06-20T20:05:16.846Z] ---> 4a48f6f0d901 [2022-06-20T20:05:16.846Z] Step 12/25 : RUN $MAKE [2022-06-20T20:05:16.846Z] ---> Running in 25bb9321ea3b [2022-06-20T20:05:17.107Z] 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-06-20T20:05:39.054Z] Removing intermediate container 25bb9321ea3b [2022-06-20T20:05:39.055Z] ---> 4125f581eec5 [2022-06-20T20:05:39.055Z] Step 13/25 : FROM alpine:3.14 [2022-06-20T20:05:39.055Z] 3.14: Pulling from library/alpine [2022-06-20T20:05:39.055Z] 8663204ce13b: Pulling fs layer [2022-06-20T20:05:39.055Z] 8663204ce13b: Verifying Checksum [2022-06-20T20:05:39.055Z] 8663204ce13b: Download complete [2022-06-20T20:05:39.055Z] 8663204ce13b: Pull complete [2022-06-20T20:05:39.055Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T20:05:39.055Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T20:05:39.055Z] ---> e04c818066af [2022-06-20T20:05:39.055Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-20T20:05:39.055Z] ---> Running in 0f5b0f5823f9 [2022-06-20T20:05:39.055Z] Removing intermediate container 0f5b0f5823f9 [2022-06-20T20:05:39.055Z] ---> d1bf7f3821e6 [2022-06-20T20:05:39.055Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-20T20:05:39.055Z] ---> Running in c1edbc9f3149 [2022-06-20T20:05:39.055Z] Removing intermediate container c1edbc9f3149 [2022-06-20T20:05:39.055Z] ---> a5da2090bc7a [2022-06-20T20:05:39.055Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T20:05:39.055Z] ---> Running in e36703f1b260 [2022-06-20T20:05:39.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:39.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T20:05:39.055Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T20:05:39.055Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T20:05:39.055Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T20:05:39.055Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T20:05:39.055Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T20:05:39.055Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T20:05:39.055Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T20:05:39.055Z] OK: 8 MiB in 20 packages [2022-06-20T20:05:39.055Z] Removing intermediate container e36703f1b260 [2022-06-20T20:05:39.055Z] ---> 7476b81a9ec3 [2022-06-20T20:05:39.055Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-20T20:05:39.055Z] ---> 401d56972c16 [2022-06-20T20:05:39.055Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-20T20:05:39.055Z] ---> 10dd7dd146d7 [2022-06-20T20:05:39.055Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-20T20:05:39.055Z] ---> edd0a89282ba [2022-06-20T20:05:39.055Z] Step 20/25 : EXPOSE 59986 [2022-06-20T20:05:39.055Z] ---> Running in 4cf69cbd116b [2022-06-20T20:05:39.055Z] Removing intermediate container 4cf69cbd116b [2022-06-20T20:05:39.055Z] ---> 689201982dc0 [2022-06-20T20:05:39.055Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-20T20:05:39.055Z] ---> Running in 36e2da5f9128 [2022-06-20T20:05:39.055Z] Removing intermediate container 36e2da5f9128 [2022-06-20T20:05:39.055Z] ---> 5774c46c88dc [2022-06-20T20:05:39.055Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-20T20:05:39.055Z] ---> Running in 1ad46f846e9e [2022-06-20T20:05:39.314Z] Removing intermediate container 1ad46f846e9e [2022-06-20T20:05:39.314Z] ---> 77303df6d87a [2022-06-20T20:05:39.314Z] Step 23/25 : LABEL arch=amd64 [2022-06-20T20:05:39.314Z] ---> Running in c7ae506e4f31 [2022-06-20T20:05:39.314Z] Removing intermediate container c7ae506e4f31 [2022-06-20T20:05:39.314Z] ---> e184ad599cfc [2022-06-20T20:05:39.314Z] Step 24/25 : LABEL git_sha=bb5b1563ede4d3576ac6954b00e175d4240e0d83 [2022-06-20T20:05:39.314Z] ---> Running in cce20f334597 [2022-06-20T20:05:39.574Z] Removing intermediate container cce20f334597 [2022-06-20T20:05:39.574Z] ---> 6244ff9ffd90 [2022-06-20T20:05:39.574Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T20:05:39.574Z] ---> Running in b4211b056aad [2022-06-20T20:05:39.574Z] Removing intermediate container b4211b056aad [2022-06-20T20:05:39.574Z] ---> 725228939e3f [2022-06-20T20:05:39.574Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T20:05:39.574Z] Successfully built 725228939e3f [2022-06-20T20:05:39.574Z] 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-06-20T20:05:40.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:05:40.412Z] [2022-06-20T20:05:40.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:05:40.793Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:05:40.793Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T20:05:40.793Z] 5eb5b503b376: Pulling fs layer [2022-06-20T20:05:40.793Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T20:05:40.793Z] ec43610c2a17: Pulling fs layer [2022-06-20T20:05:40.793Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T20:05:40.793Z] 33b1e0a273af: Pulling fs layer [2022-06-20T20:05:40.793Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T20:05:40.793Z] 3a2ae6a8a46f: Waiting [2022-06-20T20:05:40.793Z] 33b1e0a273af: Waiting [2022-06-20T20:05:40.793Z] 2f39f015ded8: Pulling fs layer [2022-06-20T20:05:40.793Z] 5d3b04190fa2: Waiting [2022-06-20T20:05:40.793Z] 5c69ac0246d0: Download complete [2022-06-20T20:05:40.793Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T20:05:40.793Z] 3a2ae6a8a46f: Download complete [2022-06-20T20:05:40.793Z] 33b1e0a273af: Verifying Checksum [2022-06-20T20:05:40.793Z] 33b1e0a273af: Download complete [2022-06-20T20:05:40.793Z] ec43610c2a17: Verifying Checksum [2022-06-20T20:05:40.793Z] ec43610c2a17: Download complete [2022-06-20T20:05:40.793Z] 5d3b04190fa2: Download complete [2022-06-20T20:05:41.054Z] 5eb5b503b376: Verifying Checksum [2022-06-20T20:05:41.054Z] 5eb5b503b376: Download complete [2022-06-20T20:05:41.623Z] 2f39f015ded8: Verifying Checksum [2022-06-20T20:05:41.623Z] 2f39f015ded8: Download complete [2022-06-20T20:05:42.193Z] 5eb5b503b376: Pull complete [2022-06-20T20:05:42.193Z] 5c69ac0246d0: Pull complete [2022-06-20T20:05:42.762Z] ec43610c2a17: Pull complete [2022-06-20T20:05:42.762Z] 3a2ae6a8a46f: Pull complete [2022-06-20T20:05:43.020Z] 33b1e0a273af: Pull complete [2022-06-20T20:05:43.020Z] 5d3b04190fa2: Pull complete [2022-06-20T20:05:47.212Z] 2f39f015ded8: Pull complete [2022-06-20T20:05:47.212Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T20:05:47.212Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:05:47.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:05:47.437Z] prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container [2022-06-20T20:05:47.476Z] $ 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-198 -v /w/workspace/gexfoundry_device-rest-go_PR-198:/w/workspace/gexfoundry_device-rest-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-198@tmp:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T20:05:49.091Z] $ docker top 5dd634256b62bca354b7414f798f47d4bb4d833df212008675b34beaaa8dc39d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:05:49.576Z] ---> job-cost.sh [2022-06-20T20:05:49.576Z] lf-activate-venv: SKIPPING [2022-06-20T20:05:49.576Z] INFO: No Stack... [2022-06-20T20:05:50.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T20:05:50.714Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T20:05:51.034Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-198/archives/cost.csv [2022-06-20T20:05:51.034Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T20:05:51.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [2022-06-20T20:05:51.083Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] did not exist. Created. [2022-06-20T20:05:51.084Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T20:05:51.545Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T20:05:51.601Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T20:05:51.630Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T20:05:51.714Z] $ docker stop --time=1 5dd634256b62bca354b7414f798f47d4bb4d833df212008675b34beaaa8dc39d [2022-06-20T20:05:52.885Z] $ docker rm -f 5dd634256b62bca354b7414f798f47d4bb4d833df212008675b34beaaa8dc39d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T20:05:54.501Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15181 in /w/workspace/gexfoundry_device-rest-go_PR-198 [Pipeline] { [Pipeline] ws [2022-06-20T20:05:54.547Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-20T20:05:54.633Z] The recommended git tool is: git [2022-06-20T20:06:01.909Z] using credential edgex-jenkins-ssh [2022-06-20T20:06:01.929Z] Cloning the remote Git repository [2022-06-20T20:06:02.012Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:06:02.091Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-20T20:06:02.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:06:02.224Z] > git --version # timeout=10 [2022-06-20T20:06:02.277Z] > git --version # 'git version 2.25.1' [2022-06-20T20:06:02.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:06:02.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T20:06:05.213Z] Merging remotes/origin/main commit a3ce1b492942266db7d07684db880175cd9968c1 into PR head commit bb5b1563ede4d3576ac6954b00e175d4240e0d83 [2022-06-20T20:06:04.681Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-20T20:06:04.702Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T20:06:04.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-20T20:06:04.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-20T20:06:04.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:06:04.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T20:06:05.235Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T20:06:05.248Z] > git checkout -f bb5b1563ede4d3576ac6954b00e175d4240e0d83 # timeout=10 [2022-06-20T20:06:05.424Z] Merge succeeded, producing bb5b1563ede4d3576ac6954b00e175d4240e0d83 [2022-06-20T20:06:05.425Z] Checking out Revision bb5b1563ede4d3576ac6954b00e175d4240e0d83 (PR-198) [2022-06-20T20:06:05.343Z] > git remote # timeout=10 [2022-06-20T20:06:05.361Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T20:06:05.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T20:06:05.389Z] > git merge a3ce1b492942266db7d07684db880175cd9968c1 # timeout=10 [2022-06-20T20:06:05.413Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T20:06:05.436Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T20:06:05.447Z] > git checkout -f bb5b1563ede4d3576ac6954b00e175d4240e0d83 # timeout=10 [2022-06-20T20:06:09.617Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.2 to 1.7.3" [2022-06-20T20:06:09.687Z] > git --version # timeout=10 [2022-06-20T20:06:09.702Z] > git --version # 'git version 2.25.1' [2022-06-20T20:06:09.723Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:06:10.787Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T20:06:10.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T20:06:10.787Z] Dload Upload Total Spent Left Speed [2022-06-20T20:06:10.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48816 0 --:--:-- --:--:-- --:--:-- 48816 [Pipeline] sh [2022-06-20T20:06:11.705Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T20:06:12.061Z] + sudo tee /etc/docker/daemon.new [2022-06-20T20:06:12.062Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T20:06:12.062Z] { [2022-06-20T20:06:12.062Z] "registry-mirrors": [ [2022-06-20T20:06:12.062Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T20:06:12.062Z] ], [2022-06-20T20:06:12.062Z] "bip": "10.250.0.254/24", [2022-06-20T20:06:12.062Z] "hosts": [ [2022-06-20T20:06:12.062Z] "tcp://0.0.0.0:5555", [2022-06-20T20:06:12.062Z] "unix:///var/run/docker.sock" [2022-06-20T20:06:12.062Z] ], [2022-06-20T20:06:12.062Z] "mtu": 1458, [2022-06-20T20:06:12.062Z] "selinux-enabled": true, [2022-06-20T20:06:12.062Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T20:06:12.062Z] } [Pipeline] sh [2022-06-20T20:06:12.415Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T20:06:12.768Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:06:31.176Z] provisioning config files... [2022-06-20T20:06:31.202Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1710692747331816374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:06:31.602Z] ---> docker-login.sh [2022-06-20T20:06:31.602Z] nexus3.edgexfoundry.org:10001 [2022-06-20T20:06:32.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:06:32.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:06:32.470Z] Configure a credential helper to remove this warning. See [2022-06-20T20:06:32.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:06:32.470Z] [2022-06-20T20:06:32.470Z] Login Succeeded [2022-06-20T20:06:32.470Z] nexus3.edgexfoundry.org:10002 [2022-06-20T20:06:32.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:06:32.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:06:32.742Z] Configure a credential helper to remove this warning. See [2022-06-20T20:06:32.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:06:32.742Z] [2022-06-20T20:06:32.743Z] Login Succeeded [2022-06-20T20:06:32.743Z] nexus3.edgexfoundry.org:10003 [2022-06-20T20:06:33.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:06:33.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:06:33.343Z] Configure a credential helper to remove this warning. See [2022-06-20T20:06:33.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:06:33.343Z] [2022-06-20T20:06:33.343Z] Login Succeeded [2022-06-20T20:06:33.343Z] nexus3.edgexfoundry.org:10004 [2022-06-20T20:06:33.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:06:33.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:06:33.890Z] Configure a credential helper to remove this warning. See [2022-06-20T20:06:33.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:06:33.890Z] [2022-06-20T20:06:33.890Z] Login Succeeded [2022-06-20T20:06:33.890Z] docker.io [2022-06-20T20:06:34.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T20:06:34.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T20:06:34.441Z] Configure a credential helper to remove this warning. See [2022-06-20T20:06:34.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T20:06:34.441Z] [2022-06-20T20:06:34.441Z] Login Succeeded [2022-06-20T20:06:34.714Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T20:06:34.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T20:06:35.145Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:06:35.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T20:06:35.214Z] ========================================================= [2022-06-20T20:06:35.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T20:06:35.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:06:35.710Z] + 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-06-20T20:06:35.711Z] Sending build context to Docker daemon 129kB [2022-06-20T20:06:35.985Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:06:35.985Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T20:06:36.260Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T20:06:36.260Z] 9b3977197b4f: Pulling fs layer [2022-06-20T20:06:36.260Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T20:06:36.260Z] 94645a83ff95: Pulling fs layer [2022-06-20T20:06:36.260Z] e6fb740bc735: Pulling fs layer [2022-06-20T20:06:36.260Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T20:06:36.260Z] 355e64cbe906: Pulling fs layer [2022-06-20T20:06:36.260Z] 63ab81a10011: Pulling fs layer [2022-06-20T20:06:36.260Z] 555d1d1c4555: Pulling fs layer [2022-06-20T20:06:36.260Z] 7d9057610161: Pulling fs layer [2022-06-20T20:06:36.260Z] 355e64cbe906: Waiting [2022-06-20T20:06:36.260Z] 63ab81a10011: Waiting [2022-06-20T20:06:36.260Z] 555d1d1c4555: Waiting [2022-06-20T20:06:36.260Z] e6fb740bc735: Waiting [2022-06-20T20:06:36.260Z] 7d9057610161: Waiting [2022-06-20T20:06:36.260Z] 3a77bd46dcc9: Waiting [2022-06-20T20:06:36.260Z] 94645a83ff95: Verifying Checksum [2022-06-20T20:06:36.260Z] 94645a83ff95: Download complete [2022-06-20T20:06:36.260Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T20:06:36.260Z] 1a89e8eeedd5: Download complete [2022-06-20T20:06:36.260Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T20:06:36.260Z] 3a77bd46dcc9: Download complete [2022-06-20T20:06:36.260Z] 355e64cbe906: Verifying Checksum [2022-06-20T20:06:36.260Z] 355e64cbe906: Download complete [2022-06-20T20:06:36.260Z] 9b3977197b4f: Verifying Checksum [2022-06-20T20:06:36.260Z] 9b3977197b4f: Download complete [2022-06-20T20:06:36.260Z] 63ab81a10011: Verifying Checksum [2022-06-20T20:06:36.260Z] 63ab81a10011: Download complete [2022-06-20T20:06:37.295Z] 9b3977197b4f: Pull complete [2022-06-20T20:06:37.295Z] 7d9057610161: Verifying Checksum [2022-06-20T20:06:37.295Z] 7d9057610161: Download complete [2022-06-20T20:06:37.580Z] 1a89e8eeedd5: Pull complete [2022-06-20T20:06:38.180Z] 94645a83ff95: Pull complete [2022-06-20T20:06:38.456Z] 555d1d1c4555: Verifying Checksum [2022-06-20T20:06:38.456Z] 555d1d1c4555: Download complete [2022-06-20T20:06:39.053Z] e6fb740bc735: Verifying Checksum [2022-06-20T20:06:39.053Z] e6fb740bc735: Download complete [2022-06-20T20:06:51.466Z] e6fb740bc735: Pull complete [2022-06-20T20:06:51.466Z] 3a77bd46dcc9: Pull complete [2022-06-20T20:06:51.466Z] 355e64cbe906: Pull complete [2022-06-20T20:06:51.466Z] 63ab81a10011: Pull complete [2022-06-20T20:06:55.779Z] 555d1d1c4555: Pull complete [2022-06-20T20:06:57.768Z] 7d9057610161: Pull complete [2022-06-20T20:06:57.768Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T20:06:57.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T20:06:57.768Z] ---> 819e984ddca1 [2022-06-20T20:06:57.768Z] Step 3/12 : ARG MAKE='make build' [2022-06-20T20:06:59.750Z] ---> Running in 43f8b50f6c62 [2022-06-20T20:06:59.750Z] Removing intermediate container 43f8b50f6c62 [2022-06-20T20:06:59.750Z] ---> b22e7e0f499b [2022-06-20T20:06:59.750Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:06:59.750Z] ---> Running in de267350e6b1 [2022-06-20T20:07:00.022Z] Removing intermediate container de267350e6b1 [2022-06-20T20:07:00.022Z] ---> 31d0b66b678c [2022-06-20T20:07:00.022Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:07:00.293Z] ---> Running in 1ecf59a6977f [2022-06-20T20:07:00.566Z] Removing intermediate container 1ecf59a6977f [2022-06-20T20:07:00.566Z] ---> 78947a7ce1e6 [2022-06-20T20:07:00.566Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:07:00.566Z] ---> Running in 4203faa5259f [2022-06-20T20:07:02.557Z] Removing intermediate container 4203faa5259f [2022-06-20T20:07:02.557Z] ---> 38ffa91a6ae3 [2022-06-20T20:07:02.557Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:07:02.557Z] ---> Running in 751a14d496f6 [2022-06-20T20:07:03.538Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:07:04.516Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:07:05.536Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T20:07:05.536Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T20:07:05.536Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T20:07:05.812Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T20:07:05.812Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T20:07:05.812Z] OK: 224 MiB in 56 packages [2022-06-20T20:07:07.246Z] Removing intermediate container 751a14d496f6 [2022-06-20T20:07:07.246Z] ---> bfffdd5c99fe [2022-06-20T20:07:07.246Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-20T20:07:07.246Z] ---> Running in c86d00676117 [2022-06-20T20:07:07.524Z] Removing intermediate container c86d00676117 [2022-06-20T20:07:07.524Z] ---> 124ab525a473 [2022-06-20T20:07:07.524Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-20T20:07:08.121Z] ---> 05bce41b9d71 [2022-06-20T20:07:08.121Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:07:08.121Z] ---> Running in 2d5c44b15e3c [2022-06-20T20:07:55.102Z] Removing intermediate container 2d5c44b15e3c [2022-06-20T20:07:55.102Z] ---> 07333c8e2cd5 [2022-06-20T20:07:55.102Z] Step 11/12 : COPY . . [2022-06-20T20:07:55.102Z] ---> 2d62c9b2fb1f [2022-06-20T20:07:55.102Z] Step 12/12 : RUN $MAKE [2022-06-20T20:07:55.102Z] ---> Running in c9205ce78b0c [2022-06-20T20:07:55.102Z] noop [2022-06-20T20:07:55.696Z] Removing intermediate container c9205ce78b0c [2022-06-20T20:07:55.696Z] ---> 0d317366c141 [2022-06-20T20:07:55.696Z] Successfully built 0d317366c141 [2022-06-20T20:07:55.696Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:07:56.186Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T20:07:56.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:07:56.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-15181 does not seem to be running inside a container [2022-06-20T20:07:56.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T20:07:58.006Z] $ docker top d82008044ff0b0fe81d4f2535221fd792dc79b76fa0b928907b76910fb71bc7d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:07:58.998Z] + go version [2022-06-20T20:07:58.998Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T20:07:59.040Z] $ docker stop --time=1 d82008044ff0b0fe81d4f2535221fd792dc79b76fa0b928907b76910fb71bc7d [2022-06-20T20:08:00.765Z] $ docker rm -f d82008044ff0b0fe81d4f2535221fd792dc79b76fa0b928907b76910fb71bc7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:08:01.685Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T20:08:01.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:08:02.006Z] prd-ubuntu20.04-docker-arm64-4c-16g-15181 does not seem to be running inside a container [2022-06-20T20:08:02.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T20:08:03.427Z] $ docker top 428bbb4777a3c74b61e7c0ce9571f525a22c50d10297aea3a77ab4bb8eb9ffc5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T20:08:04.442Z] + make test [2022-06-20T20:08:04.442Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-20T20:08:05.876Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-20T20:09:27.743Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-20T20:09:27.743Z] ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 55.2% of statements [2022-06-20T20:09:27.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T20:09:27.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T20:09:54.594Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T20:09:54.594Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T20:09:54.594Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T20:09:56.608Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T20:09:56.645Z] $ docker stop --time=1 428bbb4777a3c74b61e7c0ce9571f525a22c50d10297aea3a77ab4bb8eb9ffc5 [2022-06-20T20:09:58.417Z] $ docker rm -f 428bbb4777a3c74b61e7c0ce9571f525a22c50d10297aea3a77ab4bb8eb9ffc5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T20:09:59.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T20:09:59.496Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T20:09:59.986Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T20:10:00.599Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T20:10:00.953Z] + ls -al . [2022-06-20T20:10:00.953Z] total 168 [2022-06-20T20:10:00.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:09 . [2022-06-20T20:10:00.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 20:06 .. [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 20 20:06 .dockerignore [2022-06-20T20:10:00.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 20:06 .git [2022-06-20T20:10:00.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:06 .github [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 20 20:06 .gitignore [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 20:06 .golangci.yml [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 20 20:06 Attribution.txt [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 20 20:06 CHANGELOG.md [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 20 20:06 Dockerfile [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 20:06 GOVERNANCE.md [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 20 20:06 Jenkinsfile [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 20:06 LICENSE [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 20 20:06 Makefile [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 20 20:06 OWNERS.md [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 20 20:06 README.md [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 20:04 VERSION [2022-06-20T20:10:00.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:06 bin [2022-06-20T20:10:00.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:06 cmd [2022-06-20T20:10:00.953Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 20 20:09 coverage.out [2022-06-20T20:10:00.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 20:06 driver [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 20 20:06 go.mod [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 36279 Jun 20 20:06 go.sum [2022-06-20T20:10:00.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 20:06 snap [2022-06-20T20:10:00.953Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 20 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:10:01.417Z] + 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=bb5b1563ede4d3576ac6954b00e175d4240e0d83 --label arch=arm64 --label version=0.0.0 . [2022-06-20T20:10:01.417Z] Sending build context to Docker daemon 139.3kB [2022-06-20T20:10:01.696Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T20:10:01.696Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-20T20:10:01.696Z] ---> 0d317366c141 [2022-06-20T20:10:01.696Z] Step 3/25 : ARG MAKE='make build' [2022-06-20T20:10:01.696Z] ---> Running in cdd224f1ba7b [2022-06-20T20:10:01.974Z] Removing intermediate container cdd224f1ba7b [2022-06-20T20:10:01.974Z] ---> df2d2f0e47af [2022-06-20T20:10:01.974Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T20:10:02.256Z] ---> Running in 36a6dee52929 [2022-06-20T20:10:02.530Z] Removing intermediate container 36a6dee52929 [2022-06-20T20:10:02.530Z] ---> 7e711bb59cfb [2022-06-20T20:10:02.530Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T20:10:02.530Z] ---> Running in fdf6fe52639e [2022-06-20T20:10:02.831Z] Removing intermediate container fdf6fe52639e [2022-06-20T20:10:02.831Z] ---> 9100f80205c4 [2022-06-20T20:10:02.831Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T20:10:02.831Z] ---> Running in 3eae3d2a9c6e [2022-06-20T20:10:04.819Z] Removing intermediate container 3eae3d2a9c6e [2022-06-20T20:10:04.819Z] ---> f82c1fb72555 [2022-06-20T20:10:04.819Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T20:10:04.819Z] ---> Running in 6a2a178c62e0 [2022-06-20T20:10:05.413Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:10:06.392Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:10:07.370Z] OK: 224 MiB in 56 packages [2022-06-20T20:10:08.351Z] Removing intermediate container 6a2a178c62e0 [2022-06-20T20:10:08.351Z] ---> e1b6c7e60987 [2022-06-20T20:10:08.351Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-20T20:10:08.351Z] ---> Running in 2b40b78632cf [2022-06-20T20:10:08.351Z] Removing intermediate container 2b40b78632cf [2022-06-20T20:10:08.351Z] ---> e1058325c704 [2022-06-20T20:10:08.351Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-20T20:10:08.966Z] ---> 39d97b07bc18 [2022-06-20T20:10:08.967Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T20:10:08.967Z] ---> Running in 76e2bb0beecb [2022-06-20T20:10:10.958Z] Removing intermediate container 76e2bb0beecb [2022-06-20T20:10:10.958Z] ---> 179e6d34b496 [2022-06-20T20:10:10.958Z] Step 11/25 : COPY . . [2022-06-20T20:10:11.555Z] ---> 89ac5f5f1fc7 [2022-06-20T20:10:11.555Z] Step 12/25 : RUN $MAKE [2022-06-20T20:10:11.555Z] ---> Running in 3745c28ce3bb [2022-06-20T20:10:12.540Z] 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-06-20T20:12:19.412Z] Removing intermediate container 3745c28ce3bb [2022-06-20T20:12:19.412Z] ---> bd168c064333 [2022-06-20T20:12:19.412Z] Step 13/25 : FROM alpine:3.14 [2022-06-20T20:12:19.412Z] 3.14: Pulling from library/alpine [2022-06-20T20:12:19.412Z] 455c02918c45: Pulling fs layer [2022-06-20T20:12:19.412Z] 455c02918c45: Verifying Checksum [2022-06-20T20:12:19.412Z] 455c02918c45: Download complete [2022-06-20T20:12:19.412Z] 455c02918c45: Pull complete [2022-06-20T20:12:19.412Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T20:12:19.412Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T20:12:19.412Z] ---> ac73e934f311 [2022-06-20T20:12:19.412Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-20T20:12:19.412Z] ---> Running in c70e10285762 [2022-06-20T20:12:19.412Z] Removing intermediate container c70e10285762 [2022-06-20T20:12:19.412Z] ---> b79765493576 [2022-06-20T20:12:19.412Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-20T20:12:19.412Z] ---> Running in a4774d821f70 [2022-06-20T20:12:19.412Z] Removing intermediate container a4774d821f70 [2022-06-20T20:12:19.412Z] ---> 78bf65fb73f9 [2022-06-20T20:12:19.412Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T20:12:19.412Z] ---> Running in 55a3360b6edf [2022-06-20T20:12:19.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T20:12:19.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T20:12:20.669Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T20:12:20.669Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T20:12:20.669Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T20:12:20.669Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T20:12:20.669Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T20:12:20.669Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T20:12:20.669Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T20:12:20.669Z] OK: 8 MiB in 20 packages [2022-06-20T20:12:21.657Z] Removing intermediate container 55a3360b6edf [2022-06-20T20:12:21.657Z] ---> a59c33b5f3fb [2022-06-20T20:12:21.657Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-20T20:12:23.087Z] ---> d9f111f49279 [2022-06-20T20:12:23.087Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-20T20:12:23.367Z] ---> b6be28431082 [2022-06-20T20:12:23.367Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-20T20:12:23.970Z] ---> 5a3d283f2a14 [2022-06-20T20:12:23.970Z] Step 20/25 : EXPOSE 59986 [2022-06-20T20:12:23.970Z] ---> Running in 271c03e3c920 [2022-06-20T20:12:24.241Z] Removing intermediate container 271c03e3c920 [2022-06-20T20:12:24.241Z] ---> b414abd737bc [2022-06-20T20:12:24.241Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-20T20:12:24.515Z] ---> Running in 5f0d581c3f44 [2022-06-20T20:12:24.789Z] Removing intermediate container 5f0d581c3f44 [2022-06-20T20:12:24.789Z] ---> 47f603d1f607 [2022-06-20T20:12:24.789Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-20T20:12:24.789Z] ---> Running in 9c069310a5ff [2022-06-20T20:12:25.064Z] Removing intermediate container 9c069310a5ff [2022-06-20T20:12:25.064Z] ---> e5d234d58ee7 [2022-06-20T20:12:25.064Z] Step 23/25 : LABEL arch=arm64 [2022-06-20T20:12:25.064Z] ---> Running in 19bf3b1d4d4d [2022-06-20T20:12:25.663Z] Removing intermediate container 19bf3b1d4d4d [2022-06-20T20:12:25.663Z] ---> a49c1a739bc2 [2022-06-20T20:12:25.663Z] Step 24/25 : LABEL git_sha=bb5b1563ede4d3576ac6954b00e175d4240e0d83 [2022-06-20T20:12:25.663Z] ---> Running in ff5e9f736661 [2022-06-20T20:12:25.938Z] Removing intermediate container ff5e9f736661 [2022-06-20T20:12:25.938Z] ---> f98d53a51c19 [2022-06-20T20:12:25.938Z] Step 25/25 : LABEL version=0.0.0 [2022-06-20T20:12:25.938Z] ---> Running in 4ba2b623fbd0 [2022-06-20T20:12:26.214Z] Removing intermediate container 4ba2b623fbd0 [2022-06-20T20:12:26.214Z] ---> 5fc3ce21133b [2022-06-20T20:12:26.214Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T20:12:26.214Z] Successfully built 5fc3ce21133b [2022-06-20T20:12:26.214Z] 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-06-20T20:12:26.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:12:26.995Z] [2022-06-20T20:12:26.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:12:27.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:12:27.693Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T20:12:27.693Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T20:12:27.693Z] 04944245beec: Pulling fs layer [2022-06-20T20:12:27.693Z] 699f458cf7ca: Pulling fs layer [2022-06-20T20:12:27.693Z] 765212b225bb: Pulling fs layer [2022-06-20T20:12:27.693Z] f23df028b6ca: Pulling fs layer [2022-06-20T20:12:27.693Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T20:12:27.693Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T20:12:27.693Z] f23df028b6ca: Waiting [2022-06-20T20:12:27.693Z] d65c8cfc05b1: Waiting [2022-06-20T20:12:27.693Z] 2437ff75d9bd: Waiting [2022-06-20T20:12:27.693Z] 765212b225bb: Waiting [2022-06-20T20:12:27.693Z] 04944245beec: Verifying Checksum [2022-06-20T20:12:27.693Z] 04944245beec: Download complete [2022-06-20T20:12:27.693Z] 765212b225bb: Verifying Checksum [2022-06-20T20:12:27.693Z] 765212b225bb: Download complete [2022-06-20T20:12:27.693Z] f23df028b6ca: Verifying Checksum [2022-06-20T20:12:27.693Z] f23df028b6ca: Download complete [2022-06-20T20:12:27.693Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T20:12:27.693Z] d65c8cfc05b1: Download complete [2022-06-20T20:12:27.974Z] 699f458cf7ca: Download complete [2022-06-20T20:12:28.250Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T20:12:28.250Z] 8998bd30e6a1: Download complete [2022-06-20T20:12:30.243Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T20:12:30.243Z] 2437ff75d9bd: Download complete [2022-06-20T20:12:32.876Z] 8998bd30e6a1: Pull complete [2022-06-20T20:12:32.876Z] 04944245beec: Pull complete [2022-06-20T20:12:34.318Z] 699f458cf7ca: Pull complete [2022-06-20T20:12:34.592Z] 765212b225bb: Pull complete [2022-06-20T20:12:35.573Z] f23df028b6ca: Pull complete [2022-06-20T20:12:35.848Z] d65c8cfc05b1: Pull complete [2022-06-20T20:12:50.960Z] 2437ff75d9bd: Pull complete [2022-06-20T20:12:50.960Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T20:12:50.960Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T20:12:50.960Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:12:51.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-15181 does not seem to be running inside a container [2022-06-20T20:12:51.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T20:12:54.260Z] $ docker top a2ea065dd4e03730ef0463ecbe2d3f68e426b72d1a428d56118d4eb3b67b81c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:12:55.249Z] ---> job-cost.sh [2022-06-20T20:12:55.249Z] lf-activate-venv: SKIPPING [2022-06-20T20:12:55.249Z] INFO: No Stack... [2022-06-20T20:12:55.847Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T20:12:56.829Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T20:12:57.522Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-06-20T20:12:57.522Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T20:12:57.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [2022-06-20T20:12:57.608Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] did not exist. Created. [2022-06-20T20:12:57.608Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T20:12:58.360Z] /w/workspace/device-rest-go/1@tmp/durable-b82c1c40/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T20:12:59.063Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T20:12:59.098Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T20:12:59.148Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T20:12:59.163Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-198-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T20:12:59.245Z] $ docker stop --time=1 a2ea065dd4e03730ef0463ecbe2d3f68e426b72d1a428d56118d4eb3b67b81c5 [2022-06-20T20:13:00.767Z] $ docker rm -f a2ea065dd4e03730ef0463ecbe2d3f68e426b72d1a428d56118d4eb3b67b81c5 [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-06-20T20:13:01.803Z] provisioning config files... [2022-06-20T20:13:01.813Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/config4234553969102943425tmp [Pipeline] { [Pipeline] sh [2022-06-20T20:13:02.149Z] + set +x [2022-06-20T20:13:02.149Z] + curl -s https://codecov.io/bash [2022-06-20T20:13:02.149Z] + bash -s -- [2022-06-20T20:13:02.149Z] [2022-06-20T20:13:02.149Z] _____ _ [2022-06-20T20:13:02.149Z] / ____| | | [2022-06-20T20:13:02.149Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T20:13:02.149Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T20:13:02.149Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T20:13:02.149Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T20:13:02.149Z] Bash-1.0.6 [2022-06-20T20:13:02.149Z] [2022-06-20T20:13:02.149Z] [2022-06-20T20:13:02.149Z] ==> git version 2.25.1 found [2022-06-20T20:13:02.149Z] ==> 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-06-20T20:13:02.149Z] Release-Date: 2020-01-08 [2022-06-20T20:13:02.149Z] 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-06-20T20:13:02.149Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T20:13:02.149Z] ==> Jenkins CI detected. [2022-06-20T20:13:02.149Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-198 [2022-06-20T20:13:02.149Z] project root: . [2022-06-20T20:13:02.149Z] --> token set from env [2022-06-20T20:13:02.149Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T20:13:02.149Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T20:13:02.149Z] ==> Python coveragepy not found [2022-06-20T20:13:02.149Z] ==> Searching for coverage reports in: [2022-06-20T20:13:02.149Z] + . [2022-06-20T20:13:02.149Z] -> Found 1 reports [2022-06-20T20:13:02.149Z] ==> Detecting git/mercurial file structure [2022-06-20T20:13:02.149Z] ==> Reading reports [2022-06-20T20:13:02.412Z] + ./coverage.out bytes=9355 [2022-06-20T20:13:02.412Z] ==> Appending adjustments [2022-06-20T20:13:02.412Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T20:13:02.412Z] + Found adjustments [2022-06-20T20:13:02.412Z] ==> Gzipping contents [2022-06-20T20:13:02.412Z] 4.0K /tmp/codecov.a09bGG.gz [2022-06-20T20:13:02.412Z] ==> Uploading reports [2022-06-20T20:13:02.412Z] url: https://codecov.io [2022-06-20T20:13:02.412Z] query: branch=PR-198&commit=bb5b1563ede4d3576ac6954b00e175d4240e0d83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=198&job=&cmd_args= [2022-06-20T20:13:02.412Z] -> Pinging Codecov [2022-06-20T20:13:02.412Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-198&commit=bb5b1563ede4d3576ac6954b00e175d4240e0d83&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-198%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=198&job=&cmd_args= [2022-06-20T20:13:02.674Z] -> Uploading to [2022-06-20T20:13:02.674Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/4E5D53B4F1F92C436F7061BF334D961C/bb5b1563ede4d3576ac6954b00e175d4240e0d83/c097fa0a-5e72-4f69-abbe-ed5e70cb1152.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T201302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eefcd1ebe4ca86980029bd7685c1ae0ed518b5bc7ded71d92f9ffd6d7b4a7e24 [2022-06-20T20:13:02.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T20:13:02.674Z] Dload Upload Total Spent Left Speed [2022-06-20T20:13:02.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8478 --:--:-- --:--:-- --:--:-- 8478 [2022-06-20T20:13:02.934Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/bb5b1563ede4d3576ac6954b00e175d4240e0d83 [Pipeline] } [2022-06-20T20:13:02.964Z] 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-06-20T20:13:04.672Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-198/archives ] [2022-06-20T20:13:04.672Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-198/archives [2022-06-20T20:13:04.672Z] total 16 [2022-06-20T20:13:04.672Z] drwxr-xr-x 3 root root 4096 Jun 20 20:05 . [2022-06-20T20:13:04.672Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 20:05 .. [2022-06-20T20:13:04.672Z] drwxr-xr-x 2 root root 4096 Jun 20 20:05 cost [2022-06-20T20:13:04.672Z] -rw-r--r-- 1 root root 85 Jun 20 20:05 cost.csv [2022-06-20T20:13:04.672Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-198/archives [2022-06-20T20:13:04.672Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-198/archives [2022-06-20T20:13:04.672Z] total 16 [2022-06-20T20:13:04.672Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 20:05 . [2022-06-20T20:13:04.672Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 20:05 .. [2022-06-20T20:13:04.672Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 20:05 cost [2022-06-20T20:13:04.672Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 20 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:05.004Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:05.899Z] ---> package-listing.sh [2022-06-20T20:13:05.899Z] ++ facter osfamily [2022-06-20T20:13:05.899Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T20:13:06.159Z] + OS_FAMILY=debian [2022-06-20T20:13:06.159Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-198 [2022-06-20T20:13:06.159Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T20:13:06.159Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T20:13:06.159Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T20:13:06.159Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T20:13:06.159Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-198 ']' [2022-06-20T20:13:06.159Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T20:13:06.159Z] + case "${OS_FAMILY}" in [2022-06-20T20:13:06.159Z] + dpkg -l [2022-06-20T20:13:06.159Z] + grep '^ii' [2022-06-20T20:13:06.159Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T20:13:06.159Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T20:13:06.159Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T20:13:06.159Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-198 ']' [2022-06-20T20:13:06.159Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-198/archives/ [2022-06-20T20:13:06.159Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-198/archives/ [Pipeline] echo [2022-06-20T20:13:06.194Z] 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-20T20:13:06.488Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T20:13:07.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T20:13:07.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T20:13:07.267Z] prd-ubuntu20.04-docker-8c-8g-15178 does not seem to be running inside a container [2022-06-20T20:13:07.305Z] $ 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-198/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-198 -v /w/workspace/gexfoundry_device-rest-go_PR-198:/w/workspace/gexfoundry_device-rest-go_PR-198:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-198@tmp:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T20:13:07.521Z] $ docker top 4b45df4ae1b9e23ea484ee5d118a5b4694db5bc4a997783b49fa3fc286f1f7d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T20:13:07.919Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T20:13:08.230Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T20:13:08.542Z] + ls /var/log/sa-host [2022-06-20T20:13:08.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T20:13:08.761Z] provisioning config files... [2022-06-20T20:13:08.771Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-198@tmp/config6686414989981115071tmp [Pipeline] { [Pipeline] echo [2022-06-20T20:13:08.824Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:09.143Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T20:13:09.170Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:09.582Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T20:13:09.613Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:09.928Z] ---> sudo-logs.sh [2022-06-20T20:13:09.928Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T20:13:10.007Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:10.322Z] ---> job-cost.sh [2022-06-20T20:13:10.322Z] lf-activate-venv: SKIPPING [2022-06-20T20:13:10.322Z] DEBUG: total: 0.2199999988079071 [2022-06-20T20:13:10.322Z] INFO: Retrieving Stack Cost... [2022-06-20T20:13:10.894Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T20:13:11.156Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T20:13:11.189Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T20:13:11.504Z] ---> logs-deploy.sh [2022-06-20T20:13:11.504Z] lf-activate-venv: SKIPPING [2022-06-20T20:13:11.504Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-198/1 [2022-06-20T20:13:11.504Z] INFO: archiving workspace using pattern(s): [2022-06-20T20:13:12.446Z] Archives upload complete. [2022-06-20T20:13:12.446Z] INFO: archiving logs to Nexus