Pull request #312 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6bf905a67bc7dbe351a7316c0ab36e8297c76b0+f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc (79ab9006164c35b7b08090c9cc0a49cc8ea9453a) 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-ssh12133187323494602899.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-ssh14700008890383745725.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-312/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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12775735974528112941.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-312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7615693944260968303.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-ssh7169095696178584298.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-312/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-312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9812487540243860297.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14760’ Running on prd-ubuntu20.04-docker-8c-8g-14762 in /w/workspace/gexfoundry_device-rest-go_PR-312 [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-312 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc into PR head commit b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 Merge succeeded, producing b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 Checking out Revision b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 (PR-312) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 # 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 f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:59:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:59:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:59:59 ========================================================= 20:59:59 EdgeX Global Pipelines Version Info 20:59:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:00:00 ------------------- 21:00:00 stable info: 21:00:00 ------------------- 21:00:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:00:00 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:00:00 Message: update stable to v1.0.249 21:00:01 ------------------- 21:00:01 experimental info: 21:00:01 ------------------- 21:00:01 Commited By: **** collab-it+edgex@linuxfoundation.org 21:00:01 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:00:01 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:00:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-312 [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-312 [Pipeline] echo 21:00:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-312 [Pipeline] echo 21:00:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [Pipeline] echo 21:00:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6bf905 [Pipeline] echo 21:00:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:03 provisioning config files... 21:00:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/config5675557816437577998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:03 ---> docker-login.sh 21:00:03 nexus3.edgexfoundry.org:10001 21:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:03 Configure a credential helper to remove this warning. See 21:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:03 21:00:03 Login Succeeded 21:00:03 nexus3.edgexfoundry.org:10002 21:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:04 Configure a credential helper to remove this warning. See 21:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:04 21:00:04 Login Succeeded 21:00:04 nexus3.edgexfoundry.org:10003 21:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:04 Configure a credential helper to remove this warning. See 21:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:04 21:00:04 Login Succeeded 21:00:04 nexus3.edgexfoundry.org:10004 21:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:04 Configure a credential helper to remove this warning. See 21:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:04 21:00:04 Login Succeeded 21:00:04 docker.io 21:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:07 Configure a credential helper to remove this warning. See 21:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:07 21:00:07 Login Succeeded 21:00:07 ---> docker-login.sh ends [Pipeline] } 21:00:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:00:08 + git rev-list -1 --merges b6bf905a67bc7dbe351a7316c0ab36e8297c76b0~1..b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [Pipeline] echo 21:00:08 -----------> git rev-list -1 --merges b6bf905a67bc7dbe351a7316c0ab36e8297c76b0~1..b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [false] [Pipeline] sh 21:00:08 + git log --format=format:%s -1 b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [Pipeline] echo 21:00:08 ========================================================= 21:00:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:00:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:09 + git log --format=format:%s -1 b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [Pipeline] echo 21:00:09 [semverPrep] GIT_COMMIT: b6bf905a67bc7dbe351a7316c0ab36e8297c76b0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:00:09 [semverPrep] This is not a build commit. [Pipeline] sh 21:00:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:09 + grep -v github /etc/ssh/ssh_known_hosts 21:00:09 + [ -e /tmp/ssh_known_hosts ] 21:00:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:00:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:00:09 + sudo tee -a /etc/ssh/ssh_known_hosts 21:00:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:10 21:00:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:11 0.1.4: Pulling from edgex-devops/py-git-semver 21:00:11 b85a868b505f: Pulling fs layer 21:00:11 e2be974225ed: Pulling fs layer 21:00:11 339a4e72a1f5: Pulling fs layer 21:00:11 988bab9f4d93: Pulling fs layer 21:00:11 1469e6f7b9e6: Pulling fs layer 21:00:11 eaf3925da568: Pulling fs layer 21:00:11 bab4dde63d76: Pulling fs layer 21:00:11 bde34c3a00c8: Pulling fs layer 21:00:11 b352a97aabf1: Pulling fs layer 21:00:11 4872d77fe225: Pulling fs layer 21:00:11 5851b861e8e6: Pulling fs layer 21:00:11 eaf3925da568: Waiting 21:00:11 bab4dde63d76: Waiting 21:00:11 bde34c3a00c8: Waiting 21:00:11 988bab9f4d93: Waiting 21:00:11 b352a97aabf1: Waiting 21:00:11 4872d77fe225: Waiting 21:00:11 5851b861e8e6: Waiting 21:00:11 1469e6f7b9e6: Waiting 21:00:11 e2be974225ed: Download complete 21:00:11 988bab9f4d93: Verifying Checksum 21:00:11 988bab9f4d93: Download complete 21:00:11 1469e6f7b9e6: Verifying Checksum 21:00:11 1469e6f7b9e6: Download complete 21:00:11 339a4e72a1f5: Verifying Checksum 21:00:11 339a4e72a1f5: Download complete 21:00:11 eaf3925da568: Verifying Checksum 21:00:11 eaf3925da568: Download complete 21:00:11 bde34c3a00c8: Verifying Checksum 21:00:11 bde34c3a00c8: Download complete 21:00:11 b352a97aabf1: Download complete 21:00:11 4872d77fe225: Download complete 21:00:11 5851b861e8e6: Verifying Checksum 21:00:11 5851b861e8e6: Download complete 21:00:11 b85a868b505f: Verifying Checksum 21:00:11 b85a868b505f: Download complete 21:00:12 bab4dde63d76: Download complete 21:00:13 b85a868b505f: Pull complete 21:00:13 e2be974225ed: Pull complete 21:00:15 339a4e72a1f5: Pull complete 21:00:15 988bab9f4d93: Pull complete 21:00:16 1469e6f7b9e6: Pull complete 21:00:17 eaf3925da568: Pull complete 21:00:19 bab4dde63d76: Pull complete 21:00:19 bde34c3a00c8: Pull complete 21:00:19 b352a97aabf1: Pull complete 21:00:20 4872d77fe225: Pull complete 21:00:20 5851b861e8e6: Pull complete 21:00:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:00:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:21 prd-ubuntu20.04-docker-8c-8g-14762 does not seem to be running inside a container 21:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-312 -v /w/workspace/gexfoundry_device-rest-go_PR-312:/w/workspace/gexfoundry_device-rest-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-312@tmp:/w/workspace/gexfoundry_device-rest-go_PR-312@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 21:00:24 $ docker top 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 -eo pid,comm 21:00:24 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). 21:00:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:24 [ssh-agent] Looking for ssh-agent implementation... 21:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:24 $ docker exec 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 ssh-agent 21:00:24 SSH_AUTH_SOCK=/tmp/ssh-dwDwBHTPkE3I/agent.32 21:00:24 SSH_AGENT_PID=38 21:00:24 Running ssh-add (command line suppressed) 21:00:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-312@tmp/private_key_6321990036500520038.key (/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/private_key_6321990036500520038.key) 21:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:25 + git tag --points-at HEAD [Pipeline] } 21:00:25 $ docker exec --env ******** --env ******** 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 ssh-agent -k 21:00:25 unset SSH_AUTH_SOCK; 21:00:25 unset SSH_AGENT_PID; 21:00:25 echo Agent pid 38 killed; 21:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:00:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:25 [ssh-agent] Looking for ssh-agent implementation... 21:00:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:25 $ docker exec 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 ssh-agent 21:00:25 SSH_AUTH_SOCK=/tmp/ssh-aXkOZXZuLXQC/agent.70 21:00:25 SSH_AGENT_PID=76 21:00:25 Running ssh-add (command line suppressed) 21:00:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-312@tmp/private_key_3136943960593341267.key (/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/private_key_3136943960593341267.key) 21:00:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:26 + git semver init 21:00:26 2023-05-09 21:00:26,547 [run_init] DEBUG init version:0.0.0 force:False 21:00:26 2023-05-09 21:00:26,547 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-312/.semver 21:00:26 2023-05-09 21:00:26,548 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-312/.semver 21:00:26 2023-05-09 21:00:26,548 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-312/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-312, universal_newlines=False, shell=None, istream=None) 21:00:27 2023-05-09 21:00:27,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-312/.git/info/exclude 21:00:27 2023-05-09 21:00:27,534 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-312/.semver/PR-312 with force:False 21:00:27 2023-05-09 21:00:27,534 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-312/.semver/PR-312 21:00:27 2023-05-09 21:00:27,538 [execute] INFO git cat-file --batch-check 21:00:27 2023-05-09 21:00:27,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 21:00:27 2023-05-09 21:00:27,543 [execute] INFO git cat-file --batch 21:00:27 2023-05-09 21:00:27,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-312/.semver, universal_newlines=False, shell=None, istream=) 21:00:27 2023-05-09 21:00:27,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-312/.semver/PR-312 21:00:27 0.0.0 [Pipeline] } 21:00:28 $ docker exec --env ******** --env ******** 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 ssh-agent -k 21:00:28 unset SSH_AUTH_SOCK; 21:00:28 unset SSH_AGENT_PID; 21:00:28 echo Agent pid 76 killed; 21:00:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:28 + git semver [Pipeline] } 21:00:29 $ docker stop --time=1 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 21:00:30 $ docker rm -f --volumes 7a349a0f443e541c3baad3777c3b86c5f1c3c814a15c017f533bfb40c65667e0 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:31 Stashed 1 file(s) [Pipeline] echo 21:00:31 [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 21:00:31 provisioning config files... 21:00:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/config15938625395950450364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:32 ---> docker-login.sh 21:00:32 nexus3.edgexfoundry.org:10001 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 nexus3.edgexfoundry.org:10002 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 nexus3.edgexfoundry.org:10003 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 nexus3.edgexfoundry.org:10004 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:32 Configure a credential helper to remove this warning. See 21:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:32 21:00:32 Login Succeeded 21:00:32 docker.io 21:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:00:33 Configure a credential helper to remove this warning. See 21:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:00:33 21:00:33 Login Succeeded 21:00:33 ---> docker-login.sh ends [Pipeline] } 21:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:00:33 ========================================================= 21:00:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:00:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:33 + 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 . 21:00:33 Sending build context to Docker daemon 10.92MB 21:00:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:00:33 Step 2/12 : FROM ${BASE} AS builder 21:00:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:00:34 f56be85fc22e: Pulling fs layer 21:00:34 85791d961cd3: Pulling fs layer 21:00:34 d694b5ae8c79: Pulling fs layer 21:00:34 9f32a84ed3da: Pulling fs layer 21:00:34 4d19c01a9841: Pulling fs layer 21:00:34 9325e15d5711: Pulling fs layer 21:00:34 9f32a84ed3da: Waiting 21:00:34 4d19c01a9841: Waiting 21:00:34 556b6ee489ea: Pulling fs layer 21:00:34 c5a4b2cf53e6: Pulling fs layer 21:00:34 9325e15d5711: Waiting 21:00:34 556b6ee489ea: Waiting 21:00:34 c5a4b2cf53e6: Waiting 21:00:34 85791d961cd3: Verifying Checksum 21:00:34 85791d961cd3: Download complete 21:00:34 9f32a84ed3da: Verifying Checksum 21:00:34 9f32a84ed3da: Download complete 21:00:34 4d19c01a9841: Download complete 21:00:34 f56be85fc22e: Download complete 21:00:34 9325e15d5711: Verifying Checksum 21:00:34 9325e15d5711: Download complete 21:00:34 f56be85fc22e: Pull complete 21:00:35 85791d961cd3: Pull complete 21:00:35 d694b5ae8c79: Verifying Checksum 21:00:35 d694b5ae8c79: Download complete 21:00:35 c5a4b2cf53e6: Verifying Checksum 21:00:35 c5a4b2cf53e6: Download complete 21:00:35 556b6ee489ea: Verifying Checksum 21:00:35 556b6ee489ea: Download complete 21:00:38 d694b5ae8c79: Pull complete 21:00:38 9f32a84ed3da: Pull complete 21:00:38 4d19c01a9841: Pull complete 21:00:39 9325e15d5711: Pull complete 21:00:42 556b6ee489ea: Pull complete 21:00:42 c5a4b2cf53e6: Pull complete 21:00:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:00:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:00:42 ---> c4be618373d6 21:00:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:00:46 Still waiting to schedule task 21:00:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14761’ 21:00:47 ---> Running in ecd90302eef6 21:00:47 Removing intermediate container ecd90302eef6 21:00:47 ---> 1f8d3c9b8e18 21:00:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:47 ---> Running in 87aaf8b5bc62 21:00:47 Removing intermediate container 87aaf8b5bc62 21:00:47 ---> e3f55f695ff6 21:00:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:00:47 ---> Running in 1171945cb9a6 21:00:47 Removing intermediate container 1171945cb9a6 21:00:47 ---> bd54f2c79b55 21:00:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:00:47 ---> Running in 4f1ee7d79fdf 21:00:47 Removing intermediate container 4f1ee7d79fdf 21:00:47 ---> a7196a070f0d 21:00:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:47 ---> Running in 7730d9082f45 21:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:00:47 (2/4) Installing libedit (20221030.3.1-r0) 21:00:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:00:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:00:47 Executing busybox-1.35.0-r29.trigger 21:00:47 OK: 269 MiB in 57 packages 21:00:48 Removing intermediate container 7730d9082f45 21:00:48 ---> 89cda24bf151 21:00:48 Step 8/12 : WORKDIR /device-rest-go 21:00:48 ---> Running in 48d10157bf3a 21:00:48 Removing intermediate container 48d10157bf3a 21:00:48 ---> 6d978f09fc36 21:00:48 Step 9/12 : COPY go.mod vendor* ./ 21:00:48 ---> 99d3aed93cdd 21:00:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:48 ---> Running in d1ade351f688 21:01:14 Removing intermediate container d1ade351f688 21:01:14 ---> 7bd01ebac373 21:01:14 Step 11/12 : COPY . . 21:01:14 ---> 508ec36e86e2 21:01:14 Step 12/12 : RUN $MAKE 21:01:14 ---> Running in 2d9bf016fe45 21:01:14 noop 21:01:14 Removing intermediate container 2d9bf016fe45 21:01:14 ---> 592ef9dfbbfd 21:01:14 Successfully built 592ef9dfbbfd 21:01:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:15 + docker inspect -f . ci-base-image-x86_64 21:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:15 prd-ubuntu20.04-docker-8c-8g-14762 does not seem to be running inside a container 21:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-312 -v /w/workspace/gexfoundry_device-rest-go_PR-312:/w/workspace/gexfoundry_device-rest-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-312@tmp:/w/workspace/gexfoundry_device-rest-go_PR-312@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 21:01:15 $ docker top f2bdb3414b9a64feeab3fc99741d5ae4054b24ab9d8ef3a75e80aa28a2c45ca6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:16 + go version 21:01:16 go version go1.20.2 linux/amd64 [Pipeline] } 21:01:16 $ docker stop --time=1 f2bdb3414b9a64feeab3fc99741d5ae4054b24ab9d8ef3a75e80aa28a2c45ca6 21:01:17 $ docker rm -f --volumes f2bdb3414b9a64feeab3fc99741d5ae4054b24ab9d8ef3a75e80aa28a2c45ca6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:18 + docker inspect -f . ci-base-image-x86_64 21:01:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:18 prd-ubuntu20.04-docker-8c-8g-14762 does not seem to be running inside a container 21:01:18 $ 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-312 -v /w/workspace/gexfoundry_device-rest-go_PR-312:/w/workspace/gexfoundry_device-rest-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-312@tmp:/w/workspace/gexfoundry_device-rest-go_PR-312@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 21:01:18 $ docker top 42391c7d4789aba6db9afd5a5e4ba0d8cab4b21c03e62e1ef5b6e50c93cdf563 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:19 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-312 [Pipeline] fileExists [Pipeline] sh 21:01:19 + make test 21:01:19 go test ./... -coverprofile=coverage.out ./... 21:01:24 ? github.com/edgexfoundry/device-rest-go [no test files] 21:01:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:01:35 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:01:40 go vet ./... 21:01:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:42 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:01:43 $ docker stop --time=1 42391c7d4789aba6db9afd5a5e4ba0d8cab4b21c03e62e1ef5b6e50c93cdf563 21:01:46 $ docker rm -f --volumes 42391c7d4789aba6db9afd5a5e4ba0d8cab4b21c03e62e1ef5b6e50c93cdf563 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:47 + ls -al . 21:01:47 total 184 21:01:47 drwxrwxr-x 9 jenkins jenkins 4096 May 9 21:01 . 21:01:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:59 .. 21:01:47 -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:59 .dockerignore 21:01:47 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:00 .git 21:01:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:59 .github 21:01:47 -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:59 .gitignore 21:01:47 -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:59 .golangci.yml 21:01:47 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:00 .semver 21:01:47 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 20:59 Attribution.txt 21:01:47 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 20:59 CHANGELOG.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 20:59 Dockerfile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:59 GOVERNANCE.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:59 Jenkinsfile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:59 LICENSE 21:01:47 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 20:59 Makefile 21:01:47 -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:59 OWNERS.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 20:59 README.md 21:01:47 -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:00 VERSION 21:01:47 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:59 bin 21:01:47 drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:59 cmd 21:01:47 -rw-r--r-- 1 jenkins jenkins 14663 May 9 21:01 coverage.out 21:01:47 drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:59 driver 21:01:47 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 20:59 go.mod 21:01:47 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 20:59 go.sum 21:01:47 drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:59 snap 21:01:47 -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:48 + 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=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 --label arch=amd64 --label version=0.0.0 . 21:01:48 Sending build context to Docker daemon 10.93MB 21:01:48 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:01:48 Step 2/25 : FROM ${BASE} AS builder 21:01:48 ---> 592ef9dfbbfd 21:01:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:01:48 ---> Running in 91d260501b1b 21:01:48 Removing intermediate container 91d260501b1b 21:01:48 ---> 24b7745dc9db 21:01:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:48 ---> Running in 0f6de6cafa45 21:01:48 Removing intermediate container 0f6de6cafa45 21:01:48 ---> 6ea667dd0801 21:01:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:49 ---> Running in 605d04bb1cf6 21:01:49 Removing intermediate container 605d04bb1cf6 21:01:49 ---> 8d66792bd71e 21:01:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:01:50 ---> Running in ed2bb1c1a979 21:01:50 Removing intermediate container ed2bb1c1a979 21:01:50 ---> 40c0e5ddad80 21:01:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:51 ---> Running in 201f910b0228 21:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:01:53 OK: 269 MiB in 57 packages 21:01:54 Removing intermediate container 201f910b0228 21:01:54 ---> be7d69ad9618 21:01:54 Step 8/25 : WORKDIR /device-rest-go 21:01:55 ---> Running in 176ec38c873f 21:01:55 Removing intermediate container 176ec38c873f 21:01:55 ---> 74c048029185 21:01:55 Step 9/25 : COPY go.mod vendor* ./ 21:01:55 ---> 5ac5e6b91ef3 21:01:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:55 ---> Running in 354c7e55cd88 21:01:57 Removing intermediate container 354c7e55cd88 21:01:57 ---> d9cbcf9bf237 21:01:57 Step 11/25 : COPY . . 21:01:57 ---> 2e1b83af81f8 21:01:57 Step 12/25 : RUN $MAKE 21:01:57 ---> Running in efe5a79c0b55 21:01:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:02:15 Removing intermediate container efe5a79c0b55 21:02:15 ---> ef3e22a66491 21:02:15 Step 13/25 : FROM alpine:3.17 21:02:15 3.17: Pulling from library/alpine 21:02:15 f56be85fc22e: Already exists 21:02:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:02:15 Status: Downloaded newer image for alpine:3.17 21:02:15 ---> 9ed4aefc74f6 21:02:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:02:16 ---> Running in 3b302b6e6bd2 21:02:16 Removing intermediate container 3b302b6e6bd2 21:02:16 ---> b9284d59e4a6 21:02:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:02:16 ---> Running in 3d785512c0df 21:02:17 Removing intermediate container 3d785512c0df 21:02:17 ---> 1bdbde71cfed 21:02:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:02:17 ---> Running in 91e8fff3b01d 21:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:02:17 (1/1) Installing dumb-init (1.2.5-r2) 21:02:17 Executing busybox-1.35.0-r29.trigger 21:02:17 OK: 7 MiB in 16 packages 21:02:18 Removing intermediate container 91e8fff3b01d 21:02:18 ---> da09fe9cd6b5 21:02:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:02:19 ---> 2f3503fea96a 21:02:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:02:20 ---> 70608faf72b3 21:02:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:02:20 ---> 55c6dcf3a7b3 21:02:20 Step 20/25 : EXPOSE 59986 21:02:20 ---> Running in d71cb713eb22 21:02:21 Removing intermediate container d71cb713eb22 21:02:21 ---> 692c17bf56c4 21:02:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:02:21 ---> Running in f88f36ffb49f 21:02:21 Removing intermediate container f88f36ffb49f 21:02:21 ---> d9066c2a884a 21:02:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:02:21 ---> Running in 6f72f3b03602 21:02:21 Removing intermediate container 6f72f3b03602 21:02:21 ---> e6521727364c 21:02:21 Step 23/25 : LABEL arch=amd64 21:02:21 ---> Running in 814bc33ac09d 21:02:21 Removing intermediate container 814bc33ac09d 21:02:21 ---> 4ff34407b85b 21:02:21 Step 24/25 : LABEL git_sha=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 21:02:21 ---> Running in 4ca85d34a1f5 21:02:21 Removing intermediate container 4ca85d34a1f5 21:02:21 ---> e73e1fa5174d 21:02:21 Step 25/25 : LABEL version=0.0.0 21:02:21 ---> Running in 2c6d8e89c845 21:02:21 Removing intermediate container 2c6d8e89c845 21:02:21 ---> bc14c722c5b6 21:02:21 [Warning] One or more build-args [ARCH] were not consumed 21:02:21 Successfully built bc14c722c5b6 21:02:21 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:22 21:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:23 latest: Pulling from edgex-lftools-log-publisher 21:02:23 5eb5b503b376: Pulling fs layer 21:02:23 5c69ac0246d0: Pulling fs layer 21:02:23 ec43610c2a17: Pulling fs layer 21:02:23 3a2ae6a8a46f: Pulling fs layer 21:02:23 33b1e0a273af: Pulling fs layer 21:02:23 5d3b04190fa2: Pulling fs layer 21:02:23 2f39f015ded8: Pulling fs layer 21:02:23 3a2ae6a8a46f: Waiting 21:02:23 33b1e0a273af: Waiting 21:02:23 5d3b04190fa2: Waiting 21:02:23 2f39f015ded8: Waiting 21:02:23 5c69ac0246d0: Verifying Checksum 21:02:23 5c69ac0246d0: Download complete 21:02:23 3a2ae6a8a46f: Verifying Checksum 21:02:23 3a2ae6a8a46f: Download complete 21:02:23 33b1e0a273af: Verifying Checksum 21:02:23 33b1e0a273af: Download complete 21:02:23 5d3b04190fa2: Verifying Checksum 21:02:23 5d3b04190fa2: Download complete 21:02:23 ec43610c2a17: Verifying Checksum 21:02:23 ec43610c2a17: Download complete 21:02:23 5eb5b503b376: Download complete 21:02:24 2f39f015ded8: Download complete 21:02:24 5eb5b503b376: Pull complete 21:02:24 5c69ac0246d0: Pull complete 21:02:25 ec43610c2a17: Pull complete 21:02:25 3a2ae6a8a46f: Pull complete 21:02:25 33b1e0a273af: Pull complete 21:02:25 5d3b04190fa2: Pull complete 21:02:29 2f39f015ded8: Pull complete 21:02:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:30 prd-ubuntu20.04-docker-8c-8g-14762 does not seem to be running inside a container 21:02:30 $ 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-312 -v /w/workspace/gexfoundry_device-rest-go_PR-312:/w/workspace/gexfoundry_device-rest-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-312@tmp:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:02:33 $ docker top 9b6f0c26e1b2a34e8ccbd80907e26bdec42e2ef61ebe565e42dbec5e45a997f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:33 ---> job-cost.sh 21:02:33 lf-activate-venv: SKIPPING 21:02:33 INFO: No Stack... 21:02:33 INFO: Retrieving Pricing Info for: v3-standard-8 21:02:34 INFO: Archiving Costs [Pipeline] sh 21:02:34 + cat /w/workspace/gexfoundry_device-rest-go_PR-312/archives/cost.csv 21:02:34 + cut -d, -f6 [Pipeline] lock 21:02:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] 21:02:34 Resource [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] did not exist. Created. 21:02:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:02:34 + echo total: 0.2199999988079071 [Pipeline] stash 21:02:34 Stashed 1 file(s) [Pipeline] } 21:02:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:35 $ docker stop --time=1 9b6f0c26e1b2a34e8ccbd80907e26bdec42e2ef61ebe565e42dbec5e45a997f2 21:02:36 $ docker rm -f --volumes 9b6f0c26e1b2a34e8ccbd80907e26bdec42e2ef61ebe565e42dbec5e45a997f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:03:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14763 in /w/workspace/gexfoundry_device-rest-go_PR-312 [Pipeline] { [Pipeline] ws 21:03:44 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:03:44 The recommended git tool is: git 21:03:51 using credential edgex-jenkins-ssh 21:03:51 Cloning the remote Git repository 21:03:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:03:51 > git init /w/workspace/device-rest-go/1 # timeout=10 21:03:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:51 > git --version # timeout=10 21:03:51 > git --version # 'git version 2.25.1' 21:03:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:55 Merging remotes/origin/main commit f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc into PR head commit b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 21:03:56 Merge succeeded, producing b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 21:03:56 Checking out Revision b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 (PR-312) 21:03:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/312/head:refs/remotes/origin/PR-312 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:03:55 > git config core.sparsecheckout # timeout=10 21:03:55 > git checkout -f b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 # timeout=10 21:03:55 > git remote # timeout=10 21:03:56 > git config --get remote.origin.url # timeout=10 21:03:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:56 > git merge f04ad0eeb594cd3f8ad46f53b1443669e92ac7fc # timeout=10 21:03:56 > git rev-parse HEAD^{commit} # timeout=10 21:03:56 > git config core.sparsecheckout # timeout=10 21:03:56 > git checkout -f b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 # timeout=10 21:03:56 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:03:56 > git --version # timeout=10 21:03:56 > git --version # 'git version 2.25.1' 21:03:56 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:03:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:58 Dload Upload Total Spent Left Speed 21:03:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 21:03:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:03:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:03:59 + sudo tee /etc/docker/daemon.new 21:03:59 { 21:03:59 "registry-mirrors": [ 21:03:59 "https://nexus3.edgexfoundry.org:10001" 21:03:59 ], 21:03:59 "bip": "10.250.0.254/24", 21:03:59 "hosts": [ 21:03:59 "tcp://0.0.0.0:5555", 21:03:59 "unix:///var/run/docker.sock" 21:03:59 ], 21:03:59 "mtu": 1458, 21:03:59 "selinux-enabled": true, 21:03:59 "seccomp-profile": "/etc/docker/seccomp.json" 21:03:59 } [Pipeline] sh 21:03:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:03:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:22 provisioning config files... 21:04:22 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1703440084861813889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:22 ---> docker-login.sh 21:04:22 nexus3.edgexfoundry.org:10001 21:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:23 Configure a credential helper to remove this warning. See 21:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:23 21:04:23 Login Succeeded 21:04:23 nexus3.edgexfoundry.org:10002 21:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:23 Configure a credential helper to remove this warning. See 21:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:23 21:04:23 Login Succeeded 21:04:23 nexus3.edgexfoundry.org:10003 21:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:24 Configure a credential helper to remove this warning. See 21:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:24 21:04:24 Login Succeeded 21:04:24 nexus3.edgexfoundry.org:10004 21:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:24 Configure a credential helper to remove this warning. See 21:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:24 21:04:24 Login Succeeded 21:04:24 docker.io 21:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:25 Configure a credential helper to remove this warning. See 21:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:25 21:04:25 Login Succeeded 21:04:25 ---> docker-login.sh ends [Pipeline] } 21:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:25 ========================================================= 21:04:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:04:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:04:26 Sending build context to Docker daemon 139.3kB 21:04:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:26 Step 2/12 : FROM ${BASE} AS builder 21:04:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:04:26 c41833b44d91: Pulling fs layer 21:04:26 ed15518f5707: Pulling fs layer 21:04:26 feae8fd75edb: Pulling fs layer 21:04:26 242c74f7c9fa: Pulling fs layer 21:04:26 3cdef696dda3: Pulling fs layer 21:04:26 2ced38df9373: Pulling fs layer 21:04:26 58f1dce35555: Pulling fs layer 21:04:26 3cdef696dda3: Waiting 21:04:26 2ced38df9373: Waiting 21:04:26 58f1dce35555: Waiting 21:04:26 242c74f7c9fa: Waiting 21:04:26 ed15518f5707: Download complete 21:04:26 242c74f7c9fa: Verifying Checksum 21:04:26 242c74f7c9fa: Download complete 21:04:26 3cdef696dda3: Verifying Checksum 21:04:26 3cdef696dda3: Download complete 21:04:26 c41833b44d91: Verifying Checksum 21:04:26 c41833b44d91: Download complete 21:04:27 c41833b44d91: Pull complete 21:04:28 58f1dce35555: Verifying Checksum 21:04:28 58f1dce35555: Download complete 21:04:28 ed15518f5707: Pull complete 21:04:29 feae8fd75edb: Verifying Checksum 21:04:29 feae8fd75edb: Download complete 21:04:29 2ced38df9373: Verifying Checksum 21:04:29 2ced38df9373: Download complete 21:04:42 feae8fd75edb: Pull complete 21:04:42 242c74f7c9fa: Pull complete 21:04:42 3cdef696dda3: Pull complete 21:04:48 2ced38df9373: Pull complete 21:04:50 58f1dce35555: Pull complete 21:04:50 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:04:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:04:50 ---> fadd8f120f05 21:04:50 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:04:52 ---> Running in 6007c6951125 21:04:52 Removing intermediate container 6007c6951125 21:04:52 ---> 27f1ee79e8ad 21:04:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:52 ---> Running in ab2e5c7303ac 21:04:52 Removing intermediate container ab2e5c7303ac 21:04:52 ---> da725482315b 21:04:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:53 ---> Running in f30c0cfa0778 21:04:53 Removing intermediate container f30c0cfa0778 21:04:53 ---> abc0981c3dce 21:04:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:04:53 ---> Running in 255768e2edf8 21:04:53 Removing intermediate container 255768e2edf8 21:04:53 ---> cf79a277cc98 21:04:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:54 ---> Running in 45097558a219 21:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:04:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:04:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:04:57 (2/4) Installing libedit (20221030.3.1-r0) 21:04:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:04:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:04:57 Executing busybox-1.35.0-r29.trigger 21:04:57 OK: 268 MiB in 57 packages 21:04:59 Removing intermediate container 45097558a219 21:04:59 ---> 29b8849c858a 21:04:59 Step 8/12 : WORKDIR /device-rest-go 21:04:59 ---> Running in 10a0fc81d6d5 21:04:59 Removing intermediate container 10a0fc81d6d5 21:04:59 ---> 6e48c5b01e7c 21:04:59 Step 9/12 : COPY go.mod vendor* ./ 21:04:59 ---> 66219bf22aa9 21:04:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:59 ---> Running in 405f4e229919 21:06:07 Removing intermediate container 405f4e229919 21:06:07 ---> d1180cb691e5 21:06:07 Step 11/12 : COPY . . 21:06:07 ---> e696da4f85ae 21:06:07 Step 12/12 : RUN $MAKE 21:06:07 ---> Running in 7a5f1f812d7c 21:06:07 noop 21:06:07 Removing intermediate container 7a5f1f812d7c 21:06:07 ---> 332cf5525284 21:06:07 Successfully built 332cf5525284 21:06:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:08 + docker inspect -f . ci-base-image-arm64 21:06:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:08 prd-ubuntu20.04-docker-arm64-4c-16g-14763 does not seem to be running inside a container 21:06:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:10 $ docker top 4572a25c763028df12339f8c40e15d2d815822970c7a5ee32c867bb1273f3e59 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:10 + go version 21:06:10 go version go1.20.2 linux/arm64 [Pipeline] } 21:06:10 $ docker stop --time=1 4572a25c763028df12339f8c40e15d2d815822970c7a5ee32c867bb1273f3e59 21:06:12 $ docker rm -f --volumes 4572a25c763028df12339f8c40e15d2d815822970c7a5ee32c867bb1273f3e59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:13 + docker inspect -f . ci-base-image-arm64 21:06:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:13 prd-ubuntu20.04-docker-arm64-4c-16g-14763 does not seem to be running inside a container 21:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:16 $ docker top 6094d001a6c4fb9b8927c0c909043773b405685e11924b54ad4b7bb2f47f600c -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:17 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:06:18 + make test 21:06:18 go test ./... -coverprofile=coverage.out ./... 21:06:57 ? github.com/edgexfoundry/device-rest-go [no test files] 21:09:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:09:04 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 32.2% of statements 21:09:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:09:04 go vet ./... 21:09:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:30 $ docker stop --time=1 6094d001a6c4fb9b8927c0c909043773b405685e11924b54ad4b7bb2f47f600c 21:09:34 $ docker rm -f --volumes 6094d001a6c4fb9b8927c0c909043773b405685e11924b54ad4b7bb2f47f600c [Pipeline] // withDockerContainer [Pipeline] sh 21:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:35 Warning: overwriting stash ‘coverage-report’ 21:09:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:36 + ls -al . 21:09:36 total 180 21:09:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:06 . 21:09:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:03 .. 21:09:36 -rw-rw-r-- 1 jenkins jenkins 151 May 9 21:03 .dockerignore 21:09:36 drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:03 .git 21:09:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:03 .github 21:09:36 -rw-rw-r-- 1 jenkins jenkins 329 May 9 21:03 .gitignore 21:09:36 -rw-rw-r-- 1 jenkins jenkins 41 May 9 21:03 .golangci.yml 21:09:36 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 21:03 Attribution.txt 21:09:36 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 21:03 CHANGELOG.md 21:09:36 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 21:03 Dockerfile 21:09:36 -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:03 GOVERNANCE.md 21:09:36 -rw-rw-r-- 1 jenkins jenkins 680 May 9 21:03 Jenkinsfile 21:09:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 21:03 LICENSE 21:09:36 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 21:03 Makefile 21:09:36 -rw-rw-r-- 1 jenkins jenkins 620 May 9 21:03 OWNERS.md 21:09:36 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 21:03 README.md 21:09:36 -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:00 VERSION 21:09:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:03 bin 21:09:36 drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:03 cmd 21:09:36 -rw-r--r-- 1 jenkins jenkins 14663 May 9 21:09 coverage.out 21:09:36 drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:03 driver 21:09:36 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 21:03 go.mod 21:09:36 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 21:03 go.sum 21:09:36 drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:03 snap 21:09:36 -rw-rw-r-- 1 jenkins jenkins 713 May 9 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:37 + 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=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 --label arch=arm64 --label version=0.0.0 . 21:09:37 Sending build context to Docker daemon 154.6kB 21:09:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:09:37 Step 2/25 : FROM ${BASE} AS builder 21:09:37 ---> 332cf5525284 21:09:37 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:09:37 ---> Running in a1d660b9f260 21:09:37 Removing intermediate container a1d660b9f260 21:09:37 ---> 4a5800df5449 21:09:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:38 ---> Running in dc66bf5d8386 21:09:38 Removing intermediate container dc66bf5d8386 21:09:38 ---> df936e602277 21:09:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:38 ---> Running in 45575df7a889 21:09:38 Removing intermediate container 45575df7a889 21:09:38 ---> 3dda2968c119 21:09:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:09:38 ---> Running in a3c83baa945c 21:09:39 Removing intermediate container a3c83baa945c 21:09:39 ---> 9e43792d7a92 21:09:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:39 ---> Running in bb74aabaf3e2 21:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:41 OK: 268 MiB in 57 packages 21:09:42 Removing intermediate container bb74aabaf3e2 21:09:42 ---> 44570bb23d07 21:09:42 Step 8/25 : WORKDIR /device-rest-go 21:09:42 ---> Running in c910fd2719b8 21:09:43 Removing intermediate container c910fd2719b8 21:09:43 ---> 6af734f4bc4d 21:09:43 Step 9/25 : COPY go.mod vendor* ./ 21:09:43 ---> af503daa4806 21:09:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:43 ---> Running in 009609ae951e 21:09:47 Removing intermediate container 009609ae951e 21:09:47 ---> 674e64c2cbe8 21:09:47 Step 11/25 : COPY . . 21:09:47 ---> 35b5bf9ab58f 21:09:47 Step 12/25 : RUN $MAKE 21:09:47 ---> Running in bd3b7ca8d8ab 21:09:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:12:10 Removing intermediate container bd3b7ca8d8ab 21:12:10 ---> 00d332b1d380 21:12:10 Step 13/25 : FROM alpine:3.17 21:12:10 3.17: Pulling from library/alpine 21:12:10 c41833b44d91: Already exists 21:12:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:12:10 Status: Downloaded newer image for alpine:3.17 21:12:10 ---> 51e60588ff2c 21:12:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:12:10 ---> Running in dbaa556302b1 21:12:10 Removing intermediate container dbaa556302b1 21:12:10 ---> d967c313bded 21:12:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:12:10 ---> Running in 91eddc62c59a 21:12:10 Removing intermediate container 91eddc62c59a 21:12:10 ---> cb6a6121a15b 21:12:10 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:12:10 ---> Running in fbd2240311c4 21:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:12:10 (1/1) Installing dumb-init (1.2.5-r2) 21:12:10 Executing busybox-1.35.0-r29.trigger 21:12:10 OK: 8 MiB in 16 packages 21:12:10 Removing intermediate container fbd2240311c4 21:12:10 ---> ea2831b17aed 21:12:10 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:12:10 ---> ae1cecb46298 21:12:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:12:10 ---> 3ca4c4796125 21:12:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:12:10 ---> 196ab334d05b 21:12:10 Step 20/25 : EXPOSE 59986 21:12:10 ---> Running in c49a4896dc78 21:12:10 Removing intermediate container c49a4896dc78 21:12:10 ---> 723f44380d70 21:12:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:12:10 ---> Running in e006c97f5a25 21:12:10 Removing intermediate container e006c97f5a25 21:12:10 ---> d37b35bcba32 21:12:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:12:10 ---> Running in 65d5ac80b76e 21:12:10 Removing intermediate container 65d5ac80b76e 21:12:10 ---> 3b007882398c 21:12:10 Step 23/25 : LABEL arch=arm64 21:12:10 ---> Running in 6625ee7be305 21:12:10 Removing intermediate container 6625ee7be305 21:12:10 ---> 9fb80f619457 21:12:10 Step 24/25 : LABEL git_sha=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 21:12:10 ---> Running in 94077aeef475 21:12:10 Removing intermediate container 94077aeef475 21:12:10 ---> a8582a0065ad 21:12:10 Step 25/25 : LABEL version=0.0.0 21:12:10 ---> Running in 621ee484e3e6 21:12:10 Removing intermediate container 621ee484e3e6 21:12:10 ---> 82ad2cd64fc9 21:12:10 [Warning] One or more build-args [ARCH] were not consumed 21:12:10 Successfully built 82ad2cd64fc9 21:12:10 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:11 21:12:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:11 arm64: Pulling from edgex-lftools-log-publisher 21:12:11 8998bd30e6a1: Pulling fs layer 21:12:11 04944245beec: Pulling fs layer 21:12:11 699f458cf7ca: Pulling fs layer 21:12:11 765212b225bb: Pulling fs layer 21:12:11 f23df028b6ca: Pulling fs layer 21:12:11 d65c8cfc05b1: Pulling fs layer 21:12:11 2437ff75d9bd: Pulling fs layer 21:12:11 f23df028b6ca: Waiting 21:12:11 d65c8cfc05b1: Waiting 21:12:11 765212b225bb: Waiting 21:12:11 04944245beec: Verifying Checksum 21:12:11 04944245beec: Download complete 21:12:11 765212b225bb: Verifying Checksum 21:12:11 765212b225bb: Download complete 21:12:11 f23df028b6ca: Verifying Checksum 21:12:11 f23df028b6ca: Download complete 21:12:12 d65c8cfc05b1: Verifying Checksum 21:12:12 d65c8cfc05b1: Download complete 21:12:12 699f458cf7ca: Verifying Checksum 21:12:12 699f458cf7ca: Download complete 21:12:12 8998bd30e6a1: Verifying Checksum 21:12:12 8998bd30e6a1: Download complete 21:12:15 2437ff75d9bd: Verifying Checksum 21:12:15 2437ff75d9bd: Download complete 21:12:17 8998bd30e6a1: Pull complete 21:12:17 04944245beec: Pull complete 21:12:18 699f458cf7ca: Pull complete 21:12:18 765212b225bb: Pull complete 21:12:19 f23df028b6ca: Pull complete 21:12:19 d65c8cfc05b1: Pull complete 21:12:34 2437ff75d9bd: Pull complete 21:12:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:12:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:34 prd-ubuntu20.04-docker-arm64-4c-16g-14763 does not seem to be running inside a container 21:12:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:12:37 $ docker top 6919cff879ad271e2b7120936e423caf5f3fac3833f247fd97fd404c329b4091 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:38 ---> job-cost.sh 21:12:38 lf-activate-venv: SKIPPING 21:12:38 INFO: No Stack... 21:12:39 INFO: Retrieving Pricing Info for: v3-standard-4 21:12:39 INFO: Archiving Costs [Pipeline] sh 21:12:40 + cat /w/workspace/device-rest-go/1/archives/cost.csv+ 21:12:40 cut -d, -f6 [Pipeline] lock 21:12:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] 21:12:40 Resource [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] did not exist. Created. 21:12:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:40 /w/workspace/device-rest-go/1@tmp/durable-b63e771e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:12:41 + echo total: 0.10999999940395355 [Pipeline] stash 21:12:41 Warning: overwriting stash ‘stack-cost’ 21:12:41 Stashed 1 file(s) [Pipeline] } 21:12:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-312-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:41 $ docker stop --time=1 6919cff879ad271e2b7120936e423caf5f3fac3833f247fd97fd404c329b4091 21:12:43 $ docker rm -f --volumes 6919cff879ad271e2b7120936e423caf5f3fac3833f247fd97fd404c329b4091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:12:44 provisioning config files... 21:12:44 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/config4498564266028316933tmp [Pipeline] { [Pipeline] sh 21:12:44 + set +x 21:12:44 + + bash -s -- 21:12:44 curl -s https://codecov.io/bash 21:12:44 21:12:44 _____ _ 21:12:44 / ____| | | 21:12:44 | | ___ __| | ___ ___ _____ __ 21:12:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:12:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:12:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:12:44 Bash-1.0.6 21:12:44 21:12:44 21:12:44 ==> git version 2.25.1 found 21:12:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:12:44 Release-Date: 2020-01-08 21:12:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:12:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:12:44 ==> Jenkins CI detected. 21:12:44 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-312 21:12:44 project root: . 21:12:44 --> token set from env 21:12:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:12:44 ==> Running gcov in . (disable via -X gcov) 21:12:44 ==> Python coveragepy not found 21:12:44 ==> Searching for coverage reports in: 21:12:44 + . 21:12:44 -> Found 1 reports 21:12:44 ==> Detecting git/mercurial file structure 21:12:44 ==> Reading reports 21:12:44 + ./coverage.out bytes=14663 21:12:44 ==> Appending adjustments 21:12:44 https://docs.codecov.io/docs/fixing-reports 21:12:45 + Found adjustments 21:12:45 ==> Gzipping contents 21:12:45 4.0K /tmp/codecov.jy8xjD.gz 21:12:45 ==> Uploading reports 21:12:45 url: https://codecov.io 21:12:45 query: branch=PR-312&commit=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=312&job=&cmd_args= 21:12:45 -> Pinging Codecov 21:12:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-312&commit=b6bf905a67bc7dbe351a7316c0ab36e8297c76b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-312%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=312&job=&cmd_args= 21:12:45 -> Uploading to 21:12:45 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/4E5D53B4F1F92C436F7061BF334D961C/b6bf905a67bc7dbe351a7316c0ab36e8297c76b0/8690a628-9145-4c2f-82fe-1c608bc4e1f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T211245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b12a69b96e2fe608c47dbfb819de0065c6435d77fc807b733ba7cf97570b993f 21:12:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:45 Dload Upload Total Spent Left Speed 21:12:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12009 --:--:-- --:--:-- --:--:-- 12009 21:12:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b6bf905a67bc7dbe351a7316c0ab36e8297c76b0 [Pipeline] } 21:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:12:47 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-312/archives ] 21:12:47 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-312/archives 21:12:47 total 16 21:12:47 drwxr-xr-x 3 root root 4096 May 9 21:02 . 21:12:47 drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:02 .. 21:12:47 drwxr-xr-x 2 root root 4096 May 9 21:02 cost 21:12:47 -rw-r--r-- 1 root root 86 May 9 21:02 cost.csv 21:12:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-312/archives 21:12:47 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-312/archives 21:12:47 total 16 21:12:47 drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:02 . 21:12:47 drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:02 .. 21:12:47 drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:02 cost 21:12:47 -rw-r--r-- 1 jenkins jenkins 86 May 9 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:49 ---> package-listing.sh 21:12:49 ++ tr '[:upper:]' '[:lower:]' 21:12:49 ++ facter osfamily 21:12:49 + OS_FAMILY=debian 21:12:49 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-312 21:12:49 + START_PACKAGES=/tmp/packages_start.txt 21:12:49 + END_PACKAGES=/tmp/packages_end.txt 21:12:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:49 + PACKAGES=/tmp/packages_start.txt 21:12:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-312 ']' 21:12:49 + PACKAGES=/tmp/packages_end.txt 21:12:49 + case "${OS_FAMILY}" in 21:12:49 + dpkg -l 21:12:49 + grep '^ii' 21:12:49 + '[' -f /tmp/packages_start.txt ']' 21:12:49 + '[' -f /tmp/packages_end.txt ']' 21:12:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-312 ']' 21:12:49 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-312/archives/ 21:12:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-312/archives/ [Pipeline] echo 21:12:49 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-312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:50 prd-ubuntu20.04-docker-8c-8g-14762 does not seem to be running inside a container 21:12:50 $ 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-312/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-312 -v /w/workspace/gexfoundry_device-rest-go_PR-312:/w/workspace/gexfoundry_device-rest-go_PR-312:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-312@tmp:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:50 $ docker top 810ea68a1b13fb8cf4ba49f70a0d8ecd82ba793ffb28206c8a7f79718f81514c -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:51 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:51 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:51 + ls /var/log/sa-host 21:12:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:52 provisioning config files... 21:12:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-312@tmp/config5818756764570210499tmp [Pipeline] { [Pipeline] echo 21:12:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> create-netrc.sh [Pipeline] } 21:12:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:52 ---> python-tools-install.sh [Pipeline] echo 21:12:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:53 ---> sudo-logs.sh 21:12:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:53 ---> job-cost.sh 21:12:53 lf-activate-venv: SKIPPING 21:12:53 DEBUG: total: 0.2199999988079071 21:12:53 INFO: Retrieving Stack Cost... 21:12:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:54 INFO: Archiving Costs [Pipeline] echo 21:12:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:54 ---> logs-deploy.sh 21:12:54 lf-activate-venv: SKIPPING 21:12:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-312/1 21:12:54 INFO: archiving workspace using pattern(s): 21:12:56 Archives upload complete. 21:12:56 INFO: archiving logs to Nexus