Pull request #355 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0bbd126a5a281107c36f72e683d6a287bbb0cba9+1c77e3e660e1ab1a6bc71b3e7411204dc92d963d (2efd06c34ddd65691123963400e3f88f79b760b5) 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-ssh12360034067650668471.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh898631557021069999.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-355/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-355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10139374329069780058.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh5769554669773186999.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-355/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-355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh379644514955405263.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10286’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10287 in /w/workspace/gexfoundry_device-rest-go_PR-355 [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-355 # 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/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d into PR head commit 0bbd126a5a281107c36f72e683d6a287bbb0cba9 Merge succeeded, producing 0bbd126a5a281107c36f72e683d6a287bbb0cba9 Checking out Revision 0bbd126a5a281107c36f72e683d6a287bbb0cba9 (PR-355) > git config core.sparsecheckout # timeout=10 > git checkout -f 0bbd126a5a281107c36f72e683d6a287bbb0cba9 # 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 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0bbd126a5a281107c36f72e683d6a287bbb0cba9 # timeout=10 Commit message: "refactor: Remove obsolete comments from config file" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:29:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:29:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:29:16 ========================================================= 21:29:16 EdgeX Global Pipelines Version Info 21:29:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:29:18 ------------------- 21:29:18 stable info: 21:29:18 ------------------- 21:29:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:29:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:29:18 Message: update stable to v1.0.254 21:29:18 ------------------- 21:29:18 experimental info: 21:29:18 ------------------- 21:29:18 Commited By: **** collab-it+edgex@linuxfoundation.org 21:29:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:29:18 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-355 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-355 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-355 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0bbd126a5a281107c36f72e683d6a287bbb0cba9 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0bbd126 [Pipeline] echo 21:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:19 provisioning config files... 21:29:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/config16384820829311823434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:19 ---> docker-login.sh 21:29:19 nexus3.edgexfoundry.org:10001 21:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 nexus3.edgexfoundry.org:10002 21:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 nexus3.edgexfoundry.org:10003 21:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 nexus3.edgexfoundry.org:10004 21:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:19 Configure a credential helper to remove this warning. See 21:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:19 21:29:19 Login Succeeded 21:29:19 docker.io 21:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:20 Configure a credential helper to remove this warning. See 21:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:20 21:29:20 Login Succeeded 21:29:20 ---> docker-login.sh ends [Pipeline] } 21:29:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:29:20 + git rev-list -1 --merges 0bbd126a5a281107c36f72e683d6a287bbb0cba9~1..0bbd126a5a281107c36f72e683d6a287bbb0cba9 [Pipeline] echo 21:29:20 -----------> git rev-list -1 --merges 0bbd126a5a281107c36f72e683d6a287bbb0cba9~1..0bbd126a5a281107c36f72e683d6a287bbb0cba9 0bbd126a5a281107c36f72e683d6a287bbb0cba9 [false] [Pipeline] sh 21:29:21 + git log --format=format:%s -1 0bbd126a5a281107c36f72e683d6a287bbb0cba9 [Pipeline] echo 21:29:21 ========================================================= 21:29:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:29:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:21 + git log --format=format:%s -1 0bbd126a5a281107c36f72e683d6a287bbb0cba9 [Pipeline] echo 21:29:21 [semverPrep] GIT_COMMIT: 0bbd126a5a281107c36f72e683d6a287bbb0cba9, Commit Message: refactor: Remove obsolete comments from config file [Pipeline] echo 21:29:21 [semverPrep] This is not a build commit. [Pipeline] sh 21:29:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:21 + grep -v github /etc/ssh/ssh_known_hosts 21:29:21 + [ -e /tmp/ssh_known_hosts ] 21:29:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:29:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:29:21 sudo tee -a /etc/ssh/ssh_known_hosts 21:29:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:22 21:29:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:22 0.1.4: Pulling from edgex-devops/py-git-semver 21:29:22 b85a868b505f: Pulling fs layer 21:29:22 e2be974225ed: Pulling fs layer 21:29:22 339a4e72a1f5: Pulling fs layer 21:29:22 988bab9f4d93: Pulling fs layer 21:29:22 1469e6f7b9e6: Pulling fs layer 21:29:22 eaf3925da568: Pulling fs layer 21:29:22 bab4dde63d76: Pulling fs layer 21:29:22 bde34c3a00c8: Pulling fs layer 21:29:22 b352a97aabf1: Pulling fs layer 21:29:22 4872d77fe225: Pulling fs layer 21:29:22 5851b861e8e6: Pulling fs layer 21:29:22 1469e6f7b9e6: Waiting 21:29:22 eaf3925da568: Waiting 21:29:22 bab4dde63d76: Waiting 21:29:22 bde34c3a00c8: Waiting 21:29:22 b352a97aabf1: Waiting 21:29:22 4872d77fe225: Waiting 21:29:22 5851b861e8e6: Waiting 21:29:22 988bab9f4d93: Waiting 21:29:22 e2be974225ed: Download complete 21:29:22 988bab9f4d93: Verifying Checksum 21:29:22 988bab9f4d93: Download complete 21:29:22 1469e6f7b9e6: Verifying Checksum 21:29:22 1469e6f7b9e6: Download complete 21:29:22 eaf3925da568: Verifying Checksum 21:29:22 eaf3925da568: Download complete 21:29:22 339a4e72a1f5: Verifying Checksum 21:29:22 339a4e72a1f5: Download complete 21:29:22 bde34c3a00c8: Download complete 21:29:22 b352a97aabf1: Verifying Checksum 21:29:22 b352a97aabf1: Download complete 21:29:22 4872d77fe225: Verifying Checksum 21:29:22 4872d77fe225: Download complete 21:29:22 5851b861e8e6: Download complete 21:29:22 b85a868b505f: Verifying Checksum 21:29:22 b85a868b505f: Download complete 21:29:23 bab4dde63d76: Verifying Checksum 21:29:23 bab4dde63d76: Download complete 21:29:24 b85a868b505f: Pull complete 21:29:24 e2be974225ed: Pull complete 21:29:24 339a4e72a1f5: Pull complete 21:29:24 988bab9f4d93: Pull complete 21:29:24 1469e6f7b9e6: Pull complete 21:29:25 eaf3925da568: Pull complete 21:29:27 bab4dde63d76: Pull complete 21:29:27 bde34c3a00c8: Pull complete 21:29:27 b352a97aabf1: Pull complete 21:29:27 4872d77fe225: Pull complete 21:29:27 5851b861e8e6: Pull complete 21:29:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:29:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:27 prd-ubuntu20.04-docker-8c-8g-10287 does not seem to be running inside a container 21:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-355 -v /w/workspace/gexfoundry_device-rest-go_PR-355:/w/workspace/gexfoundry_device-rest-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-355@tmp:/w/workspace/gexfoundry_device-rest-go_PR-355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:29:30 $ docker top e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba -eo pid,comm 21:29:30 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). 21:29:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:30 [ssh-agent] Looking for ssh-agent implementation... 21:29:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:30 $ docker exec e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba ssh-agent 21:29:30 SSH_AUTH_SOCK=/tmp/ssh-Ecx6LywPazhX/agent.32 21:29:30 SSH_AGENT_PID=38 21:29:30 Running ssh-add (command line suppressed) 21:29:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-355@tmp/private_key_5447890013272357270.key (/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/private_key_5447890013272357270.key) 21:29:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:30 + git tag --points-at HEAD [Pipeline] } 21:29:30 $ docker exec --env ******** --env ******** e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba ssh-agent -k 21:29:31 unset SSH_AUTH_SOCK; 21:29:31 unset SSH_AGENT_PID; 21:29:31 echo Agent pid 38 killed; 21:29:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:31 [ssh-agent] Looking for ssh-agent implementation... 21:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:31 $ docker exec e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba ssh-agent 21:29:31 SSH_AUTH_SOCK=/tmp/ssh-GCMkx5LfouUq/agent.70 21:29:31 SSH_AGENT_PID=77 21:29:31 Running ssh-add (command line suppressed) 21:29:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-355@tmp/private_key_12858716283436263738.key (/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/private_key_12858716283436263738.key) 21:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:31 + git semver init 21:29:32 2023-10-24 21:29:31,924 [run_init] DEBUG init version:0.0.0 force:False 21:29:32 2023-10-24 21:29:31,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-355/.semver 21:29:32 2023-10-24 21:29:31,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-355/.semver 21:29:32 2023-10-24 21:29:31,926 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-355/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-355, universal_newlines=False, shell=None, istream=None) 21:29:33 2023-10-24 21:29:33,050 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-355/.git/info/exclude 21:29:33 2023-10-24 21:29:33,051 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-355/.semver/PR-355 with force:False 21:29:33 2023-10-24 21:29:33,051 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-355/.semver/PR-355 21:29:33 2023-10-24 21:29:33,055 [execute] INFO git cat-file --batch-check 21:29:33 2023-10-24 21:29:33,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) 21:29:33 2023-10-24 21:29:33,062 [execute] INFO git cat-file --batch 21:29:33 2023-10-24 21:29:33,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-355/.semver, universal_newlines=False, shell=None, istream=) 21:29:33 2023-10-24 21:29:33,069 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-355/.semver/PR-355 21:29:33 0.0.0 [Pipeline] } 21:29:33 $ docker exec --env ******** --env ******** e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba ssh-agent -k 21:29:33 unset SSH_AUTH_SOCK; 21:29:33 unset SSH_AGENT_PID; 21:29:33 echo Agent pid 77 killed; 21:29:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:33 + git semver [Pipeline] } 21:29:34 $ docker stop --time=1 e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba 21:29:35 $ docker rm -f --volumes e444cda905aad2e74c9d7bde4073c14fc99d161c36a6bd64108d44c3ba735fba [Pipeline] // withDockerContainer [Pipeline] sh 21:29:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:29:35 Stashed 1 file(s) [Pipeline] echo 21:29:35 [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 21:29:36 provisioning config files... 21:29:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/config7585436496219282084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:36 ---> docker-login.sh 21:29:36 nexus3.edgexfoundry.org:10001 21:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:36 Configure a credential helper to remove this warning. See 21:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:36 21:29:36 Login Succeeded 21:29:36 nexus3.edgexfoundry.org:10002 21:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:36 Configure a credential helper to remove this warning. See 21:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:36 21:29:36 Login Succeeded 21:29:36 nexus3.edgexfoundry.org:10003 21:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:36 Configure a credential helper to remove this warning. See 21:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:36 21:29:36 Login Succeeded 21:29:36 nexus3.edgexfoundry.org:10004 21:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:36 Configure a credential helper to remove this warning. See 21:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:36 21:29:36 Login Succeeded 21:29:36 docker.io 21:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:36 Configure a credential helper to remove this warning. See 21:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:36 21:29:36 Login Succeeded 21:29:36 ---> docker-login.sh ends [Pipeline] } 21:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:29:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:37 ========================================================= 21:29:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:29:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:29:37 Sending build context to Docker daemon 10.91MB 21:29:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:29:37 Step 2/12 : FROM ${BASE} AS builder 21:29:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:29:37 7264a8db6415: Pulling fs layer 21:29:37 c4d48a809fc2: Pulling fs layer 21:29:37 4f1c88b9dad5: Pulling fs layer 21:29:37 ad3a456e5733: Pulling fs layer 21:29:37 33e27b845d1e: Pulling fs layer 21:29:37 c68163c4e522: Pulling fs layer 21:29:37 50da416c3ac9: Pulling fs layer 21:29:37 23d2d4c4bb30: Pulling fs layer 21:29:37 ad3a456e5733: Waiting 21:29:37 33e27b845d1e: Waiting 21:29:37 c68163c4e522: Waiting 21:29:37 50da416c3ac9: Waiting 21:29:37 23d2d4c4bb30: Waiting 21:29:37 c4d48a809fc2: Verifying Checksum 21:29:37 c4d48a809fc2: Download complete 21:29:37 ad3a456e5733: Verifying Checksum 21:29:37 ad3a456e5733: Download complete 21:29:37 33e27b845d1e: Verifying Checksum 21:29:37 33e27b845d1e: Download complete 21:29:37 7264a8db6415: Verifying Checksum 21:29:37 7264a8db6415: Download complete 21:29:37 c68163c4e522: Verifying Checksum 21:29:37 c68163c4e522: Download complete 21:29:37 7264a8db6415: Pull complete 21:29:37 23d2d4c4bb30: Verifying Checksum 21:29:37 23d2d4c4bb30: Download complete 21:29:37 c4d48a809fc2: Pull complete 21:29:37 4f1c88b9dad5: Verifying Checksum 21:29:37 4f1c88b9dad5: Download complete 21:29:38 50da416c3ac9: Verifying Checksum 21:29:38 50da416c3ac9: Download complete 21:29:40 4f1c88b9dad5: Pull complete 21:29:40 ad3a456e5733: Pull complete 21:29:40 33e27b845d1e: Pull complete 21:29:40 c68163c4e522: Pull complete 21:29:43 50da416c3ac9: Pull complete 21:29:43 23d2d4c4bb30: Pull complete 21:29:43 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:29:43 ---> 0786185ac409 21:29:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:29:47 ---> Running in 533638ceb2e1 21:29:47 Removing intermediate container 533638ceb2e1 21:29:47 ---> b039da8b1035 21:29:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:47 ---> Running in c98a85e52f23 21:29:47 Removing intermediate container c98a85e52f23 21:29:47 ---> 48079c1e3b51 21:29:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:29:47 ---> Running in 745f997e5dd9 21:29:47 Removing intermediate container 745f997e5dd9 21:29:47 ---> 1b3663f89e0d 21:29:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:29:47 ---> Running in 9cff9deff6f4 21:29:47 Removing intermediate container 9cff9deff6f4 21:29:47 ---> 79fec00b1990 21:29:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:47 ---> Running in 4b2b2098cba7 21:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:29:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:29:47 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:29:47 (2/4) Installing libedit (20221030.3.1-r1) 21:29:47 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:29:47 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:29:48 Executing busybox-1.36.1-r2.trigger 21:29:48 OK: 268 MiB in 56 packages 21:29:48 Removing intermediate container 4b2b2098cba7 21:29:48 ---> a5a7c7308c29 21:29:48 Step 8/12 : WORKDIR /device-rest-go 21:29:48 ---> Running in 9c4447368b34 21:29:48 Removing intermediate container 9c4447368b34 21:29:48 ---> c8625cf83a16 21:29:48 Step 9/12 : COPY go.mod vendor* ./ 21:29:48 ---> 1a8006db80db 21:29:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:48 ---> Running in 655dd74f6dc6 21:29:51 Still waiting to schedule task 21:29:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:30:56 Removing intermediate container 655dd74f6dc6 21:30:56 ---> 794a8f17b828 21:30:56 Step 11/12 : COPY . . 21:30:56 ---> 21f37942958c 21:30:56 Step 12/12 : RUN $MAKE 21:30:56 ---> Running in bd23c767b93a 21:30:56 noop 21:30:56 Removing intermediate container bd23c767b93a 21:30:56 ---> 59264c3b95a2 21:30:56 Successfully built 59264c3b95a2 21:30:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:56 + docker inspect -f . ci-base-image-x86_64 21:30:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:56 prd-ubuntu20.04-docker-8c-8g-10287 does not seem to be running inside a container 21:30:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-355 -v /w/workspace/gexfoundry_device-rest-go_PR-355:/w/workspace/gexfoundry_device-rest-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-355@tmp:/w/workspace/gexfoundry_device-rest-go_PR-355@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-x86_64 cat 21:30:57 $ docker top ad78e90a26c3b959fff671bb18e51518916c6f9fed7897eab06710537744e2c9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:30:57 + go version 21:30:57 go version go1.21.0 linux/amd64 [Pipeline] } 21:30:57 $ docker stop --time=1 ad78e90a26c3b959fff671bb18e51518916c6f9fed7897eab06710537744e2c9 21:30:58 $ docker rm -f --volumes ad78e90a26c3b959fff671bb18e51518916c6f9fed7897eab06710537744e2c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:59 + docker inspect -f . ci-base-image-x86_64 21:30:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:30:59 prd-ubuntu20.04-docker-8c-8g-10287 does not seem to be running inside a container 21:30:59 $ 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-355 -v /w/workspace/gexfoundry_device-rest-go_PR-355:/w/workspace/gexfoundry_device-rest-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-355@tmp:/w/workspace/gexfoundry_device-rest-go_PR-355@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-x86_64 cat 21:30:59 $ docker top 422eac7ba4371a11698c3636ef61e2d1132c0845c89f7736bb14b0b39e6bb0b6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:00 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-355 [Pipeline] fileExists [Pipeline] sh 21:31:00 + make test 21:31:00 go test ./... -coverprofile=coverage.out ./... 21:31:01 ? github.com/edgexfoundry/device-rest-go [no test files] 21:31:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:31:11 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 21:31:19 go vet ./... 21:31:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:31:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:31:22 ./bin/test-attribution-txt.sh [Pipeline] echo 21:31:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:31:22 $ docker stop --time=1 422eac7ba4371a11698c3636ef61e2d1132c0845c89f7736bb14b0b39e6bb0b6 21:31:25 $ docker rm -f --volumes 422eac7ba4371a11698c3636ef61e2d1132c0845c89f7736bb14b0b39e6bb0b6 [Pipeline] // withDockerContainer [Pipeline] sh 21:31:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:31:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:31:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:31:26 + ls -al . 21:31:26 total 184 21:31:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:31 . 21:31:26 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:29 .. 21:31:26 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:29 .dockerignore 21:31:26 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:31 .git 21:31:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:29 .github 21:31:26 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:29 .gitignore 21:31:26 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:29 .golangci.yml 21:31:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:29 .semver 21:31:26 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:29 Attribution.txt 21:31:26 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:29 CHANGELOG.md 21:31:26 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:29 Dockerfile 21:31:26 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:29 GOVERNANCE.md 21:31:26 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:29 Jenkinsfile 21:31:26 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:29 LICENSE 21:31:26 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:29 Makefile 21:31:26 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:29 OWNERS.md 21:31:26 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:29 README.md 21:31:26 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 21:29 VERSION 21:31:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:29 bin 21:31:26 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:29 cmd 21:31:26 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:31 coverage.out 21:31:26 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:29 driver 21:31:26 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:29 go.mod 21:31:26 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:29 go.sum 21:31:26 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:27 + 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=0bbd126a5a281107c36f72e683d6a287bbb0cba9 --label arch=amd64 --label version=0.0.0 . 21:31:27 Sending build context to Docker daemon 10.93MB 21:31:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:31:27 Step 2/25 : FROM ${BASE} AS builder 21:31:27 ---> 59264c3b95a2 21:31:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:31:27 ---> Running in 6ff168d452a6 21:31:27 Removing intermediate container 6ff168d452a6 21:31:27 ---> 7b5297991cf4 21:31:27 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:27 ---> Running in e667b1c31fc8 21:31:27 Removing intermediate container e667b1c31fc8 21:31:27 ---> cb68e4cef951 21:31:27 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:31:27 ---> Running in 9893877c189a 21:31:27 Removing intermediate container 9893877c189a 21:31:27 ---> 80f303a97f19 21:31:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:31:27 ---> Running in f7a9522e84cb 21:31:27 Removing intermediate container f7a9522e84cb 21:31:27 ---> 3c61160eb668 21:31:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:27 ---> Running in 4fe1728ef8bf 21:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:31:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:31:28 OK: 268 MiB in 56 packages 21:31:28 Removing intermediate container 4fe1728ef8bf 21:31:28 ---> ea2b8e975177 21:31:28 Step 8/25 : WORKDIR /device-rest-go 21:31:28 ---> Running in 2b3b83758708 21:31:29 Removing intermediate container 2b3b83758708 21:31:29 ---> 9d6e088617e0 21:31:29 Step 9/25 : COPY go.mod vendor* ./ 21:31:29 ---> c84265b432ba 21:31:29 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:29 ---> Running in 3fbbb5bfb906 21:31:29 Removing intermediate container 3fbbb5bfb906 21:31:29 ---> 8e3fcc9c0224 21:31:29 Step 11/25 : COPY . . 21:31:30 ---> 34bb1a5a3b64 21:31:30 Step 12/25 : RUN $MAKE 21:31:30 ---> Running in 9be810364cd6 21:31:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:31:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10288 in /w/workspace/gexfoundry_device-rest-go_PR-355 [Pipeline] { [Pipeline] ws 21:31:35 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 21:31:35 The recommended git tool is: git 21:31:41 using credential edgex-jenkins-ssh 21:31:41 Cloning the remote Git repository 21:31:41 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:31:41 > git init /w/workspace/device-rest-go/2 # timeout=10 21:31:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:41 > git --version # timeout=10 21:31:41 > git --version # 'git version 2.25.1' 21:31:41 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:31:45 Merging remotes/origin/main commit 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d into PR head commit 0bbd126a5a281107c36f72e683d6a287bbb0cba9 21:31:45 Merge succeeded, producing 0bbd126a5a281107c36f72e683d6a287bbb0cba9 21:31:45 Checking out Revision 0bbd126a5a281107c36f72e683d6a287bbb0cba9 (PR-355) 21:31:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:31:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:31:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/355/head:refs/remotes/origin/PR-355 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:31:45 > git config core.sparsecheckout # timeout=10 21:31:45 > git checkout -f 0bbd126a5a281107c36f72e683d6a287bbb0cba9 # timeout=10 21:31:45 > git remote # timeout=10 21:31:45 > git config --get remote.origin.url # timeout=10 21:31:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:31:45 > git merge 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 21:31:45 > git rev-parse HEAD^{commit} # timeout=10 21:31:45 > git config core.sparsecheckout # timeout=10 21:31:45 > git checkout -f 0bbd126a5a281107c36f72e683d6a287bbb0cba9 # timeout=10 21:31:49 Commit message: "refactor: Remove obsolete comments from config file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:31:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:50 Dload Upload Total Spent Left Speed 21:31:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 21:31:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:31:51 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:31:51 sudo tee /etc/docker/daemon.new 21:31:51 { 21:31:51 "registry-mirrors": [ 21:31:51 "https://nexus3.edgexfoundry.org:10001" 21:31:51 ], 21:31:51 "bip": "10.250.0.254/24", 21:31:51 "hosts": [ 21:31:51 "tcp://0.0.0.0:5555", 21:31:51 "unix:///var/run/docker.sock" 21:31:51 ], 21:31:51 "mtu": 1458, 21:31:51 "selinux-enabled": true, 21:31:51 "seccomp-profile": "/etc/docker/seccomp.json" 21:31:51 } [Pipeline] sh 21:31:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:31:51 + sudo service docker restart 21:31:52 Removing intermediate container 9be810364cd6 21:31:52 ---> 8c8a97944795 21:31:52 Step 13/25 : FROM alpine:3.18 21:31:52 3.18: Pulling from library/alpine 21:31:52 96526aa774ef: Pulling fs layer 21:31:52 96526aa774ef: Verifying Checksum 21:31:52 96526aa774ef: Download complete 21:31:52 96526aa774ef: Pull complete 21:31:52 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:31:52 Status: Downloaded newer image for alpine:3.18 21:31:52 ---> 8ca4688f4f35 21:31:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:31:52 ---> Running in 9a395f150b6a 21:31:52 Removing intermediate container 9a395f150b6a 21:31:52 ---> ca7e3dbce7b7 21:31:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:31:52 ---> Running in 0a49a0c362ed 21:31:52 Removing intermediate container 0a49a0c362ed 21:31:52 ---> dd4353cfb824 21:31:52 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:31:52 ---> Running in e3b92a048523 21:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:31:52 (1/1) Installing dumb-init (1.2.5-r2) 21:31:52 Executing busybox-1.36.1-r2.trigger 21:31:52 OK: 7 MiB in 16 packages 21:31:52 Removing intermediate container e3b92a048523 21:31:52 ---> 8bf8318ddb4a 21:31:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:31:52 ---> 48409f17fbec 21:31:52 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:31:52 ---> 12d7f32c7b26 21:31:52 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:31:52 ---> fa6605c03a5e 21:31:52 Step 20/25 : EXPOSE 59986 21:31:52 ---> Running in 8df4401e4231 21:31:52 Removing intermediate container 8df4401e4231 21:31:52 ---> b43ee5ac9744 21:31:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:31:52 ---> Running in b88c5e445028 21:31:52 Removing intermediate container b88c5e445028 21:31:52 ---> 88af3ee640c8 21:31:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:31:52 ---> Running in f33b3d8832ea 21:31:53 Removing intermediate container f33b3d8832ea 21:31:53 ---> b5d10701605f 21:31:53 Step 23/25 : LABEL arch=amd64 21:31:53 ---> Running in b996ad38fa12 21:31:53 Removing intermediate container b996ad38fa12 21:31:53 ---> 467c4eb328a7 21:31:53 Step 24/25 : LABEL git_sha=0bbd126a5a281107c36f72e683d6a287bbb0cba9 21:31:53 ---> Running in eb64fb8905a6 21:31:53 Removing intermediate container eb64fb8905a6 21:31:53 ---> 18fedb6c6057 21:31:53 Step 25/25 : LABEL version=0.0.0 21:31:53 ---> Running in e1015eb66281 21:31:53 Removing intermediate container e1015eb66281 21:31:53 ---> d6bd9c7c4452 21:31:53 [Warning] One or more build-args [ARCH] were not consumed 21:31:53 Successfully built d6bd9c7c4452 21:31:53 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 21:31:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:53 21:31:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:31:54 latest: Pulling from edgex-lftools-log-publisher 21:31:54 5eb5b503b376: Pulling fs layer 21:31:54 5c69ac0246d0: Pulling fs layer 21:31:54 ec43610c2a17: Pulling fs layer 21:31:54 3a2ae6a8a46f: Pulling fs layer 21:31:54 33b1e0a273af: Pulling fs layer 21:31:54 5d3b04190fa2: Pulling fs layer 21:31:54 2f39f015ded8: Pulling fs layer 21:31:54 3a2ae6a8a46f: Waiting 21:31:54 33b1e0a273af: Waiting 21:31:54 5d3b04190fa2: Waiting 21:31:54 2f39f015ded8: Waiting 21:31:54 5c69ac0246d0: Download complete 21:31:54 3a2ae6a8a46f: Download complete 21:31:54 33b1e0a273af: Verifying Checksum 21:31:54 33b1e0a273af: Download complete 21:31:54 ec43610c2a17: Verifying Checksum 21:31:54 ec43610c2a17: Download complete 21:31:54 5d3b04190fa2: Verifying Checksum 21:31:54 5d3b04190fa2: Download complete 21:31:54 5eb5b503b376: Verifying Checksum 21:31:54 5eb5b503b376: Download complete 21:31:55 2f39f015ded8: Download complete 21:31:55 5eb5b503b376: Pull complete 21:31:55 5c69ac0246d0: Pull complete 21:31:56 ec43610c2a17: Pull complete 21:31:56 3a2ae6a8a46f: Pull complete 21:31:56 33b1e0a273af: Pull complete 21:31:56 5d3b04190fa2: Pull complete 21:32:00 2f39f015ded8: Pull complete 21:32:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:00 prd-ubuntu20.04-docker-8c-8g-10287 does not seem to be running inside a container 21:32:00 $ 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-355 -v /w/workspace/gexfoundry_device-rest-go_PR-355:/w/workspace/gexfoundry_device-rest-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-355@tmp:/w/workspace/gexfoundry_device-rest-go_PR-355@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:latest cat 21:32:04 $ docker top a0cb6a12abaa42f51d6156b2075f0f3652119763f8f7703d78bfc276d8c6d394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:05 ---> job-cost.sh 21:32:05 lf-activate-venv: SKIPPING 21:32:05 INFO: No Stack... 21:32:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:06 INFO: Archiving Costs [Pipeline] sh 21:32:06 + cut -d, -f6 21:32:06 + cat /w/workspace/gexfoundry_device-rest-go_PR-355/archives/cost.csv [Pipeline] lock 21:32:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] 21:32:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] did not exist. Created. 21:32:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:32:06 Stashed 1 file(s) [Pipeline] } 21:32:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:32:06 $ docker stop --time=1 a0cb6a12abaa42f51d6156b2075f0f3652119763f8f7703d78bfc276d8c6d394 21:32:07 $ docker rm -f --volumes a0cb6a12abaa42f51d6156b2075f0f3652119763f8f7703d78bfc276d8c6d394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:10 provisioning config files... 21:32:10 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config17634225094501922353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:10 ---> docker-login.sh 21:32:10 nexus3.edgexfoundry.org:10001 21:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:10 Configure a credential helper to remove this warning. See 21:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:10 21:32:10 Login Succeeded 21:32:10 nexus3.edgexfoundry.org:10002 21:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:11 Configure a credential helper to remove this warning. See 21:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:11 21:32:11 Login Succeeded 21:32:11 nexus3.edgexfoundry.org:10003 21:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:11 Configure a credential helper to remove this warning. See 21:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:11 21:32:11 Login Succeeded 21:32:11 nexus3.edgexfoundry.org:10004 21:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:12 Configure a credential helper to remove this warning. See 21:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:12 21:32:12 Login Succeeded 21:32:12 docker.io 21:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:12 Configure a credential helper to remove this warning. See 21:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:12 21:32:12 Login Succeeded 21:32:12 ---> docker-login.sh ends [Pipeline] } 21:32:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:12 ========================================================= 21:32:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:32:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:32:13 Sending build context to Docker daemon 121.9kB 21:32:13 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:32:13 Step 2/12 : FROM ${BASE} AS builder 21:32:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:32:13 9fda8d8052c6: Pulling fs layer 21:32:13 5d54e960e981: Pulling fs layer 21:32:13 c4a7e357bf2a: Pulling fs layer 21:32:13 f0e02332f6b5: Pulling fs layer 21:32:13 cefa15bbcfad: Pulling fs layer 21:32:13 17808c966233: Pulling fs layer 21:32:13 f4c1fc716caa: Pulling fs layer 21:32:13 cefa15bbcfad: Waiting 21:32:13 17808c966233: Waiting 21:32:13 f4c1fc716caa: Waiting 21:32:13 f0e02332f6b5: Waiting 21:32:13 5d54e960e981: Download complete 21:32:13 f0e02332f6b5: Verifying Checksum 21:32:13 f0e02332f6b5: Download complete 21:32:13 cefa15bbcfad: Verifying Checksum 21:32:13 cefa15bbcfad: Download complete 21:32:13 9fda8d8052c6: Download complete 21:32:14 f4c1fc716caa: Verifying Checksum 21:32:14 f4c1fc716caa: Download complete 21:32:14 9fda8d8052c6: Pull complete 21:32:15 5d54e960e981: Pull complete 21:32:15 c4a7e357bf2a: Verifying Checksum 21:32:15 c4a7e357bf2a: Download complete 21:32:16 17808c966233: Verifying Checksum 21:32:16 17808c966233: Download complete 21:32:28 c4a7e357bf2a: Pull complete 21:32:28 f0e02332f6b5: Pull complete 21:32:28 cefa15bbcfad: Pull complete 21:32:36 17808c966233: Pull complete 21:32:37 f4c1fc716caa: Pull complete 21:32:37 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:32:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:32:37 ---> ea914061e18c 21:32:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:32:39 ---> Running in eb7a9824df24 21:32:39 Removing intermediate container eb7a9824df24 21:32:39 ---> 943d66831976 21:32:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:39 ---> Running in cac3a3104204 21:32:39 Removing intermediate container cac3a3104204 21:32:39 ---> 1415161f87a7 21:32:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:32:39 ---> Running in cce3d58bdb00 21:32:39 Removing intermediate container cce3d58bdb00 21:32:39 ---> 7433c0835d10 21:32:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:32:39 ---> Running in 72a6b795aaf2 21:32:40 Removing intermediate container 72a6b795aaf2 21:32:40 ---> 6409d85d3d04 21:32:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:40 ---> Running in 3f02cc40e3c6 21:32:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:32:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:32:43 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:32:43 (2/4) Installing libedit (20221030.3.1-r1) 21:32:43 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:32:43 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:32:43 Executing busybox-1.36.1-r2.trigger 21:32:43 OK: 270 MiB in 56 packages 21:32:44 Removing intermediate container 3f02cc40e3c6 21:32:44 ---> fadf9030b363 21:32:44 Step 8/12 : WORKDIR /device-rest-go 21:32:44 ---> Running in 8668f22015ca 21:32:44 Removing intermediate container 8668f22015ca 21:32:44 ---> 8528275e9c8f 21:32:44 Step 9/12 : COPY go.mod vendor* ./ 21:32:45 ---> 673f7f61305a 21:32:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:45 ---> Running in 70af26d8251e 21:34:21 Removing intermediate container 70af26d8251e 21:34:21 ---> 803a75274c83 21:34:21 Step 11/12 : COPY . . 21:34:21 ---> 087dd0dcd125 21:34:21 Step 12/12 : RUN $MAKE 21:34:21 ---> Running in a2336f2b3c96 21:34:21 noop 21:34:21 Removing intermediate container a2336f2b3c96 21:34:21 ---> 9d14ff50f262 21:34:21 Successfully built 9d14ff50f262 21:34:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:22 + docker inspect -f . ci-base-image-arm64 21:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:22 prd-ubuntu20.04-docker-arm64-4c-16g-10288 does not seem to be running inside a container 21:34:22 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:34:25 $ docker top f62dca55ba6e6b86ad500dd4aba60768ba4fda6cca695eb884d58ba3f6ce8a48 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:26 + go version 21:34:26 go version go1.21.0 linux/arm64 [Pipeline] } 21:34:26 $ docker stop --time=1 f62dca55ba6e6b86ad500dd4aba60768ba4fda6cca695eb884d58ba3f6ce8a48 21:34:27 $ docker rm -f --volumes f62dca55ba6e6b86ad500dd4aba60768ba4fda6cca695eb884d58ba3f6ce8a48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:28 + docker inspect -f . ci-base-image-arm64 21:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:28 prd-ubuntu20.04-docker-arm64-4c-16g-10288 does not seem to be running inside a container 21:34:28 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:34:29 $ docker top b683871e5704eec8e4aca606b07c9d027442c86165d1ee5b61a21cc20ed670e5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:30 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 21:34:31 + make test 21:34:31 go test ./... -coverprofile=coverage.out ./... 21:34:35 ? github.com/edgexfoundry/device-rest-go [no test files] 21:36:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:36:12 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.2% of statements 21:36:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:12 go vet ./... 21:36:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:36:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:36:34 ./bin/test-attribution-txt.sh [Pipeline] echo 21:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:36:34 $ docker stop --time=1 b683871e5704eec8e4aca606b07c9d027442c86165d1ee5b61a21cc20ed670e5 21:36:36 $ docker rm -f --volumes b683871e5704eec8e4aca606b07c9d027442c86165d1ee5b61a21cc20ed670e5 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:36:37 Warning: overwriting stash ‘coverage-report’ 21:36:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:36:39 + ls -al . 21:36:39 total 180 21:36:39 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 21:34 . 21:36:39 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 21:31 .. 21:36:39 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 21:31 .dockerignore 21:36:39 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 21:31 .git 21:36:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:31 .github 21:36:39 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 21:31 .gitignore 21:36:39 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 21:31 .golangci.yml 21:36:39 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 21:31 Attribution.txt 21:36:39 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 21:31 CHANGELOG.md 21:36:39 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 21:31 Dockerfile 21:36:39 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 21:31 GOVERNANCE.md 21:36:39 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 21:31 Jenkinsfile 21:36:39 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 21:31 LICENSE 21:36:39 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 21:31 Makefile 21:36:39 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 21:31 OWNERS.md 21:36:39 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 21:31 README.md 21:36:39 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 21:29 VERSION 21:36:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:31 bin 21:36:39 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 21:31 cmd 21:36:39 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 21:36 coverage.out 21:36:39 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 21:31 driver 21:36:39 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 21:31 go.mod 21:36:39 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 21:31 go.sum 21:36:39 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:39 + 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=0bbd126a5a281107c36f72e683d6a287bbb0cba9 --label arch=arm64 --label version=0.0.0 . 21:36:39 Sending build context to Docker daemon 137.2kB 21:36:39 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:36:39 Step 2/25 : FROM ${BASE} AS builder 21:36:39 ---> 9d14ff50f262 21:36:39 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:36:39 ---> Running in a0fea587913a 21:36:40 Removing intermediate container a0fea587913a 21:36:40 ---> dbb91e584ac5 21:36:40 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:40 ---> Running in 5b2d53fee743 21:36:40 Removing intermediate container 5b2d53fee743 21:36:40 ---> 70c3e3fc647e 21:36:40 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:36:40 ---> Running in 125fcce49c71 21:36:41 Removing intermediate container 125fcce49c71 21:36:41 ---> 42b58f5dbe3e 21:36:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:36:41 ---> Running in 4ec69509e328 21:36:41 Removing intermediate container 4ec69509e328 21:36:41 ---> dfbd9bb9fd52 21:36:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:41 ---> Running in d41839622ed3 21:36:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:36:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:36:45 OK: 270 MiB in 56 packages 21:36:46 Removing intermediate container d41839622ed3 21:36:46 ---> b62d7dfa4bbf 21:36:46 Step 8/25 : WORKDIR /device-rest-go 21:36:46 ---> Running in ce80ae22e8c2 21:36:46 Removing intermediate container ce80ae22e8c2 21:36:46 ---> a62783bae8eb 21:36:46 Step 9/25 : COPY go.mod vendor* ./ 21:36:47 ---> c58267855a75 21:36:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:47 ---> Running in 8de9bae1bc09 21:36:49 Removing intermediate container 8de9bae1bc09 21:36:49 ---> 5be4bf1fa31e 21:36:49 Step 11/25 : COPY . . 21:36:50 ---> cf84993c02fa 21:36:50 Step 12/25 : RUN $MAKE 21:36:50 ---> Running in 42ae56b8c22b 21:36:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:38:57 Removing intermediate container 42ae56b8c22b 21:38:57 ---> 284cda758724 21:38:57 Step 13/25 : FROM alpine:3.18 21:38:57 3.18: Pulling from library/alpine 21:38:57 579b34f0a95b: Pulling fs layer 21:38:57 579b34f0a95b: Verifying Checksum 21:38:57 579b34f0a95b: Download complete 21:38:57 579b34f0a95b: Pull complete 21:38:57 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:38:57 Status: Downloaded newer image for alpine:3.18 21:38:57 ---> 3cc203321400 21:38:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:38:57 ---> Running in 16a35949d993 21:38:57 Removing intermediate container 16a35949d993 21:38:57 ---> 071178cb58d8 21:38:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:38:57 ---> Running in a36f3ca5e79d 21:38:57 Removing intermediate container a36f3ca5e79d 21:38:57 ---> fe12086648b3 21:38:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:38:57 ---> Running in a8ce51f55ada 21:38:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:38:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:38:58 (1/1) Installing dumb-init (1.2.5-r2) 21:38:58 Executing busybox-1.36.1-r2.trigger 21:38:58 OK: 8 MiB in 16 packages 21:38:59 Removing intermediate container a8ce51f55ada 21:38:59 ---> d1c53f1cb5b0 21:38:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:39:01 ---> 23778b95d820 21:39:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:39:02 ---> 76d1200ac737 21:39:02 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:39:02 ---> 3ca458741b00 21:39:02 Step 20/25 : EXPOSE 59986 21:39:02 ---> Running in 12e181d225c7 21:39:02 Removing intermediate container 12e181d225c7 21:39:02 ---> 3feb104fd857 21:39:02 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:39:02 ---> Running in 7d70f5f21324 21:39:03 Removing intermediate container 7d70f5f21324 21:39:03 ---> d94f465ed25d 21:39:03 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:39:03 ---> Running in ef3815909685 21:39:03 Removing intermediate container ef3815909685 21:39:03 ---> da6852bf64f8 21:39:03 Step 23/25 : LABEL arch=arm64 21:39:03 ---> Running in afd87ace55f2 21:39:04 Removing intermediate container afd87ace55f2 21:39:04 ---> 81e313858474 21:39:04 Step 24/25 : LABEL git_sha=0bbd126a5a281107c36f72e683d6a287bbb0cba9 21:39:04 ---> Running in 1837c4aa8e60 21:39:04 Removing intermediate container 1837c4aa8e60 21:39:04 ---> 9c7ef0138a47 21:39:04 Step 25/25 : LABEL version=0.0.0 21:39:04 ---> Running in 8d63c927b91e 21:39:05 Removing intermediate container 8d63c927b91e 21:39:05 ---> 9f1e5fa7a823 21:39:05 [Warning] One or more build-args [ARCH] were not consumed 21:39:05 Successfully built 9f1e5fa7a823 21:39:05 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:05 21:39:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:06 arm64: Pulling from edgex-lftools-log-publisher 21:39:06 8998bd30e6a1: Pulling fs layer 21:39:06 04944245beec: Pulling fs layer 21:39:06 699f458cf7ca: Pulling fs layer 21:39:06 765212b225bb: Pulling fs layer 21:39:06 f23df028b6ca: Pulling fs layer 21:39:06 765212b225bb: Waiting 21:39:06 f23df028b6ca: Waiting 21:39:06 d65c8cfc05b1: Pulling fs layer 21:39:06 2437ff75d9bd: Pulling fs layer 21:39:06 d65c8cfc05b1: Waiting 21:39:06 2437ff75d9bd: Waiting 21:39:06 04944245beec: Verifying Checksum 21:39:06 04944245beec: Download complete 21:39:06 765212b225bb: Verifying Checksum 21:39:06 765212b225bb: Download complete 21:39:06 f23df028b6ca: Verifying Checksum 21:39:06 f23df028b6ca: Download complete 21:39:06 d65c8cfc05b1: Verifying Checksum 21:39:06 d65c8cfc05b1: Download complete 21:39:06 699f458cf7ca: Verifying Checksum 21:39:06 699f458cf7ca: Download complete 21:39:07 8998bd30e6a1: Download complete 21:39:09 2437ff75d9bd: Verifying Checksum 21:39:09 2437ff75d9bd: Download complete 21:39:11 8998bd30e6a1: Pull complete 21:39:12 04944245beec: Pull complete 21:39:14 699f458cf7ca: Pull complete 21:39:14 765212b225bb: Pull complete 21:39:15 f23df028b6ca: Pull complete 21:39:15 d65c8cfc05b1: Pull complete 21:39:33 2437ff75d9bd: Pull complete 21:39:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:33 prd-ubuntu20.04-docker-arm64-4c-16g-10288 does not seem to be running inside a container 21:39:33 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:39:36 $ docker top c12cf1b60abb3828feac45c88b02fd5fa45023deaa2417c48727c6f95f370944 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:37 ---> job-cost.sh 21:39:37 lf-activate-venv: SKIPPING 21:39:37 INFO: No Stack... 21:39:38 INFO: Retrieving Pricing Info for: v3-standard-4 21:39:38 INFO: Archiving Costs [Pipeline] sh 21:39:39 + cat /w/workspace/device-rest-go/2/archives/cost.csv 21:39:39 + cut -d, -f6 [Pipeline] lock 21:39:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] 21:39:39 Resource [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] did not exist. Created. 21:39:39 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:40 /w/workspace/device-rest-go/2@tmp/durable-79beeafc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:39:40 + echo total: 0.10999999940395355 [Pipeline] stash 21:39:40 Warning: overwriting stash ‘stack-cost’ 21:39:40 Stashed 1 file(s) [Pipeline] } 21:39:40 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-355-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:40 $ docker stop --time=1 c12cf1b60abb3828feac45c88b02fd5fa45023deaa2417c48727c6f95f370944 21:39:42 $ docker rm -f --volumes c12cf1b60abb3828feac45c88b02fd5fa45023deaa2417c48727c6f95f370944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:39:42 provisioning config files... 21:39:42 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/config12805623966076462894tmp [Pipeline] { [Pipeline] sh 21:39:43 + set +x 21:39:43 + curl -s https://codecov.io/bash 21:39:43 + bash -s -- 21:39:43 21:39:43 _____ _ 21:39:43 / ____| | | 21:39:43 | | ___ __| | ___ ___ _____ __ 21:39:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:39:43 | |___| (_) | (_| | __/ (_| (_) \ V / 21:39:43 \_____\___/ \__,_|\___|\___\___/ \_/ 21:39:43 Bash-1.0.6 21:39:43 21:39:43 21:39:43 ==> git version 2.25.1 found 21:39:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:39:43 Release-Date: 2020-01-08 21:39:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:39:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:39:43 ==> Jenkins CI detected. 21:39:43 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-355 21:39:43 project root: . 21:39:43 --> token set from env 21:39:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:39:43 ==> Running gcov in . (disable via -X gcov) 21:39:43 ==> Python coveragepy not found 21:39:43 ==> Searching for coverage reports in: 21:39:43 + . 21:39:43 -> Found 1 reports 21:39:43 ==> Detecting git/mercurial file structure 21:39:43 ==> Reading reports 21:39:43 + ./coverage.out bytes=14499 21:39:43 ==> Appending adjustments 21:39:43 https://docs.codecov.io/docs/fixing-reports 21:39:43 + Found adjustments 21:39:43 ==> Gzipping contents 21:39:43 4.0K /tmp/codecov.F7Kv3c.gz 21:39:43 ==> Uploading reports 21:39:43 url: https://codecov.io 21:39:43 query: branch=PR-355&commit=0bbd126a5a281107c36f72e683d6a287bbb0cba9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=355&job=&cmd_args= 21:39:43 -> Pinging Codecov 21:39:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-355&commit=0bbd126a5a281107c36f72e683d6a287bbb0cba9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=355&job=&cmd_args= 21:39:43 -> Uploading to 21:39:43 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/0bbd126a5a281107c36f72e683d6a287bbb0cba9/a6156a54-3f7b-4865-adbb-fc4c9581344f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T213943Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=072457df54e32b43a018c2249c6b9be1a14d5f39285de4d94a0816d5983b116c 21:39:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:43 Dload Upload Total Spent Left Speed 21:39:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 8003 --:--:-- --:--:-- --:--:-- 7975 21:39:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0bbd126a5a281107c36f72e683d6a287bbb0cba9 [Pipeline] } 21:39:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:39:44 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-355/archives ] 21:39:44 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-355/archives 21:39:44 total 16 21:39:44 drwxr-xr-x 3 root root 4096 Oct 24 21:32 . 21:39:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 21:32 .. 21:39:44 drwxr-xr-x 2 root root 4096 Oct 24 21:32 cost 21:39:44 -rw-r--r-- 1 root root 86 Oct 24 21:32 cost.csv 21:39:44 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-355/archives 21:39:44 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-355/archives 21:39:44 total 16 21:39:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 21:32 . 21:39:44 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 21:32 .. 21:39:44 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 21:32 cost 21:39:44 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 21:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:39:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:39:45 ---> package-listing.sh 21:39:45 ++ facter osfamily 21:39:45 ++ tr '[:upper:]' '[:lower:]' 21:39:46 + OS_FAMILY=debian 21:39:46 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-355 21:39:46 + START_PACKAGES=/tmp/packages_start.txt 21:39:46 + END_PACKAGES=/tmp/packages_end.txt 21:39:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:39:46 + PACKAGES=/tmp/packages_start.txt 21:39:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-355 ']' 21:39:46 + PACKAGES=/tmp/packages_end.txt 21:39:46 + case "${OS_FAMILY}" in 21:39:46 + dpkg -l 21:39:46 + grep '^ii' 21:39:46 + '[' -f /tmp/packages_start.txt ']' 21:39:46 + '[' -f /tmp/packages_end.txt ']' 21:39:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:39:46 + '[' /w/workspace/gexfoundry_device-rest-go_PR-355 ']' 21:39:46 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-355/archives/ 21:39:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-355/archives/ [Pipeline] echo 21:39:46 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-355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:39:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:46 prd-ubuntu20.04-docker-8c-8g-10287 does not seem to be running inside a container 21:39:47 $ 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-355/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-355 -v /w/workspace/gexfoundry_device-rest-go_PR-355:/w/workspace/gexfoundry_device-rest-go_PR-355:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-355@tmp:/w/workspace/gexfoundry_device-rest-go_PR-355@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 21:39:47 $ docker top 4161b89ef0f6e19c25ff1b3189c244554f956d77cca75cc0ea9ba47beadb0400 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:47 + touch /tmp/pre-build-complete [Pipeline] sh 21:39:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:39:48 + ls /var/log/sa-host 21:39:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:48 provisioning config files... 21:39:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-355@tmp/config4909953903687534467tmp [Pipeline] { [Pipeline] echo 21:39:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:39:48 ---> create-netrc.sh [Pipeline] } 21:39:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:39:48 ---> python-tools-install.sh [Pipeline] echo 21:39:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:39:49 ---> sudo-logs.sh 21:39:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:39:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:39:49 ---> job-cost.sh 21:39:49 lf-activate-venv: SKIPPING 21:39:49 DEBUG: total: 0.2199999988079071 21:39:49 INFO: Retrieving Stack Cost... 21:39:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:50 INFO: Archiving Costs [Pipeline] echo 21:39:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:39:50 ---> logs-deploy.sh 21:39:50 lf-activate-venv: SKIPPING 21:39:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-355/2 21:39:50 INFO: archiving workspace using pattern(s): 21:39:51 Archives upload complete. 21:39:51 INFO: archiving logs to Nexus