Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3f3354419243f8059a7090215226b4496d03362+2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 (734974925c8e27b5df2e6e6e9524aeb21f7b9c9f) 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-ssh12440643830347414326.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-ssh4521899882007790130.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-204/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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2657209102240541940.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-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5548012344670641233.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-ssh14857283240262181317.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-204/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-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2589502937359060016.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-16894 in /w/workspace/gexfoundry_device-rest-go_PR-204 [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-204 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit e3f3354419243f8059a7090215226b4496d03362 Merge succeeded, producing e3f3354419243f8059a7090215226b4496d03362 Checking out Revision e3f3354419243f8059a7090215226b4496d03362 (PR-204) > 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/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3f3354419243f8059a7090215226b4496d03362 # 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 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3f3354419243f8059a7090215226b4496d03362 # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-04T20:03:22.457Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-04T20:03:22.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-04T20:03:22.735Z] ========================================================= [2022-07-04T20:03:22.735Z] EdgeX Global Pipelines Version Info [2022-07-04T20:03:22.735Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:03:23.526Z] ------------------- [2022-07-04T20:03:23.526Z] stable info: [2022-07-04T20:03:23.526Z] ------------------- [2022-07-04T20:03:23.526Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-04T20:03:23.526Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-04T20:03:23.526Z] Message: update stable to v1.0.234 [2022-07-04T20:03:24.098Z] ------------------- [2022-07-04T20:03:24.098Z] experimental info: [2022-07-04T20:03:24.098Z] ------------------- [2022-07-04T20:03:24.098Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-04T20:03:24.098Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-04T20:03:24.098Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-04T20:03:24.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-04T20:03:24.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-04T20:03:24.542Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-04T20:03:24.578Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-04T20:03:24.621Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-04T20:03:24.657Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-04T20:03:24.701Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-04T20:03:24.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-04T20:03:24.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-04T20:03:24.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-04T20:03:24.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-04T20:03:24.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-04T20:03:24.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-04T20:03:24.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-04T20:03:25.015Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T20:03:25.056Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T20:03:25.092Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T20:03:25.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T20:03:25.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-04T20:03:25.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-04T20:03:25.236Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-04T20:03:25.271Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-04T20:03:25.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-04T20:03:25.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-04T20:03:25.394Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-04T20:03:25.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-04T20:03:25.476Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-04T20:03:25.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2022-07-04T20:03:25.558Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2022-07-04T20:03:25.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2022-07-04T20:03:25.640Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3f3354419243f8059a7090215226b4496d03362 [Pipeline] echo [2022-07-04T20:03:25.680Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3f3354 [Pipeline] echo [2022-07-04T20:03:25.724Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T20:03:25.837Z] provisioning config files... [2022-07-04T20:03:25.857Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config2328283186249869993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:03:26.201Z] ---> docker-login.sh [2022-07-04T20:03:26.201Z] nexus3.edgexfoundry.org:10001 [2022-07-04T20:03:26.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:26.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:26.723Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:26.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:26.723Z] [2022-07-04T20:03:26.723Z] Login Succeeded [2022-07-04T20:03:26.723Z] nexus3.edgexfoundry.org:10002 [2022-07-04T20:03:26.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:26.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:26.723Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:26.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:26.723Z] [2022-07-04T20:03:26.723Z] Login Succeeded [2022-07-04T20:03:26.723Z] nexus3.edgexfoundry.org:10003 [2022-07-04T20:03:26.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:26.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:26.985Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:26.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:26.985Z] [2022-07-04T20:03:26.985Z] Login Succeeded [2022-07-04T20:03:26.985Z] nexus3.edgexfoundry.org:10004 [2022-07-04T20:03:26.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:26.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:26.985Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:26.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:26.985Z] [2022-07-04T20:03:26.985Z] Login Succeeded [2022-07-04T20:03:26.985Z] docker.io [2022-07-04T20:03:27.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:27.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:27.512Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:27.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:27.512Z] [2022-07-04T20:03:27.512Z] Login Succeeded [2022-07-04T20:03:27.512Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T20:03:27.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-04T20:03:28.182Z] + git rev-list -1 --merges e3f3354419243f8059a7090215226b4496d03362~1..e3f3354419243f8059a7090215226b4496d03362 [Pipeline] echo [2022-07-04T20:03:28.235Z] -----------> git rev-list -1 --merges e3f3354419243f8059a7090215226b4496d03362~1..e3f3354419243f8059a7090215226b4496d03362 e3f3354419243f8059a7090215226b4496d03362 [false] [Pipeline] sh [2022-07-04T20:03:28.551Z] + git log --format=format:%s -1 e3f3354419243f8059a7090215226b4496d03362 [Pipeline] echo [2022-07-04T20:03:28.586Z] ========================================================= [2022-07-04T20:03:28.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-04T20:03:28.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T20:03:29.033Z] + git log --format=format:%s -1 e3f3354419243f8059a7090215226b4496d03362 [Pipeline] echo [2022-07-04T20:03:29.064Z] [semverPrep] GIT_COMMIT: e3f3354419243f8059a7090215226b4496d03362, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-07-04T20:03:29.094Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-04T20:03:29.486Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-04T20:03:29.486Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-04T20:03:29.486Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-04T20:03:29.486Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-04T20:03:29.486Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-04T20:03:29.486Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-04T20:03:29.486Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:03:29.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T20:03:29.980Z] [2022-07-04T20:03:29.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:03:30.368Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T20:03:30.369Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-04T20:03:30.369Z] 42c077c10790: Pulling fs layer [2022-07-04T20:03:30.369Z] f63e77b7563a: Pulling fs layer [2022-07-04T20:03:30.369Z] bd5fdadae976: Pulling fs layer [2022-07-04T20:03:30.369Z] 205491f53016: Pulling fs layer [2022-07-04T20:03:30.369Z] df18705c85c3: Pulling fs layer [2022-07-04T20:03:30.369Z] bdb3f477010e: Pulling fs layer [2022-07-04T20:03:30.369Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-04T20:03:30.369Z] 2c6e9b1d212d: Pulling fs layer [2022-07-04T20:03:30.369Z] bdb8f0575790: Pulling fs layer [2022-07-04T20:03:30.369Z] 386e3cb2ff24: Pulling fs layer [2022-07-04T20:03:30.369Z] 2343380bae48: Pulling fs layer [2022-07-04T20:03:30.369Z] 205491f53016: Waiting [2022-07-04T20:03:30.369Z] df18705c85c3: Waiting [2022-07-04T20:03:30.369Z] bdb3f477010e: Waiting [2022-07-04T20:03:30.369Z] c8a8fc8e1c8f: Waiting [2022-07-04T20:03:30.369Z] 2c6e9b1d212d: Waiting [2022-07-04T20:03:30.369Z] 386e3cb2ff24: Waiting [2022-07-04T20:03:30.369Z] bdb8f0575790: Waiting [2022-07-04T20:03:30.369Z] f63e77b7563a: Verifying Checksum [2022-07-04T20:03:30.369Z] f63e77b7563a: Download complete [2022-07-04T20:03:30.369Z] 205491f53016: Download complete [2022-07-04T20:03:30.628Z] df18705c85c3: Verifying Checksum [2022-07-04T20:03:30.628Z] df18705c85c3: Download complete [2022-07-04T20:03:30.628Z] bd5fdadae976: Verifying Checksum [2022-07-04T20:03:30.628Z] bd5fdadae976: Download complete [2022-07-04T20:03:30.628Z] bdb3f477010e: Verifying Checksum [2022-07-04T20:03:30.628Z] bdb3f477010e: Download complete [2022-07-04T20:03:30.628Z] 2c6e9b1d212d: Download complete [2022-07-04T20:03:30.628Z] bdb8f0575790: Verifying Checksum [2022-07-04T20:03:30.628Z] bdb8f0575790: Download complete [2022-07-04T20:03:30.628Z] 386e3cb2ff24: Download complete [2022-07-04T20:03:30.628Z] 2343380bae48: Verifying Checksum [2022-07-04T20:03:30.628Z] 2343380bae48: Download complete [2022-07-04T20:03:30.628Z] 42c077c10790: Verifying Checksum [2022-07-04T20:03:30.628Z] 42c077c10790: Download complete [2022-07-04T20:03:30.890Z] c8a8fc8e1c8f: Download complete [2022-07-04T20:03:32.275Z] 42c077c10790: Pull complete [2022-07-04T20:03:32.275Z] f63e77b7563a: Pull complete [2022-07-04T20:03:32.851Z] bd5fdadae976: Pull complete [2022-07-04T20:03:32.851Z] 205491f53016: Pull complete [2022-07-04T20:03:33.114Z] df18705c85c3: Pull complete [2022-07-04T20:03:33.375Z] bdb3f477010e: Pull complete [2022-07-04T20:03:35.317Z] c8a8fc8e1c8f: Pull complete [2022-07-04T20:03:35.317Z] 2c6e9b1d212d: Pull complete [2022-07-04T20:03:35.579Z] bdb8f0575790: Pull complete [2022-07-04T20:03:35.579Z] 386e3cb2ff24: Pull complete [2022-07-04T20:03:35.840Z] 2343380bae48: Pull complete [2022-07-04T20:03:35.840Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-04T20:03:35.840Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T20:03:35.840Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:03:36.061Z] prd-ubuntu20.04-docker-8c-8g-16894 does not seem to be running inside a container [2022-07-04T20:03:36.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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-07-04T20:03:37.429Z] $ docker top e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 -eo pid,comm [2022-07-04T20:03:37.500Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-04T20:03:37.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-04T20:03:37.630Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T20:03:37.630Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T20:03:37.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T20:03:37.768Z] $ docker exec e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 ssh-agent [2022-07-04T20:03:37.903Z] SSH_AUTH_SOCK=/tmp/ssh-JqyWamR4qAd9/agent.33 [2022-07-04T20:03:37.903Z] SSH_AGENT_PID=39 [2022-07-04T20:03:37.913Z] Running ssh-add (command line suppressed) [2022-07-04T20:03:38.047Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_7858605234096747663.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_7858605234096747663.key) [2022-07-04T20:03:38.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T20:03:38.402Z] + git tag --points-at HEAD [Pipeline] } [2022-07-04T20:03:38.428Z] $ docker exec --env ******** --env ******** e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 ssh-agent -k [2022-07-04T20:03:38.544Z] unset SSH_AUTH_SOCK; [2022-07-04T20:03:38.544Z] unset SSH_AGENT_PID; [2022-07-04T20:03:38.544Z] echo Agent pid 39 killed; [2022-07-04T20:03:38.556Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-04T20:03:38.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T20:03:38.644Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T20:03:38.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T20:03:38.782Z] $ docker exec e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 ssh-agent [2022-07-04T20:03:38.936Z] SSH_AUTH_SOCK=/tmp/ssh-MFqWwhezlHCj/agent.71 [2022-07-04T20:03:38.936Z] SSH_AGENT_PID=77 [2022-07-04T20:03:38.941Z] Running ssh-add (command line suppressed) [2022-07-04T20:03:39.058Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_3073772146019617064.key (/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/private_key_3073772146019617064.key) [2022-07-04T20:03:39.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T20:03:39.408Z] + git semver init [2022-07-04T20:03:39.671Z] 2022-07-04 20:03:39,637 [run_init] DEBUG init version:0.0.0 force:False [2022-07-04T20:03:39.671Z] 2022-07-04 20:03:39,638 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-04T20:03:39.671Z] 2022-07-04 20:03:39,638 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-204/.semver [2022-07-04T20:03:39.671Z] 2022-07-04 20:03:39,638 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-204/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204, universal_newlines=False, shell=None, istream=None) [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,510 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.git/info/exclude [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,511 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 with force:False [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,511 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,516 [execute] INFO git cat-file --batch-check [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,516 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,523 [execute] INFO git cat-file --batch [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,524 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T20:03:40.616Z] 2022-07-04 20:03:40,529 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-204/.semver/PR-204 [2022-07-04T20:03:40.616Z] 0.0.0 [Pipeline] } [2022-07-04T20:03:40.643Z] $ docker exec --env ******** --env ******** e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 ssh-agent -k [2022-07-04T20:03:40.768Z] unset SSH_AUTH_SOCK; [2022-07-04T20:03:40.769Z] unset SSH_AGENT_PID; [2022-07-04T20:03:40.769Z] echo Agent pid 77 killed; [2022-07-04T20:03:40.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-04T20:03:41.205Z] + git semver [Pipeline] } [2022-07-04T20:03:41.490Z] $ docker stop --time=1 e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 [2022-07-04T20:03:42.845Z] $ docker rm -f e9732eb64098c2e470d6a7034759816c37809796f72603650510f334ae8194f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T20:03:43.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-04T20:03:43.577Z] Stashed 1 file(s) [Pipeline] echo [2022-07-04T20:03:43.593Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T20:03:44.175Z] provisioning config files... [2022-07-04T20:03:44.185Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config1018963520048409389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:03:44.535Z] ---> docker-login.sh [2022-07-04T20:03:44.535Z] nexus3.edgexfoundry.org:10001 [2022-07-04T20:03:44.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:44.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:44.536Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:44.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:44.536Z] [2022-07-04T20:03:44.536Z] Login Succeeded [2022-07-04T20:03:44.536Z] nexus3.edgexfoundry.org:10002 [2022-07-04T20:03:44.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:44.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:44.798Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:44.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:44.798Z] [2022-07-04T20:03:44.798Z] Login Succeeded [2022-07-04T20:03:44.798Z] nexus3.edgexfoundry.org:10003 [2022-07-04T20:03:44.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:44.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:44.798Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:44.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:44.798Z] [2022-07-04T20:03:44.798Z] Login Succeeded [2022-07-04T20:03:44.798Z] nexus3.edgexfoundry.org:10004 [2022-07-04T20:03:45.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:45.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:45.059Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:45.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:45.059Z] [2022-07-04T20:03:45.059Z] Login Succeeded [2022-07-04T20:03:45.059Z] docker.io [2022-07-04T20:03:45.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:03:45.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:03:45.322Z] Configure a credential helper to remove this warning. See [2022-07-04T20:03:45.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:03:45.322Z] [2022-07-04T20:03:45.322Z] Login Succeeded [2022-07-04T20:03:45.322Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T20:03:45.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T20:03:45.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T20:03:45.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T20:03:45.618Z] ========================================================= [2022-07-04T20:03:45.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-04T20:03:45.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:03:46.079Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-04T20:03:46.079Z] Sending build context to Docker daemon 10.68MB [2022-07-04T20:03:46.079Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T20:03:46.079Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-04T20:03:46.079Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-04T20:03:46.079Z] 59bf1c3509f3: Pulling fs layer [2022-07-04T20:03:46.079Z] 666ba61612fd: Pulling fs layer [2022-07-04T20:03:46.079Z] 8ed8ca486205: Pulling fs layer [2022-07-04T20:03:46.079Z] cc1cd167ecdc: Pulling fs layer [2022-07-04T20:03:46.079Z] c516ae0d96e1: Pulling fs layer [2022-07-04T20:03:46.079Z] 684cea983483: Pulling fs layer [2022-07-04T20:03:46.079Z] dd3240ac7de5: Pulling fs layer [2022-07-04T20:03:46.079Z] b1e948a4e11c: Pulling fs layer [2022-07-04T20:03:46.079Z] a8fd76ee1af6: Pulling fs layer [2022-07-04T20:03:46.079Z] 646ad004c059: Pulling fs layer [2022-07-04T20:03:46.079Z] cc1cd167ecdc: Waiting [2022-07-04T20:03:46.079Z] 646ad004c059: Waiting [2022-07-04T20:03:46.079Z] b1e948a4e11c: Waiting [2022-07-04T20:03:46.079Z] a8fd76ee1af6: Waiting [2022-07-04T20:03:46.079Z] 684cea983483: Waiting [2022-07-04T20:03:46.079Z] dd3240ac7de5: Waiting [2022-07-04T20:03:46.079Z] c516ae0d96e1: Waiting [2022-07-04T20:03:46.079Z] 8ed8ca486205: Download complete [2022-07-04T20:03:46.079Z] 666ba61612fd: Verifying Checksum [2022-07-04T20:03:46.079Z] 666ba61612fd: Download complete [2022-07-04T20:03:46.344Z] c516ae0d96e1: Verifying Checksum [2022-07-04T20:03:46.344Z] c516ae0d96e1: Download complete [2022-07-04T20:03:46.344Z] 684cea983483: Verifying Checksum [2022-07-04T20:03:46.344Z] 684cea983483: Download complete [2022-07-04T20:03:46.344Z] 59bf1c3509f3: Download complete [2022-07-04T20:03:46.344Z] dd3240ac7de5: Download complete [2022-07-04T20:03:46.344Z] b1e948a4e11c: Verifying Checksum [2022-07-04T20:03:46.344Z] b1e948a4e11c: Download complete [2022-07-04T20:03:46.344Z] 59bf1c3509f3: Pull complete [2022-07-04T20:03:46.609Z] 666ba61612fd: Pull complete [2022-07-04T20:03:46.609Z] 8ed8ca486205: Pull complete [2022-07-04T20:03:46.609Z] 646ad004c059: Verifying Checksum [2022-07-04T20:03:46.609Z] 646ad004c059: Download complete [2022-07-04T20:03:46.870Z] a8fd76ee1af6: Verifying Checksum [2022-07-04T20:03:46.870Z] a8fd76ee1af6: Download complete [2022-07-04T20:03:47.130Z] cc1cd167ecdc: Verifying Checksum [2022-07-04T20:03:47.130Z] cc1cd167ecdc: Download complete [2022-07-04T20:03:51.336Z] cc1cd167ecdc: Pull complete [2022-07-04T20:03:51.336Z] c516ae0d96e1: Pull complete [2022-07-04T20:03:51.336Z] 684cea983483: Pull complete [2022-07-04T20:03:51.336Z] dd3240ac7de5: Pull complete [2022-07-04T20:03:51.336Z] b1e948a4e11c: Pull complete [2022-07-04T20:03:53.877Z] a8fd76ee1af6: Pull complete [2022-07-04T20:03:54.447Z] 646ad004c059: Pull complete [2022-07-04T20:03:54.447Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-04T20:03:54.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-04T20:03:54.447Z] ---> 8f69c11f6b0c [2022-07-04T20:03:54.447Z] Step 3/12 : ARG MAKE='make build' [2022-07-04T20:03:56.357Z] ---> Running in 5635f3843dee [2022-07-04T20:03:56.357Z] Removing intermediate container 5635f3843dee [2022-07-04T20:03:56.357Z] ---> a2bd739c83f5 [2022-07-04T20:03:56.357Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T20:03:56.357Z] ---> Running in ce3710c717f1 [2022-07-04T20:03:56.358Z] Removing intermediate container ce3710c717f1 [2022-07-04T20:03:56.358Z] ---> aed41cf52b5d [2022-07-04T20:03:56.358Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T20:03:56.358Z] ---> Running in a433c1a058ce [2022-07-04T20:03:56.619Z] Removing intermediate container a433c1a058ce [2022-07-04T20:03:56.619Z] ---> 33c2c42eab18 [2022-07-04T20:03:56.619Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T20:03:56.619Z] ---> Running in 892f3478b108 [2022-07-04T20:03:57.188Z] Removing intermediate container 892f3478b108 [2022-07-04T20:03:57.188Z] ---> 7f31c9732628 [2022-07-04T20:03:57.188Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T20:03:57.188Z] ---> Running in 7c3addffa7be [2022-07-04T20:03:57.448Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T20:03:58.387Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T20:03:58.648Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T20:03:58.909Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-04T20:03:58.909Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T20:03:58.909Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T20:03:59.002Z] Still waiting to schedule task [2022-07-04T20:03:59.002Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-04T20:03:59.169Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T20:03:59.169Z] OK: 224 MiB in 56 packages [2022-07-04T20:03:59.429Z] Removing intermediate container 7c3addffa7be [2022-07-04T20:03:59.429Z] ---> 8830a18d5a66 [2022-07-04T20:03:59.429Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-04T20:03:59.429Z] ---> Running in 2da377a8de4f [2022-07-04T20:03:59.695Z] Removing intermediate container 2da377a8de4f [2022-07-04T20:03:59.695Z] ---> eb4c136d5a96 [2022-07-04T20:03:59.695Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-04T20:03:59.695Z] ---> 0688d68c088b [2022-07-04T20:03:59.695Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T20:03:59.956Z] ---> Running in bce13fa90621 [2022-07-04T20:04:21.923Z] Removing intermediate container bce13fa90621 [2022-07-04T20:04:21.923Z] ---> 1daa92087c3e [2022-07-04T20:04:21.923Z] Step 11/12 : COPY . . [2022-07-04T20:04:21.923Z] ---> 8d6c5efec18d [2022-07-04T20:04:21.923Z] Step 12/12 : RUN $MAKE [2022-07-04T20:04:21.923Z] ---> Running in bf056540805f [2022-07-04T20:04:21.923Z] noop [2022-07-04T20:04:21.923Z] Removing intermediate container bf056540805f [2022-07-04T20:04:21.923Z] ---> 76707f318022 [2022-07-04T20:04:21.923Z] Successfully built 76707f318022 [2022-07-04T20:04:21.923Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:04:22.375Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T20:04:22.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:04:22.534Z] prd-ubuntu20.04-docker-8c-8g-16894 does not seem to be running inside a container [2022-07-04T20:04:22.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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-07-04T20:04:22.973Z] $ docker top 4d3561051116b323cc29de54d5c12d0f849359a0692c4bd846599341ecaf9483 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T20:04:23.377Z] + go version [2022-07-04T20:04:23.377Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-04T20:04:23.406Z] $ docker stop --time=1 4d3561051116b323cc29de54d5c12d0f849359a0692c4bd846599341ecaf9483 [2022-07-04T20:04:24.699Z] $ docker rm -f 4d3561051116b323cc29de54d5c12d0f849359a0692c4bd846599341ecaf9483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:04:25.439Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T20:04:25.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:04:25.615Z] prd-ubuntu20.04-docker-8c-8g-16894 does not seem to be running inside a container [2022-07-04T20:04:25.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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-07-04T20:04:26.055Z] $ docker top ca92425a170ffc477b8ee445ca7c421c656b0dc900a79ca6c6ff514f35b54ea4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T20:04:26.512Z] + make test [2022-07-04T20:04:26.512Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-04T20:04:26.771Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-04T20:04:36.762Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-04T20:04:36.762Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-07-04T20:04:43.336Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T20:04:46.626Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T20:04:46.626Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T20:04:46.626Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T20:04:46.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T20:04:46.694Z] $ docker stop --time=1 ca92425a170ffc477b8ee445ca7c421c656b0dc900a79ca6c6ff514f35b54ea4 [2022-07-04T20:04:48.424Z] $ docker rm -f ca92425a170ffc477b8ee445ca7c421c656b0dc900a79ca6c6ff514f35b54ea4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T20:04:48.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T20:04:48.981Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-04T20:04:49.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T20:04:49.954Z] + ls -al . [2022-07-04T20:04:49.954Z] total 172 [2022-07-04T20:04:49.954Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 20:04 . [2022-07-04T20:04:49.954Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 20:03 .. [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 20:03 .dockerignore [2022-07-04T20:04:49.954Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 20:03 .git [2022-07-04T20:04:49.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:03 .github [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 4 20:03 .gitignore [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 20:03 .golangci.yml [2022-07-04T20:04:49.954Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 20:03 .semver [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 4 20:03 Attribution.txt [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 4 20:03 CHANGELOG.md [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 4 20:03 Dockerfile [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 20:03 GOVERNANCE.md [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 20:03 Jenkinsfile [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 20:03 LICENSE [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 4 20:03 Makefile [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 20:03 OWNERS.md [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 4 20:03 README.md [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 20:03 VERSION [2022-07-04T20:04:49.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 20:03 bin [2022-07-04T20:04:49.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:03 cmd [2022-07-04T20:04:49.954Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 4 20:04 coverage.out [2022-07-04T20:04:49.954Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 20:03 driver [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 4 20:03 go.mod [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 36371 Jul 4 20:03 go.sum [2022-07-04T20:04:49.954Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:03 snap [2022-07-04T20:04:49.954Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:04:50.362Z] + 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=e3f3354419243f8059a7090215226b4496d03362 --label arch=amd64 --label version=0.0.0 . [2022-07-04T20:04:50.362Z] Sending build context to Docker daemon 10.69MB [2022-07-04T20:04:50.362Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T20:04:50.362Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-04T20:04:50.362Z] ---> 76707f318022 [2022-07-04T20:04:50.362Z] Step 3/25 : ARG MAKE='make build' [2022-07-04T20:04:50.625Z] ---> Running in cbe26e1c7b7f [2022-07-04T20:04:50.625Z] Removing intermediate container cbe26e1c7b7f [2022-07-04T20:04:50.625Z] ---> c5a8b13d9426 [2022-07-04T20:04:50.625Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T20:04:50.625Z] ---> Running in dc2aff46f66e [2022-07-04T20:04:50.885Z] Removing intermediate container dc2aff46f66e [2022-07-04T20:04:50.885Z] ---> 5fce853afa5c [2022-07-04T20:04:50.885Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T20:04:50.885Z] ---> Running in 97dcafa91e3c [2022-07-04T20:04:50.885Z] Removing intermediate container 97dcafa91e3c [2022-07-04T20:04:50.885Z] ---> d540e796189a [2022-07-04T20:04:50.885Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T20:04:50.885Z] ---> Running in aed53909ef3d [2022-07-04T20:04:51.455Z] Removing intermediate container aed53909ef3d [2022-07-04T20:04:51.455Z] ---> c087bc1c00e1 [2022-07-04T20:04:51.455Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T20:04:51.455Z] ---> Running in 11ac28e316e2 [2022-07-04T20:04:51.715Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T20:04:52.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T20:04:52.919Z] OK: 224 MiB in 56 packages [2022-07-04T20:04:53.179Z] Removing intermediate container 11ac28e316e2 [2022-07-04T20:04:53.179Z] ---> 37d733a35f18 [2022-07-04T20:04:53.179Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-04T20:04:53.179Z] ---> Running in b37d078582cd [2022-07-04T20:04:53.442Z] Removing intermediate container b37d078582cd [2022-07-04T20:04:53.442Z] ---> 91938ad8f4c7 [2022-07-04T20:04:53.442Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-04T20:04:53.442Z] ---> cc8412d7bd6f [2022-07-04T20:04:53.442Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T20:04:53.442Z] ---> Running in 3597b3387aec [2022-07-04T20:04:54.012Z] Removing intermediate container 3597b3387aec [2022-07-04T20:04:54.012Z] ---> 3292e83b76ce [2022-07-04T20:04:54.012Z] Step 11/25 : COPY . . [2022-07-04T20:04:54.584Z] ---> ece4f7b22431 [2022-07-04T20:04:54.584Z] Step 12/25 : RUN $MAKE [2022-07-04T20:04:54.584Z] ---> Running in 7b062fdc2f8e [2022-07-04T20:04:54.844Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-04T20:05:12.951Z] Removing intermediate container 7b062fdc2f8e [2022-07-04T20:05:12.951Z] ---> 9d460405d006 [2022-07-04T20:05:12.951Z] Step 13/25 : FROM alpine:3.14 [2022-07-04T20:05:13.522Z] 3.14: Pulling from library/alpine [2022-07-04T20:05:13.784Z] 8663204ce13b: Pulling fs layer [2022-07-04T20:05:13.784Z] 8663204ce13b: Verifying Checksum [2022-07-04T20:05:13.784Z] 8663204ce13b: Download complete [2022-07-04T20:05:14.048Z] 8663204ce13b: Pull complete [2022-07-04T20:05:14.048Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T20:05:14.048Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T20:05:14.048Z] ---> e04c818066af [2022-07-04T20:05:14.048Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-04T20:05:14.048Z] ---> Running in a63395bd7e82 [2022-07-04T20:05:14.048Z] Removing intermediate container a63395bd7e82 [2022-07-04T20:05:14.048Z] ---> 54902bf0b5da [2022-07-04T20:05:14.048Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-04T20:05:14.048Z] ---> Running in ab7ed4d18068 [2022-07-04T20:05:14.308Z] Removing intermediate container ab7ed4d18068 [2022-07-04T20:05:14.308Z] ---> 2ff119a8a4cd [2022-07-04T20:05:14.308Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T20:05:14.308Z] ---> Running in 5bae144a1e5a [2022-07-04T20:05:14.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-04T20:05:14.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-04T20:05:14.831Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T20:05:14.831Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T20:05:14.831Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T20:05:14.831Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T20:05:14.831Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T20:05:14.831Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T20:05:14.831Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T20:05:14.831Z] OK: 8 MiB in 20 packages [2022-07-04T20:05:15.091Z] Removing intermediate container 5bae144a1e5a [2022-07-04T20:05:15.091Z] ---> b1c127b0a88a [2022-07-04T20:05:15.091Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-04T20:05:15.662Z] ---> a2d83564cf40 [2022-07-04T20:05:15.662Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-04T20:05:15.921Z] ---> aafbc75afff1 [2022-07-04T20:05:15.921Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-04T20:05:15.921Z] ---> cbafe9abbaf0 [2022-07-04T20:05:15.921Z] Step 20/25 : EXPOSE 59986 [2022-07-04T20:05:15.921Z] ---> Running in 3860fdb54aa4 [2022-07-04T20:05:15.921Z] Removing intermediate container 3860fdb54aa4 [2022-07-04T20:05:15.921Z] ---> 3f91e3810e9d [2022-07-04T20:05:15.921Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-04T20:05:16.183Z] ---> Running in 0c948bde8ba5 [2022-07-04T20:05:16.183Z] Removing intermediate container 0c948bde8ba5 [2022-07-04T20:05:16.183Z] ---> 0e6804c6bb3b [2022-07-04T20:05:16.183Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-04T20:05:16.183Z] ---> Running in 8fd99d4bb958 [2022-07-04T20:05:16.183Z] Removing intermediate container 8fd99d4bb958 [2022-07-04T20:05:16.183Z] ---> b24663ece669 [2022-07-04T20:05:16.183Z] Step 23/25 : LABEL arch=amd64 [2022-07-04T20:05:16.183Z] ---> Running in a12d9fcd9a7f [2022-07-04T20:05:16.443Z] Removing intermediate container a12d9fcd9a7f [2022-07-04T20:05:16.443Z] ---> 49aa41d6a267 [2022-07-04T20:05:16.444Z] Step 24/25 : LABEL git_sha=e3f3354419243f8059a7090215226b4496d03362 [2022-07-04T20:05:16.444Z] ---> Running in 61d27cecd50f [2022-07-04T20:05:16.444Z] Removing intermediate container 61d27cecd50f [2022-07-04T20:05:16.444Z] ---> 6df488b553ff [2022-07-04T20:05:16.444Z] Step 25/25 : LABEL version=0.0.0 [2022-07-04T20:05:16.444Z] ---> Running in 7255bec00a46 [2022-07-04T20:05:16.707Z] Removing intermediate container 7255bec00a46 [2022-07-04T20:05:16.707Z] ---> d6b651eb25b2 [2022-07-04T20:05:16.707Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T20:05:16.707Z] Successfully built d6b651eb25b2 [2022-07-04T20:05:16.707Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:05:17.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T20:05:17.578Z] [2022-07-04T20:05:17.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:05:17.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T20:05:17.955Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-04T20:05:17.955Z] 5eb5b503b376: Pulling fs layer [2022-07-04T20:05:17.955Z] 5c69ac0246d0: Pulling fs layer [2022-07-04T20:05:17.955Z] ec43610c2a17: Pulling fs layer [2022-07-04T20:05:17.955Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-04T20:05:17.955Z] 33b1e0a273af: Pulling fs layer [2022-07-04T20:05:17.955Z] 5d3b04190fa2: Pulling fs layer [2022-07-04T20:05:17.955Z] 2f39f015ded8: Pulling fs layer [2022-07-04T20:05:17.955Z] 33b1e0a273af: Waiting [2022-07-04T20:05:17.955Z] 5d3b04190fa2: Waiting [2022-07-04T20:05:17.955Z] 2f39f015ded8: Waiting [2022-07-04T20:05:17.955Z] 3a2ae6a8a46f: Waiting [2022-07-04T20:05:17.955Z] 5c69ac0246d0: Download complete [2022-07-04T20:05:17.955Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-04T20:05:17.955Z] 3a2ae6a8a46f: Download complete [2022-07-04T20:05:17.955Z] 33b1e0a273af: Verifying Checksum [2022-07-04T20:05:17.955Z] 33b1e0a273af: Download complete [2022-07-04T20:05:17.955Z] ec43610c2a17: Verifying Checksum [2022-07-04T20:05:17.955Z] ec43610c2a17: Download complete [2022-07-04T20:05:17.955Z] 5d3b04190fa2: Verifying Checksum [2022-07-04T20:05:17.955Z] 5d3b04190fa2: Download complete [2022-07-04T20:05:18.214Z] 5eb5b503b376: Verifying Checksum [2022-07-04T20:05:18.215Z] 5eb5b503b376: Download complete [2022-07-04T20:05:18.782Z] 2f39f015ded8: Download complete [2022-07-04T20:05:19.352Z] 5eb5b503b376: Pull complete [2022-07-04T20:05:19.611Z] 5c69ac0246d0: Pull complete [2022-07-04T20:05:19.872Z] ec43610c2a17: Pull complete [2022-07-04T20:05:20.134Z] 3a2ae6a8a46f: Pull complete [2022-07-04T20:05:20.134Z] 33b1e0a273af: Pull complete [2022-07-04T20:05:20.395Z] 5d3b04190fa2: Pull complete [2022-07-04T20:05:24.588Z] 2f39f015ded8: Pull complete [2022-07-04T20:05:24.588Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-04T20:05:24.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T20:05:24.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:05:24.815Z] prd-ubuntu20.04-docker-8c-8g-16894 does not seem to be running inside a container [2022-07-04T20:05:24.850Z] $ 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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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-07-04T20:05:26.293Z] $ docker top 630c9edeb58633c8f8a1abe5a2b855e2f39c358fb823b82a694909ff2131fa75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:05:26.776Z] ---> job-cost.sh [2022-07-04T20:05:26.776Z] lf-activate-venv: SKIPPING [2022-07-04T20:05:26.776Z] INFO: No Stack... [2022-07-04T20:05:27.351Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T20:05:27.611Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T20:05:27.933Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-204/archives/cost.csv [2022-07-04T20:05:27.933Z] + cut -d, -f6 [Pipeline] lock [2022-07-04T20:05:27.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [2022-07-04T20:05:27.979Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] did not exist. Created. [2022-07-04T20:05:27.979Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T20:05:28.376Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-04T20:05:28.424Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T20:05:28.449Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T20:05:28.526Z] $ docker stop --time=1 630c9edeb58633c8f8a1abe5a2b855e2f39c358fb823b82a694909ff2131fa75 [2022-07-04T20:05:29.752Z] $ docker rm -f 630c9edeb58633c8f8a1abe5a2b855e2f39c358fb823b82a694909ff2131fa75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-04T20:05:31.015Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16896 in /w/workspace/gexfoundry_device-rest-go_PR-204 [Pipeline] { [Pipeline] ws [2022-07-04T20:05:31.060Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-07-04T20:05:31.145Z] The recommended git tool is: git [2022-07-04T20:05:38.412Z] using credential edgex-jenkins-ssh [2022-07-04T20:05:38.442Z] Cloning the remote Git repository [2022-07-04T20:05:38.544Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-04T20:05:38.648Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-07-04T20:05:38.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-04T20:05:38.768Z] > git --version # timeout=10 [2022-07-04T20:05:38.805Z] > git --version # 'git version 2.25.1' [2022-07-04T20:05:38.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T20:05:39.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T20:05:40.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-04T20:05:40.962Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T20:05:40.999Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-04T20:05:41.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-04T20:05:41.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T20:05:41.082Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-04T20:05:41.532Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit e3f3354419243f8059a7090215226b4496d03362 [2022-07-04T20:05:41.895Z] Merge succeeded, producing e3f3354419243f8059a7090215226b4496d03362 [2022-07-04T20:05:41.896Z] Checking out Revision e3f3354419243f8059a7090215226b4496d03362 (PR-204) [2022-07-04T20:05:41.555Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T20:05:41.633Z] > git checkout -f e3f3354419243f8059a7090215226b4496d03362 # timeout=10 [2022-07-04T20:05:41.759Z] > git remote # timeout=10 [2022-07-04T20:05:41.780Z] > git config --get remote.origin.url # timeout=10 [2022-07-04T20:05:41.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T20:05:41.824Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-07-04T20:05:41.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-04T20:05:41.910Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T20:05:41.961Z] > git checkout -f e3f3354419243f8059a7090215226b4496d03362 # timeout=10 [2022-07-04T20:05:46.550Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [2022-07-04T20:05:46.654Z] > git --version # timeout=10 [2022-07-04T20:05:46.684Z] > git --version # 'git version 2.25.1' [2022-07-04T20:05:46.717Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T20:05:47.909Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-04T20:05:47.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T20:05:47.909Z] Dload Upload Total Spent Left Speed [2022-07-04T20:05:47.909Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 73813 0 --:--:-- --:--:-- --:--:-- 74260 [Pipeline] sh [2022-07-04T20:05:49.019Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-04T20:05:49.984Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-04T20:05:49.985Z] + sudo tee /etc/docker/daemon.new [2022-07-04T20:05:49.985Z] { [2022-07-04T20:05:49.985Z] "registry-mirrors": [ [2022-07-04T20:05:49.985Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-04T20:05:49.985Z] ], [2022-07-04T20:05:49.985Z] "bip": "10.250.0.254/24", [2022-07-04T20:05:49.985Z] "hosts": [ [2022-07-04T20:05:49.985Z] "tcp://0.0.0.0:5555", [2022-07-04T20:05:49.985Z] "unix:///var/run/docker.sock" [2022-07-04T20:05:49.985Z] ], [2022-07-04T20:05:49.985Z] "mtu": 1458, [2022-07-04T20:05:49.985Z] "selinux-enabled": true, [2022-07-04T20:05:49.985Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-04T20:05:49.985Z] } [Pipeline] sh [2022-07-04T20:05:50.340Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-04T20:05:50.732Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T20:06:09.193Z] provisioning config files... [2022-07-04T20:06:09.215Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5978036106858047163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:06:09.626Z] ---> docker-login.sh [2022-07-04T20:06:09.626Z] nexus3.edgexfoundry.org:10001 [2022-07-04T20:06:10.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:06:10.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:06:10.497Z] Configure a credential helper to remove this warning. See [2022-07-04T20:06:10.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:06:10.497Z] [2022-07-04T20:06:10.497Z] Login Succeeded [2022-07-04T20:06:10.497Z] nexus3.edgexfoundry.org:10002 [2022-07-04T20:06:10.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:06:11.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:06:11.054Z] Configure a credential helper to remove this warning. See [2022-07-04T20:06:11.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:06:11.054Z] [2022-07-04T20:06:11.054Z] Login Succeeded [2022-07-04T20:06:11.054Z] nexus3.edgexfoundry.org:10003 [2022-07-04T20:06:11.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:06:11.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:06:11.331Z] Configure a credential helper to remove this warning. See [2022-07-04T20:06:11.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:06:11.331Z] [2022-07-04T20:06:11.331Z] Login Succeeded [2022-07-04T20:06:11.331Z] nexus3.edgexfoundry.org:10004 [2022-07-04T20:06:11.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:06:11.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:06:11.888Z] Configure a credential helper to remove this warning. See [2022-07-04T20:06:11.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:06:11.888Z] [2022-07-04T20:06:11.888Z] Login Succeeded [2022-07-04T20:06:11.888Z] docker.io [2022-07-04T20:06:12.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T20:06:12.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T20:06:12.755Z] Configure a credential helper to remove this warning. See [2022-07-04T20:06:12.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T20:06:12.755Z] [2022-07-04T20:06:12.755Z] Login Succeeded [2022-07-04T20:06:12.755Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T20:06:12.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T20:06:13.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T20:06:13.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T20:06:13.284Z] ========================================================= [2022-07-04T20:06:13.284Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-04T20:06:13.284Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:06:13.799Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-04T20:06:13.799Z] Sending build context to Docker daemon 129kB [2022-07-04T20:06:14.783Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T20:06:14.783Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-04T20:06:14.783Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-04T20:06:14.783Z] 9b3977197b4f: Pulling fs layer [2022-07-04T20:06:14.783Z] 1a89e8eeedd5: Pulling fs layer [2022-07-04T20:06:14.783Z] 94645a83ff95: Pulling fs layer [2022-07-04T20:06:14.783Z] e6fb740bc735: Pulling fs layer [2022-07-04T20:06:14.783Z] 3a77bd46dcc9: Pulling fs layer [2022-07-04T20:06:14.783Z] 355e64cbe906: Pulling fs layer [2022-07-04T20:06:14.783Z] 63ab81a10011: Pulling fs layer [2022-07-04T20:06:14.783Z] 555d1d1c4555: Pulling fs layer [2022-07-04T20:06:14.783Z] 7d9057610161: Pulling fs layer [2022-07-04T20:06:14.783Z] e6fb740bc735: Waiting [2022-07-04T20:06:14.783Z] 63ab81a10011: Waiting [2022-07-04T20:06:14.783Z] 555d1d1c4555: Waiting [2022-07-04T20:06:14.783Z] 7d9057610161: Waiting [2022-07-04T20:06:14.783Z] 3a77bd46dcc9: Waiting [2022-07-04T20:06:14.783Z] 355e64cbe906: Waiting [2022-07-04T20:06:14.783Z] 1a89e8eeedd5: Download complete [2022-07-04T20:06:14.783Z] 94645a83ff95: Verifying Checksum [2022-07-04T20:06:14.783Z] 94645a83ff95: Download complete [2022-07-04T20:06:14.783Z] 3a77bd46dcc9: Verifying Checksum [2022-07-04T20:06:14.783Z] 3a77bd46dcc9: Download complete [2022-07-04T20:06:14.783Z] 355e64cbe906: Verifying Checksum [2022-07-04T20:06:14.783Z] 355e64cbe906: Download complete [2022-07-04T20:06:14.783Z] 9b3977197b4f: Verifying Checksum [2022-07-04T20:06:14.783Z] 9b3977197b4f: Download complete [2022-07-04T20:06:14.783Z] 63ab81a10011: Verifying Checksum [2022-07-04T20:06:14.783Z] 63ab81a10011: Download complete [2022-07-04T20:06:15.765Z] 9b3977197b4f: Pull complete [2022-07-04T20:06:16.041Z] 7d9057610161: Verifying Checksum [2022-07-04T20:06:16.041Z] 7d9057610161: Download complete [2022-07-04T20:06:16.637Z] 1a89e8eeedd5: Pull complete [2022-07-04T20:06:17.625Z] 555d1d1c4555: Verifying Checksum [2022-07-04T20:06:17.625Z] 555d1d1c4555: Download complete [2022-07-04T20:06:18.228Z] e6fb740bc735: Verifying Checksum [2022-07-04T20:06:18.228Z] e6fb740bc735: Download complete [2022-07-04T20:06:18.228Z] 94645a83ff95: Pull complete [2022-07-04T20:06:36.541Z] e6fb740bc735: Pull complete [2022-07-04T20:06:36.541Z] 3a77bd46dcc9: Pull complete [2022-07-04T20:06:36.541Z] 355e64cbe906: Pull complete [2022-07-04T20:06:36.541Z] 63ab81a10011: Pull complete [2022-07-04T20:06:40.869Z] 555d1d1c4555: Pull complete [2022-07-04T20:06:42.846Z] 7d9057610161: Pull complete [2022-07-04T20:06:42.846Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-04T20:06:42.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-04T20:06:42.846Z] ---> 819e984ddca1 [2022-07-04T20:06:42.846Z] Step 3/12 : ARG MAKE='make build' [2022-07-04T20:06:44.297Z] ---> Running in 859db3c16896 [2022-07-04T20:06:44.574Z] Removing intermediate container 859db3c16896 [2022-07-04T20:06:44.574Z] ---> c5eb51998c2c [2022-07-04T20:06:44.574Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T20:06:44.574Z] ---> Running in a25ddcfd9b9a [2022-07-04T20:06:44.846Z] Removing intermediate container a25ddcfd9b9a [2022-07-04T20:06:44.846Z] ---> f0d9fc153c3b [2022-07-04T20:06:44.846Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T20:06:44.846Z] ---> Running in 48457be1cae9 [2022-07-04T20:06:45.122Z] Removing intermediate container 48457be1cae9 [2022-07-04T20:06:45.122Z] ---> 1d5767cb3956 [2022-07-04T20:06:45.122Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T20:06:45.122Z] ---> Running in c081de53611e [2022-07-04T20:06:47.106Z] Removing intermediate container c081de53611e [2022-07-04T20:06:47.106Z] ---> ad1c96a45772 [2022-07-04T20:06:47.106Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T20:06:47.106Z] ---> Running in 8458ebcb6e9e [2022-07-04T20:06:48.095Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T20:06:48.690Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T20:06:49.671Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T20:06:49.671Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-04T20:06:49.671Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T20:06:49.946Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T20:06:49.946Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T20:06:49.946Z] OK: 224 MiB in 56 packages [2022-07-04T20:06:50.937Z] Removing intermediate container 8458ebcb6e9e [2022-07-04T20:06:50.937Z] ---> 2dffa17de3c1 [2022-07-04T20:06:50.937Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-04T20:06:50.937Z] ---> Running in cb2577280b1c [2022-07-04T20:06:51.210Z] Removing intermediate container cb2577280b1c [2022-07-04T20:06:51.210Z] ---> 33d7e79fe79e [2022-07-04T20:06:51.210Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-04T20:06:51.806Z] ---> 1a112485621a [2022-07-04T20:06:51.806Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T20:06:51.806Z] ---> Running in 89286848900c [2022-07-04T20:07:38.790Z] Removing intermediate container 89286848900c [2022-07-04T20:07:38.790Z] ---> dc3634ff2873 [2022-07-04T20:07:38.790Z] Step 11/12 : COPY . . [2022-07-04T20:07:38.790Z] ---> 634434376955 [2022-07-04T20:07:38.790Z] Step 12/12 : RUN $MAKE [2022-07-04T20:07:38.790Z] ---> Running in 93ce40f02693 [2022-07-04T20:07:38.790Z] noop [2022-07-04T20:07:38.790Z] Removing intermediate container 93ce40f02693 [2022-07-04T20:07:38.790Z] ---> 8f9cd6184bd5 [2022-07-04T20:07:38.790Z] Successfully built 8f9cd6184bd5 [2022-07-04T20:07:38.790Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:07:39.282Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T20:07:39.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:07:39.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-16896 does not seem to be running inside a container [2022-07-04T20:07:39.657Z] $ 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-07-04T20:07:40.902Z] $ docker top 35a930b5f8690a0970508925c852efce53aa99d23055de194b726b17390ae56e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T20:07:41.855Z] + go version [2022-07-04T20:07:41.855Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-04T20:07:41.893Z] $ docker stop --time=1 35a930b5f8690a0970508925c852efce53aa99d23055de194b726b17390ae56e [2022-07-04T20:07:43.512Z] $ docker rm -f 35a930b5f8690a0970508925c852efce53aa99d23055de194b726b17390ae56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:07:44.400Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T20:07:44.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:07:44.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-16896 does not seem to be running inside a container [2022-07-04T20:07:44.786Z] $ 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-07-04T20:07:45.933Z] $ docker top a8d3e959eeaeba8ef456cc8b45acd17d0c7a679373f3f125a01a74a201068908 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T20:07:46.908Z] + make test [2022-07-04T20:07:46.908Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-04T20:07:48.495Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-04T20:09:10.345Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-04T20:09:10.345Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-07-04T20:09:10.345Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-04T20:09:10.345Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T20:09:32.552Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T20:09:32.552Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T20:09:32.552Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T20:09:33.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T20:09:33.602Z] $ docker stop --time=1 a8d3e959eeaeba8ef456cc8b45acd17d0c7a679373f3f125a01a74a201068908 [2022-07-04T20:09:35.354Z] $ docker rm -f a8d3e959eeaeba8ef456cc8b45acd17d0c7a679373f3f125a01a74a201068908 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T20:09:36.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T20:09:36.395Z] Warning: overwriting stash ‘coverage-report’ [2022-07-04T20:09:36.850Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T20:09:37.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T20:09:37.803Z] + ls -al . [2022-07-04T20:09:37.803Z] total 168 [2022-07-04T20:09:37.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 20:09 . [2022-07-04T20:09:37.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 20:05 .. [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 4 20:05 .dockerignore [2022-07-04T20:09:37.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 20:05 .git [2022-07-04T20:09:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:05 .github [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 4 20:05 .gitignore [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 20:05 .golangci.yml [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 4 20:05 Attribution.txt [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 4 20:05 CHANGELOG.md [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 4 20:05 Dockerfile [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 20:05 GOVERNANCE.md [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 4 20:05 Jenkinsfile [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 20:05 LICENSE [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 4 20:05 Makefile [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 20:05 OWNERS.md [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 4 20:05 README.md [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 20:03 VERSION [2022-07-04T20:09:37.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 20:05 bin [2022-07-04T20:09:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:05 cmd [2022-07-04T20:09:37.803Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 4 20:09 coverage.out [2022-07-04T20:09:37.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 20:05 driver [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 4 20:05 go.mod [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 36371 Jul 4 20:05 go.sum [2022-07-04T20:09:37.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 20:05 snap [2022-07-04T20:09:37.803Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 4 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:09:38.234Z] + 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=e3f3354419243f8059a7090215226b4496d03362 --label arch=arm64 --label version=0.0.0 . [2022-07-04T20:09:38.234Z] Sending build context to Docker daemon 139.3kB [2022-07-04T20:09:38.516Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T20:09:38.516Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-04T20:09:38.516Z] ---> 8f9cd6184bd5 [2022-07-04T20:09:38.516Z] Step 3/25 : ARG MAKE='make build' [2022-07-04T20:09:38.516Z] ---> Running in eba4260d9146 [2022-07-04T20:09:38.791Z] Removing intermediate container eba4260d9146 [2022-07-04T20:09:38.791Z] ---> fc5890258591 [2022-07-04T20:09:38.791Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T20:09:39.067Z] ---> Running in cb59552b7915 [2022-07-04T20:09:39.344Z] Removing intermediate container cb59552b7915 [2022-07-04T20:09:39.344Z] ---> cd8309a56c9c [2022-07-04T20:09:39.344Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T20:09:39.344Z] ---> Running in 63dee3408e8b [2022-07-04T20:09:39.621Z] Removing intermediate container 63dee3408e8b [2022-07-04T20:09:39.621Z] ---> baed4ac554e3 [2022-07-04T20:09:39.621Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T20:09:39.621Z] ---> Running in 12b2786d2269 [2022-07-04T20:09:41.068Z] Removing intermediate container 12b2786d2269 [2022-07-04T20:09:41.068Z] ---> e06b3999c889 [2022-07-04T20:09:41.068Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T20:09:41.346Z] ---> Running in 90344210c446 [2022-07-04T20:09:42.328Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T20:09:43.305Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T20:09:43.897Z] OK: 224 MiB in 56 packages [2022-07-04T20:09:44.879Z] Removing intermediate container 90344210c446 [2022-07-04T20:09:44.879Z] ---> 1d5a76adf1f2 [2022-07-04T20:09:44.879Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-04T20:09:44.879Z] ---> Running in e29519c6f411 [2022-07-04T20:09:45.156Z] Removing intermediate container e29519c6f411 [2022-07-04T20:09:45.156Z] ---> c2fa6b2b52d9 [2022-07-04T20:09:45.156Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-04T20:09:45.753Z] ---> c3829dd64577 [2022-07-04T20:09:45.753Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T20:09:45.753Z] ---> Running in ac1ec860a1a5 [2022-07-04T20:09:47.736Z] Removing intermediate container ac1ec860a1a5 [2022-07-04T20:09:47.737Z] ---> 457c0355c5b5 [2022-07-04T20:09:47.737Z] Step 11/25 : COPY . . [2022-07-04T20:09:48.334Z] ---> ce1f4cfedd7e [2022-07-04T20:09:48.334Z] Step 12/25 : RUN $MAKE [2022-07-04T20:09:48.334Z] ---> Running in d3fae5108a72 [2022-07-04T20:09:49.325Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-07-04T20:11:56.235Z] Removing intermediate container d3fae5108a72 [2022-07-04T20:11:56.235Z] ---> 21953ab3fbb3 [2022-07-04T20:11:56.235Z] Step 13/25 : FROM alpine:3.14 [2022-07-04T20:11:56.235Z] 3.14: Pulling from library/alpine [2022-07-04T20:11:56.235Z] 455c02918c45: Pulling fs layer [2022-07-04T20:11:56.235Z] 455c02918c45: Verifying Checksum [2022-07-04T20:11:56.235Z] 455c02918c45: Download complete [2022-07-04T20:11:56.235Z] 455c02918c45: Pull complete [2022-07-04T20:11:56.235Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T20:11:56.235Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T20:11:56.235Z] ---> ac73e934f311 [2022-07-04T20:11:56.235Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-04T20:11:56.235Z] ---> Running in 974ca06e8a00 [2022-07-04T20:11:56.235Z] Removing intermediate container 974ca06e8a00 [2022-07-04T20:11:56.235Z] ---> f2fd35c624d5 [2022-07-04T20:11:56.235Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-04T20:11:56.235Z] ---> Running in d48d3678e2a8 [2022-07-04T20:11:56.235Z] Removing intermediate container d48d3678e2a8 [2022-07-04T20:11:56.235Z] ---> 035fb9ce338f [2022-07-04T20:11:56.235Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T20:11:56.235Z] ---> Running in 869739037ef3 [2022-07-04T20:11:56.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-04T20:11:56.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-04T20:11:56.235Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T20:11:56.235Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T20:11:56.235Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T20:11:56.235Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T20:11:56.235Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T20:11:56.235Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T20:11:56.235Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T20:11:56.235Z] OK: 8 MiB in 20 packages [2022-07-04T20:11:56.235Z] Removing intermediate container 869739037ef3 [2022-07-04T20:11:56.235Z] ---> e1a8f82fd5fd [2022-07-04T20:11:56.235Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-04T20:11:56.235Z] ---> 7782c18bd4da [2022-07-04T20:11:56.235Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-04T20:11:56.235Z] ---> cd04b3e4baf3 [2022-07-04T20:11:56.235Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-04T20:11:56.235Z] ---> 5682510e0d17 [2022-07-04T20:11:56.235Z] Step 20/25 : EXPOSE 59986 [2022-07-04T20:11:56.235Z] ---> Running in 36fcb396e3fb [2022-07-04T20:11:56.235Z] Removing intermediate container 36fcb396e3fb [2022-07-04T20:11:56.235Z] ---> aeef0a66c16b [2022-07-04T20:11:56.235Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-04T20:11:56.235Z] ---> Running in 4d04429666ae [2022-07-04T20:11:56.235Z] Removing intermediate container 4d04429666ae [2022-07-04T20:11:56.235Z] ---> f2116f2c3743 [2022-07-04T20:11:56.235Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-04T20:11:56.235Z] ---> Running in a1af268ba83b [2022-07-04T20:11:56.235Z] Removing intermediate container a1af268ba83b [2022-07-04T20:11:56.235Z] ---> adf94dcb9068 [2022-07-04T20:11:56.235Z] Step 23/25 : LABEL arch=arm64 [2022-07-04T20:11:56.235Z] ---> Running in de87e0fcf814 [2022-07-04T20:11:56.235Z] Removing intermediate container de87e0fcf814 [2022-07-04T20:11:56.236Z] ---> 9628ccd4b06a [2022-07-04T20:11:56.236Z] Step 24/25 : LABEL git_sha=e3f3354419243f8059a7090215226b4496d03362 [2022-07-04T20:11:56.236Z] ---> Running in 1b7bb6416153 [2022-07-04T20:11:56.236Z] Removing intermediate container 1b7bb6416153 [2022-07-04T20:11:56.236Z] ---> 458f534901b5 [2022-07-04T20:11:56.236Z] Step 25/25 : LABEL version=0.0.0 [2022-07-04T20:11:56.236Z] ---> Running in db159bd21ed5 [2022-07-04T20:11:56.236Z] Removing intermediate container db159bd21ed5 [2022-07-04T20:11:56.236Z] ---> 1edecc12527c [2022-07-04T20:11:56.236Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T20:11:56.236Z] Successfully built 1edecc12527c [2022-07-04T20:11:56.236Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:11:57.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T20:11:57.065Z] [2022-07-04T20:11:57.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:11:57.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T20:11:57.763Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-04T20:11:57.763Z] 8998bd30e6a1: Pulling fs layer [2022-07-04T20:11:57.763Z] 04944245beec: Pulling fs layer [2022-07-04T20:11:57.763Z] 699f458cf7ca: Pulling fs layer [2022-07-04T20:11:57.763Z] 765212b225bb: Pulling fs layer [2022-07-04T20:11:57.763Z] f23df028b6ca: Pulling fs layer [2022-07-04T20:11:57.763Z] d65c8cfc05b1: Pulling fs layer [2022-07-04T20:11:57.763Z] 2437ff75d9bd: Pulling fs layer [2022-07-04T20:11:57.763Z] f23df028b6ca: Waiting [2022-07-04T20:11:57.763Z] 765212b225bb: Waiting [2022-07-04T20:11:57.763Z] d65c8cfc05b1: Waiting [2022-07-04T20:11:57.763Z] 2437ff75d9bd: Waiting [2022-07-04T20:11:57.763Z] 04944245beec: Verifying Checksum [2022-07-04T20:11:57.763Z] 04944245beec: Download complete [2022-07-04T20:11:57.763Z] 765212b225bb: Download complete [2022-07-04T20:11:57.763Z] f23df028b6ca: Download complete [2022-07-04T20:11:57.763Z] d65c8cfc05b1: Verifying Checksum [2022-07-04T20:11:57.763Z] d65c8cfc05b1: Download complete [2022-07-04T20:11:58.041Z] 699f458cf7ca: Verifying Checksum [2022-07-04T20:11:58.041Z] 699f458cf7ca: Download complete [2022-07-04T20:11:58.321Z] 8998bd30e6a1: Verifying Checksum [2022-07-04T20:11:58.321Z] 8998bd30e6a1: Download complete [2022-07-04T20:12:00.958Z] 2437ff75d9bd: Verifying Checksum [2022-07-04T20:12:00.958Z] 2437ff75d9bd: Download complete [2022-07-04T20:12:02.949Z] 8998bd30e6a1: Pull complete [2022-07-04T20:12:03.227Z] 04944245beec: Pull complete [2022-07-04T20:12:04.667Z] 699f458cf7ca: Pull complete [2022-07-04T20:12:04.941Z] 765212b225bb: Pull complete [2022-07-04T20:12:05.926Z] f23df028b6ca: Pull complete [2022-07-04T20:12:06.204Z] d65c8cfc05b1: Pull complete [2022-07-04T20:12:21.338Z] 2437ff75d9bd: Pull complete [2022-07-04T20:12:21.338Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-04T20:12:21.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T20:12:21.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:12:21.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-16896 does not seem to be running inside a container [2022-07-04T20:12:21.809Z] $ 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-07-04T20:12:24.291Z] $ docker top 962451cbdb053e2c80db75654401422039b5a1b6fd6bc4c9c4291b899e8801b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:25.275Z] ---> job-cost.sh [2022-07-04T20:12:25.275Z] lf-activate-venv: SKIPPING [2022-07-04T20:12:25.275Z] INFO: No Stack... [2022-07-04T20:12:25.868Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-04T20:12:26.847Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T20:12:27.527Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-07-04T20:12:27.527Z] + cut -d, -f6 [Pipeline] lock [2022-07-04T20:12:27.612Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [2022-07-04T20:12:27.617Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] did not exist. Created. [2022-07-04T20:12:27.617Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T20:12:28.371Z] /w/workspace/device-rest-go/1@tmp/durable-bed8019b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-04T20:12:29.082Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-04T20:12:29.118Z] Warning: overwriting stash ‘stack-cost’ [2022-07-04T20:12:29.163Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T20:12:29.178Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T20:12:29.262Z] $ docker stop --time=1 962451cbdb053e2c80db75654401422039b5a1b6fd6bc4c9c4291b899e8801b6 [2022-07-04T20:12:30.773Z] $ docker rm -f 962451cbdb053e2c80db75654401422039b5a1b6fd6bc4c9c4291b899e8801b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-04T20:12:31.813Z] provisioning config files... [2022-07-04T20:12:31.860Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config9156836570123078820tmp [Pipeline] { [Pipeline] sh [2022-07-04T20:12:32.202Z] + set +x [2022-07-04T20:12:32.202Z] + curl -s https://codecov.io/bash [2022-07-04T20:12:32.202Z] + bash -s -- [2022-07-04T20:12:32.202Z] [2022-07-04T20:12:32.202Z] _____ _ [2022-07-04T20:12:32.202Z] / ____| | | [2022-07-04T20:12:32.202Z] | | ___ __| | ___ ___ _____ __ [2022-07-04T20:12:32.202Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-04T20:12:32.202Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-04T20:12:32.202Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-04T20:12:32.202Z] Bash-1.0.6 [2022-07-04T20:12:32.202Z] [2022-07-04T20:12:32.202Z] [2022-07-04T20:12:32.202Z] ==> git version 2.25.1 found [2022-07-04T20:12:32.203Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-04T20:12:32.203Z] Release-Date: 2020-01-08 [2022-07-04T20:12:32.203Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-04T20:12:32.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-04T20:12:32.203Z] ==> Jenkins CI detected. [2022-07-04T20:12:32.203Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-04T20:12:32.203Z] project root: . [2022-07-04T20:12:32.203Z] --> token set from env [2022-07-04T20:12:32.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-04T20:12:32.203Z] ==> Running gcov in . (disable via -X gcov) [2022-07-04T20:12:32.203Z] ==> Python coveragepy not found [2022-07-04T20:12:32.203Z] ==> Searching for coverage reports in: [2022-07-04T20:12:32.203Z] + . [2022-07-04T20:12:32.203Z] -> Found 1 reports [2022-07-04T20:12:32.203Z] ==> Detecting git/mercurial file structure [2022-07-04T20:12:32.203Z] ==> Reading reports [2022-07-04T20:12:32.465Z] + ./coverage.out bytes=9355 [2022-07-04T20:12:32.465Z] ==> Appending adjustments [2022-07-04T20:12:32.465Z] https://docs.codecov.io/docs/fixing-reports [2022-07-04T20:12:32.465Z] + Found adjustments [2022-07-04T20:12:32.465Z] ==> Gzipping contents [2022-07-04T20:12:32.465Z] 4.0K /tmp/codecov.i9ilJn.gz [2022-07-04T20:12:32.465Z] ==> Uploading reports [2022-07-04T20:12:32.465Z] url: https://codecov.io [2022-07-04T20:12:32.465Z] query: branch=PR-204&commit=e3f3354419243f8059a7090215226b4496d03362&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-04T20:12:32.465Z] -> Pinging Codecov [2022-07-04T20:12:32.465Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-204&commit=e3f3354419243f8059a7090215226b4496d03362&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2022-07-04T20:12:32.732Z] -> Uploading to [2022-07-04T20:12:32.732Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-04/4E5D53B4F1F92C436F7061BF334D961C/e3f3354419243f8059a7090215226b4496d03362/f5edae07-671a-4122-88fa-c37e09024358.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220704%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220704T201232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05b27e82798f7055bdca33d39256560fb65ca7d2a0205e2060f35e49f59557e0 [2022-07-04T20:12:32.732Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T20:12:32.732Z] Dload Upload Total Spent Left Speed [2022-07-04T20:12:32.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8322 --:--:-- --:--:-- --:--:-- 8322 [2022-07-04T20:12:32.993Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e3f3354419243f8059a7090215226b4496d03362 [Pipeline] } [2022-07-04T20:12:33.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-04T20:12:34.732Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-204/archives ] [2022-07-04T20:12:34.732Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-04T20:12:34.732Z] total 16 [2022-07-04T20:12:34.732Z] drwxr-xr-x 3 root root 4096 Jul 4 20:05 . [2022-07-04T20:12:34.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 20:05 .. [2022-07-04T20:12:34.732Z] drwxr-xr-x 2 root root 4096 Jul 4 20:05 cost [2022-07-04T20:12:34.732Z] -rw-r--r-- 1 root root 85 Jul 4 20:05 cost.csv [2022-07-04T20:12:34.732Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-04T20:12:34.732Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-204/archives [2022-07-04T20:12:34.732Z] total 16 [2022-07-04T20:12:34.732Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 20:05 . [2022-07-04T20:12:34.732Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 20:05 .. [2022-07-04T20:12:34.732Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 20:05 cost [2022-07-04T20:12:34.732Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 4 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:35.062Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:35.957Z] ---> package-listing.sh [2022-07-04T20:12:35.957Z] ++ facter osfamily [2022-07-04T20:12:35.957Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-04T20:12:36.220Z] + OS_FAMILY=debian [2022-07-04T20:12:36.220Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-204 [2022-07-04T20:12:36.220Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-04T20:12:36.220Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-04T20:12:36.220Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-04T20:12:36.220Z] + PACKAGES=/tmp/packages_start.txt [2022-07-04T20:12:36.220Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-04T20:12:36.220Z] + PACKAGES=/tmp/packages_end.txt [2022-07-04T20:12:36.220Z] + case "${OS_FAMILY}" in [2022-07-04T20:12:36.220Z] + dpkg -l [2022-07-04T20:12:36.220Z] + grep '^ii' [2022-07-04T20:12:36.220Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-04T20:12:36.220Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-04T20:12:36.220Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-04T20:12:36.220Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-204 ']' [2022-07-04T20:12:36.220Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [2022-07-04T20:12:36.220Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-204/archives/ [Pipeline] echo [2022-07-04T20:12:36.253Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-04T20:12:36.547Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T20:12:37.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T20:12:37.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T20:12:37.356Z] prd-ubuntu20.04-docker-8c-8g-16894 does not seem to be running inside a container [2022-07-04T20:12:37.387Z] $ 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-204/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-204 -v /w/workspace/gexfoundry_device-rest-go_PR-204:/w/workspace/gexfoundry_device-rest-go_PR-204:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-204@tmp:/w/workspace/gexfoundry_device-rest-go_PR-204@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-07-04T20:12:37.612Z] $ docker top 35524f8c0cc1badc7fa2673433cbff7b6d95969d30e4f001168a2e2ee85a0cd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T20:12:38.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-04T20:12:38.351Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-04T20:12:38.669Z] + ls /var/log/sa-host [2022-07-04T20:12:38.669Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T20:12:38.883Z] provisioning config files... [2022-07-04T20:12:38.894Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-204@tmp/config3952295328146071926tmp [Pipeline] { [Pipeline] echo [2022-07-04T20:12:38.947Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:39.261Z] ---> create-netrc.sh [Pipeline] } [2022-07-04T20:12:39.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:39.685Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-04T20:12:39.717Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:40.028Z] ---> sudo-logs.sh [2022-07-04T20:12:40.028Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-04T20:12:40.114Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:40.428Z] ---> job-cost.sh [2022-07-04T20:12:40.428Z] lf-activate-venv: SKIPPING [2022-07-04T20:12:40.428Z] DEBUG: total: 0.2199999988079071 [2022-07-04T20:12:40.428Z] INFO: Retrieving Stack Cost... [2022-07-04T20:12:40.997Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T20:12:41.567Z] INFO: Archiving Costs [Pipeline] echo [2022-07-04T20:12:41.608Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T20:12:41.927Z] ---> logs-deploy.sh [2022-07-04T20:12:41.927Z] lf-activate-venv: SKIPPING [2022-07-04T20:12:41.927Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-204/1 [2022-07-04T20:12:41.927Z] INFO: archiving workspace using pattern(s): [2022-07-04T20:12:42.865Z] Archives upload complete. [2022-07-04T20:12:42.865Z] INFO: archiving logs to Nexus