Pull request #321 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2861130bd2a44dd95d52b41208a8b36f10f3f92+47b604616574ded3ba804dffb2a679ce0d70252d (87d1b23d5fe4c7b60f99b5fcec8a1a4cc98ccebf) 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-ssh4442601106850066421.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-ssh929751364283829157.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6530804463356271525.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2898396646594713078.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5096925076584172287.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16518054368930964379.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15911 in /w/workspace/gexfoundry_device-rest-go_PR-321 [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-321 # 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/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 47b604616574ded3ba804dffb2a679ce0d70252d into PR head commit d2861130bd2a44dd95d52b41208a8b36f10f3f92 Merge succeeded, producing d2861130bd2a44dd95d52b41208a8b36f10f3f92 Checking out Revision d2861130bd2a44dd95d52b41208a8b36f10f3f92 (PR-321) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:29:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:29:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:29:55 ========================================================= 18:29:55 EdgeX Global Pipelines Version Info 18:29:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d2861130bd2a44dd95d52b41208a8b36f10f3f92 # 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 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2861130bd2a44dd95d52b41208a8b36f10f3f92 # timeout=10 18:29:56 ------------------- 18:29:56 stable info: 18:29:56 ------------------- 18:29:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:29:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:29:56 Message: update stable to v1.0.249 18:29:56 ------------------- 18:29:56 experimental info: 18:29:56 ------------------- 18:29:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:29:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 18:29:56 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:29:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-321 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-321 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-321 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2861130bd2a44dd95d52b41208a8b36f10f3f92 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d286113 [Pipeline] echo 18:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:58 provisioning config files... 18:29:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/config2693146779774990455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:59 ---> docker-login.sh 18:29:59 nexus3.edgexfoundry.org:10001 18:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:59 Configure a credential helper to remove this warning. See 18:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:59 18:29:59 Login Succeeded 18:29:59 nexus3.edgexfoundry.org:10002 18:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:59 Configure a credential helper to remove this warning. See 18:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:59 18:29:59 Login Succeeded 18:29:59 nexus3.edgexfoundry.org:10003 18:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:59 Configure a credential helper to remove this warning. See 18:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:59 18:29:59 Login Succeeded 18:29:59 nexus3.edgexfoundry.org:10004 18:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:00 Configure a credential helper to remove this warning. See 18:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:00 18:30:00 Login Succeeded 18:30:00 docker.io 18:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:00 Configure a credential helper to remove this warning. See 18:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:00 18:30:00 Login Succeeded 18:30:00 ---> docker-login.sh ends [Pipeline] } 18:30:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:30:00 + git rev-list -1 --merges d2861130bd2a44dd95d52b41208a8b36f10f3f92~1..d2861130bd2a44dd95d52b41208a8b36f10f3f92 [Pipeline] echo 18:30:01 -----------> git rev-list -1 --merges d2861130bd2a44dd95d52b41208a8b36f10f3f92~1..d2861130bd2a44dd95d52b41208a8b36f10f3f92 d2861130bd2a44dd95d52b41208a8b36f10f3f92 [false] [Pipeline] sh 18:30:01 + git log --format=format:%s -1 d2861130bd2a44dd95d52b41208a8b36f10f3f92 [Pipeline] echo 18:30:01 ========================================================= 18:30:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:30:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:30:01 + git log --format=format:%s -1 d2861130bd2a44dd95d52b41208a8b36f10f3f92 [Pipeline] echo 18:30:01 [semverPrep] GIT_COMMIT: d2861130bd2a44dd95d52b41208a8b36f10f3f92, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:30:01 [semverPrep] This is not a build commit. [Pipeline] sh 18:30:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:30:02 + grep -v github /etc/ssh/ssh_known_hosts 18:30:02 + [ -e /tmp/ssh_known_hosts ] 18:30:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:30:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:30:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:30:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:30:02 18:30:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:30:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:30:03 b85a868b505f: Pulling fs layer 18:30:03 e2be974225ed: Pulling fs layer 18:30:03 339a4e72a1f5: Pulling fs layer 18:30:03 988bab9f4d93: Pulling fs layer 18:30:03 1469e6f7b9e6: Pulling fs layer 18:30:03 eaf3925da568: Pulling fs layer 18:30:03 bab4dde63d76: Pulling fs layer 18:30:03 bde34c3a00c8: Pulling fs layer 18:30:03 b352a97aabf1: Pulling fs layer 18:30:03 4872d77fe225: Pulling fs layer 18:30:03 5851b861e8e6: Pulling fs layer 18:30:03 eaf3925da568: Waiting 18:30:03 988bab9f4d93: Waiting 18:30:03 5851b861e8e6: Waiting 18:30:03 bab4dde63d76: Waiting 18:30:03 bde34c3a00c8: Waiting 18:30:03 b352a97aabf1: Waiting 18:30:03 1469e6f7b9e6: Waiting 18:30:03 e2be974225ed: Download complete 18:30:03 988bab9f4d93: Download complete 18:30:03 1469e6f7b9e6: Verifying Checksum 18:30:03 1469e6f7b9e6: Download complete 18:30:03 339a4e72a1f5: Verifying Checksum 18:30:03 339a4e72a1f5: Download complete 18:30:03 eaf3925da568: Verifying Checksum 18:30:03 eaf3925da568: Download complete 18:30:03 bde34c3a00c8: Verifying Checksum 18:30:03 bde34c3a00c8: Download complete 18:30:03 b352a97aabf1: Verifying Checksum 18:30:03 b352a97aabf1: Download complete 18:30:03 4872d77fe225: Verifying Checksum 18:30:03 5851b861e8e6: Download complete 18:30:03 b85a868b505f: Verifying Checksum 18:30:03 b85a868b505f: Download complete 18:30:03 bab4dde63d76: Verifying Checksum 18:30:03 bab4dde63d76: Download complete 18:30:05 b85a868b505f: Pull complete 18:30:05 e2be974225ed: Pull complete 18:30:05 339a4e72a1f5: Pull complete 18:30:05 988bab9f4d93: Pull complete 18:30:05 1469e6f7b9e6: Pull complete 18:30:05 eaf3925da568: Pull complete 18:30:07 bab4dde63d76: Pull complete 18:30:08 bde34c3a00c8: Pull complete 18:30:08 b352a97aabf1: Pull complete 18:30:08 4872d77fe225: Pull complete 18:30:08 5851b861e8e6: Pull complete 18:30:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:30:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:30:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:08 prd-ubuntu20.04-docker-8c-8g-15911 does not seem to be running inside a container 18:30:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-321 -v /w/workspace/gexfoundry_device-rest-go_PR-321:/w/workspace/gexfoundry_device-rest-go_PR-321:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-321@tmp:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:30:11 $ docker top 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 -eo pid,comm 18:30:12 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). 18:30:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:30:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:30:12 [ssh-agent] Looking for ssh-agent implementation... 18:30:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:30:12 $ docker exec 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 ssh-agent 18:30:12 SSH_AUTH_SOCK=/tmp/ssh-0YH3q8DKtMOe/agent.31 18:30:12 SSH_AGENT_PID=37 18:30:12 Running ssh-add (command line suppressed) 18:30:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-321@tmp/private_key_18201111039927474965.key (/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/private_key_18201111039927474965.key) 18:30:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:30:12 + git tag --points-at HEAD [Pipeline] } 18:30:12 $ docker exec --env ******** --env ******** 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 ssh-agent -k 18:30:12 unset SSH_AUTH_SOCK; 18:30:12 unset SSH_AGENT_PID; 18:30:12 echo Agent pid 37 killed; 18:30:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:30:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:30:13 [ssh-agent] Looking for ssh-agent implementation... 18:30:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:30:13 $ docker exec 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 ssh-agent 18:30:13 SSH_AUTH_SOCK=/tmp/ssh-JdDnMviPf9xy/agent.69 18:30:13 SSH_AGENT_PID=76 18:30:13 Running ssh-add (command line suppressed) 18:30:13 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-321@tmp/private_key_6185982595150819301.key (/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/private_key_6185982595150819301.key) 18:30:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:30:13 + git semver init 18:30:14 2023-05-17 18:30:13,953 [run_init] DEBUG init version:0.0.0 force:False 18:30:14 2023-05-17 18:30:13,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-321/.semver 18:30:14 2023-05-17 18:30:13,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-321/.semver 18:30:14 2023-05-17 18:30:13,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-321/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-321, universal_newlines=False, shell=None, istream=None) 18:30:15 2023-05-17 18:30:15,035 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-321/.git/info/exclude 18:30:15 2023-05-17 18:30:15,037 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-321/.semver/PR-321 with force:False 18:30:15 2023-05-17 18:30:15,037 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-321/.semver/PR-321 18:30:15 2023-05-17 18:30:15,042 [execute] INFO git cat-file --batch-check 18:30:15 2023-05-17 18:30:15,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-321/.semver, universal_newlines=False, shell=None, istream=) 18:30:15 2023-05-17 18:30:15,049 [execute] INFO git cat-file --batch 18:30:15 2023-05-17 18:30:15,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-321/.semver, universal_newlines=False, shell=None, istream=) 18:30:15 2023-05-17 18:30:15,085 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-321/.semver/PR-321 18:30:15 0.0.0 [Pipeline] } 18:30:15 $ docker exec --env ******** --env ******** 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 ssh-agent -k 18:30:15 unset SSH_AUTH_SOCK; 18:30:15 unset SSH_AGENT_PID; 18:30:15 echo Agent pid 76 killed; 18:30:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:30:15 + git semver [Pipeline] } 18:30:16 $ docker stop --time=1 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 18:30:17 $ docker rm -f --volumes 9a48304ee47f6e31ee50e3559d2081e01babeecc380c613fbe86bb8f727a8d33 [Pipeline] // withDockerContainer [Pipeline] sh 18:30:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:30:18 Stashed 1 file(s) [Pipeline] echo 18:30:18 [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 18:30:18 provisioning config files... 18:30:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/config911508753809919876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:19 ---> docker-login.sh 18:30:19 nexus3.edgexfoundry.org:10001 18:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:19 Configure a credential helper to remove this warning. See 18:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:19 18:30:19 Login Succeeded 18:30:19 nexus3.edgexfoundry.org:10002 18:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:19 Configure a credential helper to remove this warning. See 18:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:19 18:30:19 Login Succeeded 18:30:19 nexus3.edgexfoundry.org:10003 18:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:19 Configure a credential helper to remove this warning. See 18:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:19 18:30:19 Login Succeeded 18:30:19 nexus3.edgexfoundry.org:10004 18:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:19 Configure a credential helper to remove this warning. See 18:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:19 18:30:19 Login Succeeded 18:30:19 docker.io 18:30:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:19 Configure a credential helper to remove this warning. See 18:30:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:19 18:30:19 Login Succeeded 18:30:19 ---> docker-login.sh ends [Pipeline] } 18:30:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:30:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:20 ========================================================= 18:30:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:30:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:20 + 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 . 18:30:20 Sending build context to Docker daemon 10.93MB 18:30:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:30:20 Step 2/12 : FROM ${BASE} AS builder 18:30:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:30:20 f56be85fc22e: Pulling fs layer 18:30:20 85791d961cd3: Pulling fs layer 18:30:20 d694b5ae8c79: Pulling fs layer 18:30:20 9f32a84ed3da: Pulling fs layer 18:30:20 4d19c01a9841: Pulling fs layer 18:30:20 9325e15d5711: Pulling fs layer 18:30:20 556b6ee489ea: Pulling fs layer 18:30:20 c5a4b2cf53e6: Pulling fs layer 18:30:20 9f32a84ed3da: Waiting 18:30:20 4d19c01a9841: Waiting 18:30:20 9325e15d5711: Waiting 18:30:20 c5a4b2cf53e6: Waiting 18:30:20 556b6ee489ea: Waiting 18:30:20 85791d961cd3: Download complete 18:30:20 9f32a84ed3da: Verifying Checksum 18:30:20 9f32a84ed3da: Download complete 18:30:20 4d19c01a9841: Download complete 18:30:20 f56be85fc22e: Verifying Checksum 18:30:20 f56be85fc22e: Download complete 18:30:20 9325e15d5711: Verifying Checksum 18:30:20 9325e15d5711: Download complete 18:30:20 f56be85fc22e: Pull complete 18:30:21 85791d961cd3: Pull complete 18:30:21 d694b5ae8c79: Verifying Checksum 18:30:21 d694b5ae8c79: Download complete 18:30:21 c5a4b2cf53e6: Verifying Checksum 18:30:21 c5a4b2cf53e6: Download complete 18:30:21 556b6ee489ea: Verifying Checksum 18:30:21 556b6ee489ea: Download complete 18:30:24 d694b5ae8c79: Pull complete 18:30:24 9f32a84ed3da: Pull complete 18:30:25 4d19c01a9841: Pull complete 18:30:25 9325e15d5711: Pull complete 18:30:27 556b6ee489ea: Pull complete 18:30:28 c5a4b2cf53e6: Pull complete 18:30:28 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:30:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:30:28 ---> c4be618373d6 18:30:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:30:33 Still waiting to schedule task 18:30:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:30:36 ---> Running in 3507f2c50ed9 18:30:36 Removing intermediate container 3507f2c50ed9 18:30:36 ---> 353fb1aec6e4 18:30:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:30:36 ---> Running in 777c69a53d8b 18:30:36 Removing intermediate container 777c69a53d8b 18:30:36 ---> 67edf8c359c7 18:30:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:30:36 ---> Running in 20dea136007a 18:30:36 Removing intermediate container 20dea136007a 18:30:36 ---> c63bc339937f 18:30:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:30:36 ---> Running in 9c42c89608a3 18:30:36 Removing intermediate container 9c42c89608a3 18:30:36 ---> 49e52a254272 18:30:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:30:36 ---> Running in 12be89ab2137 18:30:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:30:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:30:37 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:30:37 (2/4) Installing libedit (20221030.3.1-r0) 18:30:37 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:30:37 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:30:37 Executing busybox-1.35.0-r29.trigger 18:30:37 OK: 269 MiB in 57 packages 18:30:38 Removing intermediate container 12be89ab2137 18:30:38 ---> fd148adf291c 18:30:38 Step 8/12 : WORKDIR /device-rest-go 18:30:38 ---> Running in 8349f52e7793 18:30:38 Removing intermediate container 8349f52e7793 18:30:38 ---> 8ea09996e938 18:30:38 Step 9/12 : COPY go.mod vendor* ./ 18:30:38 ---> dba910faf475 18:30:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:38 ---> Running in cf8990d9d290 18:31:16 Removing intermediate container cf8990d9d290 18:31:16 ---> 96b3730c6812 18:31:16 Step 11/12 : COPY . . 18:31:16 ---> 4766de112b62 18:31:16 Step 12/12 : RUN $MAKE 18:31:16 ---> Running in 560ec4438e8f 18:31:16 noop 18:31:16 Removing intermediate container 560ec4438e8f 18:31:16 ---> 2b851e5efb26 18:31:16 Successfully built 2b851e5efb26 18:31:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:17 + docker inspect -f . ci-base-image-x86_64 18:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:17 prd-ubuntu20.04-docker-8c-8g-15911 does not seem to be running inside a container 18:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-321 -v /w/workspace/gexfoundry_device-rest-go_PR-321:/w/workspace/gexfoundry_device-rest-go_PR-321:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-321@tmp:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:31:19 $ docker top 2111decdf69afd3db077d9797de07d291a0b501f4f8494b39d969aa139ee45e0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:20 + go version 18:31:20 go version go1.20.2 linux/amd64 [Pipeline] } 18:31:20 $ docker stop --time=1 2111decdf69afd3db077d9797de07d291a0b501f4f8494b39d969aa139ee45e0 18:31:22 $ docker rm -f --volumes 2111decdf69afd3db077d9797de07d291a0b501f4f8494b39d969aa139ee45e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:23 + docker inspect -f . ci-base-image-x86_64 18:31:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:23 prd-ubuntu20.04-docker-8c-8g-15911 does not seem to be running inside a container 18:31:23 $ 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-321 -v /w/workspace/gexfoundry_device-rest-go_PR-321:/w/workspace/gexfoundry_device-rest-go_PR-321:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-321@tmp:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:31:25 $ docker top 0239691b398cb82d2e55696093535d9aa117720f49d7dfcdb1e5620f4c8543b6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:31:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-321 [Pipeline] fileExists [Pipeline] sh 18:31:26 + make test 18:31:26 go test ./... -coverprofile=coverage.out ./... 18:31:31 ? github.com/edgexfoundry/device-rest-go [no test files] 18:31:41 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:31:41 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 18:31:48 go vet ./... 18:31:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:31:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:31:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:31:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:31:51 $ docker stop --time=1 0239691b398cb82d2e55696093535d9aa117720f49d7dfcdb1e5620f4c8543b6 18:31:56 $ docker rm -f --volumes 0239691b398cb82d2e55696093535d9aa117720f49d7dfcdb1e5620f4c8543b6 [Pipeline] // withDockerContainer [Pipeline] sh 18:31:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:31:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:31:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:31:58 + ls -al . 18:31:58 total 184 18:31:58 drwxrwxr-x 9 jenkins jenkins 4096 May 17 18:31 . 18:31:58 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:29 .. 18:31:58 -rw-rw-r-- 1 jenkins jenkins 151 May 17 18:29 .dockerignore 18:31:58 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:30 .git 18:31:58 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:29 .github 18:31:58 -rw-rw-r-- 1 jenkins jenkins 329 May 17 18:29 .gitignore 18:31:58 -rw-rw-r-- 1 jenkins jenkins 41 May 17 18:29 .golangci.yml 18:31:58 drwxr-xr-x 3 jenkins jenkins 4096 May 17 18:30 .semver 18:31:58 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 18:29 Attribution.txt 18:31:58 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 18:29 CHANGELOG.md 18:31:58 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 18:29 Dockerfile 18:31:58 -rw-rw-r-- 1 jenkins jenkins 677 May 17 18:29 GOVERNANCE.md 18:31:58 -rw-rw-r-- 1 jenkins jenkins 680 May 17 18:29 Jenkinsfile 18:31:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 18:29 LICENSE 18:31:58 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 18:29 Makefile 18:31:58 -rw-rw-r-- 1 jenkins jenkins 620 May 17 18:29 OWNERS.md 18:31:58 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 18:29 README.md 18:31:58 -rw-rw-r-- 1 jenkins jenkins 5 May 17 18:30 VERSION 18:31:58 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:29 bin 18:31:58 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:29 cmd 18:31:58 -rw-r--r-- 1 jenkins jenkins 14663 May 17 18:31 coverage.out 18:31:58 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:29 driver 18:31:58 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 18:29 go.mod 18:31:58 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 18:29 go.sum 18:31:58 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:29 snap 18:31:58 -rw-rw-r-- 1 jenkins jenkins 713 May 17 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:58 + 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=d2861130bd2a44dd95d52b41208a8b36f10f3f92 --label arch=amd64 --label version=0.0.0 . 18:31:58 Sending build context to Docker daemon 10.95MB 18:31:58 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:31:58 Step 2/25 : FROM ${BASE} AS builder 18:31:58 ---> 2b851e5efb26 18:31:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:31:59 ---> Running in 739c5e3b0bb3 18:31:59 Removing intermediate container 739c5e3b0bb3 18:31:59 ---> 85029d271c91 18:31:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:31:59 ---> Running in f5a24fca1fdf 18:31:59 Removing intermediate container f5a24fca1fdf 18:31:59 ---> e1a830be982c 18:31:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:31:59 ---> Running in 6505e4bb6224 18:31:59 Removing intermediate container 6505e4bb6224 18:31:59 ---> 8708cce3fadc 18:31:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:31:59 ---> Running in 9b4fa61e0c0a 18:31:59 Removing intermediate container 9b4fa61e0c0a 18:31:59 ---> c7a7c0be9d27 18:31:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:31:59 ---> Running in e91372c92bea 18:31:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:31:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:32:00 OK: 269 MiB in 57 packages 18:32:00 Removing intermediate container e91372c92bea 18:32:00 ---> eb6882b4c1ab 18:32:00 Step 8/25 : WORKDIR /device-rest-go 18:32:00 ---> Running in ba941560053e 18:32:00 Removing intermediate container ba941560053e 18:32:00 ---> 1c8199b85409 18:32:00 Step 9/25 : COPY go.mod vendor* ./ 18:32:00 ---> efd711f47f5d 18:32:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:32:00 ---> Running in 9a3506b2e9f3 18:32:01 Removing intermediate container 9a3506b2e9f3 18:32:01 ---> 7e1515fd7c13 18:32:01 Step 11/25 : COPY . . 18:32:01 ---> ced579e3fffe 18:32:01 Step 12/25 : RUN $MAKE 18:32:01 ---> Running in bf4f6aa703cc 18:32:01 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 18:32:28 Removing intermediate container bf4f6aa703cc 18:32:28 ---> c68c02a3e4ec 18:32:28 Step 13/25 : FROM alpine:3.17 18:32:28 3.17: Pulling from library/alpine 18:32:28 f56be85fc22e: Already exists 18:32:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:32:28 Status: Downloaded newer image for alpine:3.17 18:32:28 ---> 9ed4aefc74f6 18:32:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:32:28 ---> Running in 98253b374e41 18:32:28 Removing intermediate container 98253b374e41 18:32:28 ---> c67a82e5fdff 18:32:28 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:32:28 ---> Running in 6bcc0ac0c33e 18:32:28 Removing intermediate container 6bcc0ac0c33e 18:32:28 ---> d8a1c200a996 18:32:28 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:32:28 ---> Running in 66792fbd7a2e 18:32:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:32:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:32:28 (1/1) Installing dumb-init (1.2.5-r2) 18:32:28 Executing busybox-1.35.0-r29.trigger 18:32:28 OK: 7 MiB in 16 packages 18:32:28 Removing intermediate container 66792fbd7a2e 18:32:28 ---> 4291959f2b79 18:32:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:32:28 ---> 8238ba274643 18:32:28 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:32:28 ---> 94af695b6ef3 18:32:28 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:32:28 ---> 9ba1a53d1a12 18:32:28 Step 20/25 : EXPOSE 59986 18:32:28 ---> Running in 048c3a8ca6a2 18:32:28 Removing intermediate container 048c3a8ca6a2 18:32:28 ---> f42f093eaae2 18:32:28 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:32:28 ---> Running in cc9801008c10 18:32:28 Removing intermediate container cc9801008c10 18:32:28 ---> 0221f5b63e0f 18:32:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:32:28 ---> Running in 261403162c67 18:32:28 Removing intermediate container 261403162c67 18:32:28 ---> 4aaf8838afbf 18:32:28 Step 23/25 : LABEL arch=amd64 18:32:28 ---> Running in a8fe193bbcff 18:32:28 Removing intermediate container a8fe193bbcff 18:32:28 ---> d56039fbf17e 18:32:28 Step 24/25 : LABEL git_sha=d2861130bd2a44dd95d52b41208a8b36f10f3f92 18:32:28 ---> Running in 5df5d6d70268 18:32:28 Removing intermediate container 5df5d6d70268 18:32:28 ---> 68c119ea47a5 18:32:28 Step 25/25 : LABEL version=0.0.0 18:32:28 ---> Running in 72d88f20a029 18:32:28 Removing intermediate container 72d88f20a029 18:32:28 ---> f4b6e8eb0940 18:32:28 [Warning] One or more build-args [ARCH] were not consumed 18:32:28 Successfully built f4b6e8eb0940 18:32:28 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 18:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:29 18:32:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:29 latest: Pulling from edgex-lftools-log-publisher 18:32:29 5eb5b503b376: Pulling fs layer 18:32:29 5c69ac0246d0: Pulling fs layer 18:32:29 ec43610c2a17: Pulling fs layer 18:32:29 3a2ae6a8a46f: Pulling fs layer 18:32:29 33b1e0a273af: Pulling fs layer 18:32:29 5d3b04190fa2: Pulling fs layer 18:32:29 2f39f015ded8: Pulling fs layer 18:32:29 33b1e0a273af: Waiting 18:32:29 2f39f015ded8: Waiting 18:32:29 5d3b04190fa2: Waiting 18:32:29 3a2ae6a8a46f: Waiting 18:32:29 5c69ac0246d0: Download complete 18:32:29 3a2ae6a8a46f: Verifying Checksum 18:32:29 3a2ae6a8a46f: Download complete 18:32:29 33b1e0a273af: Verifying Checksum 18:32:29 33b1e0a273af: Download complete 18:32:29 5d3b04190fa2: Verifying Checksum 18:32:29 5d3b04190fa2: Download complete 18:32:29 ec43610c2a17: Verifying Checksum 18:32:29 ec43610c2a17: Download complete 18:32:30 5eb5b503b376: Verifying Checksum 18:32:30 5eb5b503b376: Download complete 18:32:30 2f39f015ded8: Download complete 18:32:31 5eb5b503b376: Pull complete 18:32:31 5c69ac0246d0: Pull complete 18:32:31 ec43610c2a17: Pull complete 18:32:31 3a2ae6a8a46f: Pull complete 18:32:31 33b1e0a273af: Pull complete 18:32:32 5d3b04190fa2: Pull complete 18:32:36 2f39f015ded8: Pull complete 18:32:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:36 prd-ubuntu20.04-docker-8c-8g-15911 does not seem to be running inside a container 18:32:36 $ 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-321 -v /w/workspace/gexfoundry_device-rest-go_PR-321:/w/workspace/gexfoundry_device-rest-go_PR-321:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-321@tmp:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:32:43 $ docker top 49744301b6eecef8ce30c46881ff136689601dbcfa8a22a4c259c0312cf56d10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:32:43 ---> job-cost.sh 18:32:43 lf-activate-venv: SKIPPING 18:32:43 INFO: No Stack... 18:32:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:32:44 INFO: Archiving Costs [Pipeline] sh 18:32:44 + cat /w/workspace/gexfoundry_device-rest-go_PR-321/archives/cost.csv 18:32:44 + cut -d, -f6 [Pipeline] lock 18:32:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] 18:32:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] did not exist. Created. 18:32:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:32:45 + echo total: 0.2199999988079071 [Pipeline] stash 18:32:45 Stashed 1 file(s) [Pipeline] } 18:32:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:32:45 $ docker stop --time=1 49744301b6eecef8ce30c46881ff136689601dbcfa8a22a4c259c0312cf56d10 18:32:46 $ docker rm -f --volumes 49744301b6eecef8ce30c46881ff136689601dbcfa8a22a4c259c0312cf56d10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:32:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15916 in /w/workspace/gexfoundry_device-rest-go_PR-321 [Pipeline] { [Pipeline] ws 18:32:57 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:32:57 The recommended git tool is: git 18:33:03 using credential edgex-jenkins-ssh 18:33:03 Cloning the remote Git repository 18:33:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:33:03 > git init /w/workspace/device-rest-go/1 # timeout=10 18:33:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:33:03 > git --version # timeout=10 18:33:03 > git --version # 'git version 2.25.1' 18:33:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:33:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:33:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:33:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:33:07 Merging remotes/origin/main commit 47b604616574ded3ba804dffb2a679ce0d70252d into PR head commit d2861130bd2a44dd95d52b41208a8b36f10f3f92 18:33:07 Merge succeeded, producing d2861130bd2a44dd95d52b41208a8b36f10f3f92 18:33:07 Checking out Revision d2861130bd2a44dd95d52b41208a8b36f10f3f92 (PR-321) 18:33:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:33:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:33:06 using GIT_SSH to set credentials SSH Credentials for GitHub 18:33:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/321/head:refs/remotes/origin/PR-321 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:33:07 > git config core.sparsecheckout # timeout=10 18:33:07 > git checkout -f d2861130bd2a44dd95d52b41208a8b36f10f3f92 # timeout=10 18:33:07 > git remote # timeout=10 18:33:07 > git config --get remote.origin.url # timeout=10 18:33:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:33:07 > git merge 47b604616574ded3ba804dffb2a679ce0d70252d # timeout=10 18:33:07 > git rev-parse HEAD^{commit} # timeout=10 18:33:07 > git config core.sparsecheckout # timeout=10 18:33:07 > git checkout -f d2861130bd2a44dd95d52b41208a8b36f10f3f92 # timeout=10 18:33:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:33:08 > git --version # timeout=10 18:33:08 > git --version # 'git version 2.25.1' 18:33:08 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:33:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:33:09 % Total % Received % Xferd Average Speed Time Time Time Current 18:33:09 Dload Upload Total Spent Left Speed 18:33:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 18:33:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:33:10 + sudo tee /etc/docker/daemon.new 18:33:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:33:10 { 18:33:10 "registry-mirrors": [ 18:33:10 "https://nexus3.edgexfoundry.org:10001" 18:33:10 ], 18:33:10 "bip": "10.250.0.254/24", 18:33:10 "hosts": [ 18:33:10 "tcp://0.0.0.0:5555", 18:33:10 "unix:///var/run/docker.sock" 18:33:10 ], 18:33:10 "mtu": 1458, 18:33:10 "selinux-enabled": true, 18:33:10 "seccomp-profile": "/etc/docker/seccomp.json" 18:33:10 } [Pipeline] sh 18:33:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:33:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:33:29 provisioning config files... 18:33:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18320767177882920376tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:33:30 ---> docker-login.sh 18:33:30 nexus3.edgexfoundry.org:10001 18:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:30 Configure a credential helper to remove this warning. See 18:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:30 18:33:30 Login Succeeded 18:33:30 nexus3.edgexfoundry.org:10002 18:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:31 Configure a credential helper to remove this warning. See 18:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:31 18:33:31 Login Succeeded 18:33:31 nexus3.edgexfoundry.org:10003 18:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:31 Configure a credential helper to remove this warning. See 18:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:31 18:33:31 Login Succeeded 18:33:31 nexus3.edgexfoundry.org:10004 18:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:32 Configure a credential helper to remove this warning. See 18:33:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:32 18:33:32 Login Succeeded 18:33:32 docker.io 18:33:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:33:32 Configure a credential helper to remove this warning. See 18:33:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:33:32 18:33:32 Login Succeeded 18:33:32 ---> docker-login.sh ends [Pipeline] } 18:33:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:33:33 ========================================================= 18:33:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:33:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:33:33 + 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 . 18:33:33 Sending build context to Docker daemon 139.3kB 18:33:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:33:34 Step 2/12 : FROM ${BASE} AS builder 18:33:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:33:34 c41833b44d91: Pulling fs layer 18:33:34 ed15518f5707: Pulling fs layer 18:33:34 feae8fd75edb: Pulling fs layer 18:33:34 242c74f7c9fa: Pulling fs layer 18:33:34 3cdef696dda3: Pulling fs layer 18:33:34 2ced38df9373: Pulling fs layer 18:33:34 58f1dce35555: Pulling fs layer 18:33:34 3cdef696dda3: Waiting 18:33:34 2ced38df9373: Waiting 18:33:34 58f1dce35555: Waiting 18:33:34 242c74f7c9fa: Waiting 18:33:34 ed15518f5707: Verifying Checksum 18:33:34 ed15518f5707: Download complete 18:33:34 242c74f7c9fa: Verifying Checksum 18:33:34 242c74f7c9fa: Download complete 18:33:34 3cdef696dda3: Verifying Checksum 18:33:34 3cdef696dda3: Download complete 18:33:34 c41833b44d91: Verifying Checksum 18:33:34 c41833b44d91: Download complete 18:33:35 c41833b44d91: Pull complete 18:33:35 58f1dce35555: Verifying Checksum 18:33:35 58f1dce35555: Download complete 18:33:35 ed15518f5707: Pull complete 18:33:36 feae8fd75edb: Verifying Checksum 18:33:36 feae8fd75edb: Download complete 18:33:37 2ced38df9373: Verifying Checksum 18:33:37 2ced38df9373: Download complete 18:33:49 feae8fd75edb: Pull complete 18:33:49 242c74f7c9fa: Pull complete 18:33:49 3cdef696dda3: Pull complete 18:33:54 2ced38df9373: Pull complete 18:33:57 58f1dce35555: Pull complete 18:33:57 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:33:57 ---> fadd8f120f05 18:33:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:33:59 ---> Running in c9d9621d9cb5 18:33:59 Removing intermediate container c9d9621d9cb5 18:33:59 ---> e95aeb4eefb2 18:33:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:33:59 ---> Running in 99e15d825490 18:34:00 Removing intermediate container 99e15d825490 18:34:00 ---> f18f2f353b16 18:34:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:34:00 ---> Running in f9769e94d184 18:34:00 Removing intermediate container f9769e94d184 18:34:00 ---> d09d8dc9771e 18:34:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:34:00 ---> Running in 53f0d588034a 18:34:01 Removing intermediate container 53f0d588034a 18:34:01 ---> 11fe3c2d92c1 18:34:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:34:01 ---> Running in 2f4388192280 18:34:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:34:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:34:04 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:34:04 (2/4) Installing libedit (20221030.3.1-r0) 18:34:04 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:34:04 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:34:04 Executing busybox-1.35.0-r29.trigger 18:34:04 OK: 268 MiB in 57 packages 18:34:08 Removing intermediate container 2f4388192280 18:34:08 ---> 9707f9d28041 18:34:08 Step 8/12 : WORKDIR /device-rest-go 18:34:08 ---> Running in bb8733989844 18:34:08 Removing intermediate container bb8733989844 18:34:08 ---> cdaa58d70e07 18:34:08 Step 9/12 : COPY go.mod vendor* ./ 18:34:08 ---> 1236f118211c 18:34:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:34:09 ---> Running in 697424a54d00 18:35:17 Removing intermediate container 697424a54d00 18:35:17 ---> 3e370ce519a1 18:35:17 Step 11/12 : COPY . . 18:35:17 ---> 49bbde342933 18:35:17 Step 12/12 : RUN $MAKE 18:35:17 ---> Running in 2de6b2432212 18:35:17 noop 18:35:17 Removing intermediate container 2de6b2432212 18:35:17 ---> c618600aa822 18:35:17 Successfully built c618600aa822 18:35:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:17 + docker inspect -f . ci-base-image-arm64 18:35:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:17 prd-ubuntu20.04-docker-arm64-4c-16g-15916 does not seem to be running inside a container 18:35:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:35:19 $ docker top d6b87de6ed69fb8c214f015afcb59af41240ae8d442c7423c97ba3178c03b25c -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:20 + go version 18:35:20 go version go1.20.2 linux/arm64 [Pipeline] } 18:35:20 $ docker stop --time=1 d6b87de6ed69fb8c214f015afcb59af41240ae8d442c7423c97ba3178c03b25c 18:35:22 $ docker rm -f --volumes d6b87de6ed69fb8c214f015afcb59af41240ae8d442c7423c97ba3178c03b25c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:23 + docker inspect -f . ci-base-image-arm64 18:35:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:35:23 prd-ubuntu20.04-docker-arm64-4c-16g-15916 does not seem to be running inside a container 18:35:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:35:24 $ docker top bc10ff3d57cf2fd3504a7408cae66cb8e5d1d662e5bb85b5dc5eed906570c1fb -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:25 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 18:35:26 + make test 18:35:26 go test ./... -coverprofile=coverage.out ./... 18:36:05 ? github.com/edgexfoundry/device-rest-go [no test files] 18:38:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:38:27 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements 18:38:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:38:27 go vet ./... 18:38:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:38:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:38:59 ./bin/test-attribution-txt.sh [Pipeline] echo 18:38:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:38:59 $ docker stop --time=1 bc10ff3d57cf2fd3504a7408cae66cb8e5d1d662e5bb85b5dc5eed906570c1fb 18:39:03 $ docker rm -f --volumes bc10ff3d57cf2fd3504a7408cae66cb8e5d1d662e5bb85b5dc5eed906570c1fb [Pipeline] // withDockerContainer [Pipeline] sh 18:39:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:04 Warning: overwriting stash ‘coverage-report’ 18:39:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:06 + ls -al . 18:39:06 total 180 18:39:06 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:35 . 18:39:06 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:33 .. 18:39:06 -rw-rw-r-- 1 jenkins jenkins 151 May 17 18:33 .dockerignore 18:39:06 drwxrwxr-x 8 jenkins jenkins 4096 May 17 18:33 .git 18:39:06 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:33 .github 18:39:06 -rw-rw-r-- 1 jenkins jenkins 329 May 17 18:33 .gitignore 18:39:06 -rw-rw-r-- 1 jenkins jenkins 41 May 17 18:33 .golangci.yml 18:39:06 -rw-rw-r-- 1 jenkins jenkins 9331 May 17 18:33 Attribution.txt 18:39:06 -rw-rw-r-- 1 jenkins jenkins 13085 May 17 18:33 CHANGELOG.md 18:39:06 -rw-rw-r-- 1 jenkins jenkins 1578 May 17 18:33 Dockerfile 18:39:06 -rw-rw-r-- 1 jenkins jenkins 677 May 17 18:33 GOVERNANCE.md 18:39:06 -rw-rw-r-- 1 jenkins jenkins 680 May 17 18:33 Jenkinsfile 18:39:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 18:33 LICENSE 18:39:06 -rw-rw-r-- 1 jenkins jenkins 1779 May 17 18:33 Makefile 18:39:06 -rw-rw-r-- 1 jenkins jenkins 620 May 17 18:33 OWNERS.md 18:39:06 -rw-rw-r-- 1 jenkins jenkins 15827 May 17 18:33 README.md 18:39:06 -rw-rw-r-- 1 jenkins jenkins 5 May 17 18:30 VERSION 18:39:06 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:33 bin 18:39:06 drwxrwxr-x 3 jenkins jenkins 4096 May 17 18:33 cmd 18:39:06 -rw-r--r-- 1 jenkins jenkins 14663 May 17 18:38 coverage.out 18:39:06 drwxrwxr-x 2 jenkins jenkins 4096 May 17 18:33 driver 18:39:06 -rw-rw-r-- 1 jenkins jenkins 3402 May 17 18:33 go.mod 18:39:06 -rw-rw-r-- 1 jenkins jenkins 31328 May 17 18:33 go.sum 18:39:06 drwxrwxr-x 4 jenkins jenkins 4096 May 17 18:33 snap 18:39:06 -rw-rw-r-- 1 jenkins jenkins 713 May 17 18:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:06 + 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=d2861130bd2a44dd95d52b41208a8b36f10f3f92 --label arch=arm64 --label version=0.0.0 . 18:39:06 Sending build context to Docker daemon 154.6kB 18:39:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:39:07 Step 2/25 : FROM ${BASE} AS builder 18:39:07 ---> c618600aa822 18:39:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:39:07 ---> Running in 820ba5a38b69 18:39:07 Removing intermediate container 820ba5a38b69 18:39:07 ---> 22dc66ad43f0 18:39:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:39:07 ---> Running in b4d01f109683 18:39:07 Removing intermediate container b4d01f109683 18:39:07 ---> 33ee332f1671 18:39:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:39:07 ---> Running in 72bcc68515fd 18:39:08 Removing intermediate container 72bcc68515fd 18:39:08 ---> 69e03bc84531 18:39:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:39:08 ---> Running in 1c51c2064e01 18:39:08 Removing intermediate container 1c51c2064e01 18:39:08 ---> b98530242e99 18:39:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:08 ---> Running in 74cc415ffe1d 18:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:39:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:39:12 OK: 268 MiB in 57 packages 18:39:12 Removing intermediate container 74cc415ffe1d 18:39:12 ---> da3f7ae500d1 18:39:12 Step 8/25 : WORKDIR /device-rest-go 18:39:13 ---> Running in e65779b88d79 18:39:13 Removing intermediate container e65779b88d79 18:39:13 ---> 3658d87a3582 18:39:13 Step 9/25 : COPY go.mod vendor* ./ 18:39:13 ---> f818c29b1f25 18:39:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:13 ---> Running in 01f63b4491d5 18:39:16 Removing intermediate container 01f63b4491d5 18:39:16 ---> a901b8d8e23a 18:39:16 Step 11/25 : COPY . . 18:39:17 ---> 550e1255cf9d 18:39:17 Step 12/25 : RUN $MAKE 18:39:17 ---> Running in 5690fa3de86d 18:39:18 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 18:41:55 Removing intermediate container 5690fa3de86d 18:41:55 ---> 329b05ecdf1c 18:41:55 Step 13/25 : FROM alpine:3.17 18:41:55 3.17: Pulling from library/alpine 18:41:55 c41833b44d91: Already exists 18:41:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:41:55 Status: Downloaded newer image for alpine:3.17 18:41:55 ---> 51e60588ff2c 18:41:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:41:55 ---> Running in d4bd109bcd61 18:41:55 Removing intermediate container d4bd109bcd61 18:41:55 ---> 1828b38ae44e 18:41:55 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:41:55 ---> Running in f5376d1774b6 18:41:55 Removing intermediate container f5376d1774b6 18:41:55 ---> 84c72696802b 18:41:55 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:41:55 ---> Running in 45a0192f2725 18:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:41:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:41:55 (1/1) Installing dumb-init (1.2.5-r2) 18:41:55 Executing busybox-1.35.0-r29.trigger 18:41:55 OK: 8 MiB in 16 packages 18:41:55 Removing intermediate container 45a0192f2725 18:41:55 ---> 2e3c36817532 18:41:55 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:41:55 ---> a872b4c4720e 18:41:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:41:55 ---> 338e1059aab7 18:41:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:41:55 ---> c3e928d8fcd2 18:41:55 Step 20/25 : EXPOSE 59986 18:41:55 ---> Running in 066d93a81198 18:41:55 Removing intermediate container 066d93a81198 18:41:55 ---> 519a49007bc8 18:41:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:41:55 ---> Running in 60121385edd1 18:41:55 Removing intermediate container 60121385edd1 18:41:55 ---> b696155af63d 18:41:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:41:55 ---> Running in 28902a376717 18:41:55 Removing intermediate container 28902a376717 18:41:55 ---> 8334c0993559 18:41:55 Step 23/25 : LABEL arch=arm64 18:41:55 ---> Running in 23d70b64a23e 18:41:55 Removing intermediate container 23d70b64a23e 18:41:55 ---> f4600f19de52 18:41:55 Step 24/25 : LABEL git_sha=d2861130bd2a44dd95d52b41208a8b36f10f3f92 18:41:55 ---> Running in e26989e255cc 18:41:55 Removing intermediate container e26989e255cc 18:41:55 ---> b57cae4dc29a 18:41:55 Step 25/25 : LABEL version=0.0.0 18:41:55 ---> Running in d25d27b2f3ae 18:41:55 Removing intermediate container d25d27b2f3ae 18:41:55 ---> c7f6cb3c54e8 18:41:55 [Warning] One or more build-args [ARCH] were not consumed 18:41:55 Successfully built c7f6cb3c54e8 18:41:55 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 18:41:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:56 18:41:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:41:57 arm64: Pulling from edgex-lftools-log-publisher 18:41:57 8998bd30e6a1: Pulling fs layer 18:41:57 04944245beec: Pulling fs layer 18:41:57 699f458cf7ca: Pulling fs layer 18:41:57 765212b225bb: Pulling fs layer 18:41:57 f23df028b6ca: Pulling fs layer 18:41:57 d65c8cfc05b1: Pulling fs layer 18:41:57 2437ff75d9bd: Pulling fs layer 18:41:57 f23df028b6ca: Waiting 18:41:57 d65c8cfc05b1: Waiting 18:41:57 2437ff75d9bd: Waiting 18:41:57 765212b225bb: Waiting 18:41:58 04944245beec: Verifying Checksum 18:41:58 04944245beec: Download complete 18:41:58 765212b225bb: Verifying Checksum 18:41:58 765212b225bb: Download complete 18:41:58 f23df028b6ca: Verifying Checksum 18:41:58 f23df028b6ca: Download complete 18:41:58 d65c8cfc05b1: Verifying Checksum 18:41:58 d65c8cfc05b1: Download complete 18:41:58 699f458cf7ca: Verifying Checksum 18:41:58 699f458cf7ca: Download complete 18:41:58 8998bd30e6a1: Verifying Checksum 18:41:58 8998bd30e6a1: Download complete 18:42:01 2437ff75d9bd: Verifying Checksum 18:42:01 2437ff75d9bd: Download complete 18:42:02 8998bd30e6a1: Pull complete 18:42:03 04944245beec: Pull complete 18:42:04 699f458cf7ca: Pull complete 18:42:04 765212b225bb: Pull complete 18:42:05 f23df028b6ca: Pull complete 18:42:05 d65c8cfc05b1: Pull complete 18:42:20 2437ff75d9bd: Pull complete 18:42:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:42:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:42:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:21 prd-ubuntu20.04-docker-arm64-4c-16g-15916 does not seem to be running inside a container 18:42:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:42:24 $ docker top c9851210d9b7d5fcfef1094d569e3882e7cc0456e61e116b6d628711f321f1eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:25 ---> job-cost.sh 18:42:25 lf-activate-venv: SKIPPING 18:42:25 INFO: No Stack... 18:42:25 INFO: Retrieving Pricing Info for: v3-standard-4 18:42:26 INFO: Archiving Costs [Pipeline] sh 18:42:27 + cat /w/workspace/device-rest-go/1/archives/cost.csv 18:42:27 + cut -d, -f6 [Pipeline] lock 18:42:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] 18:42:27 Resource [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] did not exist. Created. 18:42:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:42:28 /w/workspace/device-rest-go/1@tmp/durable-cb1484f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:42:28 + echo total: 0.10999999940395355 [Pipeline] stash 18:42:28 Warning: overwriting stash ‘stack-cost’ 18:42:28 Stashed 1 file(s) [Pipeline] } 18:42:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-321-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:42:28 $ docker stop --time=1 c9851210d9b7d5fcfef1094d569e3882e7cc0456e61e116b6d628711f321f1eb 18:42:30 $ docker rm -f --volumes c9851210d9b7d5fcfef1094d569e3882e7cc0456e61e116b6d628711f321f1eb [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 18:42:31 provisioning config files... 18:42:31 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/config9476016052237411502tmp [Pipeline] { [Pipeline] sh 18:42:31 + set +x 18:42:31 + curl -s https://codecov.io/bash 18:42:31 + bash -s -- 18:42:32 18:42:32 _____ _ 18:42:32 / ____| | | 18:42:32 | | ___ __| | ___ ___ _____ __ 18:42:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:42:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:42:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:42:32 Bash-1.0.6 18:42:32 18:42:32 18:42:32 ==> git version 2.25.1 found 18:42:32 ==> 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 18:42:32 Release-Date: 2020-01-08 18:42:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:42:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:42:32 ==> Jenkins CI detected. 18:42:32 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-321 18:42:32 project root: . 18:42:32 --> token set from env 18:42:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:42:32 ==> Running gcov in . (disable via -X gcov) 18:42:32 ==> Python coveragepy not found 18:42:32 ==> Searching for coverage reports in: 18:42:32 + . 18:42:32 -> Found 1 reports 18:42:32 ==> Detecting git/mercurial file structure 18:42:32 ==> Reading reports 18:42:32 + ./coverage.out bytes=14663 18:42:32 ==> Appending adjustments 18:42:32 https://docs.codecov.io/docs/fixing-reports 18:42:32 + Found adjustments 18:42:32 ==> Gzipping contents 18:42:32 4.0K /tmp/codecov.kXtOJA.gz 18:42:32 ==> Uploading reports 18:42:32 url: https://codecov.io 18:42:32 query: branch=PR-321&commit=d2861130bd2a44dd95d52b41208a8b36f10f3f92&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=321&job=&cmd_args= 18:42:32 -> Pinging Codecov 18:42:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-321&commit=d2861130bd2a44dd95d52b41208a8b36f10f3f92&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-321%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=321&job=&cmd_args= 18:42:32 -> Uploading to 18:42:32 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/4E5D53B4F1F92C436F7061BF334D961C/d2861130bd2a44dd95d52b41208a8b36f10f3f92/a3ee2113-f8ec-4d28-8c69-d1220abc7437.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T184232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4827f923b82e0296c3d4124d3752c364a2922deb56ee60d287714b525b464e2b 18:42:32 % Total % Received % Xferd Average Speed Time Time Time Current 18:42:32 Dload Upload Total Spent Left Speed 18:42:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11952 --:--:-- --:--:-- --:--:-- 11895 18:42:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d2861130bd2a44dd95d52b41208a8b36f10f3f92 [Pipeline] } 18:42:32 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 18:42:34 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-321/archives ] 18:42:34 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-321/archives 18:42:34 total 16 18:42:34 drwxr-xr-x 3 root root 4096 May 17 18:32 . 18:42:34 drwxrwxr-x 10 jenkins jenkins 4096 May 17 18:32 .. 18:42:34 drwxr-xr-x 2 root root 4096 May 17 18:32 cost 18:42:34 -rw-r--r-- 1 root root 86 May 17 18:32 cost.csv 18:42:34 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-321/archives 18:42:34 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-321/archives 18:42:34 total 16 18:42:34 drwxr-xr-x 3 jenkins jenkins 4096 May 17 18:32 . 18:42:34 drwxrwxr-x 10 jenkins jenkins 4096 May 17 18:32 .. 18:42:34 drwxr-xr-x 2 jenkins jenkins 4096 May 17 18:32 cost 18:42:34 -rw-r--r-- 1 jenkins jenkins 86 May 17 18:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:42:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:42:35 ---> package-listing.sh 18:42:35 ++ facter osfamily 18:42:35 ++ tr '[:upper:]' '[:lower:]' 18:42:35 + OS_FAMILY=debian 18:42:35 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-321 18:42:35 + START_PACKAGES=/tmp/packages_start.txt 18:42:35 + END_PACKAGES=/tmp/packages_end.txt 18:42:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:42:35 + PACKAGES=/tmp/packages_start.txt 18:42:35 + '[' /w/workspace/gexfoundry_device-rest-go_PR-321 ']' 18:42:35 + PACKAGES=/tmp/packages_end.txt 18:42:35 + case "${OS_FAMILY}" in 18:42:35 + dpkg -l 18:42:35 + grep '^ii' 18:42:35 + '[' -f /tmp/packages_start.txt ']' 18:42:35 + '[' -f /tmp/packages_end.txt ']' 18:42:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:42:35 + '[' /w/workspace/gexfoundry_device-rest-go_PR-321 ']' 18:42:35 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-321/archives/ 18:42:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-321/archives/ [Pipeline] echo 18:42:35 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-321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:42:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:42:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:36 prd-ubuntu20.04-docker-8c-8g-15911 does not seem to be running inside a container 18:42:36 $ 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-321/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-321 -v /w/workspace/gexfoundry_device-rest-go_PR-321:/w/workspace/gexfoundry_device-rest-go_PR-321:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-321@tmp:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:42:37 $ docker top a072c44fb89ca7514c4ce87cee59892f78c3abdc0cc54c9b2010fcd223b73a84 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:37 + touch /tmp/pre-build-complete [Pipeline] sh 18:42:37 + mkdir -p /var/log/sysstat [Pipeline] sh 18:42:38 + ls /var/log/sa-host 18:42:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:38 provisioning config files... 18:42:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-321@tmp/config14117583204536069707tmp [Pipeline] { [Pipeline] echo 18:42:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:42:38 ---> create-netrc.sh [Pipeline] } 18:42:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:42:39 ---> python-tools-install.sh [Pipeline] echo 18:42:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:39 ---> sudo-logs.sh 18:42:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:42:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:42:39 ---> job-cost.sh 18:42:39 lf-activate-venv: SKIPPING 18:42:39 DEBUG: total: 0.2199999988079071 18:42:39 INFO: Retrieving Stack Cost... 18:42:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:42:40 INFO: Archiving Costs [Pipeline] echo 18:42:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:42:40 ---> logs-deploy.sh 18:42:40 lf-activate-venv: SKIPPING 18:42:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-321/1 18:42:40 INFO: archiving workspace using pattern(s): 18:42:41 Archives upload complete. 18:42:41 INFO: archiving logs to Nexus