Pull request #306 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fcadae0c5298cdff3158e953057ed0b44a6b13a7+cba6ba485dc6694309bacf8d506d636ea079fc31 (e596c1d6386275b6d9338f989ae1c8f0dd3d1a33) 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-ssh16024615358118441955.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7542965337622288472.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-306/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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8127448556302491726.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-306/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13245293035979835444.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11963006323403055490.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-306/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-306/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8308954984801998762.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12622 in /w/workspace/gexfoundry_device-rest-go_PR-306 [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-306 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cba6ba485dc6694309bacf8d506d636ea079fc31 into PR head commit fcadae0c5298cdff3158e953057ed0b44a6b13a7 Merge succeeded, producing fcadae0c5298cdff3158e953057ed0b44a6b13a7 Checking out Revision fcadae0c5298cdff3158e953057ed0b44a6b13a7 (PR-306) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 > 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/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fcadae0c5298cdff3158e953057ed0b44a6b13a7 # 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 cba6ba485dc6694309bacf8d506d636ea079fc31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fcadae0c5298cdff3158e953057ed0b44a6b13a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:20 ========================================================= 20:58:20 EdgeX Global Pipelines Version Info 20:58:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:21 ------------------- 20:58:21 stable info: 20:58:21 ------------------- 20:58:21 Commited By: Bill Mahoney bill.mahoney@intel.com 20:58:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:58:21 Message: update stable to v1.0.248 20:58:21 ------------------- 20:58:21 experimental info: 20:58:21 ------------------- 20:58:21 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 20:58:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-306 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-306 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-306 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcadae0c5298cdff3158e953057ed0b44a6b13a7 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcadae0 [Pipeline] echo 20:58:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:23 provisioning config files... 20:58:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/config12905391855044174043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:23 ---> docker-login.sh 20:58:23 nexus3.edgexfoundry.org:10001 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 nexus3.edgexfoundry.org:10002 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 nexus3.edgexfoundry.org:10003 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 nexus3.edgexfoundry.org:10004 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:24 Configure a credential helper to remove this warning. See 20:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:24 20:58:24 Login Succeeded 20:58:24 docker.io 20:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:25 Configure a credential helper to remove this warning. See 20:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:25 20:58:25 Login Succeeded 20:58:25 ---> docker-login.sh ends [Pipeline] } 20:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:25 + git rev-list -1 --merges fcadae0c5298cdff3158e953057ed0b44a6b13a7~1..fcadae0c5298cdff3158e953057ed0b44a6b13a7 [Pipeline] echo 20:58:25 -----------> git rev-list -1 --merges fcadae0c5298cdff3158e953057ed0b44a6b13a7~1..fcadae0c5298cdff3158e953057ed0b44a6b13a7 fcadae0c5298cdff3158e953057ed0b44a6b13a7 [false] [Pipeline] sh 20:58:26 + git log --format=format:%s -1 fcadae0c5298cdff3158e953057ed0b44a6b13a7 [Pipeline] echo 20:58:26 ========================================================= 20:58:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:26 + git log --format=format:%s -1 fcadae0c5298cdff3158e953057ed0b44a6b13a7 [Pipeline] echo 20:58:26 [semverPrep] GIT_COMMIT: fcadae0c5298cdff3158e953057ed0b44a6b13a7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:58:26 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:27 + grep -v github /etc/ssh/ssh_known_hosts 20:58:27 + [ -e /tmp/ssh_known_hosts ] 20:58:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:27 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:27 20:58:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:27 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:27 b85a868b505f: Pulling fs layer 20:58:27 e2be974225ed: Pulling fs layer 20:58:27 339a4e72a1f5: Pulling fs layer 20:58:27 988bab9f4d93: Pulling fs layer 20:58:27 1469e6f7b9e6: Pulling fs layer 20:58:27 eaf3925da568: Pulling fs layer 20:58:27 bab4dde63d76: Pulling fs layer 20:58:27 bde34c3a00c8: Pulling fs layer 20:58:27 b352a97aabf1: Pulling fs layer 20:58:27 4872d77fe225: Pulling fs layer 20:58:27 5851b861e8e6: Pulling fs layer 20:58:27 1469e6f7b9e6: Waiting 20:58:27 eaf3925da568: Waiting 20:58:27 bab4dde63d76: Waiting 20:58:27 bde34c3a00c8: Waiting 20:58:27 b352a97aabf1: Waiting 20:58:27 4872d77fe225: Waiting 20:58:27 5851b861e8e6: Waiting 20:58:27 988bab9f4d93: Waiting 20:58:27 e2be974225ed: Download complete 20:58:27 988bab9f4d93: Verifying Checksum 20:58:27 988bab9f4d93: Download complete 20:58:27 1469e6f7b9e6: Verifying Checksum 20:58:27 1469e6f7b9e6: Download complete 20:58:27 339a4e72a1f5: Verifying Checksum 20:58:28 eaf3925da568: Verifying Checksum 20:58:28 eaf3925da568: Download complete 20:58:28 b352a97aabf1: Verifying Checksum 20:58:28 b352a97aabf1: Download complete 20:58:28 4872d77fe225: Verifying Checksum 20:58:28 4872d77fe225: Download complete 20:58:28 5851b861e8e6: Verifying Checksum 20:58:28 5851b861e8e6: Download complete 20:58:28 b85a868b505f: Verifying Checksum 20:58:28 b85a868b505f: Download complete 20:58:28 bab4dde63d76: Verifying Checksum 20:58:28 bab4dde63d76: Download complete 20:58:29 b85a868b505f: Pull complete 20:58:29 e2be974225ed: Pull complete 20:58:29 339a4e72a1f5: Pull complete 20:58:30 988bab9f4d93: Pull complete 20:58:30 1469e6f7b9e6: Pull complete 20:58:30 eaf3925da568: Pull complete 20:58:32 bab4dde63d76: Pull complete 20:58:32 bde34c3a00c8: Pull complete 20:58:32 b352a97aabf1: Pull complete 20:58:32 4872d77fe225: Pull complete 20:58:32 5851b861e8e6: Pull complete 20:58:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:32 prd-ubuntu20.04-docker-8c-8g-12622 does not seem to be running inside a container 20:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-306 -v /w/workspace/gexfoundry_device-rest-go_PR-306:/w/workspace/gexfoundry_device-rest-go_PR-306:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-306@tmp:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:34 $ docker top 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff -eo pid,comm 20:58:34 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). 20:58:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:34 [ssh-agent] Looking for ssh-agent implementation... 20:58:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:34 $ docker exec 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff ssh-agent 20:58:34 SSH_AUTH_SOCK=/tmp/ssh-WMNN4OuOj0jN/agent.32 20:58:34 SSH_AGENT_PID=38 20:58:34 Running ssh-add (command line suppressed) 20:58:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-306@tmp/private_key_10185338192627158120.key (/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/private_key_10185338192627158120.key) 20:58:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:34 + git tag --points-at HEAD [Pipeline] } 20:58:34 $ docker exec --env ******** --env ******** 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff ssh-agent -k 20:58:35 unset SSH_AUTH_SOCK; 20:58:35 unset SSH_AGENT_PID; 20:58:35 echo Agent pid 38 killed; 20:58:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:35 [ssh-agent] Looking for ssh-agent implementation... 20:58:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:35 $ docker exec 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff ssh-agent 20:58:35 SSH_AUTH_SOCK=/tmp/ssh-K3S6EIrY14jS/agent.70 20:58:35 SSH_AGENT_PID=76 20:58:35 Running ssh-add (command line suppressed) 20:58:35 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-306@tmp/private_key_10184386844760906269.key (/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/private_key_10184386844760906269.key) 20:58:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:35 + git semver init 20:58:36 2023-05-03 20:58:36,005 [run_init] DEBUG init version:0.0.0 force:False 20:58:36 2023-05-03 20:58:36,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-306/.semver 20:58:36 2023-05-03 20:58:36,006 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-306/.semver 20:58:36 2023-05-03 20:58:36,006 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-306/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-306, universal_newlines=False, shell=None, istream=None) 20:58:37 2023-05-03 20:58:36,965 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-306/.git/info/exclude 20:58:37 2023-05-03 20:58:36,966 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-306/.semver/PR-306 with force:False 20:58:37 2023-05-03 20:58:36,966 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-306/.semver/PR-306 20:58:37 2023-05-03 20:58:36,970 [execute] INFO git cat-file --batch-check 20:58:37 2023-05-03 20:58:36,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) 20:58:37 2023-05-03 20:58:36,976 [execute] INFO git cat-file --batch 20:58:37 2023-05-03 20:58:36,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-306/.semver, universal_newlines=False, shell=None, istream=) 20:58:37 2023-05-03 20:58:36,981 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-306/.semver/PR-306 20:58:37 0.0.0 [Pipeline] } 20:58:37 $ docker exec --env ******** --env ******** 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff ssh-agent -k 20:58:37 unset SSH_AUTH_SOCK; 20:58:37 unset SSH_AGENT_PID; 20:58:37 echo Agent pid 76 killed; 20:58:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:37 + git semver [Pipeline] } 20:58:37 $ docker stop --time=1 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff 20:58:39 $ docker rm -f --volumes 95bdf16d2e8cf1719697ac9970dc5e64e50aa53d98853e10dc53a5f94bb81eff [Pipeline] // withDockerContainer [Pipeline] sh 20:58:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:39 Stashed 1 file(s) [Pipeline] echo 20:58:39 [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 20:58:40 provisioning config files... 20:58:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/config11229267339022246552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:40 ---> docker-login.sh 20:58:40 nexus3.edgexfoundry.org:10001 20:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:40 Configure a credential helper to remove this warning. See 20:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:40 20:58:40 Login Succeeded 20:58:40 nexus3.edgexfoundry.org:10002 20:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:40 Configure a credential helper to remove this warning. See 20:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:40 20:58:40 Login Succeeded 20:58:40 nexus3.edgexfoundry.org:10003 20:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:41 Configure a credential helper to remove this warning. See 20:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:41 20:58:41 Login Succeeded 20:58:41 nexus3.edgexfoundry.org:10004 20:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:41 Configure a credential helper to remove this warning. See 20:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:41 20:58:41 Login Succeeded 20:58:41 docker.io 20:58:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:41 Configure a credential helper to remove this warning. See 20:58:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:41 20:58:41 Login Succeeded 20:58:41 ---> docker-login.sh ends [Pipeline] } 20:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:41 ========================================================= 20:58:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:58:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:42 + 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 . 20:58:42 Sending build context to Docker daemon 10.91MB 20:58:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:58:42 Step 2/12 : FROM ${BASE} AS builder 20:58:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:42 f56be85fc22e: Pulling fs layer 20:58:42 85791d961cd3: Pulling fs layer 20:58:42 d694b5ae8c79: Pulling fs layer 20:58:42 9f32a84ed3da: Pulling fs layer 20:58:42 4d19c01a9841: Pulling fs layer 20:58:42 9325e15d5711: Pulling fs layer 20:58:42 556b6ee489ea: Pulling fs layer 20:58:42 c5a4b2cf53e6: Pulling fs layer 20:58:42 9f32a84ed3da: Waiting 20:58:42 4d19c01a9841: Waiting 20:58:42 9325e15d5711: Waiting 20:58:42 c5a4b2cf53e6: Waiting 20:58:42 556b6ee489ea: Waiting 20:58:42 85791d961cd3: Download complete 20:58:42 9f32a84ed3da: Download complete 20:58:42 4d19c01a9841: Download complete 20:58:42 f56be85fc22e: Verifying Checksum 20:58:42 f56be85fc22e: Download complete 20:58:42 9325e15d5711: Verifying Checksum 20:58:42 9325e15d5711: Download complete 20:58:42 f56be85fc22e: Pull complete 20:58:42 85791d961cd3: Pull complete 20:58:42 c5a4b2cf53e6: Verifying Checksum 20:58:42 c5a4b2cf53e6: Download complete 20:58:42 d694b5ae8c79: Download complete 20:58:43 556b6ee489ea: Verifying Checksum 20:58:43 556b6ee489ea: Download complete 20:58:46 d694b5ae8c79: Pull complete 20:58:46 9f32a84ed3da: Pull complete 20:58:46 4d19c01a9841: Pull complete 20:58:46 9325e15d5711: Pull complete 20:58:48 556b6ee489ea: Pull complete 20:58:49 c5a4b2cf53e6: Pull complete 20:58:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 20:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:58:49 ---> c4be618373d6 20:58:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:58:50 ---> Running in e24c72ea3741 20:58:50 Removing intermediate container e24c72ea3741 20:58:50 ---> caf279dffa8f 20:58:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:50 ---> Running in 14212532a57a 20:58:51 Removing intermediate container 14212532a57a 20:58:51 ---> 5ec5b545a43a 20:58:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:58:51 ---> Running in d0c48db1a051 20:58:51 Removing intermediate container d0c48db1a051 20:58:51 ---> 8450e5d132ac 20:58:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:58:51 ---> Running in 4645e6777d68 20:58:51 Removing intermediate container 4645e6777d68 20:58:51 ---> 84316cbee813 20:58:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:51 ---> Running in fd10c3330e03 20:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:58:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:58:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:58:51 (2/4) Installing libedit (20221030.3.1-r0) 20:58:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:58:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:58:51 Executing busybox-1.35.0-r29.trigger 20:58:51 OK: 269 MiB in 57 packages 20:58:52 Removing intermediate container fd10c3330e03 20:58:52 ---> 54007a7c2790 20:58:52 Step 8/12 : WORKDIR /device-rest-go 20:58:52 ---> Running in 5826b45e3b26 20:58:52 Removing intermediate container 5826b45e3b26 20:58:52 ---> 7d61cd0e9434 20:58:52 Step 9/12 : COPY go.mod vendor* ./ 20:58:52 ---> 0992fbe3f7ab 20:58:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:52 ---> Running in e06e1eeaa9fe 20:58:55 Still waiting to schedule task 20:58:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:59:19 Removing intermediate container e06e1eeaa9fe 20:59:19 ---> 4e063545fa9f 20:59:19 Step 11/12 : COPY . . 20:59:19 ---> 799ff5bce14b 20:59:19 Step 12/12 : RUN $MAKE 20:59:19 ---> Running in 4228ae71814a 20:59:19 noop 20:59:19 Removing intermediate container 4228ae71814a 20:59:19 ---> 613854c70dce 20:59:19 Successfully built 613854c70dce 20:59:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:19 + docker inspect -f . ci-base-image-x86_64 20:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:19 prd-ubuntu20.04-docker-8c-8g-12622 does not seem to be running inside a container 20:59:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-306 -v /w/workspace/gexfoundry_device-rest-go_PR-306:/w/workspace/gexfoundry_device-rest-go_PR-306:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-306@tmp:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:20 $ docker top 02adf83a4e1c13999b60f3bd115bcc15b31513d50205d8152cfd8fea3ee28f40 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:20 + go version 20:59:20 go version go1.20.2 linux/amd64 [Pipeline] } 20:59:20 $ docker stop --time=1 02adf83a4e1c13999b60f3bd115bcc15b31513d50205d8152cfd8fea3ee28f40 20:59:22 $ docker rm -f --volumes 02adf83a4e1c13999b60f3bd115bcc15b31513d50205d8152cfd8fea3ee28f40 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:22 + docker inspect -f . ci-base-image-x86_64 20:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:22 prd-ubuntu20.04-docker-8c-8g-12622 does not seem to be running inside a container 20:59:22 $ 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-306 -v /w/workspace/gexfoundry_device-rest-go_PR-306:/w/workspace/gexfoundry_device-rest-go_PR-306:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-306@tmp:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:23 $ docker top 9a5c2afcac8a7cda4aa3b86dd41d7275f805f3b7607ade418db7296de1a922f6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-306 [Pipeline] fileExists [Pipeline] sh 20:59:24 + make test 20:59:24 go test ./... -coverprofile=coverage.out ./... 20:59:29 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:39 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 20:59:45 go vet ./... 20:59:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:50 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:50 $ docker stop --time=1 9a5c2afcac8a7cda4aa3b86dd41d7275f805f3b7607ade418db7296de1a922f6 20:59:52 $ docker rm -f --volumes 9a5c2afcac8a7cda4aa3b86dd41d7275f805f3b7607ade418db7296de1a922f6 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:53 + ls -al . 20:59:53 total 184 20:59:53 drwxrwxr-x 9 jenkins jenkins 4096 May 3 20:59 . 20:59:53 drwxrwxr-x 4 jenkins jenkins 4096 May 3 20:58 .. 20:59:53 -rw-rw-r-- 1 jenkins jenkins 151 May 3 20:58 .dockerignore 20:59:53 drwxrwxr-x 8 jenkins jenkins 4096 May 3 20:58 .git 20:59:53 drwxrwxr-x 3 jenkins jenkins 4096 May 3 20:58 .github 20:59:53 -rw-rw-r-- 1 jenkins jenkins 329 May 3 20:58 .gitignore 20:59:53 -rw-rw-r-- 1 jenkins jenkins 41 May 3 20:58 .golangci.yml 20:59:53 drwxr-xr-x 3 jenkins jenkins 4096 May 3 20:58 .semver 20:59:53 -rw-rw-r-- 1 jenkins jenkins 9331 May 3 20:58 Attribution.txt 20:59:53 -rw-rw-r-- 1 jenkins jenkins 13085 May 3 20:58 CHANGELOG.md 20:59:53 -rw-rw-r-- 1 jenkins jenkins 1578 May 3 20:58 Dockerfile 20:59:53 -rw-rw-r-- 1 jenkins jenkins 677 May 3 20:58 GOVERNANCE.md 20:59:53 -rw-rw-r-- 1 jenkins jenkins 680 May 3 20:58 Jenkinsfile 20:59:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 20:58 LICENSE 20:59:53 -rw-rw-r-- 1 jenkins jenkins 1779 May 3 20:58 Makefile 20:59:53 -rw-rw-r-- 1 jenkins jenkins 620 May 3 20:58 OWNERS.md 20:59:53 -rw-rw-r-- 1 jenkins jenkins 15321 May 3 20:58 README.md 20:59:53 -rw-rw-r-- 1 jenkins jenkins 5 May 3 20:58 VERSION 20:59:53 drwxrwxr-x 2 jenkins jenkins 4096 May 3 20:58 bin 20:59:53 drwxrwxr-x 3 jenkins jenkins 4096 May 3 20:58 cmd 20:59:53 -rw-r--r-- 1 jenkins jenkins 14663 May 3 20:59 coverage.out 20:59:53 drwxrwxr-x 2 jenkins jenkins 4096 May 3 20:58 driver 20:59:53 -rw-rw-r-- 1 jenkins jenkins 3402 May 3 20:58 go.mod 20:59:53 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 20:58 go.sum 20:59:53 drwxrwxr-x 4 jenkins jenkins 4096 May 3 20:58 snap 20:59:53 -rw-rw-r-- 1 jenkins jenkins 713 May 3 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:54 + 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=fcadae0c5298cdff3158e953057ed0b44a6b13a7 --label arch=amd64 --label version=0.0.0 . 20:59:54 Sending build context to Docker daemon 10.92MB 20:59:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:59:54 Step 2/25 : FROM ${BASE} AS builder 20:59:54 ---> 613854c70dce 20:59:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:59:54 ---> Running in e3bdebd26692 20:59:54 Removing intermediate container e3bdebd26692 20:59:54 ---> c12e991ad3dd 20:59:54 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:54 ---> Running in 2e51c32b18ed 20:59:54 Removing intermediate container 2e51c32b18ed 20:59:54 ---> cf1721a64ded 20:59:54 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:54 ---> Running in 72b3c561b79f 20:59:54 Removing intermediate container 72b3c561b79f 20:59:54 ---> 3c8f0a09880c 20:59:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:59:54 ---> Running in d81af6d1d88b 20:59:54 Removing intermediate container d81af6d1d88b 20:59:54 ---> eff6798d9bc0 20:59:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:54 ---> Running in 3b3c7e29fe6a 20:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:55 OK: 269 MiB in 57 packages 20:59:55 Removing intermediate container 3b3c7e29fe6a 20:59:55 ---> 5e8d0f4d7b5b 20:59:55 Step 8/25 : WORKDIR /device-rest-go 20:59:55 ---> Running in f95935635031 20:59:55 Removing intermediate container f95935635031 20:59:55 ---> c54c734ad92a 20:59:55 Step 9/25 : COPY go.mod vendor* ./ 20:59:56 ---> 8d69230590d8 20:59:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:56 ---> Running in 816669db30f4 20:59:57 Removing intermediate container 816669db30f4 20:59:57 ---> 259d6fa67bb1 20:59:57 Step 11/25 : COPY . . 20:59:57 ---> c694dc4ec35e 20:59:57 Step 12/25 : RUN $MAKE 20:59:57 ---> Running in d4d6c7abbb8b 20:59:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:00:15 Removing intermediate container d4d6c7abbb8b 21:00:15 ---> d53e9895afd4 21:00:15 Step 13/25 : FROM alpine:3.17 21:00:15 3.17: Pulling from library/alpine 21:00:15 f56be85fc22e: Already exists 21:00:15 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:00:15 Status: Downloaded newer image for alpine:3.17 21:00:15 ---> 9ed4aefc74f6 21:00:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:00:15 ---> Running in bfc51ec227e0 21:00:15 Removing intermediate container bfc51ec227e0 21:00:15 ---> 533933f048b5 21:00:15 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:00:15 ---> Running in aa39deb40db1 21:00:15 Removing intermediate container aa39deb40db1 21:00:15 ---> e1979722a35b 21:00:15 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:00:15 ---> Running in cfc4ba3fca5f 21:00:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:00:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:00:16 (1/1) Installing dumb-init (1.2.5-r2) 21:00:16 Executing busybox-1.35.0-r29.trigger 21:00:16 OK: 7 MiB in 16 packages 21:00:16 Removing intermediate container cfc4ba3fca5f 21:00:16 ---> 74bbc879894e 21:00:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:00:17 ---> aa76a98686d3 21:00:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:00:17 ---> f7c52eb91710 21:00:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:00:17 ---> 7dd40f040d3f 21:00:17 Step 20/25 : EXPOSE 59986 21:00:17 ---> Running in 00c728c23b48 21:00:17 Removing intermediate container 00c728c23b48 21:00:17 ---> 9f9b3bb5ae6b 21:00:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:00:17 ---> Running in 55dde22e3d01 21:00:17 Removing intermediate container 55dde22e3d01 21:00:17 ---> 63b4a21c52b5 21:00:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:00:17 ---> Running in 9575c40942d1 21:00:17 Removing intermediate container 9575c40942d1 21:00:17 ---> dbd905b824ca 21:00:17 Step 23/25 : LABEL arch=amd64 21:00:17 ---> Running in e21fc7afc145 21:00:17 Removing intermediate container e21fc7afc145 21:00:17 ---> 08dd0fbc9258 21:00:17 Step 24/25 : LABEL git_sha=fcadae0c5298cdff3158e953057ed0b44a6b13a7 21:00:17 ---> Running in a15d895c25ce 21:00:17 Removing intermediate container a15d895c25ce 21:00:17 ---> 31913de3b07e 21:00:17 Step 25/25 : LABEL version=0.0.0 21:00:17 ---> Running in a9c00731c836 21:00:18 Removing intermediate container a9c00731c836 21:00:18 ---> 9a4f845f6606 21:00:18 [Warning] One or more build-args [ARCH] were not consumed 21:00:18 Successfully built 9a4f845f6606 21:00:18 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:19 21:00:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:19 latest: Pulling from edgex-lftools-log-publisher 21:00:19 5eb5b503b376: Pulling fs layer 21:00:19 5c69ac0246d0: Pulling fs layer 21:00:19 ec43610c2a17: Pulling fs layer 21:00:19 3a2ae6a8a46f: Pulling fs layer 21:00:19 33b1e0a273af: Pulling fs layer 21:00:19 5d3b04190fa2: Pulling fs layer 21:00:19 2f39f015ded8: Pulling fs layer 21:00:19 33b1e0a273af: Waiting 21:00:19 2f39f015ded8: Waiting 21:00:19 5d3b04190fa2: Waiting 21:00:19 3a2ae6a8a46f: Waiting 21:00:19 5c69ac0246d0: Verifying Checksum 21:00:19 5c69ac0246d0: Download complete 21:00:19 3a2ae6a8a46f: Verifying Checksum 21:00:19 3a2ae6a8a46f: Download complete 21:00:19 33b1e0a273af: Verifying Checksum 21:00:19 33b1e0a273af: Download complete 21:00:19 5d3b04190fa2: Verifying Checksum 21:00:19 5d3b04190fa2: Download complete 21:00:19 ec43610c2a17: Verifying Checksum 21:00:19 ec43610c2a17: Download complete 21:00:19 5eb5b503b376: Verifying Checksum 21:00:19 5eb5b503b376: Download complete 21:00:20 2f39f015ded8: Download complete 21:00:20 5eb5b503b376: Pull complete 21:00:20 5c69ac0246d0: Pull complete 21:00:21 ec43610c2a17: Pull complete 21:00:21 3a2ae6a8a46f: Pull complete 21:00:21 33b1e0a273af: Pull complete 21:00:21 5d3b04190fa2: Pull complete 21:00:26 2f39f015ded8: Pull complete 21:00:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:26 prd-ubuntu20.04-docker-8c-8g-12622 does not seem to be running inside a container 21:00:26 $ 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-306 -v /w/workspace/gexfoundry_device-rest-go_PR-306:/w/workspace/gexfoundry_device-rest-go_PR-306:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-306@tmp:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:28 $ docker top 4dd0c23cee1494160716b074f1c48a7fb44257fca6ad822f5c28726166493b47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:28 ---> job-cost.sh 21:00:28 lf-activate-venv: SKIPPING 21:00:28 INFO: No Stack... 21:00:28 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:29 INFO: Archiving Costs [Pipeline] sh 21:00:29 + cat /w/workspace/gexfoundry_device-rest-go_PR-306/archives/cost.csv 21:00:29 + cut -d, -f6 [Pipeline] lock 21:00:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] 21:00:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] did not exist. Created. 21:00:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:30 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:30 Stashed 1 file(s) [Pipeline] } 21:00:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:30 $ docker stop --time=1 4dd0c23cee1494160716b074f1c48a7fb44257fca6ad822f5c28726166493b47 21:00:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12623 in /w/workspace/gexfoundry_device-rest-go_PR-306 21:00:31 $ docker rm -f --volumes 4dd0c23cee1494160716b074f1c48a7fb44257fca6ad822f5c28726166493b47 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] ws 21:00:31 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] } 21:00:31 The recommended git tool is: git [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:36 using credential edgex-jenkins-ssh 21:00:36 Cloning the remote Git repository 21:00:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:00:36 > git init /w/workspace/device-rest-go/1 # timeout=10 21:00:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:36 > git --version # timeout=10 21:00:37 > git --version # 'git version 2.25.1' 21:00:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:00:40 Merging remotes/origin/main commit cba6ba485dc6694309bacf8d506d636ea079fc31 into PR head commit fcadae0c5298cdff3158e953057ed0b44a6b13a7 21:00:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:00:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:00:39 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/306/head:refs/remotes/origin/PR-306 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:00:40 > git config core.sparsecheckout # timeout=10 21:00:40 > git checkout -f fcadae0c5298cdff3158e953057ed0b44a6b13a7 # timeout=10 21:00:40 Merge succeeded, producing fcadae0c5298cdff3158e953057ed0b44a6b13a7 21:00:40 Checking out Revision fcadae0c5298cdff3158e953057ed0b44a6b13a7 (PR-306) 21:00:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:00:41 > git --version # timeout=10 21:00:41 > git --version # 'git version 2.25.1' 21:00:41 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:40 > git remote # timeout=10 21:00:40 > git config --get remote.origin.url # timeout=10 21:00:40 using GIT_SSH to set credentials SSH Credentials for GitHub 21:00:40 > git merge cba6ba485dc6694309bacf8d506d636ea079fc31 # timeout=10 21:00:40 > git rev-parse HEAD^{commit} # timeout=10 21:00:40 > git config core.sparsecheckout # timeout=10 21:00:40 > git checkout -f fcadae0c5298cdff3158e953057ed0b44a6b13a7 # timeout=10 21:00:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:00:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:42 Dload Upload Total Spent Left Speed 21:00:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh 21:00:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:00:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:00:43 + sudo tee /etc/docker/daemon.new 21:00:43 { 21:00:43 "registry-mirrors": [ 21:00:43 "https://nexus3.edgexfoundry.org:10001" 21:00:43 ], 21:00:43 "bip": "10.250.0.254/24", 21:00:43 "hosts": [ 21:00:43 "tcp://0.0.0.0:5555", 21:00:43 "unix:///var/run/docker.sock" 21:00:43 ], 21:00:43 "mtu": 1458, 21:00:43 "selinux-enabled": true, 21:00:43 "seccomp-profile": "/etc/docker/seccomp.json" 21:00:43 } [Pipeline] sh 21:00:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:00:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:02 provisioning config files... 21:01:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16224387881479179700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:02 ---> docker-login.sh 21:01:02 nexus3.edgexfoundry.org:10001 21:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:03 Configure a credential helper to remove this warning. See 21:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:03 21:01:03 Login Succeeded 21:01:03 nexus3.edgexfoundry.org:10002 21:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:03 Configure a credential helper to remove this warning. See 21:01:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:03 21:01:03 Login Succeeded 21:01:03 nexus3.edgexfoundry.org:10003 21:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:04 Configure a credential helper to remove this warning. See 21:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:04 21:01:04 Login Succeeded 21:01:04 nexus3.edgexfoundry.org:10004 21:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:04 Configure a credential helper to remove this warning. See 21:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:04 21:01:04 Login Succeeded 21:01:04 docker.io 21:01:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:04 Configure a credential helper to remove this warning. See 21:01:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:04 21:01:04 Login Succeeded 21:01:04 ---> docker-login.sh ends [Pipeline] } 21:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:05 ========================================================= 21:01:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:01:09 Sending build context to Docker daemon 138.8kB 21:01:09 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:09 Step 2/12 : FROM ${BASE} AS builder 21:01:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:09 c41833b44d91: Pulling fs layer 21:01:09 ed15518f5707: Pulling fs layer 21:01:09 feae8fd75edb: Pulling fs layer 21:01:09 242c74f7c9fa: Pulling fs layer 21:01:09 3cdef696dda3: Pulling fs layer 21:01:09 2ced38df9373: Pulling fs layer 21:01:09 58f1dce35555: Pulling fs layer 21:01:09 242c74f7c9fa: Waiting 21:01:09 3cdef696dda3: Waiting 21:01:09 2ced38df9373: Waiting 21:01:09 58f1dce35555: Waiting 21:01:09 ed15518f5707: Verifying Checksum 21:01:09 ed15518f5707: Download complete 21:01:09 242c74f7c9fa: Download complete 21:01:09 3cdef696dda3: Verifying Checksum 21:01:09 3cdef696dda3: Download complete 21:01:09 c41833b44d91: Verifying Checksum 21:01:09 c41833b44d91: Download complete 21:01:10 c41833b44d91: Pull complete 21:01:10 58f1dce35555: Verifying Checksum 21:01:10 58f1dce35555: Download complete 21:01:10 ed15518f5707: Pull complete 21:01:11 feae8fd75edb: Verifying Checksum 21:01:11 feae8fd75edb: Download complete 21:01:11 2ced38df9373: Verifying Checksum 21:01:11 2ced38df9373: Download complete 21:01:24 feae8fd75edb: Pull complete 21:01:24 242c74f7c9fa: Pull complete 21:01:24 3cdef696dda3: Pull complete 21:01:30 2ced38df9373: Pull complete 21:01:35 58f1dce35555: Pull complete 21:01:35 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:01:35 ---> fadd8f120f05 21:01:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:36 ---> Running in 9571cc48307d 21:01:36 Removing intermediate container 9571cc48307d 21:01:36 ---> f46a31e0b9a4 21:01:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:37 ---> Running in 0ff0f5922133 21:01:37 Removing intermediate container 0ff0f5922133 21:01:37 ---> 662c0fa1c8cb 21:01:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:37 ---> Running in fbc9c6a4be1b 21:01:37 Removing intermediate container fbc9c6a4be1b 21:01:37 ---> 05a98c242d05 21:01:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:37 ---> Running in f3e9225e3b55 21:01:37 Removing intermediate container f3e9225e3b55 21:01:37 ---> 58db245b2ac9 21:01:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:38 ---> Running in d4ec357e9ac9 21:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:01:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:01:40 (2/4) Installing libedit (20221030.3.1-r0) 21:01:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:01:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:01:40 Executing busybox-1.35.0-r29.trigger 21:01:40 OK: 268 MiB in 57 packages 21:01:41 Removing intermediate container d4ec357e9ac9 21:01:41 ---> c7e685d68a73 21:01:41 Step 8/12 : WORKDIR /device-rest-go 21:01:42 ---> Running in babe01e77630 21:01:42 Removing intermediate container babe01e77630 21:01:42 ---> f34dcfccba27 21:01:42 Step 9/12 : COPY go.mod vendor* ./ 21:01:42 ---> 8377f0d15fcc 21:01:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:42 ---> Running in 8b3776040dcb 21:02:50 Removing intermediate container 8b3776040dcb 21:02:50 ---> 126087fc3494 21:02:50 Step 11/12 : COPY . . 21:02:50 ---> 1ff42094c3fb 21:02:50 Step 12/12 : RUN $MAKE 21:02:50 ---> Running in 6ea07f1830bb 21:02:50 noop 21:02:50 Removing intermediate container 6ea07f1830bb 21:02:50 ---> efb72b025d4e 21:02:50 Successfully built efb72b025d4e 21:02:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:51 + docker inspect -f . ci-base-image-arm64 21:02:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-12623 does not seem to be running inside a container 21:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:52 $ docker top f084b0036d43e95526d5d1f96065b002cffe97015adba686189c56a2e7356fa2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:53 + go version 21:02:53 go version go1.20.2 linux/arm64 [Pipeline] } 21:02:53 $ docker stop --time=1 f084b0036d43e95526d5d1f96065b002cffe97015adba686189c56a2e7356fa2 21:02:55 $ docker rm -f --volumes f084b0036d43e95526d5d1f96065b002cffe97015adba686189c56a2e7356fa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:56 + docker inspect -f . ci-base-image-arm64 21:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:56 prd-ubuntu20.04-docker-arm64-4c-16g-12623 does not seem to be running inside a container 21:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:02:57 $ docker top f2866fa255a209dc9a5bf6adcce455d23c7fa0e0d30467d07fbcc95369a265fa -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:58 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:02:58 + make test 21:02:58 go test ./... -coverprofile=coverage.out ./... 21:03:31 ? github.com/edgexfoundry/device-rest-go [no test files] 21:05:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:05:22 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 32.2% of statements 21:05:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:22 go vet ./... 21:05:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:55 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:55 $ docker stop --time=1 f2866fa255a209dc9a5bf6adcce455d23c7fa0e0d30467d07fbcc95369a265fa 21:05:57 $ docker rm -f --volumes f2866fa255a209dc9a5bf6adcce455d23c7fa0e0d30467d07fbcc95369a265fa [Pipeline] // withDockerContainer [Pipeline] sh 21:05:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:58 Warning: overwriting stash ‘coverage-report’ 21:05:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:59 + ls -al . 21:05:59 total 180 21:05:59 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:03 . 21:05:59 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:00 .. 21:05:59 -rw-rw-r-- 1 jenkins jenkins 151 May 3 21:00 .dockerignore 21:05:59 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:00 .git 21:05:59 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:00 .github 21:05:59 -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:00 .gitignore 21:05:59 -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:00 .golangci.yml 21:05:59 -rw-rw-r-- 1 jenkins jenkins 9331 May 3 21:00 Attribution.txt 21:05:59 -rw-rw-r-- 1 jenkins jenkins 13085 May 3 21:00 CHANGELOG.md 21:05:59 -rw-rw-r-- 1 jenkins jenkins 1578 May 3 21:00 Dockerfile 21:05:59 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:00 GOVERNANCE.md 21:05:59 -rw-rw-r-- 1 jenkins jenkins 680 May 3 21:00 Jenkinsfile 21:05:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:00 LICENSE 21:05:59 -rw-rw-r-- 1 jenkins jenkins 1779 May 3 21:00 Makefile 21:05:59 -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:00 OWNERS.md 21:05:59 -rw-rw-r-- 1 jenkins jenkins 15321 May 3 21:00 README.md 21:05:59 -rw-rw-r-- 1 jenkins jenkins 5 May 3 20:58 VERSION 21:05:59 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:00 bin 21:05:59 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:00 cmd 21:05:59 -rw-r--r-- 1 jenkins jenkins 14663 May 3 21:05 coverage.out 21:05:59 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:00 driver 21:05:59 -rw-rw-r-- 1 jenkins jenkins 3402 May 3 21:00 go.mod 21:05:59 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 21:00 go.sum 21:05:59 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:00 snap 21:05:59 -rw-rw-r-- 1 jenkins jenkins 713 May 3 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:59 + 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=fcadae0c5298cdff3158e953057ed0b44a6b13a7 --label arch=arm64 --label version=0.0.0 . 21:05:59 Sending build context to Docker daemon 154.1kB 21:06:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:06:00 Step 2/25 : FROM ${BASE} AS builder 21:06:00 ---> efb72b025d4e 21:06:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:06:00 ---> Running in 1cc52bf96261 21:06:00 Removing intermediate container 1cc52bf96261 21:06:00 ---> 25c578b47dfd 21:06:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:00 ---> Running in 81ab29fbb3f2 21:06:00 Removing intermediate container 81ab29fbb3f2 21:06:00 ---> 650745c9b8f8 21:06:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:06:01 ---> Running in c20bb7a2b0a5 21:06:01 Removing intermediate container c20bb7a2b0a5 21:06:01 ---> d2ad20c5f949 21:06:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:06:01 ---> Running in cd466f89c197 21:06:01 Removing intermediate container cd466f89c197 21:06:01 ---> 5587cfc3e0a3 21:06:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:01 ---> Running in 1279ad1675ba 21:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:06:04 OK: 268 MiB in 57 packages 21:06:05 Removing intermediate container 1279ad1675ba 21:06:05 ---> bc374fb1b623 21:06:05 Step 8/25 : WORKDIR /device-rest-go 21:06:05 ---> Running in b4736ff1f499 21:06:05 Removing intermediate container b4736ff1f499 21:06:05 ---> 80eda883ea07 21:06:05 Step 9/25 : COPY go.mod vendor* ./ 21:06:06 ---> e6623ac984aa 21:06:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:06 ---> Running in b96e2413df21 21:06:08 Removing intermediate container b96e2413df21 21:06:08 ---> bbb897cb6328 21:06:08 Step 11/25 : COPY . . 21:06:09 ---> eb94c74a845f 21:06:09 Step 12/25 : RUN $MAKE 21:06:09 ---> Running in 4f7e03cedcda 21:06:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:08:16 Removing intermediate container 4f7e03cedcda 21:08:16 ---> b6938455de36 21:08:16 Step 13/25 : FROM alpine:3.17 21:08:16 3.17: Pulling from library/alpine 21:08:16 c41833b44d91: Already exists 21:08:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:08:16 Status: Downloaded newer image for alpine:3.17 21:08:16 ---> 51e60588ff2c 21:08:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:16 ---> Running in bbeb8c96db75 21:08:16 Removing intermediate container bbeb8c96db75 21:08:16 ---> 40728b288784 21:08:16 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:08:16 ---> Running in 9ecb19a64aa6 21:08:16 Removing intermediate container 9ecb19a64aa6 21:08:16 ---> 424536394f91 21:08:16 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:08:16 ---> Running in 11a1406624fb 21:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:08:17 (1/1) Installing dumb-init (1.2.5-r2) 21:08:17 Executing busybox-1.35.0-r29.trigger 21:08:17 OK: 8 MiB in 16 packages 21:08:18 Removing intermediate container 11a1406624fb 21:08:18 ---> 53ae2c4cb316 21:08:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:08:19 ---> 62dd43706b8d 21:08:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:08:20 ---> d3784ae6ca11 21:08:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:08:20 ---> c2c88084450b 21:08:20 Step 20/25 : EXPOSE 59986 21:08:20 ---> Running in acacc740f10e 21:08:21 Removing intermediate container acacc740f10e 21:08:21 ---> 0fcc6f226eaf 21:08:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:08:21 ---> Running in b6b93d6b9966 21:08:21 Removing intermediate container b6b93d6b9966 21:08:21 ---> 29c127f791eb 21:08:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:08:21 ---> Running in 2f32ce30f5d1 21:08:21 Removing intermediate container 2f32ce30f5d1 21:08:21 ---> 02dbf9ad0af5 21:08:21 Step 23/25 : LABEL arch=arm64 21:08:21 ---> Running in daf64c4c1ca3 21:08:22 Removing intermediate container daf64c4c1ca3 21:08:22 ---> bca1458548bd 21:08:22 Step 24/25 : LABEL git_sha=fcadae0c5298cdff3158e953057ed0b44a6b13a7 21:08:22 ---> Running in 6b492cd156a6 21:08:22 Removing intermediate container 6b492cd156a6 21:08:22 ---> e957d11fdd7b 21:08:22 Step 25/25 : LABEL version=0.0.0 21:08:22 ---> Running in db8e51532809 21:08:22 Removing intermediate container db8e51532809 21:08:22 ---> b5e4a94733b9 21:08:22 [Warning] One or more build-args [ARCH] were not consumed 21:08:22 Successfully built b5e4a94733b9 21:08:22 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:24 21:08:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:25 arm64: Pulling from edgex-lftools-log-publisher 21:08:25 8998bd30e6a1: Pulling fs layer 21:08:25 04944245beec: Pulling fs layer 21:08:25 699f458cf7ca: Pulling fs layer 21:08:25 765212b225bb: Pulling fs layer 21:08:25 f23df028b6ca: Pulling fs layer 21:08:25 d65c8cfc05b1: Pulling fs layer 21:08:25 2437ff75d9bd: Pulling fs layer 21:08:25 f23df028b6ca: Waiting 21:08:25 d65c8cfc05b1: Waiting 21:08:25 2437ff75d9bd: Waiting 21:08:25 765212b225bb: Waiting 21:08:25 04944245beec: Verifying Checksum 21:08:25 04944245beec: Download complete 21:08:25 765212b225bb: Verifying Checksum 21:08:25 765212b225bb: Download complete 21:08:25 f23df028b6ca: Verifying Checksum 21:08:25 f23df028b6ca: Download complete 21:08:25 d65c8cfc05b1: Verifying Checksum 21:08:25 d65c8cfc05b1: Download complete 21:08:25 699f458cf7ca: Verifying Checksum 21:08:25 699f458cf7ca: Download complete 21:08:26 8998bd30e6a1: Verifying Checksum 21:08:26 8998bd30e6a1: Download complete 21:08:28 2437ff75d9bd: Verifying Checksum 21:08:28 2437ff75d9bd: Download complete 21:08:30 8998bd30e6a1: Pull complete 21:08:30 04944245beec: Pull complete 21:08:31 699f458cf7ca: Pull complete 21:08:31 765212b225bb: Pull complete 21:08:32 f23df028b6ca: Pull complete 21:08:32 d65c8cfc05b1: Pull complete 21:08:47 2437ff75d9bd: Pull complete 21:08:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-12623 does not seem to be running inside a container 21:08:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:08:50 $ docker top b72eb09f149dc112e60357ce22c2bd7da54df78f90353dfe1d2ed239ee24a451 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:51 ---> job-cost.sh 21:08:51 lf-activate-venv: SKIPPING 21:08:51 INFO: No Stack... 21:08:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:52 INFO: Archiving Costs [Pipeline] sh 21:08:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:08:53 + cut -d, -f6 [Pipeline] lock 21:08:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] 21:08:53 Resource [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] did not exist. Created. 21:08:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:54 /w/workspace/device-rest-go/1@tmp/durable-4a5969fa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:54 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:54 Warning: overwriting stash ‘stack-cost’ 21:08:55 Stashed 1 file(s) [Pipeline] } 21:08:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-306-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:55 $ docker stop --time=1 b72eb09f149dc112e60357ce22c2bd7da54df78f90353dfe1d2ed239ee24a451 21:08:56 $ docker rm -f --volumes b72eb09f149dc112e60357ce22c2bd7da54df78f90353dfe1d2ed239ee24a451 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:08:57 provisioning config files... 21:08:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/config14352183835361538040tmp [Pipeline] { [Pipeline] sh 21:08:57 + set +x 21:08:57 + curl -s https://codecov.io/bash 21:08:57 + bash -s -- 21:08:57 21:08:57 _____ _ 21:08:57 / ____| | | 21:08:57 | | ___ __| | ___ ___ _____ __ 21:08:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:57 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:57 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:57 Bash-1.0.6 21:08:57 21:08:57 21:08:57 ==> git version 2.25.1 found 21:08:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:08:57 Release-Date: 2020-01-08 21:08:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:08:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:57 ==> Jenkins CI detected. 21:08:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-306 21:08:57 project root: . 21:08:57 --> token set from env 21:08:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:57 ==> Running gcov in . (disable via -X gcov) 21:08:57 ==> Python coveragepy not found 21:08:57 ==> Searching for coverage reports in: 21:08:57 + . 21:08:58 -> Found 1 reports 21:08:58 ==> Detecting git/mercurial file structure 21:08:58 ==> Reading reports 21:08:58 + ./coverage.out bytes=14663 21:08:58 ==> Appending adjustments 21:08:58 https://docs.codecov.io/docs/fixing-reports 21:08:58 + Found adjustments 21:08:58 ==> Gzipping contents 21:08:58 4.0K /tmp/codecov.c8XWHM.gz 21:08:58 ==> Uploading reports 21:08:58 url: https://codecov.io 21:08:58 query: branch=PR-306&commit=fcadae0c5298cdff3158e953057ed0b44a6b13a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=306&job=&cmd_args= 21:08:58 -> Pinging Codecov 21:08:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-306&commit=fcadae0c5298cdff3158e953057ed0b44a6b13a7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-306%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=306&job=&cmd_args= 21:08:58 -> Uploading to 21:08:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/4E5D53B4F1F92C436F7061BF334D961C/fcadae0c5298cdff3158e953057ed0b44a6b13a7/8b0d9170-bba0-434c-b43c-16522280d14a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T210858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9dfae95b2da6153d9715ce0920b478ddf2ea6b60e7f8e6969e6a58d26b8f71b8 21:08:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:58 Dload Upload Total Spent Left Speed 21:08:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10635 --:--:-- --:--:-- --:--:-- 10635 21:08:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fcadae0c5298cdff3158e953057ed0b44a6b13a7 [Pipeline] } 21:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:09:00 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-306/archives ] 21:09:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-306/archives 21:09:00 total 16 21:09:00 drwxr-xr-x 3 root root 4096 May 3 21:00 . 21:09:00 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:00 .. 21:09:00 drwxr-xr-x 2 root root 4096 May 3 21:00 cost 21:09:00 -rw-r--r-- 1 root root 86 May 3 21:00 cost.csv 21:09:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-306/archives 21:09:00 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-306/archives 21:09:00 total 16 21:09:00 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:00 . 21:09:00 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:00 .. 21:09:00 drwxr-xr-x 2 jenkins jenkins 4096 May 3 21:00 cost 21:09:00 -rw-r--r-- 1 jenkins jenkins 86 May 3 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:01 ---> package-listing.sh 21:09:01 ++ facter osfamily 21:09:01 ++ tr '[:upper:]' '[:lower:]' 21:09:02 + OS_FAMILY=debian 21:09:02 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-306 21:09:02 + START_PACKAGES=/tmp/packages_start.txt 21:09:02 + END_PACKAGES=/tmp/packages_end.txt 21:09:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:02 + PACKAGES=/tmp/packages_start.txt 21:09:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-306 ']' 21:09:02 + PACKAGES=/tmp/packages_end.txt 21:09:02 + case "${OS_FAMILY}" in 21:09:02 + dpkg -l 21:09:02 + grep '^ii' 21:09:02 + '[' -f /tmp/packages_start.txt ']' 21:09:02 + '[' -f /tmp/packages_end.txt ']' 21:09:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-306 ']' 21:09:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-306/archives/ 21:09:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-306/archives/ [Pipeline] echo 21:09:02 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-306/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:03 prd-ubuntu20.04-docker-8c-8g-12622 does not seem to be running inside a container 21:09:03 $ 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-306/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-306 -v /w/workspace/gexfoundry_device-rest-go_PR-306:/w/workspace/gexfoundry_device-rest-go_PR-306:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-306@tmp:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:03 $ docker top 86a3873e8f4c060d528e506ebe5ecaaf538e17138b0656eb8be37425f152357e -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:03 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:04 + ls /var/log/sa-host 21:09:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:04 provisioning config files... 21:09:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-306@tmp/config17148443045180043249tmp [Pipeline] { [Pipeline] echo 21:09:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:04 ---> create-netrc.sh [Pipeline] } 21:09:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:05 ---> python-tools-install.sh [Pipeline] echo 21:09:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:05 ---> sudo-logs.sh 21:09:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:09:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:06 ---> job-cost.sh 21:09:06 lf-activate-venv: SKIPPING 21:09:06 DEBUG: total: 0.2199999988079071 21:09:06 INFO: Retrieving Stack Cost... 21:09:06 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:06 INFO: Archiving Costs [Pipeline] echo 21:09:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:07 ---> logs-deploy.sh 21:09:07 lf-activate-venv: SKIPPING 21:09:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-306/1 21:09:07 INFO: archiving workspace using pattern(s): 21:09:08 Archives upload complete. 21:09:08 INFO: archiving logs to Nexus