Pull request #363 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 238ac675b534bf811069c41c04debdd8b62de6e1+549007a9ae6a647223285151eabca3507ba312e0 (d95a61d09748d16cdf649adc9567ad1f0f2c331a) 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-ssh127424279653886317.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh11085544913316196333.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14650009608610776031.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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14692411966773468683.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh6729982151038176051.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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16620847898577258141.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-16884 in /w/workspace/gexfoundry_device-rest-go_PR-363 [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-363 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 238ac675b534bf811069c41c04debdd8b62de6e1 Merge succeeded, producing 238ac675b534bf811069c41c04debdd8b62de6e1 Checking out Revision 238ac675b534bf811069c41c04debdd8b62de6e1 (PR-363) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 238ac675b534bf811069c41c04debdd8b62de6e1 # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 238ac675b534bf811069c41c04debdd8b62de6e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:21:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:21:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:21:13 ========================================================= 20:21:13 EdgeX Global Pipelines Version Info 20:21:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:21:13 ------------------- 20:21:13 stable info: 20:21:13 ------------------- 20:21:13 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 20:21:13 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:21:13 Message: update stable to v1.0.257 20:21:14 ------------------- 20:21:14 experimental info: 20:21:14 ------------------- 20:21:14 Commited By: **** collab-it+edgex@linuxfoundation.org 20:21:14 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:21:14 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:21:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 20:21:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 238ac675b534bf811069c41c04debdd8b62de6e1 [Pipeline] echo 20:21:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 238ac67 [Pipeline] echo 20:21:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:16 provisioning config files... 20:21:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config947998314626634822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:16 ---> docker-login.sh 20:21:16 nexus3.edgexfoundry.org:10001 20:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 nexus3.edgexfoundry.org:10002 20:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 nexus3.edgexfoundry.org:10003 20:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 nexus3.edgexfoundry.org:10004 20:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 docker.io 20:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:17 Configure a credential helper to remove this warning. See 20:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:17 20:21:17 Login Succeeded 20:21:17 ---> docker-login.sh ends [Pipeline] } 20:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:21:18 + git rev-list -1 --merges 238ac675b534bf811069c41c04debdd8b62de6e1~1..238ac675b534bf811069c41c04debdd8b62de6e1 [Pipeline] echo 20:21:18 -----------> git rev-list -1 --merges 238ac675b534bf811069c41c04debdd8b62de6e1~1..238ac675b534bf811069c41c04debdd8b62de6e1 238ac675b534bf811069c41c04debdd8b62de6e1 [false] [Pipeline] sh 20:21:18 + git log --format=format:%s -1 238ac675b534bf811069c41c04debdd8b62de6e1 [Pipeline] echo 20:21:18 ========================================================= 20:21:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:21:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:19 + git log --format=format:%s -1 238ac675b534bf811069c41c04debdd8b62de6e1 [Pipeline] echo 20:21:19 [semverPrep] GIT_COMMIT: 238ac675b534bf811069c41c04debdd8b62de6e1, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3 [Pipeline] echo 20:21:19 [semverPrep] This is not a build commit. [Pipeline] sh 20:21:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:21:19 + grep -v github /etc/ssh/ssh_known_hosts 20:21:19 + [ -e /tmp/ssh_known_hosts ] 20:21:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:21:19 + + sudo tee -a /etc/ssh/ssh_known_hosts 20:21:19 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:21:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:20 20:21:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:20 0.1.4: Pulling from edgex-devops/py-git-semver 20:21:20 b85a868b505f: Pulling fs layer 20:21:20 e2be974225ed: Pulling fs layer 20:21:20 339a4e72a1f5: Pulling fs layer 20:21:20 988bab9f4d93: Pulling fs layer 20:21:20 1469e6f7b9e6: Pulling fs layer 20:21:20 eaf3925da568: Pulling fs layer 20:21:20 bab4dde63d76: Pulling fs layer 20:21:20 bde34c3a00c8: Pulling fs layer 20:21:20 b352a97aabf1: Pulling fs layer 20:21:20 4872d77fe225: Pulling fs layer 20:21:20 5851b861e8e6: Pulling fs layer 20:21:20 b352a97aabf1: Waiting 20:21:20 bab4dde63d76: Waiting 20:21:20 bde34c3a00c8: Waiting 20:21:20 4872d77fe225: Waiting 20:21:20 1469e6f7b9e6: Waiting 20:21:20 eaf3925da568: Waiting 20:21:20 5851b861e8e6: Waiting 20:21:20 988bab9f4d93: Waiting 20:21:20 e2be974225ed: Download complete 20:21:20 988bab9f4d93: Download complete 20:21:20 339a4e72a1f5: Verifying Checksum 20:21:20 339a4e72a1f5: Download complete 20:21:20 eaf3925da568: Verifying Checksum 20:21:20 eaf3925da568: Download complete 20:21:20 1469e6f7b9e6: Verifying Checksum 20:21:20 1469e6f7b9e6: Download complete 20:21:20 bde34c3a00c8: Verifying Checksum 20:21:20 bde34c3a00c8: Download complete 20:21:20 b352a97aabf1: Download complete 20:21:20 4872d77fe225: Verifying Checksum 20:21:20 4872d77fe225: Download complete 20:21:20 5851b861e8e6: Download complete 20:21:20 b85a868b505f: Verifying Checksum 20:21:20 b85a868b505f: Download complete 20:21:21 bab4dde63d76: Verifying Checksum 20:21:22 b85a868b505f: Pull complete 20:21:22 e2be974225ed: Pull complete 20:21:22 339a4e72a1f5: Pull complete 20:21:22 988bab9f4d93: Pull complete 20:21:23 1469e6f7b9e6: Pull complete 20:21:23 eaf3925da568: Pull complete 20:21:25 bab4dde63d76: Pull complete 20:21:25 bde34c3a00c8: Pull complete 20:21:25 b352a97aabf1: Pull complete 20:21:25 4872d77fe225: Pull complete 20:21:25 5851b861e8e6: Pull complete 20:21:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:21:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:21:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:21:25 prd-ubuntu20.04-docker-8c-8g-16884 does not seem to be running inside a container 20:21:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:21:32 $ docker top e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 -eo pid,comm 20:21:32 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:21:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:21:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:32 [ssh-agent] Looking for ssh-agent implementation... 20:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:33 $ docker exec e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 ssh-agent 20:21:33 SSH_AUTH_SOCK=/tmp/ssh-IONcHGdgETvr/agent.32 20:21:33 SSH_AGENT_PID=38 20:21:33 Running ssh-add (command line suppressed) 20:21:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_1143552273851114074.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_1143552273851114074.key) 20:21:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:33 + git tag --points-at HEAD [Pipeline] } 20:21:33 $ docker exec --env ******** --env ******** e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 ssh-agent -k 20:21:33 unset SSH_AUTH_SOCK; 20:21:33 unset SSH_AGENT_PID; 20:21:33 echo Agent pid 38 killed; 20:21:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:21:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:21:33 [ssh-agent] Looking for ssh-agent implementation... 20:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:21:33 $ docker exec e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 ssh-agent 20:21:34 SSH_AUTH_SOCK=/tmp/ssh-31LYBRTvnp9y/agent.70 20:21:34 SSH_AGENT_PID=76 20:21:34 Running ssh-add (command line suppressed) 20:21:34 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17974580414932435718.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17974580414932435718.key) 20:21:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:21:34 + git semver init 20:21:34 2023-11-07 20:21:34,741 [run_init] DEBUG init version:0.0.0 force:False 20:21:34 2023-11-07 20:21:34,742 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver 20:21:34 2023-11-07 20:21:34,743 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-363/.semver 20:21:34 2023-11-07 20:21:34,743 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-363/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363, universal_newlines=False, shell=None, istream=None) 20:21:36 2023-11-07 20:21:36,016 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.git/info/exclude 20:21:36 2023-11-07 20:21:36,017 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 with force:False 20:21:36 2023-11-07 20:21:36,017 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 20:21:36 2023-11-07 20:21:36,022 [execute] INFO git cat-file --batch-check 20:21:36 2023-11-07 20:21:36,022 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 20:21:36 2023-11-07 20:21:36,028 [execute] INFO git cat-file --batch 20:21:36 2023-11-07 20:21:36,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 20:21:36 2023-11-07 20:21:36,032 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 20:21:36 0.0.0 [Pipeline] } 20:21:36 $ docker exec --env ******** --env ******** e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 ssh-agent -k 20:21:36 unset SSH_AUTH_SOCK; 20:21:36 unset SSH_AGENT_PID; 20:21:36 echo Agent pid 76 killed; 20:21:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:21:36 + git semver [Pipeline] } 20:21:37 $ docker stop --time=1 e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 20:21:38 $ docker rm -f --volumes e2357626165cb429013e9982d8f567c5d21f9782ad830ebe8550e2ab94d798a0 [Pipeline] // withDockerContainer [Pipeline] sh 20:21:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:21:38 Stashed 1 file(s) [Pipeline] echo 20:21:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:39 provisioning config files... 20:21:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config11882811487466298737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:40 ---> docker-login.sh 20:21:40 nexus3.edgexfoundry.org:10001 20:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:40 Configure a credential helper to remove this warning. See 20:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:40 20:21:40 Login Succeeded 20:21:40 nexus3.edgexfoundry.org:10002 20:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:40 Configure a credential helper to remove this warning. See 20:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:40 20:21:40 Login Succeeded 20:21:40 nexus3.edgexfoundry.org:10003 20:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:40 Configure a credential helper to remove this warning. See 20:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:40 20:21:40 Login Succeeded 20:21:40 nexus3.edgexfoundry.org:10004 20:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:40 Configure a credential helper to remove this warning. See 20:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:40 20:21:40 Login Succeeded 20:21:40 docker.io 20:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:40 Configure a credential helper to remove this warning. See 20:21:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:40 20:21:40 Login Succeeded 20:21:40 ---> docker-login.sh ends [Pipeline] } 20:21:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:21:41 ========================================================= 20:21:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:21:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:41 + 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 . 20:21:41 Sending build context to Docker daemon 10.95MB 20:21:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:21:41 Step 2/12 : FROM ${BASE} AS builder 20:21:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:21:41 7264a8db6415: Pulling fs layer 20:21:41 c4d48a809fc2: Pulling fs layer 20:21:41 4f1c88b9dad5: Pulling fs layer 20:21:41 ad3a456e5733: Pulling fs layer 20:21:41 33e27b845d1e: Pulling fs layer 20:21:41 c68163c4e522: Pulling fs layer 20:21:41 50da416c3ac9: Pulling fs layer 20:21:41 23d2d4c4bb30: Pulling fs layer 20:21:41 33e27b845d1e: Waiting 20:21:41 c68163c4e522: Waiting 20:21:41 50da416c3ac9: Waiting 20:21:41 23d2d4c4bb30: Waiting 20:21:41 c4d48a809fc2: Verifying Checksum 20:21:41 c4d48a809fc2: Download complete 20:21:41 ad3a456e5733: Verifying Checksum 20:21:41 ad3a456e5733: Download complete 20:21:41 33e27b845d1e: Verifying Checksum 20:21:41 33e27b845d1e: Download complete 20:21:41 7264a8db6415: Download complete 20:21:41 c68163c4e522: Verifying Checksum 20:21:41 c68163c4e522: Download complete 20:21:42 7264a8db6415: Pull complete 20:21:42 23d2d4c4bb30: Verifying Checksum 20:21:42 23d2d4c4bb30: Download complete 20:21:42 c4d48a809fc2: Pull complete 20:21:42 4f1c88b9dad5: Verifying Checksum 20:21:42 4f1c88b9dad5: Download complete 20:21:42 50da416c3ac9: Verifying Checksum 20:21:42 50da416c3ac9: Download complete 20:21:46 4f1c88b9dad5: Pull complete 20:21:46 ad3a456e5733: Pull complete 20:21:46 33e27b845d1e: Pull complete 20:21:46 c68163c4e522: Pull complete 20:21:49 50da416c3ac9: Pull complete 20:21:49 23d2d4c4bb30: Pull complete 20:21:49 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:21:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:21:49 ---> 0786185ac409 20:21:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:21:54 Still waiting to schedule task 20:21:54 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:21:56 ---> Running in b935be188dd3 20:21:56 Removing intermediate container b935be188dd3 20:21:56 ---> 00b18212e55b 20:21:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:21:56 ---> Running in 8f9d734450e7 20:21:56 Removing intermediate container 8f9d734450e7 20:21:56 ---> 634060235664 20:21:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:21:56 ---> Running in 8151c60b7d92 20:21:56 Removing intermediate container 8151c60b7d92 20:21:56 ---> 9cbc2b92c83c 20:21:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:21:56 ---> Running in dfc907e7c2fd 20:21:56 Removing intermediate container dfc907e7c2fd 20:21:56 ---> 870611e05ffe 20:21:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:56 ---> Running in 9bc5a8cfaedb 20:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:21:56 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:21:56 (2/4) Installing libedit (20221030.3.1-r1) 20:21:56 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:21:56 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:21:56 Executing busybox-1.36.1-r2.trigger 20:21:56 OK: 268 MiB in 56 packages 20:21:57 Removing intermediate container 9bc5a8cfaedb 20:21:57 ---> 3725c5dbfa1f 20:21:57 Step 8/12 : WORKDIR /device-rest-go 20:21:57 ---> Running in b16a034658fc 20:21:57 Removing intermediate container b16a034658fc 20:21:57 ---> c0ee674c04ca 20:21:57 Step 9/12 : COPY go.mod vendor* ./ 20:21:57 ---> 7f98475316ff 20:21:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:57 ---> Running in 5d461ea40b6b 20:22:36 Removing intermediate container 5d461ea40b6b 20:22:36 ---> a83c70635e40 20:22:36 Step 11/12 : COPY . . 20:22:36 ---> 863b2108674f 20:22:36 Step 12/12 : RUN $MAKE 20:22:36 ---> Running in 75fb2dc4ae2b 20:22:36 noop 20:22:36 Removing intermediate container 75fb2dc4ae2b 20:22:36 ---> 2925a0f031c6 20:22:36 Successfully built 2925a0f031c6 20:22:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:36 + docker inspect -f . ci-base-image-x86_64 20:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:36 prd-ubuntu20.04-docker-8c-8g-16884 does not seem to be running inside a container 20:22:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:22:37 $ docker top 9cb78fa4f90174174b7d563268aa9c9c737a0fdb2600b33dbb64e48984f24038 -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:37 + go version 20:22:37 go version go1.21.0 linux/amd64 [Pipeline] } 20:22:37 $ docker stop --time=1 9cb78fa4f90174174b7d563268aa9c9c737a0fdb2600b33dbb64e48984f24038 20:22:38 $ docker rm -f --volumes 9cb78fa4f90174174b7d563268aa9c9c737a0fdb2600b33dbb64e48984f24038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:22:39 + docker inspect -f . ci-base-image-x86_64 20:22:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:22:39 prd-ubuntu20.04-docker-8c-8g-16884 does not seem to be running inside a container 20:22:39 $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:22:40 $ docker top 208bbaa66b45fdcaffebb08e7833fd80e88bf54d2830ac8dfcd99a9c12f97b9e -eo pid,comm [Pipeline] { [Pipeline] sh 20:22:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] fileExists [Pipeline] sh 20:22:41 + make test 20:22:41 go test ./... -coverprofile=coverage.out ./... 20:22:45 ? github.com/edgexfoundry/device-rest-go [no test files] 20:22:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:22:54 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:23:01 go vet ./... 20:23:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:23:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:23:04 ./bin/test-attribution-txt.sh [Pipeline] echo 20:23:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:23:04 $ docker stop --time=1 208bbaa66b45fdcaffebb08e7833fd80e88bf54d2830ac8dfcd99a9c12f97b9e 20:23:09 $ docker rm -f --volumes 208bbaa66b45fdcaffebb08e7833fd80e88bf54d2830ac8dfcd99a9c12f97b9e [Pipeline] // withDockerContainer [Pipeline] sh 20:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:23:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:23:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:23:11 + ls -al . 20:23:11 total 176 20:23:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:22 . 20:23:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:21 .. 20:23:11 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:21 .dockerignore 20:23:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:22 .git 20:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 .github 20:23:11 -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 20:21 .gitignore 20:23:11 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:21 .golangci.yml 20:23:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:21 .semver 20:23:11 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 7 20:21 Attribution.txt 20:23:11 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 7 20:21 CHANGELOG.md 20:23:11 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 7 20:21 Dockerfile 20:23:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:21 GOVERNANCE.md 20:23:11 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:21 Jenkinsfile 20:23:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:21 LICENSE 20:23:11 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 7 20:21 Makefile 20:23:11 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:21 OWNERS.md 20:23:11 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 20:21 README.md 20:23:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:21 VERSION 20:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:21 bin 20:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 cmd 20:23:11 -rw-r--r-- 1 jenkins jenkins 14499 Nov 7 20:22 coverage.out 20:23:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:21 driver 20:23:11 -rw-rw-r-- 1 jenkins jenkins 3891 Nov 7 20:21 go.mod 20:23:11 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 7 20:21 go.sum 20:23:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:21 openapi 20:23:11 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:11 + 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=238ac675b534bf811069c41c04debdd8b62de6e1 --label arch=amd64 --label version=0.0.0 . 20:23:11 Sending build context to Docker daemon 10.96MB 20:23:11 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:23:11 Step 2/25 : FROM ${BASE} AS builder 20:23:11 ---> 2925a0f031c6 20:23:11 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:23:12 ---> Running in a7df6a61a7cf 20:23:12 Removing intermediate container a7df6a61a7cf 20:23:12 ---> 1e8ad1073fc2 20:23:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:23:12 ---> Running in eae3ebe6e2db 20:23:12 Removing intermediate container eae3ebe6e2db 20:23:12 ---> cf3ce2b2002d 20:23:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:23:12 ---> Running in 905a615129be 20:23:12 Removing intermediate container 905a615129be 20:23:12 ---> b2fdce238a0b 20:23:12 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:23:12 ---> Running in ec4c492a18ef 20:23:12 Removing intermediate container ec4c492a18ef 20:23:12 ---> 21d35969f70b 20:23:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:23:12 ---> Running in 15fe51018de4 20:23:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:23:17 OK: 268 MiB in 56 packages 20:23:17 Removing intermediate container 15fe51018de4 20:23:17 ---> eb73693f4afb 20:23:17 Step 8/25 : WORKDIR /device-rest-go 20:23:17 ---> Running in 41fbd5d666d8 20:23:17 Removing intermediate container 41fbd5d666d8 20:23:17 ---> c0fa86c82487 20:23:17 Step 9/25 : COPY go.mod vendor* ./ 20:23:17 ---> f0a6ce86f32f 20:23:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:23:17 ---> Running in af1d894e3d14 20:23:18 Removing intermediate container af1d894e3d14 20:23:18 ---> 689fd5c53822 20:23:18 Step 11/25 : COPY . . 20:23:18 ---> 4b0edb2a1987 20:23:18 Step 12/25 : RUN $MAKE 20:23:18 ---> Running in 74e55841cbe8 20:23:19 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.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:23:41 Removing intermediate container 74e55841cbe8 20:23:41 ---> d7bdf7b6c37b 20:23:41 Step 13/25 : FROM alpine:3.18 20:23:41 3.18: Pulling from library/alpine 20:23:41 96526aa774ef: Pulling fs layer 20:23:41 96526aa774ef: Download complete 20:23:41 96526aa774ef: Pull complete 20:23:41 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:23:41 Status: Downloaded newer image for alpine:3.18 20:23:41 ---> 8ca4688f4f35 20:23:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:23:42 ---> Running in 5b6d9b306da9 20:23:42 Removing intermediate container 5b6d9b306da9 20:23:42 ---> 4ccc303e061e 20:23:42 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:23:42 ---> Running in 7f544f5ff2e0 20:23:42 Removing intermediate container 7f544f5ff2e0 20:23:42 ---> d7458ee39286 20:23:42 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:23:42 ---> Running in 0e6aa98f644e 20:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:23:42 (1/1) Installing dumb-init (1.2.5-r2) 20:23:42 Executing busybox-1.36.1-r2.trigger 20:23:42 OK: 7 MiB in 16 packages 20:23:43 Removing intermediate container 0e6aa98f644e 20:23:43 ---> 2d7b3a14d493 20:23:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:23:44 ---> 0176900cc502 20:23:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:23:44 ---> 82f7c1102a8c 20:23:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:23:44 ---> dcb112c8985d 20:23:44 Step 20/25 : EXPOSE 59986 20:23:44 ---> Running in aaf1ff71bb52 20:23:44 Removing intermediate container aaf1ff71bb52 20:23:44 ---> 4317ccafc449 20:23:44 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:23:44 ---> Running in 171dba9c4ffd 20:23:44 Removing intermediate container 171dba9c4ffd 20:23:44 ---> 667337072603 20:23:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:23:44 ---> Running in a5a4339029b6 20:23:44 Removing intermediate container a5a4339029b6 20:23:44 ---> fb07e74203a8 20:23:44 Step 23/25 : LABEL arch=amd64 20:23:44 ---> Running in ef204401d7c6 20:23:44 Removing intermediate container ef204401d7c6 20:23:44 ---> 22f3f2a0b1f9 20:23:44 Step 24/25 : LABEL git_sha=238ac675b534bf811069c41c04debdd8b62de6e1 20:23:45 ---> Running in 784f563e1db9 20:23:45 Removing intermediate container 784f563e1db9 20:23:45 ---> ad80af693f88 20:23:45 Step 25/25 : LABEL version=0.0.0 20:23:45 ---> Running in dc62ffcb4054 20:23:45 Removing intermediate container dc62ffcb4054 20:23:45 ---> 8e84ebd83904 20:23:45 [Warning] One or more build-args [ARCH] were not consumed 20:23:45 Successfully built 8e84ebd83904 20:23:45 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 20:23:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:46 20:23:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:47 latest: Pulling from edgex-lftools-log-publisher 20:23:47 5eb5b503b376: Pulling fs layer 20:23:47 5c69ac0246d0: Pulling fs layer 20:23:47 ec43610c2a17: Pulling fs layer 20:23:47 3a2ae6a8a46f: Pulling fs layer 20:23:47 33b1e0a273af: Pulling fs layer 20:23:47 5d3b04190fa2: Pulling fs layer 20:23:47 2f39f015ded8: Pulling fs layer 20:23:47 3a2ae6a8a46f: Waiting 20:23:47 2f39f015ded8: Waiting 20:23:47 33b1e0a273af: Waiting 20:23:47 5d3b04190fa2: Waiting 20:23:47 5c69ac0246d0: Verifying Checksum 20:23:47 5c69ac0246d0: Download complete 20:23:47 3a2ae6a8a46f: Verifying Checksum 20:23:47 3a2ae6a8a46f: Download complete 20:23:47 33b1e0a273af: Verifying Checksum 20:23:47 33b1e0a273af: Download complete 20:23:47 5d3b04190fa2: Verifying Checksum 20:23:47 5d3b04190fa2: Download complete 20:23:47 ec43610c2a17: Verifying Checksum 20:23:47 ec43610c2a17: Download complete 20:23:47 5eb5b503b376: Download complete 20:23:48 2f39f015ded8: Download complete 20:23:48 5eb5b503b376: Pull complete 20:23:48 5c69ac0246d0: Pull complete 20:23:49 ec43610c2a17: Pull complete 20:23:49 3a2ae6a8a46f: Pull complete 20:23:49 33b1e0a273af: Pull complete 20:23:49 5d3b04190fa2: Pull complete 20:23:54 2f39f015ded8: Pull complete 20:23:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:54 prd-ubuntu20.04-docker-8c-8g-16884 does not seem to be running inside a container 20:23:54 $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:24:02 $ docker top 5e3fc7be4485322589fcd6beec2e7a696a762252d45ae786c419080b855232de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:03 ---> job-cost.sh 20:24:03 lf-activate-venv: SKIPPING 20:24:03 INFO: No Stack... 20:24:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:24:03 INFO: Archiving Costs [Pipeline] sh 20:24:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-363/archives/cost.csv 20:24:04 + cut -d, -f6 [Pipeline] lock 20:24:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] 20:24:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] did not exist. Created. 20:24:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:24:04 + echo total: 0.2199999988079071 [Pipeline] stash 20:24:04 Stashed 1 file(s) [Pipeline] } 20:24:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:24:04 $ docker stop --time=1 5e3fc7be4485322589fcd6beec2e7a696a762252d45ae786c419080b855232de 20:24:05 $ docker rm -f --volumes 5e3fc7be4485322589fcd6beec2e7a696a762252d45ae786c419080b855232de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:24:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16886 in /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] { [Pipeline] ws 20:24:58 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:24:58 The recommended git tool is: git 20:25:04 using credential edgex-jenkins-ssh 20:25:04 Cloning the remote Git repository 20:25:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:25:04 > git init /w/workspace/device-rest-go/1 # timeout=10 20:25:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:25:04 > git --version # timeout=10 20:25:04 > git --version # 'git version 2.25.1' 20:25:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:25:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:25:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:25:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:25:08 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit 238ac675b534bf811069c41c04debdd8b62de6e1 20:25:09 Merge succeeded, producing 238ac675b534bf811069c41c04debdd8b62de6e1 20:25:09 Checking out Revision 238ac675b534bf811069c41c04debdd8b62de6e1 (PR-363) 20:25:09 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" 20:25:09 > git --version # timeout=10 20:25:09 > git --version # 'git version 2.25.1' 20:25:09 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 20:25:08 > git config core.sparsecheckout # timeout=10 20:25:08 > git checkout -f 238ac675b534bf811069c41c04debdd8b62de6e1 # timeout=10 20:25:08 > git remote # timeout=10 20:25:09 > git config --get remote.origin.url # timeout=10 20:25:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:25:09 > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 20:25:09 > git rev-parse HEAD^{commit} # timeout=10 20:25:09 > git config core.sparsecheckout # timeout=10 20:25:09 > git checkout -f 238ac675b534bf811069c41c04debdd8b62de6e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:25:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:25:11 Dload Upload Total Spent Left Speed 20:25:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88685 0 --:--:-- --:--:-- --:--:-- 88685 [Pipeline] sh 20:25:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:25:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:25:12 + sudo tee /etc/docker/daemon.new 20:25:12 { 20:25:12 "registry-mirrors": [ 20:25:12 "https://nexus3.edgexfoundry.org:10001" 20:25:12 ], 20:25:12 "bip": "10.250.0.254/24", 20:25:12 "hosts": [ 20:25:12 "tcp://0.0.0.0:5555", 20:25:12 "unix:///var/run/docker.sock" 20:25:12 ], 20:25:12 "mtu": 1458, 20:25:12 "selinux-enabled": true, 20:25:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:25:12 } [Pipeline] sh 20:25:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:25:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:31 provisioning config files... 20:25:31 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2519243129655228502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:31 ---> docker-login.sh 20:25:31 nexus3.edgexfoundry.org:10001 20:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:32 Configure a credential helper to remove this warning. See 20:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:32 20:25:32 Login Succeeded 20:25:32 nexus3.edgexfoundry.org:10002 20:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:32 Configure a credential helper to remove this warning. See 20:25:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:32 20:25:32 Login Succeeded 20:25:32 nexus3.edgexfoundry.org:10003 20:25:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:33 Configure a credential helper to remove this warning. See 20:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:33 20:25:33 Login Succeeded 20:25:33 nexus3.edgexfoundry.org:10004 20:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:33 Configure a credential helper to remove this warning. See 20:25:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:33 20:25:33 Login Succeeded 20:25:33 docker.io 20:25:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:34 Configure a credential helper to remove this warning. See 20:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:34 20:25:34 Login Succeeded 20:25:34 ---> docker-login.sh ends [Pipeline] } 20:25:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:25:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:25:34 ========================================================= 20:25:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:25:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:35 + 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 . 20:25:35 Sending build context to Docker daemon 125.4kB 20:25:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:25:35 Step 2/12 : FROM ${BASE} AS builder 20:25:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:25:36 9fda8d8052c6: Pulling fs layer 20:25:36 5d54e960e981: Pulling fs layer 20:25:36 c4a7e357bf2a: Pulling fs layer 20:25:36 f0e02332f6b5: Pulling fs layer 20:25:36 cefa15bbcfad: Pulling fs layer 20:25:36 17808c966233: Pulling fs layer 20:25:36 f4c1fc716caa: Pulling fs layer 20:25:36 cefa15bbcfad: Waiting 20:25:36 17808c966233: Waiting 20:25:36 f0e02332f6b5: Waiting 20:25:36 5d54e960e981: Download complete 20:25:36 f0e02332f6b5: Download complete 20:25:36 cefa15bbcfad: Verifying Checksum 20:25:36 cefa15bbcfad: Download complete 20:25:36 9fda8d8052c6: Download complete 20:25:36 f4c1fc716caa: Verifying Checksum 20:25:36 f4c1fc716caa: Download complete 20:25:36 9fda8d8052c6: Pull complete 20:25:37 5d54e960e981: Pull complete 20:25:38 c4a7e357bf2a: Verifying Checksum 20:25:38 c4a7e357bf2a: Download complete 20:25:39 17808c966233: Verifying Checksum 20:25:39 17808c966233: Download complete 20:25:54 c4a7e357bf2a: Pull complete 20:25:54 f0e02332f6b5: Pull complete 20:25:54 cefa15bbcfad: Pull complete 20:26:00 17808c966233: Pull complete 20:26:04 f4c1fc716caa: Pull complete 20:26:04 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:26:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:26:04 ---> ea914061e18c 20:26:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:26:05 ---> Running in e1b9ce886c3b 20:26:05 Removing intermediate container e1b9ce886c3b 20:26:05 ---> 8fed3f71735a 20:26:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:05 ---> Running in 9d48d1815729 20:26:06 Removing intermediate container 9d48d1815729 20:26:06 ---> c62e702f0180 20:26:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:26:06 ---> Running in faddb67798d5 20:26:06 Removing intermediate container faddb67798d5 20:26:06 ---> d2b6e20d27f6 20:26:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:26:06 ---> Running in 1d25740c62cb 20:26:07 Removing intermediate container 1d25740c62cb 20:26:07 ---> 05abe8693e01 20:26:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:07 ---> Running in 10fac5492e1f 20:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:26:10 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:26:10 (2/4) Installing libedit (20221030.3.1-r1) 20:26:10 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:26:10 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:26:10 Executing busybox-1.36.1-r2.trigger 20:26:10 OK: 270 MiB in 56 packages 20:26:11 Removing intermediate container 10fac5492e1f 20:26:11 ---> c9f53192d174 20:26:11 Step 8/12 : WORKDIR /device-rest-go 20:26:11 ---> Running in ef1e8fcc9789 20:26:11 Removing intermediate container ef1e8fcc9789 20:26:11 ---> 4cf7d8e66e49 20:26:11 Step 9/12 : COPY go.mod vendor* ./ 20:26:12 ---> 1562b62f1cef 20:26:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:12 ---> Running in 2d1e5e6417c0 20:27:33 Removing intermediate container 2d1e5e6417c0 20:27:33 ---> e7f0ce908fa3 20:27:33 Step 11/12 : COPY . . 20:27:33 ---> a30f62fb5556 20:27:33 Step 12/12 : RUN $MAKE 20:27:33 ---> Running in 52b0910f087c 20:27:33 noop 20:27:33 Removing intermediate container 52b0910f087c 20:27:33 ---> 2de22a029c1e 20:27:33 Successfully built 2de22a029c1e 20:27:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:34 + docker inspect -f . ci-base-image-arm64 20:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:34 prd-ubuntu20.04-docker-arm64-4c-16g-16886 does not seem to be running inside a container 20:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:27:36 $ docker top 9806f002080ef821cff2309ea70d2eb2c50045ac1f455e7d0548f05b4b2a9616 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:36 + go version 20:27:36 go version go1.21.0 linux/arm64 [Pipeline] } 20:27:36 $ docker stop --time=1 9806f002080ef821cff2309ea70d2eb2c50045ac1f455e7d0548f05b4b2a9616 20:27:38 $ docker rm -f --volumes 9806f002080ef821cff2309ea70d2eb2c50045ac1f455e7d0548f05b4b2a9616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:39 + docker inspect -f . ci-base-image-arm64 20:27:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:39 prd-ubuntu20.04-docker-arm64-4c-16g-16886 does not seem to be running inside a container 20:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:27:41 $ docker top d2da4278308dbc6473255283e251e43c2c04a7324f02d7542fb50d86900b0fb5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:41 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:27:42 + make test 20:27:42 go test ./... -coverprofile=coverage.out ./... 20:27:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:29:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:29:25 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 33.2% of statements 20:29:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:29:26 go vet ./... 20:29:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:29:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:29:58 ./bin/test-attribution-txt.sh [Pipeline] echo 20:29:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:29:58 $ docker stop --time=1 d2da4278308dbc6473255283e251e43c2c04a7324f02d7542fb50d86900b0fb5 20:30:00 $ docker rm -f --volumes d2da4278308dbc6473255283e251e43c2c04a7324f02d7542fb50d86900b0fb5 [Pipeline] // withDockerContainer [Pipeline] sh 20:30:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:01 Warning: overwriting stash ‘coverage-report’ 20:30:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:03 + ls -al . 20:30:03 total 172 20:30:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:27 . 20:30:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:25 .. 20:30:03 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:25 .dockerignore 20:30:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:25 .git 20:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:25 .github 20:30:03 -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 20:25 .gitignore 20:30:03 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:25 .golangci.yml 20:30:03 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 7 20:25 Attribution.txt 20:30:03 -rw-rw-r-- 1 jenkins jenkins 15709 Nov 7 20:25 CHANGELOG.md 20:30:03 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 7 20:25 Dockerfile 20:30:03 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:25 GOVERNANCE.md 20:30:03 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:25 Jenkinsfile 20:30:03 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:25 LICENSE 20:30:03 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 7 20:25 Makefile 20:30:03 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:25 OWNERS.md 20:30:03 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 7 20:25 README.md 20:30:03 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:21 VERSION 20:30:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:25 bin 20:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:25 cmd 20:30:03 -rw-r--r-- 1 jenkins jenkins 14499 Nov 7 20:29 coverage.out 20:30:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:25 driver 20:30:03 -rw-rw-r-- 1 jenkins jenkins 3891 Nov 7 20:25 go.mod 20:30:03 -rw-rw-r-- 1 jenkins jenkins 35094 Nov 7 20:25 go.sum 20:30:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:25 openapi 20:30:03 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:03 + 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=238ac675b534bf811069c41c04debdd8b62de6e1 --label arch=arm64 --label version=0.0.0 . 20:30:03 Sending build context to Docker daemon 140.8kB 20:30:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:30:04 Step 2/25 : FROM ${BASE} AS builder 20:30:04 ---> 2de22a029c1e 20:30:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:30:05 ---> Running in 03a26189276b 20:30:06 Removing intermediate container 03a26189276b 20:30:06 ---> 85076e4d9656 20:30:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:06 ---> Running in 0a4967607301 20:30:06 Removing intermediate container 0a4967607301 20:30:06 ---> e1e7ded92641 20:30:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:30:06 ---> Running in accb3bb91d18 20:30:07 Removing intermediate container accb3bb91d18 20:30:07 ---> b4227a89bc4b 20:30:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:30:07 ---> Running in b65228b696de 20:30:07 Removing intermediate container b65228b696de 20:30:07 ---> 899683587066 20:30:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:07 ---> Running in 5e7fb26187a3 20:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:30:10 OK: 270 MiB in 56 packages 20:30:11 Removing intermediate container 5e7fb26187a3 20:30:11 ---> 0b334240a2bf 20:30:11 Step 8/25 : WORKDIR /device-rest-go 20:30:11 ---> Running in 08c14eeeb671 20:30:11 Removing intermediate container 08c14eeeb671 20:30:11 ---> b147247a7485 20:30:11 Step 9/25 : COPY go.mod vendor* ./ 20:30:11 ---> 24e49fe25a81 20:30:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:30:12 ---> Running in 281ecf430ad2 20:30:14 Removing intermediate container 281ecf430ad2 20:30:14 ---> aacd4695bf27 20:30:14 Step 11/25 : COPY . . 20:30:14 ---> aef7b8af1e09 20:30:14 Step 12/25 : RUN $MAKE 20:30:15 ---> Running in e3a96de838b1 20:30:15 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.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:32:07 Removing intermediate container e3a96de838b1 20:32:07 ---> 983798a26ca9 20:32:07 Step 13/25 : FROM alpine:3.18 20:32:10 3.18: Pulling from library/alpine 20:32:10 579b34f0a95b: Pulling fs layer 20:32:10 579b34f0a95b: Verifying Checksum 20:32:10 579b34f0a95b: Download complete 20:32:11 579b34f0a95b: Pull complete 20:32:11 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:32:11 Status: Downloaded newer image for alpine:3.18 20:32:11 ---> 3cc203321400 20:32:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:32:11 ---> Running in c823025bfa9f 20:32:11 Removing intermediate container c823025bfa9f 20:32:11 ---> a6712b2d01d2 20:32:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:32:11 ---> Running in 07ebde8b8a8c 20:32:12 Removing intermediate container 07ebde8b8a8c 20:32:12 ---> ccc7a5358f0f 20:32:12 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:32:12 ---> Running in 397ebfd611f8 20:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:15 (1/1) Installing dumb-init (1.2.5-r2) 20:32:15 Executing busybox-1.36.1-r2.trigger 20:32:15 OK: 8 MiB in 16 packages 20:32:16 Removing intermediate container 397ebfd611f8 20:32:16 ---> 4c778adae8dd 20:32:16 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:32:17 ---> 150e5dc5ce50 20:32:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:32:17 ---> f0a09e58c654 20:32:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:32:18 ---> c5da75d10c7c 20:32:18 Step 20/25 : EXPOSE 59986 20:32:18 ---> Running in a5bf83501d7b 20:32:18 Removing intermediate container a5bf83501d7b 20:32:18 ---> f0a6b97b5858 20:32:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:32:18 ---> Running in 7c62bb38cbb9 20:32:18 Removing intermediate container 7c62bb38cbb9 20:32:18 ---> e0fbba6a620f 20:32:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:32:18 ---> Running in 7ad3156cb807 20:32:19 Removing intermediate container 7ad3156cb807 20:32:19 ---> b9b7442d55df 20:32:19 Step 23/25 : LABEL arch=arm64 20:32:19 ---> Running in 04b950e94865 20:32:19 Removing intermediate container 04b950e94865 20:32:19 ---> 3e0b3a65e00f 20:32:19 Step 24/25 : LABEL git_sha=238ac675b534bf811069c41c04debdd8b62de6e1 20:32:19 ---> Running in 1f0415e2699e 20:32:19 Removing intermediate container 1f0415e2699e 20:32:19 ---> 32de619ca707 20:32:19 Step 25/25 : LABEL version=0.0.0 20:32:20 ---> Running in f3a5bdf50d06 20:32:20 Removing intermediate container f3a5bdf50d06 20:32:20 ---> 2b76b2a27a15 20:32:20 [Warning] One or more build-args [ARCH] were not consumed 20:32:20 Successfully built 2b76b2a27a15 20:32:20 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 20:32:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:21 20:32:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:25 arm64: Pulling from edgex-lftools-log-publisher 20:32:25 8998bd30e6a1: Pulling fs layer 20:32:25 04944245beec: Pulling fs layer 20:32:25 699f458cf7ca: Pulling fs layer 20:32:25 765212b225bb: Pulling fs layer 20:32:25 f23df028b6ca: Pulling fs layer 20:32:25 d65c8cfc05b1: Pulling fs layer 20:32:25 2437ff75d9bd: Pulling fs layer 20:32:25 f23df028b6ca: Waiting 20:32:25 d65c8cfc05b1: Waiting 20:32:25 765212b225bb: Waiting 20:32:25 2437ff75d9bd: Waiting 20:32:25 04944245beec: Verifying Checksum 20:32:25 04944245beec: Download complete 20:32:25 765212b225bb: Verifying Checksum 20:32:25 765212b225bb: Download complete 20:32:25 f23df028b6ca: Verifying Checksum 20:32:25 f23df028b6ca: Download complete 20:32:25 d65c8cfc05b1: Verifying Checksum 20:32:25 d65c8cfc05b1: Download complete 20:32:25 699f458cf7ca: Verifying Checksum 20:32:25 699f458cf7ca: Download complete 20:32:26 8998bd30e6a1: Verifying Checksum 20:32:26 8998bd30e6a1: Download complete 20:32:28 2437ff75d9bd: Verifying Checksum 20:32:28 2437ff75d9bd: Download complete 20:32:30 8998bd30e6a1: Pull complete 20:32:31 04944245beec: Pull complete 20:32:33 699f458cf7ca: Pull complete 20:32:33 765212b225bb: Pull complete 20:32:34 f23df028b6ca: Pull complete 20:32:34 d65c8cfc05b1: Pull complete 20:32:56 2437ff75d9bd: Pull complete 20:32:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:32:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:32:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:56 prd-ubuntu20.04-docker-arm64-4c-16g-16886 does not seem to be running inside a container 20:32:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:32:59 $ docker top ed54fd374e6f078bad22949e3a588a49ab56b68081cdb1960c4c7ba27fabf48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:32:59 ---> job-cost.sh 20:32:59 lf-activate-venv: SKIPPING 20:32:59 INFO: No Stack... 20:33:00 INFO: Retrieving Pricing Info for: v3-standard-4 20:33:01 INFO: Archiving Costs [Pipeline] sh 20:33:02 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:33:02 + cut -d, -f6 [Pipeline] lock 20:33:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] 20:33:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] did not exist. Created. 20:33:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:33:02 /w/workspace/device-rest-go/1@tmp/durable-9f50fb56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:33:03 + echo total: 0.10999999940395355 [Pipeline] stash 20:33:03 Warning: overwriting stash ‘stack-cost’ 20:33:03 Stashed 1 file(s) [Pipeline] } 20:33:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:33:03 $ docker stop --time=1 ed54fd374e6f078bad22949e3a588a49ab56b68081cdb1960c4c7ba27fabf48c 20:33:07 $ docker rm -f --volumes ed54fd374e6f078bad22949e3a588a49ab56b68081cdb1960c4c7ba27fabf48c [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 20:33:08 provisioning config files... 20:33:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config9727639610355432908tmp [Pipeline] { [Pipeline] sh 20:33:08 + set +x 20:33:08 + bash -s -- 20:33:08 + curl -s https://codecov.io/bash 20:33:08 20:33:08 _____ _ 20:33:08 / ____| | | 20:33:08 | | ___ __| | ___ ___ _____ __ 20:33:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:33:08 | |___| (_) | (_| | __/ (_| (_) \ V / 20:33:08 \_____\___/ \__,_|\___|\___\___/ \_/ 20:33:08 Bash-1.0.6 20:33:08 20:33:08 20:33:08 ==> git version 2.25.1 found 20:33:08 ==> 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 20:33:08 Release-Date: 2020-01-08 20:33:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:33:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:33:08 ==> Jenkins CI detected. 20:33:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-363 20:33:08 project root: . 20:33:08 --> token set from env 20:33:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:33:08 ==> Running gcov in . (disable via -X gcov) 20:33:08 ==> Python coveragepy not found 20:33:08 ==> Searching for coverage reports in: 20:33:08 + . 20:33:08 -> Found 1 reports 20:33:08 ==> Detecting git/mercurial file structure 20:33:09 ==> Reading reports 20:33:09 + ./coverage.out bytes=14499 20:33:09 ==> Appending adjustments 20:33:09 https://docs.codecov.io/docs/fixing-reports 20:33:09 + Found adjustments 20:33:09 ==> Gzipping contents 20:33:09 4.0K /tmp/codecov.af9k60.gz 20:33:09 ==> Uploading reports 20:33:09 url: https://codecov.io 20:33:09 query: branch=PR-363&commit=238ac675b534bf811069c41c04debdd8b62de6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 20:33:09 -> Pinging Codecov 20:33:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-363&commit=238ac675b534bf811069c41c04debdd8b62de6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 20:33:09 -> Uploading to 20:33:09 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/4E5D53B4F1F92C436F7061BF334D961C/238ac675b534bf811069c41c04debdd8b62de6e1/4af6c6f7-7c14-4b6e-a0ba-f31df1c35095.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T203309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=969db4552426aa3a2be25f846e7ce0040e35e1ea63f507d8c09059a7b77e01f4 20:33:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:33:09 Dload Upload Total Spent Left Speed 20:33:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9512 --:--:-- --:--:-- --:--:-- 9512 20:33:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/238ac675b534bf811069c41c04debdd8b62de6e1 [Pipeline] } 20:33:09 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 20:33:11 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-363/archives ] 20:33:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 20:33:11 total 16 20:33:11 drwxr-xr-x 3 root root 4096 Nov 7 20:24 . 20:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:24 .. 20:33:11 drwxr-xr-x 2 root root 4096 Nov 7 20:24 cost 20:33:11 -rw-r--r-- 1 root root 86 Nov 7 20:24 cost.csv 20:33:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-363/archives 20:33:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 20:33:11 total 16 20:33:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:24 . 20:33:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:24 .. 20:33:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:24 cost 20:33:11 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:33:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:33:12 ---> package-listing.sh 20:33:12 ++ facter osfamily 20:33:12 ++ tr '[:upper:]' '[:lower:]' 20:33:13 + OS_FAMILY=debian 20:33:13 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-363 20:33:13 + START_PACKAGES=/tmp/packages_start.txt 20:33:13 + END_PACKAGES=/tmp/packages_end.txt 20:33:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:33:13 + PACKAGES=/tmp/packages_start.txt 20:33:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 20:33:13 + PACKAGES=/tmp/packages_end.txt 20:33:13 + case "${OS_FAMILY}" in 20:33:13 + grep '^ii' 20:33:13 + dpkg -l 20:33:13 + '[' -f /tmp/packages_start.txt ']' 20:33:13 + '[' -f /tmp/packages_end.txt ']' 20:33:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:33:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 20:33:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ 20:33:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [Pipeline] echo 20:33:13 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:33:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:33:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:14 prd-ubuntu20.04-docker-8c-8g-16884 does not seem to be running inside a container 20:33:14 $ 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-363/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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:33:14 $ docker top 2abe3d4b21962532750dbae3c2d3e84337cf90205586d88da379794071ba2f56 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:14 + touch /tmp/pre-build-complete [Pipeline] sh 20:33:15 + mkdir -p /var/log/sysstat [Pipeline] sh 20:33:15 + ls /var/log/sa-host 20:33:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:15 provisioning config files... 20:33:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config3367094691870781530tmp [Pipeline] { [Pipeline] echo 20:33:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:33:15 ---> create-netrc.sh [Pipeline] } 20:33:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:33:16 ---> python-tools-install.sh [Pipeline] echo 20:33:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:33:16 ---> sudo-logs.sh 20:33:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:33:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:33:17 ---> job-cost.sh 20:33:17 lf-activate-venv: SKIPPING 20:33:17 DEBUG: total: 0.2199999988079071 20:33:17 INFO: Retrieving Stack Cost... 20:33:17 INFO: Retrieving Pricing Info for: v3-standard-8 20:33:17 INFO: Archiving Costs [Pipeline] echo 20:33:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:33:18 ---> logs-deploy.sh 20:33:18 lf-activate-venv: SKIPPING 20:33:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-363/1 20:33:18 INFO: archiving workspace using pattern(s): 20:33:19 Archives upload complete. 20:33:19 INFO: archiving logs to Nexus