Pull request #353 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-rest-go Obtained Jenkinsfile from 311548eee95374f1acb747549a94cfa4ea8b9881+8f56d306fd858ae3d3367190115f2cbc940f5ff8 (6c56ad10c24029b26982616ab6110f8f30b2e4e1) 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-ssh11282156990416238568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3382454501503960547.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-353/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-353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1107266578858145193.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-353/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18394751908666501566.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh17642799450208373826.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-353/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-353/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6014778453775970385.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9943 in /w/workspace/gexfoundry_device-rest-go_PR-353 [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-353 # 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 > 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/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f56d306fd858ae3d3367190115f2cbc940f5ff8 into PR head commit 311548eee95374f1acb747549a94cfa4ea8b9881 Merge succeeded, producing 311548eee95374f1acb747549a94cfa4ea8b9881 Checking out Revision 311548eee95374f1acb747549a94cfa4ea8b9881 (PR-353) > git config core.sparsecheckout # timeout=10 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # 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 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 Commit message: "feat!: Remove snap packaging" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:48:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:48:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:48:40 ========================================================= 15:48:40 EdgeX Global Pipelines Version Info 15:48:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:48:41 ------------------- 15:48:41 stable info: 15:48:41 ------------------- 15:48:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:48:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:48:41 Message: update stable to v1.0.254 15:48:41 ------------------- 15:48:41 experimental info: 15:48:41 ------------------- 15:48:41 Commited By: **** collab-it+edgex@linuxfoundation.org 15:48:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:48:41 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:48:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-353 [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-353 [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-353 [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 311548e [Pipeline] echo 15:48:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:43 provisioning config files... 15:48:43 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config5486494346747461860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:44 ---> docker-login.sh 15:48:44 nexus3.edgexfoundry.org:10001 15:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:44 Configure a credential helper to remove this warning. See 15:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:44 15:48:44 Login Succeeded 15:48:44 nexus3.edgexfoundry.org:10002 15:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:44 Configure a credential helper to remove this warning. See 15:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:44 15:48:44 Login Succeeded 15:48:44 nexus3.edgexfoundry.org:10003 15:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:44 Configure a credential helper to remove this warning. See 15:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:44 15:48:44 Login Succeeded 15:48:44 nexus3.edgexfoundry.org:10004 15:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:44 Configure a credential helper to remove this warning. See 15:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:44 15:48:44 Login Succeeded 15:48:44 docker.io 15:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:44 Configure a credential helper to remove this warning. See 15:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:44 15:48:44 Login Succeeded 15:48:44 ---> docker-login.sh ends [Pipeline] } 15:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:48:45 + git rev-list -1 --merges 311548eee95374f1acb747549a94cfa4ea8b9881~1..311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo 15:48:45 -----------> git rev-list -1 --merges 311548eee95374f1acb747549a94cfa4ea8b9881~1..311548eee95374f1acb747549a94cfa4ea8b9881 311548eee95374f1acb747549a94cfa4ea8b9881 [false] [Pipeline] sh 15:48:46 + git log --format=format:%s -1 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo 15:48:46 ========================================================= 15:48:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:48:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:46 + git log --format=format:%s -1 311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] echo 15:48:46 [semverPrep] GIT_COMMIT: 311548eee95374f1acb747549a94cfa4ea8b9881, Commit Message: feat!: Remove snap packaging [Pipeline] echo 15:48:46 [semverPrep] This is not a build commit. [Pipeline] sh 15:48:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:48:46 + grep -v github /etc/ssh/ssh_known_hosts 15:48:46 + [ -e /tmp/ssh_known_hosts ] 15:48:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:48:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:48:46 + sudo tee -a /etc/ssh/ssh_known_hosts 15:48:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:47 15:48:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:47 0.1.4: Pulling from edgex-devops/py-git-semver 15:48:47 b85a868b505f: Pulling fs layer 15:48:47 e2be974225ed: Pulling fs layer 15:48:47 339a4e72a1f5: Pulling fs layer 15:48:47 988bab9f4d93: Pulling fs layer 15:48:47 1469e6f7b9e6: Pulling fs layer 15:48:47 eaf3925da568: Pulling fs layer 15:48:47 bab4dde63d76: Pulling fs layer 15:48:47 bde34c3a00c8: Pulling fs layer 15:48:47 b352a97aabf1: Pulling fs layer 15:48:47 4872d77fe225: Pulling fs layer 15:48:47 5851b861e8e6: Pulling fs layer 15:48:47 988bab9f4d93: Waiting 15:48:47 1469e6f7b9e6: Waiting 15:48:47 eaf3925da568: Waiting 15:48:47 b352a97aabf1: Waiting 15:48:47 5851b861e8e6: Waiting 15:48:47 4872d77fe225: Waiting 15:48:47 bab4dde63d76: Waiting 15:48:47 bde34c3a00c8: Waiting 15:48:47 e2be974225ed: Download complete 15:48:47 988bab9f4d93: Download complete 15:48:47 1469e6f7b9e6: Verifying Checksum 15:48:47 1469e6f7b9e6: Download complete 15:48:47 eaf3925da568: Verifying Checksum 15:48:47 eaf3925da568: Download complete 15:48:48 339a4e72a1f5: Verifying Checksum 15:48:48 339a4e72a1f5: Download complete 15:48:48 bde34c3a00c8: Verifying Checksum 15:48:48 bde34c3a00c8: Download complete 15:48:48 b352a97aabf1: Download complete 15:48:48 4872d77fe225: Verifying Checksum 15:48:48 4872d77fe225: Download complete 15:48:48 5851b861e8e6: Download complete 15:48:48 b85a868b505f: Verifying Checksum 15:48:48 b85a868b505f: Download complete 15:48:48 bab4dde63d76: Verifying Checksum 15:48:48 bab4dde63d76: Download complete 15:48:49 b85a868b505f: Pull complete 15:48:49 e2be974225ed: Pull complete 15:48:50 339a4e72a1f5: Pull complete 15:48:50 988bab9f4d93: Pull complete 15:48:50 1469e6f7b9e6: Pull complete 15:48:50 eaf3925da568: Pull complete 15:48:52 bab4dde63d76: Pull complete 15:48:52 bde34c3a00c8: Pull complete 15:48:52 b352a97aabf1: Pull complete 15:48:52 4872d77fe225: Pull complete 15:48:52 5851b861e8e6: Pull complete 15:48:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:48:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:48:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:48:52 prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container 15:48:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:48:56 $ docker top fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd -eo pid,comm 15:48:56 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). 15:48:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:48:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:56 [ssh-agent] Looking for ssh-agent implementation... 15:48:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:56 $ docker exec fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent 15:48:56 SSH_AUTH_SOCK=/tmp/ssh-ltBINIRtIZjP/agent.32 15:48:56 SSH_AGENT_PID=38 15:48:56 Running ssh-add (command line suppressed) 15:48:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_12321074065808995449.key (/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_12321074065808995449.key) 15:48:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:57 + git tag --points-at HEAD [Pipeline] } 15:48:57 $ docker exec --env ******** --env ******** fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent -k 15:48:57 unset SSH_AUTH_SOCK; 15:48:57 unset SSH_AGENT_PID; 15:48:57 echo Agent pid 38 killed; 15:48:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:48:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:48:57 [ssh-agent] Looking for ssh-agent implementation... 15:48:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:48:57 $ docker exec fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent 15:48:57 SSH_AUTH_SOCK=/tmp/ssh-BlfL5a184ZTA/agent.70 15:48:57 SSH_AGENT_PID=76 15:48:57 Running ssh-add (command line suppressed) 15:48:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_16661806956573258564.key (/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/private_key_16661806956573258564.key) 15:48:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:48:58 + git semver init 15:48:58 2023-10-24 15:48:58,505 [run_init] DEBUG init version:0.0.0 force:False 15:48:58 2023-10-24 15:48:58,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver 15:48:58 2023-10-24 15:48:58,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-353/.semver 15:48:58 2023-10-24 15:48:58,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-353/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353, universal_newlines=False, shell=None, istream=None) 15:48:59 2023-10-24 15:48:59,652 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-353/.git/info/exclude 15:48:59 2023-10-24 15:48:59,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 with force:False 15:48:59 2023-10-24 15:48:59,653 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 15:48:59 2023-10-24 15:48:59,657 [execute] INFO git cat-file --batch-check 15:48:59 2023-10-24 15:48:59,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) 15:48:59 2023-10-24 15:48:59,664 [execute] INFO git cat-file --batch 15:48:59 2023-10-24 15:48:59,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-353/.semver, universal_newlines=False, shell=None, istream=) 15:48:59 2023-10-24 15:48:59,670 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-353/.semver/PR-353 15:48:59 0.0.0 [Pipeline] } 15:48:59 $ docker exec --env ******** --env ******** fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd ssh-agent -k 15:49:00 unset SSH_AUTH_SOCK; 15:49:00 unset SSH_AGENT_PID; 15:49:00 echo Agent pid 76 killed; 15:49:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:00 + git semver [Pipeline] } 15:49:00 $ docker stop --time=1 fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd 15:49:02 $ docker rm -f --volumes fe1865c4dbf7fced50f83ce1c65b7274b63186d51b39c25aa9013621e3be4cbd [Pipeline] // withDockerContainer [Pipeline] sh 15:49:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:49:02 Stashed 1 file(s) [Pipeline] echo 15:49:02 [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 15:49:03 provisioning config files... 15:49:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config352583538187247449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:03 ---> docker-login.sh 15:49:03 nexus3.edgexfoundry.org:10001 15:49:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:03 Configure a credential helper to remove this warning. See 15:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:03 15:49:03 Login Succeeded 15:49:03 nexus3.edgexfoundry.org:10002 15:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:04 Configure a credential helper to remove this warning. See 15:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:04 15:49:04 Login Succeeded 15:49:04 nexus3.edgexfoundry.org:10003 15:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:04 Configure a credential helper to remove this warning. See 15:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:04 15:49:04 Login Succeeded 15:49:04 nexus3.edgexfoundry.org:10004 15:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:04 Configure a credential helper to remove this warning. See 15:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:04 15:49:04 Login Succeeded 15:49:04 docker.io 15:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:04 Configure a credential helper to remove this warning. See 15:49:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:04 15:49:04 Login Succeeded 15:49:04 ---> docker-login.sh ends [Pipeline] } 15:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:04 ========================================================= 15:49:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:49:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:49:05 Sending build context to Docker daemon 10.92MB 15:49:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:49:05 Step 2/12 : FROM ${BASE} AS builder 15:49:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:05 7264a8db6415: Pulling fs layer 15:49:05 c4d48a809fc2: Pulling fs layer 15:49:05 4f1c88b9dad5: Pulling fs layer 15:49:05 ad3a456e5733: Pulling fs layer 15:49:05 33e27b845d1e: Pulling fs layer 15:49:05 c68163c4e522: Pulling fs layer 15:49:05 50da416c3ac9: Pulling fs layer 15:49:05 23d2d4c4bb30: Pulling fs layer 15:49:05 ad3a456e5733: Waiting 15:49:05 33e27b845d1e: Waiting 15:49:05 c68163c4e522: Waiting 15:49:05 50da416c3ac9: Waiting 15:49:05 23d2d4c4bb30: Waiting 15:49:05 c4d48a809fc2: Verifying Checksum 15:49:05 c4d48a809fc2: Download complete 15:49:05 ad3a456e5733: Download complete 15:49:05 33e27b845d1e: Verifying Checksum 15:49:05 33e27b845d1e: Download complete 15:49:05 7264a8db6415: Verifying Checksum 15:49:05 7264a8db6415: Download complete 15:49:05 c68163c4e522: Verifying Checksum 15:49:05 c68163c4e522: Download complete 15:49:05 7264a8db6415: Pull complete 15:49:05 c4d48a809fc2: Pull complete 15:49:05 23d2d4c4bb30: Verifying Checksum 15:49:05 23d2d4c4bb30: Download complete 15:49:05 4f1c88b9dad5: Verifying Checksum 15:49:05 4f1c88b9dad5: Download complete 15:49:06 50da416c3ac9: Verifying Checksum 15:49:06 50da416c3ac9: Download complete 15:49:09 4f1c88b9dad5: Pull complete 15:49:09 ad3a456e5733: Pull complete 15:49:09 33e27b845d1e: Pull complete 15:49:09 c68163c4e522: Pull complete 15:49:12 50da416c3ac9: Pull complete 15:49:12 23d2d4c4bb30: Pull complete 15:49:12 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:49:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:49:12 ---> 0786185ac409 15:49:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:49:18 Still waiting to schedule task 15:49:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:49:18 ---> Running in 8fff520d6a53 15:49:18 Removing intermediate container 8fff520d6a53 15:49:18 ---> c389fab8950f 15:49:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:49:19 ---> Running in 4e9c9529f123 15:49:19 Removing intermediate container 4e9c9529f123 15:49:19 ---> 8a096eb37a00 15:49:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:49:19 ---> Running in 6fbcbe4c597b 15:49:19 Removing intermediate container 6fbcbe4c597b 15:49:19 ---> 774c12d28bff 15:49:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:49:19 ---> Running in 60e2f9374640 15:49:19 Removing intermediate container 60e2f9374640 15:49:19 ---> c76118610561 15:49:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:49:19 ---> Running in cb84c5ba75cf 15:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:49:20 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:49:20 (2/4) Installing libedit (20221030.3.1-r1) 15:49:20 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:49:20 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:49:20 Executing busybox-1.36.1-r2.trigger 15:49:20 OK: 268 MiB in 56 packages 15:49:20 Removing intermediate container cb84c5ba75cf 15:49:20 ---> 09511a722d42 15:49:20 Step 8/12 : WORKDIR /device-rest-go 15:49:20 ---> Running in 24f5cfec7e20 15:49:20 Removing intermediate container 24f5cfec7e20 15:49:20 ---> c5d9a3873f36 15:49:20 Step 9/12 : COPY go.mod vendor* ./ 15:49:20 ---> 5e3c9f88d8bb 15:49:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:21 ---> Running in 9828159657d7 15:50:17 Removing intermediate container 9828159657d7 15:50:17 ---> 647f369cfc71 15:50:17 Step 11/12 : COPY . . 15:50:17 ---> b9922cb83289 15:50:17 Step 12/12 : RUN $MAKE 15:50:17 ---> Running in 9abc957c1e38 15:50:17 noop 15:50:17 Removing intermediate container 9abc957c1e38 15:50:17 ---> c652ea92d503 15:50:17 Successfully built c652ea92d503 15:50:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:18 + docker inspect -f . ci-base-image-x86_64 15:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:18 prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container 15:50:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:50:18 $ docker top 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:18 + go version 15:50:18 go version go1.21.0 linux/amd64 [Pipeline] } 15:50:18 $ docker stop --time=1 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 15:50:20 $ docker rm -f --volumes 3b68099a715d3c069bf6f56829a10a51b9622a8c721ca886d4078ca069f3bc89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:20 + docker inspect -f . ci-base-image-x86_64 15:50:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:21 prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container 15:50:21 $ 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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:50:21 $ docker top d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-353 [Pipeline] fileExists [Pipeline] sh 15:50:22 + make test 15:50:22 go test ./... -coverprofile=coverage.out ./... 15:50:23 ? github.com/edgexfoundry/device-rest-go [no test files] 15:50:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:50:33 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 15:50:41 go vet ./... 15:50:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:50:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:50:44 ./bin/test-attribution-txt.sh [Pipeline] echo 15:50:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:50:44 $ docker stop --time=1 d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 15:50:49 $ docker rm -f --volumes d6ebcde2ce95e78ad71be73ce187f57051a9332a93763ba80f767a6914a01741 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:50:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:50:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:50:50 + ls -al . 15:50:50 total 184 15:50:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:50 . 15:50:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:48 .. 15:50:50 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 15:48 .dockerignore 15:50:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:50 .git 15:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:48 .github 15:50:50 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 15:48 .gitignore 15:50:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:48 .golangci.yml 15:50:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:48 .semver 15:50:50 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 15:48 Attribution.txt 15:50:50 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 15:48 CHANGELOG.md 15:50:50 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 15:48 Dockerfile 15:50:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:48 GOVERNANCE.md 15:50:50 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:48 Jenkinsfile 15:50:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:48 LICENSE 15:50:50 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 15:48 Makefile 15:50:50 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:48 OWNERS.md 15:50:50 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 15:48 README.md 15:50:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:49 VERSION 15:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:48 bin 15:50:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:48 cmd 15:50:50 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 15:50 coverage.out 15:50:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:48 driver 15:50:50 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 15:48 go.mod 15:50:50 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 15:48 go.sum 15:50:50 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:51 + 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=311548eee95374f1acb747549a94cfa4ea8b9881 --label arch=amd64 --label version=0.0.0 . 15:50:51 Sending build context to Docker daemon 10.94MB 15:50:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:50:51 Step 2/25 : FROM ${BASE} AS builder 15:50:51 ---> c652ea92d503 15:50:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:50:51 ---> Running in 1bbf68458620 15:50:51 Removing intermediate container 1bbf68458620 15:50:51 ---> d2b052b05758 15:50:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:50:51 ---> Running in 0f43d75a9f42 15:50:51 Removing intermediate container 0f43d75a9f42 15:50:51 ---> f6419ed80787 15:50:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:50:51 ---> Running in 9df6a8500589 15:50:51 Removing intermediate container 9df6a8500589 15:50:51 ---> c0e653b4afd8 15:50:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:50:51 ---> Running in 0ad65dc558ac 15:50:51 Removing intermediate container 0ad65dc558ac 15:50:51 ---> b3e952524887 15:50:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:51 ---> Running in a3a0ee77b625 15:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:50:52 OK: 268 MiB in 56 packages 15:50:52 Removing intermediate container a3a0ee77b625 15:50:52 ---> cebb1b239a12 15:50:52 Step 8/25 : WORKDIR /device-rest-go 15:50:52 ---> Running in 3df2a2794f40 15:50:52 Removing intermediate container 3df2a2794f40 15:50:52 ---> 1fb1f101eab5 15:50:52 Step 9/25 : COPY go.mod vendor* ./ 15:50:52 ---> 76a6216095df 15:50:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:52 ---> Running in 1dc7e2b62c65 15:50:53 Removing intermediate container 1dc7e2b62c65 15:50:53 ---> 947582269bd5 15:50:53 Step 11/25 : COPY . . 15:50:54 ---> 492141068c56 15:50:54 Step 12/25 : RUN $MAKE 15:50:54 ---> Running in ca79f46a97da 15:50:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:51:16 Removing intermediate container ca79f46a97da 15:51:16 ---> 7453fdfc158c 15:51:16 Step 13/25 : FROM alpine:3.18 15:51:16 3.18: Pulling from library/alpine 15:51:16 96526aa774ef: Pulling fs layer 15:51:17 96526aa774ef: Verifying Checksum 15:51:17 96526aa774ef: Download complete 15:51:17 96526aa774ef: Pull complete 15:51:17 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:51:17 Status: Downloaded newer image for alpine:3.18 15:51:17 ---> 8ca4688f4f35 15:51:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:51:17 ---> Running in 41ab8ca7fa14 15:51:17 Removing intermediate container 41ab8ca7fa14 15:51:17 ---> 306a63f8f86a 15:51:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:51:17 ---> Running in f19f5cfc1385 15:51:17 Removing intermediate container f19f5cfc1385 15:51:17 ---> 3bd047004d9f 15:51:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:51:17 ---> Running in 515d8fa6a9ce 15:51:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:51:18 (1/1) Installing dumb-init (1.2.5-r2) 15:51:18 Executing busybox-1.36.1-r2.trigger 15:51:18 OK: 7 MiB in 16 packages 15:51:18 Removing intermediate container 515d8fa6a9ce 15:51:18 ---> 07151b9b369b 15:51:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:51:19 ---> 4befb7c3728d 15:51:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:51:19 ---> b98b3c2e14e8 15:51:19 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:51:19 ---> dfd551493529 15:51:19 Step 20/25 : EXPOSE 59986 15:51:19 ---> Running in 871f79c65a3e 15:51:20 Removing intermediate container 871f79c65a3e 15:51:20 ---> 731fb90ea5bf 15:51:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:51:20 ---> Running in ddc2157879c0 15:51:20 Removing intermediate container ddc2157879c0 15:51:20 ---> 880af0061447 15:51:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:51:20 ---> Running in 9c6bfc7bf7de 15:51:20 Removing intermediate container 9c6bfc7bf7de 15:51:20 ---> 33cbc2082fc4 15:51:20 Step 23/25 : LABEL arch=amd64 15:51:20 ---> Running in c626618d873f 15:51:20 Removing intermediate container c626618d873f 15:51:20 ---> 3f18a45bcf11 15:51:20 Step 24/25 : LABEL git_sha=311548eee95374f1acb747549a94cfa4ea8b9881 15:51:20 ---> Running in fdbd4393ec5d 15:51:20 Removing intermediate container fdbd4393ec5d 15:51:20 ---> e7221cf84bd4 15:51:20 Step 25/25 : LABEL version=0.0.0 15:51:20 ---> Running in dc545d0f53ac 15:51:20 Removing intermediate container dc545d0f53ac 15:51:20 ---> 578c0e47c5ba 15:51:20 [Warning] One or more build-args [ARCH] were not consumed 15:51:20 Successfully built 578c0e47c5ba 15:51:20 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 15:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:21 15:51:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:21 latest: Pulling from edgex-lftools-log-publisher 15:51:21 5eb5b503b376: Pulling fs layer 15:51:21 5c69ac0246d0: Pulling fs layer 15:51:21 ec43610c2a17: Pulling fs layer 15:51:21 3a2ae6a8a46f: Pulling fs layer 15:51:21 33b1e0a273af: Pulling fs layer 15:51:21 5d3b04190fa2: Pulling fs layer 15:51:21 2f39f015ded8: Pulling fs layer 15:51:21 33b1e0a273af: Waiting 15:51:21 3a2ae6a8a46f: Waiting 15:51:21 5d3b04190fa2: Waiting 15:51:21 5c69ac0246d0: Download complete 15:51:21 3a2ae6a8a46f: Download complete 15:51:21 33b1e0a273af: Verifying Checksum 15:51:21 33b1e0a273af: Download complete 15:51:21 ec43610c2a17: Verifying Checksum 15:51:21 ec43610c2a17: Download complete 15:51:21 5d3b04190fa2: Verifying Checksum 15:51:21 5d3b04190fa2: Download complete 15:51:21 5eb5b503b376: Verifying Checksum 15:51:21 5eb5b503b376: Download complete 15:51:22 2f39f015ded8: Verifying Checksum 15:51:22 5eb5b503b376: Pull complete 15:51:23 5c69ac0246d0: Pull complete 15:51:23 ec43610c2a17: Pull complete 15:51:23 3a2ae6a8a46f: Pull complete 15:51:23 33b1e0a273af: Pull complete 15:51:23 5d3b04190fa2: Pull complete 15:51:28 2f39f015ded8: Pull complete 15:51:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:51:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:51:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:28 prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container 15:51:28 $ 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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:51:34 $ docker top 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:51:34 ---> job-cost.sh 15:51:34 lf-activate-venv: SKIPPING 15:51:34 INFO: No Stack... 15:51:34 INFO: Retrieving Pricing Info for: v3-standard-8 15:51:35 INFO: Archiving Costs [Pipeline] sh 15:51:35 + cat /w/workspace/gexfoundry_device-rest-go_PR-353/archives/cost.csv 15:51:35 + cut -d, -f6 [Pipeline] lock 15:51:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] 15:51:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] did not exist. Created. 15:51:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:51:35 + echo total: 0.2199999988079071 [Pipeline] stash 15:51:35 Stashed 1 file(s) [Pipeline] } 15:51:35 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:51:36 $ docker stop --time=1 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd 15:51:37 $ docker rm -f --volumes 32182f6ddabc077686c25b3b3c18869054349fdfed252a21257d5616f6fa23dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9946 in /w/workspace/gexfoundry_device-rest-go_PR-353 [Pipeline] { [Pipeline] ws 15:52:07 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 15:52:07 The recommended git tool is: git 15:52:13 using credential edgex-jenkins-ssh 15:52:13 Cloning the remote Git repository 15:52:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:52:13 > git init /w/workspace/device-rest-go/1 # timeout=10 15:52:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:52:13 > git --version # timeout=10 15:52:13 > git --version # 'git version 2.25.1' 15:52:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:52:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:52:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:52:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/353/head:refs/remotes/origin/PR-353 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:52:27 Merging remotes/origin/main commit 8f56d306fd858ae3d3367190115f2cbc940f5ff8 into PR head commit 311548eee95374f1acb747549a94cfa4ea8b9881 15:52:28 Merge succeeded, producing 311548eee95374f1acb747549a94cfa4ea8b9881 15:52:28 Checking out Revision 311548eee95374f1acb747549a94cfa4ea8b9881 (PR-353) 15:52:27 > git config core.sparsecheckout # timeout=10 15:52:28 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 15:52:28 > git remote # timeout=10 15:52:28 > git config --get remote.origin.url # timeout=10 15:52:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:28 > git merge 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 15:52:28 > git rev-parse HEAD^{commit} # timeout=10 15:52:28 > git config core.sparsecheckout # timeout=10 15:52:28 > git checkout -f 311548eee95374f1acb747549a94cfa4ea8b9881 # timeout=10 15:52:31 Commit message: "feat!: Remove snap packaging" 15:52:31 > git --version # timeout=10 15:52:31 > git --version # 'git version 2.25.1' 15:52:31 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:33 Dload Upload Total Spent Left Speed 15:52:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68553 0 --:--:-- --:--:-- --:--:-- 68924 [Pipeline] sh 15:52:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:34 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 15:52:34 15:52:34 { 15:52:34 "registry-mirrors": [ 15:52:34 "https://nexus3.edgexfoundry.org:10001" 15:52:34 ], 15:52:34 "bip": "10.250.0.254/24", 15:52:34 "hosts": [ 15:52:34 "tcp://0.0.0.0:5555", 15:52:34 "unix:///var/run/docker.sock" 15:52:34 ], 15:52:34 "mtu": 1458, 15:52:34 "selinux-enabled": true, 15:52:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:34 } [Pipeline] sh 15:52:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:53 provisioning config files... 15:52:53 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10767432547899090119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:53 ---> docker-login.sh 15:52:53 nexus3.edgexfoundry.org:10001 15:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:54 Configure a credential helper to remove this warning. See 15:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:54 15:52:54 Login Succeeded 15:52:54 nexus3.edgexfoundry.org:10002 15:52:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:54 Configure a credential helper to remove this warning. See 15:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:54 15:52:54 Login Succeeded 15:52:54 nexus3.edgexfoundry.org:10003 15:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:55 Configure a credential helper to remove this warning. See 15:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:55 15:52:55 Login Succeeded 15:52:55 nexus3.edgexfoundry.org:10004 15:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:55 Configure a credential helper to remove this warning. See 15:52:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:55 15:52:55 Login Succeeded 15:52:55 docker.io 15:52:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:56 Configure a credential helper to remove this warning. See 15:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:56 15:52:56 Login Succeeded 15:52:56 ---> docker-login.sh ends [Pipeline] } 15:52:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:57 ========================================================= 15:52:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:52:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:52:57 Sending build context to Docker daemon 122.4kB 15:52:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:52:57 Step 2/12 : FROM ${BASE} AS builder 15:52:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:58 9fda8d8052c6: Pulling fs layer 15:52:58 5d54e960e981: Pulling fs layer 15:52:58 c4a7e357bf2a: Pulling fs layer 15:52:58 f0e02332f6b5: Pulling fs layer 15:52:58 cefa15bbcfad: Pulling fs layer 15:52:58 17808c966233: Pulling fs layer 15:52:58 f4c1fc716caa: Pulling fs layer 15:52:58 f0e02332f6b5: Waiting 15:52:58 cefa15bbcfad: Waiting 15:52:58 17808c966233: Waiting 15:52:58 5d54e960e981: Verifying Checksum 15:52:58 5d54e960e981: Download complete 15:52:58 f0e02332f6b5: Download complete 15:52:58 cefa15bbcfad: Verifying Checksum 15:52:58 cefa15bbcfad: Download complete 15:52:58 9fda8d8052c6: Download complete 15:52:58 f4c1fc716caa: Verifying Checksum 15:52:58 f4c1fc716caa: Download complete 15:52:59 9fda8d8052c6: Pull complete 15:52:59 5d54e960e981: Pull complete 15:53:00 c4a7e357bf2a: Download complete 15:53:01 17808c966233: Verifying Checksum 15:53:01 17808c966233: Download complete 15:53:13 c4a7e357bf2a: Pull complete 15:53:13 f0e02332f6b5: Pull complete 15:53:13 cefa15bbcfad: Pull complete 15:53:22 17808c966233: Pull complete 15:53:25 f4c1fc716caa: Pull complete 15:53:25 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:53:25 ---> ea914061e18c 15:53:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:53:26 ---> Running in ea07f0292347 15:53:27 Removing intermediate container ea07f0292347 15:53:27 ---> 4c230899a3d6 15:53:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:27 ---> Running in 3ad1790bc0cf 15:53:27 Removing intermediate container 3ad1790bc0cf 15:53:27 ---> e9af3d107ae9 15:53:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:53:28 ---> Running in 7d3aa8854477 15:53:28 Removing intermediate container 7d3aa8854477 15:53:28 ---> 782561916605 15:53:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:53:28 ---> Running in da3d05609f6f 15:53:28 Removing intermediate container da3d05609f6f 15:53:28 ---> e387733dbd9c 15:53:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:28 ---> Running in b37f34a1593e 15:53:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:53:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:53:31 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:53:31 (2/4) Installing libedit (20221030.3.1-r1) 15:53:31 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:53:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:53:32 Executing busybox-1.36.1-r2.trigger 15:53:32 OK: 270 MiB in 56 packages 15:53:33 Removing intermediate container b37f34a1593e 15:53:33 ---> 6c05025bf95d 15:53:33 Step 8/12 : WORKDIR /device-rest-go 15:53:33 ---> Running in c30c49e9bde6 15:53:33 Removing intermediate container c30c49e9bde6 15:53:33 ---> a5a5fcbfdbc0 15:53:33 Step 9/12 : COPY go.mod vendor* ./ 15:53:34 ---> 4745de465aad 15:53:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:34 ---> Running in 390a7a0aa9e0 15:55:11 Removing intermediate container 390a7a0aa9e0 15:55:11 ---> 79cc8e463efb 15:55:11 Step 11/12 : COPY . . 15:55:11 ---> b79010032c62 15:55:11 Step 12/12 : RUN $MAKE 15:55:11 ---> Running in e90222128e19 15:55:11 noop 15:55:12 Removing intermediate container e90222128e19 15:55:12 ---> f83274d27e14 15:55:12 Successfully built f83274d27e14 15:55:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:12 + docker inspect -f . ci-base-image-arm64 15:55:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:13 prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container 15:55:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:55:14 $ docker top a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:15 + go version 15:55:15 go version go1.21.0 linux/arm64 [Pipeline] } 15:55:15 $ docker stop --time=1 a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 15:55:17 $ docker rm -f --volumes a2bc540efab2303052a4a215d886e106bda39fa41bc6e3182a2f1f0ac89d7b46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:18 + docker inspect -f . ci-base-image-arm64 15:55:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:18 prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container 15:55:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:55:19 $ docker top 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 -eo pid,comm [Pipeline] { [Pipeline] sh 15:55:20 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 15:55:21 + make test 15:55:21 go test ./... -coverprofile=coverage.out ./... 15:55:25 ? github.com/edgexfoundry/device-rest-go [no test files] 15:57:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:57:17 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 15:57:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:57:21 go vet ./... 15:57:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:57:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:57:48 ./bin/test-attribution-txt.sh [Pipeline] echo 15:57:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:57:48 $ docker stop --time=1 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 15:57:50 $ docker rm -f --volumes 6ad7085a5a36f82123386d2b91c58f7dc1b30af483f34f7658fb546356a5d146 [Pipeline] // withDockerContainer [Pipeline] sh 15:57:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:57:52 Warning: overwriting stash ‘coverage-report’ 15:57:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:57:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:57:53 + ls -al . 15:57:53 total 180 15:57:53 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 15:55 . 15:57:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:52 .. 15:57:53 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 15:52 .dockerignore 15:57:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:52 .git 15:57:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:52 .github 15:57:53 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 15:52 .gitignore 15:57:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:52 .golangci.yml 15:57:53 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 15:52 Attribution.txt 15:57:53 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 15:52 CHANGELOG.md 15:57:53 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 15:52 Dockerfile 15:57:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:52 GOVERNANCE.md 15:57:53 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 15:52 Jenkinsfile 15:57:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 15:52 LICENSE 15:57:53 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 15:52 Makefile 15:57:53 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 15:52 OWNERS.md 15:57:53 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 15:52 README.md 15:57:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 15:49 VERSION 15:57:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:52 bin 15:57:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:52 cmd 15:57:53 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 15:57 coverage.out 15:57:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:52 driver 15:57:53 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 15:52 go.mod 15:57:53 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 15:52 go.sum 15:57:53 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:54 + 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=311548eee95374f1acb747549a94cfa4ea8b9881 --label arch=arm64 --label version=0.0.0 . 15:57:54 Sending build context to Docker daemon 137.7kB 15:57:54 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:57:54 Step 2/25 : FROM ${BASE} AS builder 15:57:54 ---> f83274d27e14 15:57:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:57:54 ---> Running in 9cacc62fbe86 15:57:55 Removing intermediate container 9cacc62fbe86 15:57:55 ---> ea88e7c10798 15:57:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:55 ---> Running in 5b383852a891 15:57:55 Removing intermediate container 5b383852a891 15:57:55 ---> 8b269b985595 15:57:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:57:55 ---> Running in 1acd39eb5da0 15:57:55 Removing intermediate container 1acd39eb5da0 15:57:55 ---> deaece7c4985 15:57:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:57:55 ---> Running in f1ef68dc42c3 15:57:56 Removing intermediate container f1ef68dc42c3 15:57:56 ---> c019146d2bbf 15:57:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:56 ---> Running in 11bc7c2ccf73 15:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:57:59 OK: 270 MiB in 56 packages 15:57:59 Removing intermediate container 11bc7c2ccf73 15:57:59 ---> d27902e6821b 15:57:59 Step 8/25 : WORKDIR /device-rest-go 15:58:00 ---> Running in dd5d91d0e77c 15:58:00 Removing intermediate container dd5d91d0e77c 15:58:00 ---> 75c0dde3bb6e 15:58:00 Step 9/25 : COPY go.mod vendor* ./ 15:58:03 ---> e09c88dd20fb 15:58:03 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:03 ---> Running in faf321211e3c 15:58:05 Removing intermediate container faf321211e3c 15:58:05 ---> 1075d2763bbf 15:58:05 Step 11/25 : COPY . . 15:58:06 ---> d21be0416b1a 15:58:06 Step 12/25 : RUN $MAKE 15:58:06 ---> Running in b0fff34515d4 15:58:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:00:14 Removing intermediate container b0fff34515d4 16:00:14 ---> 331866529f51 16:00:14 Step 13/25 : FROM alpine:3.18 16:00:14 3.18: Pulling from library/alpine 16:00:14 579b34f0a95b: Pulling fs layer 16:00:14 579b34f0a95b: Verifying Checksum 16:00:14 579b34f0a95b: Download complete 16:00:14 579b34f0a95b: Pull complete 16:00:14 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:00:14 Status: Downloaded newer image for alpine:3.18 16:00:14 ---> 3cc203321400 16:00:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:00:14 ---> Running in c6494d9621d4 16:00:14 Removing intermediate container c6494d9621d4 16:00:14 ---> 805f92dad4be 16:00:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:00:14 ---> Running in 0321e84504d3 16:00:14 Removing intermediate container 0321e84504d3 16:00:14 ---> 404c6379a8e0 16:00:14 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:00:14 ---> Running in ca3741b45f44 16:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:00:14 (1/1) Installing dumb-init (1.2.5-r2) 16:00:14 Executing busybox-1.36.1-r2.trigger 16:00:14 OK: 8 MiB in 16 packages 16:00:14 Removing intermediate container ca3741b45f44 16:00:14 ---> 58ea18cf55e4 16:00:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:00:14 ---> 6db4d328cdb3 16:00:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:00:14 ---> 6dd5659e717d 16:00:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:00:14 ---> 890fc6e05aaf 16:00:14 Step 20/25 : EXPOSE 59986 16:00:14 ---> Running in 6782f46e7605 16:00:14 Removing intermediate container 6782f46e7605 16:00:14 ---> 741eff281ac6 16:00:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:00:14 ---> Running in cc7ecd6e57da 16:00:14 Removing intermediate container cc7ecd6e57da 16:00:14 ---> 524eae078055 16:00:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:00:14 ---> Running in ad4df7e7efd7 16:00:14 Removing intermediate container ad4df7e7efd7 16:00:14 ---> e3da9e0b021c 16:00:14 Step 23/25 : LABEL arch=arm64 16:00:14 ---> Running in c8457aa6f6fb 16:00:14 Removing intermediate container c8457aa6f6fb 16:00:14 ---> 6ab6fd02d838 16:00:14 Step 24/25 : LABEL git_sha=311548eee95374f1acb747549a94cfa4ea8b9881 16:00:14 ---> Running in 4d96a1ab7c3b 16:00:15 Removing intermediate container 4d96a1ab7c3b 16:00:15 ---> cd9d3e28f75a 16:00:15 Step 25/25 : LABEL version=0.0.0 16:00:15 ---> Running in e3753d8ddfba 16:00:15 Removing intermediate container e3753d8ddfba 16:00:15 ---> 2a02e5c01b17 16:00:15 [Warning] One or more build-args [ARCH] were not consumed 16:00:15 Successfully built 2a02e5c01b17 16:00:15 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 16:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:16 16:00:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:19 arm64: Pulling from edgex-lftools-log-publisher 16:00:19 8998bd30e6a1: Pulling fs layer 16:00:19 04944245beec: Pulling fs layer 16:00:19 699f458cf7ca: Pulling fs layer 16:00:19 765212b225bb: Pulling fs layer 16:00:19 f23df028b6ca: Pulling fs layer 16:00:19 d65c8cfc05b1: Pulling fs layer 16:00:19 2437ff75d9bd: Pulling fs layer 16:00:19 765212b225bb: Waiting 16:00:19 f23df028b6ca: Waiting 16:00:19 2437ff75d9bd: Waiting 16:00:19 d65c8cfc05b1: Waiting 16:00:19 04944245beec: Verifying Checksum 16:00:19 04944245beec: Download complete 16:00:19 765212b225bb: Verifying Checksum 16:00:19 765212b225bb: Download complete 16:00:19 f23df028b6ca: Verifying Checksum 16:00:19 f23df028b6ca: Download complete 16:00:19 d65c8cfc05b1: Verifying Checksum 16:00:19 d65c8cfc05b1: Download complete 16:00:19 699f458cf7ca: Verifying Checksum 16:00:19 699f458cf7ca: Download complete 16:00:20 8998bd30e6a1: Verifying Checksum 16:00:22 2437ff75d9bd: Verifying Checksum 16:00:22 2437ff75d9bd: Download complete 16:00:24 8998bd30e6a1: Pull complete 16:00:24 04944245beec: Pull complete 16:00:26 699f458cf7ca: Pull complete 16:00:26 765212b225bb: Pull complete 16:00:27 f23df028b6ca: Pull complete 16:00:27 d65c8cfc05b1: Pull complete 16:00:45 2437ff75d9bd: Pull complete 16:00:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-9946 does not seem to be running inside a container 16:00:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:00:48 $ docker top 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:49 ---> job-cost.sh 16:00:49 lf-activate-venv: SKIPPING 16:00:49 INFO: No Stack... 16:00:50 INFO: Retrieving Pricing Info for: v3-standard-4 16:00:51 INFO: Archiving Costs [Pipeline] sh 16:00:51 + cat /w/workspace/device-rest-go/1/archives/cost.csv 16:00:51 + cut -d, -f6 [Pipeline] lock 16:00:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] 16:00:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] did not exist. Created. 16:00:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:52 /w/workspace/device-rest-go/1@tmp/durable-9c2fa22b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:00:53 + echo total: 0.10999999940395355 [Pipeline] stash 16:00:53 Warning: overwriting stash ‘stack-cost’ 16:00:53 Stashed 1 file(s) [Pipeline] } 16:00:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-353-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:53 $ docker stop --time=1 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 16:00:55 $ docker rm -f --volumes 08889f238e622079e32717403df14f5ca0d23b5980b8513b939d3807e52f5421 [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 16:00:56 provisioning config files... 16:00:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config9843464802606711166tmp [Pipeline] { [Pipeline] sh 16:00:56 + set +x 16:00:56 + curl -s https://codecov.io/bash 16:00:56 + bash -s -- 16:00:56 16:00:56 _____ _ 16:00:56 / ____| | | 16:00:56 | | ___ __| | ___ ___ _____ __ 16:00:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:00:56 | |___| (_) | (_| | __/ (_| (_) \ V / 16:00:56 \_____\___/ \__,_|\___|\___\___/ \_/ 16:00:56 Bash-1.0.6 16:00:56 16:00:56 16:00:56 ==> git version 2.25.1 found 16:00:56 ==> 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 16:00:56 Release-Date: 2020-01-08 16:00:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:00:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:00:56 ==> Jenkins CI detected. 16:00:56 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-353 16:00:56 project root: . 16:00:56 --> token set from env 16:00:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:00:56 ==> Running gcov in . (disable via -X gcov) 16:00:56 ==> Python coveragepy not found 16:00:56 ==> Searching for coverage reports in: 16:00:56 + . 16:00:56 -> Found 1 reports 16:00:56 ==> Detecting git/mercurial file structure 16:00:56 ==> Reading reports 16:00:56 + ./coverage.out bytes=14499 16:00:56 ==> Appending adjustments 16:00:56 https://docs.codecov.io/docs/fixing-reports 16:00:56 + Found adjustments 16:00:56 ==> Gzipping contents 16:00:56 4.0K /tmp/codecov.MygkPH.gz 16:00:56 ==> Uploading reports 16:00:56 url: https://codecov.io 16:00:56 query: branch=PR-353&commit=311548eee95374f1acb747549a94cfa4ea8b9881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=353&job=&cmd_args= 16:00:56 -> Pinging Codecov 16:00:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-353&commit=311548eee95374f1acb747549a94cfa4ea8b9881&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-353%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=353&job=&cmd_args= 16:00:56 -> Uploading to 16:00:56 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/311548eee95374f1acb747549a94cfa4ea8b9881/6acce3cf-9b73-4419-abd6-2ab40e153978.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T160056Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c4582954f147b1e8852cc55c9c4248e81b31fd402e61b7e1994851d90f784406 16:00:56 % Total % Received % Xferd Average Speed Time Time Time Current 16:00:56 Dload Upload Total Spent Left Speed 16:00:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 7685 --:--:-- --:--:-- --:--:-- 7660 16:00:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/311548eee95374f1acb747549a94cfa4ea8b9881 [Pipeline] } 16:00:57 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 16:00:59 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-353/archives ] 16:00:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-353/archives 16:00:59 total 16 16:00:59 drwxr-xr-x 3 root root 4096 Oct 24 15:51 . 16:00:59 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:51 .. 16:00:59 drwxr-xr-x 2 root root 4096 Oct 24 15:51 cost 16:00:59 -rw-r--r-- 1 root root 86 Oct 24 15:51 cost.csv 16:00:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-353/archives 16:00:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-353/archives 16:00:59 total 16 16:00:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:51 . 16:00:59 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:51 .. 16:00:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:51 cost 16:00:59 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:00:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:01:00 ---> package-listing.sh 16:01:00 ++ facter osfamily 16:01:00 ++ tr '[:upper:]' '[:lower:]' 16:01:00 + OS_FAMILY=debian 16:01:00 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-353 16:01:00 + START_PACKAGES=/tmp/packages_start.txt 16:01:00 + END_PACKAGES=/tmp/packages_end.txt 16:01:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:01:00 + PACKAGES=/tmp/packages_start.txt 16:01:00 + '[' /w/workspace/gexfoundry_device-rest-go_PR-353 ']' 16:01:00 + PACKAGES=/tmp/packages_end.txt 16:01:00 + case "${OS_FAMILY}" in 16:01:00 + dpkg -l 16:01:00 + grep '^ii' 16:01:00 + '[' -f /tmp/packages_start.txt ']' 16:01:00 + '[' -f /tmp/packages_end.txt ']' 16:01:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:01:00 + '[' /w/workspace/gexfoundry_device-rest-go_PR-353 ']' 16:01:00 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-353/archives/ 16:01:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-353/archives/ [Pipeline] echo 16:01:01 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-353/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:01:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:02 prd-ubuntu20.04-docker-8c-8g-9943 does not seem to be running inside a container 16:01:02 $ 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-353/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-353 -v /w/workspace/gexfoundry_device-rest-go_PR-353:/w/workspace/gexfoundry_device-rest-go_PR-353:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-353@tmp:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:01:02 $ docker top dd3d2b6cf224568b3db76b6be4a3de2863720d93c4e81bf0bc453467b979801a -eo pid,comm [Pipeline] { [Pipeline] sh 16:01:02 + touch /tmp/pre-build-complete [Pipeline] sh 16:01:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:01:03 + ls /var/log/sa-host 16:01:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:03 provisioning config files... 16:01:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-353@tmp/config5607580255122385654tmp [Pipeline] { [Pipeline] echo 16:01:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:01:03 ---> create-netrc.sh [Pipeline] } 16:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:01:04 ---> python-tools-install.sh [Pipeline] echo 16:01:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:01:04 ---> sudo-logs.sh 16:01:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:01:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:01:05 ---> job-cost.sh 16:01:05 lf-activate-venv: SKIPPING 16:01:05 DEBUG: total: 0.2199999988079071 16:01:05 INFO: Retrieving Stack Cost... 16:01:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:05 INFO: Archiving Costs [Pipeline] echo 16:01:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:01:06 ---> logs-deploy.sh 16:01:06 lf-activate-venv: SKIPPING 16:01:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-353/1 16:01:06 INFO: archiving workspace using pattern(s):