Pull request #351 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db8effdb4af4965fb3c4a64109ba6b528fe44092+7254ae82036954a30da847ceb4fb6fc335c14613 (b66c341131e834586dcb17b8ad8ca31bf7446376) 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-ssh14922120867946114362.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1765951334081892949.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-351/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-351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13927955446646731221.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-351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10279262591444755914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2201789180213570850.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-351/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-351/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4677175526785052498.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9156 in /w/workspace/gexfoundry_device-rest-go_PR-351 [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-351 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit db8effdb4af4965fb3c4a64109ba6b528fe44092 Merge succeeded, producing db8effdb4af4965fb3c4a64109ba6b528fe44092 Checking out Revision db8effdb4af4965fb3c4a64109ba6b528fe44092 (PR-351) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 [Pipeline] timeout 20:51:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:51:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:59 ========================================================= 20:51:59 EdgeX Global Pipelines Version Info 20:51:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:52:00 ------------------- 20:52:00 stable info: 20:52:00 ------------------- 20:52:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:52:00 Message: update stable to v1.0.254 20:52:00 ------------------- 20:52:00 experimental info: 20:52:00 ------------------- 20:52:00 Commited By: **** collab-it+edgex@linuxfoundation.org 20:52:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:52:00 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:52:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-351 [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-351 [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-351 [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db8effd [Pipeline] echo 20:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:02 provisioning config files... 20:52:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config13565494268027277250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> docker-login.sh 20:52:02 nexus3.edgexfoundry.org:10001 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 nexus3.edgexfoundry.org:10002 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 nexus3.edgexfoundry.org:10003 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 nexus3.edgexfoundry.org:10004 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:03 Configure a credential helper to remove this warning. See 20:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:03 20:52:03 Login Succeeded 20:52:03 docker.io 20:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:04 Configure a credential helper to remove this warning. See 20:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:04 20:52:04 Login Succeeded 20:52:04 ---> docker-login.sh ends [Pipeline] } 20:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:04 + git rev-list -1 --merges db8effdb4af4965fb3c4a64109ba6b528fe44092~1..db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo 20:52:04 -----------> git rev-list -1 --merges db8effdb4af4965fb3c4a64109ba6b528fe44092~1..db8effdb4af4965fb3c4a64109ba6b528fe44092 db8effdb4af4965fb3c4a64109ba6b528fe44092 [false] [Pipeline] sh 20:52:05 + git log --format=format:%s -1 db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo 20:52:05 ========================================================= 20:52:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:52:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:05 + git log --format=format:%s -1 db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo 20:52:05 [semverPrep] GIT_COMMIT: db8effdb4af4965fb3c4a64109ba6b528fe44092, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:52:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:52:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:52:06 + grep -v github /etc/ssh/ssh_known_hosts 20:52:06 + [ -e /tmp/ssh_known_hosts ] 20:52:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:52:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:52:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:52:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:06 20:52:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:06 0.1.4: Pulling from edgex-devops/py-git-semver 20:52:06 b85a868b505f: Pulling fs layer 20:52:06 e2be974225ed: Pulling fs layer 20:52:06 339a4e72a1f5: Pulling fs layer 20:52:06 988bab9f4d93: Pulling fs layer 20:52:06 1469e6f7b9e6: Pulling fs layer 20:52:06 eaf3925da568: Pulling fs layer 20:52:06 bab4dde63d76: Pulling fs layer 20:52:06 bde34c3a00c8: Pulling fs layer 20:52:06 b352a97aabf1: Pulling fs layer 20:52:06 4872d77fe225: Pulling fs layer 20:52:06 5851b861e8e6: Pulling fs layer 20:52:06 b352a97aabf1: Waiting 20:52:06 988bab9f4d93: Waiting 20:52:06 eaf3925da568: Waiting 20:52:06 4872d77fe225: Waiting 20:52:06 5851b861e8e6: Waiting 20:52:06 bde34c3a00c8: Waiting 20:52:06 e2be974225ed: Download complete 20:52:06 988bab9f4d93: Verifying Checksum 20:52:06 988bab9f4d93: Download complete 20:52:07 1469e6f7b9e6: Verifying Checksum 20:52:07 1469e6f7b9e6: Download complete 20:52:07 339a4e72a1f5: Verifying Checksum 20:52:07 339a4e72a1f5: Download complete 20:52:07 eaf3925da568: Download complete 20:52:07 bde34c3a00c8: Download complete 20:52:07 b352a97aabf1: Verifying Checksum 20:52:07 b352a97aabf1: Download complete 20:52:07 5851b861e8e6: Download complete 20:52:07 b85a868b505f: Verifying Checksum 20:52:07 b85a868b505f: Download complete 20:52:07 bab4dde63d76: Verifying Checksum 20:52:07 bab4dde63d76: Download complete 20:52:08 b85a868b505f: Pull complete 20:52:08 e2be974225ed: Pull complete 20:52:09 339a4e72a1f5: Pull complete 20:52:09 988bab9f4d93: Pull complete 20:52:09 1469e6f7b9e6: Pull complete 20:52:09 eaf3925da568: Pull complete 20:52:11 bab4dde63d76: Pull complete 20:52:11 bde34c3a00c8: Pull complete 20:52:11 b352a97aabf1: Pull complete 20:52:11 4872d77fe225: Pull complete 20:52:11 5851b861e8e6: Pull complete 20:52:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:52:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:12 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 20:52:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@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:52:14 $ docker top 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 -eo pid,comm 20:52:14 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:52:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:14 [ssh-agent] Looking for ssh-agent implementation... 20:52:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:14 $ docker exec 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent 20:52:14 SSH_AUTH_SOCK=/tmp/ssh-hoVTkiNoXVew/agent.31 20:52:14 SSH_AGENT_PID=37 20:52:14 Running ssh-add (command line suppressed) 20:52:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_3827707546347203336.key (/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_3827707546347203336.key) 20:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:14 + git tag --points-at HEAD [Pipeline] } 20:52:14 $ docker exec --env ******** --env ******** 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent -k 20:52:15 unset SSH_AUTH_SOCK; 20:52:15 unset SSH_AGENT_PID; 20:52:15 echo Agent pid 37 killed; 20:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:52:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:15 [ssh-agent] Looking for ssh-agent implementation... 20:52:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:15 $ docker exec 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent 20:52:15 SSH_AUTH_SOCK=/tmp/ssh-WDTBgY0HUJbl/agent.69 20:52:15 SSH_AGENT_PID=75 20:52:15 Running ssh-add (command line suppressed) 20:52:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_11541479896910958988.key (/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_11541479896910958988.key) 20:52:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:15 + git semver init 20:52:16 2023-10-12 20:52:16,093 [run_init] DEBUG init version:0.0.0 force:False 20:52:16 2023-10-12 20:52:16,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver 20:52:16 2023-10-12 20:52:16,094 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-351/.semver 20:52:16 2023-10-12 20:52:16,094 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-351/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351, universal_newlines=False, shell=None, istream=None) 20:52:17 2023-10-12 20:52:17,139 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-351/.git/info/exclude 20:52:17 2023-10-12 20:52:17,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 with force:False 20:52:17 2023-10-12 20:52:17,140 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 20:52:17 2023-10-12 20:52:17,144 [execute] INFO git cat-file --batch-check 20:52:17 2023-10-12 20:52:17,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351/.semver, universal_newlines=False, shell=None, istream=) 20:52:17 2023-10-12 20:52:17,151 [execute] INFO git cat-file --batch 20:52:17 2023-10-12 20:52:17,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351/.semver, universal_newlines=False, shell=None, istream=) 20:52:17 2023-10-12 20:52:17,157 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 20:52:17 0.0.0 [Pipeline] } 20:52:17 $ docker exec --env ******** --env ******** 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent -k 20:52:17 unset SSH_AUTH_SOCK; 20:52:17 unset SSH_AGENT_PID; 20:52:17 echo Agent pid 75 killed; 20:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:18 + git semver [Pipeline] } 20:52:18 $ docker stop --time=1 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 20:52:19 $ docker rm -f --volumes 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:52:20 Stashed 1 file(s) [Pipeline] echo 20:52:20 [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:52:21 provisioning config files... 20:52:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config6960513977505846036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:21 ---> docker-login.sh 20:52:21 nexus3.edgexfoundry.org:10001 20:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:21 Configure a credential helper to remove this warning. See 20:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:21 20:52:21 Login Succeeded 20:52:21 nexus3.edgexfoundry.org:10002 20:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:21 Configure a credential helper to remove this warning. See 20:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:21 20:52:21 Login Succeeded 20:52:21 nexus3.edgexfoundry.org:10003 20:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:21 Configure a credential helper to remove this warning. See 20:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:21 20:52:21 Login Succeeded 20:52:21 nexus3.edgexfoundry.org:10004 20:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:21 Configure a credential helper to remove this warning. See 20:52:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:21 20:52:21 Login Succeeded 20:52:21 docker.io 20:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:22 Configure a credential helper to remove this warning. See 20:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:22 20:52:22 Login Succeeded 20:52:22 ---> docker-login.sh ends [Pipeline] } 20:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:22 ========================================================= 20:52:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:52:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:22 + 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:52:22 Sending build context to Docker daemon 10.94MB 20:52:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:52:22 Step 2/12 : FROM ${BASE} AS builder 20:52:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:52:22 7264a8db6415: Pulling fs layer 20:52:22 c4d48a809fc2: Pulling fs layer 20:52:22 4f1c88b9dad5: Pulling fs layer 20:52:22 ad3a456e5733: Pulling fs layer 20:52:22 33e27b845d1e: Pulling fs layer 20:52:22 c68163c4e522: Pulling fs layer 20:52:22 50da416c3ac9: Pulling fs layer 20:52:22 ad3a456e5733: Waiting 20:52:22 33e27b845d1e: Waiting 20:52:22 c68163c4e522: Waiting 20:52:22 23d2d4c4bb30: Pulling fs layer 20:52:22 50da416c3ac9: Waiting 20:52:22 c4d48a809fc2: Download complete 20:52:23 ad3a456e5733: Verifying Checksum 20:52:23 ad3a456e5733: Download complete 20:52:23 33e27b845d1e: Download complete 20:52:23 7264a8db6415: Verifying Checksum 20:52:23 7264a8db6415: Download complete 20:52:23 c68163c4e522: Verifying Checksum 20:52:23 c68163c4e522: Download complete 20:52:23 7264a8db6415: Pull complete 20:52:23 23d2d4c4bb30: Verifying Checksum 20:52:23 23d2d4c4bb30: Download complete 20:52:23 c4d48a809fc2: Pull complete 20:52:23 4f1c88b9dad5: Verifying Checksum 20:52:23 4f1c88b9dad5: Download complete 20:52:23 50da416c3ac9: Download complete 20:52:27 4f1c88b9dad5: Pull complete 20:52:27 ad3a456e5733: Pull complete 20:52:27 33e27b845d1e: Pull complete 20:52:27 c68163c4e522: Pull complete 20:52:29 50da416c3ac9: Pull complete 20:52:30 23d2d4c4bb30: Pull complete 20:52:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:52:30 ---> 0786185ac409 20:52:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:52:32 ---> Running in c0f5973d2497 20:52:32 Removing intermediate container c0f5973d2497 20:52:32 ---> 52c523e9156f 20:52:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:32 ---> Running in 301f09b123d1 20:52:32 Removing intermediate container 301f09b123d1 20:52:32 ---> fbfb92d58884 20:52:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:52:32 ---> Running in a654d68fb6e5 20:52:32 Removing intermediate container a654d68fb6e5 20:52:32 ---> 07564e4779f9 20:52:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:52:32 ---> Running in 79a2ab8bbf49 20:52:32 Removing intermediate container 79a2ab8bbf49 20:52:32 ---> 49697b208613 20:52:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:32 ---> Running in 247f2546e225 20:52:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:52:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:52:33 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:52:33 (2/4) Installing libedit (20221030.3.1-r1) 20:52:33 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:52:33 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:52:33 Executing busybox-1.36.1-r2.trigger 20:52:33 OK: 268 MiB in 56 packages 20:52:33 Removing intermediate container 247f2546e225 20:52:33 ---> 3f3093fadf60 20:52:33 Step 8/12 : WORKDIR /device-rest-go 20:52:33 ---> Running in d43acf670fe8 20:52:33 Removing intermediate container d43acf670fe8 20:52:33 ---> b706003a2962 20:52:33 Step 9/12 : COPY go.mod vendor* ./ 20:52:34 ---> 99920962483b 20:52:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:34 ---> Running in fa32c6df9963 20:52:35 Still waiting to schedule task 20:52:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:53:41 Removing intermediate container fa32c6df9963 20:53:41 ---> a0636ce0ed12 20:53:41 Step 11/12 : COPY . . 20:53:41 ---> b56eb75fb0e8 20:53:41 Step 12/12 : RUN $MAKE 20:53:41 ---> Running in 9fc5be323dca 20:53:41 noop 20:53:41 Removing intermediate container 9fc5be323dca 20:53:41 ---> fbf9b7efc5cb 20:53:41 Successfully built fbf9b7efc5cb 20:53:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:42 + docker inspect -f . ci-base-image-x86_64 20:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:42 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 20:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@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:53:42 $ docker top 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:43 + go version 20:53:43 go version go1.21.0 linux/amd64 [Pipeline] } 20:53:43 $ docker stop --time=1 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d 20:53:44 $ docker rm -f --volumes 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:45 + docker inspect -f . ci-base-image-x86_64 20:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:45 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 20:53:45 $ 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-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@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:53:45 $ docker top 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-351 [Pipeline] fileExists [Pipeline] sh 20:53:46 + make test 20:53:46 go test ./... -coverprofile=coverage.out ./... 20:53:47 ? github.com/edgexfoundry/device-rest-go [no test files] 20:53:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:53:57 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 20:54:04 go vet ./... 20:54:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:06 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:54:06 $ docker stop --time=1 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 20:54:08 $ docker rm -f --volumes 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:54:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9157 in /w/workspace/gexfoundry_device-rest-go_PR-351 [Pipeline] sh [Pipeline] { [Pipeline] ws 20:54:10 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:54:10 The recommended git tool is: git 20:54:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:10 + ls -al . 20:54:10 total 188 20:54:10 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 20:53 . 20:54:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:51 .. 20:54:10 -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 20:51 .dockerignore 20:54:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:53 .git 20:54:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:51 .github 20:54:10 -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 20:51 .gitignore 20:54:10 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 20:51 .golangci.yml 20:54:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 20:52 .semver 20:54:10 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 12 20:51 Attribution.txt 20:54:10 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 12 20:51 CHANGELOG.md 20:54:10 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 12 20:51 Dockerfile 20:54:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 20:51 GOVERNANCE.md 20:54:10 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 20:51 Jenkinsfile 20:54:10 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 20:51 LICENSE 20:54:10 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 12 20:51 Makefile 20:54:10 -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 20:51 OWNERS.md 20:54:10 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 12 20:51 README.md 20:54:10 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 20:52 VERSION 20:54:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:51 bin 20:54:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:51 cmd 20:54:10 -rw-r--r-- 1 jenkins jenkins 14499 Oct 12 20:53 coverage.out 20:54:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:51 driver 20:54:10 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 12 20:51 go.mod 20:54:10 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 12 20:51 go.sum 20:54:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:51 snap 20:54:10 -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:10 + 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=db8effdb4af4965fb3c4a64109ba6b528fe44092 --label arch=amd64 --label version=0.0.0 . 20:54:10 Sending build context to Docker daemon 10.96MB 20:54:10 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:54:10 Step 2/25 : FROM ${BASE} AS builder 20:54:10 ---> fbf9b7efc5cb 20:54:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:54:10 ---> Running in 08d739006aea 20:54:11 Removing intermediate container 08d739006aea 20:54:11 ---> 2f46828eeb51 20:54:11 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:11 ---> Running in 634da308db07 20:54:11 Removing intermediate container 634da308db07 20:54:11 ---> fcd55cd0422a 20:54:11 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:54:11 ---> Running in 00bec23cb405 20:54:11 Removing intermediate container 00bec23cb405 20:54:11 ---> 8f41a1995936 20:54:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:54:11 ---> Running in 18c882bda286 20:54:11 Removing intermediate container 18c882bda286 20:54:11 ---> 90d9e4a9d2a9 20:54:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:11 ---> Running in 571ac995a650 20:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:54:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:54:12 OK: 268 MiB in 56 packages 20:54:12 Removing intermediate container 571ac995a650 20:54:12 ---> 4a3e886ef302 20:54:12 Step 8/25 : WORKDIR /device-rest-go 20:54:12 ---> Running in 242db00d630e 20:54:12 Removing intermediate container 242db00d630e 20:54:12 ---> 279ab4af78b5 20:54:12 Step 9/25 : COPY go.mod vendor* ./ 20:54:12 ---> 5c8dc326e225 20:54:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:12 ---> Running in a91ce5659011 20:54:13 Removing intermediate container a91ce5659011 20:54:13 ---> fd8b95c9e4d4 20:54:13 Step 11/25 : COPY . . 20:54:13 ---> 8133619bbdb8 20:54:13 Step 12/25 : RUN $MAKE 20:54:13 ---> Running in ed6ecd1ce9f6 20:54:13 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.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:54:14 using credential edgex-jenkins-ssh 20:54:14 Cloning the remote Git repository 20:54:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:54:15 > git init /w/workspace/device-rest-go/1 # timeout=10 20:54:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:54:15 > git --version # timeout=10 20:54:15 > git --version # 'git version 2.25.1' 20:54:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:54:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:54:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:18 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit db8effdb4af4965fb3c4a64109ba6b528fe44092 20:54:18 Merge succeeded, producing db8effdb4af4965fb3c4a64109ba6b528fe44092 20:54:18 Checking out Revision db8effdb4af4965fb3c4a64109ba6b528fe44092 (PR-351) 20:54:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:54:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:54:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:54:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:54:18 > git config core.sparsecheckout # timeout=10 20:54:18 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 20:54:18 > git remote # timeout=10 20:54:18 > git config --get remote.origin.url # timeout=10 20:54:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:54:18 > git merge 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 20:54:18 > git rev-parse HEAD^{commit} # timeout=10 20:54:18 > git config core.sparsecheckout # timeout=10 20:54:18 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 20:54:19 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:54:19 > git --version # timeout=10 20:54:19 > git --version # 'git version 2.25.1' 20:54:19 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:54:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:54:20 Dload Upload Total Spent Left Speed 20:54:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 20:54:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:54:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:54:21 + sudo tee /etc/docker/daemon.new 20:54:21 { 20:54:21 "registry-mirrors": [ 20:54:21 "https://nexus3.edgexfoundry.org:10001" 20:54:21 ], 20:54:21 "bip": "10.250.0.254/24", 20:54:21 "hosts": [ 20:54:21 "tcp://0.0.0.0:5555", 20:54:21 "unix:///var/run/docker.sock" 20:54:21 ], 20:54:21 "mtu": 1458, 20:54:21 "selinux-enabled": true, 20:54:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:54:21 } [Pipeline] sh 20:54:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:54:22 + sudo service docker restart 20:54:35 Removing intermediate container ed6ecd1ce9f6 20:54:35 ---> a5a49b9b6411 20:54:35 Step 13/25 : FROM alpine:3.18 20:54:35 3.18: Pulling from library/alpine 20:54:35 96526aa774ef: Pulling fs layer 20:54:37 96526aa774ef: Verifying Checksum 20:54:37 96526aa774ef: Download complete 20:54:37 96526aa774ef: Pull complete 20:54:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:54:37 Status: Downloaded newer image for alpine:3.18 20:54:37 ---> 8ca4688f4f35 20:54:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:54:37 ---> Running in 9ae46dd1a0cb 20:54:37 Removing intermediate container 9ae46dd1a0cb 20:54:37 ---> 14292807be2b 20:54:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:54:37 ---> Running in a52aa48c1db4 20:54:37 Removing intermediate container a52aa48c1db4 20:54:37 ---> e371e2ac612f 20:54:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:54:37 ---> Running in 5fd3df3a8f99 20:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:54:39 (1/1) Installing dumb-init (1.2.5-r2) 20:54:39 Executing busybox-1.36.1-r2.trigger 20:54:39 OK: 7 MiB in 16 packages 20:54:39 Removing intermediate container 5fd3df3a8f99 20:54:39 ---> 62e6e5b2bf0c 20:54:39 Step 17/25 : COPY --from=builder /device-rest-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:54:40 provisioning config files... 20:54:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9938776003503847401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:41 ---> docker-login.sh 20:54:41 nexus3.edgexfoundry.org:10001 20:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:41 Configure a credential helper to remove this warning. See 20:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:41 20:54:41 Login Succeeded 20:54:41 nexus3.edgexfoundry.org:10002 20:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:41 Configure a credential helper to remove this warning. See 20:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:41 20:54:41 Login Succeeded 20:54:41 nexus3.edgexfoundry.org:10003 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 ---> 3254721a33c6 20:54:42 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 nexus3.edgexfoundry.org:10004 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:42 Configure a credential helper to remove this warning. See 20:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:42 20:54:42 Login Succeeded 20:54:42 docker.io 20:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:42 ---> 75a29df5727b 20:54:42 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:54:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:43 Configure a credential helper to remove this warning. See 20:54:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:43 20:54:43 Login Succeeded 20:54:43 ---> docker-login.sh ends [Pipeline] } 20:54:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:43 ========================================================= 20:54:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:54:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:44 + 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:54:44 Sending build context to Docker daemon 144.4kB 20:54:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:54:44 Step 2/12 : FROM ${BASE} AS builder 20:54:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:54:44 9fda8d8052c6: Pulling fs layer 20:54:44 5d54e960e981: Pulling fs layer 20:54:44 c4a7e357bf2a: Pulling fs layer 20:54:44 f0e02332f6b5: Pulling fs layer 20:54:44 cefa15bbcfad: Pulling fs layer 20:54:44 17808c966233: Pulling fs layer 20:54:44 f4c1fc716caa: Pulling fs layer 20:54:44 cefa15bbcfad: Waiting 20:54:44 17808c966233: Waiting 20:54:44 f4c1fc716caa: Waiting 20:54:44 f0e02332f6b5: Waiting 20:54:44 5d54e960e981: Verifying Checksum 20:54:44 5d54e960e981: Download complete 20:54:44 f0e02332f6b5: Download complete 20:54:44 cefa15bbcfad: Verifying Checksum 20:54:44 cefa15bbcfad: Download complete 20:54:44 9fda8d8052c6: Download complete 20:54:44 f4c1fc716caa: Verifying Checksum 20:54:44 f4c1fc716caa: Download complete 20:54:45 ---> 062e8f8300b6 20:54:45 Step 20/25 : EXPOSE 59986 20:54:45 ---> Running in 09068d760beb 20:54:45 Removing intermediate container 09068d760beb 20:54:45 ---> 7a124710fbe4 20:54:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:54:45 ---> Running in adf639427833 20:54:45 Removing intermediate container adf639427833 20:54:45 ---> 15da96a60c1b 20:54:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:54:45 9fda8d8052c6: Pull complete 20:54:46 ---> Running in 07835a997967 20:54:46 Removing intermediate container 07835a997967 20:54:46 ---> 2019e687838e 20:54:46 Step 23/25 : LABEL arch=amd64 20:54:46 ---> Running in d26e4b7b26fb 20:54:46 Removing intermediate container d26e4b7b26fb 20:54:46 ---> fc86bd073c7a 20:54:46 Step 24/25 : LABEL git_sha=db8effdb4af4965fb3c4a64109ba6b528fe44092 20:54:46 c4a7e357bf2a: Verifying Checksum 20:54:46 c4a7e357bf2a: Download complete 20:54:46 ---> Running in 407691efc438 20:54:47 Removing intermediate container 407691efc438 20:54:47 ---> 9e0ac5ec2ec4 20:54:47 Step 25/25 : LABEL version=0.0.0 20:54:47 ---> Running in ef24583373d2 20:54:47 Removing intermediate container ef24583373d2 20:54:47 ---> 3cdc51d50078 20:54:47 [Warning] One or more build-args [ARCH] were not consumed 20:54:47 Successfully built 3cdc51d50078 20:54:47 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 20:54:47 17808c966233: Verifying Checksum 20:54:47 17808c966233: Download complete [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:54:48 5d54e960e981: Pull complete 20:54:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:49 20:54:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:49 latest: Pulling from edgex-lftools-log-publisher 20:54:49 5eb5b503b376: Pulling fs layer 20:54:49 5c69ac0246d0: Pulling fs layer 20:54:49 ec43610c2a17: Pulling fs layer 20:54:49 3a2ae6a8a46f: Pulling fs layer 20:54:49 33b1e0a273af: Pulling fs layer 20:54:49 5d3b04190fa2: Pulling fs layer 20:54:49 2f39f015ded8: Pulling fs layer 20:54:49 2f39f015ded8: Waiting 20:54:49 33b1e0a273af: Waiting 20:54:49 3a2ae6a8a46f: Waiting 20:54:49 5d3b04190fa2: Waiting 20:54:49 5c69ac0246d0: Download complete 20:54:49 3a2ae6a8a46f: Verifying Checksum 20:54:49 3a2ae6a8a46f: Download complete 20:54:49 33b1e0a273af: Verifying Checksum 20:54:49 33b1e0a273af: Download complete 20:54:49 ec43610c2a17: Verifying Checksum 20:54:49 ec43610c2a17: Download complete 20:54:49 5d3b04190fa2: Verifying Checksum 20:54:49 5d3b04190fa2: Download complete 20:54:49 5eb5b503b376: Verifying Checksum 20:54:49 5eb5b503b376: Download complete 20:54:50 2f39f015ded8: Verifying Checksum 20:54:50 2f39f015ded8: Download complete 20:54:50 5eb5b503b376: Pull complete 20:54:50 5c69ac0246d0: Pull complete 20:54:51 ec43610c2a17: Pull complete 20:54:51 3a2ae6a8a46f: Pull complete 20:54:51 33b1e0a273af: Pull complete 20:54:51 5d3b04190fa2: Pull complete 20:54:55 2f39f015ded8: Pull complete 20:54:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:56 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 20:54: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/gexfoundry_device-rest-go_PR-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@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:54:58 $ docker top 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:59 ---> job-cost.sh 20:54:59 lf-activate-venv: SKIPPING 20:54:59 INFO: No Stack... 20:54:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:54:59 INFO: Archiving Costs [Pipeline] sh 20:54:59 + cat /w/workspace/gexfoundry_device-rest-go_PR-351/archives/cost.csv 20:54:59 + cut -d, -f6 [Pipeline] lock 20:55:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] 20:55:00 Resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] did not exist. Created. 20:55:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:55:00 + echo total: 0.2199999988079071 [Pipeline] stash 20:55:00 Stashed 1 file(s) [Pipeline] } 20:55:00 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:55:00 $ docker stop --time=1 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 20:55:01 $ docker rm -f --volumes 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:55:03 c4a7e357bf2a: Pull complete 20:55:03 f0e02332f6b5: Pull complete 20:55:03 cefa15bbcfad: Pull complete 20:55:11 17808c966233: Pull complete 20:55:12 f4c1fc716caa: Pull complete 20:55:12 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:55:12 ---> ea914061e18c 20:55:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:55:13 ---> Running in 4a3b52b63b91 20:55:13 Removing intermediate container 4a3b52b63b91 20:55:13 ---> 02780307f00d 20:55:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:13 ---> Running in 2a608d10914e 20:55:14 Removing intermediate container 2a608d10914e 20:55:14 ---> 8fe2155e48e8 20:55:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:55:14 ---> Running in 7fc28cf115bf 20:55:14 Removing intermediate container 7fc28cf115bf 20:55:14 ---> 14d37cfc4169 20:55:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:55:14 ---> Running in f49abcc9b8fe 20:55:15 Removing intermediate container f49abcc9b8fe 20:55:15 ---> b7ece6bccbc3 20:55:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:15 ---> Running in d0c5d9fc712a 20:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:55:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:55:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:55:17 (2/4) Installing libedit (20221030.3.1-r1) 20:55:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:55:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:55:17 Executing busybox-1.36.1-r2.trigger 20:55:17 OK: 270 MiB in 56 packages 20:55:18 Removing intermediate container d0c5d9fc712a 20:55:18 ---> ca774e32372d 20:55:18 Step 8/12 : WORKDIR /device-rest-go 20:55:18 ---> Running in 7a05b3575366 20:55:19 Removing intermediate container 7a05b3575366 20:55:19 ---> fbe441f4f440 20:55:19 Step 9/12 : COPY go.mod vendor* ./ 20:55:19 ---> f07e23806d3f 20:55:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:19 ---> Running in 829042066bff 20:56:56 Removing intermediate container 829042066bff 20:56:56 ---> 6bc9bd71cdd4 20:56:56 Step 11/12 : COPY . . 20:56:56 ---> a302fedff437 20:56:56 Step 12/12 : RUN $MAKE 20:56:56 ---> Running in 91d2bfba301c 20:56:56 noop 20:56:56 Removing intermediate container 91d2bfba301c 20:56:56 ---> 6b7f650f2864 20:56:56 Successfully built 6b7f650f2864 20:56:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:56 + docker inspect -f . ci-base-image-arm64 20:56:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:57 prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container 20:56:57 $ 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:56:58 $ docker top 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:59 + go version 20:56:59 go version go1.21.0 linux/arm64 [Pipeline] } 20:56:59 $ docker stop --time=1 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 20:57:03 $ docker rm -f --volumes 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:04 + docker inspect -f . ci-base-image-arm64 20:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container 20:57:04 $ 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:57:05 $ docker top c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:06 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:57:06 + make test 20:57:06 go test ./... -coverprofile=coverage.out ./... 20:57:11 ? github.com/edgexfoundry/device-rest-go [no test files] 20:58:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:58:47 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 20:58:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:58:47 go vet ./... 20:59:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:14 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:14 $ docker stop --time=1 c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a 20:59:16 $ docker rm -f --volumes c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a [Pipeline] // withDockerContainer [Pipeline] sh 20:59:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:17 Warning: overwriting stash ‘coverage-report’ 20:59:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:18 + ls -al . 20:59:18 total 184 20:59:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:57 . 20:59:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:54 .. 20:59:18 -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 20:54 .dockerignore 20:59:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:54 .git 20:59:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:54 .github 20:59:18 -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 20:54 .gitignore 20:59:18 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 20:54 .golangci.yml 20:59:18 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 12 20:54 Attribution.txt 20:59:18 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 12 20:54 CHANGELOG.md 20:59:18 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 12 20:54 Dockerfile 20:59:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 20:54 GOVERNANCE.md 20:59:18 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 20:54 Jenkinsfile 20:59:18 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 20:54 LICENSE 20:59:18 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 12 20:54 Makefile 20:59:18 -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 20:54 OWNERS.md 20:59:18 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 12 20:54 README.md 20:59:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 20:52 VERSION 20:59:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:54 bin 20:59:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:54 cmd 20:59:18 -rw-r--r-- 1 jenkins jenkins 14499 Oct 12 20:58 coverage.out 20:59:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:54 driver 20:59:18 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 12 20:54 go.mod 20:59:18 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 12 20:54 go.sum 20:59:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:54 snap 20:59:18 -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:19 + 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=db8effdb4af4965fb3c4a64109ba6b528fe44092 --label arch=arm64 --label version=0.0.0 . 20:59:19 Sending build context to Docker daemon 159.7kB 20:59:19 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:59:19 Step 2/25 : FROM ${BASE} AS builder 20:59:19 ---> 6b7f650f2864 20:59:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:59:19 ---> Running in dc68532d1711 20:59:19 Removing intermediate container dc68532d1711 20:59:19 ---> f591ad258a97 20:59:19 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:20 ---> Running in f80d45e70d04 20:59:20 Removing intermediate container f80d45e70d04 20:59:20 ---> 56ab779d5202 20:59:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:20 ---> Running in f45b04477f81 20:59:20 Removing intermediate container f45b04477f81 20:59:20 ---> 1a6f6e7dba41 20:59:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:59:20 ---> Running in 9ad2bb4a0c28 20:59:20 Removing intermediate container 9ad2bb4a0c28 20:59:20 ---> 1af264923509 20:59:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:21 ---> Running in b3d9cb7fc0f5 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:59:23 OK: 270 MiB in 56 packages 20:59:24 Removing intermediate container b3d9cb7fc0f5 20:59:24 ---> da70ad36ef3f 20:59:24 Step 8/25 : WORKDIR /device-rest-go 20:59:24 ---> Running in 1af15c90878e 20:59:24 Removing intermediate container 1af15c90878e 20:59:24 ---> f6ebdd8a11a0 20:59:24 Step 9/25 : COPY go.mod vendor* ./ 20:59:25 ---> c57361c772c4 20:59:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:25 ---> Running in ad4201378bc0 20:59:27 Removing intermediate container ad4201378bc0 20:59:27 ---> 830c063e9bbd 20:59:27 Step 11/25 : COPY . . 20:59:27 ---> 6d5d6c810ac5 20:59:27 Step 12/25 : RUN $MAKE 20:59:27 ---> Running in 58da76ad1e29 20:59:28 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.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:01:20 Removing intermediate container 58da76ad1e29 21:01:20 ---> a0ddfc82b5e5 21:01:20 Step 13/25 : FROM alpine:3.18 21:01:20 3.18: Pulling from library/alpine 21:01:20 579b34f0a95b: Pulling fs layer 21:01:20 579b34f0a95b: Verifying Checksum 21:01:20 579b34f0a95b: Download complete 21:01:20 579b34f0a95b: Pull complete 21:01:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:01:20 Status: Downloaded newer image for alpine:3.18 21:01:20 ---> 3cc203321400 21:01:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:01:20 ---> Running in 7cf6dd4543f0 21:01:20 Removing intermediate container 7cf6dd4543f0 21:01:20 ---> 00cdfd3793f9 21:01:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:01:20 ---> Running in 5f5959342cd9 21:01:20 Removing intermediate container 5f5959342cd9 21:01:20 ---> 476dffd1a3ec 21:01:20 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:01:20 ---> Running in 92b1dbbf4716 21:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:01:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:01:20 (1/1) Installing dumb-init (1.2.5-r2) 21:01:20 Executing busybox-1.36.1-r2.trigger 21:01:20 OK: 8 MiB in 16 packages 21:01:20 Removing intermediate container 92b1dbbf4716 21:01:20 ---> 0e35d84ed580 21:01:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:01:20 ---> 416a96ca94e9 21:01:20 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:01:20 ---> 7e4688595517 21:01:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:01:20 ---> ad9e648d3057 21:01:20 Step 20/25 : EXPOSE 59986 21:01:20 ---> Running in cec9e01d1c22 21:01:20 Removing intermediate container cec9e01d1c22 21:01:20 ---> 714c3146098c 21:01:20 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:01:20 ---> Running in 96d09ef3da66 21:01:20 Removing intermediate container 96d09ef3da66 21:01:20 ---> c5fa1d3ed044 21:01:20 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:01:20 ---> Running in 5b3d2e5e0025 21:01:20 Removing intermediate container 5b3d2e5e0025 21:01:20 ---> c667bde5d433 21:01:20 Step 23/25 : LABEL arch=arm64 21:01:20 ---> Running in 14e99bc57961 21:01:20 Removing intermediate container 14e99bc57961 21:01:20 ---> c01ae5049dda 21:01:20 Step 24/25 : LABEL git_sha=db8effdb4af4965fb3c4a64109ba6b528fe44092 21:01:20 ---> Running in 623b3cfc4778 21:01:20 Removing intermediate container 623b3cfc4778 21:01:20 ---> 8b5fc87903d7 21:01:20 Step 25/25 : LABEL version=0.0.0 21:01:20 ---> Running in 0fdf96d8a910 21:01:20 Removing intermediate container 0fdf96d8a910 21:01:20 ---> bfd194b798da 21:01:20 [Warning] One or more build-args [ARCH] were not consumed 21:01:20 Successfully built bfd194b798da 21:01: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 21:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:21 21:01:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:21 arm64: Pulling from edgex-lftools-log-publisher 21:01:21 8998bd30e6a1: Pulling fs layer 21:01:21 04944245beec: Pulling fs layer 21:01:21 699f458cf7ca: Pulling fs layer 21:01:21 765212b225bb: Pulling fs layer 21:01:21 f23df028b6ca: Pulling fs layer 21:01:21 d65c8cfc05b1: Pulling fs layer 21:01:21 2437ff75d9bd: Pulling fs layer 21:01:21 f23df028b6ca: Waiting 21:01:21 d65c8cfc05b1: Waiting 21:01:21 2437ff75d9bd: Waiting 21:01:21 765212b225bb: Waiting 21:01:21 04944245beec: Verifying Checksum 21:01:21 04944245beec: Download complete 21:01:21 765212b225bb: Verifying Checksum 21:01:21 765212b225bb: Download complete 21:01:21 f23df028b6ca: Download complete 21:01:21 d65c8cfc05b1: Verifying Checksum 21:01:21 d65c8cfc05b1: Download complete 21:01:21 699f458cf7ca: Verifying Checksum 21:01:21 699f458cf7ca: Download complete 21:01:22 8998bd30e6a1: Verifying Checksum 21:01:22 8998bd30e6a1: Download complete 21:01:24 2437ff75d9bd: Verifying Checksum 21:01:24 2437ff75d9bd: Download complete 21:01:27 8998bd30e6a1: Pull complete 21:01:27 04944245beec: Pull complete 21:01:28 699f458cf7ca: Pull complete 21:01:29 765212b225bb: Pull complete 21:01:30 f23df028b6ca: Pull complete 21:01:30 d65c8cfc05b1: Pull complete 21:01:48 2437ff75d9bd: Pull complete 21:01:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:49 prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container 21:01:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:01:51 $ docker top 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:52 ---> job-cost.sh 21:01:52 lf-activate-venv: SKIPPING 21:01:52 INFO: No Stack... 21:01:52 INFO: Retrieving Pricing Info for: v3-standard-4 21:01:53 INFO: Archiving Costs [Pipeline] sh 21:01:54 + cut -d, -f6 21:01:54 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 21:01:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] 21:01:54 Resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] did not exist. Created. 21:01:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:54 /w/workspace/device-rest-go/1@tmp/durable-e1f515fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:01:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:01:55 Warning: overwriting stash ‘stack-cost’ 21:01:56 Stashed 1 file(s) [Pipeline] } 21:01:56 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:56 $ docker stop --time=1 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 21:01:57 $ docker rm -f --volumes 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:01:58 provisioning config files... 21:01:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config4258697533709547630tmp [Pipeline] { [Pipeline] sh 21:01:58 + set +x 21:01:58 + + curl -s https://codecov.io/bash 21:01:58 bash -s -- 21:01:58 21:01:58 _____ _ 21:01:58 / ____| | | 21:01:58 | | ___ __| | ___ ___ _____ __ 21:01:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:01:58 | |___| (_) | (_| | __/ (_| (_) \ V / 21:01:58 \_____\___/ \__,_|\___|\___\___/ \_/ 21:01:58 Bash-1.0.6 21:01:58 21:01:58 21:01:58 ==> git version 2.25.1 found 21:01:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:01:58 Release-Date: 2020-01-08 21:01:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:01:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:01:58 ==> Jenkins CI detected. 21:01:58 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-351 21:01:58 project root: . 21:01:58 --> token set from env 21:01:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:01:59 ==> Running gcov in . (disable via -X gcov) 21:01:59 ==> Python coveragepy not found 21:01:59 ==> Searching for coverage reports in: 21:01:59 + . 21:01:59 -> Found 1 reports 21:01:59 ==> Detecting git/mercurial file structure 21:01:59 ==> Reading reports 21:01:59 + ./coverage.out bytes=14499 21:01:59 ==> Appending adjustments 21:01:59 https://docs.codecov.io/docs/fixing-reports 21:01:59 + Found adjustments 21:01:59 ==> Gzipping contents 21:01:59 4.0K /tmp/codecov.LlzuoQ.gz 21:01:59 ==> Uploading reports 21:01:59 url: https://codecov.io 21:01:59 query: branch=PR-351&commit=db8effdb4af4965fb3c4a64109ba6b528fe44092&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=351&job=&cmd_args= 21:01:59 -> Pinging Codecov 21:01:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-351&commit=db8effdb4af4965fb3c4a64109ba6b528fe44092&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=351&job=&cmd_args= 21:01:59 -> Uploading to 21:01:59 https://storage.googleapis.com/codecov/v4/raw/2023-10-12/4E5D53B4F1F92C436F7061BF334D961C/db8effdb4af4965fb3c4a64109ba6b528fe44092/8914b4ff-26cc-4a9d-b6fc-a93dc95983c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T210159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85cb9b33871442c92ecdc1ab79a4fe72984ac789b0d191f2433f05f555517b4b 21:01:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:59 Dload Upload Total Spent Left Speed 21:01:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8967 --:--:-- --:--:-- --:--:-- 8935 100 2493 0 0 100 2493 0 8967 --:--:-- --:--:-- --:--:-- 8935 21:01:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] } 21:01:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:02:01 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-351/archives ] 21:02:01 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-351/archives 21:02:01 total 16 21:02:01 drwxr-xr-x 3 root root 4096 Oct 12 20:54 . 21:02:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 20:55 .. 21:02:01 drwxr-xr-x 2 root root 4096 Oct 12 20:54 cost 21:02:01 -rw-r--r-- 1 root root 86 Oct 12 20:54 cost.csv 21:02:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-351/archives 21:02:01 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-351/archives 21:02:01 total 16 21:02:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 20:54 . 21:02:01 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 20:55 .. 21:02:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 20:54 cost 21:02:01 -rw-r--r-- 1 jenkins jenkins 86 Oct 12 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:02:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:02:02 ---> package-listing.sh 21:02:02 ++ facter osfamily 21:02:02 ++ tr '[:upper:]' '[:lower:]' 21:02:02 + OS_FAMILY=debian 21:02:02 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-351 21:02:02 + START_PACKAGES=/tmp/packages_start.txt 21:02:02 + END_PACKAGES=/tmp/packages_end.txt 21:02:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:02:02 + PACKAGES=/tmp/packages_start.txt 21:02:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-351 ']' 21:02:02 + PACKAGES=/tmp/packages_end.txt 21:02:02 + case "${OS_FAMILY}" in 21:02:02 + dpkg -l 21:02:02 + grep '^ii' 21:02:02 + '[' -f /tmp/packages_start.txt ']' 21:02:02 + '[' -f /tmp/packages_end.txt ']' 21:02:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:02:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-351 ']' 21:02:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-351/archives/ 21:02:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-351/archives/ [Pipeline] echo 21:02:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-351/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:02:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:04 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 21:02:04 $ 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-351/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-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:02:04 $ docker top eb03ce97e2146d9637ca5226101085762570209bed6b2b670477b65a4474ea79 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:04 + touch /tmp/pre-build-complete [Pipeline] sh 21:02:04 + mkdir -p /var/log/sysstat [Pipeline] sh 21:02:05 + ls /var/log/sa-host 21:02:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:05 provisioning config files... 21:02:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config5427188728935919402tmp [Pipeline] { [Pipeline] echo 21:02:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:02:05 ---> create-netrc.sh [Pipeline] } 21:02:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:02:06 ---> python-tools-install.sh [Pipeline] echo 21:02:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:02:06 ---> sudo-logs.sh 21:02:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:02:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:02:07 ---> job-cost.sh 21:02:07 lf-activate-venv: SKIPPING 21:02:07 DEBUG: total: 0.2199999988079071 21:02:07 INFO: Retrieving Stack Cost... 21:02:07 INFO: Retrieving Pricing Info for: v3-standard-8 21:02:07 INFO: Archiving Costs [Pipeline] echo 21:02:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:02:08 ---> logs-deploy.sh 21:02:08 lf-activate-venv: SKIPPING 21:02:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-351/1 21:02:08 INFO: archiving workspace using pattern(s): 21:02:09 Archives upload complete. 21:02:09 INFO: archiving logs to Nexus