Pull request #171 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-rest-go Obtained Jenkinsfile from cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64+e20d54948958fbae002d4522b61cee1c213d8f02 (1be931ebeafcc96b081258fa66943ad85aec6ac9) 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-ssh16811997005994325439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9392178571940574618.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-171/workspace@libs/edgex-global-pipelines # 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-171/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2885826785952791197.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-171/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14822167725634412673.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh16147957779797285013.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-171/workspace@libs/lf-pipelines # 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-171/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4043387756946191047.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11518’ Running on prd-ubuntu20.04-docker-8c-8g-11521 in /w/workspace/gexfoundry_device-rest-go_PR-171 [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-171 # 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 e20d54948958fbae002d4522b61cee1c213d8f02 into PR head commit cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 Merge succeeded, producing cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 Checking out Revision cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 (PR-171) > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 # 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 e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 # timeout=10 Commit message: "feat: enable security hardening" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-07T23:41:29.940Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-07T23:41:30.100Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-07T23:41:30.186Z] ========================================================= [2022-04-07T23:41:30.186Z] EdgeX Global Pipelines Version Info [2022-04-07T23:41:30.186Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:41:31.113Z] ------------------- [2022-04-07T23:41:31.113Z] stable info: [2022-04-07T23:41:31.113Z] ------------------- [2022-04-07T23:41:31.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-07T23:41:31.113Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T23:41:31.113Z] Message: update stable to v1.0.221 [2022-04-07T23:41:31.689Z] ------------------- [2022-04-07T23:41:31.689Z] experimental info: [2022-04-07T23:41:31.689Z] ------------------- [2022-04-07T23:41:31.689Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-07T23:41:31.689Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T23:41:31.689Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-07T23:41:31.967Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-07T23:41:32.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-07T23:41:32.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-07T23:41:32.100Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-07T23:41:32.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-07T23:41:32.194Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-07T23:41:32.235Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-07T23:41:32.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-07T23:41:32.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-07T23:41:32.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-07T23:41:32.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-07T23:41:32.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-07T23:41:32.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-07T23:41:32.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-07T23:41:32.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T23:41:32.623Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T23:41:32.663Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T23:41:32.699Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T23:41:32.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-07T23:41:32.786Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-07T23:41:32.832Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-07T23:41:32.876Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-07T23:41:32.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-07T23:41:32.950Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-07T23:41:32.988Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-07T23:41:33.037Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-07T23:41:33.081Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2022-04-07T23:41:33.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2022-04-07T23:41:33.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2022-04-07T23:41:33.220Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [Pipeline] echo [2022-04-07T23:41:33.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc8c89e [Pipeline] echo [2022-04-07T23:41:33.310Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:41:33.429Z] provisioning config files... [2022-04-07T23:41:33.444Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/config6581531439340901933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:41:33.792Z] ---> docker-login.sh [2022-04-07T23:41:33.793Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:41:34.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:34.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:34.054Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:34.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:34.054Z] [2022-04-07T23:41:34.054Z] Login Succeeded [2022-04-07T23:41:34.054Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:41:34.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:34.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:34.316Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:34.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:34.316Z] [2022-04-07T23:41:34.316Z] Login Succeeded [2022-04-07T23:41:34.316Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:41:34.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:34.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:34.316Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:34.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:34.316Z] [2022-04-07T23:41:34.316Z] Login Succeeded [2022-04-07T23:41:34.316Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:41:34.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:34.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:34.576Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:34.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:34.576Z] [2022-04-07T23:41:34.576Z] Login Succeeded [2022-04-07T23:41:34.576Z] docker.io [2022-04-07T23:41:34.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:34.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:34.838Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:34.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:34.838Z] [2022-04-07T23:41:34.838Z] Login Succeeded [2022-04-07T23:41:34.838Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:41:34.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-07T23:41:35.495Z] + git rev-list -1 --merges cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64~1..cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [Pipeline] echo [2022-04-07T23:41:35.547Z] -----------> git rev-list -1 --merges cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64~1..cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [false] [Pipeline] sh [2022-04-07T23:41:35.867Z] + git log --format=format:%s -1 cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [Pipeline] echo [2022-04-07T23:41:35.901Z] ========================================================= [2022-04-07T23:41:35.901Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-07T23:41:35.901Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:41:36.344Z] + git log --format=format:%s -1 cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [Pipeline] echo [2022-04-07T23:41:36.378Z] [semverPrep] GIT_COMMIT: cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64, Commit Message: feat: enable security hardening [Pipeline] echo [2022-04-07T23:41:36.412Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-07T23:41:36.828Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-07T23:41:36.828Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-07T23:41:36.828Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-07T23:41:36.828Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-07T23:41:36.828Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-07T23:41:36.828Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-07T23:41:36.828Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:41:37.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:41:37.219Z] [2022-04-07T23:41:37.219Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:41:37.566Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:41:37.566Z] latest: Pulling from edgex-devops/git-semver [2022-04-07T23:41:37.566Z] a0d0a0d46f8b: Pulling fs layer [2022-04-07T23:41:37.566Z] 3e5f54012d9b: Pulling fs layer [2022-04-07T23:41:37.566Z] 4c7163046ea9: Pulling fs layer [2022-04-07T23:41:37.566Z] 0c2d73faf560: Pulling fs layer [2022-04-07T23:41:37.566Z] 0c2d73faf560: Waiting [2022-04-07T23:41:37.566Z] 3e5f54012d9b: Verifying Checksum [2022-04-07T23:41:37.566Z] 3e5f54012d9b: Download complete [2022-04-07T23:41:37.566Z] a0d0a0d46f8b: Verifying Checksum [2022-04-07T23:41:37.566Z] a0d0a0d46f8b: Download complete [2022-04-07T23:41:37.566Z] 0c2d73faf560: Verifying Checksum [2022-04-07T23:41:37.566Z] 0c2d73faf560: Download complete [2022-04-07T23:41:37.826Z] 4c7163046ea9: Download complete [2022-04-07T23:41:37.826Z] a0d0a0d46f8b: Pull complete [2022-04-07T23:41:37.826Z] 3e5f54012d9b: Pull complete [2022-04-07T23:41:38.089Z] 4c7163046ea9: Pull complete [2022-04-07T23:41:38.351Z] 0c2d73faf560: Pull complete [2022-04-07T23:41:38.351Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-07T23:41:38.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T23:41:38.351Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-07T23:41:38.461Z] prd-ubuntu20.04-docker-8c-8g-11521 does not seem to be running inside a container [2022-04-07T23:41:38.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-171 -v /w/workspace/gexfoundry_device-rest-go_PR-171:/w/workspace/gexfoundry_device-rest-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-171@tmp:/w/workspace/gexfoundry_device-rest-go_PR-171@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:10004/edgex-devops/git-semver:latest cat [2022-04-07T23:41:39.217Z] $ docker top a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-07T23:41:39.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T23:41:39.402Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T23:41:39.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T23:41:39.533Z] $ docker exec a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d ssh-agent [2022-04-07T23:41:39.669Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXepEaao/agent.13 [2022-04-07T23:41:39.669Z] SSH_AGENT_PID=19 [2022-04-07T23:41:39.677Z] Running ssh-add (command line suppressed) [2022-04-07T23:41:39.800Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-171@tmp/private_key_1354128294122642710.key (/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/private_key_1354128294122642710.key) [2022-04-07T23:41:39.813Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T23:41:40.152Z] + git tag --points-at HEAD [Pipeline] } [2022-04-07T23:41:40.180Z] $ docker exec --env ******** --env ******** a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d ssh-agent -k [2022-04-07T23:41:40.286Z] unset SSH_AUTH_SOCK; [2022-04-07T23:41:40.287Z] unset SSH_AGENT_PID; [2022-04-07T23:41:40.287Z] echo Agent pid 19 killed; [2022-04-07T23:41:40.299Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-07T23:41:40.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T23:41:40.379Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T23:41:40.511Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T23:41:40.516Z] $ docker exec a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d ssh-agent [2022-04-07T23:41:40.638Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKdlLDn/agent.53 [2022-04-07T23:41:40.638Z] SSH_AGENT_PID=59 [2022-04-07T23:41:40.643Z] Running ssh-add (command line suppressed) [2022-04-07T23:41:40.758Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-171@tmp/private_key_8316981530688773822.key (/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/private_key_8316981530688773822.key) [2022-04-07T23:41:40.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T23:41:41.110Z] + git semver init [2022-04-07T23:41:41.110Z] # -> Open(): unable to determine branch for HEAD [2022-04-07T23:41:41.110Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-171/.git [2022-04-07T23:41:41.110Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-171 [2022-04-07T23:41:41.110Z] # $SEMVER_REMOTE_NAME = origin [2022-04-07T23:41:41.110Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-07T23:41:41.110Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-07T23:41:41.110Z] # $SEMVER_BRANCH = PR-171 [2022-04-07T23:41:41.110Z] # $SEMVER_TEMP = /tmp/semver-199295004 [2022-04-07T23:41:41.110Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-07T23:41:42.495Z] # '/tmp/semver-199295004' -> '/w/workspace/gexfoundry_device-rest-go_PR-171/.semver' [2022-04-07T23:41:42.495Z] # -> Force: false [2022-04-07T23:41:42.495Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-171/.semver [Pipeline] } [2022-04-07T23:41:42.520Z] $ docker exec --env ******** --env ******** a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d ssh-agent -k [2022-04-07T23:41:42.642Z] unset SSH_AUTH_SOCK; [2022-04-07T23:41:42.642Z] unset SSH_AGENT_PID; [2022-04-07T23:41:42.643Z] echo Agent pid 59 killed; [2022-04-07T23:41:42.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-07T23:41:43.105Z] + git semver [Pipeline] } [2022-04-07T23:41:43.132Z] $ docker stop --time=1 a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d [2022-04-07T23:41:44.600Z] $ docker rm -f a5e47fa49899965161fa2ebf1cd0af63d2747bd033bd3fb8f8079f7e01ca278d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:41:45.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-07T23:41:45.325Z] Stashed 1 file(s) [Pipeline] echo [2022-04-07T23:41:45.344Z] [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-04-07T23:41:45.959Z] provisioning config files... [2022-04-07T23:41:45.969Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/config2106652781470247348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:41:46.359Z] ---> docker-login.sh [2022-04-07T23:41:46.360Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:41:46.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:46.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:46.360Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:46.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:46.360Z] [2022-04-07T23:41:46.360Z] Login Succeeded [2022-04-07T23:41:46.360Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:41:46.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:46.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:46.620Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:46.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:46.620Z] [2022-04-07T23:41:46.620Z] Login Succeeded [2022-04-07T23:41:46.620Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:41:46.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:46.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:46.620Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:46.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:46.620Z] [2022-04-07T23:41:46.620Z] Login Succeeded [2022-04-07T23:41:46.620Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:41:46.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:46.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:46.881Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:46.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:46.881Z] [2022-04-07T23:41:46.881Z] Login Succeeded [2022-04-07T23:41:46.881Z] docker.io [2022-04-07T23:41:46.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:41:47.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:41:47.142Z] Configure a credential helper to remove this warning. See [2022-04-07T23:41:47.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:41:47.142Z] [2022-04-07T23:41:47.142Z] Login Succeeded [2022-04-07T23:41:47.143Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:41:47.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T23:41:47.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T23:41:47.409Z] ========================================================= [2022-04-07T23:41:47.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-07T23:41:47.409Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:41:47.813Z] + 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-04-07T23:41:47.813Z] Sending build context to Docker daemon 10.57MB [2022-04-07T23:41:47.813Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:41:47.813Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T23:41:47.813Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-07T23:41:47.813Z] 59bf1c3509f3: Pulling fs layer [2022-04-07T23:41:47.813Z] 666ba61612fd: Pulling fs layer [2022-04-07T23:41:47.813Z] 8ed8ca486205: Pulling fs layer [2022-04-07T23:41:47.813Z] 4fe6c5a15a65: Pulling fs layer [2022-04-07T23:41:47.813Z] 22a0e8bec74d: Pulling fs layer [2022-04-07T23:41:47.813Z] 640e595b4fbd: Pulling fs layer [2022-04-07T23:41:47.813Z] 763cafe07f6e: Pulling fs layer [2022-04-07T23:41:47.813Z] 0c0b528cf693: Pulling fs layer [2022-04-07T23:41:47.813Z] 10935f4eaf8b: Pulling fs layer [2022-04-07T23:41:47.813Z] 640e595b4fbd: Waiting [2022-04-07T23:41:47.813Z] 0c0b528cf693: Waiting [2022-04-07T23:41:47.813Z] 763cafe07f6e: Waiting [2022-04-07T23:41:47.813Z] 4fe6c5a15a65: Waiting [2022-04-07T23:41:47.813Z] 10935f4eaf8b: Waiting [2022-04-07T23:41:47.813Z] 8ed8ca486205: Download complete [2022-04-07T23:41:48.073Z] 666ba61612fd: Verifying Checksum [2022-04-07T23:41:48.073Z] 666ba61612fd: Download complete [2022-04-07T23:41:48.073Z] 22a0e8bec74d: Verifying Checksum [2022-04-07T23:41:48.073Z] 22a0e8bec74d: Download complete [2022-04-07T23:41:48.073Z] 640e595b4fbd: Verifying Checksum [2022-04-07T23:41:48.073Z] 640e595b4fbd: Download complete [2022-04-07T23:41:48.073Z] 59bf1c3509f3: Verifying Checksum [2022-04-07T23:41:48.073Z] 59bf1c3509f3: Download complete [2022-04-07T23:41:48.073Z] 763cafe07f6e: Verifying Checksum [2022-04-07T23:41:48.073Z] 763cafe07f6e: Download complete [2022-04-07T23:41:48.073Z] 0c0b528cf693: Verifying Checksum [2022-04-07T23:41:48.073Z] 0c0b528cf693: Download complete [2022-04-07T23:41:48.073Z] 59bf1c3509f3: Pull complete [2022-04-07T23:41:48.335Z] 666ba61612fd: Pull complete [2022-04-07T23:41:48.335Z] 8ed8ca486205: Pull complete [2022-04-07T23:41:48.594Z] 10935f4eaf8b: Download complete [2022-04-07T23:41:48.594Z] 4fe6c5a15a65: Verifying Checksum [2022-04-07T23:41:48.594Z] 4fe6c5a15a65: Download complete [2022-04-07T23:41:52.806Z] 4fe6c5a15a65: Pull complete [2022-04-07T23:41:52.806Z] 22a0e8bec74d: Pull complete [2022-04-07T23:41:52.806Z] 640e595b4fbd: Pull complete [2022-04-07T23:41:52.806Z] 763cafe07f6e: Pull complete [2022-04-07T23:41:53.065Z] 0c0b528cf693: Pull complete [2022-04-07T23:41:55.604Z] 10935f4eaf8b: Pull complete [2022-04-07T23:41:55.604Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-07T23:41:55.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-07T23:41:55.604Z] ---> 99d49a6021b9 [2022-04-07T23:41:55.604Z] Step 3/12 : ARG MAKE='make build' [2022-04-07T23:41:56.990Z] ---> Running in 981f74ac1680 [2022-04-07T23:41:56.990Z] Removing intermediate container 981f74ac1680 [2022-04-07T23:41:56.990Z] ---> 24b6fa6aee23 [2022-04-07T23:41:56.990Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T23:41:56.990Z] ---> Running in b8cffa1286e9 [2022-04-07T23:41:56.990Z] Removing intermediate container b8cffa1286e9 [2022-04-07T23:41:56.990Z] ---> 34023be5bc00 [2022-04-07T23:41:56.990Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:41:57.251Z] ---> Running in eb474f3eab75 [2022-04-07T23:41:57.251Z] Removing intermediate container eb474f3eab75 [2022-04-07T23:41:57.251Z] ---> 8555f89cac61 [2022-04-07T23:41:57.251Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:41:57.251Z] ---> Running in c6c606b0fab9 [2022-04-07T23:41:57.823Z] Removing intermediate container c6c606b0fab9 [2022-04-07T23:41:57.823Z] ---> 7756ebe034fc [2022-04-07T23:41:57.823Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:41:57.823Z] ---> Running in b7dcaa8560fb [2022-04-07T23:41:58.401Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:41:58.971Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:41:59.541Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T23:41:59.541Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T23:41:59.541Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T23:41:59.801Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T23:41:59.801Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T23:41:59.801Z] OK: 224 MiB in 56 packages [2022-04-07T23:42:00.373Z] Removing intermediate container b7dcaa8560fb [2022-04-07T23:42:00.373Z] ---> 9e44b27d74bd [2022-04-07T23:42:00.373Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-07T23:42:00.373Z] ---> Running in e334e96de7b1 [2022-04-07T23:42:00.373Z] Removing intermediate container e334e96de7b1 [2022-04-07T23:42:00.373Z] ---> 96d8598d329a [2022-04-07T23:42:00.373Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-07T23:42:00.637Z] ---> e0f875652f67 [2022-04-07T23:42:00.637Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:42:00.637Z] ---> Running in 47f01f77e51d [2022-04-07T23:42:00.771Z] Still waiting to schedule task [2022-04-07T23:42:00.772Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11519’ is offline [2022-04-07T23:42:18.787Z] Removing intermediate container 47f01f77e51d [2022-04-07T23:42:18.788Z] ---> 692631417fa9 [2022-04-07T23:42:18.788Z] Step 11/12 : COPY . . [2022-04-07T23:42:18.788Z] ---> a7cb77611ee3 [2022-04-07T23:42:18.788Z] Step 12/12 : RUN $MAKE [2022-04-07T23:42:18.788Z] ---> Running in 441a8986424f [2022-04-07T23:42:18.788Z] noop [2022-04-07T23:42:18.788Z] Removing intermediate container 441a8986424f [2022-04-07T23:42:18.788Z] ---> bc1cb0857237 [2022-04-07T23:42:18.788Z] Successfully built bc1cb0857237 [2022-04-07T23:42:18.788Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:42:19.130Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T23:42:19.130Z] . [Pipeline] withDockerContainer [2022-04-07T23:42:19.225Z] prd-ubuntu20.04-docker-8c-8g-11521 does not seem to be running inside a container [2022-04-07T23:42:19.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-171 -v /w/workspace/gexfoundry_device-rest-go_PR-171:/w/workspace/gexfoundry_device-rest-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-171@tmp:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T23:42:19.661Z] $ docker top 84ff71251a901f24cf0ec00758d270bbd17bb5cc2860c9a1eec19af5b65c9214 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:42:20.153Z] + go version [2022-04-07T23:42:20.153Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-07T23:42:20.190Z] $ docker stop --time=1 84ff71251a901f24cf0ec00758d270bbd17bb5cc2860c9a1eec19af5b65c9214 [2022-04-07T23:42:21.478Z] $ docker rm -f 84ff71251a901f24cf0ec00758d270bbd17bb5cc2860c9a1eec19af5b65c9214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:42:22.283Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T23:42:22.283Z] . [Pipeline] withDockerContainer [2022-04-07T23:42:22.379Z] prd-ubuntu20.04-docker-8c-8g-11521 does not seem to be running inside a container [2022-04-07T23:42:22.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-171 -v /w/workspace/gexfoundry_device-rest-go_PR-171:/w/workspace/gexfoundry_device-rest-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-171@tmp:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T23:42:22.834Z] $ docker top 01abef924dcdc3a9368d3477fe8ffbc4a6a896a390a8cfdfd5397e0c0296ace7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T23:42:23.286Z] + make test [2022-04-07T23:42:23.286Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-07T23:42:23.546Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-07T23:42:33.541Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-07T23:42:33.541Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-04-07T23:42:40.114Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T23:42:43.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T23:42:43.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T23:42:43.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T23:42:44.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T23:42:44.054Z] $ docker stop --time=1 01abef924dcdc3a9368d3477fe8ffbc4a6a896a390a8cfdfd5397e0c0296ace7 [2022-04-07T23:42:45.981Z] $ docker rm -f 01abef924dcdc3a9368d3477fe8ffbc4a6a896a390a8cfdfd5397e0c0296ace7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:42:46.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T23:42:46.561Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-07T23:42:47.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T23:42:47.631Z] + ls -al . [2022-04-07T23:42:47.631Z] total 172 [2022-04-07T23:42:47.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:42 . [2022-04-07T23:42:47.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:41 .. [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 7 23:41 .dockerignore [2022-04-07T23:42:47.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:41 .git [2022-04-07T23:42:47.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 .github [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 23:41 .gitignore [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 23:41 .golangci.yml [2022-04-07T23:42:47.631Z] drwx------ 3 jenkins jenkins 4096 Apr 7 23:41 .semver [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 7 23:41 Attribution.txt [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 7 23:41 CHANGELOG.md [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 7 23:41 Dockerfile [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:41 GOVERNANCE.md [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 23:41 Jenkinsfile [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:41 LICENSE [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 7 23:41 Makefile [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 23:41 OWNERS.md [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 7 23:41 README.md [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:41 VERSION [2022-04-07T23:42:47.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 bin [2022-04-07T23:42:47.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 cmd [2022-04-07T23:42:47.631Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 7 23:42 coverage.out [2022-04-07T23:42:47.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:41 driver [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 7 23:41 go.mod [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 23:41 go.sum [2022-04-07T23:42:47.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:41 snap [2022-04-07T23:42:47.631Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 7 23:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:42:47.963Z] + 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=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 --label arch=amd64 --label version=0.0.0 . [2022-04-07T23:42:47.963Z] Sending build context to Docker daemon 10.58MB [2022-04-07T23:42:47.963Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:42:47.963Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-07T23:42:47.963Z] ---> bc1cb0857237 [2022-04-07T23:42:47.963Z] Step 3/25 : ARG MAKE='make build' [2022-04-07T23:42:47.963Z] ---> Running in b794937fb02f [2022-04-07T23:42:48.223Z] Removing intermediate container b794937fb02f [2022-04-07T23:42:48.223Z] ---> fd4ba54bcd92 [2022-04-07T23:42:48.223Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T23:42:48.223Z] ---> Running in 6ba8047f48d8 [2022-04-07T23:42:48.223Z] Removing intermediate container 6ba8047f48d8 [2022-04-07T23:42:48.223Z] ---> bc2a63cfee15 [2022-04-07T23:42:48.223Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:42:48.223Z] ---> Running in b826f30ba394 [2022-04-07T23:42:48.484Z] Removing intermediate container b826f30ba394 [2022-04-07T23:42:48.484Z] ---> 9b91efd819af [2022-04-07T23:42:48.484Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:42:48.484Z] ---> Running in 6f6d93fd8855 [2022-04-07T23:42:49.056Z] Removing intermediate container 6f6d93fd8855 [2022-04-07T23:42:49.056Z] ---> bae2c488c3ac [2022-04-07T23:42:49.056Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:42:49.056Z] ---> Running in 1fd5d7de73d0 [2022-04-07T23:42:49.317Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:42:50.261Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:42:50.520Z] OK: 224 MiB in 56 packages [2022-04-07T23:42:50.781Z] Removing intermediate container 1fd5d7de73d0 [2022-04-07T23:42:50.781Z] ---> f620a98a7081 [2022-04-07T23:42:50.781Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-07T23:42:50.781Z] ---> Running in de73d2e5b362 [2022-04-07T23:42:51.041Z] Removing intermediate container de73d2e5b362 [2022-04-07T23:42:51.041Z] ---> 8f78c63796a8 [2022-04-07T23:42:51.041Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-07T23:42:51.041Z] ---> 068066ea6980 [2022-04-07T23:42:51.041Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:42:51.041Z] ---> Running in 252da94b681c [2022-04-07T23:42:51.981Z] Removing intermediate container 252da94b681c [2022-04-07T23:42:51.981Z] ---> 8ff17d7fd798 [2022-04-07T23:42:51.981Z] Step 11/25 : COPY . . [2022-04-07T23:42:51.981Z] ---> f4f9be62f5ac [2022-04-07T23:42:51.981Z] Step 12/25 : RUN $MAKE [2022-04-07T23:42:52.242Z] ---> Running in 6f71c7baff1e [2022-04-07T23:42:52.504Z] 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-04-07T23:43:14.467Z] Removing intermediate container 6f71c7baff1e [2022-04-07T23:43:14.467Z] ---> d13654b075d5 [2022-04-07T23:43:14.467Z] Step 13/25 : FROM alpine:3.14 [2022-04-07T23:43:14.467Z] 3.14: Pulling from library/alpine [2022-04-07T23:43:14.467Z] 8663204ce13b: Pulling fs layer [2022-04-07T23:43:14.467Z] 8663204ce13b: Verifying Checksum [2022-04-07T23:43:14.467Z] 8663204ce13b: Pull complete [2022-04-07T23:43:14.467Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T23:43:14.467Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T23:43:14.467Z] ---> e04c818066af [2022-04-07T23:43:14.467Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-07T23:43:14.467Z] ---> Running in fc97d7e6147d [2022-04-07T23:43:14.467Z] Removing intermediate container fc97d7e6147d [2022-04-07T23:43:14.467Z] ---> 2e9ffde543e4 [2022-04-07T23:43:14.467Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-07T23:43:14.467Z] ---> Running in 5f1d33e808bd [2022-04-07T23:43:14.467Z] Removing intermediate container 5f1d33e808bd [2022-04-07T23:43:14.467Z] ---> 133003a9c4c6 [2022-04-07T23:43:14.467Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T23:43:14.467Z] ---> Running in 3cbbf9040779 [2022-04-07T23:43:14.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-07T23:43:14.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-07T23:43:14.467Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T23:43:14.467Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T23:43:14.467Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T23:43:14.467Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T23:43:14.467Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T23:43:14.467Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T23:43:14.467Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T23:43:14.467Z] OK: 8 MiB in 20 packages [2022-04-07T23:43:14.467Z] Removing intermediate container 3cbbf9040779 [2022-04-07T23:43:14.467Z] ---> 1dabcd24850f [2022-04-07T23:43:14.467Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-07T23:43:14.467Z] ---> 5b18a742a3d2 [2022-04-07T23:43:14.467Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-07T23:43:14.728Z] ---> 3c44a5fe42c7 [2022-04-07T23:43:14.728Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-07T23:43:14.990Z] ---> 1986cd92ce9a [2022-04-07T23:43:14.990Z] Step 20/25 : EXPOSE 59986 [2022-04-07T23:43:14.990Z] ---> Running in 88b0c14f9d64 [2022-04-07T23:43:14.990Z] Removing intermediate container 88b0c14f9d64 [2022-04-07T23:43:14.991Z] ---> cff1e360add7 [2022-04-07T23:43:14.991Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-07T23:43:14.991Z] ---> Running in a99862eb31cb [2022-04-07T23:43:15.251Z] Removing intermediate container a99862eb31cb [2022-04-07T23:43:15.251Z] ---> 198cc0502eeb [2022-04-07T23:43:15.251Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-07T23:43:15.251Z] ---> Running in 9d06a5afc308 [2022-04-07T23:43:15.251Z] Removing intermediate container 9d06a5afc308 [2022-04-07T23:43:15.251Z] ---> fd0f8255a04f [2022-04-07T23:43:15.251Z] Step 23/25 : LABEL arch=amd64 [2022-04-07T23:43:15.251Z] ---> Running in c62a0faa37ff [2022-04-07T23:43:15.512Z] Removing intermediate container c62a0faa37ff [2022-04-07T23:43:15.512Z] ---> 141fc4bc4678 [2022-04-07T23:43:15.512Z] Step 24/25 : LABEL git_sha=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [2022-04-07T23:43:15.512Z] ---> Running in 27b8b9039bb3 [2022-04-07T23:43:15.512Z] Removing intermediate container 27b8b9039bb3 [2022-04-07T23:43:15.512Z] ---> 9967da48aa68 [2022-04-07T23:43:15.512Z] Step 25/25 : LABEL version=0.0.0 [2022-04-07T23:43:15.512Z] ---> Running in fa2e25cb4244 [2022-04-07T23:43:15.774Z] Removing intermediate container fa2e25cb4244 [2022-04-07T23:43:15.774Z] ---> 4a528142f98b [2022-04-07T23:43:15.774Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T23:43:15.774Z] Successfully built 4a528142f98b [2022-04-07T23:43:15.774Z] Successfully tagged device-rest:latest [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] sh [2022-04-07T23:43:16.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:43:16.475Z] [2022-04-07T23:43:16.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:43:16.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:43:16.823Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-07T23:43:16.823Z] 5eb5b503b376: Pulling fs layer [2022-04-07T23:43:16.823Z] 5c69ac0246d0: Pulling fs layer [2022-04-07T23:43:16.823Z] ec43610c2a17: Pulling fs layer [2022-04-07T23:43:16.823Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-07T23:43:16.823Z] 33b1e0a273af: Pulling fs layer [2022-04-07T23:43:16.823Z] 5d3b04190fa2: Pulling fs layer [2022-04-07T23:43:16.823Z] 2f39f015ded8: Pulling fs layer [2022-04-07T23:43:16.823Z] 3a2ae6a8a46f: Waiting [2022-04-07T23:43:16.823Z] 33b1e0a273af: Waiting [2022-04-07T23:43:16.823Z] 5d3b04190fa2: Waiting [2022-04-07T23:43:16.823Z] 2f39f015ded8: Waiting [2022-04-07T23:43:16.823Z] 5c69ac0246d0: Download complete [2022-04-07T23:43:16.823Z] 3a2ae6a8a46f: Download complete [2022-04-07T23:43:16.823Z] 33b1e0a273af: Verifying Checksum [2022-04-07T23:43:16.823Z] 33b1e0a273af: Download complete [2022-04-07T23:43:16.823Z] 5d3b04190fa2: Download complete [2022-04-07T23:43:17.084Z] ec43610c2a17: Verifying Checksum [2022-04-07T23:43:17.084Z] ec43610c2a17: Download complete [2022-04-07T23:43:17.084Z] 5eb5b503b376: Verifying Checksum [2022-04-07T23:43:17.084Z] 5eb5b503b376: Download complete [2022-04-07T23:43:17.657Z] 2f39f015ded8: Download complete [2022-04-07T23:43:18.601Z] 5eb5b503b376: Pull complete [2022-04-07T23:43:18.602Z] 5c69ac0246d0: Pull complete [2022-04-07T23:43:19.173Z] ec43610c2a17: Pull complete [2022-04-07T23:43:19.173Z] 3a2ae6a8a46f: Pull complete [2022-04-07T23:43:19.435Z] 33b1e0a273af: Pull complete [2022-04-07T23:43:19.435Z] 5d3b04190fa2: Pull complete [2022-04-07T23:43:24.717Z] 2f39f015ded8: Pull complete [2022-04-07T23:43:24.717Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-07T23:43:24.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:43:24.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-07T23:43:24.817Z] prd-ubuntu20.04-docker-8c-8g-11521 does not seem to be running inside a container [2022-04-07T23:43:24.856Z] $ 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-171 -v /w/workspace/gexfoundry_device-rest-go_PR-171:/w/workspace/gexfoundry_device-rest-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-171@tmp:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T23:43:26.514Z] $ docker top 7b8f8518b2e5042187e85120f388f274392415055a6b8c90170db96830756b01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:43:26.973Z] ---> job-cost.sh [2022-04-07T23:43:26.973Z] lf-activate-venv: SKIPPING [2022-04-07T23:43:26.973Z] INFO: No Stack... [2022-04-07T23:43:27.544Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T23:43:27.810Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T23:43:28.137Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-171/archives/cost.csv [2022-04-07T23:43:28.137Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T23:43:28.181Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [2022-04-07T23:43:28.186Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] did not exist. Created. [2022-04-07T23:43:28.186Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T23:43:28.579Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-07T23:43:28.634Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T23:43:28.658Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T23:43:28.737Z] $ docker stop --time=1 7b8f8518b2e5042187e85120f388f274392415055a6b8c90170db96830756b01 [2022-04-07T23:43:29.901Z] $ docker rm -f 7b8f8518b2e5042187e85120f388f274392415055a6b8c90170db96830756b01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-07T23:43:38.628Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11522 in /w/workspace/gexfoundry_device-rest-go_PR-171 [Pipeline] { [Pipeline] ws [2022-04-07T23:43:38.671Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-04-07T23:43:38.974Z] The recommended git tool is: git [2022-04-07T23:43:46.153Z] using credential edgex-jenkins-ssh [2022-04-07T23:43:46.178Z] Cloning the remote Git repository [2022-04-07T23:43:46.242Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-07T23:43:46.359Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-04-07T23:43:46.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-07T23:43:46.509Z] > git --version # timeout=10 [2022-04-07T23:43:46.587Z] > git --version # 'git version 2.25.1' [2022-04-07T23:43:46.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:43:46.828Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T23:43:49.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-07T23:43:49.401Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T23:43:50.101Z] Merging remotes/origin/main commit e20d54948958fbae002d4522b61cee1c213d8f02 into PR head commit cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [2022-04-07T23:43:50.373Z] Merge succeeded, producing cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [2022-04-07T23:43:50.373Z] Checking out Revision cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 (PR-171) [2022-04-07T23:43:49.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-07T23:43:49.506Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-07T23:43:49.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:43:49.522Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-07T23:43:50.128Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T23:43:50.161Z] > git checkout -f cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 # timeout=10 [2022-04-07T23:43:50.259Z] > git remote # timeout=10 [2022-04-07T23:43:50.281Z] > git config --get remote.origin.url # timeout=10 [2022-04-07T23:43:50.309Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T23:43:50.323Z] > git merge e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 [2022-04-07T23:43:50.354Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-07T23:43:50.386Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T23:43:50.420Z] > git checkout -f cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 # timeout=10 [2022-04-07T23:43:54.827Z] Commit message: "feat: enable security hardening" [2022-04-07T23:43:54.890Z] > git --version # timeout=10 [2022-04-07T23:43:54.902Z] > git --version # 'git version 2.25.1' [2022-04-07T23:43:54.920Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:43:55.934Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-07T23:43:55.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T23:43:55.935Z] Dload Upload Total Spent Left Speed [2022-04-07T23:43:55.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65071 0 --:--:-- --:--:-- --:--:-- 65071 [Pipeline] sh [2022-04-07T23:43:56.476Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-07T23:43:56.836Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-07T23:43:56.836Z] + sudo tee /etc/docker/daemon.new [2022-04-07T23:43:56.837Z] { [2022-04-07T23:43:56.837Z] "registry-mirrors": [ [2022-04-07T23:43:56.837Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-07T23:43:56.837Z] ], [2022-04-07T23:43:56.837Z] "bip": "10.250.0.254/24", [2022-04-07T23:43:56.837Z] "hosts": [ [2022-04-07T23:43:56.837Z] "tcp://0.0.0.0:5555", [2022-04-07T23:43:56.837Z] "unix:///var/run/docker.sock" [2022-04-07T23:43:56.837Z] ], [2022-04-07T23:43:56.837Z] "mtu": 1458, [2022-04-07T23:43:56.837Z] "selinux-enabled": true, [2022-04-07T23:43:56.837Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-07T23:43:56.837Z] } [Pipeline] sh [2022-04-07T23:43:57.204Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-07T23:43:57.640Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:44:16.031Z] provisioning config files... [2022-04-07T23:44:16.055Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2267610705158463944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:44:16.694Z] ---> docker-login.sh [2022-04-07T23:44:16.694Z] nexus3.edgexfoundry.org:10001 [2022-04-07T23:44:17.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:44:17.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:44:17.563Z] Configure a credential helper to remove this warning. See [2022-04-07T23:44:17.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:44:17.563Z] [2022-04-07T23:44:17.563Z] Login Succeeded [2022-04-07T23:44:17.563Z] nexus3.edgexfoundry.org:10002 [2022-04-07T23:44:17.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:44:18.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:44:18.108Z] Configure a credential helper to remove this warning. See [2022-04-07T23:44:18.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:44:18.108Z] [2022-04-07T23:44:18.108Z] Login Succeeded [2022-04-07T23:44:18.108Z] nexus3.edgexfoundry.org:10003 [2022-04-07T23:44:18.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:44:18.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:44:18.388Z] Configure a credential helper to remove this warning. See [2022-04-07T23:44:18.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:44:18.388Z] [2022-04-07T23:44:18.388Z] Login Succeeded [2022-04-07T23:44:18.388Z] nexus3.edgexfoundry.org:10004 [2022-04-07T23:44:18.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:44:18.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:44:18.931Z] Configure a credential helper to remove this warning. See [2022-04-07T23:44:18.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:44:18.931Z] [2022-04-07T23:44:18.931Z] Login Succeeded [2022-04-07T23:44:18.931Z] docker.io [2022-04-07T23:44:19.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T23:44:19.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T23:44:19.474Z] Configure a credential helper to remove this warning. See [2022-04-07T23:44:19.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T23:44:19.474Z] [2022-04-07T23:44:19.474Z] Login Succeeded [2022-04-07T23:44:19.474Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T23:44:19.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T23:44:19.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T23:44:19.909Z] ========================================================= [2022-04-07T23:44:19.909Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-07T23:44:19.909Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:44:20.368Z] + 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-04-07T23:44:20.368Z] Sending build context to Docker daemon 127.5kB [2022-04-07T23:44:20.645Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:44:20.645Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T23:44:20.645Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-07T23:44:20.645Z] 9b3977197b4f: Pulling fs layer [2022-04-07T23:44:20.645Z] 1a89e8eeedd5: Pulling fs layer [2022-04-07T23:44:20.645Z] 94645a83ff95: Pulling fs layer [2022-04-07T23:44:20.645Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-07T23:44:20.645Z] 0c92f367c5e7: Pulling fs layer [2022-04-07T23:44:20.645Z] f7c0051592d6: Pulling fs layer [2022-04-07T23:44:20.645Z] a227ed2f7395: Pulling fs layer [2022-04-07T23:44:20.645Z] 7b1c46037f91: Pulling fs layer [2022-04-07T23:44:20.645Z] 3f3a8bcf1eab: Waiting [2022-04-07T23:44:20.645Z] 0c92f367c5e7: Waiting [2022-04-07T23:44:20.645Z] f7c0051592d6: Waiting [2022-04-07T23:44:20.645Z] a227ed2f7395: Waiting [2022-04-07T23:44:20.645Z] 7b1c46037f91: Waiting [2022-04-07T23:44:20.922Z] 94645a83ff95: Download complete [2022-04-07T23:44:20.922Z] 1a89e8eeedd5: Download complete [2022-04-07T23:44:20.922Z] 0c92f367c5e7: Verifying Checksum [2022-04-07T23:44:20.922Z] 0c92f367c5e7: Download complete [2022-04-07T23:44:20.922Z] f7c0051592d6: Verifying Checksum [2022-04-07T23:44:20.922Z] f7c0051592d6: Download complete [2022-04-07T23:44:20.922Z] 9b3977197b4f: Download complete [2022-04-07T23:44:20.922Z] a227ed2f7395: Verifying Checksum [2022-04-07T23:44:20.922Z] a227ed2f7395: Download complete [2022-04-07T23:44:21.525Z] 9b3977197b4f: Pull complete [2022-04-07T23:44:22.126Z] 1a89e8eeedd5: Pull complete [2022-04-07T23:44:22.400Z] 94645a83ff95: Pull complete [2022-04-07T23:44:22.674Z] 7b1c46037f91: Verifying Checksum [2022-04-07T23:44:22.674Z] 7b1c46037f91: Download complete [2022-04-07T23:44:23.272Z] 3f3a8bcf1eab: Download complete [2022-04-07T23:44:35.688Z] 3f3a8bcf1eab: Pull complete [2022-04-07T23:44:35.688Z] 0c92f367c5e7: Pull complete [2022-04-07T23:44:35.688Z] f7c0051592d6: Pull complete [2022-04-07T23:44:35.688Z] a227ed2f7395: Pull complete [2022-04-07T23:44:42.440Z] 7b1c46037f91: Pull complete [2022-04-07T23:44:42.440Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-07T23:44:42.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-07T23:44:42.440Z] ---> f79e39bc4007 [2022-04-07T23:44:42.440Z] Step 3/12 : ARG MAKE='make build' [2022-04-07T23:44:42.716Z] ---> Running in 26823f67e24c [2022-04-07T23:44:42.994Z] Removing intermediate container 26823f67e24c [2022-04-07T23:44:42.994Z] ---> 068ce9f2c48a [2022-04-07T23:44:42.994Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T23:44:42.994Z] ---> Running in aa901c9a1665 [2022-04-07T23:44:43.273Z] Removing intermediate container aa901c9a1665 [2022-04-07T23:44:43.273Z] ---> f357495a2c5b [2022-04-07T23:44:43.273Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:44:43.550Z] ---> Running in f5b601d637f2 [2022-04-07T23:44:43.824Z] Removing intermediate container f5b601d637f2 [2022-04-07T23:44:43.824Z] ---> a3209610c9d8 [2022-04-07T23:44:43.824Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:44:43.824Z] ---> Running in 788090566c7d [2022-04-07T23:44:45.269Z] Removing intermediate container 788090566c7d [2022-04-07T23:44:45.269Z] ---> 2917f41772d8 [2022-04-07T23:44:45.269Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:44:45.543Z] ---> Running in 9b0b2fde3a8a [2022-04-07T23:44:46.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:44:47.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:44:48.106Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T23:44:48.106Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T23:44:48.377Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T23:44:48.377Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T23:44:48.649Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T23:44:48.649Z] OK: 224 MiB in 56 packages [2022-04-07T23:44:49.626Z] Removing intermediate container 9b0b2fde3a8a [2022-04-07T23:44:49.626Z] ---> 410f21c7f17c [2022-04-07T23:44:49.626Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-07T23:44:49.626Z] ---> Running in ce792ae1dec5 [2022-04-07T23:44:49.899Z] Removing intermediate container ce792ae1dec5 [2022-04-07T23:44:49.899Z] ---> 191188c78791 [2022-04-07T23:44:49.899Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-07T23:44:50.501Z] ---> 58207df2adcb [2022-04-07T23:44:50.501Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:44:50.501Z] ---> Running in de02a03f959d [2022-04-07T23:45:37.552Z] Removing intermediate container de02a03f959d [2022-04-07T23:45:37.552Z] ---> 999df62b0cf1 [2022-04-07T23:45:37.552Z] Step 11/12 : COPY . . [2022-04-07T23:45:37.552Z] ---> 4d045c6743fe [2022-04-07T23:45:37.552Z] Step 12/12 : RUN $MAKE [2022-04-07T23:45:37.552Z] ---> Running in b046a81577eb [2022-04-07T23:45:37.552Z] noop [2022-04-07T23:45:37.833Z] Removing intermediate container b046a81577eb [2022-04-07T23:45:37.833Z] ---> 204d40dedc60 [2022-04-07T23:45:37.833Z] Successfully built 204d40dedc60 [2022-04-07T23:45:37.833Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:45:38.207Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T23:45:38.207Z] . [Pipeline] withDockerContainer [2022-04-07T23:45:38.469Z] prd-ubuntu20.04-docker-arm64-4c-16g-11522 does not seem to be running inside a container [2022-04-07T23:45:38.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T23:45:39.874Z] $ docker top be3e9f6e09b47a5b250672a9ecdfe1f3f5b62287d2146e2b4d87a982e2568af4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:45:40.846Z] + go version [2022-04-07T23:45:40.846Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-07T23:45:40.889Z] $ docker stop --time=1 be3e9f6e09b47a5b250672a9ecdfe1f3f5b62287d2146e2b4d87a982e2568af4 [2022-04-07T23:45:42.541Z] $ docker rm -f be3e9f6e09b47a5b250672a9ecdfe1f3f5b62287d2146e2b4d87a982e2568af4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:45:43.434Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T23:45:43.434Z] . [Pipeline] withDockerContainer [2022-04-07T23:45:43.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-11522 does not seem to be running inside a container [2022-04-07T23:45:43.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-07T23:45:45.041Z] $ docker top 5ded40eb0c0eaa987e46ec9e5c78e47befbd13e9680236c0d1d61c665af4e144 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T23:45:46.050Z] + make test [2022-04-07T23:45:46.050Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-07T23:45:47.496Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-07T23:47:09.337Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-07T23:47:09.337Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-04-07T23:47:09.337Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-07T23:47:09.337Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T23:47:27.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T23:47:27.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T23:47:27.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T23:47:29.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T23:47:29.218Z] $ docker stop --time=1 5ded40eb0c0eaa987e46ec9e5c78e47befbd13e9680236c0d1d61c665af4e144 [2022-04-07T23:47:30.974Z] $ docker rm -f 5ded40eb0c0eaa987e46ec9e5c78e47befbd13e9680236c0d1d61c665af4e144 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T23:47:31.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T23:47:31.983Z] Warning: overwriting stash ‘coverage-report’ [2022-04-07T23:47:32.419Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T23:47:33.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T23:47:33.359Z] + ls -al . [2022-04-07T23:47:33.359Z] total 168 [2022-04-07T23:47:33.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:47 . [2022-04-07T23:47:33.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:43 .. [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 7 23:43 .dockerignore [2022-04-07T23:47:33.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:43 .git [2022-04-07T23:47:33.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:43 .github [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 23:43 .gitignore [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 23:43 .golangci.yml [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 7 23:43 Attribution.txt [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 7 23:43 CHANGELOG.md [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 7 23:43 Dockerfile [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:43 GOVERNANCE.md [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 7 23:43 Jenkinsfile [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:43 LICENSE [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 7 23:43 Makefile [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 23:43 OWNERS.md [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 7 23:43 README.md [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:41 VERSION [2022-04-07T23:47:33.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:43 bin [2022-04-07T23:47:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:43 cmd [2022-04-07T23:47:33.359Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 7 23:47 coverage.out [2022-04-07T23:47:33.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:43 driver [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 7 23:43 go.mod [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 23:43 go.sum [2022-04-07T23:47:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:43 snap [2022-04-07T23:47:33.359Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 7 23:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:47:33.739Z] + 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=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 --label arch=arm64 --label version=0.0.0 . [2022-04-07T23:47:33.739Z] Sending build context to Docker daemon 137.7kB [2022-04-07T23:47:34.010Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T23:47:34.010Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-07T23:47:34.010Z] ---> 204d40dedc60 [2022-04-07T23:47:34.010Z] Step 3/25 : ARG MAKE='make build' [2022-04-07T23:47:34.010Z] ---> Running in 9ded15eb92c0 [2022-04-07T23:47:34.283Z] Removing intermediate container 9ded15eb92c0 [2022-04-07T23:47:34.283Z] ---> bf00a55bd41f [2022-04-07T23:47:34.283Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T23:47:34.556Z] ---> Running in 507df7f51d1a [2022-04-07T23:47:34.826Z] Removing intermediate container 507df7f51d1a [2022-04-07T23:47:34.826Z] ---> bcd5992bca1d [2022-04-07T23:47:34.826Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T23:47:34.826Z] ---> Running in 05de51e5d617 [2022-04-07T23:47:35.100Z] Removing intermediate container 05de51e5d617 [2022-04-07T23:47:35.100Z] ---> f735d6cd21fc [2022-04-07T23:47:35.100Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T23:47:35.100Z] ---> Running in 3465c01f5f1a [2022-04-07T23:47:37.085Z] Removing intermediate container 3465c01f5f1a [2022-04-07T23:47:37.085Z] ---> b3631c9cbe90 [2022-04-07T23:47:37.085Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T23:47:37.085Z] ---> Running in 094c8327d7ed [2022-04-07T23:47:37.683Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:47:38.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:47:39.249Z] OK: 224 MiB in 56 packages [2022-04-07T23:47:40.228Z] Removing intermediate container 094c8327d7ed [2022-04-07T23:47:40.228Z] ---> 7e26c614cabe [2022-04-07T23:47:40.228Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-07T23:47:40.228Z] ---> Running in 72fad927d4f3 [2022-04-07T23:47:40.498Z] Removing intermediate container 72fad927d4f3 [2022-04-07T23:47:40.498Z] ---> b4bb4fa9cac5 [2022-04-07T23:47:40.498Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-07T23:47:40.770Z] ---> e51e962fe367 [2022-04-07T23:47:40.770Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T23:47:41.043Z] ---> Running in 0c610025b8e2 [2022-04-07T23:47:42.515Z] Removing intermediate container 0c610025b8e2 [2022-04-07T23:47:42.516Z] ---> a977b37554e7 [2022-04-07T23:47:42.516Z] Step 11/25 : COPY . . [2022-04-07T23:47:43.110Z] ---> b6eee6965a52 [2022-04-07T23:47:43.110Z] Step 12/25 : RUN $MAKE [2022-04-07T23:47:43.110Z] ---> Running in cf2855ffeda9 [2022-04-07T23:47:44.089Z] 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-04-07T23:49:35.925Z] Removing intermediate container cf2855ffeda9 [2022-04-07T23:49:35.925Z] ---> 2688abe671f6 [2022-04-07T23:49:35.925Z] Step 13/25 : FROM alpine:3.14 [2022-04-07T23:49:35.925Z] 3.14: Pulling from library/alpine [2022-04-07T23:49:35.925Z] 455c02918c45: Pulling fs layer [2022-04-07T23:49:36.199Z] 455c02918c45: Verifying Checksum [2022-04-07T23:49:36.801Z] 455c02918c45: Pull complete [2022-04-07T23:49:36.801Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T23:49:36.801Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T23:49:36.801Z] ---> ac73e934f311 [2022-04-07T23:49:36.801Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-07T23:49:37.086Z] ---> Running in 8c9ef4c1f768 [2022-04-07T23:49:37.362Z] Removing intermediate container 8c9ef4c1f768 [2022-04-07T23:49:37.362Z] ---> 90a04f1a4e2d [2022-04-07T23:49:37.362Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-07T23:49:37.362Z] ---> Running in 7719b8cb24d6 [2022-04-07T23:49:37.639Z] Removing intermediate container 7719b8cb24d6 [2022-04-07T23:49:37.639Z] ---> 309214ec84a6 [2022-04-07T23:49:37.639Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T23:49:37.923Z] ---> Running in b99f57f724a1 [2022-04-07T23:49:38.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-07T23:49:38.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-07T23:49:39.901Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T23:49:39.901Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T23:49:39.901Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T23:49:39.901Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T23:49:39.901Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T23:49:39.901Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T23:49:39.901Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T23:49:39.901Z] OK: 8 MiB in 20 packages [2022-04-07T23:49:40.891Z] Removing intermediate container b99f57f724a1 [2022-04-07T23:49:40.891Z] ---> 617d54eada60 [2022-04-07T23:49:40.891Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-07T23:49:42.339Z] ---> 42de5746f96d [2022-04-07T23:49:42.339Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-07T23:49:42.936Z] ---> 3889a9ab257b [2022-04-07T23:49:42.936Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-07T23:49:43.540Z] ---> 9c1470a8426e [2022-04-07T23:49:43.540Z] Step 20/25 : EXPOSE 59986 [2022-04-07T23:49:43.827Z] ---> Running in 4a9ca7d00007 [2022-04-07T23:49:44.106Z] Removing intermediate container 4a9ca7d00007 [2022-04-07T23:49:44.106Z] ---> bd5e607a79b8 [2022-04-07T23:49:44.106Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-07T23:49:44.106Z] ---> Running in cfafe4b8e3e7 [2022-04-07T23:49:44.383Z] Removing intermediate container cfafe4b8e3e7 [2022-04-07T23:49:44.383Z] ---> 7982f984e02a [2022-04-07T23:49:44.383Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-07T23:49:44.383Z] ---> Running in 225b58c7ab5c [2022-04-07T23:49:44.993Z] Removing intermediate container 225b58c7ab5c [2022-04-07T23:49:44.993Z] ---> ff04eae25660 [2022-04-07T23:49:44.993Z] Step 23/25 : LABEL arch=arm64 [2022-04-07T23:49:44.993Z] ---> Running in d0c8cd678874 [2022-04-07T23:49:45.269Z] Removing intermediate container d0c8cd678874 [2022-04-07T23:49:45.269Z] ---> 24ab9ab09b8b [2022-04-07T23:49:45.269Z] Step 24/25 : LABEL git_sha=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [2022-04-07T23:49:45.269Z] ---> Running in 71fcb724adc8 [2022-04-07T23:49:45.883Z] Removing intermediate container 71fcb724adc8 [2022-04-07T23:49:45.883Z] ---> 6d3c397a95c8 [2022-04-07T23:49:45.883Z] Step 25/25 : LABEL version=0.0.0 [2022-04-07T23:49:45.883Z] ---> Running in 04f6afb63ce7 [2022-04-07T23:49:46.158Z] Removing intermediate container 04f6afb63ce7 [2022-04-07T23:49:46.158Z] ---> 109f45101da3 [2022-04-07T23:49:46.158Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T23:49:46.158Z] Successfully built 109f45101da3 [2022-04-07T23:49:46.158Z] Successfully tagged device-rest-arm64:latest [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] sh [2022-04-07T23:49:46.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:49:46.880Z] [2022-04-07T23:49:46.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:49:47.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:49:47.553Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-07T23:49:47.553Z] 8998bd30e6a1: Pulling fs layer [2022-04-07T23:49:47.553Z] 04944245beec: Pulling fs layer [2022-04-07T23:49:47.553Z] 699f458cf7ca: Pulling fs layer [2022-04-07T23:49:47.553Z] 765212b225bb: Pulling fs layer [2022-04-07T23:49:47.553Z] f23df028b6ca: Pulling fs layer [2022-04-07T23:49:47.553Z] d65c8cfc05b1: Pulling fs layer [2022-04-07T23:49:47.553Z] 2437ff75d9bd: Pulling fs layer [2022-04-07T23:49:47.553Z] 765212b225bb: Waiting [2022-04-07T23:49:47.553Z] f23df028b6ca: Waiting [2022-04-07T23:49:47.553Z] d65c8cfc05b1: Waiting [2022-04-07T23:49:47.553Z] 2437ff75d9bd: Waiting [2022-04-07T23:49:47.553Z] 04944245beec: Verifying Checksum [2022-04-07T23:49:47.553Z] 04944245beec: Download complete [2022-04-07T23:49:47.553Z] 765212b225bb: Download complete [2022-04-07T23:49:47.553Z] f23df028b6ca: Download complete [2022-04-07T23:49:47.832Z] d65c8cfc05b1: Verifying Checksum [2022-04-07T23:49:47.832Z] d65c8cfc05b1: Download complete [2022-04-07T23:49:47.832Z] 699f458cf7ca: Verifying Checksum [2022-04-07T23:49:47.832Z] 699f458cf7ca: Download complete [2022-04-07T23:49:48.110Z] 8998bd30e6a1: Verifying Checksum [2022-04-07T23:49:48.110Z] 8998bd30e6a1: Download complete [2022-04-07T23:49:50.751Z] 2437ff75d9bd: Verifying Checksum [2022-04-07T23:49:50.751Z] 2437ff75d9bd: Download complete [2022-04-07T23:49:52.191Z] 8998bd30e6a1: Pull complete [2022-04-07T23:49:52.796Z] 04944245beec: Pull complete [2022-04-07T23:49:54.242Z] 699f458cf7ca: Pull complete [2022-04-07T23:49:54.518Z] 765212b225bb: Pull complete [2022-04-07T23:49:55.506Z] f23df028b6ca: Pull complete [2022-04-07T23:49:55.782Z] d65c8cfc05b1: Pull complete [2022-04-07T23:50:10.900Z] 2437ff75d9bd: Pull complete [2022-04-07T23:50:10.900Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-07T23:50:10.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T23:50:10.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-07T23:50:11.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-11522 does not seem to be running inside a container [2022-04-07T23:50:11.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-07T23:50:13.942Z] $ docker top 218f3f85316e86d53268bb526ab1192033ea5f667580a7b04424d89623f4cc9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:14.952Z] ---> job-cost.sh [2022-04-07T23:50:14.952Z] lf-activate-venv: SKIPPING [2022-04-07T23:50:14.952Z] INFO: No Stack... [2022-04-07T23:50:15.549Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-07T23:50:16.144Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T23:50:16.827Z] + cut -d, -f6 [2022-04-07T23:50:16.827Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-04-07T23:50:16.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [2022-04-07T23:50:16.921Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] did not exist. Created. [2022-04-07T23:50:16.921Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T23:50:17.683Z] /w/workspace/device-rest-go/1@tmp/durable-277b0146/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-07T23:50:18.383Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-07T23:50:18.419Z] Warning: overwriting stash ‘stack-cost’ [2022-04-07T23:50:18.463Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T23:50:18.478Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-171-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T23:50:18.565Z] $ docker stop --time=1 218f3f85316e86d53268bb526ab1192033ea5f667580a7b04424d89623f4cc9f [2022-04-07T23:50:20.075Z] $ docker rm -f 218f3f85316e86d53268bb526ab1192033ea5f667580a7b04424d89623f4cc9f [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-04-07T23:50:21.089Z] provisioning config files... [2022-04-07T23:50:21.107Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/config173798712921765469tmp [Pipeline] { [Pipeline] sh [2022-04-07T23:50:21.457Z] + set +x [2022-04-07T23:50:21.457Z] + curl -s https://codecov.io/bash [2022-04-07T23:50:21.457Z] + bash -s -- [2022-04-07T23:50:21.457Z] [2022-04-07T23:50:21.457Z] _____ _ [2022-04-07T23:50:21.457Z] / ____| | | [2022-04-07T23:50:21.457Z] | | ___ __| | ___ ___ _____ __ [2022-04-07T23:50:21.457Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-07T23:50:21.457Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-07T23:50:21.457Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-07T23:50:21.457Z] Bash-1.0.6 [2022-04-07T23:50:21.457Z] [2022-04-07T23:50:21.457Z] [2022-04-07T23:50:21.457Z] ==> git version 2.25.1 found [2022-04-07T23:50:21.457Z] ==> 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-04-07T23:50:21.457Z] Release-Date: 2020-01-08 [2022-04-07T23:50:21.457Z] 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-04-07T23:50:21.457Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-07T23:50:21.457Z] ==> Jenkins CI detected. [2022-04-07T23:50:21.457Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-171 [2022-04-07T23:50:21.457Z] project root: . [2022-04-07T23:50:21.457Z] --> token set from env [2022-04-07T23:50:21.457Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-07T23:50:21.457Z] ==> Running gcov in . (disable via -X gcov) [2022-04-07T23:50:21.457Z] ==> Python coveragepy not found [2022-04-07T23:50:21.457Z] ==> Searching for coverage reports in: [2022-04-07T23:50:21.457Z] + . [2022-04-07T23:50:21.457Z] -> Found 1 reports [2022-04-07T23:50:21.457Z] ==> Detecting git/mercurial file structure [2022-04-07T23:50:21.457Z] ==> Reading reports [2022-04-07T23:50:21.457Z] + ./coverage.out bytes=9355 [2022-04-07T23:50:21.457Z] ==> Appending adjustments [2022-04-07T23:50:21.457Z] https://docs.codecov.io/docs/fixing-reports [2022-04-07T23:50:21.719Z] + Found adjustments [2022-04-07T23:50:21.719Z] ==> Gzipping contents [2022-04-07T23:50:21.719Z] 4.0K /tmp/codecov.Q1uVMW.gz [2022-04-07T23:50:21.719Z] ==> Uploading reports [2022-04-07T23:50:21.719Z] url: https://codecov.io [2022-04-07T23:50:21.719Z] query: branch=PR-171&commit=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-04-07T23:50:21.719Z] -> Pinging Codecov [2022-04-07T23:50:21.719Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-171&commit=cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-04-07T23:50:21.981Z] -> Uploading to [2022-04-07T23:50:21.981Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-07/4E5D53B4F1F92C436F7061BF334D961C/cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64/e285f23e-743a-4870-80c5-caeda6c853c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T235021Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5039606bfd85d18692af58a4a08ec2baee90956938ad2792fb99ce37fb6590a7 [2022-04-07T23:50:21.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T23:50:21.981Z] Dload Upload Total Spent Left Speed [2022-04-07T23:50:22.241Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 8333 --:--:-- --:--:-- --:--:-- 8333 [2022-04-07T23:50:22.241Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cc8c89e28386d6d850e32f2caf8d80f9ca2c0a64 [Pipeline] } [2022-04-07T23:50:22.271Z] 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-04-07T23:50:23.966Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-171/archives ] [2022-04-07T23:50:23.966Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-171/archives [2022-04-07T23:50:23.966Z] total 16 [2022-04-07T23:50:23.966Z] drwxr-xr-x 3 root root 4096 Apr 7 23:43 . [2022-04-07T23:50:23.966Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 23:43 .. [2022-04-07T23:50:23.966Z] drwxr-xr-x 2 root root 4096 Apr 7 23:43 cost [2022-04-07T23:50:23.966Z] -rw-r--r-- 1 root root 85 Apr 7 23:43 cost.csv [2022-04-07T23:50:23.966Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-171/archives [2022-04-07T23:50:23.966Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-171/archives [2022-04-07T23:50:23.966Z] total 16 [2022-04-07T23:50:23.966Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 23:43 . [2022-04-07T23:50:23.966Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 23:43 .. [2022-04-07T23:50:23.966Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 23:43 cost [2022-04-07T23:50:23.966Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 7 23:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:24.300Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:25.205Z] ---> package-listing.sh [2022-04-07T23:50:25.205Z] ++ facter osfamily [2022-04-07T23:50:25.205Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-07T23:50:25.466Z] + OS_FAMILY=debian [2022-04-07T23:50:25.466Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-171 [2022-04-07T23:50:25.466Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-07T23:50:25.466Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-07T23:50:25.466Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-07T23:50:25.466Z] + PACKAGES=/tmp/packages_start.txt [2022-04-07T23:50:25.466Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-171 ']' [2022-04-07T23:50:25.466Z] + PACKAGES=/tmp/packages_end.txt [2022-04-07T23:50:25.466Z] + case "${OS_FAMILY}" in [2022-04-07T23:50:25.466Z] + dpkg -l [2022-04-07T23:50:25.466Z] + grep '^ii' [2022-04-07T23:50:25.466Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-07T23:50:25.466Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-07T23:50:25.466Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-07T23:50:25.466Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-171 ']' [2022-04-07T23:50:25.466Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-171/archives/ [2022-04-07T23:50:25.466Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-171/archives/ [Pipeline] echo [2022-04-07T23:50:25.501Z] 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-07T23:50:25.798Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-07T23:50:26.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T23:50:26.389Z] . [Pipeline] withDockerContainer [2022-04-07T23:50:26.475Z] prd-ubuntu20.04-docker-8c-8g-11521 does not seem to be running inside a container [2022-04-07T23:50:26.511Z] $ 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-171/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-171 -v /w/workspace/gexfoundry_device-rest-go_PR-171:/w/workspace/gexfoundry_device-rest-go_PR-171:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-171@tmp:/w/workspace/gexfoundry_device-rest-go_PR-171@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:latest cat [2022-04-07T23:50:26.744Z] $ docker top 955fe4b49f9dd16c398c67692ce1888ccfeb00c10c90f94c723c2ecbdd77022b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T23:50:27.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-07T23:50:27.458Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-07T23:50:27.765Z] + ls /var/log/sa-host [2022-04-07T23:50:27.765Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T23:50:27.947Z] provisioning config files... [2022-04-07T23:50:27.959Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-171@tmp/config6641965295330139870tmp [Pipeline] { [Pipeline] echo [2022-04-07T23:50:28.009Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:28.328Z] ---> create-netrc.sh [Pipeline] } [2022-04-07T23:50:28.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:28.757Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-07T23:50:28.819Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:29.148Z] ---> sudo-logs.sh [2022-04-07T23:50:29.148Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-07T23:50:29.229Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:29.545Z] ---> job-cost.sh [2022-04-07T23:50:29.546Z] lf-activate-venv: SKIPPING [2022-04-07T23:50:29.546Z] DEBUG: total: 0.2199999988079071 [2022-04-07T23:50:29.546Z] INFO: Retrieving Stack Cost... [2022-04-07T23:50:30.116Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T23:50:30.376Z] INFO: Archiving Costs [Pipeline] echo [2022-04-07T23:50:30.415Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T23:50:30.732Z] ---> logs-deploy.sh [2022-04-07T23:50:30.732Z] lf-activate-venv: SKIPPING [2022-04-07T23:50:30.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-171/1 [2022-04-07T23:50:30.732Z] INFO: archiving workspace using pattern(s): [2022-04-07T23:50:31.681Z] Archives upload complete. [2022-04-07T23:50:31.681Z] INFO: archiving logs to Nexus