Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 992684448515685c088dbb89ecd439a371c985c8+1e3f17100cbecc49b07fca8c81a93e30a5261c95 (ac6b888d4fb5687815c6c227b8a88a250271c666) 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-ssh8796969456523419271.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-ssh17175998233684979272.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-327/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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15622559174208676671.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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16015871953773405266.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-ssh17568509619763062076.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-327/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-327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15814260959517833358.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17360 in /w/workspace/gexfoundry_device-rest-go_PR-327 [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-327 # 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 1e3f17100cbecc49b07fca8c81a93e30a5261c95 into PR head commit 992684448515685c088dbb89ecd439a371c985c8 Merge succeeded, producing 992684448515685c088dbb89ecd439a371c985c8 Checking out Revision 992684448515685c088dbb89ecd439a371c985c8 (PR-327) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" 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/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 992684448515685c088dbb89ecd439a371c985c8 # 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 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 992684448515685c088dbb89ecd439a371c985c8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:33 ========================================================= 20:58:33 EdgeX Global Pipelines Version Info 20:58:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:33 ------------------- 20:58:33 stable info: 20:58:33 ------------------- 20:58:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:58:33 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:58:33 Message: update stable to v1.0.249 20:58:34 ------------------- 20:58:34 experimental info: 20:58:34 ------------------- 20:58:34 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:58:34 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 992684448515685c088dbb89ecd439a371c985c8 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9926844 [Pipeline] echo 20:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:36 provisioning config files... 20:58:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/config16985114555804384048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:36 ---> docker-login.sh 20:58:36 nexus3.edgexfoundry.org:10001 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 nexus3.edgexfoundry.org:10002 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 nexus3.edgexfoundry.org:10003 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 nexus3.edgexfoundry.org:10004 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:37 Configure a credential helper to remove this warning. See 20:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:37 20:58:37 Login Succeeded 20:58:37 docker.io 20:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:38 Configure a credential helper to remove this warning. See 20:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:38 20:58:38 Login Succeeded 20:58:38 ---> docker-login.sh ends [Pipeline] } 20:58:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:38 + git rev-list -1 --merges 992684448515685c088dbb89ecd439a371c985c8~1..992684448515685c088dbb89ecd439a371c985c8 [Pipeline] echo 20:58:38 -----------> git rev-list -1 --merges 992684448515685c088dbb89ecd439a371c985c8~1..992684448515685c088dbb89ecd439a371c985c8 992684448515685c088dbb89ecd439a371c985c8 [false] [Pipeline] sh 20:58:39 + git log --format=format:%s -1 992684448515685c088dbb89ecd439a371c985c8 [Pipeline] echo 20:58:39 ========================================================= 20:58:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:39 + git log --format=format:%s -1 992684448515685c088dbb89ecd439a371c985c8 [Pipeline] echo 20:58:39 [semverPrep] GIT_COMMIT: 992684448515685c088dbb89ecd439a371c985c8, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 [Pipeline] echo 20:58:39 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:40 + grep -v github /etc/ssh/ssh_known_hosts 20:58:40 + [ -e /tmp/ssh_known_hosts ] 20:58:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:40 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:40 20:58:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:41 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:41 b85a868b505f: Pulling fs layer 20:58:41 e2be974225ed: Pulling fs layer 20:58:41 339a4e72a1f5: Pulling fs layer 20:58:41 988bab9f4d93: Pulling fs layer 20:58:41 1469e6f7b9e6: Pulling fs layer 20:58:41 eaf3925da568: Pulling fs layer 20:58:41 bab4dde63d76: Pulling fs layer 20:58:41 bde34c3a00c8: Pulling fs layer 20:58:41 b352a97aabf1: Pulling fs layer 20:58:41 4872d77fe225: Pulling fs layer 20:58:41 5851b861e8e6: Pulling fs layer 20:58:41 bde34c3a00c8: Waiting 20:58:41 b352a97aabf1: Waiting 20:58:41 4872d77fe225: Waiting 20:58:41 5851b861e8e6: Waiting 20:58:41 eaf3925da568: Waiting 20:58:41 988bab9f4d93: Waiting 20:58:41 e2be974225ed: Verifying Checksum 20:58:41 e2be974225ed: Download complete 20:58:41 988bab9f4d93: Verifying Checksum 20:58:41 988bab9f4d93: Download complete 20:58:41 1469e6f7b9e6: Verifying Checksum 20:58:41 1469e6f7b9e6: Download complete 20:58:41 eaf3925da568: Verifying Checksum 20:58:41 eaf3925da568: Download complete 20:58:41 339a4e72a1f5: Verifying Checksum 20:58:41 339a4e72a1f5: Download complete 20:58:41 bde34c3a00c8: Download complete 20:58:41 b352a97aabf1: Verifying Checksum 20:58:41 b352a97aabf1: Download complete 20:58:41 4872d77fe225: Verifying Checksum 20:58:41 4872d77fe225: Download complete 20:58:41 5851b861e8e6: Download complete 20:58:41 b85a868b505f: Verifying Checksum 20:58:41 b85a868b505f: Download complete 20:58:41 bab4dde63d76: Verifying Checksum 20:58:41 bab4dde63d76: Download complete 20:58:42 b85a868b505f: Pull complete 20:58:42 e2be974225ed: Pull complete 20:58:43 339a4e72a1f5: Pull complete 20:58:43 988bab9f4d93: Pull complete 20:58:43 1469e6f7b9e6: Pull complete 20:58:43 eaf3925da568: Pull complete 20:58:45 bab4dde63d76: Pull complete 20:58:45 bde34c3a00c8: Pull complete 20:58:45 b352a97aabf1: Pull complete 20:58:45 4872d77fe225: Pull complete 20:58:45 5851b861e8e6: Pull complete 20:58:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:46 prd-ubuntu20.04-docker-8c-8g-17360 does not seem to be running inside a container 20:58:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-327 -v /w/workspace/gexfoundry_device-rest-go_PR-327:/w/workspace/gexfoundry_device-rest-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-327@tmp:/w/workspace/gexfoundry_device-rest-go_PR-327@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 20:58:48 $ docker top 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c -eo pid,comm 20:58:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:58:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:49 [ssh-agent] Looking for ssh-agent implementation... 20:58:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:49 $ docker exec 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c ssh-agent 20:58:49 SSH_AUTH_SOCK=/tmp/ssh-zkWh90vNm9ry/agent.32 20:58:49 SSH_AGENT_PID=38 20:58:49 Running ssh-add (command line suppressed) 20:58:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-327@tmp/private_key_2378631962590016283.key (/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/private_key_2378631962590016283.key) 20:58:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:49 + git tag --points-at HEAD [Pipeline] } 20:58:49 $ docker exec --env ******** --env ******** 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c ssh-agent -k 20:58:49 unset SSH_AUTH_SOCK; 20:58:49 unset SSH_AGENT_PID; 20:58:49 echo Agent pid 38 killed; 20:58:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:50 [ssh-agent] Looking for ssh-agent implementation... 20:58:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:50 $ docker exec 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c ssh-agent 20:58:50 SSH_AUTH_SOCK=/tmp/ssh-5StxKZmkjHPs/agent.70 20:58:50 SSH_AGENT_PID=76 20:58:50 Running ssh-add (command line suppressed) 20:58:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-327@tmp/private_key_6072924171557325825.key (/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/private_key_6072924171557325825.key) 20:58:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:50 + git semver init 20:58:50 2023-05-30 20:58:50,880 [run_init] DEBUG init version:0.0.0 force:False 20:58:50 2023-05-30 20:58:50,881 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-327/.semver 20:58:50 2023-05-30 20:58:50,881 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-327/.semver 20:58:50 2023-05-30 20:58:50,881 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-327/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-327, universal_newlines=False, shell=None, istream=None) 20:58:52 2023-05-30 20:58:51,931 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-327/.git/info/exclude 20:58:52 2023-05-30 20:58:51,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-327/.semver/PR-327 with force:False 20:58:52 2023-05-30 20:58:51,932 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-327/.semver/PR-327 20:58:52 2023-05-30 20:58:51,936 [execute] INFO git cat-file --batch-check 20:58:52 2023-05-30 20:58:51,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-327/.semver, universal_newlines=False, shell=None, istream=) 20:58:52 2023-05-30 20:58:51,942 [execute] INFO git cat-file --batch 20:58:52 2023-05-30 20:58:51,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-327/.semver, universal_newlines=False, shell=None, istream=) 20:58:52 2023-05-30 20:58:51,947 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-327/.semver/PR-327 20:58:52 0.0.0 [Pipeline] } 20:58:52 $ docker exec --env ******** --env ******** 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c ssh-agent -k 20:58:52 unset SSH_AUTH_SOCK; 20:58:52 unset SSH_AGENT_PID; 20:58:52 echo Agent pid 76 killed; 20:58:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:53 + git semver [Pipeline] } 20:58:53 $ docker stop --time=1 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c 20:58:54 $ docker rm -f --volumes 1f9d55d5f1170ef6b9c8ac1e2017f48955bda37d4d5b1338c022bc84cbf8af9c [Pipeline] // withDockerContainer [Pipeline] sh 20:58:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:55 Stashed 1 file(s) [Pipeline] echo 20:58:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:55 provisioning config files... 20:58:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/config10726876506312875537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:56 ---> docker-login.sh 20:58:56 nexus3.edgexfoundry.org:10001 20:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 nexus3.edgexfoundry.org:10002 20:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 nexus3.edgexfoundry.org:10003 20:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 nexus3.edgexfoundry.org:10004 20:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 docker.io 20:58:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 ---> docker-login.sh ends [Pipeline] } 20:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:56 ========================================================= 20:58:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:58:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:57 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:58:57 Sending build context to Docker daemon 10.95MB 20:58:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:58:57 Step 2/12 : FROM ${BASE} AS builder 20:58:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:57 f56be85fc22e: Pulling fs layer 20:58:57 85791d961cd3: Pulling fs layer 20:58:57 d694b5ae8c79: Pulling fs layer 20:58:57 9f32a84ed3da: Pulling fs layer 20:58:57 4d19c01a9841: Pulling fs layer 20:58:57 9325e15d5711: Pulling fs layer 20:58:57 556b6ee489ea: Pulling fs layer 20:58:57 c5a4b2cf53e6: Pulling fs layer 20:58:57 4d19c01a9841: Waiting 20:58:57 9f32a84ed3da: Waiting 20:58:57 9325e15d5711: Waiting 20:58:57 556b6ee489ea: Waiting 20:58:57 c5a4b2cf53e6: Waiting 20:58:57 85791d961cd3: Download complete 20:58:57 9f32a84ed3da: Download complete 20:58:57 4d19c01a9841: Verifying Checksum 20:58:57 4d19c01a9841: Download complete 20:58:57 f56be85fc22e: Verifying Checksum 20:58:57 f56be85fc22e: Download complete 20:58:57 9325e15d5711: Verifying Checksum 20:58:57 9325e15d5711: Download complete 20:58:57 f56be85fc22e: Pull complete 20:58:58 85791d961cd3: Pull complete 20:58:58 c5a4b2cf53e6: Verifying Checksum 20:58:58 c5a4b2cf53e6: Download complete 20:58:58 d694b5ae8c79: Verifying Checksum 20:58:58 d694b5ae8c79: Download complete 20:58:58 556b6ee489ea: Verifying Checksum 20:58:58 556b6ee489ea: Download complete 20:59:01 d694b5ae8c79: Pull complete 20:59:01 9f32a84ed3da: Pull complete 20:59:01 4d19c01a9841: Pull complete 20:59:01 9325e15d5711: Pull complete 20:59:03 556b6ee489ea: Pull complete 20:59:04 c5a4b2cf53e6: Pull complete 20:59:04 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:59:04 ---> c4be618373d6 20:59:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:09 ---> Running in f10624cfcb7e 20:59:10 Removing intermediate container f10624cfcb7e 20:59:10 ---> c4a0cf268eb0 20:59:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:10 ---> Running in 5192ecc8bb9f 20:59:10 Removing intermediate container 5192ecc8bb9f 20:59:10 ---> a0084e0e0e87 20:59:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:10 ---> Running in 3f23450c4066 20:59:10 Removing intermediate container 3f23450c4066 20:59:10 ---> c7e91fa774ce 20:59:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:10 ---> Running in 6fbd6aa2bd74 20:59:10 Removing intermediate container 6fbd6aa2bd74 20:59:10 ---> 8baebd575219 20:59:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:10 ---> Running in fc0d44fa949a 20:59:10 Still waiting to schedule task 20:59:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:59:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:11 (1/4) Installing openssh-keygen (9.1_p1-r3) 20:59:11 (2/4) Installing libedit (20221030.3.1-r0) 20:59:11 (3/4) Installing openssh-client-common (9.1_p1-r3) 20:59:11 (4/4) Installing openssh-client-default (9.1_p1-r3) 20:59:11 Executing busybox-1.35.0-r29.trigger 20:59:11 OK: 269 MiB in 57 packages 20:59:11 Removing intermediate container fc0d44fa949a 20:59:11 ---> 053a45d6fafe 20:59:11 Step 8/12 : WORKDIR /device-rest-go 20:59:11 ---> Running in cdb33c32ea50 20:59:11 Removing intermediate container cdb33c32ea50 20:59:11 ---> 683a92bdec44 20:59:11 Step 9/12 : COPY go.mod vendor* ./ 20:59:11 ---> 3cd3fcdf8ae0 20:59:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:11 ---> Running in 33bca85f51f4 20:59:38 Removing intermediate container 33bca85f51f4 20:59:38 ---> a30f90d5715b 20:59:38 Step 11/12 : COPY . . 20:59:39 ---> ac710b0e154e 20:59:39 Step 12/12 : RUN $MAKE 20:59:39 ---> Running in e9f40d17514b 20:59:39 noop 20:59:39 Removing intermediate container e9f40d17514b 20:59:39 ---> 237048b327c7 20:59:39 Successfully built 237048b327c7 20:59:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:40 + docker inspect -f . ci-base-image-x86_64 20:59:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:40 prd-ubuntu20.04-docker-8c-8g-17360 does not seem to be running inside a container 20:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-327 -v /w/workspace/gexfoundry_device-rest-go_PR-327:/w/workspace/gexfoundry_device-rest-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-327@tmp:/w/workspace/gexfoundry_device-rest-go_PR-327@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 20:59:40 $ docker top f43118ee5c167b1cfb560d3f5ba8aecf448bcd79480c080b12d20edb1b905c02 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:41 + go version 20:59:41 go version go1.20.2 linux/amd64 [Pipeline] } 20:59:41 $ docker stop --time=1 f43118ee5c167b1cfb560d3f5ba8aecf448bcd79480c080b12d20edb1b905c02 20:59:42 $ docker rm -f --volumes f43118ee5c167b1cfb560d3f5ba8aecf448bcd79480c080b12d20edb1b905c02 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:43 + docker inspect -f . ci-base-image-x86_64 20:59:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:43 prd-ubuntu20.04-docker-8c-8g-17360 does not seem to be running inside a container 20:59:43 $ 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-327 -v /w/workspace/gexfoundry_device-rest-go_PR-327:/w/workspace/gexfoundry_device-rest-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-327@tmp:/w/workspace/gexfoundry_device-rest-go_PR-327@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 20:59:43 $ docker top a86aa6c9c64233cbaf73bac7b80ed93fd19fcda9eab0eeec91b177ead2088301 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-327 [Pipeline] fileExists [Pipeline] sh 20:59:44 + make test 20:59:44 go test ./... -coverprofile=coverage.out ./... 20:59:49 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:59 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 32.2% of statements 21:00:04 go vet ./... 21:00:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:07 $ docker stop --time=1 a86aa6c9c64233cbaf73bac7b80ed93fd19fcda9eab0eeec91b177ead2088301 21:00:11 $ docker rm -f --volumes a86aa6c9c64233cbaf73bac7b80ed93fd19fcda9eab0eeec91b177ead2088301 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:13 + ls -al . 21:00:13 total 184 21:00:13 drwxrwxr-x 9 jenkins jenkins 4096 May 30 20:59 . 21:00:13 drwxrwxr-x 4 jenkins jenkins 4096 May 30 20:58 .. 21:00:13 -rw-rw-r-- 1 jenkins jenkins 151 May 30 20:58 .dockerignore 21:00:13 drwxrwxr-x 8 jenkins jenkins 4096 May 30 20:58 .git 21:00:13 drwxrwxr-x 3 jenkins jenkins 4096 May 30 20:58 .github 21:00:13 -rw-rw-r-- 1 jenkins jenkins 329 May 30 20:58 .gitignore 21:00:13 -rw-rw-r-- 1 jenkins jenkins 41 May 30 20:58 .golangci.yml 21:00:13 drwxr-xr-x 3 jenkins jenkins 4096 May 30 20:58 .semver 21:00:13 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 20:58 Attribution.txt 21:00:13 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 20:58 CHANGELOG.md 21:00:13 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 20:58 Dockerfile 21:00:13 -rw-rw-r-- 1 jenkins jenkins 677 May 30 20:58 GOVERNANCE.md 21:00:13 -rw-rw-r-- 1 jenkins jenkins 680 May 30 20:58 Jenkinsfile 21:00:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 20:58 LICENSE 21:00:13 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 20:58 Makefile 21:00:13 -rw-rw-r-- 1 jenkins jenkins 620 May 30 20:58 OWNERS.md 21:00:13 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 20:58 README.md 21:00:13 -rw-rw-r-- 1 jenkins jenkins 5 May 30 20:58 VERSION 21:00:13 drwxrwxr-x 2 jenkins jenkins 4096 May 30 20:58 bin 21:00:13 drwxrwxr-x 3 jenkins jenkins 4096 May 30 20:58 cmd 21:00:13 -rw-r--r-- 1 jenkins jenkins 14663 May 30 20:59 coverage.out 21:00:13 drwxrwxr-x 2 jenkins jenkins 4096 May 30 20:58 driver 21:00:13 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 20:58 go.mod 21:00:13 -rw-rw-r-- 1 jenkins jenkins 31322 May 30 20:58 go.sum 21:00:13 drwxrwxr-x 4 jenkins jenkins 4096 May 30 20:58 snap 21:00:13 -rw-rw-r-- 1 jenkins jenkins 713 May 30 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:13 + 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=992684448515685c088dbb89ecd439a371c985c8 --label arch=amd64 --label version=0.0.0 . 21:00:13 Sending build context to Docker daemon 10.96MB 21:00:13 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:00:13 Step 2/25 : FROM ${BASE} AS builder 21:00:13 ---> 237048b327c7 21:00:13 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:13 ---> Running in c3dfb4006513 21:00:13 Removing intermediate container c3dfb4006513 21:00:13 ---> 809b63a6c030 21:00:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:13 ---> Running in 9f7c4227c029 21:00:13 Removing intermediate container 9f7c4227c029 21:00:13 ---> 61d3b46bcd69 21:00:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:13 ---> Running in d075a5fcc565 21:00:14 Removing intermediate container d075a5fcc565 21:00:14 ---> c55179874c2c 21:00:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:14 ---> Running in cedbb5a79778 21:00:14 Removing intermediate container cedbb5a79778 21:00:14 ---> 9f9bd681ade5 21:00:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:14 ---> Running in 15ac947cb7aa 21:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:14 OK: 269 MiB in 57 packages 21:00:15 Removing intermediate container 15ac947cb7aa 21:00:15 ---> f681ba6d8065 21:00:15 Step 8/25 : WORKDIR /device-rest-go 21:00:15 ---> Running in 8aa514061ed7 21:00:15 Removing intermediate container 8aa514061ed7 21:00:15 ---> b4f5bb2348bd 21:00:15 Step 9/25 : COPY go.mod vendor* ./ 21:00:15 ---> 7dc87db624c2 21:00:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:15 ---> Running in c14c679b71c6 21:00:15 Removing intermediate container c14c679b71c6 21:00:15 ---> d99499b032c2 21:00:15 Step 11/25 : COPY . . 21:00:16 ---> 3b2ad0b10328 21:00:16 Step 12/25 : RUN $MAKE 21:00:16 ---> Running in cd80ff4e74c6 21:00:16 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 21:00:34 Removing intermediate container cd80ff4e74c6 21:00:34 ---> 1efa74235fa2 21:00:34 Step 13/25 : FROM alpine:3.17 21:00:34 3.17: Pulling from library/alpine 21:00:35 f56be85fc22e: Already exists 21:00:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:00:35 Status: Downloaded newer image for alpine:3.17 21:00:35 ---> 9ed4aefc74f6 21:00:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:00:35 ---> Running in dae2ced2e9a8 21:00:35 Removing intermediate container dae2ced2e9a8 21:00:35 ---> f534b40fe26b 21:00:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:00:35 ---> Running in 3461f9722cb3 21:00:35 Removing intermediate container 3461f9722cb3 21:00:35 ---> 1a5a86f63e1d 21:00:35 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:00:35 ---> Running in 2f29c7f7b229 21:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:35 (1/1) Installing dumb-init (1.2.5-r2) 21:00:35 Executing busybox-1.35.0-r29.trigger 21:00:35 OK: 7 MiB in 16 packages 21:00:36 Removing intermediate container 2f29c7f7b229 21:00:36 ---> 754c0d34b3cf 21:00:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:00:37 ---> 49bdaeb4dfb0 21:00:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:00:37 ---> beb346ef3e51 21:00:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:37 ---> 9ef4477d1f75 21:00:37 Step 20/25 : EXPOSE 59986 21:00:37 ---> Running in 6f077304ff01 21:00:37 Removing intermediate container 6f077304ff01 21:00:37 ---> 0c2514ee0602 21:00:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:00:37 ---> Running in a0a36ffaeea4 21:00:37 Removing intermediate container a0a36ffaeea4 21:00:37 ---> 0fb8b8cd807e 21:00:37 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:37 ---> Running in fc96c485acef 21:00:37 Removing intermediate container fc96c485acef 21:00:37 ---> 65570936200e 21:00:37 Step 23/25 : LABEL arch=amd64 21:00:37 ---> Running in 7a62d7abee19 21:00:37 Removing intermediate container 7a62d7abee19 21:00:37 ---> 7538ae4be9e3 21:00:37 Step 24/25 : LABEL git_sha=992684448515685c088dbb89ecd439a371c985c8 21:00:37 ---> Running in 07e05a593a92 21:00:37 Removing intermediate container 07e05a593a92 21:00:37 ---> 4ad0be188ba1 21:00:37 Step 25/25 : LABEL version=0.0.0 21:00:37 ---> Running in ccfd894d21b9 21:00:37 Removing intermediate container ccfd894d21b9 21:00:37 ---> 7ab1f305f3b4 21:00:37 [Warning] One or more build-args [ARCH] were not consumed 21:00:37 Successfully built 7ab1f305f3b4 21:00:37 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 21:00:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:38 21:00:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:39 latest: Pulling from edgex-lftools-log-publisher 21:00:39 5eb5b503b376: Pulling fs layer 21:00:39 5c69ac0246d0: Pulling fs layer 21:00:39 ec43610c2a17: Pulling fs layer 21:00:39 3a2ae6a8a46f: Pulling fs layer 21:00:39 33b1e0a273af: Pulling fs layer 21:00:39 5d3b04190fa2: Pulling fs layer 21:00:39 2f39f015ded8: Pulling fs layer 21:00:39 33b1e0a273af: Waiting 21:00:39 5d3b04190fa2: Waiting 21:00:39 3a2ae6a8a46f: Waiting 21:00:39 2f39f015ded8: Waiting 21:00:39 5c69ac0246d0: Download complete 21:00:39 3a2ae6a8a46f: Verifying Checksum 21:00:39 3a2ae6a8a46f: Download complete 21:00:39 33b1e0a273af: Verifying Checksum 21:00:39 33b1e0a273af: Download complete 21:00:39 ec43610c2a17: Verifying Checksum 21:00:39 ec43610c2a17: Download complete 21:00:39 5d3b04190fa2: Download complete 21:00:39 5eb5b503b376: Verifying Checksum 21:00:39 5eb5b503b376: Download complete 21:00:39 2f39f015ded8: Download complete 21:00:40 5eb5b503b376: Pull complete 21:00:40 5c69ac0246d0: Pull complete 21:00:41 ec43610c2a17: Pull complete 21:00:41 3a2ae6a8a46f: Pull complete 21:00:41 33b1e0a273af: Pull complete 21:00:41 5d3b04190fa2: Pull complete 21:00:45 2f39f015ded8: Pull complete 21:00:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:45 prd-ubuntu20.04-docker-8c-8g-17360 does not seem to be running inside a container 21:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-327 -v /w/workspace/gexfoundry_device-rest-go_PR-327:/w/workspace/gexfoundry_device-rest-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-327@tmp:/w/workspace/gexfoundry_device-rest-go_PR-327@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 21:00:49 $ docker top 7fd18d4e57eb2b960517185821fd9156f578802258f4603cc9508f25be18df6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:49 ---> job-cost.sh 21:00:49 lf-activate-venv: SKIPPING 21:00:49 INFO: No Stack... 21:00:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:50 INFO: Archiving Costs [Pipeline] sh 21:00:50 + cat /w/workspace/gexfoundry_device-rest-go_PR-327/archives/cost.csv 21:00:50 + cut -d, -f6 [Pipeline] lock 21:00:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] 21:00:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] did not exist. Created. 21:00:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:51 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:51 Stashed 1 file(s) [Pipeline] } 21:00:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:51 $ docker stop --time=1 7fd18d4e57eb2b960517185821fd9156f578802258f4603cc9508f25be18df6f 21:00:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17361 in /w/workspace/gexfoundry_device-rest-go_PR-327 21:00:54 $ docker rm -f --volumes 7fd18d4e57eb2b960517185821fd9156f578802258f4603cc9508f25be18df6f [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 21:00:54 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:00:54 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:59 using credential edgex-jenkins-ssh 21:00:59 Cloning the remote Git repository 21:00:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:00:59 > git init /w/workspace/device-rest-go/1 # timeout=10 21:00:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:59 > git --version # timeout=10 21:00:59 > git --version # 'git version 2.25.1' 21:00:59 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:03 Merging remotes/origin/main commit 1e3f17100cbecc49b07fca8c81a93e30a5261c95 into PR head commit 992684448515685c088dbb89ecd439a371c985c8 21:01:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:03 > git config core.sparsecheckout # timeout=10 21:01:03 > git checkout -f 992684448515685c088dbb89ecd439a371c985c8 # timeout=10 21:01:03 Merge succeeded, producing 992684448515685c088dbb89ecd439a371c985c8 21:01:03 Checking out Revision 992684448515685c088dbb89ecd439a371c985c8 (PR-327) 21:01:04 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4" 21:01:04 > git --version # timeout=10 21:01:04 > git --version # 'git version 2.25.1' 21:01:04 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:03 > git remote # timeout=10 21:01:03 > git config --get remote.origin.url # timeout=10 21:01:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:03 > git merge 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 21:01:03 > git rev-parse HEAD^{commit} # timeout=10 21:01:03 > git config core.sparsecheckout # timeout=10 21:01:03 > git checkout -f 992684448515685c088dbb89ecd439a371c985c8 # timeout=10 21:01:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:05 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:05 Dload Upload Total Spent Left Speed 21:01:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 21:01:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:06 + sudo tee /etc/docker/daemon.new 21:01:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:06 { 21:01:06 "registry-mirrors": [ 21:01:06 "https://nexus3.edgexfoundry.org:10001" 21:01:06 ], 21:01:06 "bip": "10.250.0.254/24", 21:01:06 "hosts": [ 21:01:06 "tcp://0.0.0.0:5555", 21:01:06 "unix:///var/run/docker.sock" 21:01:06 ], 21:01:06 "mtu": 1458, 21:01:06 "selinux-enabled": true, 21:01:06 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:06 } [Pipeline] sh 21:01:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:25 provisioning config files... 21:01:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11436950711116566135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:25 ---> docker-login.sh 21:01:25 nexus3.edgexfoundry.org:10001 21:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:26 Configure a credential helper to remove this warning. See 21:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:26 21:01:26 Login Succeeded 21:01:26 nexus3.edgexfoundry.org:10002 21:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:26 Configure a credential helper to remove this warning. See 21:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:26 21:01:26 Login Succeeded 21:01:26 nexus3.edgexfoundry.org:10003 21:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:27 Configure a credential helper to remove this warning. See 21:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:27 21:01:27 Login Succeeded 21:01:27 nexus3.edgexfoundry.org:10004 21:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:27 Configure a credential helper to remove this warning. See 21:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:27 21:01:27 Login Succeeded 21:01:27 docker.io 21:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:27 Configure a credential helper to remove this warning. See 21:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:27 21:01:27 Login Succeeded 21:01:27 ---> docker-login.sh ends [Pipeline] } 21:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:28 ========================================================= 21:01:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:28 + 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 . 21:01:28 Sending build context to Docker daemon 141.8kB 21:01:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:29 Step 2/12 : FROM ${BASE} AS builder 21:01:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:29 c41833b44d91: Pulling fs layer 21:01:29 ed15518f5707: Pulling fs layer 21:01:29 feae8fd75edb: Pulling fs layer 21:01:29 242c74f7c9fa: Pulling fs layer 21:01:29 3cdef696dda3: Pulling fs layer 21:01:29 2ced38df9373: Pulling fs layer 21:01:29 58f1dce35555: Pulling fs layer 21:01:29 242c74f7c9fa: Waiting 21:01:29 3cdef696dda3: Waiting 21:01:29 2ced38df9373: Waiting 21:01:29 58f1dce35555: Waiting 21:01:29 ed15518f5707: Verifying Checksum 21:01:29 ed15518f5707: Download complete 21:01:29 242c74f7c9fa: Verifying Checksum 21:01:29 242c74f7c9fa: Download complete 21:01:29 3cdef696dda3: Verifying Checksum 21:01:29 3cdef696dda3: Download complete 21:01:29 c41833b44d91: Verifying Checksum 21:01:29 c41833b44d91: Download complete 21:01:30 c41833b44d91: Pull complete 21:01:30 58f1dce35555: Verifying Checksum 21:01:30 58f1dce35555: Download complete 21:01:30 ed15518f5707: Pull complete 21:01:31 feae8fd75edb: Verifying Checksum 21:01:31 feae8fd75edb: Download complete 21:01:31 2ced38df9373: Verifying Checksum 21:01:31 2ced38df9373: Download complete 21:01:42 feae8fd75edb: Pull complete 21:01:42 242c74f7c9fa: Pull complete 21:01:42 3cdef696dda3: Pull complete 21:01:49 2ced38df9373: Pull complete 21:01:52 58f1dce35555: Pull complete 21:01:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:01:52 ---> fadd8f120f05 21:01:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:53 ---> Running in af2e81ec7777 21:01:53 Removing intermediate container af2e81ec7777 21:01:53 ---> 542307841549 21:01:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:53 ---> Running in ab7f75c41ca2 21:01:53 Removing intermediate container ab7f75c41ca2 21:01:53 ---> 85e810f3d800 21:01:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:54 ---> Running in 2548d11eb260 21:01:54 Removing intermediate container 2548d11eb260 21:01:54 ---> 47d6afaf2d29 21:01:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:54 ---> Running in 004b26d6c7da 21:01:54 Removing intermediate container 004b26d6c7da 21:01:54 ---> d19938478b3a 21:01:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:54 ---> Running in 937570782c46 21:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:57 (1/4) Installing openssh-keygen (9.1_p1-r3) 21:01:57 (2/4) Installing libedit (20221030.3.1-r0) 21:01:57 (3/4) Installing openssh-client-common (9.1_p1-r3) 21:01:57 (4/4) Installing openssh-client-default (9.1_p1-r3) 21:01:57 Executing busybox-1.35.0-r29.trigger 21:01:57 OK: 268 MiB in 57 packages 21:01:58 Removing intermediate container 937570782c46 21:01:58 ---> f64390a90b97 21:01:58 Step 8/12 : WORKDIR /device-rest-go 21:01:58 ---> Running in a6cf6b00a0ea 21:01:58 Removing intermediate container a6cf6b00a0ea 21:01:58 ---> edfc59fec206 21:01:58 Step 9/12 : COPY go.mod vendor* ./ 21:01:59 ---> 8f6262dc5138 21:01:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:59 ---> Running in 0a8aa8305485 21:03:07 Removing intermediate container 0a8aa8305485 21:03:07 ---> 0a58b9425222 21:03:07 Step 11/12 : COPY . . 21:03:07 ---> df3425d4cfe0 21:03:07 Step 12/12 : RUN $MAKE 21:03:07 ---> Running in 5d510658a1aa 21:03:07 noop 21:03:07 Removing intermediate container 5d510658a1aa 21:03:07 ---> 03789f62e682 21:03:07 Successfully built 03789f62e682 21:03:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:07 + docker inspect -f . ci-base-image-arm64 21:03:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:08 prd-ubuntu20.04-docker-arm64-4c-16g-17361 does not seem to be running inside a container 21:03:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:09 $ docker top 454ebf582d0cdbc1f9272d5b95221ea265446e083d96a824e6a05ce3bf82c883 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:10 + go version 21:03:10 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:10 $ docker stop --time=1 454ebf582d0cdbc1f9272d5b95221ea265446e083d96a824e6a05ce3bf82c883 21:03:11 $ docker rm -f --volumes 454ebf582d0cdbc1f9272d5b95221ea265446e083d96a824e6a05ce3bf82c883 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:12 + docker inspect -f . ci-base-image-arm64 21:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:13 prd-ubuntu20.04-docker-arm64-4c-16g-17361 does not seem to be running inside a container 21:03:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:17 $ docker top dbb540c76dc2a852fe69e312681a1d36fcf29c451105e1a217b3721ff75a9c04 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:17 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:18 + make test 21:03:18 go test ./... -coverprofile=coverage.out ./... 21:03:50 ? github.com/edgexfoundry/device-rest-go [no test files] 21:05:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:05:42 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 32.2% of statements 21:05:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:42 go vet ./... 21:06:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:14 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:14 $ docker stop --time=1 dbb540c76dc2a852fe69e312681a1d36fcf29c451105e1a217b3721ff75a9c04 21:06:16 $ docker rm -f --volumes dbb540c76dc2a852fe69e312681a1d36fcf29c451105e1a217b3721ff75a9c04 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:17 Warning: overwriting stash ‘coverage-report’ 21:06:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:18 + ls -al . 21:06:18 total 180 21:06:18 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:03 . 21:06:18 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:00 .. 21:06:18 -rw-rw-r-- 1 jenkins jenkins 151 May 30 21:01 .dockerignore 21:06:18 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:01 .git 21:06:18 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:01 .github 21:06:18 -rw-rw-r-- 1 jenkins jenkins 329 May 30 21:01 .gitignore 21:06:18 -rw-rw-r-- 1 jenkins jenkins 41 May 30 21:01 .golangci.yml 21:06:18 -rw-rw-r-- 1 jenkins jenkins 9331 May 30 21:01 Attribution.txt 21:06:18 -rw-rw-r-- 1 jenkins jenkins 15709 May 30 21:01 CHANGELOG.md 21:06:18 -rw-rw-r-- 1 jenkins jenkins 1578 May 30 21:01 Dockerfile 21:06:18 -rw-rw-r-- 1 jenkins jenkins 677 May 30 21:01 GOVERNANCE.md 21:06:18 -rw-rw-r-- 1 jenkins jenkins 680 May 30 21:01 Jenkinsfile 21:06:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 21:01 LICENSE 21:06:18 -rw-rw-r-- 1 jenkins jenkins 1779 May 30 21:01 Makefile 21:06:18 -rw-rw-r-- 1 jenkins jenkins 620 May 30 21:01 OWNERS.md 21:06:18 -rw-rw-r-- 1 jenkins jenkins 15827 May 30 21:01 README.md 21:06:18 -rw-rw-r-- 1 jenkins jenkins 5 May 30 20:58 VERSION 21:06:18 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:01 bin 21:06:18 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:01 cmd 21:06:18 -rw-r--r-- 1 jenkins jenkins 14663 May 30 21:05 coverage.out 21:06:18 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:01 driver 21:06:18 -rw-rw-r-- 1 jenkins jenkins 3354 May 30 21:01 go.mod 21:06:18 -rw-rw-r-- 1 jenkins jenkins 31322 May 30 21:01 go.sum 21:06:18 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:01 snap 21:06:18 -rw-rw-r-- 1 jenkins jenkins 713 May 30 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:19 + 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=992684448515685c088dbb89ecd439a371c985c8 --label arch=arm64 --label version=0.0.0 . 21:06:19 Sending build context to Docker daemon 157.2kB 21:06:19 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:06:19 Step 2/25 : FROM ${BASE} AS builder 21:06:19 ---> 03789f62e682 21:06:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:06:19 ---> Running in 31ea40b66104 21:06:19 Removing intermediate container 31ea40b66104 21:06:19 ---> eeb501d8203a 21:06:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:20 ---> Running in 53ed4185b99d 21:06:20 Removing intermediate container 53ed4185b99d 21:06:20 ---> 9a4b530c3df0 21:06:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:20 ---> Running in 2b08607067f2 21:06:20 Removing intermediate container 2b08607067f2 21:06:20 ---> 57eb5590017a 21:06:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:06:20 ---> Running in 3ff4a6fd5345 21:06:21 Removing intermediate container 3ff4a6fd5345 21:06:21 ---> 28ef2b1bf847 21:06:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:21 ---> Running in 5aafc89e16dc 21:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:23 OK: 268 MiB in 57 packages 21:06:24 Removing intermediate container 5aafc89e16dc 21:06:24 ---> 91e75e658142 21:06:24 Step 8/25 : WORKDIR /device-rest-go 21:06:24 ---> Running in 245b359609ee 21:06:24 Removing intermediate container 245b359609ee 21:06:24 ---> 650cc0fd9016 21:06:24 Step 9/25 : COPY go.mod vendor* ./ 21:06:25 ---> cdfb058adfda 21:06:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:25 ---> Running in a61afdc9bc10 21:06:28 Removing intermediate container a61afdc9bc10 21:06:28 ---> 60e92c892560 21:06:28 Step 11/25 : COPY . . 21:06:28 ---> 9c01f28a6f12 21:06:28 Step 12/25 : RUN $MAKE 21:06:28 ---> Running in a74ccfdf3960 21:06:29 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 21:08:35 Removing intermediate container a74ccfdf3960 21:08:35 ---> 74798676bf1b 21:08:35 Step 13/25 : FROM alpine:3.17 21:08:35 3.17: Pulling from library/alpine 21:08:35 c41833b44d91: Already exists 21:08:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:08:35 Status: Downloaded newer image for alpine:3.17 21:08:35 ---> 51e60588ff2c 21:08:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:35 ---> Running in 71f798aa79f6 21:08:35 Removing intermediate container 71f798aa79f6 21:08:35 ---> 3d4f9f28121c 21:08:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:08:35 ---> Running in 5ee5cddd2faf 21:08:35 Removing intermediate container 5ee5cddd2faf 21:08:35 ---> fbddb54363b2 21:08:35 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:08:35 ---> Running in db8c8d9d90c2 21:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:35 (1/1) Installing dumb-init (1.2.5-r2) 21:08:35 Executing busybox-1.35.0-r29.trigger 21:08:35 OK: 8 MiB in 16 packages 21:08:39 Removing intermediate container db8c8d9d90c2 21:08:39 ---> 6200baca8518 21:08:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:08:40 ---> 9775f4fdc4f2 21:08:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:08:41 ---> cd5039d519e7 21:08:41 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:08:41 ---> 063feaa1fd08 21:08:41 Step 20/25 : EXPOSE 59986 21:08:42 ---> Running in 19c90404c17a 21:08:42 Removing intermediate container 19c90404c17a 21:08:42 ---> a1ba29cf26f5 21:08:42 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:08:42 ---> Running in 69e83e9b5441 21:08:42 Removing intermediate container 69e83e9b5441 21:08:42 ---> 9d559273eb5a 21:08:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:42 ---> Running in 13147bb7731c 21:08:42 Removing intermediate container 13147bb7731c 21:08:42 ---> fb966c8be8fb 21:08:42 Step 23/25 : LABEL arch=arm64 21:08:43 ---> Running in b5203df16ca6 21:08:43 Removing intermediate container b5203df16ca6 21:08:43 ---> e1b7ac29df31 21:08:43 Step 24/25 : LABEL git_sha=992684448515685c088dbb89ecd439a371c985c8 21:08:43 ---> Running in 2da415b43f25 21:08:43 Removing intermediate container 2da415b43f25 21:08:43 ---> 68fc55f02d21 21:08:43 Step 25/25 : LABEL version=0.0.0 21:08:43 ---> Running in dd154192bcb6 21:08:43 Removing intermediate container dd154192bcb6 21:08:43 ---> 566064f7ae7e 21:08:43 [Warning] One or more build-args [ARCH] were not consumed 21:08:43 Successfully built 566064f7ae7e 21:08:43 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 21:08:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:44 21:08:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:45 arm64: Pulling from edgex-lftools-log-publisher 21:08:45 8998bd30e6a1: Pulling fs layer 21:08:45 04944245beec: Pulling fs layer 21:08:45 699f458cf7ca: Pulling fs layer 21:08:45 765212b225bb: Pulling fs layer 21:08:45 f23df028b6ca: Pulling fs layer 21:08:45 d65c8cfc05b1: Pulling fs layer 21:08:45 2437ff75d9bd: Pulling fs layer 21:08:45 765212b225bb: Waiting 21:08:45 2437ff75d9bd: Waiting 21:08:45 f23df028b6ca: Waiting 21:08:45 d65c8cfc05b1: Waiting 21:08:45 04944245beec: Verifying Checksum 21:08:45 04944245beec: Download complete 21:08:45 765212b225bb: Verifying Checksum 21:08:45 765212b225bb: Download complete 21:08:45 f23df028b6ca: Verifying Checksum 21:08:45 f23df028b6ca: Download complete 21:08:45 d65c8cfc05b1: Verifying Checksum 21:08:45 d65c8cfc05b1: Download complete 21:08:45 699f458cf7ca: Verifying Checksum 21:08:45 699f458cf7ca: Download complete 21:08:46 8998bd30e6a1: Verifying Checksum 21:08:46 8998bd30e6a1: Download complete 21:08:48 2437ff75d9bd: Verifying Checksum 21:08:48 2437ff75d9bd: Download complete 21:08:50 8998bd30e6a1: Pull complete 21:08:50 04944245beec: Pull complete 21:08:51 699f458cf7ca: Pull complete 21:08:51 765212b225bb: Pull complete 21:08:52 f23df028b6ca: Pull complete 21:08:52 d65c8cfc05b1: Pull complete 21:09:07 2437ff75d9bd: Pull complete 21:09:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:08 prd-ubuntu20.04-docker-arm64-4c-16g-17361 does not seem to be running inside a container 21:09:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:11 $ docker top 57063df9e3cc69df40c0da8b709c4ee0fe9bcf101a5077fc1818189de7851cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:12 ---> job-cost.sh 21:09:12 lf-activate-venv: SKIPPING 21:09:12 INFO: No Stack... 21:09:12 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:13 INFO: Archiving Costs [Pipeline] sh 21:09:13 + + catcut -d, -f6 21:09:13 /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:09:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] 21:09:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] did not exist. Created. 21:09:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:14 /w/workspace/device-rest-go/1@tmp/durable-519a3018/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:14 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:14 Warning: overwriting stash ‘stack-cost’ 21:09:14 Stashed 1 file(s) [Pipeline] } 21:09:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:14 $ docker stop --time=1 57063df9e3cc69df40c0da8b709c4ee0fe9bcf101a5077fc1818189de7851cb9 21:09:16 $ docker rm -f --volumes 57063df9e3cc69df40c0da8b709c4ee0fe9bcf101a5077fc1818189de7851cb9 [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 21:09:17 provisioning config files... 21:09:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/config9650684013117257823tmp [Pipeline] { [Pipeline] sh 21:09:17 + set +x 21:09:17 + curl -s https://codecov.io/bash 21:09:17 + bash -s -- 21:09:17 21:09:17 _____ _ 21:09:17 / ____| | | 21:09:17 | | ___ __| | ___ ___ _____ __ 21:09:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:17 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:17 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:17 Bash-1.0.6 21:09:17 21:09:17 21:09:17 ==> git version 2.25.1 found 21:09:17 ==> 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 21:09:17 Release-Date: 2020-01-08 21:09:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:17 ==> Jenkins CI detected. 21:09:17 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-327 21:09:17 project root: . 21:09:17 --> token set from env 21:09:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:17 ==> Running gcov in . (disable via -X gcov) 21:09:17 ==> Python coveragepy not found 21:09:17 ==> Searching for coverage reports in: 21:09:17 + . 21:09:18 -> Found 1 reports 21:09:18 ==> Detecting git/mercurial file structure 21:09:18 ==> Reading reports 21:09:18 + ./coverage.out bytes=14663 21:09:18 ==> Appending adjustments 21:09:18 https://docs.codecov.io/docs/fixing-reports 21:09:18 + Found adjustments 21:09:18 ==> Gzipping contents 21:09:18 4.0K /tmp/codecov.3O4V7I.gz 21:09:18 ==> Uploading reports 21:09:18 url: https://codecov.io 21:09:18 query: branch=PR-327&commit=992684448515685c088dbb89ecd439a371c985c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=327&job=&cmd_args= 21:09:18 -> Pinging Codecov 21:09:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-327&commit=992684448515685c088dbb89ecd439a371c985c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=327&job=&cmd_args= 21:09:18 -> Uploading to 21:09:18 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/4E5D53B4F1F92C436F7061BF334D961C/992684448515685c088dbb89ecd439a371c985c8/a10ffc48-5c5d-45b8-852d-ce923793ac50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T210917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93de2076e898590ff9b34d68d7c5b4a27271bb33cc70baead7cdeab991465d70 21:09:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:18 Dload Upload Total Spent Left Speed 21:09:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13210 --:--:-- --:--:-- --:--:-- 13210 21:09:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/992684448515685c088dbb89ecd439a371c985c8 [Pipeline] } 21:09:18 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 21:09:20 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-327/archives ] 21:09:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-327/archives 21:09:20 total 16 21:09:20 drwxr-xr-x 3 root root 4096 May 30 21:00 . 21:09:20 drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:00 .. 21:09:20 drwxr-xr-x 2 root root 4096 May 30 21:00 cost 21:09:20 -rw-r--r-- 1 root root 86 May 30 21:00 cost.csv 21:09:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-327/archives 21:09:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-327/archives 21:09:20 total 16 21:09:20 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:00 . 21:09:20 drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:00 .. 21:09:20 drwxr-xr-x 2 jenkins jenkins 4096 May 30 21:00 cost 21:09:20 -rw-r--r-- 1 jenkins jenkins 86 May 30 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:21 ---> package-listing.sh 21:09:21 ++ facter osfamily 21:09:21 ++ tr '[:upper:]' '[:lower:]' 21:09:21 + OS_FAMILY=debian 21:09:21 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-327 21:09:21 + START_PACKAGES=/tmp/packages_start.txt 21:09:21 + END_PACKAGES=/tmp/packages_end.txt 21:09:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:21 + PACKAGES=/tmp/packages_start.txt 21:09:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-327 ']' 21:09:21 + PACKAGES=/tmp/packages_end.txt 21:09:21 + case "${OS_FAMILY}" in 21:09:21 + dpkg -l 21:09:21 + grep '^ii' 21:09:21 + '[' -f /tmp/packages_start.txt ']' 21:09:21 + '[' -f /tmp/packages_end.txt ']' 21:09:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-327 ']' 21:09:21 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-327/archives/ 21:09:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-327/archives/ [Pipeline] echo 21:09:21 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:22 prd-ubuntu20.04-docker-8c-8g-17360 does not seem to be running inside a container 21:09:22 $ 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-327/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-327 -v /w/workspace/gexfoundry_device-rest-go_PR-327:/w/workspace/gexfoundry_device-rest-go_PR-327:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-327@tmp:/w/workspace/gexfoundry_device-rest-go_PR-327@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 21:09:22 $ docker top 74c55b404fbdbcc062c5a157501725b6ca42a1abf1c72225f3e601b7eea85e3c -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:23 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:23 + ls /var/log/sa-host 21:09:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:24 provisioning config files... 21:09:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-327@tmp/config12022354556726437099tmp [Pipeline] { [Pipeline] echo 21:09:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:24 ---> create-netrc.sh [Pipeline] } 21:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:24 ---> python-tools-install.sh [Pipeline] echo 21:09:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:25 ---> sudo-logs.sh 21:09:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:25 ---> job-cost.sh 21:09:25 lf-activate-venv: SKIPPING 21:09:25 DEBUG: total: 0.2199999988079071 21:09:25 INFO: Retrieving Stack Cost... 21:09:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:26 INFO: Archiving Costs [Pipeline] echo 21:09:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:26 ---> logs-deploy.sh 21:09:26 lf-activate-venv: SKIPPING 21:09:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-327/1 21:09:26 INFO: archiving workspace using pattern(s): 21:09:27 Archives upload complete. 21:09:27 INFO: archiving logs to Nexus