Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97+abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 (7121dbe5a1db9e12cf98851a5a5e2dd81ece0af5) 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-ssh15140855043012929341.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-ssh2340215515678139392.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-363/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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10663411316708663492.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-ssh18085191888817343575.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-363/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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13824129928772513786.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17207 in /w/workspace/gexfoundry_device-rest-go_PR-363 [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-363 # 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Merge succeeded, producing 018725e2cf3a37f129e14db8ddb6d65982358895 Checking out Revision 018725e2cf3a37f129e14db8ddb6d65982358895 (PR-363) > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # 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 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 018725e2cf3a37f129e14db8ddb6d65982358895 # timeout=10 Commit message: "Merge commit 'abaf377c2305cb6c403a8e05fa4318ea0a1dbe85' into HEAD" > git rev-list --no-walk 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:07:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:07:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:07:37 ========================================================= 15:07:37 EdgeX Global Pipelines Version Info 15:07:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:07:38 ------------------- 15:07:38 stable info: 15:07:38 ------------------- 15:07:38 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:07:38 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:07:38 Message: update stable to v1.0.257 15:07:38 ------------------- 15:07:38 experimental info: 15:07:38 ------------------- 15:07:38 Commited By: **** collab-it+edgex@linuxfoundation.org 15:07:38 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:07:38 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:07:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 018725e2cf3a37f129e14db8ddb6d65982358895 [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 018725e [Pipeline] echo 15:07:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:07:39 provisioning config files... 15:07:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config17898970238128168175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:39 ---> docker-login.sh 15:07:39 nexus3.edgexfoundry.org:10001 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 nexus3.edgexfoundry.org:10002 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 nexus3.edgexfoundry.org:10003 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 nexus3.edgexfoundry.org:10004 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 docker.io 15:07:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:40 Configure a credential helper to remove this warning. See 15:07:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:40 15:07:40 Login Succeeded 15:07:40 ---> docker-login.sh ends [Pipeline] } 15:07:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:07:41 + git rev-list -1 --merges 018725e2cf3a37f129e14db8ddb6d65982358895~1..018725e2cf3a37f129e14db8ddb6d65982358895 [Pipeline] echo 15:07:41 -----------> git rev-list -1 --merges 018725e2cf3a37f129e14db8ddb6d65982358895~1..018725e2cf3a37f129e14db8ddb6d65982358895 018725e2cf3a37f129e14db8ddb6d65982358895 15:07:41 018725e2cf3a37f129e14db8ddb6d65982358895 [false] [Pipeline] sh 15:07:41 + git log --format=format:%s -1 018725e2cf3a37f129e14db8ddb6d65982358895 [Pipeline] echo 15:07:41 ========================================================= 15:07:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:07:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:41 + git log --format=format:%s -1 018725e2cf3a37f129e14db8ddb6d65982358895 [Pipeline] echo 15:07:41 [semverPrep] GIT_COMMIT: 018725e2cf3a37f129e14db8ddb6d65982358895, Commit Message: Merge commit 'abaf377c2305cb6c403a8e05fa4318ea0a1dbe85' into HEAD [Pipeline] echo 15:07:41 [semverPrep] This is not a build commit. [Pipeline] sh 15:07:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:07:42 + grep -v github /etc/ssh/ssh_known_hosts 15:07:42 + [ -e /tmp/ssh_known_hosts ] 15:07:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:07:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:07:42 + sudo tee -a /etc/ssh/ssh_known_hosts 15:07:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:42 15:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:43 0.1.4: Pulling from edgex-devops/py-git-semver 15:07:43 b85a868b505f: Pulling fs layer 15:07:43 e2be974225ed: Pulling fs layer 15:07:43 339a4e72a1f5: Pulling fs layer 15:07:43 988bab9f4d93: Pulling fs layer 15:07:43 1469e6f7b9e6: Pulling fs layer 15:07:43 eaf3925da568: Pulling fs layer 15:07:43 bab4dde63d76: Pulling fs layer 15:07:43 988bab9f4d93: Waiting 15:07:43 1469e6f7b9e6: Waiting 15:07:43 eaf3925da568: Waiting 15:07:43 bab4dde63d76: Waiting 15:07:43 bde34c3a00c8: Pulling fs layer 15:07:43 b352a97aabf1: Pulling fs layer 15:07:43 bde34c3a00c8: Waiting 15:07:43 4872d77fe225: Pulling fs layer 15:07:43 5851b861e8e6: Pulling fs layer 15:07:43 5851b861e8e6: Waiting 15:07:43 e2be974225ed: Verifying Checksum 15:07:43 e2be974225ed: Download complete 15:07:43 988bab9f4d93: Verifying Checksum 15:07:43 988bab9f4d93: Download complete 15:07:43 1469e6f7b9e6: Verifying Checksum 15:07:43 1469e6f7b9e6: Download complete 15:07:43 339a4e72a1f5: Verifying Checksum 15:07:43 339a4e72a1f5: Download complete 15:07:43 eaf3925da568: Verifying Checksum 15:07:43 eaf3925da568: Download complete 15:07:43 bde34c3a00c8: Download complete 15:07:43 b352a97aabf1: Download complete 15:07:43 4872d77fe225: Verifying Checksum 15:07:43 4872d77fe225: Download complete 15:07:43 5851b861e8e6: Download complete 15:07:43 b85a868b505f: Verifying Checksum 15:07:43 b85a868b505f: Download complete 15:07:43 bab4dde63d76: Verifying Checksum 15:07:44 b85a868b505f: Pull complete 15:07:44 e2be974225ed: Pull complete 15:07:45 339a4e72a1f5: Pull complete 15:07:45 988bab9f4d93: Pull complete 15:07:45 1469e6f7b9e6: Pull complete 15:07:45 eaf3925da568: Pull complete 15:07:47 bab4dde63d76: Pull complete 15:07:47 bde34c3a00c8: Pull complete 15:07:47 b352a97aabf1: Pull complete 15:07:47 4872d77fe225: Pull complete 15:07:47 5851b861e8e6: Pull complete 15:07:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:07:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:07:47 prd-ubuntu20.04-docker-8c-8g-17207 does not seem to be running inside a container 15:07:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:07:50 $ docker top cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 -eo pid,comm 15:07:50 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:07:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:07:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:50 [ssh-agent] Looking for ssh-agent implementation... 15:07:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:50 $ docker exec cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 ssh-agent 15:07:50 SSH_AUTH_SOCK=/tmp/ssh-prl0yXdFiNtc/agent.32 15:07:50 SSH_AGENT_PID=38 15:07:50 Running ssh-add (command line suppressed) 15:07:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_10155263114454602232.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_10155263114454602232.key) 15:07:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:51 + git tag --points-at HEAD [Pipeline] } 15:07:51 $ docker exec --env ******** --env ******** cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 ssh-agent -k 15:07:51 unset SSH_AUTH_SOCK; 15:07:51 unset SSH_AGENT_PID; 15:07:51 echo Agent pid 38 killed; 15:07:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:07:51 [ssh-agent] Looking for ssh-agent implementation... 15:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:07:51 $ docker exec cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 ssh-agent 15:07:51 SSH_AUTH_SOCK=/tmp/ssh-KNFKEWYXrgzG/agent.70 15:07:51 SSH_AGENT_PID=76 15:07:51 Running ssh-add (command line suppressed) 15:07:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_15973389427293853954.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_15973389427293853954.key) 15:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:07:51 + git semver init 15:07:52 2023-11-10 15:07:52,031 [run_init] DEBUG init version:0.0.0 force:False 15:07:52 2023-11-10 15:07:52,032 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver 15:07:52 2023-11-10 15:07:52,032 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-363/.semver 15:07:52 2023-11-10 15:07:52,032 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-363/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363, universal_newlines=False, shell=None, istream=None) 15:07:53 2023-11-10 15:07:53,056 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.git/info/exclude 15:07:53 2023-11-10 15:07:53,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 with force:False 15:07:53 2023-11-10 15:07:53,057 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 15:07:53 2023-11-10 15:07:53,061 [execute] INFO git cat-file --batch-check 15:07:53 2023-11-10 15:07:53,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 15:07:53 2023-11-10 15:07:53,067 [execute] INFO git cat-file --batch 15:07:53 2023-11-10 15:07:53,067 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) 15:07:53 2023-11-10 15:07:53,074 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 15:07:53 0.0.0 [Pipeline] } 15:07:53 $ docker exec --env ******** --env ******** cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 ssh-agent -k 15:07:53 unset SSH_AUTH_SOCK; 15:07:53 unset SSH_AGENT_PID; 15:07:53 echo Agent pid 76 killed; 15:07:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:07:54 + git semver [Pipeline] } 15:07:54 $ docker stop --time=1 cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 15:07:55 $ docker rm -f --volumes cc40ee594197f059db8c155c2cda17ba85a38f511471f20bf9b563a9ee896ef9 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:07:56 Stashed 1 file(s) [Pipeline] echo 15:07:56 [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:07:56 provisioning config files... 15:07:56 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config10730394712786199565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:07:56 ---> docker-login.sh 15:07:56 nexus3.edgexfoundry.org:10001 15:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:56 Configure a credential helper to remove this warning. See 15:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:56 15:07:56 Login Succeeded 15:07:56 nexus3.edgexfoundry.org:10002 15:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:56 Configure a credential helper to remove this warning. See 15:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:56 15:07:56 Login Succeeded 15:07:56 nexus3.edgexfoundry.org:10003 15:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:56 Configure a credential helper to remove this warning. See 15:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:56 15:07:56 Login Succeeded 15:07:56 nexus3.edgexfoundry.org:10004 15:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:56 Configure a credential helper to remove this warning. See 15:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:56 15:07:56 Login Succeeded 15:07:56 docker.io 15:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:07:57 Configure a credential helper to remove this warning. See 15:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:07:57 15:07:57 Login Succeeded 15:07:57 ---> docker-login.sh ends [Pipeline] } 15:07:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:07:57 ========================================================= 15:07:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:07:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:57 + 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:07:57 Sending build context to Docker daemon 10.95MB 15:07:57 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:07:57 Step 2/12 : FROM ${BASE} AS builder 15:07:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:07:57 7264a8db6415: Pulling fs layer 15:07:57 c4d48a809fc2: Pulling fs layer 15:07:57 4f1c88b9dad5: Pulling fs layer 15:07:57 ad3a456e5733: Pulling fs layer 15:07:57 33e27b845d1e: Pulling fs layer 15:07:57 c68163c4e522: Pulling fs layer 15:07:57 50da416c3ac9: Pulling fs layer 15:07:57 23d2d4c4bb30: Pulling fs layer 15:07:57 c68163c4e522: Waiting 15:07:57 33e27b845d1e: Waiting 15:07:57 50da416c3ac9: Waiting 15:07:57 23d2d4c4bb30: Waiting 15:07:57 ad3a456e5733: Waiting 15:07:57 c4d48a809fc2: Download complete 15:07:57 ad3a456e5733: Download complete 15:07:58 33e27b845d1e: Download complete 15:07:58 7264a8db6415: Verifying Checksum 15:07:58 7264a8db6415: Download complete 15:07:58 c68163c4e522: Verifying Checksum 15:07:58 c68163c4e522: Download complete 15:07:58 7264a8db6415: Pull complete 15:07:58 23d2d4c4bb30: Verifying Checksum 15:07:58 23d2d4c4bb30: Download complete 15:07:58 c4d48a809fc2: Pull complete 15:07:58 4f1c88b9dad5: Verifying Checksum 15:07:58 4f1c88b9dad5: Download complete 15:07:58 50da416c3ac9: Verifying Checksum 15:07:58 50da416c3ac9: Download complete 15:08:02 4f1c88b9dad5: Pull complete 15:08:02 ad3a456e5733: Pull complete 15:08:02 33e27b845d1e: Pull complete 15:08:02 c68163c4e522: Pull complete 15:08:04 50da416c3ac9: Pull complete 15:08:04 23d2d4c4bb30: Pull complete 15:08:04 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:08:04 ---> 0786185ac409 15:08:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:08:10 ---> Running in 3adfb7d0b0c2 15:08:10 Removing intermediate container 3adfb7d0b0c2 15:08:10 ---> f4f86935a4e2 15:08:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:08:10 ---> Running in 9d9e426b3392 15:08:11 Removing intermediate container 9d9e426b3392 15:08:11 ---> 8343449144a9 15:08:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:08:11 ---> Running in 5c907aa7b9dc 15:08:11 Still waiting to schedule task 15:08:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:08:11 Removing intermediate container 5c907aa7b9dc 15:08:11 ---> c58deb967582 15:08:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:08:11 ---> Running in 72439fad2646 15:08:11 Removing intermediate container 72439fad2646 15:08:11 ---> 3def0c951cc2 15:08:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:08:11 ---> Running in 2c63bf58c59e 15:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:08:12 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:08:12 (2/4) Installing libedit (20221030.3.1-r1) 15:08:12 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:08:12 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:08:12 Executing busybox-1.36.1-r2.trigger 15:08:12 OK: 268 MiB in 56 packages 15:08:12 Removing intermediate container 2c63bf58c59e 15:08:12 ---> 5382da50c8cf 15:08:12 Step 8/12 : WORKDIR /device-rest-go 15:08:12 ---> Running in 9efe84ebb5f6 15:08:12 Removing intermediate container 9efe84ebb5f6 15:08:12 ---> 691ab7d0436a 15:08:12 Step 9/12 : COPY go.mod vendor* ./ 15:08:12 ---> 80f356034044 15:08:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:12 ---> Running in 3b9cbccf9b2f 15:09:09 Removing intermediate container 3b9cbccf9b2f 15:09:09 ---> 3fe384ff1252 15:09:09 Step 11/12 : COPY . . 15:09:09 ---> 7a0b66cfcdf5 15:09:09 Step 12/12 : RUN $MAKE 15:09:09 ---> Running in c324624be7f2 15:09:09 noop 15:09:09 Removing intermediate container c324624be7f2 15:09:09 ---> 8d7807c08e71 15:09:09 Successfully built 8d7807c08e71 15:09:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:09 + docker inspect -f . ci-base-image-x86_64 15:09:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:09 prd-ubuntu20.04-docker-8c-8g-17207 does not seem to be running inside a container 15:09:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:09:09 $ docker top 3062675b9620901ddf42cdae43ed5e349a7f312f92674114871164407387380b -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:10 + go version 15:09:10 go version go1.21.0 linux/amd64 [Pipeline] } 15:09:10 $ docker stop --time=1 3062675b9620901ddf42cdae43ed5e349a7f312f92674114871164407387380b 15:09:11 $ docker rm -f --volumes 3062675b9620901ddf42cdae43ed5e349a7f312f92674114871164407387380b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:12 + docker inspect -f . ci-base-image-x86_64 15:09:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:12 prd-ubuntu20.04-docker-8c-8g-17207 does not seem to be running inside a container 15:09:12 $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:09:12 $ docker top 03088c32b6efadcc489a2a49b9f6e0ed3217cc1ff3d3e524df6a2a0911f44604 -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:12 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] fileExists [Pipeline] sh 15:09:13 + make test 15:09:13 go test ./... -coverprofile=coverage.out ./... 15:09:15 ? github.com/edgexfoundry/device-rest-go [no test files] 15:09:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:09:25 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 15:09:33 go vet ./... 15:09:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:09:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:09:36 ./bin/test-attribution-txt.sh [Pipeline] echo 15:09:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:09:36 $ docker stop --time=1 03088c32b6efadcc489a2a49b9f6e0ed3217cc1ff3d3e524df6a2a0911f44604 15:09:39 $ docker rm -f --volumes 03088c32b6efadcc489a2a49b9f6e0ed3217cc1ff3d3e524df6a2a0911f44604 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:09:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:09:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:40 + ls -al . 15:09:40 total 180 15:09:40 drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 15:09 . 15:09:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:07 .. 15:09:40 -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 15:07 .dockerignore 15:09:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:09 .git 15:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:07 .github 15:09:40 -rw-rw-r-- 1 jenkins jenkins 264 Nov 10 15:07 .gitignore 15:09:40 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 15:07 .golangci.yml 15:09:40 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 15:07 .semver 15:09:40 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 10 15:07 Attribution.txt 15:09:40 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 10 15:07 CHANGELOG.md 15:09:40 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 10 15:07 Dockerfile 15:09:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 15:07 GOVERNANCE.md 15:09:40 -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 15:07 Jenkinsfile 15:09:40 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 15:07 LICENSE 15:09:40 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 10 15:07 Makefile 15:09:40 -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 15:07 OWNERS.md 15:09:40 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 10 15:07 README.md 15:09:40 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 15:07 VERSION 15:09:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:07 bin 15:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:07 cmd 15:09:40 -rw-r--r-- 1 jenkins jenkins 14499 Nov 10 15:09 coverage.out 15:09:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:07 driver 15:09:40 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 10 15:07 go.mod 15:09:40 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 10 15:07 go.sum 15:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:07 openapi 15:09:40 -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:41 + 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=018725e2cf3a37f129e14db8ddb6d65982358895 --label arch=amd64 --label version=0.0.0 . 15:09:41 Sending build context to Docker daemon 10.97MB 15:09:41 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:09:41 Step 2/25 : FROM ${BASE} AS builder 15:09:41 ---> 8d7807c08e71 15:09:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:09:41 ---> Running in 3de18da9d02a 15:09:41 Removing intermediate container 3de18da9d02a 15:09:41 ---> 3dae68a47afc 15:09:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:09:41 ---> Running in 072c273ec78a 15:09:41 Removing intermediate container 072c273ec78a 15:09:41 ---> 12bbd91fb0b4 15:09:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:09:41 ---> Running in 4df8e14db221 15:09:41 Removing intermediate container 4df8e14db221 15:09:41 ---> f1791354f57b 15:09:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:09:41 ---> Running in dbf4fb9a9f72 15:09:41 Removing intermediate container dbf4fb9a9f72 15:09:41 ---> 10959db0f918 15:09:41 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:09:41 ---> Running in 22cbff88d774 15:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:09:42 OK: 268 MiB in 56 packages 15:09:42 Removing intermediate container 22cbff88d774 15:09:42 ---> da5c455a59b1 15:09:42 Step 8/25 : WORKDIR /device-rest-go 15:09:42 ---> Running in 6c2ab89db745 15:09:43 Removing intermediate container 6c2ab89db745 15:09:43 ---> 9708bdea8e43 15:09:43 Step 9/25 : COPY go.mod vendor* ./ 15:09:43 ---> 3772eb091268 15:09:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:09:43 ---> Running in 150fdbda68c5 15:09:44 Removing intermediate container 150fdbda68c5 15:09:44 ---> cba10830070a 15:09:44 Step 11/25 : COPY . . 15:09:44 ---> 096bb4184ea3 15:09:44 Step 12/25 : RUN $MAKE 15:09:44 ---> Running in d4fa14537de8 15:09:44 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:09:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17208 in /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] { [Pipeline] ws 15:09:47 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 15:09:47 The recommended git tool is: git 15:09:52 using credential edgex-jenkins-ssh 15:09:52 Cloning the remote Git repository 15:09:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:09:52 > git init /w/workspace/device-rest-go/3 # timeout=10 15:09:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:09:52 > git --version # timeout=10 15:09:52 > git --version # 'git version 2.25.1' 15:09:52 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:09:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:09:55 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:09:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:09:55 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:09:56 Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 15:09:56 Merge succeeded, producing 76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 15:09:56 Checking out Revision 76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 (PR-363) 15:09:56 > git config core.sparsecheckout # timeout=10 15:09:56 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 15:09:56 > git remote # timeout=10 15:09:56 > git config --get remote.origin.url # timeout=10 15:09:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:09:56 > git merge abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 15:09:56 > git rev-parse HEAD^{commit} # timeout=10 15:09:56 > git config core.sparsecheckout # timeout=10 15:09:56 > git checkout -f 76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 # timeout=10 15:10:00 Commit message: "Merge commit 'abaf377c2305cb6c403a8e05fa4318ea0a1dbe85' into HEAD" 15:10:00 > git rev-list --no-walk 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:10:01 % Total % Received % Xferd Average Speed Time Time Time Current 15:10:01 Dload Upload Total Spent Left Speed 15:10:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 73306 0 --:--:-- --:--:-- --:--:-- 73306 [Pipeline] sh 15:10:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:10:02 + sudo tee /etc/docker/daemon.new 15:10:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:10:02 { 15:10:02 "registry-mirrors": [ 15:10:02 "https://nexus3.edgexfoundry.org:10001" 15:10:02 ], 15:10:02 "bip": "10.250.0.254/24", 15:10:02 "hosts": [ 15:10:02 "tcp://0.0.0.0:5555", 15:10:02 "unix:///var/run/docker.sock" 15:10:02 ], 15:10:02 "mtu": 1458, 15:10:02 "selinux-enabled": true, 15:10:02 "seccomp-profile": "/etc/docker/seccomp.json" 15:10:02 } [Pipeline] sh 15:10:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:10:02 + sudo service docker restart 15:10:06 Removing intermediate container d4fa14537de8 15:10:06 ---> 788f86e6387d 15:10:06 Step 13/25 : FROM alpine:3.18 15:10:06 3.18: Pulling from library/alpine 15:10:07 96526aa774ef: Pulling fs layer 15:10:07 96526aa774ef: Verifying Checksum 15:10:07 96526aa774ef: Download complete 15:10:07 96526aa774ef: Pull complete 15:10:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:10:07 Status: Downloaded newer image for alpine:3.18 15:10:07 ---> 8ca4688f4f35 15:10:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:10:07 ---> Running in 3604f5e38324 15:10:07 Removing intermediate container 3604f5e38324 15:10:07 ---> 456f3a8059cf 15:10:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:10:07 ---> Running in 77e81703af4e 15:10:07 Removing intermediate container 77e81703af4e 15:10:07 ---> 14afee4cafd1 15:10:07 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:10:08 ---> Running in a7b06cf458a3 15:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:10:08 (1/1) Installing dumb-init (1.2.5-r2) 15:10:08 Executing busybox-1.36.1-r2.trigger 15:10:08 OK: 7 MiB in 16 packages 15:10:08 Removing intermediate container a7b06cf458a3 15:10:08 ---> 838e13c6270d 15:10:08 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:10:09 ---> 334a6780f2de 15:10:09 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:10:10 ---> dc39e268f632 15:10:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:10:10 ---> dd022fd5cbd8 15:10:10 Step 20/25 : EXPOSE 59986 15:10:10 ---> Running in fd9131aa28f9 15:10:10 Removing intermediate container fd9131aa28f9 15:10:10 ---> 4adabcf1cfab 15:10:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:10:10 ---> Running in ec1ae1f072fa 15:10:10 Removing intermediate container ec1ae1f072fa 15:10:10 ---> 1a06d1e426ba 15:10:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:10:10 ---> Running in e828b19d5491 15:10:10 Removing intermediate container e828b19d5491 15:10:10 ---> a83e7031bdec 15:10:10 Step 23/25 : LABEL arch=amd64 15:10:10 ---> Running in f6a8da5a018d 15:10:10 Removing intermediate container f6a8da5a018d 15:10:10 ---> a349293b49ef 15:10:10 Step 24/25 : LABEL git_sha=018725e2cf3a37f129e14db8ddb6d65982358895 15:10:10 ---> Running in e6b668821887 15:10:10 Removing intermediate container e6b668821887 15:10:10 ---> b229ea0a3fac 15:10:10 Step 25/25 : LABEL version=0.0.0 15:10:10 ---> Running in ab4b022d60c7 15:10:10 Removing intermediate container ab4b022d60c7 15:10:10 ---> 78b818493da1 15:10:10 [Warning] One or more build-args [ARCH] were not consumed 15:10:10 Successfully built 78b818493da1 15:10:10 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:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:11 15:10:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:11 latest: Pulling from edgex-lftools-log-publisher 15:10:11 5eb5b503b376: Pulling fs layer 15:10:11 5c69ac0246d0: Pulling fs layer 15:10:11 ec43610c2a17: Pulling fs layer 15:10:11 3a2ae6a8a46f: Pulling fs layer 15:10:11 33b1e0a273af: Pulling fs layer 15:10:11 5d3b04190fa2: Pulling fs layer 15:10:11 2f39f015ded8: Pulling fs layer 15:10:11 3a2ae6a8a46f: Waiting 15:10:11 33b1e0a273af: Waiting 15:10:11 5d3b04190fa2: Waiting 15:10:11 2f39f015ded8: Waiting 15:10:11 5c69ac0246d0: Verifying Checksum 15:10:11 5c69ac0246d0: Download complete 15:10:11 3a2ae6a8a46f: Verifying Checksum 15:10:11 3a2ae6a8a46f: Download complete 15:10:11 33b1e0a273af: Verifying Checksum 15:10:11 33b1e0a273af: Download complete 15:10:11 5d3b04190fa2: Verifying Checksum 15:10:11 5d3b04190fa2: Download complete 15:10:11 ec43610c2a17: Verifying Checksum 15:10:11 ec43610c2a17: Download complete 15:10:11 5eb5b503b376: Verifying Checksum 15:10:11 5eb5b503b376: Download complete 15:10:12 2f39f015ded8: Download complete 15:10:13 5eb5b503b376: Pull complete 15:10:13 5c69ac0246d0: Pull complete 15:10:13 ec43610c2a17: Pull complete 15:10:13 3a2ae6a8a46f: Pull complete 15:10:14 33b1e0a273af: Pull complete 15:10:14 5d3b04190fa2: Pull complete 15:10:19 2f39f015ded8: Pull complete 15:10:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:10:19 prd-ubuntu20.04-docker-8c-8g-17207 does not seem to be running inside a container 15:10:19 $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:10:25 $ docker top 83e8f0159a2ac266214c9a30d73937a4fcccf27f183f2f5724469ff0a1a3c179 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 15:10:25 provisioning config files... 15:10:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7994436476276838234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:26 ---> job-cost.sh 15:10:26 lf-activate-venv: SKIPPING 15:10:26 INFO: No Stack... 15:10:26 ---> docker-login.sh 15:10:26 nexus3.edgexfoundry.org:10001 15:10:26 INFO: Retrieving Pricing Info for: v3-standard-8 15:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:26 Configure a credential helper to remove this warning. See 15:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:26 15:10:26 Login Succeeded 15:10:26 nexus3.edgexfoundry.org:10002 15:10:27 INFO: Archiving Costs [Pipeline] sh 15:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:27 + cut -d, -f6 15:10:27 + cat /w/workspace/gexfoundry_device-rest-go_PR-363/archives/cost.csv [Pipeline] lock 15:10:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] 15:10:27 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] did not exist. Created. 15:10:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:27 Configure a credential helper to remove this warning. See 15:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:27 15:10:27 Login Succeeded 15:10:27 nexus3.edgexfoundry.org:10003 15:10:27 + echo total: 0.2199999988079071 [Pipeline] stash 15:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:27 Configure a credential helper to remove this warning. See 15:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:27 15:10:27 Login Succeeded 15:10:27 nexus3.edgexfoundry.org:10004 15:10:27 Stashed 1 file(s) [Pipeline] } 15:10:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:10:27 $ docker stop --time=1 83e8f0159a2ac266214c9a30d73937a4fcccf27f183f2f5724469ff0a1a3c179 15:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:27 Configure a credential helper to remove this warning. See 15:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:27 15:10:27 Login Succeeded 15:10:27 docker.io 15:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:28 Configure a credential helper to remove this warning. See 15:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:28 15:10:28 Login Succeeded 15:10:28 ---> docker-login.sh ends 15:10:29 $ docker rm -f --volumes 83e8f0159a2ac266214c9a30d73937a4fcccf27f183f2f5724469ff0a1a3c179 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 15:10:29 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 15:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:10:29 ========================================================= 15:10:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:10:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:29 + 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:10:29 Sending build context to Docker daemon 127.5kB 15:10:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:10:29 Step 2/12 : FROM ${BASE} AS builder 15:10:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:10:29 9fda8d8052c6: Pulling fs layer 15:10:29 5d54e960e981: Pulling fs layer 15:10:29 c4a7e357bf2a: Pulling fs layer 15:10:29 f0e02332f6b5: Pulling fs layer 15:10:29 cefa15bbcfad: Pulling fs layer 15:10:29 17808c966233: Pulling fs layer 15:10:29 f4c1fc716caa: Pulling fs layer 15:10:29 f0e02332f6b5: Waiting 15:10:29 cefa15bbcfad: Waiting 15:10:29 17808c966233: Waiting 15:10:29 f4c1fc716caa: Waiting 15:10:30 5d54e960e981: Verifying Checksum 15:10:30 5d54e960e981: Download complete 15:10:30 f0e02332f6b5: Verifying Checksum 15:10:30 f0e02332f6b5: Download complete 15:10:30 cefa15bbcfad: Verifying Checksum 15:10:30 cefa15bbcfad: Download complete 15:10:30 9fda8d8052c6: Verifying Checksum 15:10:30 9fda8d8052c6: Download complete 15:10:30 f4c1fc716caa: Verifying Checksum 15:10:30 f4c1fc716caa: Download complete 15:10:31 9fda8d8052c6: Pull complete 15:10:31 5d54e960e981: Pull complete 15:10:31 c4a7e357bf2a: Verifying Checksum 15:10:31 c4a7e357bf2a: Download complete 15:10:32 17808c966233: Verifying Checksum 15:10:32 17808c966233: Download complete 15:10:45 c4a7e357bf2a: Pull complete 15:10:45 f0e02332f6b5: Pull complete 15:10:45 cefa15bbcfad: Pull complete 15:10:51 17808c966233: Pull complete 15:10:52 f4c1fc716caa: Pull complete 15:10:53 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:10:53 ---> ea914061e18c 15:10:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:10:54 ---> Running in b72ffce6c380 15:10:54 Removing intermediate container b72ffce6c380 15:10:54 ---> 15de7e9ccdee 15:10:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:10:54 ---> Running in 888e5614999c 15:10:54 Removing intermediate container 888e5614999c 15:10:54 ---> c0d88add8ed7 15:10:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:10:54 ---> Running in f16c8df06cbe 15:10:54 Removing intermediate container f16c8df06cbe 15:10:54 ---> a437d01aac92 15:10:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:10:55 ---> Running in f76ebe7707f4 15:10:55 Removing intermediate container f76ebe7707f4 15:10:55 ---> 7f087a2f6e98 15:10:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:10:55 ---> Running in 6f0e0d32e08c 15:10:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:10:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:10:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:10:58 (2/4) Installing libedit (20221030.3.1-r1) 15:10:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:10:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:10:58 Executing busybox-1.36.1-r2.trigger 15:10:58 OK: 270 MiB in 56 packages 15:10:59 Removing intermediate container 6f0e0d32e08c 15:10:59 ---> a511c06f90df 15:10:59 Step 8/12 : WORKDIR /device-rest-go 15:10:59 ---> Running in ffec6c8f9613 15:10:59 Removing intermediate container ffec6c8f9613 15:10:59 ---> 6fda7918ae6f 15:10:59 Step 9/12 : COPY go.mod vendor* ./ 15:11:00 ---> e4c1a1effaa4 15:11:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:11:00 ---> Running in 5d2229a9ac1c 15:12:21 Removing intermediate container 5d2229a9ac1c 15:12:21 ---> 8b1df315e3b8 15:12:21 Step 11/12 : COPY . . 15:12:21 ---> 57b53a54e237 15:12:21 Step 12/12 : RUN $MAKE 15:12:21 ---> Running in 810f12d87182 15:12:21 noop 15:12:21 Removing intermediate container 810f12d87182 15:12:21 ---> d6d89d7252a6 15:12:21 Successfully built d6d89d7252a6 15:12:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:22 + docker inspect -f . ci-base-image-arm64 15:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:22 prd-ubuntu20.04-docker-arm64-4c-16g-17208 does not seem to be running inside a container 15:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:23 $ docker top 00fde6eb37ea433f847dbd5657449466d99210d100e17a7d6a7a6d4304178944 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:24 + go version 15:12:24 go version go1.21.0 linux/arm64 [Pipeline] } 15:12:24 $ docker stop --time=1 00fde6eb37ea433f847dbd5657449466d99210d100e17a7d6a7a6d4304178944 15:12:26 $ docker rm -f --volumes 00fde6eb37ea433f847dbd5657449466d99210d100e17a7d6a7a6d4304178944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:26 + docker inspect -f . ci-base-image-arm64 15:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:26 prd-ubuntu20.04-docker-arm64-4c-16g-17208 does not seem to be running inside a container 15:12:26 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:31 $ docker top f3d3060068ff2b77e9b5516c8f18a697b35e0c0b998206f393262283540665cb -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:31 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 15:12:32 + make test 15:12:32 go test ./... -coverprofile=coverage.out ./... 15:12:36 ? github.com/edgexfoundry/device-rest-go [no test files] 15:14:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:14:13 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 15:14:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:14:13 go vet ./... 15:14:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:14:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:14:31 ./bin/test-attribution-txt.sh [Pipeline] echo 15:14:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:14:31 $ docker stop --time=1 f3d3060068ff2b77e9b5516c8f18a697b35e0c0b998206f393262283540665cb 15:14:33 $ docker rm -f --volumes f3d3060068ff2b77e9b5516c8f18a697b35e0c0b998206f393262283540665cb [Pipeline] // withDockerContainer [Pipeline] sh 15:14:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:35 Warning: overwriting stash ‘coverage-report’ 15:14:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:36 + ls -al . 15:14:36 total 176 15:14:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:12 . 15:14:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:09 .. 15:14:36 -rw-rw-r-- 1 jenkins jenkins 151 Nov 10 15:09 .dockerignore 15:14:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:09 .git 15:14:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:09 .github 15:14:36 -rw-rw-r-- 1 jenkins jenkins 264 Nov 10 15:09 .gitignore 15:14:36 -rw-rw-r-- 1 jenkins jenkins 41 Nov 10 15:09 .golangci.yml 15:14:36 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 10 15:09 Attribution.txt 15:14:36 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 10 15:09 CHANGELOG.md 15:14:36 -rw-rw-r-- 1 jenkins jenkins 1578 Nov 10 15:09 Dockerfile 15:14:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 15:09 GOVERNANCE.md 15:14:36 -rw-rw-r-- 1 jenkins jenkins 680 Nov 10 15:09 Jenkinsfile 15:14:36 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 10 15:09 LICENSE 15:14:36 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 10 15:09 Makefile 15:14:36 -rw-rw-r-- 1 jenkins jenkins 620 Nov 10 15:09 OWNERS.md 15:14:36 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 10 15:09 README.md 15:14:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 15:07 VERSION 15:14:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:09 bin 15:14:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:09 cmd 15:14:36 -rw-r--r-- 1 jenkins jenkins 14499 Nov 10 15:14 coverage.out 15:14:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:09 driver 15:14:36 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 10 15:09 go.mod 15:14:36 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 10 15:09 go.sum 15:14:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:09 openapi 15:14:36 -rw-rw-r-- 1 jenkins jenkins 713 Nov 10 15:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:36 + 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=76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 --label arch=arm64 --label version=0.0.0 . 15:14:36 Sending build context to Docker daemon 142.8kB 15:14:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:14:36 Step 2/25 : FROM ${BASE} AS builder 15:14:36 ---> d6d89d7252a6 15:14:36 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:14:37 ---> Running in fa6f7655cf1f 15:14:37 Removing intermediate container fa6f7655cf1f 15:14:37 ---> 886bb36a9ae5 15:14:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:14:37 ---> Running in 16b386fc292f 15:14:37 Removing intermediate container 16b386fc292f 15:14:37 ---> 58cc7ce13312 15:14:37 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:14:37 ---> Running in 89353170d4ec 15:14:38 Removing intermediate container 89353170d4ec 15:14:38 ---> 9afc5b22bd6e 15:14:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:14:38 ---> Running in bab3b9617ce1 15:14:38 Removing intermediate container bab3b9617ce1 15:14:38 ---> 7d51fb6293ea 15:14:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:14:38 ---> Running in be0ba1757968 15:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:14:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:14:41 OK: 270 MiB in 56 packages 15:14:42 Removing intermediate container be0ba1757968 15:14:42 ---> fff88685b8be 15:14:42 Step 8/25 : WORKDIR /device-rest-go 15:14:42 ---> Running in d010a744892e 15:14:42 Removing intermediate container d010a744892e 15:14:42 ---> 240969b861c2 15:14:42 Step 9/25 : COPY go.mod vendor* ./ 15:14:43 ---> 02823d4ea2ef 15:14:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:43 ---> Running in f0b39705b18e 15:14:45 Removing intermediate container f0b39705b18e 15:14:45 ---> e2f7452a083b 15:14:45 Step 11/25 : COPY . . 15:14:45 ---> f1f6fbb76c5a 15:14:45 Step 12/25 : RUN $MAKE 15:14:45 ---> Running in 0c383ba6fad6 15:14:46 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:16:38 Removing intermediate container 0c383ba6fad6 15:16:38 ---> cc18705a25d8 15:16:38 Step 13/25 : FROM alpine:3.18 15:16:38 3.18: Pulling from library/alpine 15:16:38 579b34f0a95b: Pulling fs layer 15:16:38 579b34f0a95b: Verifying Checksum 15:16:38 579b34f0a95b: Download complete 15:16:38 579b34f0a95b: Pull complete 15:16:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:16:38 Status: Downloaded newer image for alpine:3.18 15:16:38 ---> 3cc203321400 15:16:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:16:38 ---> Running in 5cba1729ca1b 15:16:38 Removing intermediate container 5cba1729ca1b 15:16:38 ---> a70e0be2bdf7 15:16:38 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:16:38 ---> Running in 24ddc98c243d 15:16:38 Removing intermediate container 24ddc98c243d 15:16:38 ---> 324463865d6e 15:16:38 Step 16/25 : RUN apk add --update --no-cache dumb-init 15:16:38 ---> Running in a09920e19923 15:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:16:41 (1/1) Installing dumb-init (1.2.5-r2) 15:16:41 Executing busybox-1.36.1-r2.trigger 15:16:41 OK: 8 MiB in 16 packages 15:16:42 Removing intermediate container a09920e19923 15:16:42 ---> ff143d08db1c 15:16:42 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:16:43 ---> dc1f561e9164 15:16:43 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:16:43 ---> 8c8ff758fc72 15:16:43 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:16:49 ---> eccdfc4f108f 15:16:49 Step 20/25 : EXPOSE 59986 15:16:49 ---> Running in 1b5bc161871b 15:16:49 Removing intermediate container 1b5bc161871b 15:16:49 ---> b2e6991e2a2e 15:16:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:16:49 ---> Running in 44465d6260e8 15:16:49 Removing intermediate container 44465d6260e8 15:16:49 ---> 71891d79a6b3 15:16:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 15:16:49 ---> Running in a796e50d4fb1 15:16:49 Removing intermediate container a796e50d4fb1 15:16:49 ---> e9c0df159765 15:16:49 Step 23/25 : LABEL arch=arm64 15:16:49 ---> Running in 3bfd1366341c 15:16:49 Removing intermediate container 3bfd1366341c 15:16:49 ---> 90ae71b09fe0 15:16:49 Step 24/25 : LABEL git_sha=76ef5e3c30faf6b1f5eed8668e2e1f141e93a277 15:16:49 ---> Running in 7c1dcb3ebc8e 15:16:49 Removing intermediate container 7c1dcb3ebc8e 15:16:49 ---> 1e749b224de2 15:16:49 Step 25/25 : LABEL version=0.0.0 15:16:49 ---> Running in 36f985ff7c89 15:16:50 Removing intermediate container 36f985ff7c89 15:16:50 ---> d4a1cae90407 15:16:50 [Warning] One or more build-args [ARCH] were not consumed 15:16:50 Successfully built d4a1cae90407 15:16:50 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:16:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:50 15:16:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:51 arm64: Pulling from edgex-lftools-log-publisher 15:16:51 8998bd30e6a1: Pulling fs layer 15:16:51 04944245beec: Pulling fs layer 15:16:51 699f458cf7ca: Pulling fs layer 15:16:51 765212b225bb: Pulling fs layer 15:16:51 f23df028b6ca: Pulling fs layer 15:16:51 d65c8cfc05b1: Pulling fs layer 15:16:51 2437ff75d9bd: Pulling fs layer 15:16:51 f23df028b6ca: Waiting 15:16:51 d65c8cfc05b1: Waiting 15:16:51 2437ff75d9bd: Waiting 15:16:51 765212b225bb: Waiting 15:16:51 04944245beec: Verifying Checksum 15:16:51 04944245beec: Download complete 15:16:51 765212b225bb: Verifying Checksum 15:16:51 765212b225bb: Download complete 15:16:51 f23df028b6ca: Verifying Checksum 15:16:51 f23df028b6ca: Download complete 15:16:51 d65c8cfc05b1: Download complete 15:16:51 699f458cf7ca: Verifying Checksum 15:16:51 699f458cf7ca: Download complete 15:16:51 8998bd30e6a1: Verifying Checksum 15:16:51 8998bd30e6a1: Download complete 15:16:54 2437ff75d9bd: Verifying Checksum 15:16:54 2437ff75d9bd: Download complete 15:16:56 8998bd30e6a1: Pull complete 15:16:57 04944245beec: Pull complete 15:16:58 699f458cf7ca: Pull complete 15:16:58 765212b225bb: Pull complete 15:16:59 f23df028b6ca: Pull complete 15:16:59 d65c8cfc05b1: Pull complete 15:17:18 2437ff75d9bd: Pull complete 15:17:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:17:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:17:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:18 prd-ubuntu20.04-docker-arm64-4c-16g-17208 does not seem to be running inside a container 15:17:18 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:17:20 $ docker top 0878c9115234580f60f363d941886de4f6345b8ee25eae622641878a4028a695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:21 ---> job-cost.sh 15:17:21 lf-activate-venv: SKIPPING 15:17:21 INFO: No Stack... 15:17:22 INFO: Retrieving Pricing Info for: v3-standard-4 15:17:23 INFO: Archiving Costs [Pipeline] sh 15:17:23 + cat /w/workspace/device-rest-go/3/archives/cost.csv 15:17:23 + cut -d, -f6 [Pipeline] lock 15:17:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] 15:17:23 Resource [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] did not exist. Created. 15:17:23 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:24 /w/workspace/device-rest-go/3@tmp/durable-e56ed3b8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:17:24 + echo total: 0.10999999940395355 [Pipeline] stash 15:17:24 Warning: overwriting stash ‘stack-cost’ 15:17:24 Stashed 1 file(s) [Pipeline] } 15:17:24 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:17:24 $ docker stop --time=1 0878c9115234580f60f363d941886de4f6345b8ee25eae622641878a4028a695 15:17:26 $ docker rm -f --volumes 0878c9115234580f60f363d941886de4f6345b8ee25eae622641878a4028a695 [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:17:26 provisioning config files... 15:17:26 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config620164298745421204tmp [Pipeline] { [Pipeline] sh 15:17:26 + set +x 15:17:26 + curl -s https://codecov.io/bash 15:17:26 + bash -s -- 15:17:26 15:17:26 _____ _ 15:17:26 / ____| | | 15:17:26 | | ___ __| | ___ ___ _____ __ 15:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 15:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 15:17:26 Bash-1.0.6 15:17:26 15:17:26 15:17:26 ==> git version 2.25.1 found 15:17:26 ==> 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:17:26 Release-Date: 2020-01-08 15:17:26 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:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:17:26 ==> Jenkins CI detected. 15:17:26 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-363 15:17:26 project root: . 15:17:26 --> token set from env 15:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:17:26 ==> Running gcov in . (disable via -X gcov) 15:17:26 ==> Python coveragepy not found 15:17:26 ==> Searching for coverage reports in: 15:17:26 + . 15:17:26 -> Found 1 reports 15:17:26 ==> Detecting git/mercurial file structure 15:17:26 ==> Reading reports 15:17:27 + ./coverage.out bytes=14499 15:17:27 ==> Appending adjustments 15:17:27 https://docs.codecov.io/docs/fixing-reports 15:17:27 + Found adjustments 15:17:27 ==> Gzipping contents 15:17:27 4.0K /tmp/codecov.CYRAj1.gz 15:17:27 ==> Uploading reports 15:17:27 url: https://codecov.io 15:17:27 query: branch=PR-363&commit=018725e2cf3a37f129e14db8ddb6d65982358895&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 15:17:27 -> Pinging Codecov 15:17:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-363&commit=018725e2cf3a37f129e14db8ddb6d65982358895&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= 15:17:27 -> Uploading to 15:17:27 https://storage.googleapis.com/codecov/v4/raw/2023-11-10/4E5D53B4F1F92C436F7061BF334D961C/018725e2cf3a37f129e14db8ddb6d65982358895/d75e0030-c024-4edd-9d91-d80a83565fc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231110T151727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c59004afcc02842b4df489f4ad24c5c900805954da276069bf459d132339cc3 15:17:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:27 Dload Upload Total Spent Left Speed 15:17:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8087 --:--:-- --:--:-- --:--:-- 8059 15:17:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/018725e2cf3a37f129e14db8ddb6d65982358895 [Pipeline] } 15:17:27 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:17:28 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-363/archives ] 15:17:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 15:17:28 total 16 15:17:28 drwxr-xr-x 3 root root 4096 Nov 10 15:10 . 15:17:28 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 15:10 .. 15:17:28 drwxr-xr-x 2 root root 4096 Nov 10 15:10 cost 15:17:28 -rw-r--r-- 1 root root 86 Nov 10 15:10 cost.csv 15:17:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-363/archives 15:17:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives 15:17:28 total 16 15:17:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 15:10 . 15:17:28 drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 15:10 .. 15:17:28 drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 15:10 cost 15:17:28 -rw-r--r-- 1 jenkins jenkins 86 Nov 10 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:17:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:17:29 ---> package-listing.sh 15:17:29 ++ facter osfamily 15:17:29 ++ tr '[:upper:]' '[:lower:]' 15:17:29 + OS_FAMILY=debian 15:17:29 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-363 15:17:29 + START_PACKAGES=/tmp/packages_start.txt 15:17:29 + END_PACKAGES=/tmp/packages_end.txt 15:17:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:17:29 + PACKAGES=/tmp/packages_start.txt 15:17:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 15:17:29 + PACKAGES=/tmp/packages_end.txt 15:17:29 + case "${OS_FAMILY}" in 15:17:29 + dpkg -l 15:17:29 + grep '^ii' 15:17:29 + '[' -f /tmp/packages_start.txt ']' 15:17:29 + '[' -f /tmp/packages_end.txt ']' 15:17:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:17:29 + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' 15:17:29 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ 15:17:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [Pipeline] echo 15:17:29 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:17:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:30 prd-ubuntu20.04-docker-8c-8g-17207 does not seem to be running inside a container 15:17:30 $ 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-363/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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:17:31 $ docker top b22730d7c44b729ec5cda9e10dad139b7d6d3306fd88e2371f3b0be99d515b3a -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:32 + touch /tmp/pre-build-complete [Pipeline] sh 15:17:32 + mkdir -p /var/log/sysstat [Pipeline] sh 15:17:32 + ls /var/log/sa-host 15:17:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:32 provisioning config files... 15:17:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config4894342828089215080tmp [Pipeline] { [Pipeline] echo 15:17:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:17:33 ---> create-netrc.sh [Pipeline] } 15:17:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:17:33 ---> python-tools-install.sh [Pipeline] echo 15:17:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:17:33 ---> sudo-logs.sh 15:17:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:17:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:17:34 ---> job-cost.sh 15:17:34 lf-activate-venv: SKIPPING 15:17:34 DEBUG: total: 0.2199999988079071 15:17:34 INFO: Retrieving Stack Cost... 15:17:34 INFO: Retrieving Pricing Info for: v3-standard-8 15:17:34 INFO: Archiving Costs [Pipeline] echo 15:17:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:17:35 ---> logs-deploy.sh 15:17:35 lf-activate-venv: SKIPPING 15:17:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-363/3 15:17:35 INFO: archiving workspace using pattern(s): 15:17:36 Archives upload complete. 15:17:36 INFO: archiving logs to Nexus 15:17:36 ---> uname -a: 15:17:36 Linux prd-ubuntu20-04-docker-8c-8g-17207 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:17:36 15:17:36