Pull request #283 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4561efb2657d4e5cf5cd4d562a19425507c36775+dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 (7f1d1aa1a9a74a1619b88c0ffc2bde0fb0909824) 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-ssh8686664395833541655.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10874822600205700980.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-283/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-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5626830190944444927.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16022937864018147710.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-283/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-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5026042009799942217.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6326 in /w/workspace/gexfoundry_device-rest-go_PR-283 [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-283 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 4561efb2657d4e5cf5cd4d562a19425507c36775 Merge succeeded, producing 4561efb2657d4e5cf5cd4d562a19425507c36775 Checking out Revision 4561efb2657d4e5cf5cd4d562a19425507c36775 (PR-283) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > 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/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # 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 dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 > git rev-list --no-walk b390f61bd8c883d6ae2464f8d0075887d57bcafb # timeout=10 [Pipeline] timeout 23:26:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:26:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:26:37 ========================================================= 23:26:37 EdgeX Global Pipelines Version Info 23:26:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:26:38 ------------------- 23:26:38 stable info: 23:26:38 ------------------- 23:26:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:26:38 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:26:38 Message: update stable to v1.0.245 23:26:39 ------------------- 23:26:39 experimental info: 23:26:39 ------------------- 23:26:39 Commited By: **** collab-it+edgex@linuxfoundation.org 23:26:39 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:26:39 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4561efb [Pipeline] echo 23:26:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:39 provisioning config files... 23:26:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config13645559139119395008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:39 ---> docker-login.sh 23:26:39 nexus3.edgexfoundry.org:10001 23:26:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:40 Configure a credential helper to remove this warning. See 23:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:40 23:26:40 Login Succeeded 23:26:40 nexus3.edgexfoundry.org:10002 23:26:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:40 Configure a credential helper to remove this warning. See 23:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:40 23:26:40 Login Succeeded 23:26:40 nexus3.edgexfoundry.org:10003 23:26:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:40 Configure a credential helper to remove this warning. See 23:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:40 23:26:40 Login Succeeded 23:26:40 nexus3.edgexfoundry.org:10004 23:26:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:40 Configure a credential helper to remove this warning. See 23:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:40 23:26:40 Login Succeeded 23:26:40 docker.io 23:26:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:40 Configure a credential helper to remove this warning. See 23:26:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:40 23:26:40 Login Succeeded 23:26:40 ---> docker-login.sh ends [Pipeline] } 23:26:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:26:40 + git rev-list -1 --merges 4561efb2657d4e5cf5cd4d562a19425507c36775~1..4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo 23:26:41 -----------> git rev-list -1 --merges 4561efb2657d4e5cf5cd4d562a19425507c36775~1..4561efb2657d4e5cf5cd4d562a19425507c36775 4561efb2657d4e5cf5cd4d562a19425507c36775 [false] [Pipeline] sh 23:26:41 + git log --format=format:%s -1 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo 23:26:41 ========================================================= 23:26:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:26:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:41 + git log --format=format:%s -1 4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] echo 23:26:41 [semverPrep] GIT_COMMIT: 4561efb2657d4e5cf5cd4d562a19425507c36775, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 23:26:41 [semverPrep] This is not a build commit. [Pipeline] sh 23:26:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:26:42 + grep -v github /etc/ssh/ssh_known_hosts 23:26:42 + [ -e /tmp/ssh_known_hosts ] 23:26:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:26:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:26:42 + sudo tee -a /etc/ssh/ssh_known_hosts 23:26:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:42 23:26:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:42 0.1.4: Pulling from edgex-devops/py-git-semver 23:26:42 b85a868b505f: Pulling fs layer 23:26:42 e2be974225ed: Pulling fs layer 23:26:42 339a4e72a1f5: Pulling fs layer 23:26:42 988bab9f4d93: Pulling fs layer 23:26:42 1469e6f7b9e6: Pulling fs layer 23:26:42 eaf3925da568: Pulling fs layer 23:26:42 bab4dde63d76: Pulling fs layer 23:26:42 bde34c3a00c8: Pulling fs layer 23:26:42 b352a97aabf1: Pulling fs layer 23:26:42 4872d77fe225: Pulling fs layer 23:26:42 5851b861e8e6: Pulling fs layer 23:26:42 bde34c3a00c8: Waiting 23:26:42 4872d77fe225: Waiting 23:26:42 5851b861e8e6: Waiting 23:26:42 bab4dde63d76: Waiting 23:26:42 988bab9f4d93: Waiting 23:26:42 eaf3925da568: Waiting 23:26:42 b352a97aabf1: Waiting 23:26:42 1469e6f7b9e6: Waiting 23:26:42 e2be974225ed: Download complete 23:26:42 988bab9f4d93: Verifying Checksum 23:26:42 988bab9f4d93: Download complete 23:26:42 1469e6f7b9e6: Verifying Checksum 23:26:42 1469e6f7b9e6: Download complete 23:26:42 eaf3925da568: Download complete 23:26:42 339a4e72a1f5: Verifying Checksum 23:26:42 339a4e72a1f5: Download complete 23:26:42 bde34c3a00c8: Verifying Checksum 23:26:42 bde34c3a00c8: Download complete 23:26:42 b352a97aabf1: Download complete 23:26:42 4872d77fe225: Download complete 23:26:42 5851b861e8e6: Download complete 23:26:42 b85a868b505f: Verifying Checksum 23:26:42 b85a868b505f: Download complete 23:26:43 bab4dde63d76: Verifying Checksum 23:26:43 bab4dde63d76: Download complete 23:26:44 b85a868b505f: Pull complete 23:26:44 e2be974225ed: Pull complete 23:26:45 339a4e72a1f5: Pull complete 23:26:45 988bab9f4d93: Pull complete 23:26:45 1469e6f7b9e6: Pull complete 23:26:45 eaf3925da568: Pull complete 23:26:47 bab4dde63d76: Pull complete 23:26:47 bde34c3a00c8: Pull complete 23:26:47 b352a97aabf1: Pull complete 23:26:47 4872d77fe225: Pull complete 23:26:47 5851b861e8e6: Pull complete 23:26:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:26:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:47 prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container 23:26:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:26:51 $ docker top f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc -eo pid,comm 23:26:51 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). 23:26:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:26:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:51 [ssh-agent] Looking for ssh-agent implementation... 23:26:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:51 $ docker exec f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent 23:26:51 SSH_AUTH_SOCK=/tmp/ssh-WXl5MOrveuSt/agent.33 23:26:51 SSH_AGENT_PID=39 23:26:51 Running ssh-add (command line suppressed) 23:26:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_4176794184532912565.key (/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_4176794184532912565.key) 23:26:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:52 + git tag --points-at HEAD [Pipeline] } 23:26:52 $ docker exec --env ******** --env ******** f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent -k 23:26:52 unset SSH_AUTH_SOCK; 23:26:52 unset SSH_AGENT_PID; 23:26:52 echo Agent pid 39 killed; 23:26:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:26:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:52 [ssh-agent] Looking for ssh-agent implementation... 23:26:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:52 $ docker exec f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent 23:26:52 SSH_AUTH_SOCK=/tmp/ssh-KB46kOjDeBf7/agent.71 23:26:52 SSH_AGENT_PID=77 23:26:52 Running ssh-add (command line suppressed) 23:26:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_13568198424322889406.key (/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/private_key_13568198424322889406.key) 23:26:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:53 + git semver init 23:26:53 2023-03-29 23:26:53,238 [run_init] DEBUG init version:0.0.0 force:False 23:26:53 2023-03-29 23:26:53,239 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver 23:26:53 2023-03-29 23:26:53,239 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-283/.semver 23:26:53 2023-03-29 23:26:53,240 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-283/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283, universal_newlines=False, shell=None, istream=None) 23:26:54 2023-03-29 23:26:54,347 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-283/.git/info/exclude 23:26:54 2023-03-29 23:26:54,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 with force:False 23:26:54 2023-03-29 23:26:54,348 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 23:26:54 2023-03-29 23:26:54,352 [execute] INFO git cat-file --batch-check 23:26:54 2023-03-29 23:26:54,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 23:26:54 2023-03-29 23:26:54,359 [execute] INFO git cat-file --batch 23:26:54 2023-03-29 23:26:54,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-283/.semver, universal_newlines=False, shell=None, istream=) 23:26:54 2023-03-29 23:26:54,365 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-283/.semver/PR-283 23:26:54 0.0.0 [Pipeline] } 23:26:54 $ docker exec --env ******** --env ******** f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc ssh-agent -k 23:26:54 unset SSH_AUTH_SOCK; 23:26:54 unset SSH_AGENT_PID; 23:26:54 echo Agent pid 77 killed; 23:26:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:55 + git semver [Pipeline] } 23:26:55 $ docker stop --time=1 f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc 23:26:56 $ docker rm -f --volumes f8d9db33a4ce698e4363195ea347f8d9e6fe2d82b42eca18063b1f431b7a3cfc [Pipeline] // withDockerContainer [Pipeline] sh 23:26:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:57 Stashed 1 file(s) [Pipeline] echo 23:26:57 [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 23:26:57 provisioning config files... 23:26:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config4330850741417931281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:57 ---> docker-login.sh 23:26:57 nexus3.edgexfoundry.org:10001 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:57 Configure a credential helper to remove this warning. See 23:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:57 23:26:57 Login Succeeded 23:26:57 nexus3.edgexfoundry.org:10002 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:57 Configure a credential helper to remove this warning. See 23:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:57 23:26:57 Login Succeeded 23:26:57 nexus3.edgexfoundry.org:10003 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:57 Configure a credential helper to remove this warning. See 23:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:57 23:26:57 Login Succeeded 23:26:57 nexus3.edgexfoundry.org:10004 23:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:57 Configure a credential helper to remove this warning. See 23:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:57 23:26:57 Login Succeeded 23:26:57 docker.io 23:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:58 Configure a credential helper to remove this warning. See 23:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:58 23:26:58 Login Succeeded 23:26:58 ---> docker-login.sh ends [Pipeline] } 23:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:58 ========================================================= 23:26:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:26:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:58 + 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 . 23:26:58 Sending build context to Docker daemon 10.87MB 23:26:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:26:58 Step 2/12 : FROM ${BASE} AS builder 23:26:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:26:58 63b65145d645: Pulling fs layer 23:26:58 a2d21d5440eb: Pulling fs layer 23:26:58 935e6c44a52c: Pulling fs layer 23:26:58 94cc34f8dd06: Pulling fs layer 23:26:58 30dea6a524f1: Pulling fs layer 23:26:58 a2aff8979fd8: Pulling fs layer 23:26:58 6808be2612f2: Pulling fs layer 23:26:58 f25807f1079a: Pulling fs layer 23:26:58 a2aff8979fd8: Waiting 23:26:58 6808be2612f2: Waiting 23:26:58 f25807f1079a: Waiting 23:26:58 94cc34f8dd06: Waiting 23:26:58 30dea6a524f1: Waiting 23:26:58 a2d21d5440eb: Download complete 23:26:58 94cc34f8dd06: Verifying Checksum 23:26:58 94cc34f8dd06: Download complete 23:26:58 30dea6a524f1: Verifying Checksum 23:26:58 30dea6a524f1: Download complete 23:26:58 63b65145d645: Verifying Checksum 23:26:58 63b65145d645: Download complete 23:26:58 a2aff8979fd8: Verifying Checksum 23:26:58 a2aff8979fd8: Download complete 23:26:59 63b65145d645: Pull complete 23:26:59 a2d21d5440eb: Pull complete 23:26:59 f25807f1079a: Verifying Checksum 23:26:59 935e6c44a52c: Verifying Checksum 23:26:59 935e6c44a52c: Download complete 23:26:59 6808be2612f2: Verifying Checksum 23:26:59 6808be2612f2: Download complete 23:27:02 935e6c44a52c: Pull complete 23:27:03 94cc34f8dd06: Pull complete 23:27:03 30dea6a524f1: Pull complete 23:27:03 a2aff8979fd8: Pull complete 23:27:05 6808be2612f2: Pull complete 23:27:06 f25807f1079a: Pull complete 23:27:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:27:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:27:06 ---> 3b553350e43f 23:27:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:27:12 ---> Running in e512e52b9660 23:27:12 Removing intermediate container e512e52b9660 23:27:12 ---> 7537126ce95d 23:27:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:12 ---> Running in aad33aab384f 23:27:12 Removing intermediate container aad33aab384f 23:27:12 ---> 9c3766ac21c6 23:27:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:27:12 ---> Running in a2fc7ab56188 23:27:12 Removing intermediate container a2fc7ab56188 23:27:12 ---> 4473492b43b3 23:27:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:27:12 ---> Running in a34d62ea5d2b 23:27:12 Removing intermediate container a34d62ea5d2b 23:27:12 ---> 219092c539be 23:27:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:12 ---> Running in c04a56ae4d15 23:27:12 Still waiting to schedule task 23:27:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:27:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:27:12 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:27:12 (2/4) Installing libedit (20221030.3.1-r0) 23:27:12 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:27:13 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:27:13 Executing busybox-1.35.0-r29.trigger 23:27:13 OK: 269 MiB in 57 packages 23:27:13 Removing intermediate container c04a56ae4d15 23:27:13 ---> 3b60e1d17a2a 23:27:13 Step 8/12 : WORKDIR /device-rest-go 23:27:13 ---> Running in 08677ed4de1e 23:27:13 Removing intermediate container 08677ed4de1e 23:27:13 ---> c3682ab38c37 23:27:13 Step 9/12 : COPY go.mod vendor* ./ 23:27:13 ---> b57820c60dcd 23:27:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:13 ---> Running in 5333c86d76fc 23:27:52 Removing intermediate container 5333c86d76fc 23:27:52 ---> 2b0f0d3c1756 23:27:52 Step 11/12 : COPY . . 23:27:52 ---> 2ed7f2d0c553 23:27:52 Step 12/12 : RUN $MAKE 23:27:52 ---> Running in 4257170b893a 23:27:52 noop 23:27:52 Removing intermediate container 4257170b893a 23:27:52 ---> 6abb033ffae0 23:27:52 Successfully built 6abb033ffae0 23:27:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:52 + docker inspect -f . ci-base-image-x86_64 23:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:52 prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container 23:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:53 $ docker top 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:53 + go version 23:27:53 go version go1.20.2 linux/amd64 [Pipeline] } 23:27:53 $ docker stop --time=1 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 23:27:54 $ docker rm -f --volumes 705d4acc2cb64aa0a000d23a8e8522ccf0e02b1712eba3e255b276c3fb085eb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:55 + docker inspect -f . ci-base-image-x86_64 23:27:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:55 prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container 23:27:55 $ 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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:27:55 $ docker top fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-283 [Pipeline] fileExists [Pipeline] sh 23:27:56 + make test 23:27:56 go test ./... -coverprofile=coverage.out ./... 23:28:01 ? github.com/edgexfoundry/device-rest-go [no test files] 23:28:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:28:11 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.0% of statements 23:28:19 go vet ./... 23:28:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:23 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:23 $ docker stop --time=1 fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c 23:28:27 $ docker rm -f --volumes fea7d96e1005f642eb25d537f60714244db68666483b7623412ef6a88403d62c [Pipeline] // withDockerContainer [Pipeline] sh 23:28:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:28:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:28 + ls -al . 23:28:28 total 184 23:28:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:27 . 23:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 .. 23:28:28 -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:26 .dockerignore 23:28:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:26 .git 23:28:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 .github 23:28:28 -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:26 .gitignore 23:28:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:26 .golangci.yml 23:28:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:26 .semver 23:28:28 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:26 Attribution.txt 23:28:28 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:26 CHANGELOG.md 23:28:28 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:26 Dockerfile 23:28:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:26 GOVERNANCE.md 23:28:28 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:26 Jenkinsfile 23:28:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:26 LICENSE 23:28:28 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:26 Makefile 23:28:28 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:26 OWNERS.md 23:28:28 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:26 README.md 23:28:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:26 VERSION 23:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 bin 23:28:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 cmd 23:28:28 -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:28 coverage.out 23:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 driver 23:28:28 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:26 go.mod 23:28:28 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:26 go.sum 23:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 snap 23:28:28 -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:28 + 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=4561efb2657d4e5cf5cd4d562a19425507c36775 --label arch=amd64 --label version=0.0.0 . 23:28:28 Sending build context to Docker daemon 10.89MB 23:28:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:28:28 Step 2/25 : FROM ${BASE} AS builder 23:28:28 ---> 6abb033ffae0 23:28:28 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:28:29 ---> Running in e05be5cb4a2f 23:28:29 Removing intermediate container e05be5cb4a2f 23:28:29 ---> e1ed1f55973b 23:28:29 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:29 ---> Running in 12c94c46f1c2 23:28:29 Removing intermediate container 12c94c46f1c2 23:28:29 ---> e539e948d9f5 23:28:29 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:28:29 ---> Running in e246c611e803 23:28:29 Removing intermediate container e246c611e803 23:28:29 ---> 9ae3e04ba9c2 23:28:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:28:29 ---> Running in a46d65ad3ddc 23:28:29 Removing intermediate container a46d65ad3ddc 23:28:29 ---> 5eeee2225d7b 23:28:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:29 ---> Running in c2fa593303f6 23:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:30 OK: 269 MiB in 57 packages 23:28:30 Removing intermediate container c2fa593303f6 23:28:30 ---> b33b1179a921 23:28:30 Step 8/25 : WORKDIR /device-rest-go 23:28:30 ---> Running in 0e6ff225560e 23:28:30 Removing intermediate container 0e6ff225560e 23:28:30 ---> ccda619d6937 23:28:30 Step 9/25 : COPY go.mod vendor* ./ 23:28:30 ---> 4565fea0cf4c 23:28:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:30 ---> Running in c451db665c82 23:28:31 Removing intermediate container c451db665c82 23:28:31 ---> 80341f235c65 23:28:31 Step 11/25 : COPY . . 23:28:32 ---> 4580282e7ac4 23:28:32 Step 12/25 : RUN $MAKE 23:28:32 ---> Running in cae6ff857ca2 23:28:32 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 23:28:54 Removing intermediate container cae6ff857ca2 23:28:54 ---> 4fc094eb87a5 23:28:54 Step 13/25 : FROM alpine:3.17 23:28:54 3.17: Pulling from library/alpine 23:28:54 f56be85fc22e: Pulling fs layer 23:28:54 f56be85fc22e: Verifying Checksum 23:28:54 f56be85fc22e: Pull complete 23:28:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:28:54 Status: Downloaded newer image for alpine:3.17 23:28:54 ---> 9ed4aefc74f6 23:28:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:28:54 ---> Running in f1eef99e629b 23:28:54 Removing intermediate container f1eef99e629b 23:28:54 ---> 3245de6bfa94 23:28:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:28:54 ---> Running in 15b8b608793d 23:28:54 Removing intermediate container 15b8b608793d 23:28:54 ---> 43a14588d757 23:28:54 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:28:54 ---> Running in 2cfbc63e73bf 23:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:28:54 (1/1) Installing dumb-init (1.2.5-r2) 23:28:54 Executing busybox-1.35.0-r29.trigger 23:28:54 OK: 7 MiB in 16 packages 23:28:54 Removing intermediate container 2cfbc63e73bf 23:28:54 ---> d6acc55f0696 23:28:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:28:55 ---> de0b2ed7c01a 23:28:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:28:55 ---> 4655129825bb 23:28:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:28:55 ---> 0ee7c91f1402 23:28:55 Step 20/25 : EXPOSE 59986 23:28:55 ---> Running in 5439a0dfe32a 23:28:55 Removing intermediate container 5439a0dfe32a 23:28:55 ---> 04cde52f53dc 23:28:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:28:56 ---> Running in 02190346c41e 23:28:56 Removing intermediate container 02190346c41e 23:28:56 ---> 7e03ec2704af 23:28:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:56 ---> Running in 8a0be10e1a74 23:28:56 Removing intermediate container 8a0be10e1a74 23:28:56 ---> 48ab5817922c 23:28:56 Step 23/25 : LABEL arch=amd64 23:28:56 ---> Running in 0b70933204a0 23:28:56 Removing intermediate container 0b70933204a0 23:28:56 ---> 933405b76102 23:28:56 Step 24/25 : LABEL git_sha=4561efb2657d4e5cf5cd4d562a19425507c36775 23:28:56 ---> Running in 8c1442a19128 23:28:56 Removing intermediate container 8c1442a19128 23:28:56 ---> 09578a3a561c 23:28:56 Step 25/25 : LABEL version=0.0.0 23:28:56 ---> Running in db2b835b8de5 23:28:56 Removing intermediate container db2b835b8de5 23:28:56 ---> 245da92159a6 23:28:56 [Warning] One or more build-args [ARCH] were not consumed 23:28:56 Successfully built 245da92159a6 23:28:56 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 23:28:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:56 23:28:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:57 latest: Pulling from edgex-lftools-log-publisher 23:28:57 5eb5b503b376: Pulling fs layer 23:28:57 5c69ac0246d0: Pulling fs layer 23:28:57 ec43610c2a17: Pulling fs layer 23:28:57 3a2ae6a8a46f: Pulling fs layer 23:28:57 33b1e0a273af: Pulling fs layer 23:28:57 5d3b04190fa2: Pulling fs layer 23:28:57 2f39f015ded8: Pulling fs layer 23:28:57 3a2ae6a8a46f: Waiting 23:28:57 33b1e0a273af: Waiting 23:28:57 5d3b04190fa2: Waiting 23:28:57 5c69ac0246d0: Download complete 23:28:57 3a2ae6a8a46f: Download complete 23:28:57 33b1e0a273af: Verifying Checksum 23:28:57 33b1e0a273af: Download complete 23:28:57 5d3b04190fa2: Verifying Checksum 23:28:57 5d3b04190fa2: Download complete 23:28:57 ec43610c2a17: Verifying Checksum 23:28:57 ec43610c2a17: Download complete 23:28:57 5eb5b503b376: Download complete 23:28:58 2f39f015ded8: Download complete 23:28:58 5eb5b503b376: Pull complete 23:28:58 5c69ac0246d0: Pull complete 23:28:59 ec43610c2a17: Pull complete 23:28:59 3a2ae6a8a46f: Pull complete 23:28:59 33b1e0a273af: Pull complete 23:28:59 5d3b04190fa2: Pull complete 23:29:04 2f39f015ded8: Pull complete 23:29:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:04 prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container 23:29:04 $ 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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:09 $ docker top 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:09 ---> job-cost.sh 23:29:09 lf-activate-venv: SKIPPING 23:29:09 INFO: No Stack... 23:29:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:10 INFO: Archiving Costs [Pipeline] sh 23:29:10 + cat /w/workspace/gexfoundry_device-rest-go_PR-283/archives/cost.csv 23:29:10 + cut -d, -f6 [Pipeline] lock 23:29:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] 23:29:10 Resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] did not exist. Created. 23:29:10 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:11 + echo total: 0.2199999988079071 [Pipeline] stash 23:29:11 Stashed 1 file(s) [Pipeline] } 23:29:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:11 $ docker stop --time=1 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa 23:29:12 $ docker rm -f --volumes 7ff4fc74abb1df8fb408bfa3384561c193e1de2abaf92244903e9904684332aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6332 in /w/workspace/gexfoundry_device-rest-go_PR-283 [Pipeline] { [Pipeline] ws 23:30:07 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 23:30:07 The recommended git tool is: git 23:30:18 using credential edgex-jenkins-ssh 23:30:18 Cloning the remote Git repository 23:30:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:30:18 > git init /w/workspace/device-rest-go/2 # timeout=10 23:30:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:30:19 > git --version # timeout=10 23:30:19 > git --version # 'git version 2.25.1' 23:30:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:30:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:25 Merging remotes/origin/main commit dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 into PR head commit 4561efb2657d4e5cf5cd4d562a19425507c36775 23:30:26 Merge succeeded, producing 4561efb2657d4e5cf5cd4d562a19425507c36775 23:30:26 Checking out Revision 4561efb2657d4e5cf5cd4d562a19425507c36775 (PR-283) 23:30:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:30:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:30:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:30:25 > git config core.sparsecheckout # timeout=10 23:30:25 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 23:30:25 > git remote # timeout=10 23:30:25 > git config --get remote.origin.url # timeout=10 23:30:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:26 > git merge dd806b2640e0f0c8aa2f3a1f9570b634bbfd46b9 # timeout=10 23:30:26 > git rev-parse HEAD^{commit} # timeout=10 23:30:26 > git config core.sparsecheckout # timeout=10 23:30:27 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:26 > git checkout -f 4561efb2657d4e5cf5cd4d562a19425507c36775 # timeout=10 23:30:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:28 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:28 Dload Upload Total Spent Left Speed 23:30:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 110k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 23:30:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:30 + sudo tee /etc/docker/daemon.new 23:30:30 { 23:30:30 "registry-mirrors": [ 23:30:30 "https://nexus3.edgexfoundry.org:10001" 23:30:30 ], 23:30:30 "bip": "10.250.0.254/24", 23:30:30 "hosts": [ 23:30:30 "tcp://0.0.0.0:5555", 23:30:30 "unix:///var/run/docker.sock" 23:30:30 ], 23:30:30 "mtu": 1458, 23:30:30 "selinux-enabled": true, 23:30:30 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:30 } [Pipeline] sh 23:30:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:49 provisioning config files... 23:30:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config7313179947571435760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:49 ---> docker-login.sh 23:30:49 nexus3.edgexfoundry.org:10001 23:30:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:50 Configure a credential helper to remove this warning. See 23:30:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:50 23:30:50 Login Succeeded 23:30:50 nexus3.edgexfoundry.org:10002 23:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:51 Configure a credential helper to remove this warning. See 23:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:51 23:30:51 Login Succeeded 23:30:51 nexus3.edgexfoundry.org:10003 23:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:51 Configure a credential helper to remove this warning. See 23:30:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:51 23:30:51 Login Succeeded 23:30:51 nexus3.edgexfoundry.org:10004 23:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:52 Configure a credential helper to remove this warning. See 23:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:52 23:30:52 Login Succeeded 23:30:52 docker.io 23:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:30:52 Configure a credential helper to remove this warning. See 23:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:30:52 23:30:52 Login Succeeded 23:30:52 ---> docker-login.sh ends [Pipeline] } 23:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:30:53 ========================================================= 23:30:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:30:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:53 + 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 . 23:30:53 Sending build context to Docker daemon 137.2kB 23:30:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:30:53 Step 2/12 : FROM ${BASE} AS builder 23:30:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:30:54 af6eaf76a39c: Pulling fs layer 23:30:54 55522c791124: Pulling fs layer 23:30:54 ce5c4a1c91eb: Pulling fs layer 23:30:54 169dfbe0d373: Pulling fs layer 23:30:54 e1ff8fa3b103: Pulling fs layer 23:30:54 52ebb69f0ebf: Pulling fs layer 23:30:54 5abe8eddf0d5: Pulling fs layer 23:30:54 169dfbe0d373: Waiting 23:30:54 e1ff8fa3b103: Waiting 23:30:54 52ebb69f0ebf: Waiting 23:30:54 5abe8eddf0d5: Waiting 23:30:54 55522c791124: Verifying Checksum 23:30:54 55522c791124: Download complete 23:30:54 169dfbe0d373: Verifying Checksum 23:30:54 169dfbe0d373: Download complete 23:30:54 e1ff8fa3b103: Verifying Checksum 23:30:54 e1ff8fa3b103: Download complete 23:30:54 af6eaf76a39c: Verifying Checksum 23:30:54 af6eaf76a39c: Download complete 23:30:55 af6eaf76a39c: Pull complete 23:30:56 55522c791124: Pull complete 23:30:56 5abe8eddf0d5: Verifying Checksum 23:30:56 5abe8eddf0d5: Download complete 23:30:57 ce5c4a1c91eb: Download complete 23:30:57 52ebb69f0ebf: Verifying Checksum 23:30:57 52ebb69f0ebf: Download complete 23:31:09 ce5c4a1c91eb: Pull complete 23:31:09 169dfbe0d373: Pull complete 23:31:09 e1ff8fa3b103: Pull complete 23:31:16 52ebb69f0ebf: Pull complete 23:31:17 5abe8eddf0d5: Pull complete 23:31:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:31:17 ---> 6cb57ee374ae 23:31:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:31:21 ---> Running in 3568089c77f6 23:31:21 Removing intermediate container 3568089c77f6 23:31:21 ---> 031c9d897d6a 23:31:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:21 ---> Running in 91bd6b3ef480 23:31:21 Removing intermediate container 91bd6b3ef480 23:31:21 ---> d74dc03d8efc 23:31:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:31:21 ---> Running in 8e1d2e299ea1 23:31:22 Removing intermediate container 8e1d2e299ea1 23:31:22 ---> 8f7231800c38 23:31:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:31:22 ---> Running in 0b57cc763483 23:31:22 Removing intermediate container 0b57cc763483 23:31:22 ---> 6af2dbfe55c2 23:31:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:22 ---> Running in 8cab84e2cf4d 23:31:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:31:25 (2/4) Installing libedit (20221030.3.1-r0) 23:31:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:31:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:31:25 Executing busybox-1.35.0-r29.trigger 23:31:25 OK: 268 MiB in 57 packages 23:31:27 Removing intermediate container 8cab84e2cf4d 23:31:27 ---> 88b584b24ebf 23:31:27 Step 8/12 : WORKDIR /device-rest-go 23:31:27 ---> Running in c9481b0edc6e 23:31:27 Removing intermediate container c9481b0edc6e 23:31:27 ---> 37e47aaa68da 23:31:27 Step 9/12 : COPY go.mod vendor* ./ 23:31:28 ---> ff7d6fbc7fe4 23:31:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:31:28 ---> Running in b335ecf01d59 23:32:36 Removing intermediate container b335ecf01d59 23:32:36 ---> cd4892e1b1b7 23:32:36 Step 11/12 : COPY . . 23:32:36 ---> da09fdb662c3 23:32:36 Step 12/12 : RUN $MAKE 23:32:36 ---> Running in f866aac080cc 23:32:36 noop 23:32:36 Removing intermediate container f866aac080cc 23:32:36 ---> 748eeb0f980b 23:32:36 Successfully built 748eeb0f980b 23:32:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:36 + docker inspect -f . ci-base-image-arm64 23:32:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:37 prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container 23:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:38 $ docker top ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:39 + go version 23:32:39 go version go1.20.2 linux/arm64 [Pipeline] } 23:32:39 $ docker stop --time=1 ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 23:32:42 $ docker rm -f --volumes ef47a2dd2bf3b99ae8133ac8eb8e27c762594003f897662d5e46b40eef2b77c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:42 + docker inspect -f . ci-base-image-arm64 23:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:42 prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container 23:32:43 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:32:44 $ docker top 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:45 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 23:32:46 + make test 23:32:46 go test ./... -coverprofile=coverage.out ./... 23:33:32 ? github.com/edgexfoundry/device-rest-go [no test files] 23:35:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:35:54 ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 33.0% of statements 23:35:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:35:54 go vet ./... 23:36:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:27 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:27 $ docker stop --time=1 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 23:36:29 $ docker rm -f --volumes 990dd47b6c2267992c3e7f361dff63ad64ec7fb5e5492eb52e5c4a027ca24691 [Pipeline] // withDockerContainer [Pipeline] sh 23:36:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:30 Warning: overwriting stash ‘coverage-report’ 23:36:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:31 + ls -al . 23:36:31 total 180 23:36:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:32 . 23:36:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 .. 23:36:31 -rw-rw-r-- 1 jenkins jenkins 151 Mar 29 23:30 .dockerignore 23:36:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:30 .git 23:36:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 .github 23:36:31 -rw-rw-r-- 1 jenkins jenkins 329 Mar 29 23:30 .gitignore 23:36:31 -rw-rw-r-- 1 jenkins jenkins 41 Mar 29 23:30 .golangci.yml 23:36:31 -rw-rw-r-- 1 jenkins jenkins 9202 Mar 29 23:30 Attribution.txt 23:36:31 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 29 23:30 CHANGELOG.md 23:36:31 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 29 23:30 Dockerfile 23:36:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:30 GOVERNANCE.md 23:36:31 -rw-rw-r-- 1 jenkins jenkins 680 Mar 29 23:30 Jenkinsfile 23:36:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 29 23:30 LICENSE 23:36:31 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 29 23:30 Makefile 23:36:31 -rw-rw-r-- 1 jenkins jenkins 620 Mar 29 23:30 OWNERS.md 23:36:31 -rw-rw-r-- 1 jenkins jenkins 15321 Mar 29 23:30 README.md 23:36:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 29 23:26 VERSION 23:36:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:30 bin 23:36:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 cmd 23:36:31 -rw-r--r-- 1 jenkins jenkins 14200 Mar 29 23:35 coverage.out 23:36:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:30 driver 23:36:31 -rw-rw-r-- 1 jenkins jenkins 3399 Mar 29 23:30 go.mod 23:36:31 -rw-rw-r-- 1 jenkins jenkins 31153 Mar 29 23:30 go.sum 23:36:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 snap 23:36:31 -rw-rw-r-- 1 jenkins jenkins 713 Mar 29 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:32 + 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=4561efb2657d4e5cf5cd4d562a19425507c36775 --label arch=arm64 --label version=0.0.0 . 23:36:32 Sending build context to Docker daemon 152.1kB 23:36:32 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:36:32 Step 2/25 : FROM ${BASE} AS builder 23:36:32 ---> 748eeb0f980b 23:36:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:36:32 ---> Running in 7cf150c0ca87 23:36:33 Removing intermediate container 7cf150c0ca87 23:36:33 ---> 16b843e2859e 23:36:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:36:33 ---> Running in a46cafeef4f7 23:36:33 Removing intermediate container a46cafeef4f7 23:36:33 ---> 183bb7800da4 23:36:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:36:33 ---> Running in 59777549c501 23:36:34 Removing intermediate container 59777549c501 23:36:34 ---> 7d15ea113b3a 23:36:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:36:34 ---> Running in 0399eabac23f 23:36:34 Removing intermediate container 0399eabac23f 23:36:34 ---> 13a66199fdbc 23:36:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:34 ---> Running in 67eb4ef2254d 23:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:36:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:36:38 OK: 268 MiB in 57 packages 23:36:39 Removing intermediate container 67eb4ef2254d 23:36:39 ---> 3f35ae62a252 23:36:39 Step 8/25 : WORKDIR /device-rest-go 23:36:39 ---> Running in 2f25ff926ba6 23:36:39 Removing intermediate container 2f25ff926ba6 23:36:39 ---> cd080854fa69 23:36:39 Step 9/25 : COPY go.mod vendor* ./ 23:36:40 ---> cff2a3c74833 23:36:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:40 ---> Running in a31cfa5a3f0a 23:36:43 Removing intermediate container a31cfa5a3f0a 23:36:43 ---> e375ebcada47 23:36:43 Step 11/25 : COPY . . 23:36:44 ---> 3421421e49ee 23:36:44 Step 12/25 : RUN $MAKE 23:36:44 ---> Running in 1001dff84b1f 23:36:45 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 23:39:37 Removing intermediate container 1001dff84b1f 23:39:37 ---> b5ebdeaa20af 23:39:37 Step 13/25 : FROM alpine:3.17 23:39:37 3.17: Pulling from library/alpine 23:39:37 c41833b44d91: Pulling fs layer 23:39:37 c41833b44d91: Verifying Checksum 23:39:37 c41833b44d91: Download complete 23:39:37 c41833b44d91: Pull complete 23:39:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:39:37 Status: Downloaded newer image for alpine:3.17 23:39:37 ---> 51e60588ff2c 23:39:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:39:37 ---> Running in 9256a8bb2cbc 23:39:38 Removing intermediate container 9256a8bb2cbc 23:39:38 ---> 2f12883c6807 23:39:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:39:38 ---> Running in d3c060cb01a8 23:39:38 Removing intermediate container d3c060cb01a8 23:39:38 ---> 1db9f562559e 23:39:38 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:39:38 ---> Running in b50f2530adf2 23:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:39:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:39:42 (1/1) Installing dumb-init (1.2.5-r2) 23:39:42 Executing busybox-1.35.0-r29.trigger 23:39:42 OK: 8 MiB in 16 packages 23:39:43 Removing intermediate container b50f2530adf2 23:39:43 ---> c3e62d1610de 23:39:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:39:45 ---> be73dbdc32db 23:39:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:39:45 ---> 71a8715e8938 23:39:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:39:45 ---> bdbd71f7de0c 23:39:45 Step 20/25 : EXPOSE 59986 23:39:45 ---> Running in 7d73c42c9f49 23:39:46 Removing intermediate container 7d73c42c9f49 23:39:46 ---> f878e5959c4f 23:39:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:39:46 ---> Running in 28831e473d47 23:39:46 Removing intermediate container 28831e473d47 23:39:46 ---> e51ef9719ec3 23:39:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:39:46 ---> Running in 621c9ae9907f 23:39:47 Removing intermediate container 621c9ae9907f 23:39:47 ---> dd50d0e07a06 23:39:47 Step 23/25 : LABEL arch=arm64 23:39:47 ---> Running in 697fab3d2a12 23:39:47 Removing intermediate container 697fab3d2a12 23:39:47 ---> c343a75c9596 23:39:47 Step 24/25 : LABEL git_sha=4561efb2657d4e5cf5cd4d562a19425507c36775 23:39:47 ---> Running in bc241bf4f20f 23:39:48 Removing intermediate container bc241bf4f20f 23:39:48 ---> 44603842406a 23:39:48 Step 25/25 : LABEL version=0.0.0 23:39:48 ---> Running in 3e4a4fa47232 23:39:48 Removing intermediate container 3e4a4fa47232 23:39:48 ---> 99f4f149937f 23:39:48 [Warning] One or more build-args [ARCH] were not consumed 23:39:48 Successfully built 99f4f149937f 23:39:48 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 23:39:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:49 23:39:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:39:49 arm64: Pulling from edgex-lftools-log-publisher 23:39:49 8998bd30e6a1: Pulling fs layer 23:39:49 04944245beec: Pulling fs layer 23:39:49 699f458cf7ca: Pulling fs layer 23:39:49 765212b225bb: Pulling fs layer 23:39:49 f23df028b6ca: Pulling fs layer 23:39:49 d65c8cfc05b1: Pulling fs layer 23:39:49 2437ff75d9bd: Pulling fs layer 23:39:49 765212b225bb: Waiting 23:39:49 f23df028b6ca: Waiting 23:39:49 d65c8cfc05b1: Waiting 23:39:49 2437ff75d9bd: Waiting 23:39:49 04944245beec: Verifying Checksum 23:39:49 04944245beec: Download complete 23:39:49 765212b225bb: Verifying Checksum 23:39:49 765212b225bb: Download complete 23:39:49 f23df028b6ca: Verifying Checksum 23:39:49 f23df028b6ca: Download complete 23:39:50 d65c8cfc05b1: Verifying Checksum 23:39:50 d65c8cfc05b1: Download complete 23:39:50 699f458cf7ca: Verifying Checksum 23:39:50 699f458cf7ca: Download complete 23:39:50 8998bd30e6a1: Verifying Checksum 23:39:50 8998bd30e6a1: Download complete 23:39:53 2437ff75d9bd: Verifying Checksum 23:39:53 2437ff75d9bd: Download complete 23:39:54 8998bd30e6a1: Pull complete 23:39:55 04944245beec: Pull complete 23:39:56 699f458cf7ca: Pull complete 23:39:57 765212b225bb: Pull complete 23:39:57 f23df028b6ca: Pull complete 23:39:57 d65c8cfc05b1: Pull complete 23:40:13 2437ff75d9bd: Pull complete 23:40:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:40:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:13 prd-ubuntu20.04-docker-arm64-4c-16g-6332 does not seem to be running inside a container 23:40:13 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:40:16 $ docker top dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:17 ---> job-cost.sh 23:40:17 lf-activate-venv: SKIPPING 23:40:17 INFO: No Stack... 23:40:18 INFO: Retrieving Pricing Info for: v3-standard-4 23:40:19 INFO: Archiving Costs [Pipeline] sh 23:40:19 + cut -d, -f6 23:40:19 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 23:40:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] 23:40:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] did not exist. Created. 23:40:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:20 /w/workspace/device-rest-go/2@tmp/durable-71b40c94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:40:21 + echo total: 0.10999999940395355 [Pipeline] stash 23:40:21 Warning: overwriting stash ‘stack-cost’ 23:40:21 Stashed 1 file(s) [Pipeline] } 23:40:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-283-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:21 $ docker stop --time=1 dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 23:40:23 $ docker rm -f --volumes dc1bd72757b711e85b7d89c3a8aebba5d2afb66aee898be594a3dbb3ba3c9b05 [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 23:40:23 provisioning config files... 23:40:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config5835580478564779533tmp [Pipeline] { [Pipeline] sh 23:40:23 + set +x 23:40:23 + curl -s https://codecov.io/bash 23:40:23 + bash -s -- 23:40:23 23:40:23 _____ _ 23:40:23 / ____| | | 23:40:23 | | ___ __| | ___ ___ _____ __ 23:40:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:40:23 | |___| (_) | (_| | __/ (_| (_) \ V / 23:40:23 \_____\___/ \__,_|\___|\___\___/ \_/ 23:40:23 Bash-1.0.6 23:40:23 23:40:23 23:40:23 ==> git version 2.25.1 found 23:40:23 ==> 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 23:40:23 Release-Date: 2020-01-08 23:40:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:40:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:40:23 ==> Jenkins CI detected. 23:40:23 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-283 23:40:23 project root: . 23:40:23 --> token set from env 23:40:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:40:23 ==> Running gcov in . (disable via -X gcov) 23:40:23 ==> Python coveragepy not found 23:40:23 ==> Searching for coverage reports in: 23:40:23 + . 23:40:23 -> Found 1 reports 23:40:23 ==> Detecting git/mercurial file structure 23:40:23 ==> Reading reports 23:40:23 + ./coverage.out bytes=14200 23:40:23 ==> Appending adjustments 23:40:23 https://docs.codecov.io/docs/fixing-reports 23:40:24 + Found adjustments 23:40:24 ==> Gzipping contents 23:40:24 4.0K /tmp/codecov.UYm0ZR.gz 23:40:24 ==> Uploading reports 23:40:24 url: https://codecov.io 23:40:24 query: branch=PR-283&commit=4561efb2657d4e5cf5cd4d562a19425507c36775&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=283&job=&cmd_args= 23:40:24 -> Pinging Codecov 23:40:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-283&commit=4561efb2657d4e5cf5cd4d562a19425507c36775&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-283%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=283&job=&cmd_args= 23:40:24 -> Uploading to 23:40:24 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/4E5D53B4F1F92C436F7061BF334D961C/4561efb2657d4e5cf5cd4d562a19425507c36775/a2d5ea53-b4f4-4296-a466-23baf702e410.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T234023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43146f99d720f223fb7fa39274ea2315677efa68b075fb329d8aefa959b65c17 23:40:24 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:24 Dload Upload Total Spent Left Speed 23:40:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 9826 --:--:-- --:--:-- --:--:-- 9826 23:40:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4561efb2657d4e5cf5cd4d562a19425507c36775 [Pipeline] } 23:40:24 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 23:40:24 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-283/archives ] 23:40:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-283/archives 23:40:24 total 16 23:40:24 drwxr-xr-x 3 root root 4096 Mar 29 23:29 . 23:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:29 .. 23:40:24 drwxr-xr-x 2 root root 4096 Mar 29 23:29 cost 23:40:24 -rw-r--r-- 1 root root 86 Mar 29 23:29 cost.csv 23:40:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-283/archives 23:40:24 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-283/archives 23:40:24 total 16 23:40:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:29 . 23:40:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:29 .. 23:40:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:29 cost 23:40:24 -rw-r--r-- 1 jenkins jenkins 86 Mar 29 23:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:40:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:40:26 ---> package-listing.sh 23:40:26 ++ facter osfamily 23:40:26 ++ tr '[:upper:]' '[:lower:]' 23:40:26 + OS_FAMILY=debian 23:40:26 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-283 23:40:26 + START_PACKAGES=/tmp/packages_start.txt 23:40:26 + END_PACKAGES=/tmp/packages_end.txt 23:40:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:40:26 + PACKAGES=/tmp/packages_start.txt 23:40:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-283 ']' 23:40:26 + PACKAGES=/tmp/packages_end.txt 23:40:26 + case "${OS_FAMILY}" in 23:40:26 + dpkg -l 23:40:26 + grep '^ii' 23:40:26 + '[' -f /tmp/packages_start.txt ']' 23:40:26 + '[' -f /tmp/packages_end.txt ']' 23:40:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:40:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-283 ']' 23:40:26 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-283/archives/ 23:40:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-283/archives/ [Pipeline] echo 23:40:26 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-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:40:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:27 prd-ubuntu20.04-docker-8c-8g-6326 does not seem to be running inside a container 23:40:27 $ 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-283/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-283 -v /w/workspace/gexfoundry_device-rest-go_PR-283:/w/workspace/gexfoundry_device-rest-go_PR-283:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-283@tmp:/w/workspace/gexfoundry_device-rest-go_PR-283@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:40:27 $ docker top 8b013686bed8cebbe2c53a6fa6cbd90b437d31d33f743d01b52483b8fae28880 -eo pid,comm [Pipeline] { [Pipeline] sh 23:40:27 + touch /tmp/pre-build-complete [Pipeline] sh 23:40:28 + mkdir -p /var/log/sysstat [Pipeline] sh 23:40:28 + ls /var/log/sa-host 23:40:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:28 provisioning config files... 23:40:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-283@tmp/config14007192804735895204tmp [Pipeline] { [Pipeline] echo 23:40:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:40:28 ---> create-netrc.sh [Pipeline] } 23:40:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:40:29 ---> python-tools-install.sh [Pipeline] echo 23:40:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:40:29 ---> sudo-logs.sh 23:40:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:40:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:40:29 ---> job-cost.sh 23:40:29 lf-activate-venv: SKIPPING 23:40:29 DEBUG: total: 0.2199999988079071 23:40:29 INFO: Retrieving Stack Cost... 23:40:30 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:30 INFO: Archiving Costs [Pipeline] echo 23:40:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:40:31 ---> logs-deploy.sh 23:40:31 lf-activate-venv: SKIPPING 23:40:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-283/2 23:40:31 INFO: archiving workspace using pattern(s): 23:40:31 Archives upload complete. 23:40:31 INFO: archiving logs to Nexus