Pull request #366 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from c43c269c46c6f6905694d96b27b98d02c951e430+63560b1f091cdd18f74439d048f83e61f0721fcd (2894baafdb619b6c7ca221eb428fad136441e300) 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-ssh7697439830426036511.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh3848869130207120610.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-366/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-366/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16044453652551812055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh12206903775228842963.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-366/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-366/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14230089037222743400.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17147 in /w/workspace/gexfoundry_device-rest-go_PR-366 [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-366 # 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit c43c269c46c6f6905694d96b27b98d02c951e430 Merge succeeded, producing c43c269c46c6f6905694d96b27b98d02c951e430 Checking out Revision c43c269c46c6f6905694d96b27b98d02c951e430 (PR-366) > git config core.sparsecheckout # timeout=10 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git rev-list --no-walk 3f5745b9430ec2ede972e81d57068a7a4028a5f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:30:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:30:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:30:33 ========================================================= 15:30:33 EdgeX Global Pipelines Version Info 15:30:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:30:34 ------------------- 15:30:34 stable info: 15:30:34 ------------------- 15:30:34 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:30:34 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:30:34 Message: update stable to v1.0.257 15:30:35 ------------------- 15:30:35 experimental info: 15:30:35 ------------------- 15:30:35 Commited By: **** collab-it+edgex@linuxfoundation.org 15:30:35 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:30:35 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c43c269 [Pipeline] echo 15:30:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:30:35 provisioning config files... 15:30:35 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config10970178864786470796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:36 ---> docker-login.sh 15:30:36 nexus3.edgexfoundry.org:10001 15:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:36 Configure a credential helper to remove this warning. See 15:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:36 15:30:36 Login Succeeded 15:30:36 nexus3.edgexfoundry.org:10002 15:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:36 Configure a credential helper to remove this warning. See 15:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:36 15:30:36 Login Succeeded 15:30:36 nexus3.edgexfoundry.org:10003 15:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:36 Configure a credential helper to remove this warning. See 15:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:36 15:30:36 Login Succeeded 15:30:36 nexus3.edgexfoundry.org:10004 15:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:36 Configure a credential helper to remove this warning. See 15:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:36 15:30:36 Login Succeeded 15:30:36 docker.io 15:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:37 Configure a credential helper to remove this warning. See 15:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:37 15:30:37 Login Succeeded 15:30:37 ---> docker-login.sh ends [Pipeline] } 15:30:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:30:37 + git rev-list -1 --merges c43c269c46c6f6905694d96b27b98d02c951e430~1..c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo 15:30:37 -----------> git rev-list -1 --merges c43c269c46c6f6905694d96b27b98d02c951e430~1..c43c269c46c6f6905694d96b27b98d02c951e430 c43c269c46c6f6905694d96b27b98d02c951e430 [false] [Pipeline] sh 15:30:37 + git log --format=format:%s -1 c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo 15:30:37 ========================================================= 15:30:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:30:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:38 + git log --format=format:%s -1 c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] echo 15:30:38 [semverPrep] GIT_COMMIT: c43c269c46c6f6905694d96b27b98d02c951e430, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo 15:30:38 [semverPrep] This is not a build commit. [Pipeline] sh 15:30:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:38 + grep -v github /etc/ssh/ssh_known_hosts 15:30:38 + [ -e /tmp/ssh_known_hosts ] 15:30:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:30:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:30:38 + sudo tee -a /etc/ssh/ssh_known_hosts 15:30:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:38 15:30:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:39 0.1.4: Pulling from edgex-devops/py-git-semver 15:30:39 b85a868b505f: Pulling fs layer 15:30:39 e2be974225ed: Pulling fs layer 15:30:39 339a4e72a1f5: Pulling fs layer 15:30:39 988bab9f4d93: Pulling fs layer 15:30:39 1469e6f7b9e6: Pulling fs layer 15:30:39 eaf3925da568: Pulling fs layer 15:30:39 bab4dde63d76: Pulling fs layer 15:30:39 bde34c3a00c8: Pulling fs layer 15:30:39 b352a97aabf1: Pulling fs layer 15:30:39 4872d77fe225: Pulling fs layer 15:30:39 5851b861e8e6: Pulling fs layer 15:30:39 1469e6f7b9e6: Waiting 15:30:39 eaf3925da568: Waiting 15:30:39 bde34c3a00c8: Waiting 15:30:39 bab4dde63d76: Waiting 15:30:39 5851b861e8e6: Waiting 15:30:39 4872d77fe225: Waiting 15:30:39 b352a97aabf1: Waiting 15:30:39 e2be974225ed: Verifying Checksum 15:30:39 e2be974225ed: Download complete 15:30:39 988bab9f4d93: Verifying Checksum 15:30:39 988bab9f4d93: Download complete 15:30:39 339a4e72a1f5: Verifying Checksum 15:30:39 339a4e72a1f5: Download complete 15:30:39 1469e6f7b9e6: Verifying Checksum 15:30:39 1469e6f7b9e6: Download complete 15:30:39 eaf3925da568: Verifying Checksum 15:30:39 eaf3925da568: Download complete 15:30:39 bde34c3a00c8: Verifying Checksum 15:30:39 bde34c3a00c8: Download complete 15:30:39 b352a97aabf1: Verifying Checksum 15:30:39 b352a97aabf1: Download complete 15:30:39 4872d77fe225: Verifying Checksum 15:30:39 4872d77fe225: Download complete 15:30:39 5851b861e8e6: Download complete 15:30:39 b85a868b505f: Verifying Checksum 15:30:39 b85a868b505f: Download complete 15:30:39 bab4dde63d76: Verifying Checksum 15:30:39 bab4dde63d76: Download complete 15:30:40 b85a868b505f: Pull complete 15:30:40 e2be974225ed: Pull complete 15:30:41 339a4e72a1f5: Pull complete 15:30:41 988bab9f4d93: Pull complete 15:30:41 1469e6f7b9e6: Pull complete 15:30:41 eaf3925da568: Pull complete 15:30:43 bab4dde63d76: Pull complete 15:30:43 bde34c3a00c8: Pull complete 15:30:43 b352a97aabf1: Pull complete 15:30:43 4872d77fe225: Pull complete 15:30:43 5851b861e8e6: Pull complete 15:30:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:30:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:43 prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container 15:30:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:30:46 $ docker top 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 -eo pid,comm 15:30:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:30:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:46 [ssh-agent] Looking for ssh-agent implementation... 15:30:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:46 $ docker exec 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent 15:30:46 SSH_AUTH_SOCK=/tmp/ssh-F7PwUgWlxlGB/agent.33 15:30:46 SSH_AGENT_PID=39 15:30:46 Running ssh-add (command line suppressed) 15:30:46 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_9385486815884252439.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_9385486815884252439.key) 15:30:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:47 + git tag --points-at HEAD [Pipeline] } 15:30:47 $ docker exec --env ******** --env ******** 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent -k 15:30:47 unset SSH_AUTH_SOCK; 15:30:47 unset SSH_AGENT_PID; 15:30:47 echo Agent pid 39 killed; 15:30:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:30:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:47 [ssh-agent] Looking for ssh-agent implementation... 15:30:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:47 $ docker exec 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent 15:30:47 SSH_AUTH_SOCK=/tmp/ssh-CKuBtFCmTdEj/agent.71 15:30:47 SSH_AGENT_PID=77 15:30:47 Running ssh-add (command line suppressed) 15:30:47 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_8224600129838239054.key (/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/private_key_8224600129838239054.key) 15:30:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:48 + git semver init 15:30:48 2023-11-09 15:30:48,256 [run_init] DEBUG init version:0.0.0 force:False 15:30:48 2023-11-09 15:30:48,257 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver 15:30:48 2023-11-09 15:30:48,257 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-366/.semver 15:30:48 2023-11-09 15:30:48,257 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-366/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366, universal_newlines=False, shell=None, istream=None) 15:30:49 2023-11-09 15:30:49,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.git/info/exclude 15:30:49 2023-11-09 15:30:49,356 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 with force:False 15:30:49 2023-11-09 15:30:49,356 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 15:30:49 2023-11-09 15:30:49,361 [execute] INFO git cat-file --batch-check 15:30:49 2023-11-09 15:30:49,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) 15:30:49 2023-11-09 15:30:49,367 [execute] INFO git cat-file --batch 15:30:49 2023-11-09 15:30:49,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-366/.semver, universal_newlines=False, shell=None, istream=) 15:30:49 2023-11-09 15:30:49,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-366/.semver/PR-366 15:30:49 0.0.0 [Pipeline] } 15:30:49 $ docker exec --env ******** --env ******** 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 ssh-agent -k 15:30:49 unset SSH_AUTH_SOCK; 15:30:49 unset SSH_AGENT_PID; 15:30:49 echo Agent pid 77 killed; 15:30:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:30:50 + git semver [Pipeline] } 15:30:50 $ docker stop --time=1 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 15:30:51 $ docker rm -f --volumes 8aac3b2790b540a75c16d50f2b76067e477ea6ea4485b286d9ac88e12b1145e4 [Pipeline] // withDockerContainer [Pipeline] sh 15:30:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:30:52 Stashed 1 file(s) [Pipeline] echo 15:30:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:30:52 provisioning config files... 15:30:52 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config11367140905339258866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:52 ---> docker-login.sh 15:30:52 nexus3.edgexfoundry.org:10001 15:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:52 Configure a credential helper to remove this warning. See 15:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:52 15:30:52 Login Succeeded 15:30:52 nexus3.edgexfoundry.org:10002 15:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:52 Configure a credential helper to remove this warning. See 15:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:52 15:30:52 Login Succeeded 15:30:52 nexus3.edgexfoundry.org:10003 15:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:53 Configure a credential helper to remove this warning. See 15:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:53 15:30:53 Login Succeeded 15:30:53 nexus3.edgexfoundry.org:10004 15:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:53 Configure a credential helper to remove this warning. See 15:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:53 15:30:53 Login Succeeded 15:30:53 docker.io 15:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:53 Configure a credential helper to remove this warning. See 15:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:53 15:30:53 Login Succeeded 15:30:53 ---> docker-login.sh ends [Pipeline] } 15:30:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:30:53 ========================================================= 15:30:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:30:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:54 + 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 . 15:30:54 Sending build context to Docker daemon 10.94MB 15:30:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:30:54 Step 2/12 : FROM ${BASE} AS builder 15:30:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:30:54 7264a8db6415: Pulling fs layer 15:30:54 c4d48a809fc2: Pulling fs layer 15:30:54 4f1c88b9dad5: Pulling fs layer 15:30:54 ad3a456e5733: Pulling fs layer 15:30:54 33e27b845d1e: Pulling fs layer 15:30:54 c68163c4e522: Pulling fs layer 15:30:54 50da416c3ac9: Pulling fs layer 15:30:54 23d2d4c4bb30: Pulling fs layer 15:30:54 23d2d4c4bb30: Waiting 15:30:54 50da416c3ac9: Waiting 15:30:54 33e27b845d1e: Waiting 15:30:54 ad3a456e5733: Waiting 15:30:54 c68163c4e522: Waiting 15:30:54 c4d48a809fc2: Verifying Checksum 15:30:54 c4d48a809fc2: Download complete 15:30:54 ad3a456e5733: Download complete 15:30:54 33e27b845d1e: Verifying Checksum 15:30:54 33e27b845d1e: Download complete 15:30:54 7264a8db6415: Verifying Checksum 15:30:54 7264a8db6415: Download complete 15:30:54 c68163c4e522: Verifying Checksum 15:30:54 c68163c4e522: Download complete 15:30:54 7264a8db6415: Pull complete 15:30:54 23d2d4c4bb30: Download complete 15:30:54 c4d48a809fc2: Pull complete 15:30:54 4f1c88b9dad5: Verifying Checksum 15:30:54 4f1c88b9dad5: Download complete 15:30:55 50da416c3ac9: Verifying Checksum 15:30:55 50da416c3ac9: Download complete 15:30:58 4f1c88b9dad5: Pull complete 15:30:58 ad3a456e5733: Pull complete 15:30:58 33e27b845d1e: Pull complete 15:30:58 c68163c4e522: Pull complete 15:31:00 50da416c3ac9: Pull complete 15:31:00 23d2d4c4bb30: Pull complete 15:31:00 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:31:00 ---> 0786185ac409 15:31:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:31:06 ---> Running in bb705900b8d5 15:31:06 Removing intermediate container bb705900b8d5 15:31:06 ---> d5609221d182 15:31:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:31:06 ---> Running in 853ddbf2f8e2 15:31:06 Removing intermediate container 853ddbf2f8e2 15:31:06 ---> 045bb1c04450 15:31:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:31:06 ---> Running in fa7e013f554e 15:31:06 Removing intermediate container fa7e013f554e 15:31:06 ---> 7d7b53049c79 15:31:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:31:06 ---> Running in 78872079f60a 15:31:06 Removing intermediate container 78872079f60a 15:31:06 ---> 492302e72388 15:31:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:06 ---> Running in cbc04f2eaeac 15:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:31:06 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:31:06 (2/4) Installing libedit (20221030.3.1-r1) 15:31:06 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:31:06 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:31:06 Executing busybox-1.36.1-r2.trigger 15:31:06 OK: 268 MiB in 56 packages 15:31:07 Removing intermediate container cbc04f2eaeac 15:31:07 ---> f665c1c34491 15:31:07 Step 8/12 : WORKDIR /device-rest-go 15:31:07 ---> Running in cc66ccf18fd7 15:31:07 Removing intermediate container cc66ccf18fd7 15:31:07 ---> badc269e76cf 15:31:07 Step 9/12 : COPY go.mod vendor* ./ 15:31:07 ---> 7617edf6d306 15:31:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:07 ---> Running in 09179c9b395d 15:31:07 Still waiting to schedule task 15:31:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:31:46 Removing intermediate container 09179c9b395d 15:31:46 ---> e40c7b0394d1 15:31:46 Step 11/12 : COPY . . 15:31:46 ---> c60a7e99cdbe 15:31:46 Step 12/12 : RUN $MAKE 15:31:46 ---> Running in 68f00c2b3873 15:31:46 noop 15:31:46 Removing intermediate container 68f00c2b3873 15:31:46 ---> 2ac1de71dedc 15:31:46 Successfully built 2ac1de71dedc 15:31:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:46 + docker inspect -f . ci-base-image-x86_64 15:31:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:46 prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container 15:31:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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-x86_64 cat 15:31:46 $ docker top 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:31:47 + go version 15:31:47 go version go1.21.0 linux/amd64 [Pipeline] } 15:31:47 $ docker stop --time=1 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 15:31:48 $ docker rm -f --volumes 8f4f108c0c77674144f804815955f405d63fb058725e39c9ed849038cc5f39a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:48 + docker inspect -f . ci-base-image-x86_64 15:31:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:49 prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container 15:31:49 $ 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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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-x86_64 cat 15:31:49 $ docker top 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 -eo pid,comm [Pipeline] { [Pipeline] sh 15:31:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] fileExists [Pipeline] sh 15:31:50 + make test 15:31:50 go test ./... -coverprofile=coverage.out ./... 15:31:51 ? github.com/edgexfoundry/device-rest-go [no test files] 15:32:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:32:01 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 15:32:06 go vet ./... 15:32:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:10 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:32:10 $ docker stop --time=1 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 15:32:13 $ docker rm -f --volumes 6999938ed7c1554c4daa33c0068ac6ebbf977107464946b598eed5b3fcb68509 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:32:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:15 + ls -al . 15:32:15 total 180 15:32:15 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:31 . 15:32:15 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:30 .. 15:32:15 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 15:30 .dockerignore 15:32:15 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:32 .git 15:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 .github 15:32:15 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 15:30 .gitignore 15:32:15 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:30 .golangci.yml 15:32:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:30 .semver 15:32:15 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 15:30 Attribution.txt 15:32:15 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 15:30 CHANGELOG.md 15:32:15 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 15:30 Dockerfile 15:32:15 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:30 GOVERNANCE.md 15:32:15 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 15:30 Jenkinsfile 15:32:15 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:30 LICENSE 15:32:15 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 15:30 Makefile 15:32:15 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:30 OWNERS.md 15:32:15 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 15:30 README.md 15:32:15 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:30 VERSION 15:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:30 bin 15:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 cmd 15:32:15 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 15:32 coverage.out 15:32:15 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:30 driver 15:32:15 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 15:30 go.mod 15:32:15 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 15:30 go.sum 15:32:15 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:30 openapi 15:32:15 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 15:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:15 + 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=c43c269c46c6f6905694d96b27b98d02c951e430 --label arch=amd64 --label version=0.0.0 . 15:32:15 Sending build context to Docker daemon 10.95MB 15:32:15 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:32:15 Step 2/25 : FROM ${BASE} AS builder 15:32:15 ---> 2ac1de71dedc 15:32:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:32:15 ---> Running in 5b846e161a59 15:32:15 Removing intermediate container 5b846e161a59 15:32:15 ---> aae1679fc2c2 15:32:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:32:15 ---> Running in 566c96862270 15:32:15 Removing intermediate container 566c96862270 15:32:15 ---> 762ae1367c0a 15:32:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:32:15 ---> Running in 047478e7a537 15:32:16 Removing intermediate container 047478e7a537 15:32:16 ---> 580b1174626c 15:32:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:32:16 ---> Running in dc54a6d3b4a6 15:32:16 Removing intermediate container dc54a6d3b4a6 15:32:16 ---> 6c32713cdf2f 15:32:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:32:16 ---> Running in f7073237ef05 15:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:32:16 OK: 268 MiB in 56 packages 15:32:17 Removing intermediate container f7073237ef05 15:32:17 ---> 20e36222bba3 15:32:17 Step 8/25 : WORKDIR /device-rest-go 15:32:17 ---> Running in 3fcec3f9910e 15:32:17 Removing intermediate container 3fcec3f9910e 15:32:17 ---> 67cd9833c580 15:32:17 Step 9/25 : COPY go.mod vendor* ./ 15:32:17 ---> aae6c39815e0 15:32:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:17 ---> Running in 400e365c149a 15:32:17 Removing intermediate container 400e365c149a 15:32:17 ---> 420e3ac33ef2 15:32:17 Step 11/25 : COPY . . 15:32:18 ---> 03c0e4f4a240 15:32:18 Step 12/25 : RUN $MAKE 15:32:18 ---> Running in 80ca3f640808 15:32:18 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:32:36 Removing intermediate container 80ca3f640808 15:32:36 ---> f6715ebed6e5 15:32:36 Step 13/25 : FROM alpine:3.18 15:32:36 3.18: Pulling from library/alpine 15:32:36 96526aa774ef: Pulling fs layer 15:32:36 96526aa774ef: Verifying Checksum 15:32:36 96526aa774ef: Download complete 15:32:37 96526aa774ef: Pull complete 15:32:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:32:37 Status: Downloaded newer image for alpine:3.18 15:32:37 ---> 8ca4688f4f35 15:32:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:32:37 ---> Running in 00571e815dd7 15:32:37 Removing intermediate container 00571e815dd7 15:32:37 ---> a6a1adb42b6f 15:32:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:32:37 ---> Running in 0a3ce0ebed5a 15:32:37 Removing intermediate container 0a3ce0ebed5a 15:32:37 ---> fba0ec7bd564 15:32:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:32:37 ---> Running in d7f3a96000fe 15:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:32:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:32:38 (1/1) Installing dumb-init (1.2.5-r2) 15:32:38 Executing busybox-1.36.1-r2.trigger 15:32:38 OK: 7 MiB in 16 packages 15:32:38 Removing intermediate container d7f3a96000fe 15:32:38 ---> 85515e52015a 15:32:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:32:39 ---> 684ba9865946 15:32:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:32:39 ---> 0a22107d9725 15:32:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:32:39 ---> 796f335f24bf 15:32:39 Step 20/25 : EXPOSE 59986 15:32:39 ---> Running in cb833632d9c2 15:32:39 Removing intermediate container cb833632d9c2 15:32:39 ---> 7a0980a3eff3 15:32:39 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:32:39 ---> Running in aab285c7729f 15:32:39 Removing intermediate container aab285c7729f 15:32:39 ---> 113ac236803d 15:32:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:32:39 ---> Running in b4fbabfa0ce2 15:32:39 Removing intermediate container b4fbabfa0ce2 15:32:39 ---> 6d0561bf174b 15:32:39 Step 23/25 : LABEL arch=amd64 15:32:39 ---> Running in b4fe4616b119 15:32:39 Removing intermediate container b4fe4616b119 15:32:39 ---> a359633f2f93 15:32:39 Step 24/25 : LABEL git_sha=c43c269c46c6f6905694d96b27b98d02c951e430 15:32:39 ---> Running in f85c63b7825e 15:32:39 Removing intermediate container f85c63b7825e 15:32:39 ---> 264a7e3ba9b7 15:32:39 Step 25/25 : LABEL version=0.0.0 15:32:39 ---> Running in 16d5f792463d 15:32:39 Removing intermediate container 16d5f792463d 15:32:39 ---> 42aa9476b05c 15:32:39 [Warning] One or more build-args [ARCH] were not consumed 15:32:39 Successfully built 42aa9476b05c 15:32:39 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:40 15:32:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:40 latest: Pulling from edgex-lftools-log-publisher 15:32:40 5eb5b503b376: Pulling fs layer 15:32:40 5c69ac0246d0: Pulling fs layer 15:32:40 ec43610c2a17: Pulling fs layer 15:32:40 3a2ae6a8a46f: Pulling fs layer 15:32:40 33b1e0a273af: Pulling fs layer 15:32:40 5d3b04190fa2: Pulling fs layer 15:32:40 2f39f015ded8: Pulling fs layer 15:32:40 3a2ae6a8a46f: Waiting 15:32:40 33b1e0a273af: Waiting 15:32:40 5d3b04190fa2: Waiting 15:32:40 2f39f015ded8: Waiting 15:32:40 5c69ac0246d0: Download complete 15:32:40 3a2ae6a8a46f: Verifying Checksum 15:32:40 3a2ae6a8a46f: Download complete 15:32:40 33b1e0a273af: Verifying Checksum 15:32:40 33b1e0a273af: Download complete 15:32:40 5d3b04190fa2: Verifying Checksum 15:32:40 5d3b04190fa2: Download complete 15:32:40 ec43610c2a17: Verifying Checksum 15:32:40 ec43610c2a17: Download complete 15:32:40 5eb5b503b376: Download complete 15:32:41 2f39f015ded8: Download complete 15:32:42 5eb5b503b376: Pull complete 15:32:42 5c69ac0246d0: Pull complete 15:32:42 ec43610c2a17: Pull complete 15:32:42 3a2ae6a8a46f: Pull complete 15:32:42 33b1e0a273af: Pull complete 15:32:42 5d3b04190fa2: Pull complete 15:32:47 2f39f015ded8: Pull complete 15:32:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:47 prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container 15:32:47 $ 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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:32:51 $ docker top 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:51 ---> job-cost.sh 15:32:51 lf-activate-venv: SKIPPING 15:32:51 INFO: No Stack... 15:32:51 INFO: Retrieving Pricing Info for: v3-standard-8 15:32:52 INFO: Archiving Costs [Pipeline] sh 15:32:52 + cat /w/workspace/gexfoundry_device-rest-go_PR-366/archives/cost.csv 15:32:52 + cut -d, -f6 [Pipeline] lock 15:32:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] 15:32:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] did not exist. Created. 15:32:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:32:52 + echo total: 0.2199999988079071 [Pipeline] stash 15:32:52 Stashed 1 file(s) [Pipeline] } 15:32:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:32:52 $ docker stop --time=1 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f 15:32:54 $ docker rm -f --volumes 9685b05448d494b34c5bf4a0dba6d298f56a11d6f5860396d319de976b0df62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:34:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17150 in /w/workspace/gexfoundry_device-rest-go_PR-366 [Pipeline] { [Pipeline] ws 15:34:16 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 15:34:16 The recommended git tool is: git 15:34:24 using credential edgex-jenkins-ssh 15:34:24 Cloning the remote Git repository 15:34:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:34:24 > git init /w/workspace/device-rest-go/2 # timeout=10 15:34:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:34:24 > git --version # timeout=10 15:34:24 > git --version # 'git version 2.25.1' 15:34:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:34:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:34:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:34:31 Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit c43c269c46c6f6905694d96b27b98d02c951e430 15:34:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:34:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:34:30 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:34:31 > git config core.sparsecheckout # timeout=10 15:34:31 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 15:34:31 Merge succeeded, producing c43c269c46c6f6905694d96b27b98d02c951e430 15:34:31 Checking out Revision c43c269c46c6f6905694d96b27b98d02c951e430 (PR-366) 15:34:31 > git remote # timeout=10 15:34:31 > git config --get remote.origin.url # timeout=10 15:34:31 using GIT_SSH to set credentials SSH Credentials for GitHub 15:34:31 > git merge 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 15:34:31 > git rev-parse HEAD^{commit} # timeout=10 15:34:31 > git config core.sparsecheckout # timeout=10 15:34:31 > git checkout -f c43c269c46c6f6905694d96b27b98d02c951e430 # timeout=10 15:34:38 Commit message: "docs: Update changelog for 3.1 release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:34:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:34:39 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:39 Dload Upload Total Spent Left Speed 15:34:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 176k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 15:34:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:34:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:34:40 + sudo tee /etc/docker/daemon.new 15:34:40 { 15:34:40 "registry-mirrors": [ 15:34:40 "https://nexus3.edgexfoundry.org:10001" 15:34:40 ], 15:34:40 "bip": "10.250.0.254/24", 15:34:40 "hosts": [ 15:34:40 "tcp://0.0.0.0:5555", 15:34:40 "unix:///var/run/docker.sock" 15:34:40 ], 15:34:40 "mtu": 1458, 15:34:40 "selinux-enabled": true, 15:34:40 "seccomp-profile": "/etc/docker/seccomp.json" 15:34:40 } [Pipeline] sh 15:34:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:34:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:00 provisioning config files... 15:35:00 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config13015831327581792499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:00 ---> docker-login.sh 15:35:00 nexus3.edgexfoundry.org:10001 15:35:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:00 Configure a credential helper to remove this warning. See 15:35:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:00 15:35:00 Login Succeeded 15:35:00 nexus3.edgexfoundry.org:10002 15:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:01 Configure a credential helper to remove this warning. See 15:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:01 15:35:01 Login Succeeded 15:35:01 nexus3.edgexfoundry.org:10003 15:35:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:01 Configure a credential helper to remove this warning. See 15:35:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:01 15:35:01 Login Succeeded 15:35:02 nexus3.edgexfoundry.org:10004 15:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:02 Configure a credential helper to remove this warning. See 15:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:02 15:35:02 Login Succeeded 15:35:02 docker.io 15:35:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:35:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:35:02 Configure a credential helper to remove this warning. See 15:35:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:35:02 15:35:02 Login Succeeded 15:35:02 ---> docker-login.sh ends [Pipeline] } 15:35:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:35:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:35:03 ========================================================= 15:35:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:35:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:03 + 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 . 15:35:03 Sending build context to Docker daemon 127.5kB 15:35:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:35:03 Step 2/12 : FROM ${BASE} AS builder 15:35:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:35:08 9fda8d8052c6: Pulling fs layer 15:35:08 5d54e960e981: Pulling fs layer 15:35:08 c4a7e357bf2a: Pulling fs layer 15:35:08 f0e02332f6b5: Pulling fs layer 15:35:08 cefa15bbcfad: Pulling fs layer 15:35:08 17808c966233: Pulling fs layer 15:35:08 f4c1fc716caa: Pulling fs layer 15:35:08 f0e02332f6b5: Waiting 15:35:08 cefa15bbcfad: Waiting 15:35:08 17808c966233: Waiting 15:35:08 f4c1fc716caa: Waiting 15:35:08 5d54e960e981: Download complete 15:35:08 f0e02332f6b5: Verifying Checksum 15:35:08 f0e02332f6b5: Download complete 15:35:08 cefa15bbcfad: Verifying Checksum 15:35:08 cefa15bbcfad: Download complete 15:35:08 9fda8d8052c6: Download complete 15:35:08 f4c1fc716caa: Verifying Checksum 15:35:08 f4c1fc716caa: Download complete 15:35:08 9fda8d8052c6: Pull complete 15:35:09 5d54e960e981: Pull complete 15:35:09 c4a7e357bf2a: Verifying Checksum 15:35:09 c4a7e357bf2a: Download complete 15:35:10 17808c966233: Verifying Checksum 15:35:10 17808c966233: Download complete 15:35:22 c4a7e357bf2a: Pull complete 15:35:22 f0e02332f6b5: Pull complete 15:35:22 cefa15bbcfad: Pull complete 15:35:33 17808c966233: Pull complete 15:35:36 f4c1fc716caa: Pull complete 15:35:36 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:35:36 ---> ea914061e18c 15:35:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:35:37 ---> Running in 233a5ca9f2eb 15:35:37 Removing intermediate container 233a5ca9f2eb 15:35:37 ---> 0d2f4fd2015a 15:35:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:35:37 ---> Running in 7910b32278cf 15:35:37 Removing intermediate container 7910b32278cf 15:35:37 ---> 6a0c40e5da74 15:35:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:35:38 ---> Running in 3d8987fe47c9 15:35:38 Removing intermediate container 3d8987fe47c9 15:35:38 ---> 3f7b68bdd353 15:35:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:35:38 ---> Running in 9d5aadc7ae3e 15:35:38 Removing intermediate container 9d5aadc7ae3e 15:35:38 ---> ce585e0233b0 15:35:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:35:38 ---> Running in 125c19a9409f 15:35:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:35:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:35:41 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:35:41 (2/4) Installing libedit (20221030.3.1-r1) 15:35:41 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:35:41 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:35:41 Executing busybox-1.36.1-r2.trigger 15:35:41 OK: 270 MiB in 56 packages 15:35:43 Removing intermediate container 125c19a9409f 15:35:43 ---> ce3b61e70bcc 15:35:43 Step 8/12 : WORKDIR /device-rest-go 15:35:43 ---> Running in 74e086793038 15:35:44 Removing intermediate container 74e086793038 15:35:44 ---> 08f64bf07136 15:35:44 Step 9/12 : COPY go.mod vendor* ./ 15:35:44 ---> 66704ada724f 15:35:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:35:44 ---> Running in 7850285096ba 15:37:06 Removing intermediate container 7850285096ba 15:37:06 ---> 9fe0448664ef 15:37:06 Step 11/12 : COPY . . 15:37:06 ---> 8f281b6721db 15:37:06 Step 12/12 : RUN $MAKE 15:37:06 ---> Running in 8cb911da8336 15:37:06 noop 15:37:06 Removing intermediate container 8cb911da8336 15:37:06 ---> 8b6d3e3a4728 15:37:06 Successfully built 8b6d3e3a4728 15:37:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:06 + docker inspect -f . ci-base-image-arm64 15:37:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:07 prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container 15:37:07 $ 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 15:37:08 $ docker top 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:09 + go version 15:37:09 go version go1.21.0 linux/arm64 [Pipeline] } 15:37:09 $ docker stop --time=1 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea 15:37:10 $ docker rm -f --volumes 40e83f2cc2ed09079a8ab2aa6aec98843045fc1289e4fa8ed6d476259f36b6ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:37:11 + docker inspect -f . ci-base-image-arm64 15:37:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:37:11 prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container 15:37:11 $ 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 15:37:13 $ docker top 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:37:13 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 15:37:14 + make test 15:37:14 go test ./... -coverprofile=coverage.out ./... 15:37:18 ? github.com/edgexfoundry/device-rest-go [no test files] 15:39:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:39:10 ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 33.2% of statements 15:39:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:39:10 go vet ./... 15:39:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:39:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:39:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:39:28 $ docker stop --time=1 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 15:39:30 $ docker rm -f --volumes 0fbcc516e53f84d463b9cf82eec09ec1a482c455b8aad8252a5de636894fc2c3 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:31 Warning: overwriting stash ‘coverage-report’ 15:39:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:39:33 + ls -al . 15:39:33 total 176 15:39:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:37 . 15:39:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:34 .. 15:39:33 -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 15:34 .dockerignore 15:39:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:34 .git 15:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 .github 15:39:33 -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 15:34 .gitignore 15:39:33 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 15:34 .golangci.yml 15:39:33 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 15:34 Attribution.txt 15:39:33 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 9 15:34 CHANGELOG.md 15:39:33 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 15:34 Dockerfile 15:39:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 15:34 GOVERNANCE.md 15:39:33 -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 15:34 Jenkinsfile 15:39:33 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 15:34 LICENSE 15:39:33 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 15:34 Makefile 15:39:33 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 15:34 OWNERS.md 15:39:33 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 15:34 README.md 15:39:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:30 VERSION 15:39:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:34 bin 15:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 cmd 15:39:33 -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 15:39 coverage.out 15:39:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:34 driver 15:39:33 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 15:34 go.mod 15:39:33 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 15:34 go.sum 15:39:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:34 openapi 15:39:33 -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 15:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:33 + 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=c43c269c46c6f6905694d96b27b98d02c951e430 --label arch=arm64 --label version=0.0.0 . 15:39:33 Sending build context to Docker daemon 142.8kB 15:39:33 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:39:33 Step 2/25 : FROM ${BASE} AS builder 15:39:33 ---> 8b6d3e3a4728 15:39:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:39:33 ---> Running in f627d9c88d06 15:39:33 Removing intermediate container f627d9c88d06 15:39:33 ---> 8f606d95912a 15:39:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:39:34 ---> Running in 2ced542e6db8 15:39:34 Removing intermediate container 2ced542e6db8 15:39:34 ---> 83711d0f0eff 15:39:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:39:34 ---> Running in 03685c4c784d 15:39:34 Removing intermediate container 03685c4c784d 15:39:34 ---> 572484f6b776 15:39:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:39:35 ---> Running in b14d03a23df5 15:39:35 Removing intermediate container b14d03a23df5 15:39:35 ---> a91e1f7e9cf9 15:39:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:35 ---> Running in de6c9f0e6b71 15:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:39:38 OK: 270 MiB in 56 packages 15:39:38 Removing intermediate container de6c9f0e6b71 15:39:38 ---> 8f2b521c8bc3 15:39:38 Step 8/25 : WORKDIR /device-rest-go 15:39:39 ---> Running in 0a023add39c3 15:39:39 Removing intermediate container 0a023add39c3 15:39:39 ---> 2d23ab0a993e 15:39:39 Step 9/25 : COPY go.mod vendor* ./ 15:39:39 ---> 062bd5bc1966 15:39:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:39 ---> Running in 6f6911168879 15:39:41 Removing intermediate container 6f6911168879 15:39:41 ---> 6309246a3a26 15:39:41 Step 11/25 : COPY . . 15:39:42 ---> 9eba66e45d8b 15:39:42 Step 12/25 : RUN $MAKE 15:39:42 ---> Running in eb8003a9d854 15:39:43 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd 15:41:50 Removing intermediate container eb8003a9d854 15:41:50 ---> 97fcb8c3d6fe 15:41:50 Step 13/25 : FROM alpine:3.18 15:41:50 3.18: Pulling from library/alpine 15:41:50 579b34f0a95b: Pulling fs layer 15:41:50 579b34f0a95b: Verifying Checksum 15:41:50 579b34f0a95b: Download complete 15:41:50 579b34f0a95b: Pull complete 15:41:50 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:41:50 Status: Downloaded newer image for alpine:3.18 15:41:50 ---> 3cc203321400 15:41:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:41:50 ---> Running in ebe47408bd82 15:41:50 Removing intermediate container ebe47408bd82 15:41:50 ---> dc570526c09a 15:41:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:41:50 ---> Running in 1bc21aee1d7e 15:41:50 Removing intermediate container 1bc21aee1d7e 15:41:50 ---> ada0fd7061dd 15:41:50 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:41:50 ---> Running in f6b741fb0697 15:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:41:50 (1/1) Installing dumb-init (1.2.5-r2) 15:41:50 Executing busybox-1.36.1-r2.trigger 15:41:50 OK: 8 MiB in 16 packages 15:41:50 Removing intermediate container f6b741fb0697 15:41:50 ---> 4008823d7524 15:41:50 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:41:50 ---> 0b5187f6a7a4 15:41:50 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:41:51 ---> bb7ac1b095fb 15:41:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:41:51 ---> db437227c8ac 15:41:51 Step 20/25 : EXPOSE 59986 15:41:51 ---> Running in 4e4ccc9c03f5 15:41:52 Removing intermediate container 4e4ccc9c03f5 15:41:52 ---> 53e07c99bc70 15:41:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:41:52 ---> Running in 23c600da45dc 15:41:52 Removing intermediate container 23c600da45dc 15:41:52 ---> 14667cd51a63 15:41:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:41:52 ---> Running in 406e61dd5482 15:41:53 Removing intermediate container 406e61dd5482 15:41:53 ---> 8d549ca3aa98 15:41:53 Step 23/25 : LABEL arch=arm64 15:41:53 ---> Running in 4787261069ad 15:41:53 Removing intermediate container 4787261069ad 15:41:53 ---> 03d00e286d31 15:41:53 Step 24/25 : LABEL git_sha=c43c269c46c6f6905694d96b27b98d02c951e430 15:41:53 ---> Running in 8bef8c88f9a9 15:41:53 Removing intermediate container 8bef8c88f9a9 15:41:53 ---> a378ef8c440b 15:41:53 Step 25/25 : LABEL version=0.0.0 15:41:53 ---> Running in 9e69331f7223 15:41:54 Removing intermediate container 9e69331f7223 15:41:54 ---> 98a580c8457e 15:41:54 [Warning] One or more build-args [ARCH] were not consumed 15:41:54 Successfully built 98a580c8457e 15:41:54 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:41:54 15:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:41:55 arm64: Pulling from edgex-lftools-log-publisher 15:41:55 8998bd30e6a1: Pulling fs layer 15:41:55 04944245beec: Pulling fs layer 15:41:55 699f458cf7ca: Pulling fs layer 15:41:55 765212b225bb: Pulling fs layer 15:41:55 f23df028b6ca: Pulling fs layer 15:41:55 d65c8cfc05b1: Pulling fs layer 15:41:55 2437ff75d9bd: Pulling fs layer 15:41:55 f23df028b6ca: Waiting 15:41:55 d65c8cfc05b1: Waiting 15:41:55 2437ff75d9bd: Waiting 15:41:55 765212b225bb: Waiting 15:41:55 04944245beec: Verifying Checksum 15:41:55 04944245beec: Download complete 15:41:55 765212b225bb: Verifying Checksum 15:41:55 765212b225bb: Download complete 15:41:55 f23df028b6ca: Verifying Checksum 15:41:55 f23df028b6ca: Download complete 15:41:55 d65c8cfc05b1: Verifying Checksum 15:41:55 d65c8cfc05b1: Download complete 15:41:55 699f458cf7ca: Verifying Checksum 15:41:55 699f458cf7ca: Download complete 15:41:56 8998bd30e6a1: Verifying Checksum 15:41:56 8998bd30e6a1: Download complete 15:41:59 2437ff75d9bd: Verifying Checksum 15:41:59 2437ff75d9bd: Download complete 15:42:03 8998bd30e6a1: Pull complete 15:42:03 04944245beec: Pull complete 15:42:05 699f458cf7ca: Pull complete 15:42:05 765212b225bb: Pull complete 15:42:06 f23df028b6ca: Pull complete 15:42:06 d65c8cfc05b1: Pull complete 15:42:21 2437ff75d9bd: Pull complete 15:42:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:42:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:42:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:22 prd-ubuntu20.04-docker-arm64-4c-16g-17150 does not seem to be running inside a container 15:42:22 $ 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 15:42:24 $ docker top 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:25 ---> job-cost.sh 15:42:25 lf-activate-venv: SKIPPING 15:42:25 INFO: No Stack... 15:42:25 INFO: Retrieving Pricing Info for: v3-standard-4 15:42:26 INFO: Archiving Costs [Pipeline] sh 15:42:27 + cut+ -d, -f6 15:42:27 cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 15:42:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] 15:42:27 Resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] did not exist. Created. 15:42:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:42:28 /w/workspace/device-rest-go/2@tmp/durable-951ea076/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:42:28 + echo total: 0.10999999940395355 [Pipeline] stash 15:42:28 Warning: overwriting stash ‘stack-cost’ 15:42:28 Stashed 1 file(s) [Pipeline] } 15:42:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-366-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:42:29 $ docker stop --time=1 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 15:42:33 $ docker rm -f --volumes 5c4e580ee4c645c683105a036ba656504e37a778d985a258cce6248cc08714b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:42:33 provisioning config files... 15:42:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config11969620311407192055tmp [Pipeline] { [Pipeline] sh 15:42:34 + set +x 15:42:34 + curl -s https://codecov.io/bash 15:42:34 + bash -s -- 15:42:34 15:42:34 _____ _ 15:42:34 / ____| | | 15:42:34 | | ___ __| | ___ ___ _____ __ 15:42:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:42:34 | |___| (_) | (_| | __/ (_| (_) \ V / 15:42:34 \_____\___/ \__,_|\___|\___\___/ \_/ 15:42:34 Bash-1.0.6 15:42:34 15:42:34 15:42:34 ==> git version 2.25.1 found 15:42:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:42:34 Release-Date: 2020-01-08 15:42:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:42:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:42:34 ==> Jenkins CI detected. 15:42:34 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-366 15:42:34 project root: . 15:42:34 --> token set from env 15:42:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:42:34 ==> Running gcov in . (disable via -X gcov) 15:42:34 ==> Python coveragepy not found 15:42:34 ==> Searching for coverage reports in: 15:42:34 + . 15:42:34 -> Found 1 reports 15:42:34 ==> Detecting git/mercurial file structure 15:42:34 ==> Reading reports 15:42:34 + ./coverage.out bytes=14499 15:42:34 ==> Appending adjustments 15:42:34 https://docs.codecov.io/docs/fixing-reports 15:42:34 + Found adjustments 15:42:34 ==> Gzipping contents 15:42:34 4.0K /tmp/codecov.jS70YA.gz 15:42:34 ==> Uploading reports 15:42:34 url: https://codecov.io 15:42:34 query: branch=PR-366&commit=c43c269c46c6f6905694d96b27b98d02c951e430&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= 15:42:34 -> Pinging Codecov 15:42:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-366&commit=c43c269c46c6f6905694d96b27b98d02c951e430&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-366%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=366&job=&cmd_args= 15:42:34 -> Uploading to 15:42:34 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/c43c269c46c6f6905694d96b27b98d02c951e430/e01027b2-8911-43ab-85e1-fc70c80d9818.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T154234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d9d0bbfb0a21581e654aa036ba1e935230b9055bddb8260662e91ea307861484 15:42:34 % Total % Received % Xferd Average Speed Time Time Time Current 15:42:34 Dload Upload Total Spent Left Speed 15:42:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 10224 --:--:-- --:--:-- --:--:-- 10224 15:42:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c43c269c46c6f6905694d96b27b98d02c951e430 [Pipeline] } 15:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:42:35 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-366/archives ] 15:42:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives 15:42:35 total 16 15:42:35 drwxr-xr-x 3 root root 4096 Nov 9 15:32 . 15:42:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:32 .. 15:42:35 drwxr-xr-x 2 root root 4096 Nov 9 15:32 cost 15:42:35 -rw-r--r-- 1 root root 86 Nov 9 15:32 cost.csv 15:42:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-366/archives 15:42:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-366/archives 15:42:35 total 16 15:42:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:32 . 15:42:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:32 .. 15:42:35 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 15:32 cost 15:42:35 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 15:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:42:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:42:36 ---> package-listing.sh 15:42:36 ++ facter osfamily 15:42:36 ++ tr '[:upper:]' '[:lower:]' 15:42:36 + OS_FAMILY=debian 15:42:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-366 15:42:36 + START_PACKAGES=/tmp/packages_start.txt 15:42:36 + END_PACKAGES=/tmp/packages_end.txt 15:42:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:42:36 + PACKAGES=/tmp/packages_start.txt 15:42:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' 15:42:36 + PACKAGES=/tmp/packages_end.txt 15:42:36 + case "${OS_FAMILY}" in 15:42:36 + dpkg -l 15:42:36 + grep '^ii' 15:42:36 + '[' -f /tmp/packages_start.txt ']' 15:42:36 + '[' -f /tmp/packages_end.txt ']' 15:42:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:42:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-366 ']' 15:42:36 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ 15:42:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-366/archives/ [Pipeline] echo 15:42:36 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:42:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:37 prd-ubuntu20.04-docker-8c-8g-17147 does not seem to be running inside a container 15:42:37 $ 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-366/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-366 -v /w/workspace/gexfoundry_device-rest-go_PR-366:/w/workspace/gexfoundry_device-rest-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-366@tmp:/w/workspace/gexfoundry_device-rest-go_PR-366@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 15:42:38 $ docker top 6202ceb6f533378d609ab119b28564d4f85b02d37336416b0e3b92a8cc0917a9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:42:38 + touch /tmp/pre-build-complete [Pipeline] sh 15:42:38 + mkdir -p /var/log/sysstat [Pipeline] sh 15:42:39 + ls /var/log/sa-host 15:42:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:39 provisioning config files... 15:42:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-366@tmp/config12103799782743393174tmp [Pipeline] { [Pipeline] echo 15:42:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:42:39 ---> create-netrc.sh [Pipeline] } 15:42:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:42:39 ---> python-tools-install.sh [Pipeline] echo 15:42:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:42:40 ---> sudo-logs.sh 15:42:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:42:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:42:40 ---> job-cost.sh 15:42:40 lf-activate-venv: SKIPPING 15:42:40 DEBUG: total: 0.2199999988079071 15:42:40 INFO: Retrieving Stack Cost... 15:42:41 INFO: Retrieving Pricing Info for: v3-standard-8 15:42:41 INFO: Archiving Costs [Pipeline] echo 15:42:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:42:41 ---> logs-deploy.sh 15:42:41 lf-activate-venv: SKIPPING 15:42:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-366/2 15:42:41 INFO: archiving workspace using pattern(s): 15:42:42 Archives upload complete. 15:42:42 INFO: archiving logs to Nexus