Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e0fabda8af675933305fd9e419603ed10b7693eb+2ded8c8301fa9285dc80bb471c5f0972abc0b73a (ae8a5a9ac5790eb488685c0e027b6427bcf166ee) 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-ssh10250492197887014697.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-ssh10220607719908571180.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-268/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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5796609004067691377.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-ssh7912358301142159647.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-268/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-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10015609069677783142.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-2447 in /w/workspace/gexfoundry_device-rest-go_PR-268 [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-268 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb Merge succeeded, producing 146abaa2fb209c357d3246bb7827ca682096beab Checking out Revision 146abaa2fb209c357d3246bb7827ca682096beab (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 146abaa2fb209c357d3246bb7827ca682096beab # timeout=10 Commit message: "Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD" > git rev-list --no-walk e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:08:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:08:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:08:27 ========================================================= 15:08:27 EdgeX Global Pipelines Version Info 15:08:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:08:28 ------------------- 15:08:28 stable info: 15:08:28 ------------------- 15:08:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:08:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:08:28 Message: update stable to v1.0.245 15:08:28 ------------------- 15:08:28 experimental info: 15:08:28 ------------------- 15:08:28 Commited By: **** collab-it+edgex@linuxfoundation.org 15:08:28 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:08:28 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:08:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 146abaa [Pipeline] echo 15:08:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:29 provisioning config files... 15:08:29 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config7834395957395076481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:29 ---> docker-login.sh 15:08:29 nexus3.edgexfoundry.org:10001 15:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:30 Configure a credential helper to remove this warning. See 15:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:30 15:08:30 Login Succeeded 15:08:30 nexus3.edgexfoundry.org:10002 15:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:30 Configure a credential helper to remove this warning. See 15:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:30 15:08:30 Login Succeeded 15:08:30 nexus3.edgexfoundry.org:10003 15:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:30 Configure a credential helper to remove this warning. See 15:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:30 15:08:30 Login Succeeded 15:08:30 nexus3.edgexfoundry.org:10004 15:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:30 Configure a credential helper to remove this warning. See 15:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:30 15:08:30 Login Succeeded 15:08:30 docker.io 15:08:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:30 Configure a credential helper to remove this warning. See 15:08:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:30 15:08:30 Login Succeeded 15:08:30 ---> docker-login.sh ends [Pipeline] } 15:08:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:08:31 + git rev-list -1 --merges 146abaa2fb209c357d3246bb7827ca682096beab~1..146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo 15:08:31 -----------> git rev-list -1 --merges 146abaa2fb209c357d3246bb7827ca682096beab~1..146abaa2fb209c357d3246bb7827ca682096beab 146abaa2fb209c357d3246bb7827ca682096beab 15:08:31 146abaa2fb209c357d3246bb7827ca682096beab [false] [Pipeline] sh 15:08:31 + git log --format=format:%s -1 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo 15:08:31 ========================================================= 15:08:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:08:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:08:31 + git log --format=format:%s -1 146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] echo 15:08:31 [semverPrep] GIT_COMMIT: 146abaa2fb209c357d3246bb7827ca682096beab, Commit Message: Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD [Pipeline] echo 15:08:31 [semverPrep] This is not a build commit. [Pipeline] sh 15:08:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:08:32 + grep -v github /etc/ssh/ssh_known_hosts 15:08:32 + [ -e /tmp/ssh_known_hosts ] 15:08:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:08:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:08:32 + sudo tee -a /etc/ssh/ssh_known_hosts 15:08:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:32 15:08:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:33 0.1.4: Pulling from edgex-devops/py-git-semver 15:08:33 b85a868b505f: Pulling fs layer 15:08:33 e2be974225ed: Pulling fs layer 15:08:33 339a4e72a1f5: Pulling fs layer 15:08:33 988bab9f4d93: Pulling fs layer 15:08:33 1469e6f7b9e6: Pulling fs layer 15:08:33 eaf3925da568: Pulling fs layer 15:08:33 bab4dde63d76: Pulling fs layer 15:08:33 bde34c3a00c8: Pulling fs layer 15:08:33 b352a97aabf1: Pulling fs layer 15:08:33 4872d77fe225: Pulling fs layer 15:08:33 5851b861e8e6: Pulling fs layer 15:08:33 bde34c3a00c8: Waiting 15:08:33 988bab9f4d93: Waiting 15:08:33 1469e6f7b9e6: Waiting 15:08:33 eaf3925da568: Waiting 15:08:33 b352a97aabf1: Waiting 15:08:33 bab4dde63d76: Waiting 15:08:33 4872d77fe225: Waiting 15:08:33 5851b861e8e6: Waiting 15:08:33 e2be974225ed: Verifying Checksum 15:08:33 e2be974225ed: Download complete 15:08:33 988bab9f4d93: Download complete 15:08:33 1469e6f7b9e6: Verifying Checksum 15:08:33 1469e6f7b9e6: Download complete 15:08:33 eaf3925da568: Verifying Checksum 15:08:33 eaf3925da568: Download complete 15:08:33 339a4e72a1f5: Verifying Checksum 15:08:33 339a4e72a1f5: Download complete 15:08:33 bde34c3a00c8: Download complete 15:08:33 b352a97aabf1: Verifying Checksum 15:08:33 b352a97aabf1: Download complete 15:08:33 4872d77fe225: Download complete 15:08:33 5851b861e8e6: Download complete 15:08:33 b85a868b505f: Verifying Checksum 15:08:33 b85a868b505f: Download complete 15:08:33 bab4dde63d76: Verifying Checksum 15:08:33 bab4dde63d76: Download complete 15:08:34 b85a868b505f: Pull complete 15:08:34 e2be974225ed: Pull complete 15:08:35 339a4e72a1f5: Pull complete 15:08:35 988bab9f4d93: Pull complete 15:08:35 1469e6f7b9e6: Pull complete 15:08:35 eaf3925da568: Pull complete 15:08:37 bab4dde63d76: Pull complete 15:08:37 bde34c3a00c8: Pull complete 15:08:37 b352a97aabf1: Pull complete 15:08:37 4872d77fe225: Pull complete 15:08:37 5851b861e8e6: Pull complete 15:08:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:08:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:37 prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container 15:08:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 15:08:38 $ docker top 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 -eo pid,comm 15:08:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:08:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:38 [ssh-agent] Looking for ssh-agent implementation... 15:08:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:38 $ docker exec 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent 15:08:38 SSH_AUTH_SOCK=/tmp/ssh-MfQ05q9DlN4M/agent.33 15:08:38 SSH_AGENT_PID=39 15:08:38 Running ssh-add (command line suppressed) 15:08:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_4893073560075578796.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_4893073560075578796.key) 15:08:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:39 + git tag --points-at HEAD [Pipeline] } 15:08:39 $ docker exec --env ******** --env ******** 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent -k 15:08:39 unset SSH_AUTH_SOCK; 15:08:39 unset SSH_AGENT_PID; 15:08:39 echo Agent pid 39 killed; 15:08:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:39 [ssh-agent] Looking for ssh-agent implementation... 15:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:39 $ docker exec 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent 15:08:39 SSH_AUTH_SOCK=/tmp/ssh-zrEX9umQuJzJ/agent.71 15:08:39 SSH_AGENT_PID=77 15:08:39 Running ssh-add (command line suppressed) 15:08:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_15958533170433547475.key (/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/private_key_15958533170433547475.key) 15:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:40 + git semver init 15:08:40 2023-03-16 15:08:40,196 [run_init] DEBUG init version:0.0.0 force:False 15:08:40 2023-03-16 15:08:40,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver 15:08:40 2023-03-16 15:08:40,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-268/.semver 15:08:40 2023-03-16 15:08:40,197 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-268/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268, universal_newlines=False, shell=None, istream=None) 15:08:41 2023-03-16 15:08:41,201 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.git/info/exclude 15:08:41 2023-03-16 15:08:41,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 with force:False 15:08:41 2023-03-16 15:08:41,202 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 15:08:41 2023-03-16 15:08:41,205 [execute] INFO git cat-file --batch-check 15:08:41 2023-03-16 15:08:41,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) 15:08:41 2023-03-16 15:08:41,212 [execute] INFO git cat-file --batch 15:08:41 2023-03-16 15:08:41,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-268/.semver, universal_newlines=False, shell=None, istream=) 15:08:41 2023-03-16 15:08:41,217 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-268/.semver/PR-268 15:08:41 0.0.0 [Pipeline] } 15:08:41 $ docker exec --env ******** --env ******** 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 ssh-agent -k 15:08:41 unset SSH_AUTH_SOCK; 15:08:41 unset SSH_AGENT_PID; 15:08:41 echo Agent pid 77 killed; 15:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:08:41 + git semver [Pipeline] } 15:08:42 $ docker stop --time=1 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 15:08:43 $ docker rm -f --volumes 6986c0401297b2f3fa5e3490efef768598db2537c1fb4739920ef4e2ede96f76 [Pipeline] // withDockerContainer [Pipeline] sh 15:08:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:08:44 Stashed 1 file(s) [Pipeline] echo 15:08:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:44 provisioning config files... 15:08:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config5942478356630905477tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:44 ---> docker-login.sh 15:08:44 nexus3.edgexfoundry.org:10001 15:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:44 Configure a credential helper to remove this warning. See 15:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:44 15:08:44 Login Succeeded 15:08:44 nexus3.edgexfoundry.org:10002 15:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:44 Configure a credential helper to remove this warning. See 15:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:44 15:08:44 Login Succeeded 15:08:44 nexus3.edgexfoundry.org:10003 15:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:44 Configure a credential helper to remove this warning. See 15:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:44 15:08:44 Login Succeeded 15:08:44 nexus3.edgexfoundry.org:10004 15:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:45 Configure a credential helper to remove this warning. See 15:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:45 15:08:45 Login Succeeded 15:08:45 docker.io 15:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:45 Configure a credential helper to remove this warning. See 15:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:45 15:08:45 Login Succeeded 15:08:45 ---> docker-login.sh ends [Pipeline] } 15:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:45 ========================================================= 15:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:45 + 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 . 15:08:45 Sending build context to Docker daemon 10.87MB 15:08:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:08:45 Step 2/12 : FROM ${BASE} AS builder 15:08:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:08:45 63b65145d645: Pulling fs layer 15:08:45 a2d21d5440eb: Pulling fs layer 15:08:45 935e6c44a52c: Pulling fs layer 15:08:45 94cc34f8dd06: Pulling fs layer 15:08:45 30dea6a524f1: Pulling fs layer 15:08:45 a2aff8979fd8: Pulling fs layer 15:08:45 6808be2612f2: Pulling fs layer 15:08:45 f25807f1079a: Pulling fs layer 15:08:45 a2aff8979fd8: Waiting 15:08:45 6808be2612f2: Waiting 15:08:45 f25807f1079a: Waiting 15:08:45 94cc34f8dd06: Waiting 15:08:45 a2d21d5440eb: Download complete 15:08:46 94cc34f8dd06: Verifying Checksum 15:08:46 94cc34f8dd06: Download complete 15:08:46 63b65145d645: Verifying Checksum 15:08:46 63b65145d645: Download complete 15:08:46 a2aff8979fd8: Verifying Checksum 15:08:46 a2aff8979fd8: Download complete 15:08:46 63b65145d645: Pull complete 15:08:46 a2d21d5440eb: Pull complete 15:08:47 935e6c44a52c: Verifying Checksum 15:08:47 935e6c44a52c: Download complete 15:08:47 f25807f1079a: Verifying Checksum 15:08:47 f25807f1079a: Download complete 15:08:47 6808be2612f2: Verifying Checksum 15:08:47 6808be2612f2: Download complete 15:08:50 935e6c44a52c: Pull complete 15:08:50 94cc34f8dd06: Pull complete 15:08:50 30dea6a524f1: Pull complete 15:08:50 a2aff8979fd8: Pull complete 15:08:53 6808be2612f2: Pull complete 15:08:53 f25807f1079a: Pull complete 15:08:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:08:53 ---> 3b553350e43f 15:08:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:08:55 ---> Running in 1d03dfafb6ba 15:08:55 Removing intermediate container 1d03dfafb6ba 15:08:55 ---> 7d7b0c476df2 15:08:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:08:55 ---> Running in f8af613d872f 15:08:55 Removing intermediate container f8af613d872f 15:08:55 ---> a14c1c228a10 15:08:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:08:55 ---> Running in 5b98e79f10a2 15:08:55 Removing intermediate container 5b98e79f10a2 15:08:55 ---> c93175e76e09 15:08:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:08:55 ---> Running in a265a0f75663 15:08:55 Removing intermediate container a265a0f75663 15:08:55 ---> a65570dcb294 15:08:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:08:55 ---> Running in ffd62fe8dad9 15:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:08:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:08:56 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:08:56 (2/4) Installing libedit (20221030.3.1-r0) 15:08:56 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:08:56 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:08:56 Executing busybox-1.35.0-r29.trigger 15:08:56 OK: 269 MiB in 57 packages 15:08:57 Removing intermediate container ffd62fe8dad9 15:08:57 ---> 3cd97ca53008 15:08:57 Step 8/12 : WORKDIR /device-rest-go 15:08:57 ---> Running in cb7602eb6b35 15:08:57 Removing intermediate container cb7602eb6b35 15:08:57 ---> 3e82ba74f78a 15:08:57 Step 9/12 : COPY go.mod vendor* ./ 15:08:57 ---> 96c24105c3d9 15:08:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:57 ---> Running in 3989876a5d99 15:08:59 Still waiting to schedule task 15:08:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:10:33 Removing intermediate container 3989876a5d99 15:10:33 ---> 26b933fd0d78 15:10:33 Step 11/12 : COPY . . 15:10:33 ---> 202289015fee 15:10:33 Step 12/12 : RUN $MAKE 15:10:33 ---> Running in f4bf16c53fbe 15:10:33 noop 15:10:33 Removing intermediate container f4bf16c53fbe 15:10:33 ---> f8e0708b550b 15:10:33 Successfully built f8e0708b550b 15:10:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:34 + docker inspect -f . ci-base-image-x86_64 15:10:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:34 prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container 15:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 15:10:34 $ docker top aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:34 + go version 15:10:34 go version go1.20.2 linux/amd64 [Pipeline] } 15:10:34 $ docker stop --time=1 aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b 15:10:36 $ docker rm -f --volumes aef3985cbbaf5352274f652b0815d636cb59e2f7c5c430222e94b6a27b2e245b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:36 + docker inspect -f . ci-base-image-x86_64 15:10:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:36 prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container 15:10:36 $ 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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 15:10:37 $ docker top d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] fileExists [Pipeline] sh 15:10:37 + make test 15:10:37 go test ./... -coverprofile=coverage.out ./... 15:10:42 ? github.com/edgexfoundry/device-rest-go [no test files] 15:10:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:10:52 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.1% of statements 15:10:59 go vet ./... 15:11:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:11:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:11:03 ./bin/test-attribution-txt.sh [Pipeline] echo 15:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:11:03 $ docker stop --time=1 d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 15:11:05 $ docker rm -f --volumes d4d22c183f3dc8287503b95cf72251141fe52a6d25cafe0ad99e7b952da27332 [Pipeline] // withDockerContainer [Pipeline] sh 15:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:11:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:11:06 + ls -al . 15:11:06 total 184 15:11:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 15:10 . 15:11:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:08 .. 15:11:06 -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 15:08 .dockerignore 15:11:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:08 .git 15:11:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:08 .github 15:11:06 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 15:08 .gitignore 15:11:06 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:08 .golangci.yml 15:11:06 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:08 .semver 15:11:06 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 16 15:08 Attribution.txt 15:11:06 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 16 15:08 CHANGELOG.md 15:11:06 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 16 15:08 Dockerfile 15:11:06 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:08 GOVERNANCE.md 15:11:06 -rw-rw-r-- 1 jenkins jenkins 680 Mar 16 15:08 Jenkinsfile 15:11:06 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:08 LICENSE 15:11:06 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 16 15:08 Makefile 15:11:06 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:08 OWNERS.md 15:11:06 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 16 15:08 README.md 15:11:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:08 VERSION 15:11:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:08 bin 15:11:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:08 cmd 15:11:06 -rw-r--r-- 1 jenkins jenkins 14200 Mar 16 15:10 coverage.out 15:11:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:08 driver 15:11:06 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 16 15:08 go.mod 15:11:06 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 15:08 go.sum 15:11:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:08 snap 15:11:06 -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 15:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:07 + 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=146abaa2fb209c357d3246bb7827ca682096beab --label arch=amd64 --label version=0.0.0 . 15:11:07 Sending build context to Docker daemon 10.89MB 15:11:07 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:11:07 Step 2/25 : FROM ${BASE} AS builder 15:11:07 ---> f8e0708b550b 15:11:07 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:11:07 ---> Running in c51aa693a54f 15:11:07 Removing intermediate container c51aa693a54f 15:11:07 ---> a5d5ba3a6a1e 15:11:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:11:07 ---> Running in e6f5fed9a275 15:11:07 Removing intermediate container e6f5fed9a275 15:11:07 ---> ac5bb7ac52cb 15:11:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:11:07 ---> Running in f13ef698f657 15:11:07 Removing intermediate container f13ef698f657 15:11:07 ---> bca095686828 15:11:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:11:07 ---> Running in da0e8fa66e80 15:11:07 Removing intermediate container da0e8fa66e80 15:11:07 ---> 22f488f80c0f 15:11:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:07 ---> Running in 0032536a416d 15:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:11:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:11:08 OK: 269 MiB in 57 packages 15:11:08 Removing intermediate container 0032536a416d 15:11:08 ---> 4864a8467141 15:11:08 Step 8/25 : WORKDIR /device-rest-go 15:11:08 ---> Running in 2f9298b06434 15:11:08 Removing intermediate container 2f9298b06434 15:11:08 ---> 39c2379b138c 15:11:08 Step 9/25 : COPY go.mod vendor* ./ 15:11:09 ---> b6a836833f79 15:11:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:11:09 ---> Running in 1d2c49479f97 15:11:10 Removing intermediate container 1d2c49479f97 15:11:10 ---> ea24bcd26d8b 15:11:10 Step 11/25 : COPY . . 15:11:10 ---> 46f842b723be 15:11:10 Step 12/25 : RUN $MAKE 15:11:10 ---> Running in 4e7f9162f054 15:11:10 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 15:11:32 Removing intermediate container 4e7f9162f054 15:11:32 ---> 518866ad8574 15:11:32 Step 13/25 : FROM alpine:3.17 15:11:32 3.17: Pulling from library/alpine 15:11:32 63b65145d645: Already exists 15:11:32 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:11:32 Status: Downloaded newer image for alpine:3.17 15:11:32 ---> b2aa39c304c2 15:11:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:11:32 ---> Running in 10226434b562 15:11:32 Removing intermediate container 10226434b562 15:11:32 ---> 3fb4f09c6b22 15:11:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:11:32 ---> Running in 870ab3cd0dd3 15:11:32 Removing intermediate container 870ab3cd0dd3 15:11:32 ---> 793c9258ab9f 15:11:32 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:11:32 ---> Running in 753012c21475 15:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:11:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:11:32 (1/1) Installing dumb-init (1.2.5-r2) 15:11:32 Executing busybox-1.35.0-r29.trigger 15:11:32 OK: 7 MiB in 16 packages 15:11:32 Removing intermediate container 753012c21475 15:11:32 ---> aa64d425f00f 15:11:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:11:32 ---> d986d0c3c618 15:11:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:11:32 ---> 5510e2ac1743 15:11:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:11:33 ---> 12bc29c54b93 15:11:33 Step 20/25 : EXPOSE 59986 15:11:33 ---> Running in 9540dfdc5a3c 15:11:33 Removing intermediate container 9540dfdc5a3c 15:11:33 ---> 00051620be9c 15:11:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:11:33 ---> Running in d3285d8b27a8 15:11:33 Removing intermediate container d3285d8b27a8 15:11:33 ---> 2e44c45efe6b 15:11:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:11:33 ---> Running in 2c0f7298bf21 15:11:33 Removing intermediate container 2c0f7298bf21 15:11:33 ---> 0b39316bf687 15:11:33 Step 23/25 : LABEL arch=amd64 15:11:33 ---> Running in a2d7be61d9f8 15:11:33 Removing intermediate container a2d7be61d9f8 15:11:33 ---> a87275a140af 15:11:33 Step 24/25 : LABEL git_sha=146abaa2fb209c357d3246bb7827ca682096beab 15:11:33 ---> Running in 238cb5bbefda 15:11:33 Removing intermediate container 238cb5bbefda 15:11:33 ---> aeebee021e32 15:11:33 Step 25/25 : LABEL version=0.0.0 15:11:33 ---> Running in aeb7cf1bc3a9 15:11:33 Removing intermediate container aeb7cf1bc3a9 15:11:33 ---> 624e02582c5f 15:11:33 [Warning] One or more build-args [ARCH] were not consumed 15:11:33 Successfully built 624e02582c5f 15:11:33 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:11:34 15:11:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:11:34 latest: Pulling from edgex-lftools-log-publisher 15:11:34 5eb5b503b376: Pulling fs layer 15:11:34 5c69ac0246d0: Pulling fs layer 15:11:34 ec43610c2a17: Pulling fs layer 15:11:34 3a2ae6a8a46f: Pulling fs layer 15:11:34 33b1e0a273af: Pulling fs layer 15:11:34 5d3b04190fa2: Pulling fs layer 15:11:34 2f39f015ded8: Pulling fs layer 15:11:34 3a2ae6a8a46f: Waiting 15:11:34 33b1e0a273af: Waiting 15:11:34 2f39f015ded8: Waiting 15:11:34 5d3b04190fa2: Waiting 15:11:34 5c69ac0246d0: Download complete 15:11:34 3a2ae6a8a46f: Verifying Checksum 15:11:34 3a2ae6a8a46f: Download complete 15:11:34 33b1e0a273af: Verifying Checksum 15:11:34 33b1e0a273af: Download complete 15:11:34 5d3b04190fa2: Verifying Checksum 15:11:34 5d3b04190fa2: Download complete 15:11:34 ec43610c2a17: Verifying Checksum 15:11:34 ec43610c2a17: Download complete 15:11:34 5eb5b503b376: Verifying Checksum 15:11:34 5eb5b503b376: Download complete 15:11:35 2f39f015ded8: Download complete 15:11:35 5eb5b503b376: Pull complete 15:11:35 5c69ac0246d0: Pull complete 15:11:36 ec43610c2a17: Pull complete 15:11:36 3a2ae6a8a46f: Pull complete 15:11:36 33b1e0a273af: Pull complete 15:11:36 5d3b04190fa2: Pull complete 15:11:40 2f39f015ded8: Pull complete 15:11:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:11:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:41 prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container 15:11:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 15:11:44 $ docker top bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:44 ---> job-cost.sh 15:11:44 lf-activate-venv: SKIPPING 15:11:44 INFO: No Stack... 15:11:45 INFO: Retrieving Pricing Info for: v3-standard-8 15:11:45 INFO: Archiving Costs [Pipeline] sh 15:11:45 + cat /w/workspace/gexfoundry_device-rest-go_PR-268/archives/cost.csv 15:11:45 + cut -d, -f6 [Pipeline] lock 15:11:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] 15:11:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] did not exist. Created. 15:11:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:11:46 + echo total: 0.2199999988079071 [Pipeline] stash 15:11:46 Stashed 1 file(s) [Pipeline] } 15:11:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:11:46 $ docker stop --time=1 bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f 15:11:47 $ docker rm -f --volumes bb8a43e18a7430d7914ea284a3c7bbb76ef8ffaebb4d0decf7f83b492d2ee02f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:12:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2449 in /w/workspace/gexfoundry_device-rest-go_PR-268 [Pipeline] { [Pipeline] ws 15:12:01 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:12:01 The recommended git tool is: git 15:12:09 using credential edgex-jenkins-ssh 15:12:09 Cloning the remote Git repository 15:12:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:12:09 > git init /w/workspace/device-rest-go/2 # timeout=10 15:12:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:12:09 > git --version # timeout=10 15:12:09 > git --version # 'git version 2.25.1' 15:12:09 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:12:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:12:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:12:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:12:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:12:13 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit e0fabda8af675933305fd9e419603ed10b7693eb 15:12:14 Merge succeeded, producing 63f743c142be54cb1b7391022f052324b44ad989 15:12:14 Checking out Revision 63f743c142be54cb1b7391022f052324b44ad989 (PR-268) 15:12:13 > git config core.sparsecheckout # timeout=10 15:12:13 > git checkout -f e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 15:12:13 > git remote # timeout=10 15:12:13 > git config --get remote.origin.url # timeout=10 15:12:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:12:13 > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 15:12:14 > git rev-parse HEAD^{commit} # timeout=10 15:12:14 > git config core.sparsecheckout # timeout=10 15:12:14 > git checkout -f 63f743c142be54cb1b7391022f052324b44ad989 # timeout=10 15:12:17 Commit message: "Merge commit '2ded8c8301fa9285dc80bb471c5f0972abc0b73a' into HEAD" 15:12:17 > git rev-list --no-walk e0fabda8af675933305fd9e419603ed10b7693eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:12:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:12:18 % Total % Received % Xferd Average Speed Time Time Time Current 15:12:18 Dload Upload Total Spent Left Speed 15:12:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 15:12:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:12:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:12:19 + sudo tee /etc/docker/daemon.new 15:12:19 { 15:12:19 "registry-mirrors": [ 15:12:19 "https://nexus3.edgexfoundry.org:10001" 15:12:19 ], 15:12:19 "bip": "10.250.0.254/24", 15:12:19 "hosts": [ 15:12:19 "tcp://0.0.0.0:5555", 15:12:19 "unix:///var/run/docker.sock" 15:12:19 ], 15:12:19 "mtu": 1458, 15:12:19 "selinux-enabled": true, 15:12:19 "seccomp-profile": "/etc/docker/seccomp.json" 15:12:19 } [Pipeline] sh 15:12:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:12:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:38 provisioning config files... 15:12:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config15022985925547708262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:12:39 ---> docker-login.sh 15:12:39 nexus3.edgexfoundry.org:10001 15:12:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:40 Configure a credential helper to remove this warning. See 15:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:40 15:12:40 Login Succeeded 15:12:40 nexus3.edgexfoundry.org:10002 15:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:40 Configure a credential helper to remove this warning. See 15:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:40 15:12:40 Login Succeeded 15:12:40 nexus3.edgexfoundry.org:10003 15:12:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:40 Configure a credential helper to remove this warning. See 15:12:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:40 15:12:40 Login Succeeded 15:12:40 nexus3.edgexfoundry.org:10004 15:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:41 Configure a credential helper to remove this warning. See 15:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:41 15:12:41 Login Succeeded 15:12:41 docker.io 15:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:12:41 Configure a credential helper to remove this warning. See 15:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:12:41 15:12:41 Login Succeeded 15:12:41 ---> docker-login.sh ends [Pipeline] } 15:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:12:42 ========================================================= 15:12:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:12:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:42 + 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 . 15:12:42 Sending build context to Docker daemon 138.8kB 15:12:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:12:42 Step 2/12 : FROM ${BASE} AS builder 15:12:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:12:44 af6eaf76a39c: Pulling fs layer 15:12:44 55522c791124: Pulling fs layer 15:12:44 ce5c4a1c91eb: Pulling fs layer 15:12:44 169dfbe0d373: Pulling fs layer 15:12:44 e1ff8fa3b103: Pulling fs layer 15:12:44 52ebb69f0ebf: Pulling fs layer 15:12:44 5abe8eddf0d5: Pulling fs layer 15:12:44 169dfbe0d373: Waiting 15:12:44 e1ff8fa3b103: Waiting 15:12:44 52ebb69f0ebf: Waiting 15:12:44 55522c791124: Download complete 15:12:44 af6eaf76a39c: Download complete 15:12:44 169dfbe0d373: Verifying Checksum 15:12:44 169dfbe0d373: Download complete 15:12:44 e1ff8fa3b103: Verifying Checksum 15:12:44 e1ff8fa3b103: Download complete 15:12:45 af6eaf76a39c: Pull complete 15:12:45 5abe8eddf0d5: Verifying Checksum 15:12:45 5abe8eddf0d5: Download complete 15:12:46 55522c791124: Pull complete 15:12:47 ce5c4a1c91eb: Verifying Checksum 15:12:47 ce5c4a1c91eb: Download complete 15:12:47 52ebb69f0ebf: Verifying Checksum 15:12:47 52ebb69f0ebf: Download complete 15:12:59 ce5c4a1c91eb: Pull complete 15:12:59 169dfbe0d373: Pull complete 15:12:59 e1ff8fa3b103: Pull complete 15:13:06 52ebb69f0ebf: Pull complete 15:13:09 5abe8eddf0d5: Pull complete 15:13:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:13:10 ---> 6cb57ee374ae 15:13:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:13:11 ---> Running in 4abd13c1aa74 15:13:11 Removing intermediate container 4abd13c1aa74 15:13:11 ---> 89e1bf466728 15:13:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:13:12 ---> Running in fa2a73bf5e99 15:13:12 Removing intermediate container fa2a73bf5e99 15:13:12 ---> beabd70a154c 15:13:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:13:12 ---> Running in 6eba73f5a5c1 15:13:12 Removing intermediate container 6eba73f5a5c1 15:13:12 ---> 818ed16c56b2 15:13:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:13:13 ---> Running in 3ef992765908 15:13:13 Removing intermediate container 3ef992765908 15:13:13 ---> ff748ebc0e97 15:13:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:13:13 ---> Running in 992a95681cc0 15:13:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:13:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:13:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:13:16 (2/4) Installing libedit (20221030.3.1-r0) 15:13:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:13:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:13:16 Executing busybox-1.35.0-r29.trigger 15:13:16 OK: 268 MiB in 57 packages 15:13:18 Removing intermediate container 992a95681cc0 15:13:18 ---> 1afa5f6c2b2f 15:13:18 Step 8/12 : WORKDIR /device-rest-go 15:13:18 ---> Running in 6e53172366cd 15:13:18 Removing intermediate container 6e53172366cd 15:13:18 ---> d8dcd5a15903 15:13:18 Step 9/12 : COPY go.mod vendor* ./ 15:13:19 ---> 4f81030f3cb1 15:13:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:13:19 ---> Running in 473d9909fb26 15:14:27 Removing intermediate container 473d9909fb26 15:14:27 ---> a5fe69abe399 15:14:27 Step 11/12 : COPY . . 15:14:27 ---> 763bba9523ed 15:14:27 Step 12/12 : RUN $MAKE 15:14:27 ---> Running in 707693b5b9cd 15:14:27 noop 15:14:27 Removing intermediate container 707693b5b9cd 15:14:27 ---> 21cd721e76d6 15:14:27 Successfully built 21cd721e76d6 15:14:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:27 + docker inspect -f . ci-base-image-arm64 15:14:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:27 prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container 15:14:27 $ 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 15:14:29 $ docker top 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 -eo pid,comm [Pipeline] { [Pipeline] sh 15:14:29 + go version 15:14:29 go version go1.20.2 linux/arm64 [Pipeline] } 15:14:29 $ docker stop --time=1 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 15:14:32 $ docker rm -f --volumes 6d8680022d26456f89f81f1812b5b03052485681faf6df368d6310ee9c775358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:32 + docker inspect -f . ci-base-image-arm64 15:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:14:32 prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container 15:14:32 $ 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 15:14:34 $ docker top dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba -eo pid,comm [Pipeline] { [Pipeline] sh 15:14:35 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 15:14:35 + make test 15:14:35 go test ./... -coverprofile=coverage.out ./... 15:15:14 ? github.com/edgexfoundry/device-rest-go [no test files] 15:17:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:17:36 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 33.1% of statements 15:17:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:17:36 go vet ./... 15:18:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:18:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:18:03 ./bin/test-attribution-txt.sh [Pipeline] echo 15:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:18:03 $ docker stop --time=1 dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba 15:18:04 $ docker rm -f --volumes dc10657e5e8bab3eb45b9f77d6212230db9f576d04009eeef2e88d79a52b3aba [Pipeline] // withDockerContainer [Pipeline] sh 15:18:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:18:06 Warning: overwriting stash ‘coverage-report’ 15:18:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:18:07 + ls -al . 15:18:07 total 180 15:18:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:14 . 15:18:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:12 .. 15:18:07 -rw-rw-r-- 1 jenkins jenkins 151 Mar 16 15:12 .dockerignore 15:18:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:12 .git 15:18:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:12 .github 15:18:07 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 15:12 .gitignore 15:18:07 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 15:12 .golangci.yml 15:18:07 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 16 15:12 Attribution.txt 15:18:07 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 16 15:12 CHANGELOG.md 15:18:07 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 16 15:12 Dockerfile 15:18:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:12 GOVERNANCE.md 15:18:07 -rw-rw-r-- 1 jenkins jenkins 680 Mar 16 15:12 Jenkinsfile 15:18:07 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 15:12 LICENSE 15:18:07 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 16 15:12 Makefile 15:18:07 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 15:12 OWNERS.md 15:18:07 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 16 15:12 README.md 15:18:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:08 VERSION 15:18:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:12 bin 15:18:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:12 cmd 15:18:07 -rw-r--r-- 1 jenkins jenkins 14200 Mar 16 15:17 coverage.out 15:18:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:12 driver 15:18:07 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 16 15:12 go.mod 15:18:07 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 15:12 go.sum 15:18:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:12 snap 15:18:07 -rw-rw-r-- 1 jenkins jenkins 713 Mar 16 15:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:07 + 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=63f743c142be54cb1b7391022f052324b44ad989 --label arch=arm64 --label version=0.0.0 . 15:18:07 Sending build context to Docker daemon 153.6kB 15:18:08 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:18:08 Step 2/25 : FROM ${BASE} AS builder 15:18:08 ---> 21cd721e76d6 15:18:08 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:18:08 ---> Running in 15040de3e33d 15:18:08 Removing intermediate container 15040de3e33d 15:18:08 ---> 23e3e1ac72ab 15:18:08 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:18:08 ---> Running in 2909b9fe3e02 15:18:08 Removing intermediate container 2909b9fe3e02 15:18:08 ---> 8736ecadc0d0 15:18:08 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:18:08 ---> Running in aee62f23460c 15:18:09 Removing intermediate container aee62f23460c 15:18:09 ---> c3413ed2a42d 15:18:09 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:18:09 ---> Running in 534af1fd0cd1 15:18:09 Removing intermediate container 534af1fd0cd1 15:18:09 ---> d488bf2416d5 15:18:09 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:09 ---> Running in f8dacfb2ee8d 15:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:18:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:18:12 OK: 268 MiB in 57 packages 15:18:13 Removing intermediate container f8dacfb2ee8d 15:18:13 ---> 94926f43378d 15:18:13 Step 8/25 : WORKDIR /device-rest-go 15:18:13 ---> Running in eb08cd3e1da4 15:18:14 Removing intermediate container eb08cd3e1da4 15:18:14 ---> 4decc835bda9 15:18:14 Step 9/25 : COPY go.mod vendor* ./ 15:18:14 ---> c9d0bccfbbd3 15:18:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:18:14 ---> Running in f3baca9f346c 15:18:17 Removing intermediate container f3baca9f346c 15:18:17 ---> 8f9b3255a1c1 15:18:17 Step 11/25 : COPY . . 15:18:17 ---> 537210500ca9 15:18:17 Step 12/25 : RUN $MAKE 15:18:18 ---> Running in 481b66b8fd8e 15:18:19 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 15:20:40 Removing intermediate container 481b66b8fd8e 15:20:40 ---> 6301996274d0 15:20:40 Step 13/25 : FROM alpine:3.17 15:20:40 3.17: Pulling from library/alpine 15:20:40 af6eaf76a39c: Already exists 15:20:40 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:20:40 Status: Downloaded newer image for alpine:3.17 15:20:40 ---> d74e625d9115 15:20:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:20:40 ---> Running in 2abd5e4562e8 15:20:40 Removing intermediate container 2abd5e4562e8 15:20:40 ---> ebbf9e0c5b11 15:20:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:20:40 ---> Running in 6f1343ae4499 15:20:40 Removing intermediate container 6f1343ae4499 15:20:40 ---> 8cfabb3429ee 15:20:40 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:20:40 ---> Running in 1361d6cb815e 15:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:20:42 (1/1) Installing dumb-init (1.2.5-r2) 15:20:42 Executing busybox-1.35.0-r29.trigger 15:20:42 OK: 8 MiB in 16 packages 15:20:43 Removing intermediate container 1361d6cb815e 15:20:43 ---> 039871494439 15:20:43 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:20:44 ---> ec07d37dadc3 15:20:44 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:20:45 ---> dc2a7d097f44 15:20:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:20:45 ---> 95cefe159116 15:20:45 Step 20/25 : EXPOSE 59986 15:20:45 ---> Running in 4fdc7b333421 15:20:45 Removing intermediate container 4fdc7b333421 15:20:45 ---> 07246fd9c0a9 15:20:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:20:46 ---> Running in 9daabbc5ad91 15:20:46 Removing intermediate container 9daabbc5ad91 15:20:46 ---> 99801d57d94a 15:20:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:20:47 ---> Running in 464077cacd97 15:20:47 Removing intermediate container 464077cacd97 15:20:47 ---> 2d30e038c6a9 15:20:47 Step 23/25 : LABEL arch=arm64 15:20:47 ---> Running in 8ab8cabf0e1a 15:20:47 Removing intermediate container 8ab8cabf0e1a 15:20:47 ---> 4d9ad2b39be7 15:20:47 Step 24/25 : LABEL git_sha=63f743c142be54cb1b7391022f052324b44ad989 15:20:47 ---> Running in 8ed2b7c616b6 15:20:48 Removing intermediate container 8ed2b7c616b6 15:20:48 ---> 74e2f6d125c2 15:20:48 Step 25/25 : LABEL version=0.0.0 15:20:48 ---> Running in dacde5cc798b 15:20:48 Removing intermediate container dacde5cc798b 15:20:48 ---> af89e4d13ffe 15:20:48 [Warning] One or more build-args [ARCH] were not consumed 15:20:48 Successfully built af89e4d13ffe 15:20: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 15:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:20:48 15:20:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:20:49 arm64: Pulling from edgex-lftools-log-publisher 15:20:49 8998bd30e6a1: Pulling fs layer 15:20:49 04944245beec: Pulling fs layer 15:20:49 699f458cf7ca: Pulling fs layer 15:20:49 765212b225bb: Pulling fs layer 15:20:49 f23df028b6ca: Pulling fs layer 15:20:49 d65c8cfc05b1: Pulling fs layer 15:20:49 2437ff75d9bd: Pulling fs layer 15:20:49 f23df028b6ca: Waiting 15:20:49 d65c8cfc05b1: Waiting 15:20:49 765212b225bb: Waiting 15:20:49 2437ff75d9bd: Waiting 15:20:49 04944245beec: Verifying Checksum 15:20:49 04944245beec: Download complete 15:20:49 765212b225bb: Verifying Checksum 15:20:49 765212b225bb: Download complete 15:20:49 f23df028b6ca: Verifying Checksum 15:20:49 f23df028b6ca: Download complete 15:20:49 d65c8cfc05b1: Verifying Checksum 15:20:49 d65c8cfc05b1: Download complete 15:20:49 699f458cf7ca: Verifying Checksum 15:20:49 699f458cf7ca: Download complete 15:20:50 8998bd30e6a1: Download complete 15:20:51 2437ff75d9bd: Verifying Checksum 15:20:51 2437ff75d9bd: Download complete 15:20:53 8998bd30e6a1: Pull complete 15:20:54 04944245beec: Pull complete 15:20:55 699f458cf7ca: Pull complete 15:20:55 765212b225bb: Pull complete 15:20:56 f23df028b6ca: Pull complete 15:20:56 d65c8cfc05b1: Pull complete 15:21:12 2437ff75d9bd: Pull complete 15:21:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:21:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-2449 does not seem to be running inside a container 15:21:12 $ 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 15:21:15 $ docker top e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:16 ---> job-cost.sh 15:21:16 lf-activate-venv: SKIPPING 15:21:16 INFO: No Stack... 15:21:16 INFO: Retrieving Pricing Info for: v3-standard-4 15:21:17 INFO: Archiving Costs [Pipeline] sh 15:21:18 + cat /w/workspace/device-rest-go/2/archives/cost.csv 15:21:18 + cut -d, -f6 [Pipeline] lock 15:21:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] 15:21:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] did not exist. Created. 15:21:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:18 /w/workspace/device-rest-go/2@tmp/durable-dbda2287/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:21:19 + echo total: 0.10999999940395355 [Pipeline] stash 15:21:19 Warning: overwriting stash ‘stack-cost’ 15:21:19 Stashed 1 file(s) [Pipeline] } 15:21:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:21:19 $ docker stop --time=1 e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 15:21:21 $ docker rm -f --volumes e862d0f3fc4a895041e25b5ef07754bca62f1f212e785222536357ceb9e1e442 [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 15:21:21 provisioning config files... 15:21:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config3800296287905889811tmp [Pipeline] { [Pipeline] sh 15:21:21 + set +x 15:21:21 + bash -s -- 15:21:21 + curl -s https://codecov.io/bash 15:21:21 15:21:21 _____ _ 15:21:21 / ____| | | 15:21:21 | | ___ __| | ___ ___ _____ __ 15:21:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:21:21 | |___| (_) | (_| | __/ (_| (_) \ V / 15:21:21 \_____\___/ \__,_|\___|\___\___/ \_/ 15:21:21 Bash-1.0.6 15:21:21 15:21:21 15:21:21 ==> git version 2.25.1 found 15:21:21 ==> 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 15:21:21 Release-Date: 2020-01-08 15:21:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:21:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:21:21 ==> Jenkins CI detected. 15:21:21 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-268 15:21:21 project root: . 15:21:21 --> token set from env 15:21:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:21:21 ==> Running gcov in . (disable via -X gcov) 15:21:21 ==> Python coveragepy not found 15:21:21 ==> Searching for coverage reports in: 15:21:21 + . 15:21:21 -> Found 1 reports 15:21:21 ==> Detecting git/mercurial file structure 15:21:21 ==> Reading reports 15:21:21 + ./coverage.out bytes=14200 15:21:21 ==> Appending adjustments 15:21:21 https://docs.codecov.io/docs/fixing-reports 15:21:21 + Found adjustments 15:21:21 ==> Gzipping contents 15:21:21 4.0K /tmp/codecov.bacULh.gz 15:21:21 ==> Uploading reports 15:21:21 url: https://codecov.io 15:21:21 query: branch=PR-268&commit=146abaa2fb209c357d3246bb7827ca682096beab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= 15:21:21 -> Pinging Codecov 15:21:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-268&commit=146abaa2fb209c357d3246bb7827ca682096beab&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-268%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=268&job=&cmd_args= 15:21:21 -> Uploading to 15:21:21 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/4E5D53B4F1F92C436F7061BF334D961C/146abaa2fb209c357d3246bb7827ca682096beab/d9e83aec-8645-44de-a8c2-f32a882afaf5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T152121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8640e1b921c676b294cff7b9c0a9613283701f7fa67068925616daeaa79f5a66 15:21:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:21 Dload Upload Total Spent Left Speed 15:21:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 10625 --:--:-- --:--:-- --:--:-- 10579 15:21:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/146abaa2fb209c357d3246bb7827ca682096beab [Pipeline] } 15:21:22 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 15:21:22 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-268/archives ] 15:21:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives 15:21:22 total 16 15:21:22 drwxr-xr-x 3 root root 4096 Mar 16 15:11 . 15:21:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:11 .. 15:21:22 drwxr-xr-x 2 root root 4096 Mar 16 15:11 cost 15:21:22 -rw-r--r-- 1 root root 86 Mar 16 15:11 cost.csv 15:21:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-268/archives 15:21:22 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-268/archives 15:21:22 total 16 15:21:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:11 . 15:21:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:11 .. 15:21:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:11 cost 15:21:22 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 15:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:21:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:21:24 ---> package-listing.sh 15:21:24 ++ facter osfamily 15:21:24 ++ tr '[:upper:]' '[:lower:]' 15:21:24 + OS_FAMILY=debian 15:21:24 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-268 15:21:24 + START_PACKAGES=/tmp/packages_start.txt 15:21:24 + END_PACKAGES=/tmp/packages_end.txt 15:21:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:21:24 + PACKAGES=/tmp/packages_start.txt 15:21:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' 15:21:24 + PACKAGES=/tmp/packages_end.txt 15:21:24 + case "${OS_FAMILY}" in 15:21:24 + dpkg -l 15:21:24 + grep '^ii' 15:21:24 + '[' -f /tmp/packages_start.txt ']' 15:21:24 + '[' -f /tmp/packages_end.txt ']' 15:21:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:21:24 + '[' /w/workspace/gexfoundry_device-rest-go_PR-268 ']' 15:21:24 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ 15:21:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-268/archives/ [Pipeline] echo 15:21:24 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:21:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:21:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:25 prd-ubuntu20.04-docker-8c-8g-2447 does not seem to be running inside a container 15:21:25 $ 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-268/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-268 -v /w/workspace/gexfoundry_device-rest-go_PR-268:/w/workspace/gexfoundry_device-rest-go_PR-268:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-268@tmp:/w/workspace/gexfoundry_device-rest-go_PR-268@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 15:21:25 $ docker top ce9e91e533dae765486d4470cc1eb3cfa3312ffddcf5b0bf85dd1b7c3477f483 -eo pid,comm [Pipeline] { [Pipeline] sh 15:21:25 + touch /tmp/pre-build-complete [Pipeline] sh 15:21:26 + mkdir -p /var/log/sysstat [Pipeline] sh 15:21:26 + ls /var/log/sa-host 15:21:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:26 provisioning config files... 15:21:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-268@tmp/config5900565753712638360tmp [Pipeline] { [Pipeline] echo 15:21:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:21:26 ---> create-netrc.sh [Pipeline] } 15:21:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:21:27 ---> python-tools-install.sh [Pipeline] echo 15:21:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:21:27 ---> sudo-logs.sh 15:21:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:21:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:21:27 ---> job-cost.sh 15:21:27 lf-activate-venv: SKIPPING 15:21:27 DEBUG: total: 0.2199999988079071 15:21:27 INFO: Retrieving Stack Cost... 15:21:27 INFO: Retrieving Pricing Info for: v3-standard-8 15:21:28 INFO: Archiving Costs [Pipeline] echo 15:21:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:21:28 ---> logs-deploy.sh 15:21:28 lf-activate-venv: SKIPPING 15:21:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-268/2 15:21:28 INFO: archiving workspace using pattern(s): 15:21:29 Archives upload complete. 15:21:29 INFO: archiving logs to Nexus