Pull request #319 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3960dc5242141c2aea7f41e09034b22aa9f5aa10+e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 (4fec9bdd86f9c01ea1547321af58db3869973e27) 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-ssh10476807161884067511.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-ssh6702102617763314409.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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15499494665548823480.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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh214460143312635121.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-ssh4126150309992379898.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12105629127246858970.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15535 in /w/workspace/gexfoundry_device-rest-go_PR-319 [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-319 # 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 Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 3960dc5242141c2aea7f41e09034b22aa9f5aa10 > 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/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 3960dc5242141c2aea7f41e09034b22aa9f5aa10 Checking out Revision 3960dc5242141c2aea7f41e09034b22aa9f5aa10 (PR-319) Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/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 09:53:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:53:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:53:56 ========================================================= 09:53:56 EdgeX Global Pipelines Version Info 09:53:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # 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 e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 09:53:56 ------------------- 09:53:56 stable info: 09:53:56 ------------------- 09:53:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:53:56 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:53:56 Message: update stable to v1.0.249 09:53:57 ------------------- 09:53:57 experimental info: 09:53:57 ------------------- 09:53:57 Commited By: **** collab-it+edgex@linuxfoundation.org 09:53:57 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:53:57 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:53:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo 09:53:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo 09:53:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3960dc5 [Pipeline] echo 09:53:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:59 provisioning config files... 09:53:59 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config16458254513720538076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:59 ---> docker-login.sh 09:53:59 nexus3.edgexfoundry.org:10001 09:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:00 Configure a credential helper to remove this warning. See 09:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:00 09:54:00 Login Succeeded 09:54:00 nexus3.edgexfoundry.org:10002 09:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:00 Configure a credential helper to remove this warning. See 09:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:00 09:54:00 Login Succeeded 09:54:00 nexus3.edgexfoundry.org:10003 09:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:00 Configure a credential helper to remove this warning. See 09:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:00 09:54:00 Login Succeeded 09:54:00 nexus3.edgexfoundry.org:10004 09:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:00 Configure a credential helper to remove this warning. See 09:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:00 09:54:00 Login Succeeded 09:54:00 docker.io 09:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:00 Configure a credential helper to remove this warning. See 09:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:00 09:54:00 Login Succeeded 09:54:00 ---> docker-login.sh ends [Pipeline] } 09:54:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:54:01 + git rev-list -1 --merges 3960dc5242141c2aea7f41e09034b22aa9f5aa10~1..3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo 09:54:01 -----------> git rev-list -1 --merges 3960dc5242141c2aea7f41e09034b22aa9f5aa10~1..3960dc5242141c2aea7f41e09034b22aa9f5aa10 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [false] [Pipeline] sh 09:54:01 + git log --format=format:%s -1 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo 09:54:01 ========================================================= 09:54:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:54:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:02 + git log --format=format:%s -1 3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] echo 09:54:02 [semverPrep] GIT_COMMIT: 3960dc5242141c2aea7f41e09034b22aa9f5aa10, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v3 [Pipeline] echo 09:54:02 [semverPrep] This is not a build commit. [Pipeline] sh 09:54:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:02 + grep -v github /etc/ssh/ssh_known_hosts 09:54:02 + [ -e /tmp/ssh_known_hosts ] 09:54:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:54:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:54:02 + sudo tee -a /etc/ssh/ssh_known_hosts 09:54:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:03 09:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:03 0.1.4: Pulling from edgex-devops/py-git-semver 09:54:03 b85a868b505f: Pulling fs layer 09:54:03 e2be974225ed: Pulling fs layer 09:54:03 339a4e72a1f5: Pulling fs layer 09:54:03 988bab9f4d93: Pulling fs layer 09:54:03 1469e6f7b9e6: Pulling fs layer 09:54:03 eaf3925da568: Pulling fs layer 09:54:03 bab4dde63d76: Pulling fs layer 09:54:03 bde34c3a00c8: Pulling fs layer 09:54:03 b352a97aabf1: Pulling fs layer 09:54:03 4872d77fe225: Pulling fs layer 09:54:03 5851b861e8e6: Pulling fs layer 09:54:03 1469e6f7b9e6: Waiting 09:54:03 eaf3925da568: Waiting 09:54:03 bde34c3a00c8: Waiting 09:54:03 4872d77fe225: Waiting 09:54:03 5851b861e8e6: Waiting 09:54:03 bab4dde63d76: Waiting 09:54:03 988bab9f4d93: Waiting 09:54:03 b352a97aabf1: Waiting 09:54:03 e2be974225ed: Download complete 09:54:03 988bab9f4d93: Verifying Checksum 09:54:03 988bab9f4d93: Download complete 09:54:03 1469e6f7b9e6: Verifying Checksum 09:54:03 1469e6f7b9e6: Download complete 09:54:03 339a4e72a1f5: Verifying Checksum 09:54:03 339a4e72a1f5: Download complete 09:54:03 eaf3925da568: Verifying Checksum 09:54:03 eaf3925da568: Download complete 09:54:03 bde34c3a00c8: Download complete 09:54:03 b352a97aabf1: Verifying Checksum 09:54:03 b352a97aabf1: Download complete 09:54:03 4872d77fe225: Download complete 09:54:03 5851b861e8e6: Verifying Checksum 09:54:03 5851b861e8e6: Download complete 09:54:03 b85a868b505f: Verifying Checksum 09:54:03 b85a868b505f: Download complete 09:54:03 bab4dde63d76: Verifying Checksum 09:54:03 bab4dde63d76: Download complete 09:54:04 b85a868b505f: Pull complete 09:54:05 e2be974225ed: Pull complete 09:54:05 339a4e72a1f5: Pull complete 09:54:05 988bab9f4d93: Pull complete 09:54:06 1469e6f7b9e6: Pull complete 09:54:06 eaf3925da568: Pull complete 09:54:07 bab4dde63d76: Pull complete 09:54:07 bde34c3a00c8: Pull complete 09:54:08 b352a97aabf1: Pull complete 09:54:08 4872d77fe225: Pull complete 09:54:08 5851b861e8e6: Pull complete 09:54:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:54:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:08 prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container 09:54:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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 09:54:14 $ docker top f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 -eo pid,comm 09:54:14 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). 09:54:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:14 [ssh-agent] Looking for ssh-agent implementation... 09:54:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:14 $ docker exec f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent 09:54:14 SSH_AUTH_SOCK=/tmp/ssh-BbCsyyxGJKQx/agent.33 09:54:14 SSH_AGENT_PID=39 09:54:14 Running ssh-add (command line suppressed) 09:54:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_10098907131500862801.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_10098907131500862801.key) 09:54:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:15 + git tag --points-at HEAD [Pipeline] } 09:54:15 $ docker exec --env ******** --env ******** f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent -k 09:54:15 unset SSH_AUTH_SOCK; 09:54:15 unset SSH_AGENT_PID; 09:54:15 echo Agent pid 39 killed; 09:54:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:54:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:15 [ssh-agent] Looking for ssh-agent implementation... 09:54:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:15 $ docker exec f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent 09:54:15 SSH_AUTH_SOCK=/tmp/ssh-7Hq4nHFwdPbt/agent.71 09:54:15 SSH_AGENT_PID=77 09:54:15 Running ssh-add (command line suppressed) 09:54:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_13479425106058079330.key (/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/private_key_13479425106058079330.key) 09:54:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:16 + git semver init 09:54:16 2023-05-16 09:54:16,548 [run_init] DEBUG init version:0.0.0 force:False 09:54:16 2023-05-16 09:54:16,549 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver 09:54:16 2023-05-16 09:54:16,550 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-319/.semver 09:54:16 2023-05-16 09:54:16,550 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-319/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319, universal_newlines=False, shell=None, istream=None) 09:54:18 2023-05-16 09:54:17,608 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.git/info/exclude 09:54:18 2023-05-16 09:54:17,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 with force:False 09:54:18 2023-05-16 09:54:17,608 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 09:54:18 2023-05-16 09:54:17,611 [execute] INFO git cat-file --batch-check 09:54:18 2023-05-16 09:54:17,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) 09:54:18 2023-05-16 09:54:17,616 [execute] INFO git cat-file --batch 09:54:18 2023-05-16 09:54:17,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-319/.semver, universal_newlines=False, shell=None, istream=) 09:54:18 2023-05-16 09:54:17,621 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-319/.semver/PR-319 09:54:18 0.0.0 [Pipeline] } 09:54:18 $ docker exec --env ******** --env ******** f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 ssh-agent -k 09:54:18 unset SSH_AUTH_SOCK; 09:54:18 unset SSH_AGENT_PID; 09:54:18 echo Agent pid 77 killed; 09:54:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:18 + git semver [Pipeline] } 09:54:18 $ docker stop --time=1 f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 09:54:20 $ docker rm -f --volumes f51794f9174dc2afd13864a173f3d34ff1b592a2293dfcca227904995f611b35 [Pipeline] // withDockerContainer [Pipeline] sh 09:54:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:54:20 Stashed 1 file(s) [Pipeline] echo 09:54:20 [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 09:54:21 provisioning config files... 09:54:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config14073807655671746816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:21 ---> docker-login.sh 09:54:21 nexus3.edgexfoundry.org:10001 09:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:21 Configure a credential helper to remove this warning. See 09:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:21 09:54:21 Login Succeeded 09:54:21 nexus3.edgexfoundry.org:10002 09:54:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:21 Configure a credential helper to remove this warning. See 09:54:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:21 09:54:21 Login Succeeded 09:54:21 nexus3.edgexfoundry.org:10003 09:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:22 Configure a credential helper to remove this warning. See 09:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:22 09:54:22 Login Succeeded 09:54:22 nexus3.edgexfoundry.org:10004 09:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:22 Configure a credential helper to remove this warning. See 09:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:22 09:54:22 Login Succeeded 09:54:22 docker.io 09:54:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:22 Configure a credential helper to remove this warning. See 09:54:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:22 09:54:22 Login Succeeded 09:54:22 ---> docker-login.sh ends [Pipeline] } 09:54:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:22 ========================================================= 09:54:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:54:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:23 + 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 . 09:54:23 Sending build context to Docker daemon 10.93MB 09:54:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:54:23 Step 2/12 : FROM ${BASE} AS builder 09:54:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:54:23 f56be85fc22e: Pulling fs layer 09:54:23 85791d961cd3: Pulling fs layer 09:54:23 d694b5ae8c79: Pulling fs layer 09:54:23 9f32a84ed3da: Pulling fs layer 09:54:23 4d19c01a9841: Pulling fs layer 09:54:23 9325e15d5711: Pulling fs layer 09:54:23 556b6ee489ea: Pulling fs layer 09:54:23 c5a4b2cf53e6: Pulling fs layer 09:54:23 9f32a84ed3da: Waiting 09:54:23 9325e15d5711: Waiting 09:54:23 4d19c01a9841: Waiting 09:54:23 556b6ee489ea: Waiting 09:54:23 85791d961cd3: Verifying Checksum 09:54:23 9f32a84ed3da: Verifying Checksum 09:54:23 9f32a84ed3da: Download complete 09:54:23 4d19c01a9841: Verifying Checksum 09:54:23 4d19c01a9841: Download complete 09:54:23 f56be85fc22e: Verifying Checksum 09:54:23 f56be85fc22e: Download complete 09:54:23 9325e15d5711: Verifying Checksum 09:54:23 9325e15d5711: Download complete 09:54:23 f56be85fc22e: Pull complete 09:54:23 85791d961cd3: Pull complete 09:54:24 c5a4b2cf53e6: Verifying Checksum 09:54:24 c5a4b2cf53e6: Download complete 09:54:24 d694b5ae8c79: Verifying Checksum 09:54:24 d694b5ae8c79: Download complete 09:54:24 556b6ee489ea: Verifying Checksum 09:54:27 d694b5ae8c79: Pull complete 09:54:27 9f32a84ed3da: Pull complete 09:54:27 4d19c01a9841: Pull complete 09:54:27 9325e15d5711: Pull complete 09:54:30 556b6ee489ea: Pull complete 09:54:31 c5a4b2cf53e6: Pull complete 09:54:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:54:31 ---> c4be618373d6 09:54:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:54:36 Still waiting to schedule task 09:54:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:54:41 ---> Running in 97fe0754279d 09:54:41 Removing intermediate container 97fe0754279d 09:54:41 ---> 618605921f0c 09:54:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:54:41 ---> Running in 5632d8dabfd1 09:54:41 Removing intermediate container 5632d8dabfd1 09:54:41 ---> 6a0901be1941 09:54:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:54:41 ---> Running in 827e3bcf82c4 09:54:41 Removing intermediate container 827e3bcf82c4 09:54:41 ---> 68f8dd519b29 09:54:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:54:41 ---> Running in 002876f04298 09:54:41 Removing intermediate container 002876f04298 09:54:41 ---> ccae8ee8d60d 09:54:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:54:41 ---> Running in d37712dfbfe5 09:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:54:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:54:41 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:54:41 (2/4) Installing libedit (20221030.3.1-r0) 09:54:41 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:54:41 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:54:41 Executing busybox-1.35.0-r29.trigger 09:54:41 OK: 269 MiB in 57 packages 09:54:41 Removing intermediate container d37712dfbfe5 09:54:41 ---> d6663d819f4a 09:54:41 Step 8/12 : WORKDIR /device-rest-go 09:54:41 ---> Running in 6fe8000fc3a5 09:54:41 Removing intermediate container 6fe8000fc3a5 09:54:41 ---> 1ba4f390ce66 09:54:41 Step 9/12 : COPY go.mod vendor* ./ 09:54:41 ---> 002dbc196338 09:54:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:41 ---> Running in d074026264e7 09:55:13 Removing intermediate container d074026264e7 09:55:13 ---> 4da4897cde99 09:55:13 Step 11/12 : COPY . . 09:55:13 ---> 256625d79ca0 09:55:13 Step 12/12 : RUN $MAKE 09:55:13 ---> Running in e227b43ec69f 09:55:13 noop 09:55:13 Removing intermediate container e227b43ec69f 09:55:13 ---> 1b82ab551b31 09:55:13 Successfully built 1b82ab551b31 09:55:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:14 + docker inspect -f . ci-base-image-x86_64 09:55:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:14 prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container 09:55:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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 09:55:14 $ docker top 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:15 + go version 09:55:15 go version go1.20.2 linux/amd64 [Pipeline] } 09:55:15 $ docker stop --time=1 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a 09:55:16 $ docker rm -f --volumes 514c6f10c4de343b6208607bf00d6b53df327531c8bf723dd551a4b50e1a607a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:17 + docker inspect -f . ci-base-image-x86_64 09:55:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:17 prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container 09:55:17 $ 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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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 09:55:17 $ docker top 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] fileExists [Pipeline] sh 09:55:18 + make test 09:55:18 go test ./... -coverprofile=coverage.out ./... 09:55:23 ? github.com/edgexfoundry/device-rest-go [no test files] 09:55:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:55:32 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 32.2% of statements 09:55:37 go vet ./... 09:55:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:55:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:55:40 ./bin/test-attribution-txt.sh [Pipeline] echo 09:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:55:40 $ docker stop --time=1 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb 09:55:45 $ docker rm -f --volumes 442295572e7cdb3cf559ef1bc8a30fab6494c40bb01693328a6555434687febb [Pipeline] // withDockerContainer [Pipeline] sh 09:55:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:55:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:55:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:55:46 + ls -al . 09:55:46 total 184 09:55:46 drwxrwxr-x 9 jenkins jenkins 4096 May 16 09:55 . 09:55:46 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:53 .. 09:55:46 -rw-rw-r-- 1 jenkins jenkins 151 May 16 09:53 .dockerignore 09:55:46 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:54 .git 09:55:46 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:53 .github 09:55:46 -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:53 .gitignore 09:55:46 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:53 .golangci.yml 09:55:46 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:54 .semver 09:55:46 -rw-rw-r-- 1 jenkins jenkins 9331 May 16 09:53 Attribution.txt 09:55:46 -rw-rw-r-- 1 jenkins jenkins 13085 May 16 09:53 CHANGELOG.md 09:55:46 -rw-rw-r-- 1 jenkins jenkins 1578 May 16 09:53 Dockerfile 09:55:46 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:53 GOVERNANCE.md 09:55:46 -rw-rw-r-- 1 jenkins jenkins 680 May 16 09:53 Jenkinsfile 09:55:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:53 LICENSE 09:55:46 -rw-rw-r-- 1 jenkins jenkins 1779 May 16 09:53 Makefile 09:55:46 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:53 OWNERS.md 09:55:46 -rw-rw-r-- 1 jenkins jenkins 15827 May 16 09:53 README.md 09:55:46 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION 09:55:46 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:53 bin 09:55:46 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:53 cmd 09:55:46 -rw-r--r-- 1 jenkins jenkins 14663 May 16 09:55 coverage.out 09:55:46 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:53 driver 09:55:46 -rw-rw-r-- 1 jenkins jenkins 3402 May 16 09:53 go.mod 09:55:46 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:53 go.sum 09:55:46 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:53 snap 09:55:46 -rw-rw-r-- 1 jenkins jenkins 713 May 16 09:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:47 + 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=3960dc5242141c2aea7f41e09034b22aa9f5aa10 --label arch=amd64 --label version=0.0.0 . 09:55:47 Sending build context to Docker daemon 10.94MB 09:55:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:55:47 Step 2/25 : FROM ${BASE} AS builder 09:55:47 ---> 1b82ab551b31 09:55:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:55:47 ---> Running in edc344ebe178 09:55:47 Removing intermediate container edc344ebe178 09:55:47 ---> f9c3e8205055 09:55:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:55:47 ---> Running in 92c4e7379557 09:55:47 Removing intermediate container 92c4e7379557 09:55:47 ---> 26e309f9ac0f 09:55:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:55:47 ---> Running in 2a7828da4acd 09:55:47 Removing intermediate container 2a7828da4acd 09:55:47 ---> c8a30d2f350c 09:55:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:55:47 ---> Running in 1990f718364a 09:55:47 Removing intermediate container 1990f718364a 09:55:47 ---> 9361d7103ded 09:55:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:55:47 ---> Running in 81189a7f98cc 09:55:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:55:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:55:48 OK: 269 MiB in 57 packages 09:55:48 Removing intermediate container 81189a7f98cc 09:55:48 ---> 9248d2586f73 09:55:48 Step 8/25 : WORKDIR /device-rest-go 09:55:48 ---> Running in 1850dcea6506 09:55:48 Removing intermediate container 1850dcea6506 09:55:48 ---> 4b107824e553 09:55:48 Step 9/25 : COPY go.mod vendor* ./ 09:55:48 ---> ba9fa0af9966 09:55:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:48 ---> Running in c30770c9a30a 09:55:49 Removing intermediate container c30770c9a30a 09:55:49 ---> cb302a6f4f92 09:55:49 Step 11/25 : COPY . . 09:55:50 ---> 105fc92cefea 09:55:50 Step 12/25 : RUN $MAKE 09:55:50 ---> Running in 2faeea97ff60 09:55:50 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 09:56:12 Removing intermediate container 2faeea97ff60 09:56:12 ---> f1b74b058f96 09:56:12 Step 13/25 : FROM alpine:3.17 09:56:12 3.17: Pulling from library/alpine 09:56:12 f56be85fc22e: Already exists 09:56:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:56:12 Status: Downloaded newer image for alpine:3.17 09:56:12 ---> 9ed4aefc74f6 09:56:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:56:12 ---> Running in fd29e17ca5ae 09:56:12 Removing intermediate container fd29e17ca5ae 09:56:12 ---> c91325021c0a 09:56:12 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:56:12 ---> Running in 3666ed406bc4 09:56:12 Removing intermediate container 3666ed406bc4 09:56:12 ---> f1280ae279b4 09:56:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 09:56:12 ---> Running in 27651da7d5b8 09:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:56:12 (1/1) Installing dumb-init (1.2.5-r2) 09:56:12 Executing busybox-1.35.0-r29.trigger 09:56:12 OK: 7 MiB in 16 packages 09:56:12 Removing intermediate container 27651da7d5b8 09:56:12 ---> df9bbf9f3ca1 09:56:12 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:56:12 ---> 5d636da840a4 09:56:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:56:12 ---> bdce9b6d2845 09:56:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:56:12 ---> 2b401f09c3be 09:56:12 Step 20/25 : EXPOSE 59986 09:56:12 ---> Running in 6223f5980ee3 09:56:12 Removing intermediate container 6223f5980ee3 09:56:12 ---> f264b5adfdcb 09:56:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:56:12 ---> Running in e7e157ee30df 09:56:13 Removing intermediate container e7e157ee30df 09:56:13 ---> 699a5b1bb5bd 09:56:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:56:13 ---> Running in 22059b8b6b9f 09:56:13 Removing intermediate container 22059b8b6b9f 09:56:13 ---> bf517aaa4d65 09:56:13 Step 23/25 : LABEL arch=amd64 09:56:13 ---> Running in 4807eb418ee5 09:56:13 Removing intermediate container 4807eb418ee5 09:56:13 ---> 2e7164553df3 09:56:13 Step 24/25 : LABEL git_sha=3960dc5242141c2aea7f41e09034b22aa9f5aa10 09:56:13 ---> Running in 2d208c152481 09:56:13 Removing intermediate container 2d208c152481 09:56:13 ---> 4be50f88fff5 09:56:13 Step 25/25 : LABEL version=0.0.0 09:56:13 ---> Running in 06a31ec1ee1b 09:56:13 Removing intermediate container 06a31ec1ee1b 09:56:13 ---> ddc1dba65d00 09:56:13 [Warning] One or more build-args [ARCH] were not consumed 09:56:13 Successfully built ddc1dba65d00 09:56:13 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 09:56:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:14 09:56:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:14 latest: Pulling from edgex-lftools-log-publisher 09:56:14 5eb5b503b376: Pulling fs layer 09:56:14 5c69ac0246d0: Pulling fs layer 09:56:14 ec43610c2a17: Pulling fs layer 09:56:14 3a2ae6a8a46f: Pulling fs layer 09:56:14 33b1e0a273af: Pulling fs layer 09:56:14 5d3b04190fa2: Pulling fs layer 09:56:14 2f39f015ded8: Pulling fs layer 09:56:14 33b1e0a273af: Waiting 09:56:14 5d3b04190fa2: Waiting 09:56:14 2f39f015ded8: Waiting 09:56:14 3a2ae6a8a46f: Waiting 09:56:14 5c69ac0246d0: Download complete 09:56:14 3a2ae6a8a46f: Verifying Checksum 09:56:14 3a2ae6a8a46f: Download complete 09:56:14 ec43610c2a17: Verifying Checksum 09:56:14 ec43610c2a17: Download complete 09:56:14 33b1e0a273af: Verifying Checksum 09:56:14 33b1e0a273af: Download complete 09:56:14 5d3b04190fa2: Verifying Checksum 09:56:14 5d3b04190fa2: Download complete 09:56:15 5eb5b503b376: Verifying Checksum 09:56:15 5eb5b503b376: Download complete 09:56:15 2f39f015ded8: Verifying Checksum 09:56:15 2f39f015ded8: Download complete 09:56:16 5eb5b503b376: Pull complete 09:56:16 5c69ac0246d0: Pull complete 09:56:16 ec43610c2a17: Pull complete 09:56:16 3a2ae6a8a46f: Pull complete 09:56:17 33b1e0a273af: Pull complete 09:56:17 5d3b04190fa2: Pull complete 09:56:21 2f39f015ded8: Pull complete 09:56:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:56:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:56:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:21 prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container 09:56: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/gexfoundry_device-rest-go_PR-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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 09:56:30 $ docker top 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:30 ---> job-cost.sh 09:56:30 lf-activate-venv: SKIPPING 09:56:30 INFO: No Stack... 09:56:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:56:31 INFO: Archiving Costs [Pipeline] sh 09:56:31 + cat /w/workspace/gexfoundry_device-rest-go_PR-319/archives/cost.csv 09:56:31 + cut -d, -f6 [Pipeline] lock 09:56:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] 09:56:31 Resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] did not exist. Created. 09:56:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:56:32 + echo total: 0.2199999988079071 [Pipeline] stash 09:56:32 Stashed 1 file(s) [Pipeline] } 09:56:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:56:32 $ docker stop --time=1 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 09:56:34 $ docker rm -f --volumes 2600258afaec3eff8ce32f3cd6ef74a7ba0b6201e56d0359722054a7d8349621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:56:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15542 in /w/workspace/gexfoundry_device-rest-go_PR-319 [Pipeline] { [Pipeline] ws 09:56:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 09:56:56 The recommended git tool is: git 09:57:03 using credential edgex-jenkins-ssh 09:57:03 Cloning the remote Git repository 09:57:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:57:03 > git init /w/workspace/device-rest-go/1 # timeout=10 09:57:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:57:03 > git --version # timeout=10 09:57:03 > git --version # 'git version 2.25.1' 09:57:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:57:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:57:07 Merging remotes/origin/main commit e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 into PR head commit 3960dc5242141c2aea7f41e09034b22aa9f5aa10 09:57:08 Merge succeeded, producing 3960dc5242141c2aea7f41e09034b22aa9f5aa10 09:57:08 Checking out Revision 3960dc5242141c2aea7f41e09034b22aa9f5aa10 (PR-319) 09:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:57:07 > git config core.sparsecheckout # timeout=10 09:57:08 > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 09:57:08 > git remote # timeout=10 09:57:08 > git config --get remote.origin.url # timeout=10 09:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 09:57:08 > git merge e3b43ee8ff0ebeefc64859dd40b2c1e2b9faa613 # timeout=10 09:57:08 > git rev-parse HEAD^{commit} # timeout=10 09:57:08 > git config core.sparsecheckout # timeout=10 09:57:08 > git checkout -f 3960dc5242141c2aea7f41e09034b22aa9f5aa10 # timeout=10 09:57:08 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v3" 09:57:08 > git --version # timeout=10 09:57:08 > git --version # 'git version 2.25.1' 09:57:08 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:57:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:57:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:57:10 Dload Upload Total Spent Left Speed 09:57:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 09:57:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:57:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:57:11 + sudo tee /etc/docker/daemon.new 09:57:11 { 09:57:11 "registry-mirrors": [ 09:57:11 "https://nexus3.edgexfoundry.org:10001" 09:57:11 ], 09:57:11 "bip": "10.250.0.254/24", 09:57:11 "hosts": [ 09:57:11 "tcp://0.0.0.0:5555", 09:57:11 "unix:///var/run/docker.sock" 09:57:11 ], 09:57:11 "mtu": 1458, 09:57:11 "selinux-enabled": true, 09:57:11 "seccomp-profile": "/etc/docker/seccomp.json" 09:57:11 } [Pipeline] sh 09:57:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:57:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:57:30 provisioning config files... 09:57:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11677562934482974958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:57:30 ---> docker-login.sh 09:57:30 nexus3.edgexfoundry.org:10001 09:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:31 Configure a credential helper to remove this warning. See 09:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:31 09:57:31 Login Succeeded 09:57:31 nexus3.edgexfoundry.org:10002 09:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:31 Configure a credential helper to remove this warning. See 09:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:31 09:57:31 Login Succeeded 09:57:31 nexus3.edgexfoundry.org:10003 09:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:32 Configure a credential helper to remove this warning. See 09:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:32 09:57:32 Login Succeeded 09:57:32 nexus3.edgexfoundry.org:10004 09:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:32 Configure a credential helper to remove this warning. See 09:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:32 09:57:32 Login Succeeded 09:57:32 docker.io 09:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:57:33 Configure a credential helper to remove this warning. See 09:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:57:33 09:57:33 Login Succeeded 09:57:33 ---> docker-login.sh ends [Pipeline] } 09:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:57:33 ========================================================= 09:57:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:57:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:34 + 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 . 09:57:34 Sending build context to Docker daemon 139.3kB 09:57:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:57:34 Step 2/12 : FROM ${BASE} AS builder 09:57:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:57:34 c41833b44d91: Pulling fs layer 09:57:34 ed15518f5707: Pulling fs layer 09:57:34 feae8fd75edb: Pulling fs layer 09:57:34 242c74f7c9fa: Pulling fs layer 09:57:34 3cdef696dda3: Pulling fs layer 09:57:34 2ced38df9373: Pulling fs layer 09:57:34 58f1dce35555: Pulling fs layer 09:57:34 3cdef696dda3: Waiting 09:57:34 2ced38df9373: Waiting 09:57:34 242c74f7c9fa: Waiting 09:57:34 58f1dce35555: Waiting 09:57:34 ed15518f5707: Verifying Checksum 09:57:34 ed15518f5707: Download complete 09:57:34 242c74f7c9fa: Verifying Checksum 09:57:34 242c74f7c9fa: Download complete 09:57:34 3cdef696dda3: Download complete 09:57:34 c41833b44d91: Download complete 09:57:36 c41833b44d91: Pull complete 09:57:36 58f1dce35555: Verifying Checksum 09:57:36 58f1dce35555: Download complete 09:57:36 ed15518f5707: Pull complete 09:57:37 feae8fd75edb: Verifying Checksum 09:57:37 feae8fd75edb: Download complete 09:57:37 2ced38df9373: Verifying Checksum 09:57:37 2ced38df9373: Download complete 09:57:50 feae8fd75edb: Pull complete 09:57:50 242c74f7c9fa: Pull complete 09:57:50 3cdef696dda3: Pull complete 09:57:57 2ced38df9373: Pull complete 09:57:59 58f1dce35555: Pull complete 09:57:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:57:59 ---> fadd8f120f05 09:57:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:58:01 ---> Running in 9656cd02daa3 09:58:01 Removing intermediate container 9656cd02daa3 09:58:01 ---> 102c964d2489 09:58:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:58:01 ---> Running in 132a86106e00 09:58:01 Removing intermediate container 132a86106e00 09:58:01 ---> 30482a9352fb 09:58:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:58:01 ---> Running in 10e932e30767 09:58:02 Removing intermediate container 10e932e30767 09:58:02 ---> 0ea07324c42d 09:58:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:58:02 ---> Running in 5c71ea5b044e 09:58:02 Removing intermediate container 5c71ea5b044e 09:58:02 ---> a454a35adf74 09:58:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:58:02 ---> Running in bd9b5da4c9a8 09:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:58:06 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:58:06 (2/4) Installing libedit (20221030.3.1-r0) 09:58:06 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:58:06 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:58:06 Executing busybox-1.35.0-r29.trigger 09:58:06 OK: 268 MiB in 57 packages 09:58:07 Removing intermediate container bd9b5da4c9a8 09:58:07 ---> 1b6f6b771be9 09:58:07 Step 8/12 : WORKDIR /device-rest-go 09:58:07 ---> Running in 3b04a3b5b05f 09:58:08 Removing intermediate container 3b04a3b5b05f 09:58:08 ---> 97d1fd51c312 09:58:08 Step 9/12 : COPY go.mod vendor* ./ 09:58:08 ---> 5331ce1dd27e 09:58:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:58:08 ---> Running in 061bc1dd0633 09:59:17 Removing intermediate container 061bc1dd0633 09:59:17 ---> b343502ab1d4 09:59:17 Step 11/12 : COPY . . 09:59:17 ---> ec4450ed65f5 09:59:17 Step 12/12 : RUN $MAKE 09:59:17 ---> Running in f8d2579d7f54 09:59:17 noop 09:59:18 Removing intermediate container f8d2579d7f54 09:59:18 ---> 7314fe5a2f95 09:59:18 Successfully built 7314fe5a2f95 09:59:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:18 + docker inspect -f . ci-base-image-arm64 09:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:19 prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container 09:59:19 $ 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 09:59:20 $ docker top 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:21 + go version 09:59:21 go version go1.20.2 linux/arm64 [Pipeline] } 09:59:21 $ docker stop --time=1 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf 09:59:23 $ docker rm -f --volumes 81979d55907b0ce9901ba945ac8e2c0adcde66e44d10f37c0d9ff1ce1ec66adf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:24 + docker inspect -f . ci-base-image-arm64 09:59:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:24 prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container 09:59:24 $ 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 09:59:25 $ docker top a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:26 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 09:59:27 + make test 09:59:27 go test ./... -coverprofile=coverage.out ./... 10:00:14 ? github.com/edgexfoundry/device-rest-go [no test files] 10:02:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:02:56 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 32.2% of statements 10:02:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:02:56 go vet ./... 10:03:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:03:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:03:28 ./bin/test-attribution-txt.sh [Pipeline] echo 10:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:03:28 $ docker stop --time=1 a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 10:03:30 $ docker rm -f --volumes a2a2e76971bcb8fbe4c5a0747aca54b223cf333d36404843a50e263eb0fbfb20 [Pipeline] // withDockerContainer [Pipeline] sh 10:03:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:03:32 Warning: overwriting stash ‘coverage-report’ 10:03:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:03:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:03:34 + ls -al . 10:03:34 total 180 10:03:34 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:59 . 10:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 .. 10:03:34 -rw-rw-r-- 1 jenkins jenkins 151 May 16 09:57 .dockerignore 10:03:34 drwxrwxr-x 8 jenkins jenkins 4096 May 16 09:57 .git 10:03:34 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 .github 10:03:34 -rw-rw-r-- 1 jenkins jenkins 329 May 16 09:57 .gitignore 10:03:34 -rw-rw-r-- 1 jenkins jenkins 41 May 16 09:57 .golangci.yml 10:03:34 -rw-rw-r-- 1 jenkins jenkins 9331 May 16 09:57 Attribution.txt 10:03:34 -rw-rw-r-- 1 jenkins jenkins 13085 May 16 09:57 CHANGELOG.md 10:03:34 -rw-rw-r-- 1 jenkins jenkins 1578 May 16 09:57 Dockerfile 10:03:34 -rw-rw-r-- 1 jenkins jenkins 677 May 16 09:57 GOVERNANCE.md 10:03:34 -rw-rw-r-- 1 jenkins jenkins 680 May 16 09:57 Jenkinsfile 10:03:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 09:57 LICENSE 10:03:34 -rw-rw-r-- 1 jenkins jenkins 1779 May 16 09:57 Makefile 10:03:34 -rw-rw-r-- 1 jenkins jenkins 620 May 16 09:57 OWNERS.md 10:03:34 -rw-rw-r-- 1 jenkins jenkins 15827 May 16 09:57 README.md 10:03:34 -rw-rw-r-- 1 jenkins jenkins 5 May 16 09:54 VERSION 10:03:34 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:57 bin 10:03:34 drwxrwxr-x 3 jenkins jenkins 4096 May 16 09:57 cmd 10:03:34 -rw-r--r-- 1 jenkins jenkins 14663 May 16 10:02 coverage.out 10:03:34 drwxrwxr-x 2 jenkins jenkins 4096 May 16 09:57 driver 10:03:34 -rw-rw-r-- 1 jenkins jenkins 3402 May 16 09:57 go.mod 10:03:34 -rw-rw-r-- 1 jenkins jenkins 31328 May 16 09:57 go.sum 10:03:34 drwxrwxr-x 4 jenkins jenkins 4096 May 16 09:57 snap 10:03:34 -rw-rw-r-- 1 jenkins jenkins 713 May 16 09:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:34 + 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=3960dc5242141c2aea7f41e09034b22aa9f5aa10 --label arch=arm64 --label version=0.0.0 . 10:03:34 Sending build context to Docker daemon 154.6kB 10:03:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:03:34 Step 2/25 : FROM ${BASE} AS builder 10:03:34 ---> 7314fe5a2f95 10:03:34 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:03:35 ---> Running in 12b64a732a16 10:03:35 Removing intermediate container 12b64a732a16 10:03:35 ---> 5fdee1f66411 10:03:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:03:35 ---> Running in 1e293e85ebcb 10:03:35 Removing intermediate container 1e293e85ebcb 10:03:35 ---> 3339de0e784f 10:03:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:03:35 ---> Running in 02d40f9ba127 10:03:36 Removing intermediate container 02d40f9ba127 10:03:36 ---> 70edb7dfdddf 10:03:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:03:36 ---> Running in 1ed0dba057bb 10:03:36 Removing intermediate container 1ed0dba057bb 10:03:36 ---> 342ca1b7bd48 10:03:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:03:37 ---> Running in 0b6f1c6df952 10:03:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:03:40 OK: 268 MiB in 57 packages 10:03:41 Removing intermediate container 0b6f1c6df952 10:03:41 ---> 7c21afeba01e 10:03:41 Step 8/25 : WORKDIR /device-rest-go 10:03:41 ---> Running in ebef1bebdc7c 10:03:41 Removing intermediate container ebef1bebdc7c 10:03:41 ---> 8293a0909963 10:03:41 Step 9/25 : COPY go.mod vendor* ./ 10:03:42 ---> bed24c9ac242 10:03:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:03:42 ---> Running in 056517a2d698 10:03:45 Removing intermediate container 056517a2d698 10:03:45 ---> 391539878c78 10:03:45 Step 11/25 : COPY . . 10:03:46 ---> c11a00741aa4 10:03:46 Step 12/25 : RUN $MAKE 10:03:46 ---> Running in 79dfb5d9b4c1 10:03:47 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 10:06:39 Removing intermediate container 79dfb5d9b4c1 10:06:39 ---> d005fafad7db 10:06:39 Step 13/25 : FROM alpine:3.17 10:06:39 3.17: Pulling from library/alpine 10:06:39 c41833b44d91: Already exists 10:06:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:06:39 Status: Downloaded newer image for alpine:3.17 10:06:39 ---> 51e60588ff2c 10:06:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:06:39 ---> Running in ff642dc4e1e8 10:06:39 Removing intermediate container ff642dc4e1e8 10:06:39 ---> b25424d35b36 10:06:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:06:39 ---> Running in 80cb90579f77 10:06:39 Removing intermediate container 80cb90579f77 10:06:39 ---> 62eef3c5af3c 10:06:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 10:06:39 ---> Running in 5427af4aa463 10:06:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:06:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:06:39 (1/1) Installing dumb-init (1.2.5-r2) 10:06:39 Executing busybox-1.35.0-r29.trigger 10:06:39 OK: 8 MiB in 16 packages 10:06:39 Removing intermediate container 5427af4aa463 10:06:39 ---> 6fa0b210bab8 10:06:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:06:39 ---> 7213e0a643da 10:06:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:06:40 ---> dc1c5521b8b9 10:06:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:06:40 ---> fac5a978307a 10:06:40 Step 20/25 : EXPOSE 59986 10:06:40 ---> Running in 129703259fc0 10:06:41 Removing intermediate container 129703259fc0 10:06:41 ---> 25442aea858e 10:06:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:06:41 ---> Running in 327bbf5400b0 10:06:41 Removing intermediate container 327bbf5400b0 10:06:41 ---> 7559ed12e30c 10:06:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:06:41 ---> Running in 8822695fae57 10:06:42 Removing intermediate container 8822695fae57 10:06:42 ---> 40ae27118f24 10:06:42 Step 23/25 : LABEL arch=arm64 10:06:42 ---> Running in 73ca0816a9db 10:06:42 Removing intermediate container 73ca0816a9db 10:06:42 ---> e72e546b4cb3 10:06:42 Step 24/25 : LABEL git_sha=3960dc5242141c2aea7f41e09034b22aa9f5aa10 10:06:42 ---> Running in 395f2e218bdc 10:06:43 Removing intermediate container 395f2e218bdc 10:06:43 ---> 1d39c8ca5137 10:06:43 Step 25/25 : LABEL version=0.0.0 10:06:43 ---> Running in 87b0e91bafe6 10:06:43 Removing intermediate container 87b0e91bafe6 10:06:43 ---> a51fe4b9b4b6 10:06:43 [Warning] One or more build-args [ARCH] were not consumed 10:06:43 Successfully built a51fe4b9b4b6 10:06:43 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:06:44 10:06:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:06:45 arm64: Pulling from edgex-lftools-log-publisher 10:06:45 8998bd30e6a1: Pulling fs layer 10:06:45 04944245beec: Pulling fs layer 10:06:45 699f458cf7ca: Pulling fs layer 10:06:45 765212b225bb: Pulling fs layer 10:06:45 f23df028b6ca: Pulling fs layer 10:06:45 d65c8cfc05b1: Pulling fs layer 10:06:45 2437ff75d9bd: Pulling fs layer 10:06:45 765212b225bb: Waiting 10:06:45 f23df028b6ca: Waiting 10:06:45 d65c8cfc05b1: Waiting 10:06:45 2437ff75d9bd: Waiting 10:06:45 04944245beec: Verifying Checksum 10:06:45 04944245beec: Download complete 10:06:45 765212b225bb: Verifying Checksum 10:06:45 765212b225bb: Download complete 10:06:45 f23df028b6ca: Verifying Checksum 10:06:45 f23df028b6ca: Download complete 10:06:45 d65c8cfc05b1: Verifying Checksum 10:06:45 d65c8cfc05b1: Download complete 10:06:45 699f458cf7ca: Verifying Checksum 10:06:45 699f458cf7ca: Download complete 10:06:45 8998bd30e6a1: Verifying Checksum 10:06:45 8998bd30e6a1: Download complete 10:06:48 2437ff75d9bd: Verifying Checksum 10:06:48 2437ff75d9bd: Download complete 10:06:50 8998bd30e6a1: Pull complete 10:06:50 04944245beec: Pull complete 10:06:52 699f458cf7ca: Pull complete 10:06:52 765212b225bb: Pull complete 10:06:53 f23df028b6ca: Pull complete 10:06:53 d65c8cfc05b1: Pull complete 10:07:08 2437ff75d9bd: Pull complete 10:07:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:07:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:07:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:08 prd-ubuntu20.04-docker-arm64-4c-16g-15542 does not seem to be running inside a container 10:07:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:07:11 $ docker top eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:12 ---> job-cost.sh 10:07:12 lf-activate-venv: SKIPPING 10:07:12 INFO: No Stack... 10:07:13 INFO: Retrieving Pricing Info for: v3-standard-4 10:07:14 INFO: Archiving Costs [Pipeline] sh 10:07:14 + cat /w/workspace/device-rest-go/1/archives/cost.csv 10:07:14 + cut -d, -f6 [Pipeline] lock 10:07:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] 10:07:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] did not exist. Created. 10:07:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:07:15 /w/workspace/device-rest-go/1@tmp/durable-aa9d2ca3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:07:16 + echo total: 0.10999999940395355 [Pipeline] stash 10:07:16 Warning: overwriting stash ‘stack-cost’ 10:07:16 Stashed 1 file(s) [Pipeline] } 10:07:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-319-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:07:16 $ docker stop --time=1 eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 10:07:18 $ docker rm -f --volumes eea0f41e5b06ae9112610434d1bdbe2f4de0f25eb8110f88195832f7f9b0a112 [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 10:07:19 provisioning config files... 10:07:19 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config4028810116945417954tmp [Pipeline] { [Pipeline] sh 10:07:19 + set +x 10:07:19 + curl -s https://codecov.io/bash 10:07:19 + bash -s -- 10:07:19 10:07:19 _____ _ 10:07:19 / ____| | | 10:07:19 | | ___ __| | ___ ___ _____ __ 10:07:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:07:19 | |___| (_) | (_| | __/ (_| (_) \ V / 10:07:19 \_____\___/ \__,_|\___|\___\___/ \_/ 10:07:19 Bash-1.0.6 10:07:19 10:07:19 10:07:19 ==> git version 2.25.1 found 10:07:19 ==> 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 10:07:19 Release-Date: 2020-01-08 10:07:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:07:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:07:19 ==> Jenkins CI detected. 10:07:19 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-319 10:07:19 project root: . 10:07:19 --> token set from env 10:07:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:07:19 ==> Running gcov in . (disable via -X gcov) 10:07:19 ==> Python coveragepy not found 10:07:19 ==> Searching for coverage reports in: 10:07:19 + . 10:07:19 -> Found 1 reports 10:07:19 ==> Detecting git/mercurial file structure 10:07:19 ==> Reading reports 10:07:19 + ./coverage.out bytes=14663 10:07:19 ==> Appending adjustments 10:07:19 https://docs.codecov.io/docs/fixing-reports 10:07:19 + Found adjustments 10:07:19 ==> Gzipping contents 10:07:19 4.0K /tmp/codecov.iTLw1i.gz 10:07:19 ==> Uploading reports 10:07:19 url: https://codecov.io 10:07:19 query: branch=PR-319&commit=3960dc5242141c2aea7f41e09034b22aa9f5aa10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= 10:07:19 -> Pinging Codecov 10:07:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-319&commit=3960dc5242141c2aea7f41e09034b22aa9f5aa10&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-319%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=319&job=&cmd_args= 10:07:20 -> Uploading to 10:07:20 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/4E5D53B4F1F92C436F7061BF334D961C/3960dc5242141c2aea7f41e09034b22aa9f5aa10/43c18555-179b-4790-b817-88fcb703f3da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T100719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae688b0c88031051d3d30f16f6c40caad4ff504e9228b4e962af3c914fc42555 10:07:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:07:20 Dload Upload Total Spent Left Speed 10:07:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12806 --:--:-- --:--:-- --:--:-- 12806 10:07:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3960dc5242141c2aea7f41e09034b22aa9f5aa10 [Pipeline] } 10:07:20 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 10:07:21 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-319/archives ] 10:07:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives 10:07:21 total 16 10:07:21 drwxr-xr-x 3 root root 4096 May 16 09:56 . 10:07:21 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. 10:07:21 drwxr-xr-x 2 root root 4096 May 16 09:56 cost 10:07:21 -rw-r--r-- 1 root root 86 May 16 09:56 cost.csv 10:07:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-319/archives 10:07:21 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-319/archives 10:07:21 total 16 10:07:21 drwxr-xr-x 3 jenkins jenkins 4096 May 16 09:56 . 10:07:21 drwxrwxr-x 10 jenkins jenkins 4096 May 16 09:56 .. 10:07:21 drwxr-xr-x 2 jenkins jenkins 4096 May 16 09:56 cost 10:07:21 -rw-r--r-- 1 jenkins jenkins 86 May 16 09:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:07:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:07:23 ---> package-listing.sh 10:07:23 ++ facter osfamily 10:07:23 ++ tr '[:upper:]' '[:lower:]' 10:07:23 + OS_FAMILY=debian 10:07:23 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-319 10:07:23 + START_PACKAGES=/tmp/packages_start.txt 10:07:23 + END_PACKAGES=/tmp/packages_end.txt 10:07:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:07:23 + PACKAGES=/tmp/packages_start.txt 10:07:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' 10:07:23 + PACKAGES=/tmp/packages_end.txt 10:07:23 + case "${OS_FAMILY}" in 10:07:23 + dpkg -l 10:07:23 + grep '^ii' 10:07:23 + '[' -f /tmp/packages_start.txt ']' 10:07:23 + '[' -f /tmp/packages_end.txt ']' 10:07:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:07:23 + '[' /w/workspace/gexfoundry_device-rest-go_PR-319 ']' 10:07:23 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ 10:07:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-319/archives/ [Pipeline] echo 10:07:23 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:07:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:07:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:24 prd-ubuntu20.04-docker-8c-8g-15535 does not seem to be running inside a container 10:07:24 $ 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-319/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-319 -v /w/workspace/gexfoundry_device-rest-go_PR-319:/w/workspace/gexfoundry_device-rest-go_PR-319:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-319@tmp:/w/workspace/gexfoundry_device-rest-go_PR-319@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 10:07:24 $ docker top 668b0c30d3477c924418ddbd3b3797cabeb9f5e3add75988d7c6599f069ee442 -eo pid,comm [Pipeline] { [Pipeline] sh 10:07:25 + touch /tmp/pre-build-complete [Pipeline] sh 10:07:25 + mkdir -p /var/log/sysstat [Pipeline] sh 10:07:25 + ls /var/log/sa-host 10:07:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:25 provisioning config files... 10:07:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-319@tmp/config4031728271136568770tmp [Pipeline] { [Pipeline] echo 10:07:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:07:26 ---> create-netrc.sh [Pipeline] } 10:07:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:07:26 ---> python-tools-install.sh [Pipeline] echo 10:07:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:07:27 ---> sudo-logs.sh 10:07:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:07:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:07:27 ---> job-cost.sh 10:07:27 lf-activate-venv: SKIPPING 10:07:27 DEBUG: total: 0.2199999988079071 10:07:27 INFO: Retrieving Stack Cost... 10:07:28 INFO: Retrieving Pricing Info for: v3-standard-8 10:07:28 INFO: Archiving Costs [Pipeline] echo 10:07:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:07:28 ---> logs-deploy.sh 10:07:28 lf-activate-venv: SKIPPING 10:07:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-319/1 10:07:28 INFO: archiving workspace using pattern(s): 10:07:29 Archives upload complete. 10:07:29 INFO: archiving logs to Nexus