Pull request #338 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 78b6e31be9fd2355b1639cdd4a37f8706f708476+6634545f8e6cef8aebee68454b169adec7871c71 (d98e13feb2f24fc1ebea6ef5750ae37235db0cd1) 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-ssh1941247826017097557.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3503239599281192361.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh770175322917713778.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-338/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3789956254313181996.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16630000725349956699.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-338/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13003200222600902778.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5644 in /w/workspace/gexfoundry_device-rest-go_PR-338 [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-338 # 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 > 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/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6634545f8e6cef8aebee68454b169adec7871c71 into PR head commit 78b6e31be9fd2355b1639cdd4a37f8706f708476 Merge succeeded, producing 78b6e31be9fd2355b1639cdd4a37f8706f708476 Checking out Revision 78b6e31be9fd2355b1639cdd4a37f8706f708476 (PR-338) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 78b6e31be9fd2355b1639cdd4a37f8706f708476 # 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 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78b6e31be9fd2355b1639cdd4a37f8706f708476 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:09 ========================================================= 20:04:09 EdgeX Global Pipelines Version Info 20:04:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:10 ------------------- 20:04:10 stable info: 20:04:10 ------------------- 20:04:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:10 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:04:10 Message: update stable to v1.0.253 20:04:10 ------------------- 20:04:10 experimental info: 20:04:10 ------------------- 20:04:10 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:10 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:04:10 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-338 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-338 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-338 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78b6e31be9fd2355b1639cdd4a37f8706f708476 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78b6e31 [Pipeline] echo 20:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:12 provisioning config files... 20:04:12 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/config12454403999575612143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:12 ---> docker-login.sh 20:04:12 nexus3.edgexfoundry.org:10001 20:04:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10002 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10003 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 nexus3.edgexfoundry.org:10004 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 docker.io 20:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:13 Configure a credential helper to remove this warning. See 20:04:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:13 20:04:13 Login Succeeded 20:04:13 ---> docker-login.sh ends [Pipeline] } 20:04:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:14 + git rev-list -1 --merges 78b6e31be9fd2355b1639cdd4a37f8706f708476~1..78b6e31be9fd2355b1639cdd4a37f8706f708476 [Pipeline] echo 20:04:14 -----------> git rev-list -1 --merges 78b6e31be9fd2355b1639cdd4a37f8706f708476~1..78b6e31be9fd2355b1639cdd4a37f8706f708476 78b6e31be9fd2355b1639cdd4a37f8706f708476 [false] [Pipeline] sh 20:04:14 + git log --format=format:%s -1 78b6e31be9fd2355b1639cdd4a37f8706f708476 [Pipeline] echo 20:04:14 ========================================================= 20:04:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:15 + git log --format=format:%s -1 78b6e31be9fd2355b1639cdd4a37f8706f708476 [Pipeline] echo 20:04:15 [semverPrep] GIT_COMMIT: 78b6e31be9fd2355b1639cdd4a37f8706f708476, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:04:15 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:15 + grep -v github /etc/ssh/ssh_known_hosts 20:04:15 + [ -e /tmp/ssh_known_hosts ] 20:04:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:15 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:16 20:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:16 0.1.4: Pulling from edgex-devops/py-git-semver 20:04:16 b85a868b505f: Pulling fs layer 20:04:16 e2be974225ed: Pulling fs layer 20:04:16 339a4e72a1f5: Pulling fs layer 20:04:16 988bab9f4d93: Pulling fs layer 20:04:16 1469e6f7b9e6: Pulling fs layer 20:04:16 eaf3925da568: Pulling fs layer 20:04:16 bab4dde63d76: Pulling fs layer 20:04:16 bde34c3a00c8: Pulling fs layer 20:04:16 b352a97aabf1: Pulling fs layer 20:04:16 4872d77fe225: Pulling fs layer 20:04:16 5851b861e8e6: Pulling fs layer 20:04:16 bde34c3a00c8: Waiting 20:04:16 988bab9f4d93: Waiting 20:04:16 5851b861e8e6: Waiting 20:04:16 bab4dde63d76: Waiting 20:04:16 b352a97aabf1: Waiting 20:04:16 1469e6f7b9e6: Waiting 20:04:16 eaf3925da568: Waiting 20:04:16 4872d77fe225: Waiting 20:04:16 e2be974225ed: Verifying Checksum 20:04:16 e2be974225ed: Download complete 20:04:16 1469e6f7b9e6: Verifying Checksum 20:04:16 1469e6f7b9e6: Download complete 20:04:16 eaf3925da568: Download complete 20:04:16 339a4e72a1f5: Verifying Checksum 20:04:16 339a4e72a1f5: Download complete 20:04:16 bde34c3a00c8: Verifying Checksum 20:04:16 bde34c3a00c8: Download complete 20:04:16 b352a97aabf1: Download complete 20:04:16 4872d77fe225: Download complete 20:04:16 5851b861e8e6: Download complete 20:04:16 b85a868b505f: Verifying Checksum 20:04:16 b85a868b505f: Download complete 20:04:17 bab4dde63d76: Verifying Checksum 20:04:17 bab4dde63d76: Download complete 20:04:17 b85a868b505f: Pull complete 20:04:18 e2be974225ed: Pull complete 20:04:18 339a4e72a1f5: Pull complete 20:04:18 988bab9f4d93: Pull complete 20:04:19 1469e6f7b9e6: Pull complete 20:04:19 eaf3925da568: Pull complete 20:04:20 bab4dde63d76: Pull complete 20:04:20 bde34c3a00c8: Pull complete 20:04:21 b352a97aabf1: Pull complete 20:04:21 4872d77fe225: Pull complete 20:04:21 5851b861e8e6: Pull complete 20:04:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:04:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:04:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:21 prd-ubuntu20.04-docker-8c-8g-5644 does not seem to be running inside a container 20:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-338 -v /w/workspace/gexfoundry_device-rest-go_PR-338:/w/workspace/gexfoundry_device-rest-go_PR-338:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-338@tmp:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:04:24 $ docker top 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 -eo pid,comm 20:04:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:04:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:24 [ssh-agent] Looking for ssh-agent implementation... 20:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:25 $ docker exec 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 ssh-agent 20:04:25 SSH_AUTH_SOCK=/tmp/ssh-nuac6QFaQwIo/agent.31 20:04:25 SSH_AGENT_PID=37 20:04:25 Running ssh-add (command line suppressed) 20:04:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-338@tmp/private_key_18194564492469163127.key (/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/private_key_18194564492469163127.key) 20:04:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:25 + git tag --points-at HEAD [Pipeline] } 20:04:25 $ docker exec --env ******** --env ******** 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 ssh-agent -k 20:04:25 unset SSH_AUTH_SOCK; 20:04:25 unset SSH_AGENT_PID; 20:04:25 echo Agent pid 37 killed; 20:04:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:25 [ssh-agent] Looking for ssh-agent implementation... 20:04:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:25 $ docker exec 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 ssh-agent 20:04:26 SSH_AUTH_SOCK=/tmp/ssh-EeVSF7dQH2w7/agent.69 20:04:26 SSH_AGENT_PID=75 20:04:26 Running ssh-add (command line suppressed) 20:04:26 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-338@tmp/private_key_9192083711608979666.key (/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/private_key_9192083711608979666.key) 20:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:26 + git semver init 20:04:26 2023-09-08 20:04:26,761 [run_init] DEBUG init version:0.0.0 force:False 20:04:26 2023-09-08 20:04:26,762 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-338/.semver 20:04:26 2023-09-08 20:04:26,763 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-338/.semver 20:04:26 2023-09-08 20:04:26,763 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-338/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-338, universal_newlines=False, shell=None, istream=None) 20:04:28 2023-09-08 20:04:27,936 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-338/.git/info/exclude 20:04:28 2023-09-08 20:04:27,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-338/.semver/PR-338 with force:False 20:04:28 2023-09-08 20:04:27,937 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-338/.semver/PR-338 20:04:28 2023-09-08 20:04:27,942 [execute] INFO git cat-file --batch-check 20:04:28 2023-09-08 20:04:27,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) 20:04:28 2023-09-08 20:04:27,948 [execute] INFO git cat-file --batch 20:04:28 2023-09-08 20:04:27,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-338/.semver, universal_newlines=False, shell=None, istream=) 20:04:28 2023-09-08 20:04:27,955 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-338/.semver/PR-338 20:04:28 0.0.0 [Pipeline] } 20:04:28 $ docker exec --env ******** --env ******** 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 ssh-agent -k 20:04:28 unset SSH_AUTH_SOCK; 20:04:28 unset SSH_AGENT_PID; 20:04:28 echo Agent pid 75 killed; 20:04:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:28 + git semver [Pipeline] } 20:04:29 $ docker stop --time=1 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 20:04:30 $ docker rm -f --volumes 579a958e33d5817bb96a4811360c087cf7d35546f1adc89ba5bb8832405b9154 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:30 Stashed 1 file(s) [Pipeline] echo 20:04:31 [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 20:04:31 provisioning config files... 20:04:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/config12788770064690013590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:31 ---> docker-login.sh 20:04:31 nexus3.edgexfoundry.org:10001 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 nexus3.edgexfoundry.org:10002 20:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:31 Configure a credential helper to remove this warning. See 20:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:31 20:04:31 Login Succeeded 20:04:31 nexus3.edgexfoundry.org:10003 20:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:32 Configure a credential helper to remove this warning. See 20:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:32 20:04:32 Login Succeeded 20:04:32 nexus3.edgexfoundry.org:10004 20:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:32 Configure a credential helper to remove this warning. See 20:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:32 20:04:32 Login Succeeded 20:04:32 docker.io 20:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:32 Configure a credential helper to remove this warning. See 20:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:32 20:04:32 Login Succeeded 20:04:32 ---> docker-login.sh ends [Pipeline] } 20:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:32 ========================================================= 20:04:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:04:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:04:33 Sending build context to Docker daemon 10.93MB 20:04:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:04:33 Step 2/12 : FROM ${BASE} AS builder 20:04:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:33 4db1b89c0bd1: Pulling fs layer 20:04:33 6911f1a30b25: Pulling fs layer 20:04:33 e194b8c5c2a9: Pulling fs layer 20:04:33 6863d3e3a2b1: Pulling fs layer 20:04:33 ec0bb842ea78: Pulling fs layer 20:04:33 40a00589a448: Pulling fs layer 20:04:33 6c08303d61cc: Pulling fs layer 20:04:33 798269fcf238: Pulling fs layer 20:04:33 ec0bb842ea78: Waiting 20:04:33 40a00589a448: Waiting 20:04:33 6863d3e3a2b1: Waiting 20:04:33 6c08303d61cc: Waiting 20:04:33 798269fcf238: Waiting 20:04:33 6911f1a30b25: Download complete 20:04:33 6863d3e3a2b1: Download complete 20:04:33 ec0bb842ea78: Verifying Checksum 20:04:33 ec0bb842ea78: Download complete 20:04:33 4db1b89c0bd1: Verifying Checksum 20:04:33 4db1b89c0bd1: Download complete 20:04:33 40a00589a448: Verifying Checksum 20:04:33 40a00589a448: Download complete 20:04:33 4db1b89c0bd1: Pull complete 20:04:33 6911f1a30b25: Pull complete 20:04:34 798269fcf238: Verifying Checksum 20:04:34 798269fcf238: Download complete 20:04:34 e194b8c5c2a9: Verifying Checksum 20:04:34 e194b8c5c2a9: Download complete 20:04:34 6c08303d61cc: Verifying Checksum 20:04:34 6c08303d61cc: Download complete 20:04:38 e194b8c5c2a9: Pull complete 20:04:38 6863d3e3a2b1: Pull complete 20:04:38 ec0bb842ea78: Pull complete 20:04:38 40a00589a448: Pull complete 20:04:40 6c08303d61cc: Pull complete 20:04:41 798269fcf238: Pull complete 20:04:41 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:04:41 ---> ec979cd7f677 20:04:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:04:46 Still waiting to schedule task 20:04:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:47 ---> Running in 635d7a498a30 20:04:47 Removing intermediate container 635d7a498a30 20:04:47 ---> b4e57652dcdc 20:04:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:47 ---> Running in 161ab655f024 20:04:47 Removing intermediate container 161ab655f024 20:04:47 ---> 1682e21497e0 20:04:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:04:47 ---> Running in e205cf14a8a6 20:04:47 Removing intermediate container e205cf14a8a6 20:04:47 ---> f788b223cb1f 20:04:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:04:47 ---> Running in c1b9d44377d0 20:04:47 Removing intermediate container c1b9d44377d0 20:04:47 ---> ab63d1ef857a 20:04:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:47 ---> Running in 57d4a1e1ef9e 20:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:04:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:04:48 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:04:48 (2/4) Installing libedit (20221030.3.1-r0) 20:04:48 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:04:48 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:04:48 Executing busybox-1.35.0-r29.trigger 20:04:48 OK: 269 MiB in 57 packages 20:04:49 Removing intermediate container 57d4a1e1ef9e 20:04:49 ---> 54cc4df608a9 20:04:49 Step 8/12 : WORKDIR /device-rest-go 20:04:49 ---> Running in 4381fae1d5fb 20:04:49 Removing intermediate container 4381fae1d5fb 20:04:49 ---> 4fb880e1c863 20:04:49 Step 9/12 : COPY go.mod vendor* ./ 20:04:49 ---> 61907c8417bf 20:04:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:49 ---> Running in bebcabaff730 20:05:28 Removing intermediate container bebcabaff730 20:05:28 ---> f04a92744912 20:05:28 Step 11/12 : COPY . . 20:05:28 ---> d7c9181ca6bc 20:05:28 Step 12/12 : RUN $MAKE 20:05:28 ---> Running in b10e7f7cc2a9 20:05:28 noop 20:05:28 Removing intermediate container b10e7f7cc2a9 20:05:28 ---> eb80ba64c245 20:05:28 Successfully built eb80ba64c245 20:05:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:28 + docker inspect -f . ci-base-image-x86_64 20:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:28 prd-ubuntu20.04-docker-8c-8g-5644 does not seem to be running inside a container 20:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-338 -v /w/workspace/gexfoundry_device-rest-go_PR-338:/w/workspace/gexfoundry_device-rest-go_PR-338:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-338@tmp:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:29 $ docker top dc4c3cfa740624134af71fddb552d698106fd1147bfa6eda9e62a0cb1e740f28 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:29 + go version 20:05:29 go version go1.20.6 linux/amd64 [Pipeline] } 20:05:29 $ docker stop --time=1 dc4c3cfa740624134af71fddb552d698106fd1147bfa6eda9e62a0cb1e740f28 20:05:30 $ docker rm -f --volumes dc4c3cfa740624134af71fddb552d698106fd1147bfa6eda9e62a0cb1e740f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:31 + docker inspect -f . ci-base-image-x86_64 20:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:31 prd-ubuntu20.04-docker-8c-8g-5644 does not seem to be running inside a container 20:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-338 -v /w/workspace/gexfoundry_device-rest-go_PR-338:/w/workspace/gexfoundry_device-rest-go_PR-338:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-338@tmp:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:32 $ docker top eaa463a93bdda46806b99826ee72c09dffa5eda0ec91804f389c996b7fe9a454 -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-338 [Pipeline] fileExists [Pipeline] sh 20:05:32 + make test 20:05:32 go test ./... -coverprofile=coverage.out ./... 20:05:38 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:50 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 33.2% of statements 20:05:57 go vet ./... 20:06:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:01 $ docker stop --time=1 eaa463a93bdda46806b99826ee72c09dffa5eda0ec91804f389c996b7fe9a454 20:06:05 $ docker rm -f --volumes eaa463a93bdda46806b99826ee72c09dffa5eda0ec91804f389c996b7fe9a454 [Pipeline] // withDockerContainer [Pipeline] sh 20:06:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:07 + ls -al . 20:06:07 total 188 20:06:07 drwxrwxr-x 9 jenkins jenkins 4096 Sep 8 20:05 . 20:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 20:04 .. 20:06:07 -rw-rw-r-- 1 jenkins jenkins 151 Sep 8 20:04 .dockerignore 20:06:07 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 20:04 .git 20:06:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 20:04 .github 20:06:07 -rw-rw-r-- 1 jenkins jenkins 329 Sep 8 20:04 .gitignore 20:06:07 -rw-rw-r-- 1 jenkins jenkins 41 Sep 8 20:04 .golangci.yml 20:06:07 drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 20:04 .semver 20:06:07 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 8 20:04 Attribution.txt 20:06:07 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 8 20:04 CHANGELOG.md 20:06:07 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 8 20:04 Dockerfile 20:06:07 -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 20:04 GOVERNANCE.md 20:06:07 -rw-rw-r-- 1 jenkins jenkins 680 Sep 8 20:04 Jenkinsfile 20:06:07 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 8 20:04 LICENSE 20:06:07 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 8 20:04 Makefile 20:06:07 -rw-rw-r-- 1 jenkins jenkins 620 Sep 8 20:04 OWNERS.md 20:06:07 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 8 20:04 README.md 20:06:07 -rw-rw-r-- 1 jenkins jenkins 5 Sep 8 20:04 VERSION 20:06:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 20:04 bin 20:06:07 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 20:04 cmd 20:06:07 -rw-r--r-- 1 jenkins jenkins 14499 Sep 8 20:05 coverage.out 20:06:07 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 20:04 driver 20:06:07 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 8 20:04 go.mod 20:06:07 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 8 20:04 go.sum 20:06:07 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 20:04 snap 20:06:07 -rw-rw-r-- 1 jenkins jenkins 713 Sep 8 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:07 + 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=78b6e31be9fd2355b1639cdd4a37f8706f708476 --label arch=amd64 --label version=0.0.0 . 20:06:07 Sending build context to Docker daemon 10.95MB 20:06:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:06:07 Step 2/25 : FROM ${BASE} AS builder 20:06:07 ---> eb80ba64c245 20:06:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:06:07 ---> Running in 7a561b403b6d 20:06:07 Removing intermediate container 7a561b403b6d 20:06:07 ---> 15c756f0a272 20:06:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:07 ---> Running in 0f9b14138d13 20:06:07 Removing intermediate container 0f9b14138d13 20:06:07 ---> f1e1a19d8751 20:06:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:06:07 ---> Running in 6e6ee41583f6 20:06:07 Removing intermediate container 6e6ee41583f6 20:06:07 ---> ecd223f2c060 20:06:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:06:07 ---> Running in cc0a5c47afa1 20:06:07 Removing intermediate container cc0a5c47afa1 20:06:07 ---> ff96b6e12bca 20:06:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:07 ---> Running in 03348bf5b087 20:06:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:06:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:06:08 OK: 269 MiB in 57 packages 20:06:08 Removing intermediate container 03348bf5b087 20:06:08 ---> 3d12a63a8401 20:06:08 Step 8/25 : WORKDIR /device-rest-go 20:06:09 ---> Running in 728dac2fc927 20:06:09 Removing intermediate container 728dac2fc927 20:06:09 ---> 6e50f628a759 20:06:09 Step 9/25 : COPY go.mod vendor* ./ 20:06:09 ---> 873780026ec7 20:06:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:09 ---> Running in 249ed2d98b5a 20:06:10 Removing intermediate container 249ed2d98b5a 20:06:10 ---> bae08498932c 20:06:10 Step 11/25 : COPY . . 20:06:10 ---> 741d6a637acc 20:06:10 Step 12/25 : RUN $MAKE 20:06:10 ---> Running in b9daa259f33a 20:06:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:06:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5645 in /w/workspace/gexfoundry_device-rest-go_PR-338 [Pipeline] { [Pipeline] ws 20:06:15 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:15 The recommended git tool is: git 20:06:19 using credential edgex-jenkins-ssh 20:06:19 Cloning the remote Git repository 20:06:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:20 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:20 > git --version # timeout=10 20:06:20 > git --version # 'git version 2.25.1' 20:06:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:23 Merging remotes/origin/main commit 6634545f8e6cef8aebee68454b169adec7871c71 into PR head commit 78b6e31be9fd2355b1639cdd4a37f8706f708476 20:06:23 Merge succeeded, producing 78b6e31be9fd2355b1639cdd4a37f8706f708476 20:06:23 Checking out Revision 78b6e31be9fd2355b1639cdd4a37f8706f708476 (PR-338) 20:06:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/338/head:refs/remotes/origin/PR-338 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:23 > git config core.sparsecheckout # timeout=10 20:06:23 > git checkout -f 78b6e31be9fd2355b1639cdd4a37f8706f708476 # timeout=10 20:06:23 > git remote # timeout=10 20:06:23 > git config --get remote.origin.url # timeout=10 20:06:23 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:23 > git merge 6634545f8e6cef8aebee68454b169adec7871c71 # timeout=10 20:06:23 > git rev-parse HEAD^{commit} # timeout=10 20:06:23 > git config core.sparsecheckout # timeout=10 20:06:23 > git checkout -f 78b6e31be9fd2355b1639cdd4a37f8706f708476 # timeout=10 20:06:24 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:06:24 > git --version # timeout=10 20:06:24 > git --version # 'git version 2.25.1' 20:06:24 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:25 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:25 Dload Upload Total Spent Left Speed 20:06:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 20:06:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:26 + sudo tee /etc/docker/daemon.new 20:06:26 { 20:06:26 "registry-mirrors": [ 20:06:26 "https://nexus3.edgexfoundry.org:10001" 20:06:26 ], 20:06:26 "bip": "10.250.0.254/24", 20:06:26 "hosts": [ 20:06:26 "tcp://0.0.0.0:5555", 20:06:26 "unix:///var/run/docker.sock" 20:06:26 ], 20:06:26 "mtu": 1458, 20:06:26 "selinux-enabled": true, 20:06:26 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:26 } [Pipeline] sh 20:06:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:26 + sudo service docker restart 20:06:32 Removing intermediate container b9daa259f33a 20:06:32 ---> d4b4d46a498d 20:06:32 Step 13/25 : FROM alpine:3.17 20:06:32 3.17: Pulling from library/alpine 20:06:32 9398808236ff: Pulling fs layer 20:06:32 9398808236ff: Verifying Checksum 20:06:32 9398808236ff: Download complete 20:06:32 9398808236ff: Pull complete 20:06:32 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:06:32 Status: Downloaded newer image for alpine:3.17 20:06:32 ---> 1e0b8b5322fc 20:06:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:06:33 ---> Running in 58998a5a8613 20:06:33 Removing intermediate container 58998a5a8613 20:06:33 ---> 61e2bf625859 20:06:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:06:33 ---> Running in ab563922fb0e 20:06:33 Removing intermediate container ab563922fb0e 20:06:33 ---> 67d67cb25999 20:06:33 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:06:33 ---> Running in 461b7cb350b5 20:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:06:34 (1/1) Installing dumb-init (1.2.5-r2) 20:06:34 Executing busybox-1.35.0-r29.trigger 20:06:34 OK: 7 MiB in 16 packages 20:06:34 Removing intermediate container 461b7cb350b5 20:06:34 ---> 94cfd3949694 20:06:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:06:35 ---> 20892e296e17 20:06:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:06:35 ---> 7473af2a0e76 20:06:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:35 ---> 96db645e5bb7 20:06:35 Step 20/25 : EXPOSE 59986 20:06:35 ---> Running in 1f061529aff5 20:06:35 Removing intermediate container 1f061529aff5 20:06:35 ---> 3cb4d8eb1a30 20:06:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:06:35 ---> Running in 9ff73774160f 20:06:35 Removing intermediate container 9ff73774160f 20:06:35 ---> 8eebf6c4f2c9 20:06:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:06:35 ---> Running in 9deb1b0302ab 20:06:36 Removing intermediate container 9deb1b0302ab 20:06:36 ---> a00f41e2c5f4 20:06:36 Step 23/25 : LABEL arch=amd64 20:06:36 ---> Running in 7599614a7661 20:06:36 Removing intermediate container 7599614a7661 20:06:36 ---> 6ce49eede8da 20:06:36 Step 24/25 : LABEL git_sha=78b6e31be9fd2355b1639cdd4a37f8706f708476 20:06:36 ---> Running in be8896091bdb 20:06:36 Removing intermediate container be8896091bdb 20:06:36 ---> 866c6be736e0 20:06:36 Step 25/25 : LABEL version=0.0.0 20:06:36 ---> Running in d112efa8d7f6 20:06:36 Removing intermediate container d112efa8d7f6 20:06:36 ---> 9e1945129b1e 20:06:36 [Warning] One or more build-args [ARCH] were not consumed 20:06:36 Successfully built 9e1945129b1e 20:06:36 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:37 20:06:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:37 latest: Pulling from edgex-lftools-log-publisher 20:06:37 5eb5b503b376: Pulling fs layer 20:06:37 5c69ac0246d0: Pulling fs layer 20:06:37 ec43610c2a17: Pulling fs layer 20:06:37 3a2ae6a8a46f: Pulling fs layer 20:06:37 33b1e0a273af: Pulling fs layer 20:06:37 5d3b04190fa2: Pulling fs layer 20:06:37 2f39f015ded8: Pulling fs layer 20:06:37 3a2ae6a8a46f: Waiting 20:06:37 33b1e0a273af: Waiting 20:06:37 5d3b04190fa2: Waiting 20:06:37 2f39f015ded8: Waiting 20:06:37 5c69ac0246d0: Verifying Checksum 20:06:37 5c69ac0246d0: Download complete 20:06:37 3a2ae6a8a46f: Download complete 20:06:37 33b1e0a273af: Verifying Checksum 20:06:37 33b1e0a273af: Download complete 20:06:37 5d3b04190fa2: Verifying Checksum 20:06:37 5d3b04190fa2: Download complete 20:06:37 ec43610c2a17: Verifying Checksum 20:06:38 5eb5b503b376: Download complete 20:06:38 2f39f015ded8: Download complete 20:06:39 5eb5b503b376: Pull complete 20:06:39 5c69ac0246d0: Pull complete 20:06:39 ec43610c2a17: Pull complete 20:06:39 3a2ae6a8a46f: Pull complete 20:06:39 33b1e0a273af: Pull complete 20:06:39 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:45 provisioning config files... 20:06:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1649269944968023668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:45 2f39f015ded8: Pull complete 20:06:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:06:45 ---> docker-login.sh 20:06:45 nexus3.edgexfoundry.org:10001 [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:45 prd-ubuntu20.04-docker-8c-8g-5644 does not seem to be running inside a container 20:06:45 $ 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-338 -v /w/workspace/gexfoundry_device-rest-go_PR-338:/w/workspace/gexfoundry_device-rest-go_PR-338:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-338@tmp:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:46 Configure a credential helper to remove this warning. See 20:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:46 20:06:46 Login Succeeded 20:06:46 nexus3.edgexfoundry.org:10002 20:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:46 Configure a credential helper to remove this warning. See 20:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:46 20:06:46 Login Succeeded 20:06:46 nexus3.edgexfoundry.org:10003 20:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:46 Configure a credential helper to remove this warning. See 20:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:46 20:06:46 Login Succeeded 20:06:46 nexus3.edgexfoundry.org:10004 20:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:47 Configure a credential helper to remove this warning. See 20:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:47 20:06:47 Login Succeeded 20:06:47 docker.io 20:06:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:47 Configure a credential helper to remove this warning. See 20:06:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:47 20:06:47 Login Succeeded 20:06:47 ---> docker-login.sh ends 20:06:50 $ docker top 78cd05d91b84f33ee7489bca0b41f27578f9bb86b92ff9b749622f5ae9d36bed -eo pid,comm [Pipeline] { [Pipeline] } 20:06:50 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:06:50 ---> job-cost.sh 20:06:50 lf-activate-venv: SKIPPING 20:06:50 INFO: No Stack... [Pipeline] echo 20:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:06:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:51 ========================================================= 20:06:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:06:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:51 INFO: Archiving Costs [Pipeline] sh 20:06:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:06:51 Sending build context to Docker daemon 143.4kB 20:06:51 + cat /w/workspace/gexfoundry_device-rest-go_PR-338/archives/cost.csv 20:06:51 + cut -d, -f6 [Pipeline] lock 20:06:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] 20:06:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] did not exist. Created. 20:06:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:06:51 Step 2/12 : FROM ${BASE} AS builder 20:06:52 + echo total: 0.2199999988079071 20:06:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:06:52 edb6bdbacee9: Pulling fs layer 20:06:52 5f9638ab2659: Pulling fs layer 20:06:52 8d51d6327a98: Pulling fs layer 20:06:52 8b374f2dd631: Pulling fs layer 20:06:52 ec14aa9079de: Pulling fs layer 20:06:52 2f466654f4bb: Pulling fs layer 20:06:52 554e91adad29: Pulling fs layer 20:06:52 8b374f2dd631: Waiting 20:06:52 ec14aa9079de: Waiting 20:06:52 2f466654f4bb: Waiting 20:06:52 554e91adad29: Waiting 20:06:52 5f9638ab2659: Verifying Checksum 20:06:52 5f9638ab2659: Download complete 20:06:52 8b374f2dd631: Verifying Checksum 20:06:52 8b374f2dd631: Download complete 20:06:52 ec14aa9079de: Verifying Checksum 20:06:52 ec14aa9079de: Download complete 20:06:52 edb6bdbacee9: Download complete [Pipeline] stash 20:06:52 Stashed 1 file(s) [Pipeline] } 20:06:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:52 $ docker stop --time=1 78cd05d91b84f33ee7489bca0b41f27578f9bb86b92ff9b749622f5ae9d36bed 20:06:53 edb6bdbacee9: Pull complete 20:06:53 $ docker rm -f --volumes 78cd05d91b84f33ee7489bca0b41f27578f9bb86b92ff9b749622f5ae9d36bed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 20:06:53 554e91adad29: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:54 8d51d6327a98: Verifying Checksum 20:06:54 2f466654f4bb: Download complete 20:06:57 5f9638ab2659: Pull complete 20:07:12 8d51d6327a98: Pull complete 20:07:12 8b374f2dd631: Pull complete 20:07:12 ec14aa9079de: Pull complete 20:07:17 2f466654f4bb: Pull complete 20:07:19 554e91adad29: Pull complete 20:07:20 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:07:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:07:20 ---> 1e15ea492957 20:07:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:07:25 ---> Running in d293c3057825 20:07:25 Removing intermediate container d293c3057825 20:07:25 ---> ff2953593e6a 20:07:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:25 ---> Running in 3d147a0ba1ae 20:07:25 Removing intermediate container 3d147a0ba1ae 20:07:25 ---> 8ccfdd17a4f0 20:07:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:07:25 ---> Running in 9e6ca5740bbf 20:07:26 Removing intermediate container 9e6ca5740bbf 20:07:26 ---> 3949c3170c01 20:07:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:07:26 ---> Running in 05a7b172064e 20:07:26 Removing intermediate container 05a7b172064e 20:07:26 ---> aa6a586ec8cd 20:07:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:26 ---> Running in dcdb40090ad1 20:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:07:29 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:07:29 (2/4) Installing libedit (20221030.3.1-r0) 20:07:29 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:07:29 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:07:29 Executing busybox-1.35.0-r29.trigger 20:07:29 OK: 268 MiB in 57 packages 20:07:30 Removing intermediate container dcdb40090ad1 20:07:30 ---> a53a06500c3b 20:07:30 Step 8/12 : WORKDIR /device-rest-go 20:07:30 ---> Running in 4f4fad068d41 20:07:30 Removing intermediate container 4f4fad068d41 20:07:30 ---> 32b6ff397915 20:07:30 Step 9/12 : COPY go.mod vendor* ./ 20:07:31 ---> d2d6a25bf200 20:07:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:31 ---> Running in 057f1e5de899 20:08:39 Removing intermediate container 057f1e5de899 20:08:39 ---> 6dd25b0372f1 20:08:39 Step 11/12 : COPY . . 20:08:39 ---> a825c8f05dd8 20:08:39 Step 12/12 : RUN $MAKE 20:08:39 ---> Running in 6e9fa3fc2957 20:08:40 noop 20:08:40 Removing intermediate container 6e9fa3fc2957 20:08:40 ---> c1e2b069e9d4 20:08:40 Successfully built c1e2b069e9d4 20:08:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:41 + docker inspect -f . ci-base-image-arm64 20:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:41 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 20:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:42 $ docker top ec564eba06bbf88fcb60bd050d0490520f7181ebd77ad9c2eaf63775c455c931 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:43 + go version 20:08:43 go version go1.20.6 linux/arm64 [Pipeline] } 20:08:43 $ docker stop --time=1 ec564eba06bbf88fcb60bd050d0490520f7181ebd77ad9c2eaf63775c455c931 20:08:46 $ docker rm -f --volumes ec564eba06bbf88fcb60bd050d0490520f7181ebd77ad9c2eaf63775c455c931 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:47 + docker inspect -f . ci-base-image-arm64 20:08:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:47 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 20:08:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:48 $ docker top 9f94d5e82e1b7cf955fecb356650329bbec969b5315ffc9f46346ef359fac1cd -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:49 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:49 + make test 20:08:49 go test ./... -coverprofile=coverage.out ./... 20:09:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:28 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.2% of statements 20:11:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:28 go vet ./... 20:11:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:48 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:48 $ docker stop --time=1 9f94d5e82e1b7cf955fecb356650329bbec969b5315ffc9f46346ef359fac1cd 20:11:50 $ docker rm -f --volumes 9f94d5e82e1b7cf955fecb356650329bbec969b5315ffc9f46346ef359fac1cd [Pipeline] // withDockerContainer [Pipeline] sh 20:11:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:51 Warning: overwriting stash ‘coverage-report’ 20:11:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:52 + ls -al . 20:11:52 total 184 20:11:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 20:08 . 20:11:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 20:06 .. 20:11:52 -rw-rw-r-- 1 jenkins jenkins 151 Sep 8 20:06 .dockerignore 20:11:52 drwxrwxr-x 8 jenkins jenkins 4096 Sep 8 20:06 .git 20:11:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 20:06 .github 20:11:52 -rw-rw-r-- 1 jenkins jenkins 329 Sep 8 20:06 .gitignore 20:11:52 -rw-rw-r-- 1 jenkins jenkins 41 Sep 8 20:06 .golangci.yml 20:11:52 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 8 20:06 Attribution.txt 20:11:52 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 8 20:06 CHANGELOG.md 20:11:52 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 8 20:06 Dockerfile 20:11:52 -rw-rw-r-- 1 jenkins jenkins 677 Sep 8 20:06 GOVERNANCE.md 20:11:52 -rw-rw-r-- 1 jenkins jenkins 680 Sep 8 20:06 Jenkinsfile 20:11:52 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 8 20:06 LICENSE 20:11:52 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 8 20:06 Makefile 20:11:52 -rw-rw-r-- 1 jenkins jenkins 620 Sep 8 20:06 OWNERS.md 20:11:52 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 8 20:06 README.md 20:11:52 -rw-rw-r-- 1 jenkins jenkins 5 Sep 8 20:04 VERSION 20:11:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 20:06 bin 20:11:52 drwxrwxr-x 3 jenkins jenkins 4096 Sep 8 20:06 cmd 20:11:52 -rw-r--r-- 1 jenkins jenkins 14499 Sep 8 20:11 coverage.out 20:11:52 drwxrwxr-x 2 jenkins jenkins 4096 Sep 8 20:06 driver 20:11:52 -rw-rw-r-- 1 jenkins jenkins 3889 Sep 8 20:06 go.mod 20:11:52 -rw-rw-r-- 1 jenkins jenkins 34092 Sep 8 20:06 go.sum 20:11:52 drwxrwxr-x 4 jenkins jenkins 4096 Sep 8 20:06 snap 20:11:52 -rw-rw-r-- 1 jenkins jenkins 713 Sep 8 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:53 + 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=78b6e31be9fd2355b1639cdd4a37f8706f708476 --label arch=arm64 --label version=0.0.0 . 20:11:53 Sending build context to Docker daemon 158.7kB 20:11:53 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:11:53 Step 2/25 : FROM ${BASE} AS builder 20:11:53 ---> c1e2b069e9d4 20:11:53 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:11:53 ---> Running in 67f734c1fdfe 20:11:53 Removing intermediate container 67f734c1fdfe 20:11:53 ---> 77ae89758839 20:11:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:11:53 ---> Running in 108e9f70d8b7 20:11:53 Removing intermediate container 108e9f70d8b7 20:11:53 ---> 6bd28b92b3c1 20:11:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:11:54 ---> Running in 45bb2039b826 20:11:54 Removing intermediate container 45bb2039b826 20:11:54 ---> 4819053ece96 20:11:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:11:54 ---> Running in 0571c45991f2 20:11:54 Removing intermediate container 0571c45991f2 20:11:54 ---> b5d07a40ea66 20:11:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:54 ---> Running in d0afdcadb169 20:11:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:11:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:11:57 OK: 268 MiB in 57 packages 20:11:59 Removing intermediate container d0afdcadb169 20:11:59 ---> 44f72740e7af 20:11:59 Step 8/25 : WORKDIR /device-rest-go 20:11:59 ---> Running in de345d584985 20:11:59 Removing intermediate container de345d584985 20:11:59 ---> 4ed1868aa9ad 20:11:59 Step 9/25 : COPY go.mod vendor* ./ 20:11:59 ---> 880426722639 20:11:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:00 ---> Running in 5e0d081e6d9a 20:12:02 Removing intermediate container 5e0d081e6d9a 20:12:02 ---> 24217df34735 20:12:02 Step 11/25 : COPY . . 20:12:02 ---> ca3eaa87b0b5 20:12:02 Step 12/25 : RUN $MAKE 20:12:02 ---> Running in b5bc8a72420b 20:12:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:14:10 Removing intermediate container b5bc8a72420b 20:14:10 ---> 51c73ca0fcbf 20:14:10 Step 13/25 : FROM alpine:3.17 20:14:10 3.17: Pulling from library/alpine 20:14:10 4060ece20d7a: Pulling fs layer 20:14:10 4060ece20d7a: Verifying Checksum 20:14:10 4060ece20d7a: Download complete 20:14:10 4060ece20d7a: Pull complete 20:14:10 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:14:10 Status: Downloaded newer image for alpine:3.17 20:14:10 ---> 8650cd65339b 20:14:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:14:10 ---> Running in c295e46448c8 20:14:10 Removing intermediate container c295e46448c8 20:14:10 ---> dd01ca70d9f7 20:14:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:14:11 ---> Running in 77942c5d7718 20:14:11 Removing intermediate container 77942c5d7718 20:14:11 ---> 4ac00331dda7 20:14:11 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:14:11 ---> Running in 104a2269eb0d 20:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:14:13 (1/1) Installing dumb-init (1.2.5-r2) 20:14:13 Executing busybox-1.35.0-r29.trigger 20:14:13 OK: 8 MiB in 16 packages 20:14:14 Removing intermediate container 104a2269eb0d 20:14:14 ---> 354d965a9592 20:14:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:14:15 ---> 2b8e3e2c7bfe 20:14:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:14:16 ---> 342e266817a7 20:14:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:14:16 ---> 50dbc1d20054 20:14:16 Step 20/25 : EXPOSE 59986 20:14:16 ---> Running in 71f11c6929dc 20:14:17 Removing intermediate container 71f11c6929dc 20:14:17 ---> 6de2818fd278 20:14:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:14:17 ---> Running in ee1135d9ff61 20:14:17 Removing intermediate container ee1135d9ff61 20:14:17 ---> a55e0713f6eb 20:14:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:14:17 ---> Running in 32952818dc25 20:14:17 Removing intermediate container 32952818dc25 20:14:17 ---> aa6a2760bee3 20:14:17 Step 23/25 : LABEL arch=arm64 20:14:17 ---> Running in 1771d883dc66 20:14:18 Removing intermediate container 1771d883dc66 20:14:18 ---> fb651ceca102 20:14:18 Step 24/25 : LABEL git_sha=78b6e31be9fd2355b1639cdd4a37f8706f708476 20:14:18 ---> Running in 6d3d4c1e6b00 20:14:18 Removing intermediate container 6d3d4c1e6b00 20:14:18 ---> 45b6e5a399e3 20:14:18 Step 25/25 : LABEL version=0.0.0 20:14:18 ---> Running in e4ce09df4452 20:14:18 Removing intermediate container e4ce09df4452 20:14:18 ---> b9729acd176c 20:14:18 [Warning] One or more build-args [ARCH] were not consumed 20:14:18 Successfully built b9729acd176c 20:14:19 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:19 20:14:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:20 arm64: Pulling from edgex-lftools-log-publisher 20:14:20 8998bd30e6a1: Pulling fs layer 20:14:20 04944245beec: Pulling fs layer 20:14:20 699f458cf7ca: Pulling fs layer 20:14:20 765212b225bb: Pulling fs layer 20:14:20 f23df028b6ca: Pulling fs layer 20:14:20 d65c8cfc05b1: Pulling fs layer 20:14:20 2437ff75d9bd: Pulling fs layer 20:14:20 765212b225bb: Waiting 20:14:20 f23df028b6ca: Waiting 20:14:20 d65c8cfc05b1: Waiting 20:14:20 2437ff75d9bd: Waiting 20:14:20 04944245beec: Verifying Checksum 20:14:20 04944245beec: Download complete 20:14:20 765212b225bb: Verifying Checksum 20:14:20 765212b225bb: Download complete 20:14:20 f23df028b6ca: Verifying Checksum 20:14:20 f23df028b6ca: Download complete 20:14:20 d65c8cfc05b1: Verifying Checksum 20:14:20 d65c8cfc05b1: Download complete 20:14:20 699f458cf7ca: Verifying Checksum 20:14:20 699f458cf7ca: Download complete 20:14:21 8998bd30e6a1: Download complete 20:14:23 2437ff75d9bd: Verifying Checksum 20:14:23 2437ff75d9bd: Download complete 20:14:27 8998bd30e6a1: Pull complete 20:14:28 04944245beec: Pull complete 20:14:29 699f458cf7ca: Pull complete 20:14:29 765212b225bb: Pull complete 20:14:30 f23df028b6ca: Pull complete 20:14:30 d65c8cfc05b1: Pull complete 20:14:45 2437ff75d9bd: Pull complete 20:14:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:14:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:45 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 20:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:14:48 $ docker top 627581b1553ce3170a6a2f711e61bbbc28bb959f364ec67b8b8e94bcf9e007a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:48 ---> job-cost.sh 20:14:49 lf-activate-venv: SKIPPING 20:14:49 INFO: No Stack... 20:14:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:50 INFO: Archiving Costs [Pipeline] sh 20:14:50 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:14:50 + cut -d, -f6 [Pipeline] lock 20:14:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] 20:14:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] did not exist. Created. 20:14:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:51 /w/workspace/device-rest-go/1@tmp/durable-d80ba993/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:51 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:51 Warning: overwriting stash ‘stack-cost’ 20:14:51 Stashed 1 file(s) [Pipeline] } 20:14:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-338-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:52 $ docker stop --time=1 627581b1553ce3170a6a2f711e61bbbc28bb959f364ec67b8b8e94bcf9e007a9 20:14:53 $ docker rm -f --volumes 627581b1553ce3170a6a2f711e61bbbc28bb959f364ec67b8b8e94bcf9e007a9 [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 20:14:54 provisioning config files... 20:14:54 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/config11503379221344899901tmp [Pipeline] { [Pipeline] sh 20:14:54 + set +x 20:14:54 + curl -s https://codecov.io/bash 20:14:54 + bash -s -- 20:14:54 20:14:54 _____ _ 20:14:54 / ____| | | 20:14:54 | | ___ __| | ___ ___ _____ __ 20:14:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:54 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:54 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:54 Bash-1.0.6 20:14:54 20:14:54 20:14:54 ==> git version 2.25.1 found 20:14:54 ==> 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 20:14:54 Release-Date: 2020-01-08 20:14:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:54 ==> Jenkins CI detected. 20:14:54 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-338 20:14:54 project root: . 20:14:54 --> token set from env 20:14:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:54 ==> Running gcov in . (disable via -X gcov) 20:14:54 ==> Python coveragepy not found 20:14:54 ==> Searching for coverage reports in: 20:14:54 + . 20:14:54 -> Found 1 reports 20:14:54 ==> Detecting git/mercurial file structure 20:14:55 ==> Reading reports 20:14:55 + ./coverage.out bytes=14499 20:14:55 ==> Appending adjustments 20:14:55 https://docs.codecov.io/docs/fixing-reports 20:14:55 + Found adjustments 20:14:55 ==> Gzipping contents 20:14:55 4.0K /tmp/codecov.csX4Jp.gz 20:14:55 ==> Uploading reports 20:14:55 url: https://codecov.io 20:14:55 query: branch=PR-338&commit=78b6e31be9fd2355b1639cdd4a37f8706f708476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=338&job=&cmd_args= 20:14:55 -> Pinging Codecov 20:14:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-338&commit=78b6e31be9fd2355b1639cdd4a37f8706f708476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-338%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=338&job=&cmd_args= 20:14:55 -> Uploading to 20:14:55 https://storage.googleapis.com/codecov/v4/raw/2023-09-08/4E5D53B4F1F92C436F7061BF334D961C/78b6e31be9fd2355b1639cdd4a37f8706f708476/81a4e317-95c8-4802-862e-d76453b6377e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230908%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230908T201455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8455babb90ef5962996f671ec3cd7a6f69c43ca25e2135db596c614d72833bfd 20:14:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:55 Dload Upload Total Spent Left Speed 20:14:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13331 --:--:-- --:--:-- --:--:-- 13331 20:14:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/78b6e31be9fd2355b1639cdd4a37f8706f708476 [Pipeline] } 20:14:55 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 20:14:57 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-338/archives ] 20:14:57 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-338/archives 20:14:57 total 16 20:14:57 drwxr-xr-x 3 root root 4096 Sep 8 20:06 . 20:14:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 8 20:06 .. 20:14:57 drwxr-xr-x 2 root root 4096 Sep 8 20:06 cost 20:14:57 -rw-r--r-- 1 root root 86 Sep 8 20:06 cost.csv 20:14:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-338/archives 20:14:57 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-338/archives 20:14:57 total 16 20:14:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 8 20:06 . 20:14:57 drwxrwxr-x 10 jenkins jenkins 4096 Sep 8 20:06 .. 20:14:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 8 20:06 cost 20:14:57 -rw-r--r-- 1 jenkins jenkins 86 Sep 8 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:58 ---> package-listing.sh 20:14:58 ++ facter osfamily 20:14:58 ++ tr '[:upper:]' '[:lower:]' 20:14:58 + OS_FAMILY=debian 20:14:58 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-338 20:14:58 + START_PACKAGES=/tmp/packages_start.txt 20:14:58 + END_PACKAGES=/tmp/packages_end.txt 20:14:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:58 + PACKAGES=/tmp/packages_start.txt 20:14:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-338 ']' 20:14:58 + PACKAGES=/tmp/packages_end.txt 20:14:58 + case "${OS_FAMILY}" in 20:14:58 + dpkg -l 20:14:58 + grep '^ii' 20:14:58 + '[' -f /tmp/packages_start.txt ']' 20:14:58 + '[' -f /tmp/packages_end.txt ']' 20:14:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:58 + '[' /w/workspace/gexfoundry_device-rest-go_PR-338 ']' 20:14:58 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-338/archives/ 20:14:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-338/archives/ [Pipeline] echo 20:14:58 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-338/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:59 prd-ubuntu20.04-docker-8c-8g-5644 does not seem to be running inside a container 20:14:59 $ 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-338/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-338 -v /w/workspace/gexfoundry_device-rest-go_PR-338:/w/workspace/gexfoundry_device-rest-go_PR-338:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-338@tmp:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:00 $ docker top dee58ef2daf3b2cee7d1ed8a9cef57d6755c6e719b3bd99daf9c8806b3004d3a -eo pid,comm [Pipeline] { [Pipeline] sh 20:15:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:15:00 + mkdir -p /var/log/sysstat [Pipeline] sh 20:15:01 + ls /var/log/sa-host 20:15:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:01 provisioning config files... 20:15:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-338@tmp/config17418290274906727288tmp [Pipeline] { [Pipeline] echo 20:15:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:15:01 ---> create-netrc.sh [Pipeline] } 20:15:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:15:02 ---> python-tools-install.sh [Pipeline] echo 20:15:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:15:02 ---> sudo-logs.sh 20:15:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:15:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:15:02 ---> job-cost.sh 20:15:02 lf-activate-venv: SKIPPING 20:15:02 DEBUG: total: 0.2199999988079071 20:15:02 INFO: Retrieving Stack Cost... 20:15:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:15:03 INFO: Archiving Costs [Pipeline] echo 20:15:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:15:03 ---> logs-deploy.sh 20:15:03 lf-activate-venv: SKIPPING 20:15:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-338/1 20:15:03 INFO: archiving workspace using pattern(s): 20:15:04 Archives upload complete. 20:15:04 INFO: archiving logs to Nexus