Pull request #326 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e31afc5f6ae47972aac87410fd8eedcd7517dea9+38c1608d3c74a3eb2d9b4ab71433628bddf7df5d (97fb77668ca3c1e610cd4a8422959ffc3626b323) 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-ssh10005632897850911467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6191165089611461838.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-326/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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4378022271984681060.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-326/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11838940227134553459.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13617951010695066359.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-326/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-326/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2070529956974462521.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17260’ Running on prd-ubuntu20.04-docker-8c-8g-17263 in /w/workspace/gexfoundry_device-rest-go_PR-326 [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-326 # 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 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit e31afc5f6ae47972aac87410fd8eedcd7517dea9 Merge succeeded, producing e31afc5f6ae47972aac87410fd8eedcd7517dea9 Checking out Revision e31afc5f6ae47972aac87410fd8eedcd7517dea9 (PR-326) Commit message: "docs: Update changelog for v3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # 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 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:24:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:24:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:24:07 ========================================================= 07:24:07 EdgeX Global Pipelines Version Info 07:24:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:24:07 ------------------- 07:24:07 stable info: 07:24:07 ------------------- 07:24:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:24:07 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:24:07 Message: update stable to v1.0.249 07:24:08 ------------------- 07:24:08 experimental info: 07:24:08 ------------------- 07:24:08 Commited By: **** collab-it+edgex@linuxfoundation.org 07:24:08 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:24:08 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:24:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:24:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:24:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:24:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:24:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:24:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-326 [Pipeline] echo 07:24:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-326 [Pipeline] echo 07:24:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-326 [Pipeline] echo 07:24:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:24:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31afc5 [Pipeline] echo 07:24:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:10 provisioning config files... 07:24:10 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/config2374602631276858537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:10 ---> docker-login.sh 07:24:10 nexus3.edgexfoundry.org:10001 07:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:10 Configure a credential helper to remove this warning. See 07:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:10 07:24:10 Login Succeeded 07:24:10 nexus3.edgexfoundry.org:10002 07:24:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:10 Configure a credential helper to remove this warning. See 07:24:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:10 07:24:10 Login Succeeded 07:24:10 nexus3.edgexfoundry.org:10003 07:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:11 Configure a credential helper to remove this warning. See 07:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:11 07:24:11 Login Succeeded 07:24:11 nexus3.edgexfoundry.org:10004 07:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:11 Configure a credential helper to remove this warning. See 07:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:11 07:24:11 Login Succeeded 07:24:11 docker.io 07:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:11 Configure a credential helper to remove this warning. See 07:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:11 07:24:11 Login Succeeded 07:24:11 ---> docker-login.sh ends [Pipeline] } 07:24:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:24:12 + git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:24:12 -----------> git rev-list -1 --merges e31afc5f6ae47972aac87410fd8eedcd7517dea9~1..e31afc5f6ae47972aac87410fd8eedcd7517dea9 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [false] [Pipeline] sh 07:24:12 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:24:12 ========================================================= 07:24:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:24:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:24:12 + git log --format=format:%s -1 e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] echo 07:24:12 [semverPrep] GIT_COMMIT: e31afc5f6ae47972aac87410fd8eedcd7517dea9, Commit Message: docs: Update changelog for v3.0 [Pipeline] echo 07:24:12 [semverPrep] This is not a build commit. [Pipeline] sh 07:24:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:24:13 + grep -v github /etc/ssh/ssh_known_hosts 07:24:13 + [ -e /tmp/ssh_known_hosts ] 07:24:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:24:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:24:13 + sudo tee -a /etc/ssh/ssh_known_hosts 07:24:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:13 07:24:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:14 0.1.4: Pulling from edgex-devops/py-git-semver 07:24:14 b85a868b505f: Pulling fs layer 07:24:14 e2be974225ed: Pulling fs layer 07:24:14 339a4e72a1f5: Pulling fs layer 07:24:14 988bab9f4d93: Pulling fs layer 07:24:14 1469e6f7b9e6: Pulling fs layer 07:24:14 eaf3925da568: Pulling fs layer 07:24:14 bab4dde63d76: Pulling fs layer 07:24:14 bde34c3a00c8: Pulling fs layer 07:24:14 b352a97aabf1: Pulling fs layer 07:24:14 4872d77fe225: Pulling fs layer 07:24:14 5851b861e8e6: Pulling fs layer 07:24:14 988bab9f4d93: Waiting 07:24:14 5851b861e8e6: Waiting 07:24:14 b352a97aabf1: Waiting 07:24:14 bab4dde63d76: Waiting 07:24:14 eaf3925da568: Waiting 07:24:14 bde34c3a00c8: Waiting 07:24:14 4872d77fe225: Waiting 07:24:14 e2be974225ed: Verifying Checksum 07:24:14 e2be974225ed: Download complete 07:24:14 988bab9f4d93: Download complete 07:24:14 1469e6f7b9e6: Verifying Checksum 07:24:14 1469e6f7b9e6: Download complete 07:24:14 eaf3925da568: Verifying Checksum 07:24:14 eaf3925da568: Download complete 07:24:14 339a4e72a1f5: Verifying Checksum 07:24:14 339a4e72a1f5: Download complete 07:24:14 bde34c3a00c8: Verifying Checksum 07:24:14 bde34c3a00c8: Download complete 07:24:14 b352a97aabf1: Download complete 07:24:14 4872d77fe225: Verifying Checksum 07:24:14 4872d77fe225: Download complete 07:24:14 5851b861e8e6: Download complete 07:24:14 b85a868b505f: Download complete 07:24:14 bab4dde63d76: Verifying Checksum 07:24:14 bab4dde63d76: Download complete 07:24:15 b85a868b505f: Pull complete 07:24:15 e2be974225ed: Pull complete 07:24:16 339a4e72a1f5: Pull complete 07:24:16 988bab9f4d93: Pull complete 07:24:16 1469e6f7b9e6: Pull complete 07:24:16 eaf3925da568: Pull complete 07:24:18 bab4dde63d76: Pull complete 07:24:18 bde34c3a00c8: Pull complete 07:24:18 b352a97aabf1: Pull complete 07:24:18 4872d77fe225: Pull complete 07:24:18 5851b861e8e6: Pull complete 07:24:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:24:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:24:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:18 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 07:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-326 -v /w/workspace/gexfoundry_device-rest-go_PR-326:/w/workspace/gexfoundry_device-rest-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-326@tmp:/w/workspace/gexfoundry_device-rest-go_PR-326@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:24:21 $ docker top 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c -eo pid,comm 07:24:21 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). 07:24:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:24:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:21 [ssh-agent] Looking for ssh-agent implementation... 07:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:21 $ docker exec 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c ssh-agent 07:24:21 SSH_AUTH_SOCK=/tmp/ssh-WTFmFI1EczOU/agent.32 07:24:21 SSH_AGENT_PID=38 07:24:21 Running ssh-add (command line suppressed) 07:24:21 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-326@tmp/private_key_14629800284228637587.key (/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/private_key_14629800284228637587.key) 07:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:22 + git tag --points-at HEAD [Pipeline] } 07:24:22 $ docker exec --env ******** --env ******** 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c ssh-agent -k 07:24:22 unset SSH_AUTH_SOCK; 07:24:22 unset SSH_AGENT_PID; 07:24:22 echo Agent pid 38 killed; 07:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:24:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:22 [ssh-agent] Looking for ssh-agent implementation... 07:24:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:22 $ docker exec 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c ssh-agent 07:24:22 SSH_AUTH_SOCK=/tmp/ssh-plB2M8hVMgWC/agent.70 07:24:22 SSH_AGENT_PID=76 07:24:22 Running ssh-add (command line suppressed) 07:24:22 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-326@tmp/private_key_4002416428246593721.key (/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/private_key_4002416428246593721.key) 07:24:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:23 + git semver init 07:24:23 2023-05-30 07:24:23,282 [run_init] DEBUG init version:0.0.0 force:False 07:24:23 2023-05-30 07:24:23,283 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-326/.semver 07:24:23 2023-05-30 07:24:23,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-326/.semver 07:24:23 2023-05-30 07:24:23,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-326/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-326, universal_newlines=False, shell=None, istream=None) 07:24:24 2023-05-30 07:24:24,195 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-326/.git/info/exclude 07:24:24 2023-05-30 07:24:24,196 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-326/.semver/PR-326 with force:False 07:24:24 2023-05-30 07:24:24,196 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-326/.semver/PR-326 07:24:24 2023-05-30 07:24:24,201 [execute] INFO git cat-file --batch-check 07:24:24 2023-05-30 07:24:24,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 07:24:24 2023-05-30 07:24:24,208 [execute] INFO git cat-file --batch 07:24:24 2023-05-30 07:24:24,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-326/.semver, universal_newlines=False, shell=None, istream=) 07:24:24 2023-05-30 07:24:24,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-326/.semver/PR-326 07:24:24 0.0.0 [Pipeline] } 07:24:24 $ docker exec --env ******** --env ******** 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c ssh-agent -k 07:24:24 unset SSH_AUTH_SOCK; 07:24:24 unset SSH_AGENT_PID; 07:24:24 echo Agent pid 76 killed; 07:24:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:24 + git semver [Pipeline] } 07:24:25 $ docker stop --time=1 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c 07:24:26 $ docker rm -f --volumes 43fc100a2203bbe2d2eed4315d2592c4fa967ee88976532c3218b3572eaa122c [Pipeline] // withDockerContainer [Pipeline] sh 07:24:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:24:27 Stashed 1 file(s) [Pipeline] echo 07:24:27 [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 07:24:27 provisioning config files... 07:24:27 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/config513646673607982753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:24:28 ---> docker-login.sh 07:24:28 nexus3.edgexfoundry.org:10001 07:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:28 Configure a credential helper to remove this warning. See 07:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:28 07:24:28 Login Succeeded 07:24:28 nexus3.edgexfoundry.org:10002 07:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:28 Configure a credential helper to remove this warning. See 07:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:28 07:24:28 Login Succeeded 07:24:28 nexus3.edgexfoundry.org:10003 07:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:28 Configure a credential helper to remove this warning. See 07:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:28 07:24:28 Login Succeeded 07:24:28 nexus3.edgexfoundry.org:10004 07:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:28 Configure a credential helper to remove this warning. See 07:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:28 07:24:28 Login Succeeded 07:24:28 docker.io 07:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:24:28 Configure a credential helper to remove this warning. See 07:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:24:28 07:24:28 Login Succeeded 07:24:28 ---> docker-login.sh ends [Pipeline] } 07:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:24:28 ========================================================= 07:24:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:24:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:29 + 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 . 07:24:29 Sending build context to Docker daemon 10.94MB 07:24:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:24:29 Step 2/12 : FROM ${BASE} AS builder 07:24:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:24:29 f56be85fc22e: Pulling fs layer 07:24:29 85791d961cd3: Pulling fs layer 07:24:29 d694b5ae8c79: Pulling fs layer 07:24:29 9f32a84ed3da: Pulling fs layer 07:24:29 4d19c01a9841: Pulling fs layer 07:24:29 9325e15d5711: Pulling fs layer 07:24:29 556b6ee489ea: Pulling fs layer 07:24:29 c5a4b2cf53e6: Pulling fs layer 07:24:29 9f32a84ed3da: Waiting 07:24:29 9325e15d5711: Waiting 07:24:29 c5a4b2cf53e6: Waiting 07:24:29 85791d961cd3: Download complete 07:24:29 9f32a84ed3da: Verifying Checksum 07:24:29 9f32a84ed3da: Download complete 07:24:29 4d19c01a9841: Verifying Checksum 07:24:29 4d19c01a9841: Download complete 07:24:29 f56be85fc22e: Verifying Checksum 07:24:29 f56be85fc22e: Download complete 07:24:29 9325e15d5711: Verifying Checksum 07:24:29 9325e15d5711: Download complete 07:24:29 f56be85fc22e: Pull complete 07:24:29 85791d961cd3: Pull complete 07:24:30 c5a4b2cf53e6: Verifying Checksum 07:24:30 c5a4b2cf53e6: Download complete 07:24:30 d694b5ae8c79: Verifying Checksum 07:24:30 d694b5ae8c79: Download complete 07:24:30 556b6ee489ea: Verifying Checksum 07:24:30 556b6ee489ea: Download complete 07:24:33 d694b5ae8c79: Pull complete 07:24:33 9f32a84ed3da: Pull complete 07:24:33 4d19c01a9841: Pull complete 07:24:33 9325e15d5711: Pull complete 07:24:35 556b6ee489ea: Pull complete 07:24:36 c5a4b2cf53e6: Pull complete 07:24:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:24:36 ---> c4be618373d6 07:24:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:24:40 ---> Running in 420c01628686 07:24:40 Removing intermediate container 420c01628686 07:24:40 ---> 651bb89e1594 07:24:40 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:24:40 ---> Running in c8068dbcae7c 07:24:40 Removing intermediate container c8068dbcae7c 07:24:40 ---> e20698ba31df 07:24:40 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:24:40 ---> Running in 7a0092430aca 07:24:41 Removing intermediate container 7a0092430aca 07:24:41 ---> c544e8910053 07:24:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:24:41 ---> Running in 094b8bd97ec7 07:24:41 Removing intermediate container 094b8bd97ec7 07:24:41 ---> 6cebee1c32c9 07:24:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:41 ---> Running in 3ea6b6505593 07:24:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:24:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:24:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:24:42 (2/4) Installing libedit (20221030.3.1-r0) 07:24:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:24:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:24:42 Executing busybox-1.35.0-r29.trigger 07:24:42 OK: 269 MiB in 57 packages 07:24:42 Removing intermediate container 3ea6b6505593 07:24:42 ---> 272208e2da88 07:24:42 Step 8/12 : WORKDIR /device-rest-go 07:24:42 ---> Running in e82adffc1cc4 07:24:42 Still waiting to schedule task 07:24:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17262’ 07:24:42 Removing intermediate container e82adffc1cc4 07:24:42 ---> 0a5d4983f2a3 07:24:42 Step 9/12 : COPY go.mod vendor* ./ 07:24:42 ---> 4c1350eb3976 07:24:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:42 ---> Running in 08e5d941ccd6 07:25:09 Removing intermediate container 08e5d941ccd6 07:25:09 ---> 0571873b673e 07:25:09 Step 11/12 : COPY . . 07:25:09 ---> b165dea6ffae 07:25:09 Step 12/12 : RUN $MAKE 07:25:09 ---> Running in 1e5ada2ff454 07:25:09 noop 07:25:09 Removing intermediate container 1e5ada2ff454 07:25:09 ---> e3b6ce70167d 07:25:09 Successfully built e3b6ce70167d 07:25:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:09 + docker inspect -f . ci-base-image-x86_64 07:25:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:09 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 07:25:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-326 -v /w/workspace/gexfoundry_device-rest-go_PR-326:/w/workspace/gexfoundry_device-rest-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-326@tmp:/w/workspace/gexfoundry_device-rest-go_PR-326@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-x86_64 cat 07:25:10 $ docker top e60895f650af9678f4ad357c59ce33b7a05b451ab8f46d9b1e591c73801c1f07 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:10 + go version 07:25:10 go version go1.20.2 linux/amd64 [Pipeline] } 07:25:10 $ docker stop --time=1 e60895f650af9678f4ad357c59ce33b7a05b451ab8f46d9b1e591c73801c1f07 07:25:11 $ docker rm -f --volumes e60895f650af9678f4ad357c59ce33b7a05b451ab8f46d9b1e591c73801c1f07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:12 + docker inspect -f . ci-base-image-x86_64 07:25:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:12 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 07:25:12 $ 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-326 -v /w/workspace/gexfoundry_device-rest-go_PR-326:/w/workspace/gexfoundry_device-rest-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-326@tmp:/w/workspace/gexfoundry_device-rest-go_PR-326@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-x86_64 cat 07:25:13 $ docker top 112de4d8414b21570812be20934fa05daed9c24a5dabd4aa06d3c998e6dc9331 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-326 [Pipeline] fileExists [Pipeline] sh 07:25:13 + make test 07:25:13 go test ./... -coverprofile=coverage.out ./... 07:25:19 ? github.com/edgexfoundry/device-rest-go [no test files] 07:25:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:25:29 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 07:25:33 go vet ./... 07:25:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:36 ./bin/test-attribution-txt.sh [Pipeline] echo 07:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:25:37 $ docker stop --time=1 112de4d8414b21570812be20934fa05daed9c24a5dabd4aa06d3c998e6dc9331 07:25:40 $ docker rm -f --volumes 112de4d8414b21570812be20934fa05daed9c24a5dabd4aa06d3c998e6dc9331 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:42 + ls -al . 07:25:42 total 184 07:25:42 drwxrwxr-x 9 jenkins jenkins 4096 May 30 07:25 . 07:25:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:24 .. 07:25:42 -rw-rw-r-- 1 jenkins jenkins 151 May 30 07:24 .dockerignore 07:25:42 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:24 .git 07:25:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:24 .github 07:25:42 -rw-rw-r-- 1 jenkins jenkins 329 May 30 07:24 .gitignore 07:25:42 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:24 .golangci.yml 07:25:42 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:24 .semver 07:25:42 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 07:24 Attribution.txt 07:25:42 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 07:24 CHANGELOG.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 07:24 Dockerfile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:24 GOVERNANCE.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 680 May 30 07:24 Jenkinsfile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:24 LICENSE 07:25:42 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 07:24 Makefile 07:25:42 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:24 OWNERS.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 07:24 README.md 07:25:42 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:24 VERSION 07:25:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:24 bin 07:25:42 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:24 cmd 07:25:42 -rw-r--r-- 1 jenkins jenkins 14663 May 30 07:25 coverage.out 07:25:42 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:24 driver 07:25:42 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 07:24 go.mod 07:25:42 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 07:24 go.sum 07:25:42 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:24 snap 07:25:42 -rw-rw-r-- 1 jenkins jenkins 713 May 30 07:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:42 + 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=e31afc5f6ae47972aac87410fd8eedcd7517dea9 --label arch=amd64 --label version=0.0.0 . 07:25:42 Sending build context to Docker daemon 10.96MB 07:25:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:25:42 Step 2/25 : FROM ${BASE} AS builder 07:25:42 ---> e3b6ce70167d 07:25:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:25:42 ---> Running in 03dede513975 07:25:42 Removing intermediate container 03dede513975 07:25:42 ---> 5a27c798da99 07:25:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:25:42 ---> Running in 68b3a32e75d8 07:25:42 Removing intermediate container 68b3a32e75d8 07:25:42 ---> c26f18dc56af 07:25:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:25:42 ---> Running in 85abdfdbf7a9 07:25:43 Removing intermediate container 85abdfdbf7a9 07:25:43 ---> 93d14c8ee5de 07:25:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:25:43 ---> Running in 9b685841757c 07:25:43 Removing intermediate container 9b685841757c 07:25:43 ---> b48c42fd3110 07:25:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:25:43 ---> Running in 1af9b5433adc 07:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:25:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:25:43 OK: 269 MiB in 57 packages 07:25:43 Removing intermediate container 1af9b5433adc 07:25:43 ---> 1d92aca9c918 07:25:43 Step 8/25 : WORKDIR /device-rest-go 07:25:43 ---> Running in f5e5a22ae396 07:25:44 Removing intermediate container f5e5a22ae396 07:25:44 ---> 33367b16d011 07:25:44 Step 9/25 : COPY go.mod vendor* ./ 07:25:44 ---> ceb2a3b59411 07:25:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:44 ---> Running in a495767edb07 07:25:45 Removing intermediate container a495767edb07 07:25:45 ---> 00bfa2c24188 07:25:45 Step 11/25 : COPY . . 07:25:45 ---> 5b557b6f2385 07:25:45 Step 12/25 : RUN $MAKE 07:25:45 ---> Running in 61e7c5d3a612 07:25:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:26:04 Removing intermediate container 61e7c5d3a612 07:26:04 ---> e2148a54c192 07:26:04 Step 13/25 : FROM alpine:3.17 07:26:04 3.17: Pulling from library/alpine 07:26:04 f56be85fc22e: Already exists 07:26:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:26:04 Status: Downloaded newer image for alpine:3.17 07:26:04 ---> 9ed4aefc74f6 07:26:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:26:04 ---> Running in 256b1113f8ac 07:26:04 Removing intermediate container 256b1113f8ac 07:26:04 ---> 1a8bf607b7fb 07:26:04 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:26:04 ---> Running in 88f157897aed 07:26:04 Removing intermediate container 88f157897aed 07:26:04 ---> 33779c9c2bda 07:26:04 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:26:04 ---> Running in a2a8c6687994 07:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:26:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:26:04 (1/1) Installing dumb-init (1.2.5-r2) 07:26:04 Executing busybox-1.35.0-r29.trigger 07:26:04 OK: 7 MiB in 16 packages 07:26:04 Removing intermediate container a2a8c6687994 07:26:04 ---> d7b9e6d43734 07:26:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:26:05 ---> 64ee1660e415 07:26:05 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:26:05 ---> 9d661e3b97b2 07:26:05 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:26:05 ---> 96e9010a7583 07:26:05 Step 20/25 : EXPOSE 59986 07:26:05 ---> Running in bb6602a58d46 07:26:05 Removing intermediate container bb6602a58d46 07:26:05 ---> a82d66aed75d 07:26:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:26:05 ---> Running in cc7c47b54c42 07:26:05 Removing intermediate container cc7c47b54c42 07:26:05 ---> 0884ca7f68b5 07:26:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:26:05 ---> Running in 902b3abf6090 07:26:05 Removing intermediate container 902b3abf6090 07:26:05 ---> f52e0d96ed7b 07:26:05 Step 23/25 : LABEL arch=amd64 07:26:05 ---> Running in 6c37394c4152 07:26:05 Removing intermediate container 6c37394c4152 07:26:05 ---> 2b592364a71a 07:26:05 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:26:05 ---> Running in 6165903fc740 07:26:06 Removing intermediate container 6165903fc740 07:26:06 ---> b435fb24c423 07:26:06 Step 25/25 : LABEL version=0.0.0 07:26:06 ---> Running in 869e8ace1abd 07:26:06 Removing intermediate container 869e8ace1abd 07:26:06 ---> 8ea6832f301a 07:26:06 [Warning] One or more build-args [ARCH] were not consumed 07:26:06 Successfully built 8ea6832f301a 07:26:06 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 07:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:07 07:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:26:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:07 latest: Pulling from edgex-lftools-log-publisher 07:26:07 5eb5b503b376: Pulling fs layer 07:26:07 5c69ac0246d0: Pulling fs layer 07:26:07 ec43610c2a17: Pulling fs layer 07:26:07 3a2ae6a8a46f: Pulling fs layer 07:26:07 33b1e0a273af: Pulling fs layer 07:26:07 5d3b04190fa2: Pulling fs layer 07:26:07 2f39f015ded8: Pulling fs layer 07:26:07 3a2ae6a8a46f: Waiting 07:26:07 2f39f015ded8: Waiting 07:26:07 33b1e0a273af: Waiting 07:26:07 5d3b04190fa2: Waiting 07:26:07 5c69ac0246d0: Verifying Checksum 07:26:07 5c69ac0246d0: Download complete 07:26:07 3a2ae6a8a46f: Download complete 07:26:07 33b1e0a273af: Verifying Checksum 07:26:07 33b1e0a273af: Download complete 07:26:07 5d3b04190fa2: Verifying Checksum 07:26:07 5d3b04190fa2: Download complete 07:26:07 ec43610c2a17: Verifying Checksum 07:26:07 ec43610c2a17: Download complete 07:26:07 5eb5b503b376: Verifying Checksum 07:26:07 5eb5b503b376: Download complete 07:26:08 2f39f015ded8: Download complete 07:26:08 5eb5b503b376: Pull complete 07:26:08 5c69ac0246d0: Pull complete 07:26:09 ec43610c2a17: Pull complete 07:26:09 3a2ae6a8a46f: Pull complete 07:26:09 33b1e0a273af: Pull complete 07:26:09 5d3b04190fa2: Pull complete 07:26:13 2f39f015ded8: Pull complete 07:26:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:26:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:26:14 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 07:26:14 $ 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-326 -v /w/workspace/gexfoundry_device-rest-go_PR-326:/w/workspace/gexfoundry_device-rest-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-326@tmp:/w/workspace/gexfoundry_device-rest-go_PR-326@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:26:17 $ docker top 246ea56cec1e81e9374b120b1dda03d8073e9057f7986f8091ead937f201fa6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:18 ---> job-cost.sh 07:26:18 lf-activate-venv: SKIPPING 07:26:18 INFO: No Stack... 07:26:18 INFO: Retrieving Pricing Info for: v3-standard-8 07:26:18 INFO: Archiving Costs [Pipeline] sh 07:26:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-326/archives/cost.csv 07:26:19 + cut -d, -f6 [Pipeline] lock 07:26:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] 07:26:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] did not exist. Created. 07:26:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:26:19 + echo total: 0.2199999988079071 [Pipeline] stash 07:26:19 Stashed 1 file(s) [Pipeline] } 07:26:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:26:19 $ docker stop --time=1 246ea56cec1e81e9374b120b1dda03d8073e9057f7986f8091ead937f201fa6b 07:26:20 $ docker rm -f --volumes 246ea56cec1e81e9374b120b1dda03d8073e9057f7986f8091ead937f201fa6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:27:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17265 in /w/workspace/gexfoundry_device-rest-go_PR-326 [Pipeline] { [Pipeline] ws 07:27:33 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 07:27:33 The recommended git tool is: git 07:27:40 using credential edgex-jenkins-ssh 07:27:40 Cloning the remote Git repository 07:27:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:27:41 > git init /w/workspace/device-rest-go/1 # timeout=10 07:27:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:27:41 > git --version # timeout=10 07:27:41 > git --version # 'git version 2.25.1' 07:27:41 using GIT_SSH to set credentials SSH Credentials for GitHub 07:27:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:27:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:27:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:27:44 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:27:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:27:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:27:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:27:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/326/head:refs/remotes/origin/PR-326 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:27:44 > git config core.sparsecheckout # timeout=10 07:27:45 Merge succeeded, producing e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:27:45 Checking out Revision e31afc5f6ae47972aac87410fd8eedcd7517dea9 (PR-326) 07:27:45 Commit message: "docs: Update changelog for v3.0" 07:27:45 > git --version # timeout=10 07:27:45 > git --version # 'git version 2.25.1' 07:27:45 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:44 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 07:27:45 > git remote # timeout=10 07:27:45 > git config --get remote.origin.url # timeout=10 07:27:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:27:45 > git merge 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 07:27:45 > git rev-parse HEAD^{commit} # timeout=10 07:27:45 > git config core.sparsecheckout # timeout=10 07:27:45 > git checkout -f e31afc5f6ae47972aac87410fd8eedcd7517dea9 # timeout=10 07:27:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:27:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:27:46 Dload Upload Total Spent Left Speed 07:27:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 07:27:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:27:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 07:27:47 sudo tee /etc/docker/daemon.new 07:27:47 { 07:27:47 "registry-mirrors": [ 07:27:47 "https://nexus3.edgexfoundry.org:10001" 07:27:47 ], 07:27:47 "bip": "10.250.0.254/24", 07:27:47 "hosts": [ 07:27:47 "tcp://0.0.0.0:5555", 07:27:47 "unix:///var/run/docker.sock" 07:27:47 ], 07:27:47 "mtu": 1458, 07:27:47 "selinux-enabled": true, 07:27:47 "seccomp-profile": "/etc/docker/seccomp.json" 07:27:47 } [Pipeline] sh 07:27:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:27:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:06 provisioning config files... 07:28:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15172141562673726502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:07 ---> docker-login.sh 07:28:07 nexus3.edgexfoundry.org:10001 07:28:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:08 Configure a credential helper to remove this warning. See 07:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:08 07:28:08 Login Succeeded 07:28:08 nexus3.edgexfoundry.org:10002 07:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:08 Configure a credential helper to remove this warning. See 07:28:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:08 07:28:08 Login Succeeded 07:28:08 nexus3.edgexfoundry.org:10003 07:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:09 Configure a credential helper to remove this warning. See 07:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:09 07:28:09 Login Succeeded 07:28:09 nexus3.edgexfoundry.org:10004 07:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:09 Configure a credential helper to remove this warning. See 07:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:09 07:28:09 Login Succeeded 07:28:09 docker.io 07:28:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:28:09 Configure a credential helper to remove this warning. See 07:28:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:28:09 07:28:09 Login Succeeded 07:28:09 ---> docker-login.sh ends [Pipeline] } 07:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:28:10 ========================================================= 07:28:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:28:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:10 + 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 . 07:28:10 Sending build context to Docker daemon 141.8kB 07:28:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:28:11 Step 2/12 : FROM ${BASE} AS builder 07:28:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:28:11 c41833b44d91: Pulling fs layer 07:28:11 ed15518f5707: Pulling fs layer 07:28:11 feae8fd75edb: Pulling fs layer 07:28:11 242c74f7c9fa: Pulling fs layer 07:28:11 3cdef696dda3: Pulling fs layer 07:28:11 2ced38df9373: Pulling fs layer 07:28:11 58f1dce35555: Pulling fs layer 07:28:11 3cdef696dda3: Waiting 07:28:11 2ced38df9373: Waiting 07:28:11 58f1dce35555: Waiting 07:28:11 242c74f7c9fa: Waiting 07:28:11 ed15518f5707: Verifying Checksum 07:28:11 ed15518f5707: Download complete 07:28:11 242c74f7c9fa: Download complete 07:28:11 3cdef696dda3: Verifying Checksum 07:28:11 3cdef696dda3: Download complete 07:28:11 c41833b44d91: Verifying Checksum 07:28:11 c41833b44d91: Download complete 07:28:12 c41833b44d91: Pull complete 07:28:13 58f1dce35555: Verifying Checksum 07:28:13 58f1dce35555: Download complete 07:28:13 ed15518f5707: Pull complete 07:28:13 feae8fd75edb: Verifying Checksum 07:28:13 feae8fd75edb: Download complete 07:28:14 2ced38df9373: Verifying Checksum 07:28:14 2ced38df9373: Download complete 07:28:26 feae8fd75edb: Pull complete 07:28:26 242c74f7c9fa: Pull complete 07:28:26 3cdef696dda3: Pull complete 07:28:32 2ced38df9373: Pull complete 07:28:36 58f1dce35555: Pull complete 07:28:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 07:28:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:28:36 ---> fadd8f120f05 07:28:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:28:37 ---> Running in ac1fc8588467 07:28:37 Removing intermediate container ac1fc8588467 07:28:37 ---> dbe9c50568ec 07:28:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:28:38 ---> Running in bfbc5e35d86d 07:28:38 Removing intermediate container bfbc5e35d86d 07:28:38 ---> 242e5b2ac28a 07:28:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:28:38 ---> Running in 2895e3567a21 07:28:38 Removing intermediate container 2895e3567a21 07:28:38 ---> be6c663c21bb 07:28:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:28:38 ---> Running in 662fe4fcdd75 07:28:38 Removing intermediate container 662fe4fcdd75 07:28:38 ---> f37a76a1dabf 07:28:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:28:39 ---> Running in 1f157fbf0b6c 07:28:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:28:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:28:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:28:42 (2/4) Installing libedit (20221030.3.1-r0) 07:28:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:28:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:28:42 Executing busybox-1.35.0-r29.trigger 07:28:42 OK: 268 MiB in 57 packages 07:28:42 Removing intermediate container 1f157fbf0b6c 07:28:42 ---> 77702c8ab205 07:28:42 Step 8/12 : WORKDIR /device-rest-go 07:28:43 ---> Running in e528d5c5d9b5 07:28:43 Removing intermediate container e528d5c5d9b5 07:28:43 ---> 429d76023fed 07:28:43 Step 9/12 : COPY go.mod vendor* ./ 07:28:44 ---> 4793c1f9a621 07:28:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:28:44 ---> Running in 04e5ac41b58b 07:29:52 Removing intermediate container 04e5ac41b58b 07:29:52 ---> 498f8c9b3b58 07:29:52 Step 11/12 : COPY . . 07:29:52 ---> b46094301676 07:29:52 Step 12/12 : RUN $MAKE 07:29:52 ---> Running in e13f8f72d0e1 07:29:52 noop 07:29:52 Removing intermediate container e13f8f72d0e1 07:29:52 ---> 79ab2e1ae967 07:29:52 Successfully built 79ab2e1ae967 07:29:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:52 + docker inspect -f . ci-base-image-arm64 07:29:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:52 prd-ubuntu20.04-docker-arm64-4c-16g-17265 does not seem to be running inside a container 07:29:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:29:54 $ docker top 48e549b063e35e2dd1b4a37187bd51dc63bba6e24032ab7f479a0b0850e4d9ae -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:54 + go version 07:29:54 go version go1.20.2 linux/arm64 [Pipeline] } 07:29:54 $ docker stop --time=1 48e549b063e35e2dd1b4a37187bd51dc63bba6e24032ab7f479a0b0850e4d9ae 07:29:56 $ docker rm -f --volumes 48e549b063e35e2dd1b4a37187bd51dc63bba6e24032ab7f479a0b0850e4d9ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:57 + docker inspect -f . ci-base-image-arm64 07:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:57 prd-ubuntu20.04-docker-arm64-4c-16g-17265 does not seem to be running inside a container 07:29:57 $ 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 ******** -e ******** ci-base-image-arm64 cat 07:29:58 $ docker top f8d0ce6b4c8cd22cde0f5eb233882d146789438cb113b82d7692801a0129d324 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:59 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 07:30:00 + make test 07:30:00 go test ./... -coverprofile=coverage.out ./... 07:30:39 ? github.com/edgexfoundry/device-rest-go [no test files] 07:32:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:32:33 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements 07:32:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:32:33 go vet ./... 07:33:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:33:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:33:12 ./bin/test-attribution-txt.sh [Pipeline] echo 07:33:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:33:12 $ docker stop --time=1 f8d0ce6b4c8cd22cde0f5eb233882d146789438cb113b82d7692801a0129d324 07:33:14 $ docker rm -f --volumes f8d0ce6b4c8cd22cde0f5eb233882d146789438cb113b82d7692801a0129d324 [Pipeline] // withDockerContainer [Pipeline] sh 07:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:33:16 Warning: overwriting stash ‘coverage-report’ 07:33:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:33:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:33:17 + ls -al . 07:33:17 total 180 07:33:17 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:30 . 07:33:17 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:27 .. 07:33:17 -rw-rw-r-- 1 jenkins jenkins 151 May 30 07:27 .dockerignore 07:33:17 drwxrwxr-x 8 jenkins jenkins 4096 May 30 07:27 .git 07:33:17 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:27 .github 07:33:17 -rw-rw-r-- 1 jenkins jenkins 329 May 30 07:27 .gitignore 07:33:17 -rw-rw-r-- 1 jenkins jenkins 41 May 30 07:27 .golangci.yml 07:33:17 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 07:27 Attribution.txt 07:33:17 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 07:27 CHANGELOG.md 07:33:17 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 07:27 Dockerfile 07:33:17 -rw-rw-r-- 1 jenkins jenkins 677 May 30 07:27 GOVERNANCE.md 07:33:17 -rw-rw-r-- 1 jenkins jenkins 680 May 30 07:27 Jenkinsfile 07:33:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 07:27 LICENSE 07:33:17 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 07:27 Makefile 07:33:17 -rw-rw-r-- 1 jenkins jenkins 620 May 30 07:27 OWNERS.md 07:33:17 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 07:27 README.md 07:33:17 -rw-rw-r-- 1 jenkins jenkins 5 May 30 07:24 VERSION 07:33:17 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:27 bin 07:33:17 drwxrwxr-x 3 jenkins jenkins 4096 May 30 07:27 cmd 07:33:17 -rw-r--r-- 1 jenkins jenkins 14663 May 30 07:32 coverage.out 07:33:17 drwxrwxr-x 2 jenkins jenkins 4096 May 30 07:27 driver 07:33:17 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 07:27 go.mod 07:33:17 -rw-rw-r-- 1 jenkins jenkins 31232 May 30 07:27 go.sum 07:33:17 drwxrwxr-x 4 jenkins jenkins 4096 May 30 07:27 snap 07:33:17 -rw-rw-r-- 1 jenkins jenkins 713 May 30 07:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:33:18 + 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=e31afc5f6ae47972aac87410fd8eedcd7517dea9 --label arch=arm64 --label version=0.0.0 . 07:33:18 Sending build context to Docker daemon 157.2kB 07:33:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:33:18 Step 2/25 : FROM ${BASE} AS builder 07:33:18 ---> 79ab2e1ae967 07:33:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:33:18 ---> Running in 48eff38209dd 07:33:18 Removing intermediate container 48eff38209dd 07:33:18 ---> 66f150fb0258 07:33:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:33:18 ---> Running in 23c4fd385343 07:33:19 Removing intermediate container 23c4fd385343 07:33:19 ---> c97ef62fdeba 07:33:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:33:19 ---> Running in bdbd76a58e05 07:33:19 Removing intermediate container bdbd76a58e05 07:33:19 ---> e71aada40f7a 07:33:19 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:33:19 ---> Running in e54c2fbe7a42 07:33:20 Removing intermediate container e54c2fbe7a42 07:33:20 ---> 361e364503d1 07:33:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:33:20 ---> Running in ccde2495f0be 07:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:33:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:33:24 OK: 268 MiB in 57 packages 07:33:25 Removing intermediate container ccde2495f0be 07:33:25 ---> 541cd1137cf3 07:33:25 Step 8/25 : WORKDIR /device-rest-go 07:33:25 ---> Running in 19c26a3da0ae 07:33:26 Removing intermediate container 19c26a3da0ae 07:33:26 ---> 8c10f5904646 07:33:26 Step 9/25 : COPY go.mod vendor* ./ 07:33:27 ---> 949763691c89 07:33:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:33:27 ---> Running in 7e269ec2c271 07:33:31 Removing intermediate container 7e269ec2c271 07:33:31 ---> 9dfe4d1c5c1f 07:33:31 Step 11/25 : COPY . . 07:33:32 ---> 9c27456d3372 07:33:32 Step 12/25 : RUN $MAKE 07:33:32 ---> Running in ea22437b098f 07:33:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:35:56 Removing intermediate container ea22437b098f 07:35:56 ---> 1e5c12687a9a 07:35:56 Step 13/25 : FROM alpine:3.17 07:35:56 3.17: Pulling from library/alpine 07:35:56 c41833b44d91: Already exists 07:35:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:35:56 Status: Downloaded newer image for alpine:3.17 07:35:56 ---> 51e60588ff2c 07:35:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:35:56 ---> Running in d1496c0c9cca 07:35:56 Removing intermediate container d1496c0c9cca 07:35:56 ---> 579cade43338 07:35:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:35:56 ---> Running in ce8242730462 07:35:56 Removing intermediate container ce8242730462 07:35:56 ---> c4d23f0247c9 07:35:56 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:35:56 ---> Running in a7a5f1a01a92 07:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:35:56 (1/1) Installing dumb-init (1.2.5-r2) 07:35:56 Executing busybox-1.35.0-r29.trigger 07:35:56 OK: 8 MiB in 16 packages 07:35:56 Removing intermediate container a7a5f1a01a92 07:35:56 ---> 94f3465beec0 07:35:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:35:56 ---> 3d6680c00e69 07:35:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:35:56 ---> a179b761e791 07:35:56 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:35:56 ---> 26678a191f33 07:35:56 Step 20/25 : EXPOSE 59986 07:35:56 ---> Running in f9f587d87792 07:35:56 Removing intermediate container f9f587d87792 07:35:56 ---> 3da9f4d936d2 07:35:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:35:56 ---> Running in 44e8e0b8f0c0 07:35:56 Removing intermediate container 44e8e0b8f0c0 07:35:56 ---> de4571c11b8f 07:35:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:35:56 ---> Running in 4152e5442143 07:35:56 Removing intermediate container 4152e5442143 07:35:56 ---> 4541ffd0a2ca 07:35:56 Step 23/25 : LABEL arch=arm64 07:35:56 ---> Running in d2b79511d951 07:35:56 Removing intermediate container d2b79511d951 07:35:56 ---> 599ee4db2ea6 07:35:56 Step 24/25 : LABEL git_sha=e31afc5f6ae47972aac87410fd8eedcd7517dea9 07:35:56 ---> Running in 88a7fd902c02 07:35:56 Removing intermediate container 88a7fd902c02 07:35:56 ---> 36c6a73df811 07:35:56 Step 25/25 : LABEL version=0.0.0 07:35:56 ---> Running in 0dc7b62d5c60 07:35:56 Removing intermediate container 0dc7b62d5c60 07:35:56 ---> 63505c5ca4e0 07:35:56 [Warning] One or more build-args [ARCH] were not consumed 07:35:56 Successfully built 63505c5ca4e0 07:35:56 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 07:35:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:56 07:35:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:35:57 arm64: Pulling from edgex-lftools-log-publisher 07:35:57 8998bd30e6a1: Pulling fs layer 07:35:57 04944245beec: Pulling fs layer 07:35:57 699f458cf7ca: Pulling fs layer 07:35:57 765212b225bb: Pulling fs layer 07:35:57 f23df028b6ca: Pulling fs layer 07:35:57 d65c8cfc05b1: Pulling fs layer 07:35:57 2437ff75d9bd: Pulling fs layer 07:35:57 f23df028b6ca: Waiting 07:35:57 d65c8cfc05b1: Waiting 07:35:57 2437ff75d9bd: Waiting 07:35:57 765212b225bb: Waiting 07:35:57 04944245beec: Verifying Checksum 07:35:57 04944245beec: Download complete 07:35:57 765212b225bb: Verifying Checksum 07:35:57 765212b225bb: Download complete 07:35:57 f23df028b6ca: Verifying Checksum 07:35:57 f23df028b6ca: Download complete 07:35:57 d65c8cfc05b1: Verifying Checksum 07:35:57 d65c8cfc05b1: Download complete 07:35:58 699f458cf7ca: Verifying Checksum 07:35:58 699f458cf7ca: Download complete 07:35:58 8998bd30e6a1: Verifying Checksum 07:35:58 8998bd30e6a1: Download complete 07:36:00 2437ff75d9bd: Verifying Checksum 07:36:00 2437ff75d9bd: Download complete 07:36:02 8998bd30e6a1: Pull complete 07:36:02 04944245beec: Pull complete 07:36:03 699f458cf7ca: Pull complete 07:36:03 765212b225bb: Pull complete 07:36:04 f23df028b6ca: Pull complete 07:36:04 d65c8cfc05b1: Pull complete 07:36:19 2437ff75d9bd: Pull complete 07:36:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:36:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-17265 does not seem to be running inside a container 07:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:36:23 $ docker top 11bb5a1184ca9fa94a78adca7a4421264cf0338d3d5bc9957aedfd5f85211a25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:23 ---> job-cost.sh 07:36:23 lf-activate-venv: SKIPPING 07:36:23 INFO: No Stack... 07:36:24 INFO: Retrieving Pricing Info for: v3-standard-4 07:36:25 INFO: Archiving Costs [Pipeline] sh 07:36:25 + cat /w/workspace/device-rest-go/1/archives/cost.csv 07:36:25 + cut -d, -f6 [Pipeline] lock 07:36:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] 07:36:25 Resource [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] did not exist. Created. 07:36:25 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:25 /w/workspace/device-rest-go/1@tmp/durable-a72061a5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:36:26 + echo total: 0.10999999940395355 [Pipeline] stash 07:36:26 Warning: overwriting stash ‘stack-cost’ 07:36:26 Stashed 1 file(s) [Pipeline] } 07:36:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-326-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:26 $ docker stop --time=1 11bb5a1184ca9fa94a78adca7a4421264cf0338d3d5bc9957aedfd5f85211a25 07:36:27 $ docker rm -f --volumes 11bb5a1184ca9fa94a78adca7a4421264cf0338d3d5bc9957aedfd5f85211a25 [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 07:36:28 provisioning config files... 07:36:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/config14485461495581749150tmp [Pipeline] { [Pipeline] sh 07:36:29 + set +x 07:36:29 + curl -s https://codecov.io/bash 07:36:29 + bash -s -- 07:36:29 07:36:29 _____ _ 07:36:29 / ____| | | 07:36:29 | | ___ __| | ___ ___ _____ __ 07:36:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:36:29 | |___| (_) | (_| | __/ (_| (_) \ V / 07:36:29 \_____\___/ \__,_|\___|\___\___/ \_/ 07:36:29 Bash-1.0.6 07:36:29 07:36:29 07:36:29 ==> git version 2.25.1 found 07:36:29 ==> 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 07:36:29 Release-Date: 2020-01-08 07:36:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:36:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:36:29 ==> Jenkins CI detected. 07:36:29 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-326 07:36:29 project root: . 07:36:29 --> token set from env 07:36:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:36:29 ==> Running gcov in . (disable via -X gcov) 07:36:29 ==> Python coveragepy not found 07:36:29 ==> Searching for coverage reports in: 07:36:29 + . 07:36:29 -> Found 1 reports 07:36:29 ==> Detecting git/mercurial file structure 07:36:29 ==> Reading reports 07:36:29 + ./coverage.out bytes=14663 07:36:29 ==> Appending adjustments 07:36:29 https://docs.codecov.io/docs/fixing-reports 07:36:29 + Found adjustments 07:36:29 ==> Gzipping contents 07:36:29 4.0K /tmp/codecov.rdMNBH.gz 07:36:29 ==> Uploading reports 07:36:29 url: https://codecov.io 07:36:29 query: branch=PR-326&commit=e31afc5f6ae47972aac87410fd8eedcd7517dea9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=326&job=&cmd_args= 07:36:29 -> Pinging Codecov 07:36:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-326&commit=e31afc5f6ae47972aac87410fd8eedcd7517dea9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-326%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=326&job=&cmd_args= 07:36:29 -> Uploading to 07:36:29 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/4E5D53B4F1F92C436F7061BF334D961C/e31afc5f6ae47972aac87410fd8eedcd7517dea9/41f8e11e-0aa9-4fd0-a992-a64b7eb190fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T073629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f712b63ed90364756d9f386a292e1d0ece7730d489e0feed849b32ddec96b54e 07:36:29 % Total % Received % Xferd Average Speed Time Time Time Current 07:36:29 Dload Upload Total Spent Left Speed 07:36:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13944 --:--:-- --:--:-- --:--:-- 13944 07:36:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e31afc5f6ae47972aac87410fd8eedcd7517dea9 [Pipeline] } 07:36:29 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 07:36:31 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-326/archives ] 07:36:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-326/archives 07:36:31 total 16 07:36:31 drwxr-xr-x 3 root root 4096 May 30 07:26 . 07:36:31 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:26 .. 07:36:31 drwxr-xr-x 2 root root 4096 May 30 07:26 cost 07:36:31 -rw-r--r-- 1 root root 86 May 30 07:26 cost.csv 07:36:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-326/archives 07:36:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-326/archives 07:36:31 total 16 07:36:31 drwxr-xr-x 3 jenkins jenkins 4096 May 30 07:26 . 07:36:31 drwxrwxr-x 10 jenkins jenkins 4096 May 30 07:26 .. 07:36:31 drwxr-xr-x 2 jenkins jenkins 4096 May 30 07:26 cost 07:36:31 -rw-r--r-- 1 jenkins jenkins 86 May 30 07:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:36:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:36:32 ---> package-listing.sh 07:36:32 ++ facter osfamily 07:36:32 ++ tr '[:upper:]' '[:lower:]' 07:36:33 + OS_FAMILY=debian 07:36:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-326 07:36:33 + START_PACKAGES=/tmp/packages_start.txt 07:36:33 + END_PACKAGES=/tmp/packages_end.txt 07:36:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:36:33 + PACKAGES=/tmp/packages_start.txt 07:36:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-326 ']' 07:36:33 + PACKAGES=/tmp/packages_end.txt 07:36:33 + case "${OS_FAMILY}" in 07:36:33 + dpkg -l 07:36:33 + grep '^ii' 07:36:33 + '[' -f /tmp/packages_start.txt ']' 07:36:33 + '[' -f /tmp/packages_end.txt ']' 07:36:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:36:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-326 ']' 07:36:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-326/archives/ 07:36:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-326/archives/ [Pipeline] echo 07:36:33 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-326/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:36:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:34 prd-ubuntu20.04-docker-8c-8g-17263 does not seem to be running inside a container 07:36:34 $ 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-326/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-326 -v /w/workspace/gexfoundry_device-rest-go_PR-326:/w/workspace/gexfoundry_device-rest-go_PR-326:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-326@tmp:/w/workspace/gexfoundry_device-rest-go_PR-326@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 07:36:34 $ docker top 2a85d59e533497f96caff56ae6e9af9e7d955f1ab4da65b29a4eb2dfde53b8ab -eo pid,comm [Pipeline] { [Pipeline] sh 07:36:34 + touch /tmp/pre-build-complete [Pipeline] sh 07:36:35 + mkdir -p /var/log/sysstat [Pipeline] sh 07:36:35 + ls /var/log/sa-host 07:36:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:36:35 provisioning config files... 07:36:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-326@tmp/config8124540310482306682tmp [Pipeline] { [Pipeline] echo 07:36:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:36:35 ---> create-netrc.sh [Pipeline] } 07:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:36:36 ---> python-tools-install.sh [Pipeline] echo 07:36:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:36:36 ---> sudo-logs.sh 07:36:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:36:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:36:37 ---> job-cost.sh 07:36:37 lf-activate-venv: SKIPPING 07:36:37 DEBUG: total: 0.2199999988079071 07:36:37 INFO: Retrieving Stack Cost... 07:36:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:37 INFO: Archiving Costs [Pipeline] echo 07:36:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:36:38 ---> logs-deploy.sh 07:36:38 lf-activate-venv: SKIPPING 07:36:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-326/1 07:36:38 INFO: archiving workspace using pattern(s): 07:36:39 Archives upload complete. 07:36:39 INFO: archiving logs to Nexus