Pull request #295 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92d05831d62a2154c95b99d6e2e608bd8957c8d9+8f28bd2feba64f4e14e7f4e476d7a420beb0434d (42017ed930a4fefded6bdd81fc278b167e4e9cd8) 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-ssh10404250144651802722.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5530276276399922039.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-295/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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13819188608370505056.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-295/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8877534425025984749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh1450929443867024075.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-295/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-295/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3615356191956256568.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9103 in /w/workspace/gexfoundry_device-rest-go_PR-295 [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-295 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 92d05831d62a2154c95b99d6e2e608bd8957c8d9 Merge succeeded, producing 92d05831d62a2154c95b99d6e2e608bd8957c8d9 Checking out Revision 92d05831d62a2154c95b99d6e2e608bd8957c8d9 (PR-295) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # 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 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:01:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:01:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:01:41 ========================================================= 21:01:41 EdgeX Global Pipelines Version Info 21:01:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:01:41 ------------------- 21:01:41 stable info: 21:01:41 ------------------- 21:01:41 Commited By: Bill Mahoney bill.mahoney@intel.com 21:01:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:01:41 Message: update stable to v1.0.248 21:01:42 ------------------- 21:01:42 experimental info: 21:01:42 ------------------- 21:01:42 Commited By: **** collab-it+edgex@linuxfoundation.org 21:01:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:01:42 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:01:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-295 [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-295 [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-295 [Pipeline] echo 21:01:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo 21:01:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92d0583 [Pipeline] echo 21:01:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:44 provisioning config files... 21:01:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config8306393497368233937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:44 ---> docker-login.sh 21:01:44 nexus3.edgexfoundry.org:10001 21:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:44 Configure a credential helper to remove this warning. See 21:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:44 21:01:44 Login Succeeded 21:01:44 nexus3.edgexfoundry.org:10002 21:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:45 Configure a credential helper to remove this warning. See 21:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:45 21:01:45 Login Succeeded 21:01:45 nexus3.edgexfoundry.org:10003 21:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:45 Configure a credential helper to remove this warning. See 21:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:45 21:01:45 Login Succeeded 21:01:45 nexus3.edgexfoundry.org:10004 21:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:45 Configure a credential helper to remove this warning. See 21:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:45 21:01:45 Login Succeeded 21:01:45 docker.io 21:01:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:45 Configure a credential helper to remove this warning. See 21:01:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:45 21:01:45 Login Succeeded 21:01:45 ---> docker-login.sh ends [Pipeline] } 21:01:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:01:46 + git rev-list -1 --merges 92d05831d62a2154c95b99d6e2e608bd8957c8d9~1..92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo 21:01:46 -----------> git rev-list -1 --merges 92d05831d62a2154c95b99d6e2e608bd8957c8d9~1..92d05831d62a2154c95b99d6e2e608bd8957c8d9 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [false] [Pipeline] sh 21:01:46 + git log --format=format:%s -1 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo 21:01:46 ========================================================= 21:01:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:01:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:47 + git log --format=format:%s -1 92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] echo 21:01:47 [semverPrep] GIT_COMMIT: 92d05831d62a2154c95b99d6e2e608bd8957c8d9, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 21:01:47 [semverPrep] This is not a build commit. [Pipeline] sh 21:01:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:01:47 + grep -v github /etc/ssh/ssh_known_hosts 21:01:47 + [ -e /tmp/ssh_known_hosts ] 21:01:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:01:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:01:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:01:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:48 21:01:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:48 0.1.4: Pulling from edgex-devops/py-git-semver 21:01:48 b85a868b505f: Pulling fs layer 21:01:48 e2be974225ed: Pulling fs layer 21:01:48 339a4e72a1f5: Pulling fs layer 21:01:48 988bab9f4d93: Pulling fs layer 21:01:48 1469e6f7b9e6: Pulling fs layer 21:01:48 eaf3925da568: Pulling fs layer 21:01:48 bab4dde63d76: Pulling fs layer 21:01:48 bde34c3a00c8: Pulling fs layer 21:01:48 b352a97aabf1: Pulling fs layer 21:01:48 4872d77fe225: Pulling fs layer 21:01:48 5851b861e8e6: Pulling fs layer 21:01:48 bab4dde63d76: Waiting 21:01:48 4872d77fe225: Waiting 21:01:48 bde34c3a00c8: Waiting 21:01:48 5851b861e8e6: Waiting 21:01:48 b352a97aabf1: Waiting 21:01:48 988bab9f4d93: Waiting 21:01:48 1469e6f7b9e6: Waiting 21:01:48 eaf3925da568: Waiting 21:01:48 e2be974225ed: Verifying Checksum 21:01:48 e2be974225ed: Download complete 21:01:48 988bab9f4d93: Verifying Checksum 21:01:48 988bab9f4d93: Download complete 21:01:48 1469e6f7b9e6: Verifying Checksum 21:01:48 1469e6f7b9e6: Download complete 21:01:48 339a4e72a1f5: Verifying Checksum 21:01:48 339a4e72a1f5: Download complete 21:01:48 eaf3925da568: Verifying Checksum 21:01:48 eaf3925da568: Download complete 21:01:48 bde34c3a00c8: Download complete 21:01:48 b352a97aabf1: Download complete 21:01:48 4872d77fe225: Download complete 21:01:48 5851b861e8e6: Verifying Checksum 21:01:48 5851b861e8e6: Download complete 21:01:48 b85a868b505f: Verifying Checksum 21:01:48 b85a868b505f: Download complete 21:01:48 bab4dde63d76: Verifying Checksum 21:01:48 bab4dde63d76: Download complete 21:01:49 b85a868b505f: Pull complete 21:01:49 e2be974225ed: Pull complete 21:01:50 339a4e72a1f5: Pull complete 21:01:50 988bab9f4d93: Pull complete 21:01:50 1469e6f7b9e6: Pull complete 21:01:50 eaf3925da568: Pull complete 21:01:52 bab4dde63d76: Pull complete 21:01:52 bde34c3a00c8: Pull complete 21:01:52 b352a97aabf1: Pull complete 21:01:52 4872d77fe225: Pull complete 21:01:52 5851b861e8e6: Pull complete 21:01:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:01:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:01:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:52 prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container 21:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:01:54 $ docker top 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda -eo pid,comm 21:01:54 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:01:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:01:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:54 [ssh-agent] Looking for ssh-agent implementation... 21:01:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:54 $ docker exec 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent 21:01:54 SSH_AUTH_SOCK=/tmp/ssh-xG7oMSao6cXI/agent.32 21:01:54 SSH_AGENT_PID=38 21:01:54 Running ssh-add (command line suppressed) 21:01:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_12997122396496724177.key (/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_12997122396496724177.key) 21:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:55 + git tag --points-at HEAD [Pipeline] } 21:01:55 $ docker exec --env ******** --env ******** 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent -k 21:01:55 unset SSH_AUTH_SOCK; 21:01:55 unset SSH_AGENT_PID; 21:01:55 echo Agent pid 38 killed; 21:01:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:01:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:01:55 [ssh-agent] Looking for ssh-agent implementation... 21:01:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:01:55 $ docker exec 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent 21:01:55 SSH_AUTH_SOCK=/tmp/ssh-8aTipXwh0CyL/agent.70 21:01:55 SSH_AGENT_PID=76 21:01:55 Running ssh-add (command line suppressed) 21:01:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_3694760907958195758.key (/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/private_key_3694760907958195758.key) 21:01:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:01:56 + git semver init 21:01:56 2023-04-19 21:01:56,281 [run_init] DEBUG init version:0.0.0 force:False 21:01:56 2023-04-19 21:01:56,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver 21:01:56 2023-04-19 21:01:56,283 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-295/.semver 21:01:56 2023-04-19 21:01:56,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-295/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295, universal_newlines=False, shell=None, istream=None) 21:01:57 2023-04-19 21:01:57,245 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-295/.git/info/exclude 21:01:57 2023-04-19 21:01:57,245 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 with force:False 21:01:57 2023-04-19 21:01:57,246 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 21:01:57 2023-04-19 21:01:57,250 [execute] INFO git cat-file --batch-check 21:01:57 2023-04-19 21:01:57,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) 21:01:57 2023-04-19 21:01:57,255 [execute] INFO git cat-file --batch 21:01:57 2023-04-19 21:01:57,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-295/.semver, universal_newlines=False, shell=None, istream=) 21:01:57 2023-04-19 21:01:57,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-295/.semver/PR-295 21:01:57 0.0.0 [Pipeline] } 21:01:57 $ docker exec --env ******** --env ******** 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda ssh-agent -k 21:01:57 unset SSH_AUTH_SOCK; 21:01:57 unset SSH_AGENT_PID; 21:01:57 echo Agent pid 76 killed; 21:01:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:57 + git semver [Pipeline] } 21:01:58 $ docker stop --time=1 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda 21:01:59 $ docker rm -f --volumes 330974a03a4699641d7f381a3bbb9cde3801d05fa50f1f358fcf7410d0175dda [Pipeline] // withDockerContainer [Pipeline] sh 21:01:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:02:00 Stashed 1 file(s) [Pipeline] echo 21:02:00 [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:02:00 provisioning config files... 21:02:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config8781800439980861702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:01 ---> docker-login.sh 21:02:01 nexus3.edgexfoundry.org:10001 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10002 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10003 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 nexus3.edgexfoundry.org:10004 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 docker.io 21:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:01 Configure a credential helper to remove this warning. See 21:02:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:01 21:02:01 Login Succeeded 21:02:01 ---> docker-login.sh ends [Pipeline] } 21:02:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:01 ========================================================= 21:02:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:02:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:02 + 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:02:02 Sending build context to Docker daemon 10.9MB 21:02:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:02:02 Step 2/12 : FROM ${BASE} AS builder 21:02:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:02:02 63b65145d645: Pulling fs layer 21:02:02 a2d21d5440eb: Pulling fs layer 21:02:02 935e6c44a52c: Pulling fs layer 21:02:02 94cc34f8dd06: Pulling fs layer 21:02:02 30dea6a524f1: Pulling fs layer 21:02:02 a2aff8979fd8: Pulling fs layer 21:02:02 6808be2612f2: Pulling fs layer 21:02:02 f25807f1079a: Pulling fs layer 21:02:02 30dea6a524f1: Waiting 21:02:02 a2aff8979fd8: Waiting 21:02:02 6808be2612f2: Waiting 21:02:02 f25807f1079a: Waiting 21:02:02 94cc34f8dd06: Waiting 21:02:02 a2d21d5440eb: Download complete 21:02:02 94cc34f8dd06: Verifying Checksum 21:02:02 94cc34f8dd06: Download complete 21:02:02 30dea6a524f1: Download complete 21:02:02 63b65145d645: Verifying Checksum 21:02:02 63b65145d645: Download complete 21:02:02 a2aff8979fd8: Verifying Checksum 21:02:02 a2aff8979fd8: Download complete 21:02:02 63b65145d645: Pull complete 21:02:02 a2d21d5440eb: Pull complete 21:02:02 f25807f1079a: Verifying Checksum 21:02:02 f25807f1079a: Download complete 21:02:03 935e6c44a52c: Download complete 21:02:03 6808be2612f2: Verifying Checksum 21:02:03 6808be2612f2: Download complete 21:02:06 935e6c44a52c: Pull complete 21:02:06 94cc34f8dd06: Pull complete 21:02:06 30dea6a524f1: Pull complete 21:02:06 a2aff8979fd8: Pull complete 21:02:08 6808be2612f2: Pull complete 21:02:09 f25807f1079a: Pull complete 21:02:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:02:09 ---> 3b553350e43f 21:02:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:10 ---> Running in e564bdd1e839 21:02:10 Removing intermediate container e564bdd1e839 21:02:10 ---> 314ad99a983b 21:02:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:10 ---> Running in 2de64eee2e97 21:02:10 Removing intermediate container 2de64eee2e97 21:02:10 ---> 8c1b9e998313 21:02:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:10 ---> Running in d173ac7b63f0 21:02:11 Removing intermediate container d173ac7b63f0 21:02:11 ---> b0ba0bfca806 21:02:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:11 ---> Running in 8349cbaca1eb 21:02:11 Removing intermediate container 8349cbaca1eb 21:02:11 ---> 56efd6eea962 21:02:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:11 ---> Running in f2eab62e22f7 21:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:02:11 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:02:11 (2/4) Installing libedit (20221030.3.1-r0) 21:02:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:02:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:02:11 Executing busybox-1.35.0-r29.trigger 21:02:11 OK: 269 MiB in 57 packages 21:02:12 Removing intermediate container f2eab62e22f7 21:02:12 ---> 7a3e01446090 21:02:12 Step 8/12 : WORKDIR /device-rest-go 21:02:12 ---> Running in 502407fc0199 21:02:12 Removing intermediate container 502407fc0199 21:02:12 ---> fedcbf44f7f7 21:02:12 Step 9/12 : COPY go.mod vendor* ./ 21:02:12 ---> 5b416842cb48 21:02:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:12 ---> Running in 8f4a97ca8f91 21:02:15 Still waiting to schedule task 21:02:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:02:44 Removing intermediate container 8f4a97ca8f91 21:02:44 ---> bc74a57132b6 21:02:44 Step 11/12 : COPY . . 21:02:44 ---> 2d61930aad11 21:02:44 Step 12/12 : RUN $MAKE 21:02:44 ---> Running in cae0328fd2e8 21:02:44 noop 21:02:45 Removing intermediate container cae0328fd2e8 21:02:45 ---> 61574c4778b9 21:02:45 Successfully built 61574c4778b9 21:02:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:45 + docker inspect -f . ci-base-image-x86_64 21:02:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:45 prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container 21:02:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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 ******** ci-base-image-x86_64 cat 21:02:46 $ docker top 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:46 + go version 21:02:46 go version go1.20.2 linux/amd64 [Pipeline] } 21:02:46 $ docker stop --time=1 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 21:02:47 $ docker rm -f --volumes 85f2f5bf8c4fa131db8984b21e146cd45e3a036e0e92c95d70d14a22e17c67a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:48 + docker inspect -f . ci-base-image-x86_64 21:02:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:48 prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container 21:02:48 $ 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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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 ******** ci-base-image-x86_64 cat 21:02:48 $ docker top f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-295 [Pipeline] fileExists [Pipeline] sh 21:02:49 + make test 21:02:49 go test ./... -coverprofile=coverage.out ./... 21:02:54 ? github.com/edgexfoundry/device-rest-go [no test files] 21:03:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:03:04 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 21:03:11 go vet ./... 21:03:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:03:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:03:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:03:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:03:14 $ docker stop --time=1 f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 21:03:16 $ docker rm -f --volumes f0b0ff15e9169e2056ebafdb1d1c2ef1061dc7cbd215bcbe4702a57e56e83102 [Pipeline] // withDockerContainer [Pipeline] sh 21:03:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:03:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:03:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:03:17 + ls -al . 21:03:17 total 184 21:03:17 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:02 . 21:03:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:01 .. 21:03:17 -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 21:01 .dockerignore 21:03:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:01 .git 21:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:01 .github 21:03:17 -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 21:01 .gitignore 21:03:17 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:01 .golangci.yml 21:03:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:01 .semver 21:03:17 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 19 21:01 Attribution.txt 21:03:17 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 19 21:01 CHANGELOG.md 21:03:17 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 19 21:01 Dockerfile 21:03:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:01 GOVERNANCE.md 21:03:17 -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 21:01 Jenkinsfile 21:03:17 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:01 LICENSE 21:03:17 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 19 21:01 Makefile 21:03:17 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 21:01 OWNERS.md 21:03:17 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 19 21:01 README.md 21:03:17 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:01 VERSION 21:03:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:01 bin 21:03:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:01 cmd 21:03:17 -rw-r--r-- 1 jenkins jenkins 14663 Apr 19 21:03 coverage.out 21:03:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:01 driver 21:03:17 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 19 21:01 go.mod 21:03:17 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 21:01 go.sum 21:03:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:01 snap 21:03:17 -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:18 + 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=92d05831d62a2154c95b99d6e2e608bd8957c8d9 --label arch=amd64 --label version=0.0.0 . 21:03:18 Sending build context to Docker daemon 10.92MB 21:03:18 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:03:18 Step 2/25 : FROM ${BASE} AS builder 21:03:18 ---> 61574c4778b9 21:03:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:03:18 ---> Running in a8c63b77b2c1 21:03:18 Removing intermediate container a8c63b77b2c1 21:03:18 ---> a3d313a970fc 21:03:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:18 ---> Running in 67ad3d049ffd 21:03:18 Removing intermediate container 67ad3d049ffd 21:03:18 ---> fe4d50d80c46 21:03:18 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:03:18 ---> Running in 3d772acc7b07 21:03:18 Removing intermediate container 3d772acc7b07 21:03:18 ---> 3b26dac1ac42 21:03:18 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:03:18 ---> Running in 59a7ff816847 21:03:18 Removing intermediate container 59a7ff816847 21:03:18 ---> 596c0196a928 21:03:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:18 ---> Running in 3f202fdbb4bd 21:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:03:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:03:19 OK: 269 MiB in 57 packages 21:03:19 Removing intermediate container 3f202fdbb4bd 21:03:19 ---> c16d0ade2da0 21:03:19 Step 8/25 : WORKDIR /device-rest-go 21:03:19 ---> Running in 3057130dae3a 21:03:19 Removing intermediate container 3057130dae3a 21:03:19 ---> 9c5169532e92 21:03:19 Step 9/25 : COPY go.mod vendor* ./ 21:03:19 ---> f03f92dc83d0 21:03:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:19 ---> Running in e2f975fc3953 21:03:20 Removing intermediate container e2f975fc3953 21:03:20 ---> 950b675968c6 21:03:20 Step 11/25 : COPY . . 21:03:20 ---> f138aa9a884d 21:03:20 Step 12/25 : RUN $MAKE 21:03:20 ---> Running in 964785e4090c 21:03:20 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:03:39 Removing intermediate container 964785e4090c 21:03:39 ---> efa912734c59 21:03:39 Step 13/25 : FROM alpine:3.17 21:03:39 3.17: Pulling from library/alpine 21:03:39 f56be85fc22e: Pulling fs layer 21:03:39 f56be85fc22e: Verifying Checksum 21:03:39 f56be85fc22e: Download complete 21:03:39 f56be85fc22e: Pull complete 21:03:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:03:39 Status: Downloaded newer image for alpine:3.17 21:03:39 ---> 9ed4aefc74f6 21:03:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:03:39 ---> Running in 312e52f2b748 21:03:39 Removing intermediate container 312e52f2b748 21:03:39 ---> d0f2da6c94d2 21:03:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:03:39 ---> Running in 183d0547d455 21:03:39 Removing intermediate container 183d0547d455 21:03:39 ---> 7ba63969ca53 21:03:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:03:39 ---> Running in 3630387f29ed 21:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:03:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:03:39 (1/1) Installing dumb-init (1.2.5-r2) 21:03:39 Executing busybox-1.35.0-r29.trigger 21:03:39 OK: 7 MiB in 16 packages 21:03:39 Removing intermediate container 3630387f29ed 21:03:39 ---> dfdf68254e3b 21:03:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:03:39 ---> 0e859b478b41 21:03:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:03:39 ---> 7e37bdd8abc4 21:03:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:03:39 ---> 718ac0d8a83e 21:03:39 Step 20/25 : EXPOSE 59986 21:03:39 ---> Running in dab54e7a9f29 21:03:39 Removing intermediate container dab54e7a9f29 21:03:39 ---> 571f60745b84 21:03:39 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:03:39 ---> Running in dabdaa0f2024 21:03:39 Removing intermediate container dabdaa0f2024 21:03:39 ---> 69cab582e4e2 21:03:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:03:39 ---> Running in 1f99d0af07c5 21:03:40 Removing intermediate container 1f99d0af07c5 21:03:40 ---> a2ed9dc21840 21:03:40 Step 23/25 : LABEL arch=amd64 21:03:40 ---> Running in ce1ab91ee345 21:03:40 Removing intermediate container ce1ab91ee345 21:03:40 ---> 820c00d4ef4c 21:03:40 Step 24/25 : LABEL git_sha=92d05831d62a2154c95b99d6e2e608bd8957c8d9 21:03:40 ---> Running in 337d131f77d9 21:03:40 Removing intermediate container 337d131f77d9 21:03:40 ---> 40d6460f4411 21:03:40 Step 25/25 : LABEL version=0.0.0 21:03:40 ---> Running in 77472a1676df 21:03:40 Removing intermediate container 77472a1676df 21:03:40 ---> 36fdd9489c4a 21:03:40 [Warning] One or more build-args [ARCH] were not consumed 21:03:40 Successfully built 36fdd9489c4a 21:03:40 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:03:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:41 21:03:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:41 latest: Pulling from edgex-lftools-log-publisher 21:03:41 5eb5b503b376: Pulling fs layer 21:03:41 5c69ac0246d0: Pulling fs layer 21:03:41 ec43610c2a17: Pulling fs layer 21:03:41 3a2ae6a8a46f: Pulling fs layer 21:03:41 33b1e0a273af: Pulling fs layer 21:03:41 5d3b04190fa2: Pulling fs layer 21:03:41 2f39f015ded8: Pulling fs layer 21:03:41 3a2ae6a8a46f: Waiting 21:03:41 33b1e0a273af: Waiting 21:03:41 5d3b04190fa2: Waiting 21:03:41 2f39f015ded8: Waiting 21:03:41 5c69ac0246d0: Verifying Checksum 21:03:41 5c69ac0246d0: Download complete 21:03:41 3a2ae6a8a46f: Verifying Checksum 21:03:41 3a2ae6a8a46f: Download complete 21:03:41 33b1e0a273af: Verifying Checksum 21:03:41 33b1e0a273af: Download complete 21:03:41 5d3b04190fa2: Verifying Checksum 21:03:41 5d3b04190fa2: Download complete 21:03:41 ec43610c2a17: Verifying Checksum 21:03:41 ec43610c2a17: Download complete 21:03:41 5eb5b503b376: Download complete 21:03:42 2f39f015ded8: Download complete 21:03:42 5eb5b503b376: Pull complete 21:03:42 5c69ac0246d0: Pull complete 21:03:43 ec43610c2a17: Pull complete 21:03:43 3a2ae6a8a46f: Pull complete 21:03:43 33b1e0a273af: Pull complete 21:03:43 5d3b04190fa2: Pull complete 21:03:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9104 in /w/workspace/gexfoundry_device-rest-go_PR-295 [Pipeline] { [Pipeline] ws 21:03:47 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:03:47 The recommended git tool is: git 21:03:47 2f39f015ded8: Pull complete 21:03:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:48 prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container 21:03:48 $ 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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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:03:49 $ docker top 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:49 ---> job-cost.sh 21:03:49 lf-activate-venv: SKIPPING 21:03:49 INFO: No Stack... 21:03:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:50 INFO: Archiving Costs [Pipeline] sh 21:03:50 + cat /w/workspace/gexfoundry_device-rest-go_PR-295/archives/cost.csv 21:03:50 + cut -d, -f6 [Pipeline] lock 21:03:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] 21:03:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] did not exist. Created. 21:03:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:51 + echo total: 0.2199999988079071 [Pipeline] stash 21:03:51 Stashed 1 file(s) [Pipeline] } 21:03:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:51 $ docker stop --time=1 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 21:03:52 $ docker rm -f --volumes 2f8684f667480d4d4d3109daa03532938f6f8f7afbe082000b84232ae3c129b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:03:53 using credential edgex-jenkins-ssh 21:03:53 Cloning the remote Git repository 21:03:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:03:53 > git init /w/workspace/device-rest-go/1 # timeout=10 21:03:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:53 > git --version # timeout=10 21:03:53 > git --version # 'git version 2.25.1' 21:03:53 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:03:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/295/head:refs/remotes/origin/PR-295 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:03:57 Merging remotes/origin/main commit 8f28bd2feba64f4e14e7f4e476d7a420beb0434d into PR head commit 92d05831d62a2154c95b99d6e2e608bd8957c8d9 21:03:58 Merge succeeded, producing 92d05831d62a2154c95b99d6e2e608bd8957c8d9 21:03:58 Checking out Revision 92d05831d62a2154c95b99d6e2e608bd8957c8d9 (PR-295) 21:03:58 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 21:03:58 > git --version # timeout=10 21:03:58 > git --version # 'git version 2.25.1' 21:03:58 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 21:03:58 > git config core.sparsecheckout # timeout=10 21:03:58 > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 21:03:58 > git remote # timeout=10 21:03:58 > git config --get remote.origin.url # timeout=10 21:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 21:03:58 > git merge 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 21:03:58 > git rev-parse HEAD^{commit} # timeout=10 21:03:58 > git config core.sparsecheckout # timeout=10 21:03:58 > git checkout -f 92d05831d62a2154c95b99d6e2e608bd8957c8d9 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:03:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:03:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:03:59 Dload Upload Total Spent Left Speed 21:03:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 21:04:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:00 + sudo tee /etc/docker/daemon.new 21:04:00 { 21:04:00 "registry-mirrors": [ 21:04:00 "https://nexus3.edgexfoundry.org:10001" 21:04:00 ], 21:04:00 "bip": "10.250.0.254/24", 21:04:00 "hosts": [ 21:04:00 "tcp://0.0.0.0:5555", 21:04:00 "unix:///var/run/docker.sock" 21:04:00 ], 21:04:00 "mtu": 1458, 21:04:00 "selinux-enabled": true, 21:04:00 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:00 } [Pipeline] sh 21:04:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:19 provisioning config files... 21:04:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14339657628130252104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:20 ---> docker-login.sh 21:04:20 nexus3.edgexfoundry.org:10001 21:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:20 Configure a credential helper to remove this warning. See 21:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:20 21:04:20 Login Succeeded 21:04:20 nexus3.edgexfoundry.org:10002 21:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:21 Configure a credential helper to remove this warning. See 21:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:21 21:04:21 Login Succeeded 21:04:21 nexus3.edgexfoundry.org:10003 21:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:21 Configure a credential helper to remove this warning. See 21:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:21 21:04:21 Login Succeeded 21:04:21 nexus3.edgexfoundry.org:10004 21:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:21 Configure a credential helper to remove this warning. See 21:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:21 21:04:21 Login Succeeded 21:04:21 docker.io 21:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:22 Configure a credential helper to remove this warning. See 21:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:22 21:04:22 Login Succeeded 21:04:22 ---> docker-login.sh ends [Pipeline] } 21:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:22 ========================================================= 21:04:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:04:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:23 + 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:23 Sending build context to Docker daemon 138.8kB 21:04:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:04:23 Step 2/12 : FROM ${BASE} AS builder 21:04:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:04:23 af6eaf76a39c: Pulling fs layer 21:04:23 55522c791124: Pulling fs layer 21:04:23 ce5c4a1c91eb: Pulling fs layer 21:04:23 169dfbe0d373: Pulling fs layer 21:04:23 e1ff8fa3b103: Pulling fs layer 21:04:23 52ebb69f0ebf: Pulling fs layer 21:04:23 5abe8eddf0d5: Pulling fs layer 21:04:23 169dfbe0d373: Waiting 21:04:23 e1ff8fa3b103: Waiting 21:04:23 52ebb69f0ebf: Waiting 21:04:23 5abe8eddf0d5: Waiting 21:04:23 55522c791124: Verifying Checksum 21:04:23 55522c791124: Download complete 21:04:24 169dfbe0d373: Verifying Checksum 21:04:24 169dfbe0d373: Download complete 21:04:24 e1ff8fa3b103: Verifying Checksum 21:04:24 e1ff8fa3b103: Download complete 21:04:24 af6eaf76a39c: Verifying Checksum 21:04:24 af6eaf76a39c: Download complete 21:04:25 af6eaf76a39c: Pull complete 21:04:25 5abe8eddf0d5: Verifying Checksum 21:04:25 5abe8eddf0d5: Download complete 21:04:25 55522c791124: Pull complete 21:04:26 52ebb69f0ebf: Verifying Checksum 21:04:26 52ebb69f0ebf: Download complete 21:04:26 ce5c4a1c91eb: Verifying Checksum 21:04:26 ce5c4a1c91eb: Download complete 21:04:39 ce5c4a1c91eb: Pull complete 21:04:39 169dfbe0d373: Pull complete 21:04:39 e1ff8fa3b103: Pull complete 21:04:44 52ebb69f0ebf: Pull complete 21:04:45 5abe8eddf0d5: Pull complete 21:04:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:04:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:04:45 ---> 6cb57ee374ae 21:04:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:04:47 ---> Running in 78bb708e0f79 21:04:47 Removing intermediate container 78bb708e0f79 21:04:47 ---> 4f04d2ab0ca9 21:04:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:04:47 ---> Running in 1726d9729403 21:04:48 Removing intermediate container 1726d9729403 21:04:48 ---> 0456bfd9892b 21:04:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:04:48 ---> Running in 09922194e0a7 21:04:48 Removing intermediate container 09922194e0a7 21:04:48 ---> fb2fa9f09d64 21:04:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:04:48 ---> Running in 3bbf4b6c47c4 21:04:49 Removing intermediate container 3bbf4b6c47c4 21:04:49 ---> cf2e13c7bede 21:04:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:04:49 ---> Running in 6244327a3e11 21:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:04:52 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:04:52 (2/4) Installing libedit (20221030.3.1-r0) 21:04:52 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:04:52 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:04:52 Executing busybox-1.35.0-r29.trigger 21:04:52 OK: 268 MiB in 57 packages 21:04:53 Removing intermediate container 6244327a3e11 21:04:53 ---> 20ee3ef6b5b4 21:04:53 Step 8/12 : WORKDIR /device-rest-go 21:04:53 ---> Running in 3880f7ca6ea9 21:04:53 Removing intermediate container 3880f7ca6ea9 21:04:53 ---> 9ee75518830f 21:04:53 Step 9/12 : COPY go.mod vendor* ./ 21:04:54 ---> fb8f5f060ce7 21:04:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:54 ---> Running in aa95035d044c 21:06:15 Removing intermediate container aa95035d044c 21:06:15 ---> 05be38cd2026 21:06:15 Step 11/12 : COPY . . 21:06:15 ---> 7e40a62a5179 21:06:15 Step 12/12 : RUN $MAKE 21:06:15 ---> Running in 16c037d4a052 21:06:15 noop 21:06:15 Removing intermediate container 16c037d4a052 21:06:15 ---> bc526e6733e5 21:06:15 Successfully built bc526e6733e5 21:06:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:16 + docker inspect -f . ci-base-image-arm64 21:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:16 prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container 21:06:16 $ 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:17 $ docker top 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:18 + go version 21:06:18 go version go1.20.2 linux/arm64 [Pipeline] } 21:06:18 $ docker stop --time=1 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a 21:06:20 $ docker rm -f --volumes 473f333c560744e283bb1f51e150e283e405b1a7cf301b4828a75bf4c8e78d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:21 + docker inspect -f . ci-base-image-arm64 21:06:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:21 prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container 21:06:21 $ 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:24 $ docker top c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:25 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:06:26 + make test 21:06:26 go test ./... -coverprofile=coverage.out ./... 21:06:58 ? github.com/edgexfoundry/device-rest-go [no test files] 21:08:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:08:50 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements 21:08:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:08:50 go vet ./... 21:09:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:16 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:16 $ docker stop --time=1 c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c 21:09:18 $ docker rm -f --volumes c96b50898255afb916ab4de8bd44300ebacf5bb41da6279b6935b0026726600c [Pipeline] // withDockerContainer [Pipeline] sh 21:09:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:19 Warning: overwriting stash ‘coverage-report’ 21:09:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:21 + ls -al . 21:09:21 total 180 21:09:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:06 . 21:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:03 .. 21:09:21 -rw-rw-r-- 1 jenkins jenkins 151 Apr 19 21:03 .dockerignore 21:09:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:03 .git 21:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:03 .github 21:09:21 -rw-rw-r-- 1 jenkins jenkins 329 Apr 19 21:03 .gitignore 21:09:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:03 .golangci.yml 21:09:21 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 19 21:03 Attribution.txt 21:09:21 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 19 21:03 CHANGELOG.md 21:09:21 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 19 21:03 Dockerfile 21:09:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:03 GOVERNANCE.md 21:09:21 -rw-rw-r-- 1 jenkins jenkins 680 Apr 19 21:03 Jenkinsfile 21:09:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:03 LICENSE 21:09:21 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 19 21:03 Makefile 21:09:21 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 21:03 OWNERS.md 21:09:21 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 19 21:03 README.md 21:09:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:01 VERSION 21:09:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:03 bin 21:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:03 cmd 21:09:21 -rw-r--r-- 1 jenkins jenkins 14663 Apr 19 21:08 coverage.out 21:09:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:03 driver 21:09:21 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 19 21:03 go.mod 21:09:21 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 19 21:03 go.sum 21:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:03 snap 21:09:21 -rw-rw-r-- 1 jenkins jenkins 713 Apr 19 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:21 + 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=92d05831d62a2154c95b99d6e2e608bd8957c8d9 --label arch=arm64 --label version=0.0.0 . 21:09:21 Sending build context to Docker daemon 154.1kB 21:09:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:09:21 Step 2/25 : FROM ${BASE} AS builder 21:09:21 ---> bc526e6733e5 21:09:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:09:21 ---> Running in 8174890ad6ff 21:09:22 Removing intermediate container 8174890ad6ff 21:09:22 ---> 8f75c8fb40ff 21:09:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:22 ---> Running in 8bdb217c9e0f 21:09:22 Removing intermediate container 8bdb217c9e0f 21:09:22 ---> c04bfaf1bff8 21:09:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:09:22 ---> Running in e638e90e27c3 21:09:22 Removing intermediate container e638e90e27c3 21:09:22 ---> 04fc5e228530 21:09:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:09:22 ---> Running in e4ed6c65d2e3 21:09:23 Removing intermediate container e4ed6c65d2e3 21:09:23 ---> 5a039d6cc8c3 21:09:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:23 ---> Running in 1df2617fbde4 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:09:25 OK: 268 MiB in 57 packages 21:09:28 Removing intermediate container 1df2617fbde4 21:09:28 ---> 2365ff39f3d5 21:09:28 Step 8/25 : WORKDIR /device-rest-go 21:09:28 ---> Running in 444524d8b397 21:09:28 Removing intermediate container 444524d8b397 21:09:28 ---> 13d40d18a452 21:09:28 Step 9/25 : COPY go.mod vendor* ./ 21:09:28 ---> c952185f26c9 21:09:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:29 ---> Running in 4677d160df92 21:09:31 Removing intermediate container 4677d160df92 21:09:31 ---> 2b8aaa0f4edf 21:09:31 Step 11/25 : COPY . . 21:09:31 ---> eb9518a95612 21:09:31 Step 12/25 : RUN $MAKE 21:09:31 ---> Running in 5387bd0fab03 21:09:32 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:11:39 Removing intermediate container 5387bd0fab03 21:11:39 ---> e484558058ad 21:11:39 Step 13/25 : FROM alpine:3.17 21:11:39 3.17: Pulling from library/alpine 21:11:39 c41833b44d91: Pulling fs layer 21:11:39 c41833b44d91: Verifying Checksum 21:11:39 c41833b44d91: Download complete 21:11:39 c41833b44d91: Pull complete 21:11:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:11:39 Status: Downloaded newer image for alpine:3.17 21:11:39 ---> 51e60588ff2c 21:11:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:11:39 ---> Running in eb4a3f942fff 21:11:39 Removing intermediate container eb4a3f942fff 21:11:39 ---> 2d2397c52b4d 21:11:39 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:11:39 ---> Running in ff119159f63a 21:11:39 Removing intermediate container ff119159f63a 21:11:39 ---> 2340a650596b 21:11:39 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:11:39 ---> Running in 18614e954a09 21:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:11:40 (1/1) Installing dumb-init (1.2.5-r2) 21:11:40 Executing busybox-1.35.0-r29.trigger 21:11:40 OK: 8 MiB in 16 packages 21:11:41 Removing intermediate container 18614e954a09 21:11:41 ---> a2e373a51c9a 21:11:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:11:42 ---> f2f7d52d6526 21:11:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:11:42 ---> 23e9280549b9 21:11:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:11:43 ---> fd11db19f89f 21:11:43 Step 20/25 : EXPOSE 59986 21:11:43 ---> Running in b5aeac7844fa 21:11:43 Removing intermediate container b5aeac7844fa 21:11:43 ---> 318fe63837fd 21:11:43 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:11:43 ---> Running in aa2798c542e4 21:11:43 Removing intermediate container aa2798c542e4 21:11:43 ---> decd66125dcc 21:11:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:11:43 ---> Running in 1c79b4fe706b 21:11:44 Removing intermediate container 1c79b4fe706b 21:11:44 ---> 89eb56ced09d 21:11:44 Step 23/25 : LABEL arch=arm64 21:11:44 ---> Running in 5341318e9023 21:11:44 Removing intermediate container 5341318e9023 21:11:44 ---> 8446c170e0b2 21:11:44 Step 24/25 : LABEL git_sha=92d05831d62a2154c95b99d6e2e608bd8957c8d9 21:11:44 ---> Running in 7e52e1fce4ed 21:11:44 Removing intermediate container 7e52e1fce4ed 21:11:44 ---> f603af1e73c9 21:11:44 Step 25/25 : LABEL version=0.0.0 21:11:44 ---> Running in 29c607c51b03 21:11:45 Removing intermediate container 29c607c51b03 21:11:45 ---> 916ea0f19b3c 21:11:45 [Warning] One or more build-args [ARCH] were not consumed 21:11:45 Successfully built 916ea0f19b3c 21:11:45 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:11:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:46 21:11:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:46 arm64: Pulling from edgex-lftools-log-publisher 21:11:46 8998bd30e6a1: Pulling fs layer 21:11:46 04944245beec: Pulling fs layer 21:11:46 699f458cf7ca: Pulling fs layer 21:11:46 765212b225bb: Pulling fs layer 21:11:46 f23df028b6ca: Pulling fs layer 21:11:46 d65c8cfc05b1: Pulling fs layer 21:11:46 2437ff75d9bd: Pulling fs layer 21:11:46 d65c8cfc05b1: Waiting 21:11:46 765212b225bb: Waiting 21:11:46 f23df028b6ca: Waiting 21:11:46 2437ff75d9bd: Waiting 21:11:46 04944245beec: Verifying Checksum 21:11:46 04944245beec: Download complete 21:11:46 765212b225bb: Verifying Checksum 21:11:46 765212b225bb: Download complete 21:11:46 f23df028b6ca: Verifying Checksum 21:11:46 f23df028b6ca: Download complete 21:11:46 d65c8cfc05b1: Verifying Checksum 21:11:46 d65c8cfc05b1: Download complete 21:11:46 699f458cf7ca: Verifying Checksum 21:11:46 699f458cf7ca: Download complete 21:11:47 8998bd30e6a1: Verifying Checksum 21:11:47 8998bd30e6a1: Download complete 21:11:49 2437ff75d9bd: Verifying Checksum 21:11:49 2437ff75d9bd: Download complete 21:11:51 8998bd30e6a1: Pull complete 21:11:51 04944245beec: Pull complete 21:11:53 699f458cf7ca: Pull complete 21:11:53 765212b225bb: Pull complete 21:11:53 f23df028b6ca: Pull complete 21:11:53 d65c8cfc05b1: Pull complete 21:12:09 2437ff75d9bd: Pull complete 21:12:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:12:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:09 prd-ubuntu20.04-docker-arm64-4c-16g-9104 does not seem to be running inside a container 21:12:09 $ 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:11 $ docker top a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:12 ---> job-cost.sh 21:12:12 lf-activate-venv: SKIPPING 21:12:12 INFO: No Stack... 21:12:13 INFO: Retrieving Pricing Info for: v3-standard-4 21:12:13 INFO: Archiving Costs [Pipeline] sh 21:12:14 + cut -d, -f6 21:12:14 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:12:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] 21:12:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] did not exist. Created. 21:12:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:14 /w/workspace/device-rest-go/1@tmp/durable-4ad927f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:12:15 + echo total: 0.10999999940395355 [Pipeline] stash 21:12:15 Warning: overwriting stash ‘stack-cost’ 21:12:15 Stashed 1 file(s) [Pipeline] } 21:12:15 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-295-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:15 $ docker stop --time=1 a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d 21:12:16 $ docker rm -f --volumes a8eadb3d2ecd521cc34f6b6b5a199db1c418e85d119ac485dfe57296fef48c4d [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:17 provisioning config files... 21:12:17 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config15391864703960580236tmp [Pipeline] { [Pipeline] sh 21:12:18 + set +x 21:12:18 + curl -s https://codecov.io/bash 21:12:18 + bash -s -- 21:12:18 21:12:18 _____ _ 21:12:18 / ____| | | 21:12:18 | | ___ __| | ___ ___ _____ __ 21:12:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:12:18 | |___| (_) | (_| | __/ (_| (_) \ V / 21:12:18 \_____\___/ \__,_|\___|\___\___/ \_/ 21:12:18 Bash-1.0.6 21:12:18 21:12:18 21:12:18 ==> git version 2.25.1 found 21:12:18 ==> 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:18 Release-Date: 2020-01-08 21:12:18 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:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:12:18 ==> Jenkins CI detected. 21:12:18 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-295 21:12:18 project root: . 21:12:18 --> token set from env 21:12:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:12:18 ==> Running gcov in . (disable via -X gcov) 21:12:18 ==> Python coveragepy not found 21:12:18 ==> Searching for coverage reports in: 21:12:18 + . 21:12:18 -> Found 1 reports 21:12:18 ==> Detecting git/mercurial file structure 21:12:18 ==> Reading reports 21:12:18 + ./coverage.out bytes=14663 21:12:18 ==> Appending adjustments 21:12:18 https://docs.codecov.io/docs/fixing-reports 21:12:18 + Found adjustments 21:12:18 ==> Gzipping contents 21:12:18 4.0K /tmp/codecov.07xFfv.gz 21:12:18 ==> Uploading reports 21:12:18 url: https://codecov.io 21:12:18 query: branch=PR-295&commit=92d05831d62a2154c95b99d6e2e608bd8957c8d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=295&job=&cmd_args= 21:12:18 -> Pinging Codecov 21:12:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-295&commit=92d05831d62a2154c95b99d6e2e608bd8957c8d9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-295%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=295&job=&cmd_args= 21:12:18 -> Uploading to 21:12:18 https://storage.googleapis.com/codecov/v4/raw/2023-04-19/4E5D53B4F1F92C436F7061BF334D961C/92d05831d62a2154c95b99d6e2e608bd8957c8d9/6e24d807-46e2-48a2-9bbd-a8e008f6885f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T211218Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=efed142b758d519f8f8a5a2ab976e4dd1d01fd32c0e2047215a5580370d0fdd8 21:12:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:18 Dload Upload Total Spent Left Speed 21:12:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10865 --:--:-- --:--:-- --:--:-- 10865 21:12:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/92d05831d62a2154c95b99d6e2e608bd8957c8d9 [Pipeline] } 21:12:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:12:20 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-295/archives ] 21:12:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-295/archives 21:12:20 total 16 21:12:20 drwxr-xr-x 3 root root 4096 Apr 19 21:03 . 21:12:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 21:03 .. 21:12:20 drwxr-xr-x 2 root root 4096 Apr 19 21:03 cost 21:12:20 -rw-r--r-- 1 root root 86 Apr 19 21:03 cost.csv 21:12:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-295/archives 21:12:20 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-295/archives 21:12:20 total 16 21:12:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:03 . 21:12:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 21:03 .. 21:12:20 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:03 cost 21:12:20 -rw-r--r-- 1 jenkins jenkins 86 Apr 19 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:21 ---> package-listing.sh 21:12:21 ++ facter osfamily 21:12:21 ++ tr '[:upper:]' '[:lower:]' 21:12:22 + OS_FAMILY=debian 21:12:22 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-295 21:12:22 + START_PACKAGES=/tmp/packages_start.txt 21:12:22 + END_PACKAGES=/tmp/packages_end.txt 21:12:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:22 + PACKAGES=/tmp/packages_start.txt 21:12:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-295 ']' 21:12:22 + PACKAGES=/tmp/packages_end.txt 21:12:22 + case "${OS_FAMILY}" in 21:12:22 + dpkg -l 21:12:22 + grep '^ii' 21:12:22 + '[' -f /tmp/packages_start.txt ']' 21:12:22 + '[' -f /tmp/packages_end.txt ']' 21:12:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:22 + '[' /w/workspace/gexfoundry_device-rest-go_PR-295 ']' 21:12:22 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-295/archives/ 21:12:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-295/archives/ [Pipeline] echo 21:12:22 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-295/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:23 prd-ubuntu20.04-docker-8c-8g-9103 does not seem to be running inside a container 21:12:23 $ 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-295/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-295 -v /w/workspace/gexfoundry_device-rest-go_PR-295:/w/workspace/gexfoundry_device-rest-go_PR-295:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-295@tmp:/w/workspace/gexfoundry_device-rest-go_PR-295@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:12:23 $ docker top 8418b6b601640c21db96747d7dc9b530c06c7c8df0d32bbe53df9e6a65c80a43 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:23 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:24 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:24 + ls /var/log/sa-host 21:12:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:24 provisioning config files... 21:12:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-295@tmp/config7482180171820804613tmp [Pipeline] { [Pipeline] echo 21:12:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:25 ---> create-netrc.sh [Pipeline] } 21:12:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:25 ---> python-tools-install.sh [Pipeline] echo 21:12:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:25 ---> sudo-logs.sh 21:12:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:26 ---> job-cost.sh 21:12:26 lf-activate-venv: SKIPPING 21:12:26 DEBUG: total: 0.2199999988079071 21:12:26 INFO: Retrieving Stack Cost... 21:12:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:27 INFO: Archiving Costs [Pipeline] echo 21:12:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:27 ---> logs-deploy.sh 21:12:27 lf-activate-venv: SKIPPING 21:12:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-295/1 21:12:27 INFO: archiving workspace using pattern(s): 21:12:28 Archives upload complete. 21:12:28 INFO: archiving logs to Nexus