cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-rest-go Loading trusted files from base branch main at 322050c65873fd50260d8a368346f4ba3310d130 rather than ac822673d4c03ae078a7deab56dafbd30136dfbc Obtained Jenkinsfile from 322050c65873fd50260d8a368346f4ba3310d130 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-ssh5483745482724969516.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-ssh4808589792407516750.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2000613271557373302.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 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-ssh3713600797841943719.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1241948336412622590.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14438 in /w/workspace/gexfoundry_device-rest-go_PR-310 [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-310 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 322050c65873fd50260d8a368346f4ba3310d130 into PR head commit ac822673d4c03ae078a7deab56dafbd30136dfbc Merge succeeded, producing ac822673d4c03ae078a7deab56dafbd30136dfbc Checking out Revision ac822673d4c03ae078a7deab56dafbd30136dfbc (PR-310) > git config core.sparsecheckout # timeout=10 > git checkout -f ac822673d4c03ae078a7deab56dafbd30136dfbc # 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 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ac822673d4c03ae078a7deab56dafbd30136dfbc # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" > git rev-list --no-walk ac822673d4c03ae078a7deab56dafbd30136dfbc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:26:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:26:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:26:52 ========================================================= 04:26:52 EdgeX Global Pipelines Version Info 04:26:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:26:53 ------------------- 04:26:53 stable info: 04:26:53 ------------------- 04:26:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:26:53 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:26:53 Message: update stable to v1.0.249 04:26:54 ------------------- 04:26:54 experimental info: 04:26:54 ------------------- 04:26:54 Commited By: **** collab-it+edgex@linuxfoundation.org 04:26:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:26:54 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-310 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-310 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-310 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ac822673d4c03ae078a7deab56dafbd30136dfbc [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ac82267 [Pipeline] echo 04:26:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:54 provisioning config files... 04:26:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/config7572882255569867115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:55 ---> docker-login.sh 04:26:55 nexus3.edgexfoundry.org:10001 04:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:55 Configure a credential helper to remove this warning. See 04:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:55 04:26:55 Login Succeeded 04:26:55 nexus3.edgexfoundry.org:10002 04:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:55 Configure a credential helper to remove this warning. See 04:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:55 04:26:55 Login Succeeded 04:26:55 nexus3.edgexfoundry.org:10003 04:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:55 Configure a credential helper to remove this warning. See 04:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:55 04:26:55 Login Succeeded 04:26:55 nexus3.edgexfoundry.org:10004 04:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:55 Configure a credential helper to remove this warning. See 04:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:55 04:26:55 Login Succeeded 04:26:55 docker.io 04:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:56 Configure a credential helper to remove this warning. See 04:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:56 04:26:56 Login Succeeded 04:26:56 ---> docker-login.sh ends [Pipeline] } 04:26:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:26:56 + git rev-list -1 --merges ac822673d4c03ae078a7deab56dafbd30136dfbc~1..ac822673d4c03ae078a7deab56dafbd30136dfbc [Pipeline] echo 04:26:56 -----------> git rev-list -1 --merges ac822673d4c03ae078a7deab56dafbd30136dfbc~1..ac822673d4c03ae078a7deab56dafbd30136dfbc ac822673d4c03ae078a7deab56dafbd30136dfbc [false] [Pipeline] sh 04:26:56 + git log --format=format:%s -1 ac822673d4c03ae078a7deab56dafbd30136dfbc [Pipeline] echo 04:26:56 ========================================================= 04:26:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:26:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:57 + git log --format=format:%s -1 ac822673d4c03ae078a7deab56dafbd30136dfbc [Pipeline] echo 04:26:57 [semverPrep] GIT_COMMIT: ac822673d4c03ae078a7deab56dafbd30136dfbc, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 04:26:57 [semverPrep] This is not a build commit. [Pipeline] sh 04:26:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:26:57 + grep -v github /etc/ssh/ssh_known_hosts 04:26:57 + [ -e /tmp/ssh_known_hosts ] 04:26:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:26:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:26:57 + sudo tee -a /etc/ssh/ssh_known_hosts 04:26:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:58 04:26:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:58 0.1.4: Pulling from edgex-devops/py-git-semver 04:26:58 b85a868b505f: Pulling fs layer 04:26:58 e2be974225ed: Pulling fs layer 04:26:58 339a4e72a1f5: Pulling fs layer 04:26:58 988bab9f4d93: Pulling fs layer 04:26:58 1469e6f7b9e6: Pulling fs layer 04:26:58 eaf3925da568: Pulling fs layer 04:26:58 1469e6f7b9e6: Waiting 04:26:58 bab4dde63d76: Pulling fs layer 04:26:58 bde34c3a00c8: Pulling fs layer 04:26:58 b352a97aabf1: Pulling fs layer 04:26:58 4872d77fe225: Pulling fs layer 04:26:58 5851b861e8e6: Pulling fs layer 04:26:58 eaf3925da568: Waiting 04:26:58 4872d77fe225: Waiting 04:26:58 b352a97aabf1: Waiting 04:26:58 bde34c3a00c8: Waiting 04:26:58 5851b861e8e6: Waiting 04:26:58 bab4dde63d76: Waiting 04:26:58 e2be974225ed: Download complete 04:26:58 988bab9f4d93: Download complete 04:26:58 1469e6f7b9e6: Verifying Checksum 04:26:58 1469e6f7b9e6: Download complete 04:26:58 339a4e72a1f5: Verifying Checksum 04:26:58 339a4e72a1f5: Download complete 04:26:58 eaf3925da568: Verifying Checksum 04:26:58 eaf3925da568: Download complete 04:26:58 bde34c3a00c8: Verifying Checksum 04:26:58 bde34c3a00c8: Download complete 04:26:58 b352a97aabf1: Download complete 04:26:58 4872d77fe225: Verifying Checksum 04:26:58 4872d77fe225: Download complete 04:26:58 5851b861e8e6: Verifying Checksum 04:26:58 5851b861e8e6: Download complete 04:26:58 b85a868b505f: Download complete 04:26:58 bab4dde63d76: Download complete 04:26:59 b85a868b505f: Pull complete 04:26:59 e2be974225ed: Pull complete 04:27:00 339a4e72a1f5: Pull complete 04:27:00 988bab9f4d93: Pull complete 04:27:00 1469e6f7b9e6: Pull complete 04:27:00 eaf3925da568: Pull complete 04:27:02 bab4dde63d76: Pull complete 04:27:02 bde34c3a00c8: Pull complete 04:27:02 b352a97aabf1: Pull complete 04:27:02 4872d77fe225: Pull complete 04:27:02 5851b861e8e6: Pull complete 04:27:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:27:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:02 prd-ubuntu20.04-docker-8c-8g-14438 does not seem to be running inside a container 04:27:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-310 -v /w/workspace/gexfoundry_device-rest-go_PR-310:/w/workspace/gexfoundry_device-rest-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-310@tmp:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:27:04 $ docker top 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 -eo pid,comm 04:27:04 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). 04:27:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:04 [ssh-agent] Looking for ssh-agent implementation... 04:27:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:04 $ docker exec 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 ssh-agent 04:27:04 SSH_AUTH_SOCK=/tmp/ssh-u98KUNO7kkbA/agent.33 04:27:04 SSH_AGENT_PID=39 04:27:04 Running ssh-add (command line suppressed) 04:27:04 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-310@tmp/private_key_16780163448192289295.key (/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/private_key_16780163448192289295.key) 04:27:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:04 + git tag --points-at HEAD [Pipeline] } 04:27:04 $ docker exec --env ******** --env ******** 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 ssh-agent -k 04:27:04 unset SSH_AUTH_SOCK; 04:27:04 unset SSH_AGENT_PID; 04:27:04 echo Agent pid 39 killed; 04:27:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:27:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:04 [ssh-agent] Looking for ssh-agent implementation... 04:27:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:05 $ docker exec 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 ssh-agent 04:27:05 SSH_AUTH_SOCK=/tmp/ssh-kfwXyTx8uKpS/agent.70 04:27:05 SSH_AGENT_PID=76 04:27:05 Running ssh-add (command line suppressed) 04:27:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-310@tmp/private_key_17845051635690901749.key (/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/private_key_17845051635690901749.key) 04:27:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:05 + git semver init 04:27:05 2023-05-08 04:27:05,797 [run_init] DEBUG init version:0.0.0 force:False 04:27:05 2023-05-08 04:27:05,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-310/.semver 04:27:05 2023-05-08 04:27:05,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-310/.semver 04:27:05 2023-05-08 04:27:05,798 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-310/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-310, universal_newlines=False, shell=None, istream=None) 04:27:07 2023-05-08 04:27:06,855 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-310/.git/info/exclude 04:27:07 2023-05-08 04:27:06,856 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-310/.semver/PR-310 with force:False 04:27:07 2023-05-08 04:27:06,856 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-310/.semver/PR-310 04:27:07 2023-05-08 04:27:06,860 [execute] INFO git cat-file --batch-check 04:27:07 2023-05-08 04:27:06,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 04:27:07 2023-05-08 04:27:06,868 [execute] INFO git cat-file --batch 04:27:07 2023-05-08 04:27:06,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 04:27:07 2023-05-08 04:27:06,874 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-310/.semver/PR-310 04:27:07 0.0.0 [Pipeline] } 04:27:07 $ docker exec --env ******** --env ******** 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 ssh-agent -k 04:27:07 unset SSH_AUTH_SOCK; 04:27:07 unset SSH_AGENT_PID; 04:27:07 echo Agent pid 76 killed; 04:27:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:07 + git semver [Pipeline] } 04:27:07 $ docker stop --time=1 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 04:27:09 $ docker rm -f --volumes 1b5c933b5337872d2b04f8be4d538966ef9678769ef237d6b6bcc33502dd5378 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:27:09 Stashed 1 file(s) [Pipeline] echo 04:27:09 [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 04:27:10 provisioning config files... 04:27:10 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/config7412406756174046430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:10 ---> docker-login.sh 04:27:10 nexus3.edgexfoundry.org:10001 04:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:10 Configure a credential helper to remove this warning. See 04:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:10 04:27:10 Login Succeeded 04:27:10 nexus3.edgexfoundry.org:10002 04:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:10 Configure a credential helper to remove this warning. See 04:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:10 04:27:10 Login Succeeded 04:27:10 nexus3.edgexfoundry.org:10003 04:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:10 Configure a credential helper to remove this warning. See 04:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:10 04:27:10 Login Succeeded 04:27:10 nexus3.edgexfoundry.org:10004 04:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:10 Configure a credential helper to remove this warning. See 04:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:10 04:27:10 Login Succeeded 04:27:10 docker.io 04:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:10 Configure a credential helper to remove this warning. See 04:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:10 04:27:10 Login Succeeded 04:27:10 ---> docker-login.sh ends [Pipeline] } 04:27:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:10 ========================================================= 04:27:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:27:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:11 + 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 . 04:27:11 Sending build context to Docker daemon 10.91MB 04:27:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:27:11 Step 2/12 : FROM ${BASE} AS builder 04:27:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:27:11 f56be85fc22e: Pulling fs layer 04:27:11 85791d961cd3: Pulling fs layer 04:27:11 d694b5ae8c79: Pulling fs layer 04:27:11 9f32a84ed3da: Pulling fs layer 04:27:11 4d19c01a9841: Pulling fs layer 04:27:11 9325e15d5711: Pulling fs layer 04:27:11 556b6ee489ea: Pulling fs layer 04:27:11 c5a4b2cf53e6: Pulling fs layer 04:27:11 4d19c01a9841: Waiting 04:27:11 9325e15d5711: Waiting 04:27:11 556b6ee489ea: Waiting 04:27:11 c5a4b2cf53e6: Waiting 04:27:11 9f32a84ed3da: Waiting 04:27:11 85791d961cd3: Download complete 04:27:11 9f32a84ed3da: Download complete 04:27:11 4d19c01a9841: Verifying Checksum 04:27:11 4d19c01a9841: Download complete 04:27:11 f56be85fc22e: Download complete 04:27:11 9325e15d5711: Verifying Checksum 04:27:11 9325e15d5711: Download complete 04:27:11 f56be85fc22e: Pull complete 04:27:11 85791d961cd3: Pull complete 04:27:11 c5a4b2cf53e6: Verifying Checksum 04:27:11 c5a4b2cf53e6: Download complete 04:27:12 d694b5ae8c79: Verifying Checksum 04:27:12 d694b5ae8c79: Download complete 04:27:12 556b6ee489ea: Verifying Checksum 04:27:12 556b6ee489ea: Download complete 04:27:15 d694b5ae8c79: Pull complete 04:27:15 9f32a84ed3da: Pull complete 04:27:15 4d19c01a9841: Pull complete 04:27:15 9325e15d5711: Pull complete 04:27:17 556b6ee489ea: Pull complete 04:27:18 c5a4b2cf53e6: Pull complete 04:27:18 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:27:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:27:18 ---> c4be618373d6 04:27:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:27:20 ---> Running in f40f7d0da321 04:27:20 Removing intermediate container f40f7d0da321 04:27:20 ---> 9a8ee84159b5 04:27:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:27:20 ---> Running in 8d61058f0d82 04:27:20 Removing intermediate container 8d61058f0d82 04:27:20 ---> 04dbedf1689b 04:27:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:27:20 ---> Running in b278acdca445 04:27:20 Removing intermediate container b278acdca445 04:27:20 ---> 98f5a6c2d742 04:27:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:27:20 ---> Running in 96e82c0ceafa 04:27:20 Removing intermediate container 96e82c0ceafa 04:27:20 ---> 442a23110377 04:27:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:20 ---> Running in df7ec26744ae 04:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:27:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:27:20 (2/4) Installing libedit (20221030.3.1-r0) 04:27:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:27:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:27:20 Executing busybox-1.35.0-r29.trigger 04:27:20 OK: 269 MiB in 57 packages 04:27:21 Removing intermediate container df7ec26744ae 04:27:21 ---> 1616c9cc834a 04:27:21 Step 8/12 : WORKDIR /device-rest-go 04:27:21 ---> Running in b8b8f7845679 04:27:21 Removing intermediate container b8b8f7845679 04:27:21 ---> b3654d7cefcd 04:27:21 Step 9/12 : COPY go.mod vendor* ./ 04:27:21 ---> 3015e267fb37 04:27:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:21 ---> Running in 522833382e2b 04:27:24 Still waiting to schedule task 04:27:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14437’ 04:27:39 Removing intermediate container 522833382e2b 04:27:39 ---> 923b81cefb37 04:27:39 Step 11/12 : COPY . . 04:27:39 ---> fd764238d4bb 04:27:39 Step 12/12 : RUN $MAKE 04:27:39 ---> Running in b243fb65ac3b 04:27:39 noop 04:27:39 Removing intermediate container b243fb65ac3b 04:27:39 ---> ba553f217538 04:27:39 Successfully built ba553f217538 04:27:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:39 + docker inspect -f . ci-base-image-x86_64 04:27:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:39 prd-ubuntu20.04-docker-8c-8g-14438 does not seem to be running inside a container 04:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-310 -v /w/workspace/gexfoundry_device-rest-go_PR-310:/w/workspace/gexfoundry_device-rest-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-310@tmp:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:40 $ docker top 3e14ff54bc85b3e946e1f18de838a21d847a2ff34d2d10fd478d934eed5f8a3e -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:40 + go version 04:27:40 go version go1.20.2 linux/amd64 [Pipeline] } 04:27:40 $ docker stop --time=1 3e14ff54bc85b3e946e1f18de838a21d847a2ff34d2d10fd478d934eed5f8a3e 04:27:41 $ docker rm -f --volumes 3e14ff54bc85b3e946e1f18de838a21d847a2ff34d2d10fd478d934eed5f8a3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:42 + docker inspect -f . ci-base-image-x86_64 04:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:42 prd-ubuntu20.04-docker-8c-8g-14438 does not seem to be running inside a container 04:27:42 $ 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-310 -v /w/workspace/gexfoundry_device-rest-go_PR-310:/w/workspace/gexfoundry_device-rest-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-310@tmp:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:42 $ docker top 8fd36e1578b12cab22757c8c7d66714a0f429a7898d097c535a634d71cf5a233 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-310 [Pipeline] fileExists [Pipeline] sh 04:27:43 + make test 04:27:43 go test ./... -coverprofile=coverage.out ./... 04:27:48 ? github.com/edgexfoundry/device-rest-go [no test files] 04:27:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:27:58 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 04:28:05 go vet ./... 04:28:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:09 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:09 $ docker stop --time=1 8fd36e1578b12cab22757c8c7d66714a0f429a7898d097c535a634d71cf5a233 04:28:10 $ docker rm -f --volumes 8fd36e1578b12cab22757c8c7d66714a0f429a7898d097c535a634d71cf5a233 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:12 + ls -al . 04:28:12 total 184 04:28:12 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:27 . 04:28:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:26 .. 04:28:12 -rw-rw-r-- 1 jenkins jenkins 151 May 8 04:26 .dockerignore 04:28:12 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:27 .git 04:28:12 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:26 .github 04:28:12 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:26 .gitignore 04:28:12 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:26 .golangci.yml 04:28:12 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:27 .semver 04:28:12 -rw-rw-r-- 1 jenkins jenkins 9331 May 8 04:26 Attribution.txt 04:28:12 -rw-rw-r-- 1 jenkins jenkins 13085 May 8 04:26 CHANGELOG.md 04:28:12 -rw-rw-r-- 1 jenkins jenkins 1578 May 8 04:26 Dockerfile 04:28:12 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:26 GOVERNANCE.md 04:28:12 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:26 Jenkinsfile 04:28:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:26 LICENSE 04:28:12 -rw-rw-r-- 1 jenkins jenkins 1779 May 8 04:26 Makefile 04:28:12 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:26 OWNERS.md 04:28:12 -rw-rw-r-- 1 jenkins jenkins 15321 May 8 04:26 README.md 04:28:12 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:27 VERSION 04:28:12 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:26 bin 04:28:12 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:26 cmd 04:28:12 -rw-r--r-- 1 jenkins jenkins 14663 May 8 04:27 coverage.out 04:28:12 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:26 driver 04:28:12 -rw-rw-r-- 1 jenkins jenkins 3402 May 8 04:26 go.mod 04:28:12 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:26 go.sum 04:28:12 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:26 snap 04:28:12 -rw-rw-r-- 1 jenkins jenkins 713 May 8 04:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:12 + 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=ac822673d4c03ae078a7deab56dafbd30136dfbc --label arch=amd64 --label version=0.0.0 . 04:28:12 Sending build context to Docker daemon 10.93MB 04:28:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:28:12 Step 2/25 : FROM ${BASE} AS builder 04:28:12 ---> ba553f217538 04:28:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:28:12 ---> Running in 3a8280ab819f 04:28:12 Removing intermediate container 3a8280ab819f 04:28:12 ---> 099c747f4d07 04:28:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:28:12 ---> Running in cc6cf7dea7b6 04:28:12 Removing intermediate container cc6cf7dea7b6 04:28:12 ---> ef0e8f7d6291 04:28:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:28:12 ---> Running in 83757175cb99 04:28:12 Removing intermediate container 83757175cb99 04:28:12 ---> bde1f70b987b 04:28:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:28:12 ---> Running in 266206f66467 04:28:12 Removing intermediate container 266206f66467 04:28:12 ---> bdb78ab0fe08 04:28:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:13 ---> Running in e094935b13fc 04:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:28:13 OK: 269 MiB in 57 packages 04:28:13 Removing intermediate container e094935b13fc 04:28:13 ---> 17816246cbbd 04:28:13 Step 8/25 : WORKDIR /device-rest-go 04:28:13 ---> Running in da4bf94a8d0c 04:28:13 Removing intermediate container da4bf94a8d0c 04:28:13 ---> 0248b46c7c36 04:28:13 Step 9/25 : COPY go.mod vendor* ./ 04:28:14 ---> ca796fc6e76c 04:28:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:14 ---> Running in b361aa656a1b 04:28:14 Removing intermediate container b361aa656a1b 04:28:14 ---> 871bb42b83c2 04:28:14 Step 11/25 : COPY . . 04:28:14 ---> eb88a5581bf2 04:28:14 Step 12/25 : RUN $MAKE 04:28:14 ---> Running in c9c2ec132869 04:28:15 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 04:28:33 Removing intermediate container c9c2ec132869 04:28:33 ---> 669f12fe0f7c 04:28:33 Step 13/25 : FROM alpine:3.17 04:28:33 3.17: Pulling from library/alpine 04:28:33 f56be85fc22e: Already exists 04:28:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:28:33 Status: Downloaded newer image for alpine:3.17 04:28:33 ---> 9ed4aefc74f6 04:28:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:28:33 ---> Running in 6ba44963408c 04:28:33 Removing intermediate container 6ba44963408c 04:28:33 ---> 980d7e5bb64f 04:28:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:28:33 ---> Running in 43b40da857ba 04:28:33 Removing intermediate container 43b40da857ba 04:28:33 ---> 28be6695bcd7 04:28:33 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:28:33 ---> Running in 794f4d2e6180 04:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:28:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:28:33 (1/1) Installing dumb-init (1.2.5-r2) 04:28:33 Executing busybox-1.35.0-r29.trigger 04:28:33 OK: 7 MiB in 16 packages 04:28:33 Removing intermediate container 794f4d2e6180 04:28:33 ---> 35eb8213578d 04:28:33 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:28:33 ---> a51f4735cb52 04:28:33 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:28:33 ---> cd86247c05f1 04:28:33 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:28:33 ---> aa728053d491 04:28:33 Step 20/25 : EXPOSE 59986 04:28:34 ---> Running in 264a109fe02e 04:28:34 Removing intermediate container 264a109fe02e 04:28:34 ---> 66bc576e3c99 04:28:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:28:34 ---> Running in 19c6c701c37e 04:28:34 Removing intermediate container 19c6c701c37e 04:28:34 ---> 81780ca80314 04:28:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:28:34 ---> Running in 812aa5076c62 04:28:34 Removing intermediate container 812aa5076c62 04:28:34 ---> f411d79ee14e 04:28:34 Step 23/25 : LABEL arch=amd64 04:28:34 ---> Running in 6b21c30b516b 04:28:34 Removing intermediate container 6b21c30b516b 04:28:34 ---> 56896d77e1cb 04:28:34 Step 24/25 : LABEL git_sha=ac822673d4c03ae078a7deab56dafbd30136dfbc 04:28:34 ---> Running in 52ba0904a7e3 04:28:34 Removing intermediate container 52ba0904a7e3 04:28:34 ---> 67c614bb9815 04:28:34 Step 25/25 : LABEL version=0.0.0 04:28:34 ---> Running in 3ddd7678a1bb 04:28:34 Removing intermediate container 3ddd7678a1bb 04:28:34 ---> 2851fd079ff0 04:28:34 [Warning] One or more build-args [ARCH] were not consumed 04:28:34 Successfully built 2851fd079ff0 04:28:34 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 04:28:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:34 04:28:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:35 latest: Pulling from edgex-lftools-log-publisher 04:28:35 5eb5b503b376: Pulling fs layer 04:28:35 5c69ac0246d0: Pulling fs layer 04:28:35 ec43610c2a17: Pulling fs layer 04:28:35 3a2ae6a8a46f: Pulling fs layer 04:28:35 33b1e0a273af: Pulling fs layer 04:28:35 5d3b04190fa2: Pulling fs layer 04:28:35 2f39f015ded8: Pulling fs layer 04:28:35 3a2ae6a8a46f: Waiting 04:28:35 33b1e0a273af: Waiting 04:28:35 5d3b04190fa2: Waiting 04:28:35 2f39f015ded8: Waiting 04:28:35 5c69ac0246d0: Verifying Checksum 04:28:35 5c69ac0246d0: Download complete 04:28:35 3a2ae6a8a46f: Verifying Checksum 04:28:35 3a2ae6a8a46f: Download complete 04:28:35 33b1e0a273af: Verifying Checksum 04:28:35 33b1e0a273af: Download complete 04:28:35 ec43610c2a17: Verifying Checksum 04:28:35 ec43610c2a17: Download complete 04:28:35 5d3b04190fa2: Verifying Checksum 04:28:35 5d3b04190fa2: Download complete 04:28:35 5eb5b503b376: Verifying Checksum 04:28:35 5eb5b503b376: Download complete 04:28:36 2f39f015ded8: Download complete 04:28:36 5eb5b503b376: Pull complete 04:28:36 5c69ac0246d0: Pull complete 04:28:37 ec43610c2a17: Pull complete 04:28:37 3a2ae6a8a46f: Pull complete 04:28:37 33b1e0a273af: Pull complete 04:28:37 5d3b04190fa2: Pull complete 04:28:41 2f39f015ded8: Pull complete 04:28:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:28:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:41 prd-ubuntu20.04-docker-8c-8g-14438 does not seem to be running inside a container 04:28:41 $ 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-310 -v /w/workspace/gexfoundry_device-rest-go_PR-310:/w/workspace/gexfoundry_device-rest-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-310@tmp:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:45 $ docker top 77e40161929f3a72641f72fab4829befcbf5a6cd4fd080583fbd8f272945ec85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:45 ---> job-cost.sh 04:28:45 lf-activate-venv: SKIPPING 04:28:45 INFO: No Stack... 04:28:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:46 INFO: Archiving Costs [Pipeline] sh 04:28:46 + cat /w/workspace/gexfoundry_device-rest-go_PR-310/archives/cost.csv 04:28:46 + cut -d, -f6 [Pipeline] lock 04:28:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] 04:28:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] did not exist. Created. 04:28:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:46 + echo total: 0.2199999988079071 [Pipeline] stash 04:28:46 Stashed 1 file(s) [Pipeline] } 04:28:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:46 $ docker stop --time=1 77e40161929f3a72641f72fab4829befcbf5a6cd4fd080583fbd8f272945ec85 04:28:47 $ docker rm -f --volumes 77e40161929f3a72641f72fab4829befcbf5a6cd4fd080583fbd8f272945ec85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14440 in /w/workspace/gexfoundry_device-rest-go_PR-310 [Pipeline] { [Pipeline] ws 04:29:51 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 04:29:51 The recommended git tool is: git 04:29:56 using credential edgex-jenkins-ssh 04:29:56 Cloning the remote Git repository 04:29:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:29:56 > git init /w/workspace/device-rest-go/2 # timeout=10 04:29:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:29:56 > git --version # timeout=10 04:29:56 > git --version # 'git version 2.25.1' 04:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:29:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:01 Merging remotes/origin/main commit 322050c65873fd50260d8a368346f4ba3310d130 into PR head commit ac822673d4c03ae078a7deab56dafbd30136dfbc 04:30:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:30:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:01 > git config core.sparsecheckout # timeout=10 04:30:01 > git checkout -f ac822673d4c03ae078a7deab56dafbd30136dfbc # timeout=10 04:30:01 > git remote # timeout=10 04:30:01 > git config --get remote.origin.url # timeout=10 04:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:01 > git merge 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 04:30:01 Merge succeeded, producing ac822673d4c03ae078a7deab56dafbd30136dfbc 04:30:01 Checking out Revision ac822673d4c03ae078a7deab56dafbd30136dfbc (PR-310) 04:30:01 > git rev-parse HEAD^{commit} # timeout=10 04:30:01 > git config core.sparsecheckout # timeout=10 04:30:01 > git checkout -f ac822673d4c03ae078a7deab56dafbd30136dfbc # timeout=10 04:30:05 Commit message: "build: Ignore all go-mods except device-sdk-go" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:30:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:05 Dload Upload Total Spent Left Speed 04:30:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:30:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:30:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:30:06 + sudo tee /etc/docker/daemon.new 04:30:06 { 04:30:06 "registry-mirrors": [ 04:30:06 "https://nexus3.edgexfoundry.org:10001" 04:30:06 ], 04:30:06 "bip": "10.250.0.254/24", 04:30:06 "hosts": [ 04:30:06 "tcp://0.0.0.0:5555", 04:30:06 "unix:///var/run/docker.sock" 04:30:06 ], 04:30:06 "mtu": 1458, 04:30:06 "selinux-enabled": true, 04:30:06 "seccomp-profile": "/etc/docker/seccomp.json" 04:30:06 } [Pipeline] sh 04:30:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:30:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:25 provisioning config files... 04:30:25 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7708835998684022893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:26 ---> docker-login.sh 04:30:26 nexus3.edgexfoundry.org:10001 04:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:26 Configure a credential helper to remove this warning. See 04:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:26 04:30:26 Login Succeeded 04:30:26 nexus3.edgexfoundry.org:10002 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:27 Configure a credential helper to remove this warning. See 04:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:27 04:30:27 Login Succeeded 04:30:27 nexus3.edgexfoundry.org:10003 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:27 Configure a credential helper to remove this warning. See 04:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:27 04:30:27 Login Succeeded 04:30:27 nexus3.edgexfoundry.org:10004 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:28 Configure a credential helper to remove this warning. See 04:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:28 04:30:28 Login Succeeded 04:30:28 docker.io 04:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:28 Configure a credential helper to remove this warning. See 04:30:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:28 04:30:28 Login Succeeded 04:30:28 ---> docker-login.sh ends [Pipeline] } 04:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:28 ========================================================= 04:30:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:30:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:29 + 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 . 04:30:29 Sending build context to Docker daemon 139.3kB 04:30:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:30:29 Step 2/12 : FROM ${BASE} AS builder 04:30:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:30:29 c41833b44d91: Pulling fs layer 04:30:29 ed15518f5707: Pulling fs layer 04:30:29 feae8fd75edb: Pulling fs layer 04:30:29 242c74f7c9fa: Pulling fs layer 04:30:29 3cdef696dda3: Pulling fs layer 04:30:29 2ced38df9373: Pulling fs layer 04:30:29 58f1dce35555: Pulling fs layer 04:30:29 242c74f7c9fa: Waiting 04:30:29 3cdef696dda3: Waiting 04:30:29 58f1dce35555: Waiting 04:30:29 ed15518f5707: Verifying Checksum 04:30:29 ed15518f5707: Download complete 04:30:29 242c74f7c9fa: Verifying Checksum 04:30:29 242c74f7c9fa: Download complete 04:30:29 3cdef696dda3: Verifying Checksum 04:30:29 3cdef696dda3: Download complete 04:30:29 c41833b44d91: Verifying Checksum 04:30:29 c41833b44d91: Download complete 04:30:30 c41833b44d91: Pull complete 04:30:31 58f1dce35555: Verifying Checksum 04:30:31 58f1dce35555: Download complete 04:30:31 ed15518f5707: Pull complete 04:30:32 feae8fd75edb: Verifying Checksum 04:30:32 feae8fd75edb: Download complete 04:30:32 2ced38df9373: Verifying Checksum 04:30:32 2ced38df9373: Download complete 04:30:45 feae8fd75edb: Pull complete 04:30:45 242c74f7c9fa: Pull complete 04:30:45 3cdef696dda3: Pull complete 04:30:50 2ced38df9373: Pull complete 04:30:53 58f1dce35555: Pull complete 04:30:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:30:53 ---> fadd8f120f05 04:30:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:30:55 ---> Running in 518dbccc58f3 04:30:55 Removing intermediate container 518dbccc58f3 04:30:55 ---> 70cda3a15fa5 04:30:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:55 ---> Running in 6d87fa9a8e49 04:30:56 Removing intermediate container 6d87fa9a8e49 04:30:56 ---> 1812e3fa447d 04:30:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:30:56 ---> Running in 230dff828e16 04:30:56 Removing intermediate container 230dff828e16 04:30:56 ---> 094b4a582a54 04:30:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:30:56 ---> Running in 0b71587c1cb5 04:30:57 Removing intermediate container 0b71587c1cb5 04:30:57 ---> bd4caca61b58 04:30:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:57 ---> Running in 09d2a4a70570 04:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:30:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:30:59 (2/4) Installing libedit (20221030.3.1-r0) 04:30:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:30:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:30:59 Executing busybox-1.35.0-r29.trigger 04:30:59 OK: 268 MiB in 57 packages 04:31:00 Removing intermediate container 09d2a4a70570 04:31:00 ---> d4a06eba0eb0 04:31:00 Step 8/12 : WORKDIR /device-rest-go 04:31:01 ---> Running in 2e7fc9257213 04:31:01 Removing intermediate container 2e7fc9257213 04:31:01 ---> 347c39f4d263 04:31:01 Step 9/12 : COPY go.mod vendor* ./ 04:31:02 ---> 46b3d8882ec7 04:31:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:02 ---> Running in 3c289cfc2b04 04:32:09 Removing intermediate container 3c289cfc2b04 04:32:09 ---> e8ad6d4dc71c 04:32:09 Step 11/12 : COPY . . 04:32:09 ---> 6f8af9670ff3 04:32:09 Step 12/12 : RUN $MAKE 04:32:09 ---> Running in f0323701579a 04:32:09 noop 04:32:09 Removing intermediate container f0323701579a 04:32:09 ---> e0f1b3bab501 04:32:09 Successfully built e0f1b3bab501 04:32:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:10 + docker inspect -f . ci-base-image-arm64 04:32:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:10 prd-ubuntu20.04-docker-arm64-4c-16g-14440 does not seem to be running inside a container 04:32:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:32:11 $ docker top cfcfcf004a7017b4cf702d2c7ac3df571218774f443fb7125e53861b80549eff -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:12 + go version 04:32:12 go version go1.20.2 linux/arm64 [Pipeline] } 04:32:12 $ docker stop --time=1 cfcfcf004a7017b4cf702d2c7ac3df571218774f443fb7125e53861b80549eff 04:32:14 $ docker rm -f --volumes cfcfcf004a7017b4cf702d2c7ac3df571218774f443fb7125e53861b80549eff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:14 + docker inspect -f . ci-base-image-arm64 04:32:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:15 prd-ubuntu20.04-docker-arm64-4c-16g-14440 does not seem to be running inside a container 04:32:15 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:32:16 $ docker top 442961e8e8c6d92b9ba83dc28dd1fd870545a6c48d27bdd7d123a9a2a8b7084c -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:17 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 04:32:18 + make test 04:32:18 go test ./... -coverprofile=coverage.out ./... 04:32:50 ? github.com/edgexfoundry/device-rest-go [no test files] 04:34:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:34:57 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 32.2% of statements 04:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:57 go vet ./... 04:35:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:29 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:35:30 $ docker stop --time=1 442961e8e8c6d92b9ba83dc28dd1fd870545a6c48d27bdd7d123a9a2a8b7084c 04:35:31 $ docker rm -f --volumes 442961e8e8c6d92b9ba83dc28dd1fd870545a6c48d27bdd7d123a9a2a8b7084c [Pipeline] // withDockerContainer [Pipeline] sh 04:35:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:33 Warning: overwriting stash ‘coverage-report’ 04:35:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:34 + ls -al . 04:35:34 total 180 04:35:34 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:32 . 04:35:34 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:29 .. 04:35:34 -rw-rw-r-- 1 jenkins jenkins 151 May 8 04:30 .dockerignore 04:35:34 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:30 .git 04:35:34 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:30 .github 04:35:34 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:30 .gitignore 04:35:34 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:30 .golangci.yml 04:35:34 -rw-rw-r-- 1 jenkins jenkins 9331 May 8 04:30 Attribution.txt 04:35:34 -rw-rw-r-- 1 jenkins jenkins 13085 May 8 04:30 CHANGELOG.md 04:35:34 -rw-rw-r-- 1 jenkins jenkins 1578 May 8 04:30 Dockerfile 04:35:34 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:30 GOVERNANCE.md 04:35:34 -rw-rw-r-- 1 jenkins jenkins 680 May 8 04:30 Jenkinsfile 04:35:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:30 LICENSE 04:35:34 -rw-rw-r-- 1 jenkins jenkins 1779 May 8 04:30 Makefile 04:35:34 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:30 OWNERS.md 04:35:34 -rw-rw-r-- 1 jenkins jenkins 15321 May 8 04:30 README.md 04:35:34 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:27 VERSION 04:35:34 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:30 bin 04:35:34 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:30 cmd 04:35:34 -rw-r--r-- 1 jenkins jenkins 14663 May 8 04:34 coverage.out 04:35:34 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:30 driver 04:35:34 -rw-rw-r-- 1 jenkins jenkins 3402 May 8 04:30 go.mod 04:35:34 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:30 go.sum 04:35:34 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:30 snap 04:35:34 -rw-rw-r-- 1 jenkins jenkins 713 May 8 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:35 + 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=ac822673d4c03ae078a7deab56dafbd30136dfbc --label arch=arm64 --label version=0.0.0 . 04:35:35 Sending build context to Docker daemon 154.6kB 04:35:35 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:35:35 Step 2/25 : FROM ${BASE} AS builder 04:35:35 ---> e0f1b3bab501 04:35:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:35:35 ---> Running in 57e06a9ec5c5 04:35:35 Removing intermediate container 57e06a9ec5c5 04:35:35 ---> 1d3db1c5262c 04:35:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:35 ---> Running in 5d9c3fe67b13 04:35:36 Removing intermediate container 5d9c3fe67b13 04:35:36 ---> 3ff0e3bdec91 04:35:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:35:36 ---> Running in aaa91f2d4c3b 04:35:36 Removing intermediate container aaa91f2d4c3b 04:35:36 ---> 80a79db20c51 04:35:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:35:36 ---> Running in 48bedcaf99da 04:35:37 Removing intermediate container 48bedcaf99da 04:35:37 ---> 572cc78fcf56 04:35:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:37 ---> Running in eadbe072c036 04:35:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:35:40 OK: 268 MiB in 57 packages 04:35:41 Removing intermediate container eadbe072c036 04:35:41 ---> 6c9a433a9532 04:35:41 Step 8/25 : WORKDIR /device-rest-go 04:35:41 ---> Running in efd980681c8e 04:35:41 Removing intermediate container efd980681c8e 04:35:41 ---> 8e2bbbc9762b 04:35:41 Step 9/25 : COPY go.mod vendor* ./ 04:35:42 ---> 5fbf0b6d05a8 04:35:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:42 ---> Running in aa409ffab56d 04:35:44 Removing intermediate container aa409ffab56d 04:35:44 ---> e9851201f66c 04:35:44 Step 11/25 : COPY . . 04:35:45 ---> 23123f32381c 04:35:45 Step 12/25 : RUN $MAKE 04:35:45 ---> Running in 28f2cbb352ed 04:35:46 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 04:38:38 Removing intermediate container 28f2cbb352ed 04:38:38 ---> 99b5fce9bbc9 04:38:38 Step 13/25 : FROM alpine:3.17 04:38:38 3.17: Pulling from library/alpine 04:38:38 c41833b44d91: Already exists 04:38:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:38:38 Status: Downloaded newer image for alpine:3.17 04:38:38 ---> 51e60588ff2c 04:38:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:38:38 ---> Running in 7fda0c0c3ef9 04:38:38 Removing intermediate container 7fda0c0c3ef9 04:38:38 ---> 348190869424 04:38:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:38:38 ---> Running in 8dedc865010c 04:38:38 Removing intermediate container 8dedc865010c 04:38:38 ---> d583f2d3f5ba 04:38:38 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:38:38 ---> Running in c0a73dc52d0e 04:38:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:38:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:38:38 (1/1) Installing dumb-init (1.2.5-r2) 04:38:38 Executing busybox-1.35.0-r29.trigger 04:38:38 OK: 8 MiB in 16 packages 04:38:38 Removing intermediate container c0a73dc52d0e 04:38:38 ---> 4b404fc3e9d4 04:38:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:38:38 ---> 71ea15065931 04:38:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:38:38 ---> 8880c55c3933 04:38:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:38:38 ---> 22ee143223b0 04:38:38 Step 20/25 : EXPOSE 59986 04:38:38 ---> Running in ef0070485cd5 04:38:38 Removing intermediate container ef0070485cd5 04:38:38 ---> 8cf05e00f397 04:38:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:38:38 ---> Running in 61f956a29b72 04:38:38 Removing intermediate container 61f956a29b72 04:38:38 ---> c45a9c22c141 04:38:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:38:38 ---> Running in eb79e8d6af51 04:38:38 Removing intermediate container eb79e8d6af51 04:38:38 ---> fe2454504c75 04:38:38 Step 23/25 : LABEL arch=arm64 04:38:38 ---> Running in fd007ebb8796 04:38:38 Removing intermediate container fd007ebb8796 04:38:38 ---> b4400bac5639 04:38:38 Step 24/25 : LABEL git_sha=ac822673d4c03ae078a7deab56dafbd30136dfbc 04:38:38 ---> Running in e995e4646118 04:38:38 Removing intermediate container e995e4646118 04:38:38 ---> 7460194e1412 04:38:38 Step 25/25 : LABEL version=0.0.0 04:38:38 ---> Running in 81ee02c1a239 04:38:38 Removing intermediate container 81ee02c1a239 04:38:38 ---> 57f36430ab66 04:38:38 [Warning] One or more build-args [ARCH] were not consumed 04:38:38 Successfully built 57f36430ab66 04:38:38 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 04:38:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:39 04:38:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:38:39 arm64: Pulling from edgex-lftools-log-publisher 04:38:39 8998bd30e6a1: Pulling fs layer 04:38:39 04944245beec: Pulling fs layer 04:38:39 699f458cf7ca: Pulling fs layer 04:38:39 765212b225bb: Pulling fs layer 04:38:39 f23df028b6ca: Pulling fs layer 04:38:39 d65c8cfc05b1: Pulling fs layer 04:38:39 2437ff75d9bd: Pulling fs layer 04:38:39 765212b225bb: Waiting 04:38:39 f23df028b6ca: Waiting 04:38:39 2437ff75d9bd: Waiting 04:38:39 d65c8cfc05b1: Waiting 04:38:39 04944245beec: Download complete 04:38:39 765212b225bb: Download complete 04:38:39 f23df028b6ca: Verifying Checksum 04:38:39 f23df028b6ca: Download complete 04:38:40 d65c8cfc05b1: Verifying Checksum 04:38:40 d65c8cfc05b1: Download complete 04:38:40 699f458cf7ca: Verifying Checksum 04:38:40 699f458cf7ca: Download complete 04:38:40 8998bd30e6a1: Verifying Checksum 04:38:40 8998bd30e6a1: Download complete 04:38:43 2437ff75d9bd: Verifying Checksum 04:38:43 2437ff75d9bd: Download complete 04:38:45 8998bd30e6a1: Pull complete 04:38:45 04944245beec: Pull complete 04:38:46 699f458cf7ca: Pull complete 04:38:47 765212b225bb: Pull complete 04:38:47 f23df028b6ca: Pull complete 04:38:48 d65c8cfc05b1: Pull complete 04:39:03 2437ff75d9bd: Pull complete 04:39:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:39:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:39:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:03 prd-ubuntu20.04-docker-arm64-4c-16g-14440 does not seem to be running inside a container 04:39:03 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:39:06 $ docker top ac6b9a7406c586e3a5075ad0f2947397a439f37ed954b487a8eea3504eefc091 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:07 ---> job-cost.sh 04:39:07 lf-activate-venv: SKIPPING 04:39:07 INFO: No Stack... 04:39:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:39:09 INFO: Archiving Costs [Pipeline] sh 04:39:09 + cat /w/workspace/device-rest-go/2/archives/cost.csv 04:39:09 + cut -d, -f6 [Pipeline] lock 04:39:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] 04:39:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] did not exist. Created. 04:39:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:39:10 /w/workspace/device-rest-go/2@tmp/durable-3424d5de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:39:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:39:11 Warning: overwriting stash ‘stack-cost’ 04:39:11 Stashed 1 file(s) [Pipeline] } 04:39:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-310-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:39:11 $ docker stop --time=1 ac6b9a7406c586e3a5075ad0f2947397a439f37ed954b487a8eea3504eefc091 04:39:13 $ docker rm -f --volumes ac6b9a7406c586e3a5075ad0f2947397a439f37ed954b487a8eea3504eefc091 [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 04:39:13 provisioning config files... 04:39:13 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/config8867918159856768310tmp [Pipeline] { [Pipeline] sh 04:39:13 + set +x 04:39:13 + curl -s https://codecov.io/bash 04:39:13 + bash -s -- 04:39:13 04:39:13 _____ _ 04:39:13 / ____| | | 04:39:13 | | ___ __| | ___ ___ _____ __ 04:39:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:39:13 | |___| (_) | (_| | __/ (_| (_) \ V / 04:39:13 \_____\___/ \__,_|\___|\___\___/ \_/ 04:39:13 Bash-1.0.6 04:39:13 04:39:13 04:39:13 ==> git version 2.25.1 found 04:39:13 ==> 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 04:39:13 Release-Date: 2020-01-08 04:39:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:39:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:39:13 ==> Jenkins CI detected. 04:39:13 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-310 04:39:13 project root: . 04:39:13 --> token set from env 04:39:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:39:13 ==> Running gcov in . (disable via -X gcov) 04:39:13 ==> Python coveragepy not found 04:39:13 ==> Searching for coverage reports in: 04:39:13 + . 04:39:13 -> Found 1 reports 04:39:13 ==> Detecting git/mercurial file structure 04:39:13 ==> Reading reports 04:39:13 + ./coverage.out bytes=14663 04:39:14 ==> Appending adjustments 04:39:14 https://docs.codecov.io/docs/fixing-reports 04:39:14 + Found adjustments 04:39:14 ==> Gzipping contents 04:39:14 4.0K /tmp/codecov.OE1FPC.gz 04:39:14 ==> Uploading reports 04:39:14 url: https://codecov.io 04:39:14 query: branch=PR-310&commit=ac822673d4c03ae078a7deab56dafbd30136dfbc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-310%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=310&job=&cmd_args= 04:39:14 -> Pinging Codecov 04:39:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-310&commit=ac822673d4c03ae078a7deab56dafbd30136dfbc&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-310%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=310&job=&cmd_args= 04:39:14 -> Uploading to 04:39:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/4E5D53B4F1F92C436F7061BF334D961C/ac822673d4c03ae078a7deab56dafbd30136dfbc/1b9334c1-0a65-4c25-b893-32c72bfca53c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T043914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a86284f393f0992ae8e4ea890969748b6dd07b4cb4654b6064cab9c0374748f0 04:39:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:39:14 Dload Upload Total Spent Left Speed 04:39:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12364 --:--:-- --:--:-- --:--:-- 12303 100 2510 0 0 100 2510 0 11255 --:--:-- --:--:-- --:--:-- 11205 04:39:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ac822673d4c03ae078a7deab56dafbd30136dfbc [Pipeline] } 04:39:14 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 04:39:15 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-310/archives ] 04:39:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-310/archives 04:39:15 total 16 04:39:15 drwxr-xr-x 3 root root 4096 May 8 04:28 . 04:39:15 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:28 .. 04:39:15 drwxr-xr-x 2 root root 4096 May 8 04:28 cost 04:39:15 -rw-r--r-- 1 root root 86 May 8 04:28 cost.csv 04:39:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-310/archives 04:39:15 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-310/archives 04:39:15 total 16 04:39:15 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:28 . 04:39:15 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:28 .. 04:39:15 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:28 cost 04:39:15 -rw-r--r-- 1 jenkins jenkins 86 May 8 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:39:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:39:16 ---> package-listing.sh 04:39:16 ++ facter osfamily 04:39:16 ++ tr '[:upper:]' '[:lower:]' 04:39:16 + OS_FAMILY=debian 04:39:16 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-310 04:39:16 + START_PACKAGES=/tmp/packages_start.txt 04:39:16 + END_PACKAGES=/tmp/packages_end.txt 04:39:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:39:16 + PACKAGES=/tmp/packages_start.txt 04:39:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-310 ']' 04:39:16 + PACKAGES=/tmp/packages_end.txt 04:39:16 + case "${OS_FAMILY}" in 04:39:16 + dpkg -l 04:39:16 + grep '^ii' 04:39:16 + '[' -f /tmp/packages_start.txt ']' 04:39:16 + '[' -f /tmp/packages_end.txt ']' 04:39:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:39:16 + '[' /w/workspace/gexfoundry_device-rest-go_PR-310 ']' 04:39:16 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-310/archives/ 04:39:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-310/archives/ [Pipeline] echo 04:39:16 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-310/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:39:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:39:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:39:17 prd-ubuntu20.04-docker-8c-8g-14438 does not seem to be running inside a container 04:39:17 $ 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-310/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-310 -v /w/workspace/gexfoundry_device-rest-go_PR-310:/w/workspace/gexfoundry_device-rest-go_PR-310:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-310@tmp:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:39:17 $ docker top d4ed204408ff94f104eeaec8dd897a9be40cd15565c8418d719f955e74afabc7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:39:18 + mkdir -p /var/log/sysstat [Pipeline] sh 04:39:18 + ls /var/log/sa-host 04:39:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:39:18 provisioning config files... 04:39:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-310@tmp/config3763168501916925582tmp [Pipeline] { [Pipeline] echo 04:39:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:39:19 ---> create-netrc.sh [Pipeline] } 04:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:39:19 ---> python-tools-install.sh [Pipeline] echo 04:39:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:39:19 ---> sudo-logs.sh 04:39:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:39:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:39:20 ---> job-cost.sh 04:39:20 lf-activate-venv: SKIPPING 04:39:20 DEBUG: total: 0.2199999988079071 04:39:20 INFO: Retrieving Stack Cost... 04:39:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:39:21 INFO: Archiving Costs [Pipeline] echo 04:39:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:39:21 ---> logs-deploy.sh 04:39:21 lf-activate-venv: SKIPPING 04:39:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-310/2 04:39:21 INFO: archiving workspace using pattern(s): 04:39:22 Archives upload complete. 04:39:22 INFO: archiving logs to Nexus