Pull request #330 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of IkerDC for edgexfoundry/device-rest-go Loading trusted files from base branch main at 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 rather than 643a97199c8bb7463189a86b2e8aee2523b299e7 Obtained Jenkinsfile from 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 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-ssh16828475561322026593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh950352408858565771.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-330/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14392340443883995575.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5238436031435679038.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-330/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6228687154197677047.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2742 in /w/workspace/gexfoundry_device-rest-go_PR-330 [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-330 # 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/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 643a97199c8bb7463189a86b2e8aee2523b299e7 Merge succeeded, producing 643a97199c8bb7463189a86b2e8aee2523b299e7 Checking out Revision 643a97199c8bb7463189a86b2e8aee2523b299e7 (PR-330) > git config core.sparsecheckout # timeout=10 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # 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 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 Commit message: "fix: Range check for float64/32 equal to 0.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:52:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:52:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:52:02 ========================================================= 09:52:02 EdgeX Global Pipelines Version Info 09:52:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:52:03 ------------------- 09:52:03 stable info: 09:52:03 ------------------- 09:52:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:52:03 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:52:03 Message: update stable to v1.0.250 > git rev-list --no-walk 37fb718cbaf2c761f5228c453cbd3f7c499322ad # timeout=10 09:52:03 ------------------- 09:52:03 experimental info: 09:52:03 ------------------- 09:52:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:52:03 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 09:52:03 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:52:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-330 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-330 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-330 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 643a971 [Pipeline] echo 09:52:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:04 provisioning config files... 09:52:04 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config8777848739441463644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:04 ---> docker-login.sh 09:52:04 nexus3.edgexfoundry.org:10001 09:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:04 Configure a credential helper to remove this warning. See 09:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:04 09:52:04 Login Succeeded 09:52:04 nexus3.edgexfoundry.org:10002 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:05 Configure a credential helper to remove this warning. See 09:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:05 09:52:05 Login Succeeded 09:52:05 nexus3.edgexfoundry.org:10003 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:05 Configure a credential helper to remove this warning. See 09:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:05 09:52:05 Login Succeeded 09:52:05 nexus3.edgexfoundry.org:10004 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:05 Configure a credential helper to remove this warning. See 09:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:05 09:52:05 Login Succeeded 09:52:05 docker.io 09:52:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:05 Configure a credential helper to remove this warning. See 09:52:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:05 09:52:05 Login Succeeded 09:52:05 ---> docker-login.sh ends [Pipeline] } 09:52:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:52:06 + git rev-list -1 --merges 643a97199c8bb7463189a86b2e8aee2523b299e7~1..643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo 09:52:06 -----------> git rev-list -1 --merges 643a97199c8bb7463189a86b2e8aee2523b299e7~1..643a97199c8bb7463189a86b2e8aee2523b299e7 643a97199c8bb7463189a86b2e8aee2523b299e7 [false] [Pipeline] sh 09:52:06 + git log --format=format:%s -1 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo 09:52:06 ========================================================= 09:52:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:52:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:06 + git log --format=format:%s -1 643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] echo 09:52:06 [semverPrep] GIT_COMMIT: 643a97199c8bb7463189a86b2e8aee2523b299e7, Commit Message: fix: Range check for float64/32 equal to 0.0 [Pipeline] echo 09:52:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:52:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:52:07 + grep -v github /etc/ssh/ssh_known_hosts 09:52:07 + [ -e /tmp/ssh_known_hosts ] 09:52:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:52:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:52:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:52:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:07 09:52:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:07 0.1.4: Pulling from edgex-devops/py-git-semver 09:52:07 b85a868b505f: Pulling fs layer 09:52:07 e2be974225ed: Pulling fs layer 09:52:07 339a4e72a1f5: Pulling fs layer 09:52:07 988bab9f4d93: Pulling fs layer 09:52:07 1469e6f7b9e6: Pulling fs layer 09:52:07 eaf3925da568: Pulling fs layer 09:52:07 bab4dde63d76: Pulling fs layer 09:52:07 bde34c3a00c8: Pulling fs layer 09:52:07 b352a97aabf1: Pulling fs layer 09:52:07 4872d77fe225: Pulling fs layer 09:52:07 5851b861e8e6: Pulling fs layer 09:52:07 988bab9f4d93: Waiting 09:52:07 bde34c3a00c8: Waiting 09:52:07 1469e6f7b9e6: Waiting 09:52:07 b352a97aabf1: Waiting 09:52:07 eaf3925da568: Waiting 09:52:07 bab4dde63d76: Waiting 09:52:07 4872d77fe225: Waiting 09:52:07 e2be974225ed: Download complete 09:52:07 988bab9f4d93: Download complete 09:52:07 1469e6f7b9e6: Verifying Checksum 09:52:07 1469e6f7b9e6: Download complete 09:52:07 eaf3925da568: Verifying Checksum 09:52:07 eaf3925da568: Download complete 09:52:07 339a4e72a1f5: Verifying Checksum 09:52:07 339a4e72a1f5: Download complete 09:52:08 bde34c3a00c8: Download complete 09:52:08 b352a97aabf1: Verifying Checksum 09:52:08 b352a97aabf1: Download complete 09:52:08 4872d77fe225: Verifying Checksum 09:52:08 4872d77fe225: Download complete 09:52:08 5851b861e8e6: Verifying Checksum 09:52:08 5851b861e8e6: Download complete 09:52:08 b85a868b505f: Download complete 09:52:08 bab4dde63d76: Verifying Checksum 09:52:09 b85a868b505f: Pull complete 09:52:09 e2be974225ed: Pull complete 09:52:09 339a4e72a1f5: Pull complete 09:52:09 988bab9f4d93: Pull complete 09:52:10 1469e6f7b9e6: Pull complete 09:52:10 eaf3925da568: Pull complete 09:52:12 bab4dde63d76: Pull complete 09:52:12 bde34c3a00c8: Pull complete 09:52:12 b352a97aabf1: Pull complete 09:52:12 4872d77fe225: Pull complete 09:52:12 5851b861e8e6: Pull complete 09:52:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:12 prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container 09: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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:52:16 $ docker top 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd -eo pid,comm 09:52:16 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). 09:52:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:52:16 [ssh-agent] Looking for ssh-agent implementation... 09:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:52:16 $ docker exec 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent 09:52:16 SSH_AUTH_SOCK=/tmp/ssh-E1vXTaXOTGvr/agent.32 09:52:16 SSH_AGENT_PID=38 09:52:16 Running ssh-add (command line suppressed) 09:52:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_14583827139692778819.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_14583827139692778819.key) 09:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:52:16 + git tag --points-at HEAD [Pipeline] } 09:52:16 $ docker exec --env ******** --env ******** 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent -k 09:52:17 unset SSH_AUTH_SOCK; 09:52:17 unset SSH_AGENT_PID; 09:52:17 echo Agent pid 38 killed; 09:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:52:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:52:17 [ssh-agent] Looking for ssh-agent implementation... 09:52:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:52:17 $ docker exec 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent 09:52:17 SSH_AUTH_SOCK=/tmp/ssh-WmAqX156TBBy/agent.70 09:52:17 SSH_AGENT_PID=76 09:52:17 Running ssh-add (command line suppressed) 09:52:17 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_17806630182207671667.key (/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/private_key_17806630182207671667.key) 09:52:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:52:17 + git semver init 09:52:17 2023-08-02 09:52:17,857 [run_init] DEBUG init version:0.0.0 force:False 09:52:17 2023-08-02 09:52:17,857 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver 09:52:17 2023-08-02 09:52:17,858 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-330/.semver 09:52:17 2023-08-02 09:52:17,858 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-330/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330, universal_newlines=False, shell=None, istream=None) 09:52:19 2023-08-02 09:52:18,941 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.git/info/exclude 09:52:19 2023-08-02 09:52:18,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 with force:False 09:52:19 2023-08-02 09:52:18,942 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 09:52:19 2023-08-02 09:52:18,946 [execute] INFO git cat-file --batch-check 09:52:19 2023-08-02 09:52:18,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 09:52:19 2023-08-02 09:52:18,953 [execute] INFO git cat-file --batch 09:52:19 2023-08-02 09:52:18,954 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-330/.semver, universal_newlines=False, shell=None, istream=) 09:52:19 2023-08-02 09:52:18,961 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-330/.semver/PR-330 09:52:19 0.0.0 [Pipeline] } 09:52:19 $ docker exec --env ******** --env ******** 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd ssh-agent -k 09:52:19 unset SSH_AUTH_SOCK; 09:52:19 unset SSH_AGENT_PID; 09:52:19 echo Agent pid 76 killed; 09:52:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:52:19 + git semver [Pipeline] } 09:52:19 $ docker stop --time=1 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd 09:52:21 $ docker rm -f --volumes 77f4289a3203ec9387c62e0c97c9bb57e09b33a50c281da8bd3faeee195b86fd [Pipeline] // withDockerContainer [Pipeline] sh 09:52:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:52:21 Stashed 1 file(s) [Pipeline] echo 09:52:21 [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 09:52:21 provisioning config files... 09:52:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config8619374191476894694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:22 ---> docker-login.sh 09:52:22 nexus3.edgexfoundry.org:10001 09:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:22 Configure a credential helper to remove this warning. See 09:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:22 09:52:22 Login Succeeded 09:52:22 nexus3.edgexfoundry.org:10002 09:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:22 Configure a credential helper to remove this warning. See 09:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:22 09:52:22 Login Succeeded 09:52:22 nexus3.edgexfoundry.org:10003 09:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:22 Configure a credential helper to remove this warning. See 09:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:22 09:52:22 Login Succeeded 09:52:22 nexus3.edgexfoundry.org:10004 09:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:22 Configure a credential helper to remove this warning. See 09:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:22 09:52:22 Login Succeeded 09:52:22 docker.io 09:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:22 Configure a credential helper to remove this warning. See 09:52:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:22 09:52:22 Login Succeeded 09:52:22 ---> docker-login.sh ends [Pipeline] } 09:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:22 ========================================================= 09:52:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:52:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:52:23 Sending build context to Docker daemon 10.9MB 09:52:23 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:52:23 Step 2/12 : FROM ${BASE} AS builder 09:52:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:52:23 4db1b89c0bd1: Pulling fs layer 09:52:23 6911f1a30b25: Pulling fs layer 09:52:23 e194b8c5c2a9: Pulling fs layer 09:52:23 6863d3e3a2b1: Pulling fs layer 09:52:23 ec0bb842ea78: Pulling fs layer 09:52:23 40a00589a448: Pulling fs layer 09:52:23 6c08303d61cc: Pulling fs layer 09:52:23 6863d3e3a2b1: Waiting 09:52:23 ec0bb842ea78: Waiting 09:52:23 40a00589a448: Waiting 09:52:23 798269fcf238: Pulling fs layer 09:52:23 798269fcf238: Waiting 09:52:23 6c08303d61cc: Waiting 09:52:23 6911f1a30b25: Download complete 09:52:23 6863d3e3a2b1: Verifying Checksum 09:52:23 6863d3e3a2b1: Download complete 09:52:23 ec0bb842ea78: Verifying Checksum 09:52:23 ec0bb842ea78: Download complete 09:52:23 4db1b89c0bd1: Verifying Checksum 09:52:23 4db1b89c0bd1: Download complete 09:52:23 40a00589a448: Verifying Checksum 09:52:23 40a00589a448: Download complete 09:52:23 4db1b89c0bd1: Pull complete 09:52:23 6911f1a30b25: Pull complete 09:52:23 798269fcf238: Verifying Checksum 09:52:23 798269fcf238: Download complete 09:52:23 e194b8c5c2a9: Verifying Checksum 09:52:23 e194b8c5c2a9: Download complete 09:52:23 6c08303d61cc: Verifying Checksum 09:52:23 6c08303d61cc: Download complete 09:52:27 e194b8c5c2a9: Pull complete 09:52:27 6863d3e3a2b1: Pull complete 09:52:27 ec0bb842ea78: Pull complete 09:52:27 40a00589a448: Pull complete 09:52:29 6c08303d61cc: Pull complete 09:52:30 798269fcf238: Pull complete 09:52:30 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 09:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:52:30 ---> ec979cd7f677 09:52:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:52:34 ---> Running in 103ad3e0bb0d 09:52:34 Removing intermediate container 103ad3e0bb0d 09:52:34 ---> d1b036c3fd93 09:52:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:52:34 ---> Running in 9252181e5626 09:52:34 Removing intermediate container 9252181e5626 09:52:34 ---> a824d43f428a 09:52:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:52:34 ---> Running in 2a0b947bd1be 09:52:34 Removing intermediate container 2a0b947bd1be 09:52:34 ---> a1f9abe5f891 09:52:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:52:34 ---> Running in d6b7d0e825b5 09:52:34 Removing intermediate container d6b7d0e825b5 09:52:34 ---> baaea0f39072 09:52:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:52:34 ---> Running in f3ae05873f08 09:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:52:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:52:35 (1/4) Installing openssh-keygen (9.1_p1-r4) 09:52:35 (2/4) Installing libedit (20221030.3.1-r0) 09:52:35 (3/4) Installing openssh-client-common (9.1_p1-r4) 09:52:35 (4/4) Installing openssh-client-default (9.1_p1-r4) 09:52:35 Executing busybox-1.35.0-r29.trigger 09:52:35 OK: 269 MiB in 57 packages 09:52:35 Removing intermediate container f3ae05873f08 09:52:35 ---> 753b8bf4664d 09:52:35 Step 8/12 : WORKDIR /device-rest-go 09:52:35 ---> Running in fc240f1e8725 09:52:36 Removing intermediate container fc240f1e8725 09:52:36 ---> 249d39af9f4f 09:52:36 Step 9/12 : COPY go.mod vendor* ./ 09:52:36 ---> b07082e33ab9 09:52:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:52:36 ---> Running in 75b25b3ca4b1 09:52:36 Still waiting to schedule task 09:52:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:53:08 Removing intermediate container 75b25b3ca4b1 09:53:08 ---> c2caeec5911c 09:53:08 Step 11/12 : COPY . . 09:53:08 ---> 3956486b24e4 09:53:08 Step 12/12 : RUN $MAKE 09:53:08 ---> Running in 782787b2739b 09:53:08 noop 09:53:08 Removing intermediate container 782787b2739b 09:53:08 ---> 154584a6a526 09:53:08 Successfully built 154584a6a526 09:53:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:08 + docker inspect -f . ci-base-image-x86_64 09:53:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:08 prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container 09:53:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:09 $ docker top a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:09 + go version 09:53:09 go version go1.20.6 linux/amd64 [Pipeline] } 09:53:09 $ docker stop --time=1 a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 09:53:10 $ docker rm -f --volumes a9a5849a08fada2072250b644b060f3e1a4fbdb38c370a55678f049ba6356c57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:11 + docker inspect -f . ci-base-image-x86_64 09:53:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:11 prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container 09:53:11 $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:11 $ docker top 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] fileExists [Pipeline] sh 09:53:12 + make test 09:53:12 go test ./... -coverprofile=coverage.out ./... 09:53:16 ? github.com/edgexfoundry/device-rest-go [no test files] 09:53:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:53:26 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 09:53:31 go vet ./... 09:53:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:53:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:53:34 ./bin/test-attribution-txt.sh [Pipeline] echo 09:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:53:35 $ docker stop --time=1 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 09:53:38 $ docker rm -f --volumes 1e1b3361f2c7c26501dfe88e6e14625a91a6e0c42320111064239eee09000e32 [Pipeline] // withDockerContainer [Pipeline] sh 09:53:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:53:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:53:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:53:39 + ls -al . 09:53:39 total 184 09:53:39 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 09:53 . 09:53:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:51 .. 09:53:39 -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:51 .dockerignore 09:53:39 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:52 .git 09:53:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:51 .github 09:53:39 -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:51 .gitignore 09:53:39 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:51 .golangci.yml 09:53:39 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:52 .semver 09:53:39 -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:51 Attribution.txt 09:53:39 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:51 CHANGELOG.md 09:53:39 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:51 Dockerfile 09:53:39 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:51 GOVERNANCE.md 09:53:39 -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:51 Jenkinsfile 09:53:39 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:51 LICENSE 09:53:39 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:51 Makefile 09:53:39 -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:51 OWNERS.md 09:53:39 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:51 README.md 09:53:39 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:52 VERSION 09:53:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:51 bin 09:53:39 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:51 cmd 09:53:39 -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:53 coverage.out 09:53:39 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:51 driver 09:53:39 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:51 go.mod 09:53:39 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:51 go.sum 09:53:39 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:51 snap 09:53:39 -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:39 + 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=643a97199c8bb7463189a86b2e8aee2523b299e7 --label arch=amd64 --label version=0.0.0 . 09:53:39 Sending build context to Docker daemon 10.92MB 09:53:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:53:39 Step 2/25 : FROM ${BASE} AS builder 09:53:39 ---> 154584a6a526 09:53:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:53:40 ---> Running in d240724e5149 09:53:40 Removing intermediate container d240724e5149 09:53:40 ---> 9e0f94a612c4 09:53:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:53:40 ---> Running in 9c3b945f49be 09:53:40 Removing intermediate container 9c3b945f49be 09:53:40 ---> 0caba5bb8a53 09:53:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:53:40 ---> Running in aa4868304d25 09:53:40 Removing intermediate container aa4868304d25 09:53:40 ---> f4172f685a38 09:53:40 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:53:40 ---> Running in 662155f49f31 09:53:40 Removing intermediate container 662155f49f31 09:53:40 ---> 547d97ba98ad 09:53:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:53:40 ---> Running in f812ce32e12d 09:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:53:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:53:41 OK: 269 MiB in 57 packages 09:53:41 Removing intermediate container f812ce32e12d 09:53:41 ---> 232630d9d2ec 09:53:41 Step 8/25 : WORKDIR /device-rest-go 09:53:41 ---> Running in 0f07ccccce77 09:53:41 Removing intermediate container 0f07ccccce77 09:53:41 ---> 19f49f093280 09:53:41 Step 9/25 : COPY go.mod vendor* ./ 09:53:41 ---> 9e256e8b49f5 09:53:41 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:53:41 ---> Running in 89b3422d04f2 09:53:42 Removing intermediate container 89b3422d04f2 09:53:42 ---> 268fdabf1d0f 09:53:42 Step 11/25 : COPY . . 09:53:42 ---> 4066f6284af7 09:53:42 Step 12/25 : RUN $MAKE 09:53:42 ---> Running in 99a7c7fab41d 09:53:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 09:54:01 Removing intermediate container 99a7c7fab41d 09:54:01 ---> 792853527c21 09:54:01 Step 13/25 : FROM alpine:3.17 09:54:01 3.17: Pulling from library/alpine 09:54:01 4db1b89c0bd1: Already exists 09:54:01 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 09:54:01 Status: Downloaded newer image for alpine:3.17 09:54:01 ---> 1f73a9d63274 09:54:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:54:01 ---> Running in 45223344c14e 09:54:01 Removing intermediate container 45223344c14e 09:54:01 ---> 5f7f6eb52a39 09:54:01 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 09:54:01 ---> Running in 5586d7ce7adf 09:54:01 Removing intermediate container 5586d7ce7adf 09:54:01 ---> 18c5af532536 09:54:01 Step 16/25 : RUN apk add --update --no-cache dumb-init 09:54:01 ---> Running in 20b06ef16aef 09:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:54:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:54:01 (1/1) Installing dumb-init (1.2.5-r2) 09:54:01 Executing busybox-1.35.0-r29.trigger 09:54:01 OK: 7 MiB in 16 packages 09:54:02 Removing intermediate container 20b06ef16aef 09:54:02 ---> bd28a5732e63 09:54:02 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 09:54:02 ---> 8dd1d09b787b 09:54:02 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 09:54:02 ---> 02a160f9ec9a 09:54:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 09:54:02 ---> aa75ad57e07f 09:54:02 Step 20/25 : EXPOSE 59986 09:54:02 ---> Running in 522c16eb0195 09:54:03 Removing intermediate container 522c16eb0195 09:54:03 ---> 2e7885b05131 09:54:03 Step 21/25 : ENTRYPOINT ["/device-rest"] 09:54:03 ---> Running in 243bd6eb44c7 09:54:03 Removing intermediate container 243bd6eb44c7 09:54:03 ---> 74460286267b 09:54:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:54:03 ---> Running in d506d5773f55 09:54:03 Removing intermediate container d506d5773f55 09:54:03 ---> 338a43a192c7 09:54:03 Step 23/25 : LABEL arch=amd64 09:54:03 ---> Running in 69a12a2cea57 09:54:03 Removing intermediate container 69a12a2cea57 09:54:03 ---> ea0244d45004 09:54:03 Step 24/25 : LABEL git_sha=643a97199c8bb7463189a86b2e8aee2523b299e7 09:54:03 ---> Running in 86456af76931 09:54:03 Removing intermediate container 86456af76931 09:54:03 ---> 0d1ffedd3819 09:54:03 Step 25/25 : LABEL version=0.0.0 09:54:03 ---> Running in 981a2b9658bd 09:54:03 Removing intermediate container 981a2b9658bd 09:54:03 ---> 3cf06e74ee62 09:54:03 [Warning] One or more build-args [ARCH] were not consumed 09:54:03 Successfully built 3cf06e74ee62 09:54:03 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:03 09:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:04 latest: Pulling from edgex-lftools-log-publisher 09:54:04 5eb5b503b376: Pulling fs layer 09:54:04 5c69ac0246d0: Pulling fs layer 09:54:04 ec43610c2a17: Pulling fs layer 09:54:04 3a2ae6a8a46f: Pulling fs layer 09:54:04 33b1e0a273af: Pulling fs layer 09:54:04 5d3b04190fa2: Pulling fs layer 09:54:04 2f39f015ded8: Pulling fs layer 09:54:04 33b1e0a273af: Waiting 09:54:04 5d3b04190fa2: Waiting 09:54:04 2f39f015ded8: Waiting 09:54:04 3a2ae6a8a46f: Waiting 09:54:04 5c69ac0246d0: Download complete 09:54:04 ec43610c2a17: Verifying Checksum 09:54:04 ec43610c2a17: Download complete 09:54:04 33b1e0a273af: Verifying Checksum 09:54:04 33b1e0a273af: Download complete 09:54:04 5d3b04190fa2: Verifying Checksum 09:54:04 5d3b04190fa2: Download complete 09:54:04 5eb5b503b376: Verifying Checksum 09:54:04 5eb5b503b376: Download complete 09:54:04 2f39f015ded8: Verifying Checksum 09:54:04 2f39f015ded8: Download complete 09:54:05 5eb5b503b376: Pull complete 09:54:05 5c69ac0246d0: Pull complete 09:54:06 ec43610c2a17: Pull complete 09:54:06 3a2ae6a8a46f: Pull complete 09:54:06 33b1e0a273af: Pull complete 09:54:06 5d3b04190fa2: Pull complete 09:54:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2743 in /w/workspace/gexfoundry_device-rest-go_PR-330 [Pipeline] { [Pipeline] ws 09:54:10 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 09:54:10 The recommended git tool is: git 09:54:10 2f39f015ded8: Pull complete 09:54:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:54:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:10 prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container 09:54:10 $ 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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:14 $ docker top b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:14 ---> job-cost.sh 09:54:14 lf-activate-venv: SKIPPING 09:54:14 INFO: No Stack... 09:54:15 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:15 INFO: Archiving Costs [Pipeline] sh 09:54:15 using credential edgex-jenkins-ssh 09:54:15 + cat /w/workspace/gexfoundry_device-rest-go_PR-330/archives/cost.csv 09:54:15 + cut -d, -f6 09:54:15 Cloning the remote Git repository [Pipeline] lock 09:54:15 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] 09:54:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] did not exist. Created. 09:54:15 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:16 + echo total: 0.2199999988079071 [Pipeline] stash 09:54:16 Stashed 1 file(s) [Pipeline] } 09:54:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:54:16 $ docker stop --time=1 b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 09:54:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 09:54:15 > git init /w/workspace/device-rest-go/4 # timeout=10 09:54:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:54:16 > git --version # timeout=10 09:54:16 > git --version # 'git version 2.25.1' 09:54:16 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:17 $ docker rm -f --volumes b9151b32810037fa2b33fd2faf4131179bb480f65be85e283df07e2ec4505fb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:54:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:54:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:54:19 Merging remotes/origin/main commit 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 into PR head commit 643a97199c8bb7463189a86b2e8aee2523b299e7 09:54:19 Merge succeeded, producing 643a97199c8bb7463189a86b2e8aee2523b299e7 09:54:19 Checking out Revision 643a97199c8bb7463189a86b2e8aee2523b299e7 (PR-330) 09:54:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 09:54:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 09:54:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/330/head:refs/remotes/origin/PR-330 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:54:19 > git config core.sparsecheckout # timeout=10 09:54:19 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 09:54:19 > git remote # timeout=10 09:54:19 > git config --get remote.origin.url # timeout=10 09:54:19 using GIT_SSH to set credentials SSH Credentials for GitHub 09:54:19 > git merge 6984bd02a2866bf9b87fc96ef714c6b0a78c1db3 # timeout=10 09:54:19 > git rev-parse HEAD^{commit} # timeout=10 09:54:19 > git config core.sparsecheckout # timeout=10 09:54:20 > git checkout -f 643a97199c8bb7463189a86b2e8aee2523b299e7 # timeout=10 09:54:23 Commit message: "fix: Range check for float64/32 equal to 0.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:54:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:54:24 % Total % Received % Xferd Average Speed Time Time Time Current 09:54:24 Dload Upload Total Spent Left Speed 09:54:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 09:54:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:54:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:54:25 + sudo tee /etc/docker/daemon.new 09:54:25 { 09:54:25 "registry-mirrors": [ 09:54:25 "https://nexus3.edgexfoundry.org:10001" 09:54:25 ], 09:54:25 "bip": "10.250.0.254/24", 09:54:25 "hosts": [ 09:54:25 "tcp://0.0.0.0:5555", 09:54:25 "unix:///var/run/docker.sock" 09:54:25 ], 09:54:25 "mtu": 1458, 09:54:25 "selinux-enabled": true, 09:54:25 "seccomp-profile": "/etc/docker/seccomp.json" 09:54:25 } [Pipeline] sh 09:54:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:54:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:48 provisioning config files... 09:54:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config14725237155093070056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:48 ---> docker-login.sh 09:54:48 nexus3.edgexfoundry.org:10001 09:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:49 Configure a credential helper to remove this warning. See 09:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:49 09:54:49 Login Succeeded 09:54:49 nexus3.edgexfoundry.org:10002 09:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:49 Configure a credential helper to remove this warning. See 09:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:49 09:54:49 Login Succeeded 09:54:49 nexus3.edgexfoundry.org:10003 09:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:49 Configure a credential helper to remove this warning. See 09:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:49 09:54:49 Login Succeeded 09:54:49 nexus3.edgexfoundry.org:10004 09:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:50 Configure a credential helper to remove this warning. See 09:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:50 09:54:50 Login Succeeded 09:54:50 docker.io 09:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:54:50 Configure a credential helper to remove this warning. See 09:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:54:50 09:54:50 Login Succeeded 09:54:50 ---> docker-login.sh ends [Pipeline] } 09:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:54:50 ========================================================= 09:54:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:54:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:51 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 09:54:51 Sending build context to Docker daemon 142.3kB 09:54:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:54:51 Step 2/12 : FROM ${BASE} AS builder 09:54:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:54:51 edb6bdbacee9: Pulling fs layer 09:54:51 5f9638ab2659: Pulling fs layer 09:54:51 8d51d6327a98: Pulling fs layer 09:54:51 8b374f2dd631: Pulling fs layer 09:54:51 ec14aa9079de: Pulling fs layer 09:54:51 2f466654f4bb: Pulling fs layer 09:54:51 554e91adad29: Pulling fs layer 09:54:51 8b374f2dd631: Waiting 09:54:51 ec14aa9079de: Waiting 09:54:51 2f466654f4bb: Waiting 09:54:51 554e91adad29: Waiting 09:54:51 5f9638ab2659: Verifying Checksum 09:54:51 5f9638ab2659: Download complete 09:54:51 8b374f2dd631: Download complete 09:54:51 ec14aa9079de: Verifying Checksum 09:54:51 ec14aa9079de: Download complete 09:54:51 edb6bdbacee9: Verifying Checksum 09:54:52 edb6bdbacee9: Pull complete 09:54:53 554e91adad29: Verifying Checksum 09:54:53 554e91adad29: Download complete 09:54:53 5f9638ab2659: Pull complete 09:54:54 8d51d6327a98: Verifying Checksum 09:54:54 8d51d6327a98: Download complete 09:54:54 2f466654f4bb: Verifying Checksum 09:54:54 2f466654f4bb: Download complete 09:55:04 8d51d6327a98: Pull complete 09:55:04 8b374f2dd631: Pull complete 09:55:04 ec14aa9079de: Pull complete 09:55:12 2f466654f4bb: Pull complete 09:55:14 554e91adad29: Pull complete 09:55:14 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 09:55:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:55:14 ---> 1e15ea492957 09:55:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:55:16 ---> Running in 7c7590eee5fc 09:55:16 Removing intermediate container 7c7590eee5fc 09:55:16 ---> e40fb16f53a7 09:55:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:55:16 ---> Running in 1656cfe609d4 09:55:16 Removing intermediate container 1656cfe609d4 09:55:16 ---> d321ef85a54f 09:55:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:55:16 ---> Running in 0af231752558 09:55:17 Removing intermediate container 0af231752558 09:55:17 ---> edade3cd2131 09:55:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:55:17 ---> Running in 6319ea6404c4 09:55:17 Removing intermediate container 6319ea6404c4 09:55:17 ---> ab87db25712b 09:55:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:55:17 ---> Running in 26abd8ab034d 09:55:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:55:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:55:20 (1/4) Installing openssh-keygen (9.1_p1-r4) 09:55:20 (2/4) Installing libedit (20221030.3.1-r0) 09:55:20 (3/4) Installing openssh-client-common (9.1_p1-r4) 09:55:20 (4/4) Installing openssh-client-default (9.1_p1-r4) 09:55:20 Executing busybox-1.35.0-r29.trigger 09:55:20 OK: 268 MiB in 57 packages 09:55:21 Removing intermediate container 26abd8ab034d 09:55:21 ---> 3f7e8f7b6a7e 09:55:21 Step 8/12 : WORKDIR /device-rest-go 09:55:21 ---> Running in 44c2fbce8308 09:55:21 Removing intermediate container 44c2fbce8308 09:55:21 ---> 76b34595a967 09:55:21 Step 9/12 : COPY go.mod vendor* ./ 09:55:22 ---> 5b6a323d154b 09:55:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:55:22 ---> Running in 1ad739461834 09:56:30 Removing intermediate container 1ad739461834 09:56:30 ---> f212870c1c80 09:56:30 Step 11/12 : COPY . . 09:56:30 ---> fe59d95eb643 09:56:30 Step 12/12 : RUN $MAKE 09:56:30 ---> Running in 02c863af49c2 09:56:30 noop 09:56:30 Removing intermediate container 02c863af49c2 09:56:30 ---> 58a014769b0b 09:56:30 Successfully built 58a014769b0b 09:56:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:30 + docker inspect -f . ci-base-image-arm64 09:56:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:30 prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container 09:56:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:56:31 $ docker top 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:32 + go version 09:56:32 go version go1.20.6 linux/arm64 [Pipeline] } 09:56:32 $ docker stop --time=1 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 09:56:34 $ docker rm -f --volumes 41266e3f91589ce3253416b679a2bba490563ba03f6c03f2f779fc002bf47336 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:35 + docker inspect -f . ci-base-image-arm64 09:56:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:35 prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container 09:56:35 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:56:36 $ docker top 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:36 + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh 09:56:37 + make test 09:56:37 go test ./... -coverprofile=coverage.out ./... 09:57:09 ? github.com/edgexfoundry/device-rest-go [no test files] 09:59:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 09:59:01 ok github.com/edgexfoundry/device-rest-go/driver 0.126s coverage: 32.2% of statements 09:59:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:59:01 go vet ./... 09:59:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:59:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:59:33 ./bin/test-attribution-txt.sh [Pipeline] echo 09:59:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:59:33 $ docker stop --time=1 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 09:59:35 $ docker rm -f --volumes 609b3892619e54b591af51e46868e071a34817a7581f10bfafa7ea0ea0d22e81 [Pipeline] // withDockerContainer [Pipeline] sh 09:59:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:59:36 Warning: overwriting stash ‘coverage-report’ 09:59:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:59:37 + ls -al . 09:59:37 total 180 09:59:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:56 . 09:59:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:54 .. 09:59:37 -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 09:54 .dockerignore 09:59:37 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 09:54 .git 09:59:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:54 .github 09:59:37 -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 09:54 .gitignore 09:59:37 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 09:54 .golangci.yml 09:59:37 -rw-rw-r-- 1 jenkins jenkins 9331 Aug 2 09:54 Attribution.txt 09:59:37 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 2 09:54 CHANGELOG.md 09:59:37 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 2 09:54 Dockerfile 09:59:37 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 09:54 GOVERNANCE.md 09:59:37 -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 09:54 Jenkinsfile 09:59:37 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 09:54 LICENSE 09:59:37 -rw-rw-r-- 1 jenkins jenkins 1779 Aug 2 09:54 Makefile 09:59:37 -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 09:54 OWNERS.md 09:59:37 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 2 09:54 README.md 09:59:37 -rw-rw-r-- 1 jenkins jenkins 5 Aug 2 09:52 VERSION 09:59:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:54 bin 09:59:37 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 09:54 cmd 09:59:37 -rw-r--r-- 1 jenkins jenkins 14656 Aug 2 09:58 coverage.out 09:59:37 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 09:54 driver 09:59:37 -rw-rw-r-- 1 jenkins jenkins 3354 Aug 2 09:54 go.mod 09:59:37 -rw-rw-r-- 1 jenkins jenkins 31322 Aug 2 09:54 go.sum 09:59:37 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 09:54 snap 09:59:37 -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 09:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:38 + 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=643a97199c8bb7463189a86b2e8aee2523b299e7 --label arch=arm64 --label version=0.0.0 . 09:59:38 Sending build context to Docker daemon 157.7kB 09:59:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 09:59:38 Step 2/25 : FROM ${BASE} AS builder 09:59:38 ---> 58a014769b0b 09:59:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 09:59:41 ---> Running in 4fc7d694ea61 09:59:41 Removing intermediate container 4fc7d694ea61 09:59:41 ---> 747e194a706f 09:59:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:59:41 ---> Running in 38a3433c6bec 09:59:41 Removing intermediate container 38a3433c6bec 09:59:41 ---> ad306dde5b38 09:59:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:59:41 ---> Running in 1492ca325de7 09:59:42 Removing intermediate container 1492ca325de7 09:59:42 ---> 5dc84d462053 09:59:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 09:59:42 ---> Running in 259f2f851e84 09:59:42 Removing intermediate container 259f2f851e84 09:59:42 ---> f9b5d0a84de0 09:59:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:59:42 ---> Running in ce93ed94e197 09:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:59:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:59:46 OK: 268 MiB in 57 packages 09:59:47 Removing intermediate container ce93ed94e197 09:59:47 ---> e4f10d503deb 09:59:47 Step 8/25 : WORKDIR /device-rest-go 09:59:47 ---> Running in c63276f2f707 09:59:49 Removing intermediate container c63276f2f707 09:59:49 ---> b7ac956431bf 09:59:49 Step 9/25 : COPY go.mod vendor* ./ 09:59:49 ---> 1432fb4f0948 09:59:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:49 ---> Running in 1378bf26b4e6 09:59:53 Removing intermediate container 1378bf26b4e6 09:59:53 ---> 1693d6e731ef 09:59:53 Step 11/25 : COPY . . 09:59:54 ---> 5c1d0ef69991 09:59:54 Step 12/25 : RUN $MAKE 09:59:54 ---> Running in 4255a694c3f1 09:59:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 10:02:17 Removing intermediate container 4255a694c3f1 10:02:17 ---> 2998fb533746 10:02:17 Step 13/25 : FROM alpine:3.17 10:02:17 3.17: Pulling from library/alpine 10:02:17 edb6bdbacee9: Already exists 10:02:17 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 10:02:17 Status: Downloaded newer image for alpine:3.17 10:02:17 ---> 779605e5fbc0 10:02:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:02:17 ---> Running in 25ee6233e990 10:02:17 Removing intermediate container 25ee6233e990 10:02:17 ---> 546c518dad16 10:02:17 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:02:17 ---> Running in 73e3be7d601f 10:02:17 Removing intermediate container 73e3be7d601f 10:02:17 ---> 2e5c59e09ae2 10:02:17 Step 16/25 : RUN apk add --update --no-cache dumb-init 10:02:17 ---> Running in b5af8ba340bd 10:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:02:17 (1/1) Installing dumb-init (1.2.5-r2) 10:02:17 Executing busybox-1.35.0-r29.trigger 10:02:17 OK: 8 MiB in 16 packages 10:02:17 Removing intermediate container b5af8ba340bd 10:02:17 ---> a3ed2fed6a3d 10:02:17 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:02:17 ---> d79bdcba47ff 10:02:17 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:02:17 ---> 97ba09eb728b 10:02:17 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:02:17 ---> aa7f646d40ef 10:02:17 Step 20/25 : EXPOSE 59986 10:02:17 ---> Running in 1053e55bbf90 10:02:17 Removing intermediate container 1053e55bbf90 10:02:17 ---> f1642322ffb6 10:02:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:02:17 ---> Running in 6cdd49306cfa 10:02:17 Removing intermediate container 6cdd49306cfa 10:02:17 ---> 897fff760c17 10:02:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:02:17 ---> Running in f7ef02d5a125 10:02:17 Removing intermediate container f7ef02d5a125 10:02:17 ---> c1be76275ae1 10:02:17 Step 23/25 : LABEL arch=arm64 10:02:17 ---> Running in ced6310d8492 10:02:17 Removing intermediate container ced6310d8492 10:02:17 ---> 1ccf728617d0 10:02:17 Step 24/25 : LABEL git_sha=643a97199c8bb7463189a86b2e8aee2523b299e7 10:02:17 ---> Running in 250438e509a1 10:02:17 Removing intermediate container 250438e509a1 10:02:17 ---> 0b4625588276 10:02:17 Step 25/25 : LABEL version=0.0.0 10:02:17 ---> Running in 3f79124dfbda 10:02:17 Removing intermediate container 3f79124dfbda 10:02:17 ---> eea1758e67a8 10:02:17 [Warning] One or more build-args [ARCH] were not consumed 10:02:17 Successfully built eea1758e67a8 10:02:17 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:18 10:02:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:18 arm64: Pulling from edgex-lftools-log-publisher 10:02:18 8998bd30e6a1: Pulling fs layer 10:02:18 04944245beec: Pulling fs layer 10:02:18 699f458cf7ca: Pulling fs layer 10:02:18 765212b225bb: Pulling fs layer 10:02:18 f23df028b6ca: Pulling fs layer 10:02:18 d65c8cfc05b1: Pulling fs layer 10:02:18 2437ff75d9bd: Pulling fs layer 10:02:18 f23df028b6ca: Waiting 10:02:18 d65c8cfc05b1: Waiting 10:02:18 2437ff75d9bd: Waiting 10:02:18 765212b225bb: Waiting 10:02:18 04944245beec: Verifying Checksum 10:02:18 04944245beec: Download complete 10:02:18 765212b225bb: Verifying Checksum 10:02:18 765212b225bb: Download complete 10:02:18 f23df028b6ca: Verifying Checksum 10:02:18 f23df028b6ca: Download complete 10:02:18 d65c8cfc05b1: Verifying Checksum 10:02:18 d65c8cfc05b1: Download complete 10:02:18 699f458cf7ca: Verifying Checksum 10:02:18 699f458cf7ca: Download complete 10:02:19 8998bd30e6a1: Download complete 10:02:21 2437ff75d9bd: Download complete 10:02:23 8998bd30e6a1: Pull complete 10:02:23 04944245beec: Pull complete 10:02:25 699f458cf7ca: Pull complete 10:02:25 765212b225bb: Pull complete 10:02:26 f23df028b6ca: Pull complete 10:02:26 d65c8cfc05b1: Pull complete 10:02:41 2437ff75d9bd: Pull complete 10:02:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:02:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:41 prd-ubuntu20.04-docker-arm64-4c-16g-2743 does not seem to be running inside a container 10:02:41 $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:02:44 $ docker top 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:45 ---> job-cost.sh 10:02:45 lf-activate-venv: SKIPPING 10:02:45 INFO: No Stack... 10:02:45 INFO: Retrieving Pricing Info for: v3-standard-4 10:02:46 INFO: Archiving Costs [Pipeline] sh 10:02:46 + cat /w/workspace/device-rest-go/4/archives/cost.csv 10:02:46 + cut -d, -f6 [Pipeline] lock 10:02:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] 10:02:47 Resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] did not exist. Created. 10:02:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:47 /w/workspace/device-rest-go/4@tmp/durable-d12756f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:02:48 + echo total: 0.10999999940395355 [Pipeline] stash 10:02:48 Warning: overwriting stash ‘stack-cost’ 10:02:48 Stashed 1 file(s) [Pipeline] } 10:02:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-330-4-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:48 $ docker stop --time=1 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef 10:02:50 $ docker rm -f --volumes 54e072a84680baa88a02581b72a14770447ab2bb5ec7dfce5d34fcdd46a7faef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:02:50 provisioning config files... 10:02:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config13579473521003279376tmp [Pipeline] { [Pipeline] sh 10:02:51 + set +x 10:02:51 + bash -s -- 10:02:51 + curl -s https://codecov.io/bash 10:02:51 10:02:51 _____ _ 10:02:51 / ____| | | 10:02:51 | | ___ __| | ___ ___ _____ __ 10:02:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:51 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:51 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:51 Bash-1.0.6 10:02:51 10:02:51 10:02:51 ==> git version 2.25.1 found 10:02:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:02:51 Release-Date: 2020-01-08 10:02:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:02:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:02:51 ==> Jenkins CI detected. 10:02:51 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-330 10:02:51 project root: . 10:02:51 --> token set from env 10:02:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:51 ==> Running gcov in . (disable via -X gcov) 10:02:51 ==> Python coveragepy not found 10:02:51 ==> Searching for coverage reports in: 10:02:51 + . 10:02:51 -> Found 1 reports 10:02:51 ==> Detecting git/mercurial file structure 10:02:51 ==> Reading reports 10:02:51 + ./coverage.out bytes=14656 10:02:51 ==> Appending adjustments 10:02:51 https://docs.codecov.io/docs/fixing-reports 10:02:51 + Found adjustments 10:02:51 ==> Gzipping contents 10:02:51 4.0K /tmp/codecov.bu6wd3.gz 10:02:51 ==> Uploading reports 10:02:51 url: https://codecov.io 10:02:51 query: branch=PR-330&commit=643a97199c8bb7463189a86b2e8aee2523b299e7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= 10:02:51 -> Pinging Codecov 10:02:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-330&commit=643a97199c8bb7463189a86b2e8aee2523b299e7&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-330%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=330&job=&cmd_args= 10:02:51 -> Uploading to 10:02:51 https://storage.googleapis.com/codecov/v4/raw/2023-08-02/4E5D53B4F1F92C436F7061BF334D961C/643a97199c8bb7463189a86b2e8aee2523b299e7/312bfb1d-7572-44ea-af62-3276026fe298.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230802T100251Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=849c745309c6d3de45bc2c89f5333131361acf8f648a92ca90b8797e5811c589 10:02:51 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:51 Dload Upload Total Spent Left Speed 10:02:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 14745 --:--:-- --:--:-- --:--:-- 14658 100 2492 0 0 100 2492 0 14745 --:--:-- --:--:-- --:--:-- 14658 10:02:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/643a97199c8bb7463189a86b2e8aee2523b299e7 [Pipeline] } 10:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:02:52 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-330/archives ] 10:02:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives 10:02:52 total 16 10:02:52 drwxr-xr-x 3 root root 4096 Aug 2 09:54 . 10:02:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:54 .. 10:02:52 drwxr-xr-x 2 root root 4096 Aug 2 09:54 cost 10:02:52 -rw-r--r-- 1 root root 86 Aug 2 09:54 cost.csv 10:02:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-330/archives 10:02:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-330/archives 10:02:52 total 16 10:02:52 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 09:54 . 10:02:52 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 09:54 .. 10:02:52 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 09:54 cost 10:02:52 -rw-r--r-- 1 jenkins jenkins 86 Aug 2 09:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:02:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:53 ---> package-listing.sh 10:02:53 ++ facter osfamily 10:02:53 ++ tr '[:upper:]' '[:lower:]' 10:02:53 + OS_FAMILY=debian 10:02:53 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-330 10:02:53 + START_PACKAGES=/tmp/packages_start.txt 10:02:53 + END_PACKAGES=/tmp/packages_end.txt 10:02:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:53 + PACKAGES=/tmp/packages_start.txt 10:02:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' 10:02:53 + PACKAGES=/tmp/packages_end.txt 10:02:53 + case "${OS_FAMILY}" in 10:02:53 + dpkg -l 10:02:53 + grep '^ii' 10:02:53 + '[' -f /tmp/packages_start.txt ']' 10:02:53 + '[' -f /tmp/packages_end.txt ']' 10:02:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-330 ']' 10:02:53 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ 10:02:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-330/archives/ [Pipeline] echo 10:02:53 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-330/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:02:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:54 prd-ubuntu20.04-docker-8c-8g-2742 does not seem to be running inside a container 10:02:54 $ 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-330/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-330 -v /w/workspace/gexfoundry_device-rest-go_PR-330:/w/workspace/gexfoundry_device-rest-go_PR-330:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-330@tmp:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:54 $ docker top fd9f04beac84d800d025b50d63ba368b5acfce6372aa2fc7e6b1c5ba73269ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:55 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:55 + mkdir -p /var/log/sysstat [Pipeline] sh 10:02:55 + ls /var/log/sa-host 10:02:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:56 provisioning config files... 10:02:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-330@tmp/config10151428274261493866tmp [Pipeline] { [Pipeline] echo 10:02:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:56 ---> create-netrc.sh [Pipeline] } 10:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:02:56 ---> python-tools-install.sh [Pipeline] echo 10:02:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:56 ---> sudo-logs.sh 10:02:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:57 ---> job-cost.sh 10:02:57 lf-activate-venv: SKIPPING 10:02:57 DEBUG: total: 0.2199999988079071 10:02:57 INFO: Retrieving Stack Cost... 10:02:57 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:58 INFO: Archiving Costs [Pipeline] echo 10:02:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:58 ---> logs-deploy.sh 10:02:58 lf-activate-venv: SKIPPING 10:02:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-330/4 10:02:58 INFO: archiving workspace using pattern(s): 10:02:59 Archives upload complete. 10:02:59 INFO: archiving logs to Nexus