Pull request #331 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-rest-go Loading trusted files from base branch main at 89173ea65a943aba0f4628b8150ce015ac4d5016 rather than bbfcc0226598174b6127e805ff9b931fc1acdcd9 Obtained Jenkinsfile from 89173ea65a943aba0f4628b8150ce015ac4d5016 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-ssh16774055719201042563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh18393239334500668772.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-331/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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11350448928271323315.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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13096932989840109656.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7046713348703979492.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-331/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-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14852598293190232783.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3201’ Running on prd-ubuntu20.04-docker-8c-8g-3204 in /w/workspace/gexfoundry_device-rest-go_PR-331 [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-331 # 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 89173ea65a943aba0f4628b8150ce015ac4d5016 into PR head commit bbfcc0226598174b6127e805ff9b931fc1acdcd9 Merge succeeded, producing bbfcc0226598174b6127e805ff9b931fc1acdcd9 Checking out Revision bbfcc0226598174b6127e805ff9b931fc1acdcd9 (PR-331) > 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/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # 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 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:07:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:07:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:07:33 ========================================================= 10:07:33 EdgeX Global Pipelines Version Info 10:07:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:07:34 ------------------- 10:07:34 stable info: 10:07:34 ------------------- 10:07:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:07:34 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:07:34 Message: update stable to v1.0.250 10:07:35 ------------------- 10:07:35 experimental info: 10:07:35 ------------------- 10:07:35 Commited By: **** collab-it+edgex@linuxfoundation.org 10:07:35 Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 10:07:35 Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:07:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbfcc02 [Pipeline] echo 10:07:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:36 provisioning config files... 10:07:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config8919333164424633379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:37 ---> docker-login.sh 10:07:37 nexus3.edgexfoundry.org:10001 10:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:37 Configure a credential helper to remove this warning. See 10:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:37 10:07:37 Login Succeeded 10:07:37 nexus3.edgexfoundry.org:10002 10:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:37 Configure a credential helper to remove this warning. See 10:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:37 10:07:37 Login Succeeded 10:07:37 nexus3.edgexfoundry.org:10003 10:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:37 Configure a credential helper to remove this warning. See 10:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:37 10:07:37 Login Succeeded 10:07:37 nexus3.edgexfoundry.org:10004 10:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:37 Configure a credential helper to remove this warning. See 10:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:37 10:07:37 Login Succeeded 10:07:37 docker.io 10:07:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:37 Configure a credential helper to remove this warning. See 10:07:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:37 10:07:37 Login Succeeded 10:07:37 ---> docker-login.sh ends [Pipeline] } 10:07:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:07:38 + git rev-list -1 --merges bbfcc0226598174b6127e805ff9b931fc1acdcd9~1..bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo 10:07:38 -----------> git rev-list -1 --merges bbfcc0226598174b6127e805ff9b931fc1acdcd9~1..bbfcc0226598174b6127e805ff9b931fc1acdcd9 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [false] [Pipeline] sh 10:07:39 + git log --format=format:%s -1 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo 10:07:39 ========================================================= 10:07:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:07:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:39 + git log --format=format:%s -1 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo 10:07:39 [semverPrep] GIT_COMMIT: bbfcc0226598174b6127e805ff9b931fc1acdcd9, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:07:39 [semverPrep] This is not a build commit. [Pipeline] sh 10:07:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:39 + grep -v github /etc/ssh/ssh_known_hosts 10:07:39 + [ -e /tmp/ssh_known_hosts ] 10:07:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:07:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:07:39 + sudo tee -a /etc/ssh/ssh_known_hosts 10:07:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:40 10:07:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:40 0.1.4: Pulling from edgex-devops/py-git-semver 10:07:40 b85a868b505f: Pulling fs layer 10:07:40 e2be974225ed: Pulling fs layer 10:07:40 339a4e72a1f5: Pulling fs layer 10:07:40 988bab9f4d93: Pulling fs layer 10:07:40 1469e6f7b9e6: Pulling fs layer 10:07:40 eaf3925da568: Pulling fs layer 10:07:40 bab4dde63d76: Pulling fs layer 10:07:40 bde34c3a00c8: Pulling fs layer 10:07:40 b352a97aabf1: Pulling fs layer 10:07:40 4872d77fe225: Pulling fs layer 10:07:40 5851b861e8e6: Pulling fs layer 10:07:40 bab4dde63d76: Waiting 10:07:40 bde34c3a00c8: Waiting 10:07:40 b352a97aabf1: Waiting 10:07:40 4872d77fe225: Waiting 10:07:40 5851b861e8e6: Waiting 10:07:40 988bab9f4d93: Waiting 10:07:40 1469e6f7b9e6: Waiting 10:07:40 eaf3925da568: Waiting 10:07:40 e2be974225ed: Verifying Checksum 10:07:40 e2be974225ed: Download complete 10:07:40 988bab9f4d93: Verifying Checksum 10:07:40 988bab9f4d93: Download complete 10:07:41 1469e6f7b9e6: Verifying Checksum 10:07:41 1469e6f7b9e6: Download complete 10:07:41 339a4e72a1f5: Verifying Checksum 10:07:41 339a4e72a1f5: Download complete 10:07:41 eaf3925da568: Verifying Checksum 10:07:41 eaf3925da568: Download complete 10:07:41 bde34c3a00c8: Download complete 10:07:41 b352a97aabf1: Verifying Checksum 10:07:41 b352a97aabf1: Download complete 10:07:41 4872d77fe225: Verifying Checksum 10:07:41 4872d77fe225: Download complete 10:07:41 5851b861e8e6: Verifying Checksum 10:07:41 5851b861e8e6: Download complete 10:07:41 b85a868b505f: Verifying Checksum 10:07:41 b85a868b505f: Download complete 10:07:41 bab4dde63d76: Verifying Checksum 10:07:41 bab4dde63d76: Download complete 10:07:42 b85a868b505f: Pull complete 10:07:42 e2be974225ed: Pull complete 10:07:42 339a4e72a1f5: Pull complete 10:07:42 988bab9f4d93: Pull complete 10:07:43 1469e6f7b9e6: Pull complete 10:07:43 eaf3925da568: Pull complete 10:07:45 bab4dde63d76: Pull complete 10:07:45 bde34c3a00c8: Pull complete 10:07:45 b352a97aabf1: Pull complete 10:07:45 4872d77fe225: Pull complete 10:07:45 5851b861e8e6: Pull complete 10:07:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:07:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:45 prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container 10:07:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-devops/py-git-semver:0.1.4 cat 10:07:49 $ docker top 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 -eo pid,comm 10:07:49 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). 10:07:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:49 [ssh-agent] Looking for ssh-agent implementation... 10:07:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:49 $ docker exec 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent 10:07:49 SSH_AUTH_SOCK=/tmp/ssh-uspa0jE7I04U/agent.32 10:07:49 SSH_AGENT_PID=38 10:07:49 Running ssh-add (command line suppressed) 10:07:49 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_11337759208510447033.key (/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_11337759208510447033.key) 10:07:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:50 + git tag --points-at HEAD [Pipeline] } 10:07:50 $ docker exec --env ******** --env ******** 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent -k 10:07:50 unset SSH_AUTH_SOCK; 10:07:50 unset SSH_AGENT_PID; 10:07:50 echo Agent pid 38 killed; 10:07:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:50 [ssh-agent] Looking for ssh-agent implementation... 10:07:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:50 $ docker exec 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent 10:07:50 SSH_AUTH_SOCK=/tmp/ssh-r9SnoLND4vzf/agent.70 10:07:50 SSH_AGENT_PID=76 10:07:50 Running ssh-add (command line suppressed) 10:07:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_7569735466647285758.key (/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_7569735466647285758.key) 10:07:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:51 + git semver init 10:07:51 2023-08-09 10:07:51,364 [run_init] DEBUG init version:0.0.0 force:False 10:07:51 2023-08-09 10:07:51,364 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver 10:07:51 2023-08-09 10:07:51,365 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-331/.semver 10:07:51 2023-08-09 10:07:51,365 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-331/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331, universal_newlines=False, shell=None, istream=None) 10:07:52 2023-08-09 10:07:52,525 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-331/.git/info/exclude 10:07:52 2023-08-09 10:07:52,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 with force:False 10:07:52 2023-08-09 10:07:52,525 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 10:07:52 2023-08-09 10:07:52,529 [execute] INFO git cat-file --batch-check 10:07:52 2023-08-09 10:07:52,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 10:07:52 2023-08-09 10:07:52,537 [execute] INFO git cat-file --batch 10:07:52 2023-08-09 10:07:52,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) 10:07:52 2023-08-09 10:07:52,544 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 10:07:52 0.0.0 [Pipeline] } 10:07:52 $ docker exec --env ******** --env ******** 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent -k 10:07:52 unset SSH_AUTH_SOCK; 10:07:52 unset SSH_AGENT_PID; 10:07:52 echo Agent pid 76 killed; 10:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:53 + git semver [Pipeline] } 10:07:53 $ docker stop --time=1 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 10:07:54 $ docker rm -f --volumes 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:55 Stashed 1 file(s) [Pipeline] echo 10:07:55 [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 10:07:56 provisioning config files... 10:07:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config3115599278127717973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:56 ---> docker-login.sh 10:07:56 nexus3.edgexfoundry.org:10001 10:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:56 Configure a credential helper to remove this warning. See 10:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:56 10:07:56 Login Succeeded 10:07:56 nexus3.edgexfoundry.org:10002 10:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:56 Configure a credential helper to remove this warning. See 10:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:56 10:07:56 Login Succeeded 10:07:56 nexus3.edgexfoundry.org:10003 10:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:56 Configure a credential helper to remove this warning. See 10:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:56 10:07:56 Login Succeeded 10:07:56 nexus3.edgexfoundry.org:10004 10:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:56 Configure a credential helper to remove this warning. See 10:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:56 10:07:56 Login Succeeded 10:07:56 docker.io 10:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:07:57 Configure a credential helper to remove this warning. See 10:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:07:57 10:07:57 Login Succeeded 10:07:57 ---> docker-login.sh ends [Pipeline] } 10:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:07:57 ========================================================= 10:07:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:07:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:57 + 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 . 10:07:57 Sending build context to Docker daemon 10.91MB 10:07:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:07:57 Step 2/12 : FROM ${BASE} AS builder 10:07:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:07:57 4db1b89c0bd1: Pulling fs layer 10:07:57 6911f1a30b25: Pulling fs layer 10:07:57 e194b8c5c2a9: Pulling fs layer 10:07:57 6863d3e3a2b1: Pulling fs layer 10:07:57 ec0bb842ea78: Pulling fs layer 10:07:57 40a00589a448: Pulling fs layer 10:07:57 6c08303d61cc: Pulling fs layer 10:07:57 798269fcf238: Pulling fs layer 10:07:57 6863d3e3a2b1: Waiting 10:07:57 ec0bb842ea78: Waiting 10:07:57 40a00589a448: Waiting 10:07:57 6c08303d61cc: Waiting 10:07:57 798269fcf238: Waiting 10:07:57 6911f1a30b25: Verifying Checksum 10:07:57 6911f1a30b25: Download complete 10:07:58 6863d3e3a2b1: Download complete 10:07:58 ec0bb842ea78: Download complete 10:07:58 4db1b89c0bd1: Verifying Checksum 10:07:58 4db1b89c0bd1: Download complete 10:07:58 40a00589a448: Verifying Checksum 10:07:58 40a00589a448: Download complete 10:07:58 4db1b89c0bd1: Pull complete 10:07:58 6911f1a30b25: Pull complete 10:07:58 798269fcf238: Verifying Checksum 10:07:58 798269fcf238: Download complete 10:07:58 e194b8c5c2a9: Download complete 10:07:58 6c08303d61cc: Verifying Checksum 10:07:58 6c08303d61cc: Download complete 10:08:02 e194b8c5c2a9: Pull complete 10:08:02 6863d3e3a2b1: Pull complete 10:08:02 ec0bb842ea78: Pull complete 10:08:02 40a00589a448: Pull complete 10:08:04 6c08303d61cc: Pull complete 10:08:05 798269fcf238: Pull complete 10:08:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 10:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:08:05 ---> ec979cd7f677 10:08:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:08:11 Still waiting to schedule task 10:08:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3203’ 10:08:13 ---> Running in 0fd6af64e1cc 10:08:13 Removing intermediate container 0fd6af64e1cc 10:08:13 ---> 42f914fc60e7 10:08:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:08:13 ---> Running in 73eccb481efa 10:08:13 Removing intermediate container 73eccb481efa 10:08:13 ---> 2bd5be732e61 10:08:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:08:13 ---> Running in 2b3ceee44ec6 10:08:13 Removing intermediate container 2b3ceee44ec6 10:08:13 ---> 07c5a238a279 10:08:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:08:13 ---> Running in 0c3a8454bf7c 10:08:13 Removing intermediate container 0c3a8454bf7c 10:08:13 ---> 15cc95428dab 10:08:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:08:13 ---> Running in dca1759c047b 10:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:08:14 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:08:14 (2/4) Installing libedit (20221030.3.1-r0) 10:08:14 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:08:14 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:08:14 Executing busybox-1.35.0-r29.trigger 10:08:14 OK: 269 MiB in 57 packages 10:08:15 Removing intermediate container dca1759c047b 10:08:15 ---> 2659d5536209 10:08:15 Step 8/12 : WORKDIR /device-rest-go 10:08:15 ---> Running in bf6b8796d148 10:08:15 Removing intermediate container bf6b8796d148 10:08:15 ---> d3bf25044b38 10:08:15 Step 9/12 : COPY go.mod vendor* ./ 10:08:15 ---> b3efbb4abf92 10:08:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:15 ---> Running in 726902a7248a 10:08:47 Removing intermediate container 726902a7248a 10:08:47 ---> ed2a5b74e513 10:08:47 Step 11/12 : COPY . . 10:08:47 ---> c03afe00906c 10:08:47 Step 12/12 : RUN $MAKE 10:08:47 ---> Running in 172b874fe3d4 10:08:47 noop 10:08:47 Removing intermediate container 172b874fe3d4 10:08:47 ---> d66df240030e 10:08:47 Successfully built d66df240030e 10:08:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:48 + docker inspect -f . ci-base-image-x86_64 10:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:48 prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container 10:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:48 $ docker top 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:49 + go version 10:08:49 go version go1.20.6 linux/amd64 [Pipeline] } 10:08:49 $ docker stop --time=1 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa 10:08:50 $ docker rm -f --volumes 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:51 + docker inspect -f . ci-base-image-x86_64 10:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:51 prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container 10:08:51 $ 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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:51 $ docker top f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-331 [Pipeline] fileExists [Pipeline] sh 10:08:52 + make test 10:08:52 go test ./... -coverprofile=coverage.out ./... 10:08:56 ? github.com/edgexfoundry/device-rest-go [no test files] 10:09:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:09:06 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 10:09:11 go vet ./... 10:09:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:15 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:09:15 $ docker stop --time=1 f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 10:09:20 $ docker rm -f --volumes f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:21 + ls -al . 10:09:21 total 184 10:09:21 drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:08 . 10:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:07 .. 10:09:21 -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:07 .dockerignore 10:09:21 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:07 .git 10:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:07 .github 10:09:21 -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:07 .gitignore 10:09:21 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:07 .golangci.yml 10:09:21 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:07 .semver 10:09:21 -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:07 Attribution.txt 10:09:21 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:07 CHANGELOG.md 10:09:21 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:07 Dockerfile 10:09:21 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:07 GOVERNANCE.md 10:09:21 -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:07 Jenkinsfile 10:09:21 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:07 LICENSE 10:09:21 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:07 Makefile 10:09:21 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:07 OWNERS.md 10:09:21 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:07 README.md 10:09:21 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:07 VERSION 10:09:21 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:07 bin 10:09:21 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:07 cmd 10:09:21 -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:09 coverage.out 10:09:21 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:07 driver 10:09:21 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:07 go.mod 10:09:21 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:07 go.sum 10:09:21 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:07 snap 10:09:21 -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:22 + 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=bbfcc0226598174b6127e805ff9b931fc1acdcd9 --label arch=amd64 --label version=0.0.0 . 10:09:22 Sending build context to Docker daemon 10.92MB 10:09:22 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:09:22 Step 2/25 : FROM ${BASE} AS builder 10:09:22 ---> d66df240030e 10:09:22 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:09:22 ---> Running in cd404db6644f 10:09:22 Removing intermediate container cd404db6644f 10:09:22 ---> 3994898714a4 10:09:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:09:22 ---> Running in 61e80867e0a4 10:09:22 Removing intermediate container 61e80867e0a4 10:09:22 ---> f8fb38475fae 10:09:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:09:22 ---> Running in 7971b7a3a054 10:09:22 Removing intermediate container 7971b7a3a054 10:09:22 ---> a2670012061b 10:09:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:09:22 ---> Running in 4c9b44bc0663 10:09:22 Removing intermediate container 4c9b44bc0663 10:09:22 ---> 644ebc480ef6 10:09:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:22 ---> Running in 0fb08764747e 10:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:09:23 OK: 269 MiB in 57 packages 10:09:23 Removing intermediate container 0fb08764747e 10:09:23 ---> 1f99e6d4a0da 10:09:23 Step 8/25 : WORKDIR /device-rest-go 10:09:23 ---> Running in b44b7464de1d 10:09:23 Removing intermediate container b44b7464de1d 10:09:23 ---> c4cab9b75682 10:09:23 Step 9/25 : COPY go.mod vendor* ./ 10:09:23 ---> 3a08b2ff7475 10:09:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:24 ---> Running in 5737a3d08063 10:09:24 Removing intermediate container 5737a3d08063 10:09:24 ---> 3dd5f293519a 10:09:24 Step 11/25 : COPY . . 10:09:25 ---> a25ed24a2126 10:09:25 Step 12/25 : RUN $MAKE 10:09:25 ---> Running in cade42c7e18d 10:09:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 10:09:47 Removing intermediate container cade42c7e18d 10:09:47 ---> 563fbc6f2dba 10:09:47 Step 13/25 : FROM alpine:3.17 10:09:47 3.17: Pulling from library/alpine 10:09:47 9398808236ff: Pulling fs layer 10:09:47 9398808236ff: Download complete 10:09:47 9398808236ff: Pull complete 10:09:47 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:09:47 Status: Downloaded newer image for alpine:3.17 10:09:47 ---> 1e0b8b5322fc 10:09:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:09:47 ---> Running in fd321ee85e0e 10:09:47 Removing intermediate container fd321ee85e0e 10:09:47 ---> 9ed9eb9fee82 10:09:47 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:09:47 ---> Running in f2c7bbe27407 10:09:47 Removing intermediate container f2c7bbe27407 10:09:47 ---> f5964848fb82 10:09:47 Step 16/25 : RUN apk add --update --no-cache dumb-init 10:09:47 ---> Running in 1205d5b5058d 10:09:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:09:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:09:47 (1/1) Installing dumb-init (1.2.5-r2) 10:09:47 Executing busybox-1.35.0-r29.trigger 10:09:47 OK: 7 MiB in 16 packages 10:09:47 Removing intermediate container 1205d5b5058d 10:09:47 ---> 94576e7a2463 10:09:47 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:09:48 ---> e79913bf24cb 10:09:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:09:48 ---> 97045394966b 10:09:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:09:48 ---> 55b0e061fe6a 10:09:48 Step 20/25 : EXPOSE 59986 10:09:48 ---> Running in 102cfc1f25c9 10:09:48 Removing intermediate container 102cfc1f25c9 10:09:48 ---> 0668100373a2 10:09:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:09:48 ---> Running in 75c8730db609 10:09:48 Removing intermediate container 75c8730db609 10:09:48 ---> 59e4c433c962 10:09:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:09:48 ---> Running in 8b1f594ac2a2 10:09:49 Removing intermediate container 8b1f594ac2a2 10:09:49 ---> 2ae371861d1a 10:09:49 Step 23/25 : LABEL arch=amd64 10:09:49 ---> Running in ea89eb5caa51 10:09:49 Removing intermediate container ea89eb5caa51 10:09:49 ---> 2821130a49a8 10:09:49 Step 24/25 : LABEL git_sha=bbfcc0226598174b6127e805ff9b931fc1acdcd9 10:09:49 ---> Running in 2d8df8df2cb0 10:09:49 Removing intermediate container 2d8df8df2cb0 10:09:49 ---> d31aa5dcf9cf 10:09:49 Step 25/25 : LABEL version=0.0.0 10:09:49 ---> Running in 8c57cde6a12f 10:09:49 Removing intermediate container 8c57cde6a12f 10:09:49 ---> cf96034e6627 10:09:49 [Warning] One or more build-args [ARCH] were not consumed 10:09:49 Successfully built cf96034e6627 10:09:49 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 10:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:50 10:09:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:50 latest: Pulling from edgex-lftools-log-publisher 10:09:50 5eb5b503b376: Pulling fs layer 10:09:50 5c69ac0246d0: Pulling fs layer 10:09:50 ec43610c2a17: Pulling fs layer 10:09:50 3a2ae6a8a46f: Pulling fs layer 10:09:50 33b1e0a273af: Pulling fs layer 10:09:50 5d3b04190fa2: Pulling fs layer 10:09:50 2f39f015ded8: Pulling fs layer 10:09:50 3a2ae6a8a46f: Waiting 10:09:50 5d3b04190fa2: Waiting 10:09:50 33b1e0a273af: Waiting 10:09:50 5c69ac0246d0: Download complete 10:09:50 3a2ae6a8a46f: Download complete 10:09:50 33b1e0a273af: Verifying Checksum 10:09:50 33b1e0a273af: Download complete 10:09:50 5d3b04190fa2: Download complete 10:09:50 ec43610c2a17: Verifying Checksum 10:09:50 ec43610c2a17: Download complete 10:09:50 5eb5b503b376: Verifying Checksum 10:09:50 5eb5b503b376: Download complete 10:09:51 2f39f015ded8: Download complete 10:09:52 5eb5b503b376: Pull complete 10:09:52 5c69ac0246d0: Pull complete 10:09:52 ec43610c2a17: Pull complete 10:09:52 3a2ae6a8a46f: Pull complete 10:09:52 33b1e0a273af: Pull complete 10:09:52 5d3b04190fa2: Pull complete 10:09:57 2f39f015ded8: Pull complete 10:09:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:09:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:57 prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container 10:09:57 $ 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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:10:02 $ docker top c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:02 ---> job-cost.sh 10:10:02 lf-activate-venv: SKIPPING 10:10:02 INFO: No Stack... 10:10:02 INFO: Retrieving Pricing Info for: v3-standard-8 10:10:03 INFO: Archiving Costs [Pipeline] sh 10:10:03 + cat /w/workspace/gexfoundry_device-rest-go_PR-331/archives/cost.csv 10:10:03 + cut -d, -f6 [Pipeline] lock 10:10:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] 10:10:03 Resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] did not exist. Created. 10:10:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:10:04 + echo total: 0.2199999988079071 [Pipeline] stash 10:10:04 Stashed 1 file(s) [Pipeline] } 10:10:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:04 $ docker stop --time=1 c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 10:10:05 $ docker rm -f --volumes c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:10:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3207 in /w/workspace/gexfoundry_device-rest-go_PR-331 [Pipeline] { [Pipeline] ws 10:10:45 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 10:10:45 The recommended git tool is: git 10:10:51 using credential edgex-jenkins-ssh 10:10:51 Cloning the remote Git repository 10:10:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:10:52 > git init /w/workspace/device-rest-go/1 # timeout=10 10:10:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:10:52 > git --version # timeout=10 10:10:52 > git --version # 'git version 2.25.1' 10:10:52 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:10:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:10:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:10:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:10:56 Merging remotes/origin/main commit 89173ea65a943aba0f4628b8150ce015ac4d5016 into PR head commit bbfcc0226598174b6127e805ff9b931fc1acdcd9 10:10:56 Merge succeeded, producing bbfcc0226598174b6127e805ff9b931fc1acdcd9 10:10:56 Checking out Revision bbfcc0226598174b6127e805ff9b931fc1acdcd9 (PR-331) 10:10:56 > git config core.sparsecheckout # timeout=10 10:10:56 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 10:10:56 > git remote # timeout=10 10:10:56 > git config --get remote.origin.url # timeout=10 10:10:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:56 > git merge 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 10:10:56 > git rev-parse HEAD^{commit} # timeout=10 10:10:56 > git config core.sparsecheckout # timeout=10 10:10:56 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 10:10:59 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" 10:11:00 > git --version # timeout=10 10:11:00 > git --version # 'git version 2.25.1' 10:11:00 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:11:01 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:01 Dload Upload Total Spent Left Speed 10:11:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 10:11:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:11:02 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:11:02 sudo tee /etc/docker/daemon.new 10:11:02 { 10:11:02 "registry-mirrors": [ 10:11:02 "https://nexus3.edgexfoundry.org:10001" 10:11:02 ], 10:11:02 "bip": "10.250.0.254/24", 10:11:02 "hosts": [ 10:11:02 "tcp://0.0.0.0:5555", 10:11:02 "unix:///var/run/docker.sock" 10:11:02 ], 10:11:02 "mtu": 1458, 10:11:02 "selinux-enabled": true, 10:11:02 "seccomp-profile": "/etc/docker/seccomp.json" 10:11:02 } [Pipeline] sh 10:11:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:11:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:21 provisioning config files... 10:11:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config574590261874288099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:22 ---> docker-login.sh 10:11:22 nexus3.edgexfoundry.org:10001 10:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:22 Configure a credential helper to remove this warning. See 10:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:22 10:11:22 Login Succeeded 10:11:22 nexus3.edgexfoundry.org:10002 10:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:23 Configure a credential helper to remove this warning. See 10:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:23 10:11:23 Login Succeeded 10:11:23 nexus3.edgexfoundry.org:10003 10:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:23 Configure a credential helper to remove this warning. See 10:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:23 10:11:23 Login Succeeded 10:11:23 nexus3.edgexfoundry.org:10004 10:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:23 Configure a credential helper to remove this warning. See 10:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:23 10:11:23 Login Succeeded 10:11:23 docker.io 10:11:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:11:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:11:24 Configure a credential helper to remove this warning. See 10:11:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:11:24 10:11:24 Login Succeeded 10:11:24 ---> docker-login.sh ends [Pipeline] } 10:11:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:11:24 ========================================================= 10:11:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:11:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:25 + 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 . 10:11:25 Sending build context to Docker daemon 142.3kB 10:11:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:11:25 Step 2/12 : FROM ${BASE} AS builder 10:11:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:11:26 edb6bdbacee9: Pulling fs layer 10:11:26 5f9638ab2659: Pulling fs layer 10:11:26 8d51d6327a98: Pulling fs layer 10:11:26 8b374f2dd631: Pulling fs layer 10:11:26 ec14aa9079de: Pulling fs layer 10:11:26 2f466654f4bb: Pulling fs layer 10:11:26 554e91adad29: Pulling fs layer 10:11:26 2f466654f4bb: Waiting 10:11:26 8b374f2dd631: Waiting 10:11:26 ec14aa9079de: Waiting 10:11:26 554e91adad29: Waiting 10:11:26 5f9638ab2659: Download complete 10:11:26 8b374f2dd631: Verifying Checksum 10:11:26 8b374f2dd631: Download complete 10:11:26 ec14aa9079de: Verifying Checksum 10:11:26 ec14aa9079de: Download complete 10:11:26 edb6bdbacee9: Verifying Checksum 10:11:26 edb6bdbacee9: Download complete 10:11:27 edb6bdbacee9: Pull complete 10:11:27 554e91adad29: Verifying Checksum 10:11:27 554e91adad29: Download complete 10:11:27 5f9638ab2659: Pull complete 10:11:29 8d51d6327a98: Verifying Checksum 10:11:29 8d51d6327a98: Download complete 10:11:29 2f466654f4bb: Verifying Checksum 10:11:29 2f466654f4bb: Download complete 10:11:41 8d51d6327a98: Pull complete 10:11:41 8b374f2dd631: Pull complete 10:11:41 ec14aa9079de: Pull complete 10:11:46 2f466654f4bb: Pull complete 10:11:48 554e91adad29: Pull complete 10:11:48 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 10:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:11:48 ---> 1e15ea492957 10:11:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:11:50 ---> Running in 72ead564f274 10:11:51 Removing intermediate container 72ead564f274 10:11:51 ---> 0147abf3a92a 10:11:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:51 ---> Running in d5653f6bf4bb 10:11:51 Removing intermediate container d5653f6bf4bb 10:11:51 ---> 2bcffb3f57c7 10:11:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:11:51 ---> Running in 71bdee292495 10:11:51 Removing intermediate container 71bdee292495 10:11:51 ---> 2c6a7dea6a36 10:11:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:11:51 ---> Running in 6014b72ddbda 10:11:52 Removing intermediate container 6014b72ddbda 10:11:52 ---> 1bd0bc95c14d 10:11:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:11:52 ---> Running in d36f14e6684e 10:11:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:11:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:11:55 (1/4) Installing openssh-keygen (9.1_p1-r4) 10:11:55 (2/4) Installing libedit (20221030.3.1-r0) 10:11:55 (3/4) Installing openssh-client-common (9.1_p1-r4) 10:11:55 (4/4) Installing openssh-client-default (9.1_p1-r4) 10:11:55 Executing busybox-1.35.0-r29.trigger 10:11:55 OK: 268 MiB in 57 packages 10:11:57 Removing intermediate container d36f14e6684e 10:11:57 ---> c3ce9295fadf 10:11:57 Step 8/12 : WORKDIR /device-rest-go 10:11:57 ---> Running in b0633661b717 10:11:57 Removing intermediate container b0633661b717 10:11:57 ---> 15a658dce833 10:11:57 Step 9/12 : COPY go.mod vendor* ./ 10:11:58 ---> 4d189ad3cdd2 10:11:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:58 ---> Running in bd633f5aeec3 10:13:06 Removing intermediate container bd633f5aeec3 10:13:06 ---> 356b600737d8 10:13:06 Step 11/12 : COPY . . 10:13:06 ---> de7a83f39881 10:13:06 Step 12/12 : RUN $MAKE 10:13:06 ---> Running in 845424ec9c93 10:13:06 noop 10:13:06 Removing intermediate container 845424ec9c93 10:13:06 ---> 8f9b3797f649 10:13:06 Successfully built 8f9b3797f649 10:13:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:06 + docker inspect -f . ci-base-image-arm64 10:13:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:07 prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container 10:13:07 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:08 $ docker top 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:09 + go version 10:13:09 go version go1.20.6 linux/arm64 [Pipeline] } 10:13:09 $ docker stop --time=1 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 10:13:11 $ docker rm -f --volumes 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:12 + docker inspect -f . ci-base-image-arm64 10:13:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:12 prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container 10:13:12 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:13 $ docker top 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:14 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 10:13:15 + make test 10:13:15 go test ./... -coverprofile=coverage.out ./... 10:13:54 ? github.com/edgexfoundry/device-rest-go [no test files] 10:16:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:16:15 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements 10:16:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:16:15 go vet ./... 10:16:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:16:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:16:42 ./bin/test-attribution-txt.sh [Pipeline] echo 10:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:16:42 $ docker stop --time=1 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda 10:16:44 $ docker rm -f --volumes 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda [Pipeline] // withDockerContainer [Pipeline] sh 10:16:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:16:45 Warning: overwriting stash ‘coverage-report’ 10:16:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:16:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:16:47 + ls -al . 10:16:47 total 180 10:16:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:13 . 10:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:10 .. 10:16:47 -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:10 .dockerignore 10:16:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:10 .git 10:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:10 .github 10:16:47 -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:10 .gitignore 10:16:47 -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:10 .golangci.yml 10:16:47 -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:10 Attribution.txt 10:16:47 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:10 CHANGELOG.md 10:16:47 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:10 Dockerfile 10:16:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:10 GOVERNANCE.md 10:16:47 -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:10 Jenkinsfile 10:16:47 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:10 LICENSE 10:16:47 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:10 Makefile 10:16:47 -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:10 OWNERS.md 10:16:47 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:10 README.md 10:16:47 -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:07 VERSION 10:16:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:10 bin 10:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:10 cmd 10:16:47 -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:16 coverage.out 10:16:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:10 driver 10:16:47 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:10 go.mod 10:16:47 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:10 go.sum 10:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:10 snap 10:16:47 -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:16:48 + 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=bbfcc0226598174b6127e805ff9b931fc1acdcd9 --label arch=arm64 --label version=0.0.0 . 10:16:48 Sending build context to Docker daemon 157.7kB 10:16:48 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:16:48 Step 2/25 : FROM ${BASE} AS builder 10:16:48 ---> 8f9b3797f649 10:16:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:16:48 ---> Running in 2773c0e6276b 10:16:49 Removing intermediate container 2773c0e6276b 10:16:49 ---> fa23208bb34a 10:16:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:16:49 ---> Running in 96e83f6dee39 10:16:49 Removing intermediate container 96e83f6dee39 10:16:49 ---> fe4be8388427 10:16:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:16:49 ---> Running in 5f64224ec935 10:16:49 Removing intermediate container 5f64224ec935 10:16:49 ---> 9b343b8150cb 10:16:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:16:49 ---> Running in 2c398ccfbdbd 10:16:50 Removing intermediate container 2c398ccfbdbd 10:16:50 ---> 1781e20c63fb 10:16:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:16:50 ---> Running in c4aa0ae04803 10:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:16:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:16:53 OK: 268 MiB in 57 packages 10:16:54 Removing intermediate container c4aa0ae04803 10:16:54 ---> c61a27105430 10:16:54 Step 8/25 : WORKDIR /device-rest-go 10:16:54 ---> Running in 81918110525a 10:16:54 Removing intermediate container 81918110525a 10:16:54 ---> d5bcae7a43e9 10:16:54 Step 9/25 : COPY go.mod vendor* ./ 10:16:54 ---> 3aa9c13da022 10:16:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:16:54 ---> Running in e210ff7954d3 10:16:56 Removing intermediate container e210ff7954d3 10:16:56 ---> 8ef0681b00f2 10:16:56 Step 11/25 : COPY . . 10:16:57 ---> bacef23d6753 10:16:57 Step 12/25 : RUN $MAKE 10:16:57 ---> Running in 046bb22177c4 10:16:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 10:19:35 Removing intermediate container 046bb22177c4 10:19:35 ---> 28738aca11f8 10:19:35 Step 13/25 : FROM alpine:3.17 10:19:35 3.17: Pulling from library/alpine 10:19:35 4060ece20d7a: Pulling fs layer 10:19:35 4060ece20d7a: Verifying Checksum 10:19:35 4060ece20d7a: Download complete 10:19:35 4060ece20d7a: Pull complete 10:19:35 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 10:19:35 Status: Downloaded newer image for alpine:3.17 10:19:35 ---> 8650cd65339b 10:19:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:19:35 ---> Running in 9dc58f18530d 10:19:35 Removing intermediate container 9dc58f18530d 10:19:35 ---> 4def14cccdd7 10:19:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:19:35 ---> Running in ec74308fb245 10:19:35 Removing intermediate container ec74308fb245 10:19:35 ---> 5e36d1497502 10:19:35 Step 16/25 : RUN apk add --update --no-cache dumb-init 10:19:35 ---> Running in 2abb23d9d5a7 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:19:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:19:35 (1/1) Installing dumb-init (1.2.5-r2) 10:19:35 Executing busybox-1.35.0-r29.trigger 10:19:35 OK: 8 MiB in 16 packages 10:19:35 Removing intermediate container 2abb23d9d5a7 10:19:35 ---> 23d1005e68ce 10:19:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:19:35 ---> 5d78c93d78f1 10:19:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:19:35 ---> dcd65fed02e6 10:19:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:19:35 ---> ea98587cdb4e 10:19:35 Step 20/25 : EXPOSE 59986 10:19:35 ---> Running in 09035ce3d231 10:19:35 Removing intermediate container 09035ce3d231 10:19:35 ---> 4be1da9b917f 10:19:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:19:35 ---> Running in 79bc92f7a825 10:19:35 Removing intermediate container 79bc92f7a825 10:19:35 ---> 5fcfd98424e4 10:19:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:19:35 ---> Running in eafc78f791c4 10:19:35 Removing intermediate container eafc78f791c4 10:19:35 ---> 48226f9f8767 10:19:35 Step 23/25 : LABEL arch=arm64 10:19:35 ---> Running in d205b35a7b6d 10:19:35 Removing intermediate container d205b35a7b6d 10:19:35 ---> 3770808a8ada 10:19:35 Step 24/25 : LABEL git_sha=bbfcc0226598174b6127e805ff9b931fc1acdcd9 10:19:35 ---> Running in 947cbefd53ae 10:19:35 Removing intermediate container 947cbefd53ae 10:19:35 ---> 19f0d55aec1e 10:19:35 Step 25/25 : LABEL version=0.0.0 10:19:35 ---> Running in d1bdd9d3993b 10:19:35 Removing intermediate container d1bdd9d3993b 10:19:35 ---> 018d01c44083 10:19:35 [Warning] One or more build-args [ARCH] were not consumed 10:19:35 Successfully built 018d01c44083 10:19:35 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:36 10:19:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:36 arm64: Pulling from edgex-lftools-log-publisher 10:19:36 8998bd30e6a1: Pulling fs layer 10:19:36 04944245beec: Pulling fs layer 10:19:36 699f458cf7ca: Pulling fs layer 10:19:36 765212b225bb: Pulling fs layer 10:19:36 f23df028b6ca: Pulling fs layer 10:19:36 d65c8cfc05b1: Pulling fs layer 10:19:36 2437ff75d9bd: Pulling fs layer 10:19:36 f23df028b6ca: Waiting 10:19:36 d65c8cfc05b1: Waiting 10:19:36 765212b225bb: Waiting 10:19:36 2437ff75d9bd: Waiting 10:19:37 04944245beec: Verifying Checksum 10:19:37 04944245beec: Download complete 10:19:37 765212b225bb: Verifying Checksum 10:19:37 765212b225bb: Download complete 10:19:37 f23df028b6ca: Download complete 10:19:37 d65c8cfc05b1: Verifying Checksum 10:19:37 d65c8cfc05b1: Download complete 10:19:37 699f458cf7ca: Verifying Checksum 10:19:37 699f458cf7ca: Download complete 10:19:37 8998bd30e6a1: Verifying Checksum 10:19:37 8998bd30e6a1: Download complete 10:19:40 2437ff75d9bd: Verifying Checksum 10:19:40 2437ff75d9bd: Download complete 10:19:42 8998bd30e6a1: Pull complete 10:19:42 04944245beec: Pull complete 10:19:43 699f458cf7ca: Pull complete 10:19:47 765212b225bb: Pull complete 10:19:48 f23df028b6ca: Pull complete 10:19:48 d65c8cfc05b1: Pull complete 10:20:03 2437ff75d9bd: Pull complete 10:20:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:20:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:20:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:03 prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container 10:20:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:20:06 $ docker top de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:07 ---> job-cost.sh 10:20:07 lf-activate-venv: SKIPPING 10:20:07 INFO: No Stack... 10:20:08 INFO: Retrieving Pricing Info for: v3-standard-4 10:20:09 INFO: Archiving Costs [Pipeline] sh 10:20:09 + + cut -d, -f6cat /w/workspace/device-rest-go/1/archives/cost.csv 10:20:09 [Pipeline] lock 10:20:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] 10:20:09 Resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] did not exist. Created. 10:20:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:10 /w/workspace/device-rest-go/1@tmp/durable-2d47c720/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:20:11 + echo total: 0.10999999940395355 [Pipeline] stash 10:20:11 Warning: overwriting stash ‘stack-cost’ 10:20:11 Stashed 1 file(s) [Pipeline] } 10:20:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:20:11 $ docker stop --time=1 de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd 10:20:13 $ docker rm -f --volumes de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:20:14 provisioning config files... 10:20:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config13058459330907955534tmp [Pipeline] { [Pipeline] sh 10:20:15 + set +x 10:20:15 + + bash -s -- 10:20:15 curl -s https://codecov.io/bash 10:20:15 10:20:15 _____ _ 10:20:15 / ____| | | 10:20:15 | | ___ __| | ___ ___ _____ __ 10:20:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:20:15 | |___| (_) | (_| | __/ (_| (_) \ V / 10:20:15 \_____\___/ \__,_|\___|\___\___/ \_/ 10:20:15 Bash-1.0.6 10:20:15 10:20:15 10:20:15 ==> git version 2.25.1 found 10:20:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:20:15 Release-Date: 2020-01-08 10:20:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:20:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:20:15 ==> Jenkins CI detected. 10:20:15 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-331 10:20:15 project root: . 10:20:15 --> token set from env 10:20:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:20:15 ==> Running gcov in . (disable via -X gcov) 10:20:15 ==> Python coveragepy not found 10:20:15 ==> Searching for coverage reports in: 10:20:15 + . 10:20:15 -> Found 1 reports 10:20:15 ==> Detecting git/mercurial file structure 10:20:15 ==> Reading reports 10:20:15 + ./coverage.out bytes=14656 10:20:15 ==> Appending adjustments 10:20:15 https://docs.codecov.io/docs/fixing-reports 10:20:15 + Found adjustments 10:20:15 ==> Gzipping contents 10:20:15 4.0K /tmp/codecov.ruUgnr.gz 10:20:15 ==> Uploading reports 10:20:15 url: https://codecov.io 10:20:15 query: branch=PR-331&commit=bbfcc0226598174b6127e805ff9b931fc1acdcd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=331&job=&cmd_args= 10:20:15 -> Pinging Codecov 10:20:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-331&commit=bbfcc0226598174b6127e805ff9b931fc1acdcd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=331&job=&cmd_args= 10:20:15 -> Uploading to 10:20:15 https://storage.googleapis.com/codecov/v4/raw/2023-08-09/4E5D53B4F1F92C436F7061BF334D961C/bbfcc0226598174b6127e805ff9b931fc1acdcd9/52e1cfd5-e524-46ba-a7f9-01dba9f8cb7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T102015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c98f5c979b898615eb167d27e8c71716f3b5995f6aa506f2105171a682ce1ac 10:20:15 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:15 Dload Upload Total Spent Left Speed 10:20:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 13617 --:--:-- --:--:-- --:--:-- 13617 10:20:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] } 10:20:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:20:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-331/archives ] 10:20:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-331/archives 10:20:17 total 16 10:20:17 drwxr-xr-x 3 root root 4096 Aug 9 10:10 . 10:20:17 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:10 .. 10:20:17 drwxr-xr-x 2 root root 4096 Aug 9 10:10 cost 10:20:17 -rw-r--r-- 1 root root 86 Aug 9 10:10 cost.csv 10:20:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-331/archives 10:20:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-331/archives 10:20:17 total 16 10:20:17 drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:10 . 10:20:17 drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:10 .. 10:20:17 drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:10 cost 10:20:17 -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:20:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:20:18 ---> package-listing.sh 10:20:18 ++ facter osfamily 10:20:18 ++ tr '[:upper:]' '[:lower:]' 10:20:18 + OS_FAMILY=debian 10:20:18 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-331 10:20:18 + START_PACKAGES=/tmp/packages_start.txt 10:20:18 + END_PACKAGES=/tmp/packages_end.txt 10:20:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:20:18 + PACKAGES=/tmp/packages_start.txt 10:20:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-331 ']' 10:20:18 + PACKAGES=/tmp/packages_end.txt 10:20:18 + case "${OS_FAMILY}" in 10:20:18 + dpkg -l 10:20:18 + grep '^ii' 10:20:18 + '[' -f /tmp/packages_start.txt ']' 10:20:18 + '[' -f /tmp/packages_end.txt ']' 10:20:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:20:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-331 ']' 10:20:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-331/archives/ 10:20:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-331/archives/ [Pipeline] echo 10:20:18 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-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:20:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:20:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:19 prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container 10:20:20 $ 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-331/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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:20:20 $ docker top 9df7dd60198678a23158d890d4b73490f779409b1e3a3b861c18fe4855d545af -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:20 + touch /tmp/pre-build-complete [Pipeline] sh 10:20:20 + mkdir -p /var/log/sysstat [Pipeline] sh 10:20:21 + ls /var/log/sa-host 10:20:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:21 provisioning config files... 10:20:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config9593302413615859967tmp [Pipeline] { [Pipeline] echo 10:20:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:20:21 ---> create-netrc.sh [Pipeline] } 10:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:20:22 ---> python-tools-install.sh [Pipeline] echo 10:20:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:20:22 ---> sudo-logs.sh 10:20:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:20:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:20:22 ---> job-cost.sh 10:20:22 lf-activate-venv: SKIPPING 10:20:22 DEBUG: total: 0.2199999988079071 10:20:22 INFO: Retrieving Stack Cost... 10:20:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:20:23 INFO: Archiving Costs [Pipeline] echo 10:20:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:20:24 ---> logs-deploy.sh 10:20:24 lf-activate-venv: SKIPPING 10:20:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-331/1 10:20:24 INFO: archiving workspace using pattern(s): 10:20:25 Archives upload complete. 10:20:25 INFO: archiving logs to Nexus