Pull request #322 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b00035346f56b58fcb1c3fdb42ad9ae55625437f+38c1608d3c74a3eb2d9b4ab71433628bddf7df5d (3f5bc1a5c6d00ece358e7571d26ce2e373e97973) 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-ssh1569942760044732662.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9989345904915636098.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-322/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-322/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10200301763730305893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh2324496842363245881.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-322/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-322/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4699771433630725691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16824’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16827’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16837’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16838’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16848’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16850’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16851’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16852’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16855 in /w/workspace/gexfoundry_device-rest-go_PR-322 [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-322 # 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 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit b00035346f56b58fcb1c3fdb42ad9ae55625437f Merge succeeded, producing b00035346f56b58fcb1c3fdb42ad9ae55625437f Checking out Revision b00035346f56b58fcb1c3fdb42ad9ae55625437f (PR-322) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. > 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/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # 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 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 > git rev-list --no-walk 4ed9423eb4504b440d4b21ce1a3c5743f3b0cff2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:14:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:14:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:14:37 ========================================================= 00:14:37 EdgeX Global Pipelines Version Info 00:14:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:14:37 ------------------- 00:14:37 stable info: 00:14:37 ------------------- 00:14:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:14:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:14:37 Message: update stable to v1.0.249 00:14:38 ------------------- 00:14:38 experimental info: 00:14:38 ------------------- 00:14:38 Commited By: **** collab-it+edgex@linuxfoundation.org 00:14:38 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:14:38 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-322 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-322 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-322 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b000353 [Pipeline] echo 00:14:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:14:39 provisioning config files... 00:14:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config1982255687610271856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:39 ---> docker-login.sh 00:14:39 nexus3.edgexfoundry.org:10001 00:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:39 Configure a credential helper to remove this warning. See 00:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:39 00:14:39 Login Succeeded 00:14:39 nexus3.edgexfoundry.org:10002 00:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:39 Configure a credential helper to remove this warning. See 00:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:39 00:14:39 Login Succeeded 00:14:39 nexus3.edgexfoundry.org:10003 00:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:39 Configure a credential helper to remove this warning. See 00:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:39 00:14:39 Login Succeeded 00:14:39 nexus3.edgexfoundry.org:10004 00:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:39 Configure a credential helper to remove this warning. See 00:14:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:39 00:14:39 Login Succeeded 00:14:39 docker.io 00:14:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:40 Configure a credential helper to remove this warning. See 00:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:40 00:14:40 Login Succeeded 00:14:40 ---> docker-login.sh ends [Pipeline] } 00:14:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:14:40 + git rev-list -1 --merges b00035346f56b58fcb1c3fdb42ad9ae55625437f~1..b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo 00:14:40 -----------> git rev-list -1 --merges b00035346f56b58fcb1c3fdb42ad9ae55625437f~1..b00035346f56b58fcb1c3fdb42ad9ae55625437f b00035346f56b58fcb1c3fdb42ad9ae55625437f [false] [Pipeline] sh 00:14:40 + git log --format=format:%s -1 b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo 00:14:40 ========================================================= 00:14:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:14:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:14:41 + git log --format=format:%s -1 b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] echo 00:14:41 [semverPrep] GIT_COMMIT: b00035346f56b58fcb1c3fdb42ad9ae55625437f, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 00:14:41 [semverPrep] This is not a build commit. [Pipeline] sh 00:14:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:14:41 + grep -v github /etc/ssh/ssh_known_hosts 00:14:41 + [ -e /tmp/ssh_known_hosts ] 00:14:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:14:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:14:41 sudo tee -a /etc/ssh/ssh_known_hosts 00:14:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:41 00:14:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:42 0.1.4: Pulling from edgex-devops/py-git-semver 00:14:42 b85a868b505f: Pulling fs layer 00:14:42 e2be974225ed: Pulling fs layer 00:14:42 339a4e72a1f5: Pulling fs layer 00:14:42 988bab9f4d93: Pulling fs layer 00:14:42 1469e6f7b9e6: Pulling fs layer 00:14:42 eaf3925da568: Pulling fs layer 00:14:42 bab4dde63d76: Pulling fs layer 00:14:42 bde34c3a00c8: Pulling fs layer 00:14:42 b352a97aabf1: Pulling fs layer 00:14:42 4872d77fe225: Pulling fs layer 00:14:42 5851b861e8e6: Pulling fs layer 00:14:42 bab4dde63d76: Waiting 00:14:42 bde34c3a00c8: Waiting 00:14:42 988bab9f4d93: Waiting 00:14:42 1469e6f7b9e6: Waiting 00:14:42 b352a97aabf1: Waiting 00:14:42 5851b861e8e6: Waiting 00:14:42 4872d77fe225: Waiting 00:14:42 e2be974225ed: Download complete 00:14:42 988bab9f4d93: Verifying Checksum 00:14:42 988bab9f4d93: Download complete 00:14:42 1469e6f7b9e6: Verifying Checksum 00:14:42 1469e6f7b9e6: Download complete 00:14:42 339a4e72a1f5: Verifying Checksum 00:14:42 339a4e72a1f5: Download complete 00:14:42 eaf3925da568: Verifying Checksum 00:14:42 eaf3925da568: Download complete 00:14:42 bde34c3a00c8: Verifying Checksum 00:14:42 bde34c3a00c8: Download complete 00:14:42 b352a97aabf1: Verifying Checksum 00:14:42 b352a97aabf1: Download complete 00:14:42 4872d77fe225: Verifying Checksum 00:14:42 4872d77fe225: Download complete 00:14:42 5851b861e8e6: Download complete 00:14:42 b85a868b505f: Verifying Checksum 00:14:42 b85a868b505f: Download complete 00:14:42 bab4dde63d76: Verifying Checksum 00:14:42 bab4dde63d76: Download complete 00:14:43 b85a868b505f: Pull complete 00:14:43 e2be974225ed: Pull complete 00:14:44 339a4e72a1f5: Pull complete 00:14:44 988bab9f4d93: Pull complete 00:14:44 1469e6f7b9e6: Pull complete 00:14:44 eaf3925da568: Pull complete 00:14:46 bab4dde63d76: Pull complete 00:14:46 bde34c3a00c8: Pull complete 00:14:46 b352a97aabf1: Pull complete 00:14:46 4872d77fe225: Pull complete 00:14:46 5851b861e8e6: Pull complete 00:14:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:14:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:14:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:46 prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container 00:14:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:14:49 $ docker top 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 -eo pid,comm 00:14:49 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). 00:14:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:14:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:49 [ssh-agent] Looking for ssh-agent implementation... 00:14:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:49 $ docker exec 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent 00:14:49 SSH_AUTH_SOCK=/tmp/ssh-brcNXsPisWBc/agent.33 00:14:49 SSH_AGENT_PID=39 00:14:49 Running ssh-add (command line suppressed) 00:14:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3708871962814801630.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3708871962814801630.key) 00:14:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:50 + git tag --points-at HEAD [Pipeline] } 00:14:50 $ docker exec --env ******** --env ******** 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent -k 00:14:50 unset SSH_AUTH_SOCK; 00:14:50 unset SSH_AGENT_PID; 00:14:50 echo Agent pid 39 killed; 00:14:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:14:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:14:50 [ssh-agent] Looking for ssh-agent implementation... 00:14:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:14:50 $ docker exec 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent 00:14:50 SSH_AUTH_SOCK=/tmp/ssh-ymKNiUoJT6hu/agent.71 00:14:50 SSH_AGENT_PID=77 00:14:50 Running ssh-add (command line suppressed) 00:14:50 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3814738552367164234.key (/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/private_key_3814738552367164234.key) 00:14:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:14:51 + git semver init 00:14:51 2023-05-25 00:14:51,281 [run_init] DEBUG init version:0.0.0 force:False 00:14:51 2023-05-25 00:14:51,282 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver 00:14:51 2023-05-25 00:14:51,282 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-322/.semver 00:14:51 2023-05-25 00:14:51,283 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-322/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322, universal_newlines=False, shell=None, istream=None) 00:14:52 2023-05-25 00:14:52,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.git/info/exclude 00:14:52 2023-05-25 00:14:52,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 with force:False 00:14:52 2023-05-25 00:14:52,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 00:14:52 2023-05-25 00:14:52,374 [execute] INFO git cat-file --batch-check 00:14:52 2023-05-25 00:14:52,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 00:14:52 2023-05-25 00:14:52,379 [execute] INFO git cat-file --batch 00:14:52 2023-05-25 00:14:52,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-322/.semver, universal_newlines=False, shell=None, istream=) 00:14:52 2023-05-25 00:14:52,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-322/.semver/PR-322 00:14:52 0.0.0 [Pipeline] } 00:14:52 $ docker exec --env ******** --env ******** 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 ssh-agent -k 00:14:52 unset SSH_AUTH_SOCK; 00:14:52 unset SSH_AGENT_PID; 00:14:52 echo Agent pid 77 killed; 00:14:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:14:53 + git semver [Pipeline] } 00:14:53 $ docker stop --time=1 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 00:14:54 $ docker rm -f --volumes 4c3db51eaa618d5436cf8be33ef5abde0243a69a19c5b83e564a5a71e7ead993 [Pipeline] // withDockerContainer [Pipeline] sh 00:14:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:14:55 Stashed 1 file(s) [Pipeline] echo 00:14:55 [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 00:14:55 provisioning config files... 00:14:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config16564815849771700487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:14:55 ---> docker-login.sh 00:14:55 nexus3.edgexfoundry.org:10001 00:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:55 Configure a credential helper to remove this warning. See 00:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:55 00:14:55 Login Succeeded 00:14:55 nexus3.edgexfoundry.org:10002 00:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:55 Configure a credential helper to remove this warning. See 00:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:55 00:14:55 Login Succeeded 00:14:55 nexus3.edgexfoundry.org:10003 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:56 Configure a credential helper to remove this warning. See 00:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:56 00:14:56 Login Succeeded 00:14:56 nexus3.edgexfoundry.org:10004 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:56 Configure a credential helper to remove this warning. See 00:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:56 00:14:56 Login Succeeded 00:14:56 docker.io 00:14:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:14:56 Configure a credential helper to remove this warning. See 00:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:14:56 00:14:56 Login Succeeded 00:14:56 ---> docker-login.sh ends [Pipeline] } 00:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:14:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:14:56 ========================================================= 00:14:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:14:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:14:56 Sending build context to Docker daemon 10.94MB 00:14:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:14:56 Step 2/12 : FROM ${BASE} AS builder 00:14:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:14:56 f56be85fc22e: Pulling fs layer 00:14:56 85791d961cd3: Pulling fs layer 00:14:56 d694b5ae8c79: Pulling fs layer 00:14:56 9f32a84ed3da: Pulling fs layer 00:14:56 4d19c01a9841: Pulling fs layer 00:14:56 9325e15d5711: Pulling fs layer 00:14:56 556b6ee489ea: Pulling fs layer 00:14:56 c5a4b2cf53e6: Pulling fs layer 00:14:56 9f32a84ed3da: Waiting 00:14:56 556b6ee489ea: Waiting 00:14:56 4d19c01a9841: Waiting 00:14:56 9325e15d5711: Waiting 00:14:56 c5a4b2cf53e6: Waiting 00:14:56 85791d961cd3: Verifying Checksum 00:14:56 85791d961cd3: Download complete 00:14:56 9f32a84ed3da: Verifying Checksum 00:14:56 9f32a84ed3da: Download complete 00:14:56 4d19c01a9841: Verifying Checksum 00:14:56 4d19c01a9841: Download complete 00:14:56 f56be85fc22e: Download complete 00:14:56 9325e15d5711: Verifying Checksum 00:14:56 9325e15d5711: Download complete 00:14:56 f56be85fc22e: Pull complete 00:14:57 85791d961cd3: Pull complete 00:14:57 c5a4b2cf53e6: Verifying Checksum 00:14:57 c5a4b2cf53e6: Download complete 00:14:57 d694b5ae8c79: Verifying Checksum 00:14:57 d694b5ae8c79: Download complete 00:14:57 556b6ee489ea: Verifying Checksum 00:14:57 556b6ee489ea: Download complete 00:15:01 d694b5ae8c79: Pull complete 00:15:01 9f32a84ed3da: Pull complete 00:15:01 4d19c01a9841: Pull complete 00:15:01 9325e15d5711: Pull complete 00:15:02 556b6ee489ea: Pull complete 00:15:03 c5a4b2cf53e6: Pull complete 00:15:03 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:15:03 ---> c4be618373d6 00:15:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:15:10 Still waiting to schedule task 00:15:10 ‘prd-centos7-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16824’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16827’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16828’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16830’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16837’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16848’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16850’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16851’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16852’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16856’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-8c-8g-16857’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ is offline 00:15:10 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16854’ is offline 00:15:10 ---> Running in 47d4d087f1e1 00:15:10 Removing intermediate container 47d4d087f1e1 00:15:10 ---> 3a40f0276bd7 00:15:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:10 ---> Running in f51ea5e850fb 00:15:10 Removing intermediate container f51ea5e850fb 00:15:10 ---> b4b43fa6b8f6 00:15:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:15:10 ---> Running in b05250504ac9 00:15:10 Removing intermediate container b05250504ac9 00:15:10 ---> aa83b0fc985d 00:15:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:15:10 ---> Running in bb72a80a47d5 00:15:10 Removing intermediate container bb72a80a47d5 00:15:10 ---> 2cca08a9047e 00:15:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:10 ---> Running in 99d92d9834f0 00:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:15:11 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:15:11 (2/4) Installing libedit (20221030.3.1-r0) 00:15:11 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:15:11 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:15:11 Executing busybox-1.35.0-r29.trigger 00:15:11 OK: 269 MiB in 57 packages 00:15:11 Removing intermediate container 99d92d9834f0 00:15:11 ---> ba7fa912cac8 00:15:11 Step 8/12 : WORKDIR /device-rest-go 00:15:11 ---> Running in 7c30bfe032dd 00:15:11 Removing intermediate container 7c30bfe032dd 00:15:11 ---> ee933cd20874 00:15:11 Step 9/12 : COPY go.mod vendor* ./ 00:15:12 ---> 705ada18ddc8 00:15:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:12 ---> Running in e13468e20dcc 00:15:44 Removing intermediate container e13468e20dcc 00:15:44 ---> 0cde6f4b7f17 00:15:44 Step 11/12 : COPY . . 00:15:44 ---> b2759f12d214 00:15:44 Step 12/12 : RUN $MAKE 00:15:44 ---> Running in c8e39f132b5e 00:15:44 noop 00:15:44 Removing intermediate container c8e39f132b5e 00:15:44 ---> 107425fb6cde 00:15:44 Successfully built 107425fb6cde 00:15:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:44 + docker inspect -f . ci-base-image-x86_64 00:15:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:44 prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container 00:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:15:44 $ docker top 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:45 + go version 00:15:45 go version go1.20.2 linux/amd64 [Pipeline] } 00:15:45 $ docker stop --time=1 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 00:15:46 $ docker rm -f --volumes 074bda7eef15aef8af6fe5667af1941bd621cbc0d89b0dbe18341b14d4c96c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:46 + docker inspect -f . ci-base-image-x86_64 00:15:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:47 prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container 00:15:47 $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:15:47 $ docker top bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] fileExists [Pipeline] sh 00:15:48 + make test 00:15:48 go test ./... -coverprofile=coverage.out ./... 00:15:52 ? github.com/edgexfoundry/device-rest-go [no test files] 00:16:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:16:02 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 00:16:06 go vet ./... 00:16:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:16:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:16:09 ./bin/test-attribution-txt.sh [Pipeline] echo 00:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:16:09 $ docker stop --time=1 bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 00:16:14 $ docker rm -f --volumes bd467590ef8042748aa26002488836c5cc1b3ab6b59265494c4a9c16078b91f9 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:16:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:16:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:16:15 + ls -al . 00:16:15 total 184 00:16:15 drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:15 . 00:16:15 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:14 .. 00:16:15 -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:14 .dockerignore 00:16:15 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:14 .git 00:16:15 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:14 .github 00:16:15 -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:14 .gitignore 00:16:15 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:14 .golangci.yml 00:16:15 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:14 .semver 00:16:15 -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:14 Attribution.txt 00:16:15 -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:14 CHANGELOG.md 00:16:15 -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:14 Dockerfile 00:16:15 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:14 GOVERNANCE.md 00:16:15 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:14 Jenkinsfile 00:16:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:14 LICENSE 00:16:15 -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:14 Makefile 00:16:15 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:14 OWNERS.md 00:16:15 -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:14 README.md 00:16:15 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:14 VERSION 00:16:15 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:14 bin 00:16:15 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:14 cmd 00:16:15 -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:16 coverage.out 00:16:15 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:14 driver 00:16:15 -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:14 go.mod 00:16:15 -rw-rw-r-- 1 jenkins jenkins 31322 May 25 00:14 go.sum 00:16:15 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:14 snap 00:16:15 -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:15 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b00035346f56b58fcb1c3fdb42ad9ae55625437f --label arch=amd64 --label version=0.0.0 . 00:16:15 Sending build context to Docker daemon 10.95MB 00:16:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:16:15 Step 2/25 : FROM ${BASE} AS builder 00:16:15 ---> 107425fb6cde 00:16:15 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:16:15 ---> Running in 877bf7c1a318 00:16:15 Removing intermediate container 877bf7c1a318 00:16:15 ---> dc4b5cf611fb 00:16:15 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:15 ---> Running in af84cc15d66c 00:16:15 Removing intermediate container af84cc15d66c 00:16:15 ---> 2a23a556ded3 00:16:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:15 ---> Running in e045b532bb86 00:16:16 Removing intermediate container e045b532bb86 00:16:16 ---> a99e22b3cc41 00:16:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:16:16 ---> Running in 55d17d723db9 00:16:16 Removing intermediate container 55d17d723db9 00:16:16 ---> 0c42ed609913 00:16:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:16 ---> Running in 3a16db2827c0 00:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:16 OK: 269 MiB in 57 packages 00:16:16 Removing intermediate container 3a16db2827c0 00:16:16 ---> 8037996e5537 00:16:16 Step 8/25 : WORKDIR /device-rest-go 00:16:16 ---> Running in c2587499f333 00:16:17 Removing intermediate container c2587499f333 00:16:17 ---> 620a759b4b7a 00:16:17 Step 9/25 : COPY go.mod vendor* ./ 00:16:17 ---> 415d21ba8f46 00:16:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:17 ---> Running in cd7dfbb26b18 00:16:17 Removing intermediate container cd7dfbb26b18 00:16:17 ---> ee9016eed797 00:16:17 Step 11/25 : COPY . . 00:16:18 ---> a71e5d728309 00:16:18 Step 12/25 : RUN $MAKE 00:16:18 ---> Running in cc8293d45473 00:16:18 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:16:40 Removing intermediate container cc8293d45473 00:16:40 ---> 698700ad3c04 00:16:40 Step 13/25 : FROM alpine:3.17 00:16:40 3.17: Pulling from library/alpine 00:16:40 f56be85fc22e: Already exists 00:16:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:16:40 Status: Downloaded newer image for alpine:3.17 00:16:40 ---> 9ed4aefc74f6 00:16:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:16:40 ---> Running in 0e8c1290c380 00:16:40 Removing intermediate container 0e8c1290c380 00:16:40 ---> 9d17f2d558c9 00:16:40 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:16:40 ---> Running in 98002911d247 00:16:40 Removing intermediate container 98002911d247 00:16:40 ---> da4cff9de10f 00:16:40 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:16:40 ---> Running in bcbca0b19dcb 00:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:40 (1/1) Installing dumb-init (1.2.5-r2) 00:16:40 Executing busybox-1.35.0-r29.trigger 00:16:40 OK: 7 MiB in 16 packages 00:16:40 Removing intermediate container bcbca0b19dcb 00:16:40 ---> 3dbddc9668eb 00:16:40 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:16:40 ---> aff441ba387d 00:16:40 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:16:40 ---> 0e6b0b3ea08e 00:16:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:16:41 ---> b1cac3215e05 00:16:41 Step 20/25 : EXPOSE 59986 00:16:41 ---> Running in d766a6ad039f 00:16:41 Removing intermediate container d766a6ad039f 00:16:41 ---> 4ff5ae3d8fec 00:16:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:16:41 ---> Running in 967d24ed107e 00:16:41 Removing intermediate container 967d24ed107e 00:16:41 ---> 04fd18c89ba2 00:16:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:16:41 ---> Running in 5d27d16f1964 00:16:41 Removing intermediate container 5d27d16f1964 00:16:41 ---> 2f1438e54ff7 00:16:41 Step 23/25 : LABEL arch=amd64 00:16:41 ---> Running in 949a2be57c52 00:16:41 Removing intermediate container 949a2be57c52 00:16:41 ---> a2276ddcbf4c 00:16:41 Step 24/25 : LABEL git_sha=b00035346f56b58fcb1c3fdb42ad9ae55625437f 00:16:41 ---> Running in 049ffcfffada 00:16:41 Removing intermediate container 049ffcfffada 00:16:41 ---> 0789e7a6d51a 00:16:41 Step 25/25 : LABEL version=0.0.0 00:16:41 ---> Running in 5d4fa76abfaa 00:16:41 Removing intermediate container 5d4fa76abfaa 00:16:41 ---> 45005b9d4565 00:16:41 [Warning] One or more build-args [ARCH] were not consumed 00:16:41 Successfully built 45005b9d4565 00:16:41 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 00:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:42 00:16:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:42 latest: Pulling from edgex-lftools-log-publisher 00:16:42 5eb5b503b376: Pulling fs layer 00:16:42 5c69ac0246d0: Pulling fs layer 00:16:42 ec43610c2a17: Pulling fs layer 00:16:42 3a2ae6a8a46f: Pulling fs layer 00:16:42 33b1e0a273af: Pulling fs layer 00:16:42 5d3b04190fa2: Pulling fs layer 00:16:42 2f39f015ded8: Pulling fs layer 00:16:42 33b1e0a273af: Waiting 00:16:42 5d3b04190fa2: Waiting 00:16:42 2f39f015ded8: Waiting 00:16:42 3a2ae6a8a46f: Waiting 00:16:42 5c69ac0246d0: Download complete 00:16:42 3a2ae6a8a46f: Download complete 00:16:42 33b1e0a273af: Verifying Checksum 00:16:42 33b1e0a273af: Download complete 00:16:42 5d3b04190fa2: Verifying Checksum 00:16:42 5d3b04190fa2: Download complete 00:16:42 ec43610c2a17: Verifying Checksum 00:16:42 ec43610c2a17: Download complete 00:16:42 5eb5b503b376: Verifying Checksum 00:16:42 5eb5b503b376: Download complete 00:16:43 2f39f015ded8: Download complete 00:16:43 5eb5b503b376: Pull complete 00:16:43 5c69ac0246d0: Pull complete 00:16:44 ec43610c2a17: Pull complete 00:16:44 3a2ae6a8a46f: Pull complete 00:16:44 33b1e0a273af: Pull complete 00:16:44 5d3b04190fa2: Pull complete 00:16:48 2f39f015ded8: Pull complete 00:16:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:16:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:16:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:48 prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container 00:16:48 $ 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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:16:54 $ docker top 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:54 ---> job-cost.sh 00:16:54 lf-activate-venv: SKIPPING 00:16:54 INFO: No Stack... 00:16:54 INFO: Retrieving Pricing Info for: v3-standard-8 00:16:55 INFO: Archiving Costs [Pipeline] sh 00:16:55 + cat /w/workspace/gexfoundry_device-rest-go_PR-322/archives/cost.csv 00:16:55 + cut -d, -f6 [Pipeline] lock 00:16:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] 00:16:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] did not exist. Created. 00:16:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:16:55 + echo total: 0.2199999988079071 [Pipeline] stash 00:16:55 Stashed 1 file(s) [Pipeline] } 00:16:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] // lock [Pipeline] } 00:16:55 $ docker stop --time=1 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 00:16:57 $ docker rm -f --volumes 0f76fc506ed55f44906e2cdad44ebc958b4fbfe37ec665ed8de80727e28ed068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:17:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16872 in /w/workspace/gexfoundry_device-rest-go_PR-322 [Pipeline] { [Pipeline] ws 00:17:47 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 00:17:47 The recommended git tool is: git 00:17:54 using credential edgex-jenkins-ssh 00:17:54 Cloning the remote Git repository 00:17:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:17:55 > git init /w/workspace/device-rest-go/5 # timeout=10 00:17:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:17:55 > git --version # timeout=10 00:17:55 > git --version # 'git version 2.25.1' 00:17:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:17:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:17:59 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit b00035346f56b58fcb1c3fdb42ad9ae55625437f 00:17:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:17:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:17:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/322/head:refs/remotes/origin/PR-322 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:17:59 > git config core.sparsecheckout # timeout=10 00:17:59 Merge succeeded, producing b00035346f56b58fcb1c3fdb42ad9ae55625437f 00:17:59 Checking out Revision b00035346f56b58fcb1c3fdb42ad9ae55625437f (PR-322) 00:18:00 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:17:59 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 00:17:59 > git remote # timeout=10 00:17:59 > git config --get remote.origin.url # timeout=10 00:17:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:17:59 > git merge 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 00:17:59 > git rev-parse HEAD^{commit} # timeout=10 00:17:59 > git config core.sparsecheckout # timeout=10 00:18:00 > git checkout -f b00035346f56b58fcb1c3fdb42ad9ae55625437f # timeout=10 00:18:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:18:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:18:01 Dload Upload Total Spent Left Speed 00:18:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 150k 0 --:--:-- --:--:-- --:--:-- 150k [Pipeline] sh 00:18:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:18:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:18:02 + sudo tee /etc/docker/daemon.new 00:18:02 { 00:18:02 "registry-mirrors": [ 00:18:02 "https://nexus3.edgexfoundry.org:10001" 00:18:02 ], 00:18:02 "bip": "10.250.0.254/24", 00:18:02 "hosts": [ 00:18:02 "tcp://0.0.0.0:5555", 00:18:02 "unix:///var/run/docker.sock" 00:18:02 ], 00:18:02 "mtu": 1458, 00:18:02 "selinux-enabled": true, 00:18:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:18:02 } [Pipeline] sh 00:18:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:18:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:18:21 provisioning config files... 00:18:21 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config11498208858895750606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:22 ---> docker-login.sh 00:18:22 nexus3.edgexfoundry.org:10001 00:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:23 Configure a credential helper to remove this warning. See 00:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:23 00:18:23 Login Succeeded 00:18:23 nexus3.edgexfoundry.org:10002 00:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:23 Configure a credential helper to remove this warning. See 00:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:23 00:18:23 Login Succeeded 00:18:23 nexus3.edgexfoundry.org:10003 00:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:24 Configure a credential helper to remove this warning. See 00:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:24 00:18:24 Login Succeeded 00:18:24 nexus3.edgexfoundry.org:10004 00:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:24 Configure a credential helper to remove this warning. See 00:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:24 00:18:24 Login Succeeded 00:18:24 docker.io 00:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:25 Configure a credential helper to remove this warning. See 00:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:25 00:18:25 Login Succeeded 00:18:25 ---> docker-login.sh ends [Pipeline] } 00:18:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:26 ========================================================= 00:18:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:18:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:18:26 Sending build context to Docker daemon 139.3kB 00:18:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:18:26 Step 2/12 : FROM ${BASE} AS builder 00:18:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:18:27 c41833b44d91: Pulling fs layer 00:18:27 ed15518f5707: Pulling fs layer 00:18:27 feae8fd75edb: Pulling fs layer 00:18:27 242c74f7c9fa: Pulling fs layer 00:18:27 3cdef696dda3: Pulling fs layer 00:18:27 2ced38df9373: Pulling fs layer 00:18:27 58f1dce35555: Pulling fs layer 00:18:27 242c74f7c9fa: Waiting 00:18:27 3cdef696dda3: Waiting 00:18:27 2ced38df9373: Waiting 00:18:27 58f1dce35555: Waiting 00:18:27 ed15518f5707: Download complete 00:18:27 242c74f7c9fa: Verifying Checksum 00:18:27 242c74f7c9fa: Download complete 00:18:27 3cdef696dda3: Verifying Checksum 00:18:27 3cdef696dda3: Download complete 00:18:27 c41833b44d91: Verifying Checksum 00:18:28 c41833b44d91: Pull complete 00:18:29 ed15518f5707: Pull complete 00:18:29 58f1dce35555: Verifying Checksum 00:18:29 58f1dce35555: Download complete 00:18:30 feae8fd75edb: Verifying Checksum 00:18:30 feae8fd75edb: Download complete 00:18:30 2ced38df9373: Verifying Checksum 00:18:30 2ced38df9373: Download complete 00:18:43 feae8fd75edb: Pull complete 00:18:43 242c74f7c9fa: Pull complete 00:18:43 3cdef696dda3: Pull complete 00:18:51 2ced38df9373: Pull complete 00:18:52 58f1dce35555: Pull complete 00:18:52 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:18:52 ---> fadd8f120f05 00:18:52 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:18:54 ---> Running in 24301970f814 00:18:54 Removing intermediate container 24301970f814 00:18:54 ---> b72994a5aaf4 00:18:54 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:18:54 ---> Running in 9a672f73d634 00:18:55 Removing intermediate container 9a672f73d634 00:18:55 ---> 06c1def215b7 00:18:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:18:55 ---> Running in 9f37810266e5 00:18:55 Removing intermediate container 9f37810266e5 00:18:55 ---> 9b2a546fac7e 00:18:55 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:18:55 ---> Running in 1bccd3fcf44f 00:18:56 Removing intermediate container 1bccd3fcf44f 00:18:56 ---> 78d1401de7d8 00:18:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:56 ---> Running in 56c01db549dc 00:18:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:18:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:18:59 (1/4) Installing openssh-keygen (9.1_p1-r3) 00:18:59 (2/4) Installing libedit (20221030.3.1-r0) 00:18:59 (3/4) Installing openssh-client-common (9.1_p1-r3) 00:18:59 (4/4) Installing openssh-client-default (9.1_p1-r3) 00:18:59 Executing busybox-1.35.0-r29.trigger 00:18:59 OK: 268 MiB in 57 packages 00:19:01 Removing intermediate container 56c01db549dc 00:19:01 ---> f8c97f2ce236 00:19:01 Step 8/12 : WORKDIR /device-rest-go 00:19:01 ---> Running in 9b8a96e41bcf 00:19:01 Removing intermediate container 9b8a96e41bcf 00:19:01 ---> 453192897e84 00:19:01 Step 9/12 : COPY go.mod vendor* ./ 00:19:02 ---> fe6a9a52ebbf 00:19:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:02 ---> Running in abad8d63a80a 00:20:24 Removing intermediate container abad8d63a80a 00:20:24 ---> 648ea5d12333 00:20:24 Step 11/12 : COPY . . 00:20:24 ---> 0443b8e6b3df 00:20:24 Step 12/12 : RUN $MAKE 00:20:24 ---> Running in 95ea3c778575 00:20:24 noop 00:20:24 Removing intermediate container 95ea3c778575 00:20:24 ---> dc254be7bbf8 00:20:24 Successfully built dc254be7bbf8 00:20:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:24 + docker inspect -f . ci-base-image-arm64 00:20:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:24 prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container 00:20:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 00:20:26 $ docker top cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:27 + go version 00:20:27 go version go1.20.2 linux/arm64 [Pipeline] } 00:20:27 $ docker stop --time=1 cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a 00:20:29 $ docker rm -f --volumes cc59b1d4da91a48c6585e6fc370889a2102e0abb6c4c95b354bc4c0016ee379a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:29 + docker inspect -f . ci-base-image-arm64 00:20:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:29 prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container 00:20:30 $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 00:20:31 $ docker top 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:32 + git config --global --add safe.directory /w/workspace/device-rest-go/5 [Pipeline] fileExists [Pipeline] sh 00:20:33 + make test 00:20:33 go test ./... -coverprofile=coverage.out ./... 00:21:20 ? github.com/edgexfoundry/device-rest-go [no test files] 00:24:12 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:24:12 ok github.com/edgexfoundry/device-rest-go/driver 0.085s coverage: 32.2% of statements 00:24:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:24:12 go vet ./... 00:24:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:24:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:24:44 ./bin/test-attribution-txt.sh [Pipeline] echo 00:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:24:44 $ docker stop --time=1 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 00:24:46 $ docker rm -f --volumes 66a02fe67b0b2f41138f60a0a71491eb3c1557924ee1f6d92e2167b3cb907fc7 [Pipeline] // withDockerContainer [Pipeline] sh 00:24:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:24:47 Warning: overwriting stash ‘coverage-report’ 00:24:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:24:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:24:49 + ls -al . 00:24:49 total 180 00:24:49 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:20 . 00:24:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 .. 00:24:49 -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:17 .dockerignore 00:24:49 drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:18 .git 00:24:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 .github 00:24:49 -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:17 .gitignore 00:24:49 -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:17 .golangci.yml 00:24:49 -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:17 Attribution.txt 00:24:49 -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:17 CHANGELOG.md 00:24:49 -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:17 Dockerfile 00:24:49 -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:17 GOVERNANCE.md 00:24:49 -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:17 Jenkinsfile 00:24:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:17 LICENSE 00:24:49 -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:17 Makefile 00:24:49 -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:17 OWNERS.md 00:24:49 -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:17 README.md 00:24:49 -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:14 VERSION 00:24:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 bin 00:24:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:17 cmd 00:24:49 -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:24 coverage.out 00:24:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:17 driver 00:24:49 -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:17 go.mod 00:24:49 -rw-rw-r-- 1 jenkins jenkins 31322 May 25 00:17 go.sum 00:24:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:17 snap 00:24:49 -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:49 + 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=b00035346f56b58fcb1c3fdb42ad9ae55625437f --label arch=arm64 --label version=0.0.0 . 00:24:49 Sending build context to Docker daemon 154.6kB 00:24:50 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 00:24:50 Step 2/25 : FROM ${BASE} AS builder 00:24:50 ---> dc254be7bbf8 00:24:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 00:24:50 ---> Running in babe1743cac2 00:24:50 Removing intermediate container babe1743cac2 00:24:50 ---> 04641202881e 00:24:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:24:50 ---> Running in 2918fbb4310b 00:24:50 Removing intermediate container 2918fbb4310b 00:24:50 ---> 42d71f839ef8 00:24:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:24:51 ---> Running in 412bfa95319c 00:24:51 Removing intermediate container 412bfa95319c 00:24:51 ---> 1d07042159f7 00:24:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 00:24:51 ---> Running in de57754e84fa 00:24:51 Removing intermediate container de57754e84fa 00:24:51 ---> a93832d4116e 00:24:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:24:51 ---> Running in 437b5d0d803c 00:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:24:55 OK: 268 MiB in 57 packages 00:24:56 Removing intermediate container 437b5d0d803c 00:24:56 ---> a0f0d30c6506 00:24:56 Step 8/25 : WORKDIR /device-rest-go 00:24:56 ---> Running in 0c8684d7858f 00:24:56 Removing intermediate container 0c8684d7858f 00:24:56 ---> c9e5eecd731b 00:24:56 Step 9/25 : COPY go.mod vendor* ./ 00:24:58 ---> 9ee95928b446 00:24:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:24:59 ---> Running in d9f790245f07 00:25:01 Removing intermediate container d9f790245f07 00:25:01 ---> b74a45460e89 00:25:01 Step 11/25 : COPY . . 00:25:02 ---> 60a929c4e851 00:25:02 Step 12/25 : RUN $MAKE 00:25:02 ---> Running in 4747269d0b20 00:25:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:27:40 Removing intermediate container 4747269d0b20 00:27:40 ---> 561a874dae05 00:27:40 Step 13/25 : FROM alpine:3.17 00:27:40 3.17: Pulling from library/alpine 00:27:40 c41833b44d91: Already exists 00:27:41 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:27:41 Status: Downloaded newer image for alpine:3.17 00:27:41 ---> 51e60588ff2c 00:27:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:27:41 ---> Running in d3475a0c256a 00:27:41 Removing intermediate container d3475a0c256a 00:27:41 ---> 467823eccffe 00:27:41 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:27:41 ---> Running in 4d97dd397997 00:27:41 Removing intermediate container 4d97dd397997 00:27:41 ---> 94dde14283ff 00:27:41 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:27:41 ---> Running in 4a040c5d8dc9 00:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:27:45 (1/1) Installing dumb-init (1.2.5-r2) 00:27:45 Executing busybox-1.35.0-r29.trigger 00:27:45 OK: 8 MiB in 16 packages 00:27:46 Removing intermediate container 4a040c5d8dc9 00:27:46 ---> 254e705c9009 00:27:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:27:47 ---> 5edee515d5b5 00:27:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:27:48 ---> 17921f50c2b2 00:27:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:27:48 ---> cd7decc70980 00:27:48 Step 20/25 : EXPOSE 59986 00:27:48 ---> Running in 0b59ea6b8b81 00:27:49 Removing intermediate container 0b59ea6b8b81 00:27:49 ---> b14a873e8f6e 00:27:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:27:49 ---> Running in f86d1d36d244 00:27:49 Removing intermediate container f86d1d36d244 00:27:49 ---> 6f057e1fdb7b 00:27:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:27:49 ---> Running in 9a79f587a3d4 00:27:50 Removing intermediate container 9a79f587a3d4 00:27:50 ---> 9b2ed01eba93 00:27:50 Step 23/25 : LABEL arch=arm64 00:27:50 ---> Running in 837e70585fdc 00:27:50 Removing intermediate container 837e70585fdc 00:27:50 ---> 9ce64fab41e5 00:27:50 Step 24/25 : LABEL git_sha=b00035346f56b58fcb1c3fdb42ad9ae55625437f 00:27:50 ---> Running in 22fb9aa162c5 00:27:50 Removing intermediate container 22fb9aa162c5 00:27:50 ---> ce8fc5de34bc 00:27:50 Step 25/25 : LABEL version=0.0.0 00:27:51 ---> Running in 550f3ba8d07d 00:27:51 Removing intermediate container 550f3ba8d07d 00:27:51 ---> 251ce133c279 00:27:51 [Warning] One or more build-args [ARCH] were not consumed 00:27:51 Successfully built 251ce133c279 00:27:51 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 00:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:51 00:27:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:27:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:27:52 arm64: Pulling from edgex-lftools-log-publisher 00:27:52 8998bd30e6a1: Pulling fs layer 00:27:52 04944245beec: Pulling fs layer 00:27:52 699f458cf7ca: Pulling fs layer 00:27:52 765212b225bb: Pulling fs layer 00:27:52 f23df028b6ca: Pulling fs layer 00:27:52 d65c8cfc05b1: Pulling fs layer 00:27:52 2437ff75d9bd: Pulling fs layer 00:27:52 765212b225bb: Waiting 00:27:52 f23df028b6ca: Waiting 00:27:52 2437ff75d9bd: Waiting 00:27:52 d65c8cfc05b1: Waiting 00:27:52 04944245beec: Verifying Checksum 00:27:52 04944245beec: Download complete 00:27:52 765212b225bb: Verifying Checksum 00:27:52 765212b225bb: Download complete 00:27:52 f23df028b6ca: Verifying Checksum 00:27:52 f23df028b6ca: Download complete 00:27:52 d65c8cfc05b1: Verifying Checksum 00:27:52 d65c8cfc05b1: Download complete 00:27:52 699f458cf7ca: Verifying Checksum 00:27:52 699f458cf7ca: Download complete 00:27:53 8998bd30e6a1: Verifying Checksum 00:27:53 8998bd30e6a1: Download complete 00:27:55 2437ff75d9bd: Verifying Checksum 00:27:55 2437ff75d9bd: Download complete 00:27:57 8998bd30e6a1: Pull complete 00:27:57 04944245beec: Pull complete 00:27:59 699f458cf7ca: Pull complete 00:27:59 765212b225bb: Pull complete 00:28:00 f23df028b6ca: Pull complete 00:28:00 d65c8cfc05b1: Pull complete 00:28:15 2437ff75d9bd: Pull complete 00:28:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:15 prd-ubuntu20.04-docker-arm64-4c-16g-16872 does not seem to be running inside a container 00:28:15 $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 00:28:18 $ docker top 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:28:19 ---> job-cost.sh 00:28:19 lf-activate-venv: SKIPPING 00:28:19 INFO: No Stack... 00:28:19 INFO: Retrieving Pricing Info for: v3-standard-4 00:28:20 INFO: Archiving Costs [Pipeline] sh 00:28:21 + cat /w/workspace/device-rest-go/5/archives/cost.csv 00:28:21 + cut -d, -f6 [Pipeline] lock 00:28:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] 00:28:21 Resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] did not exist. Created. 00:28:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:28:21 /w/workspace/device-rest-go/5@tmp/durable-f401e066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:28:22 + echo total: 0.10999999940395355 [Pipeline] stash 00:28:22 Warning: overwriting stash ‘stack-cost’ 00:28:22 Stashed 1 file(s) [Pipeline] } 00:28:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-322-5-stack-cost] [Pipeline] // lock [Pipeline] } 00:28:22 $ docker stop --time=1 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c 00:28:26 $ docker rm -f --volumes 38ae43489b4f65c6cccd7698d689dedf6c10f1c2133601675fa6271d4a3a979c [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 00:28:27 provisioning config files... 00:28:27 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config17839349985503026277tmp [Pipeline] { [Pipeline] sh 00:28:27 + set +x 00:28:27 + bash -s -- 00:28:27 + curl -s https://codecov.io/bash 00:28:27 00:28:27 _____ _ 00:28:27 / ____| | | 00:28:27 | | ___ __| | ___ ___ _____ __ 00:28:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:28:27 | |___| (_) | (_| | __/ (_| (_) \ V / 00:28:27 \_____\___/ \__,_|\___|\___\___/ \_/ 00:28:27 Bash-1.0.6 00:28:27 00:28:27 00:28:27 ==> git version 2.25.1 found 00:28:27 ==> 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 00:28:27 Release-Date: 2020-01-08 00:28:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:28:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:28:27 ==> Jenkins CI detected. 00:28:27 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-322 00:28:27 project root: . 00:28:27 --> token set from env 00:28:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:28:27 ==> Running gcov in . (disable via -X gcov) 00:28:27 ==> Python coveragepy not found 00:28:27 ==> Searching for coverage reports in: 00:28:27 + . 00:28:27 -> Found 1 reports 00:28:27 ==> Detecting git/mercurial file structure 00:28:27 ==> Reading reports 00:28:27 + ./coverage.out bytes=14663 00:28:27 ==> Appending adjustments 00:28:27 https://docs.codecov.io/docs/fixing-reports 00:28:27 + Found adjustments 00:28:27 ==> Gzipping contents 00:28:27 4.0K /tmp/codecov.nsRuQT.gz 00:28:27 ==> Uploading reports 00:28:27 url: https://codecov.io 00:28:27 query: branch=PR-322&commit=b00035346f56b58fcb1c3fdb42ad9ae55625437f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= 00:28:27 -> Pinging Codecov 00:28: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-322&commit=b00035346f56b58fcb1c3fdb42ad9ae55625437f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-322%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=322&job=&cmd_args= 00:28:27 -> Uploading to 00:28:27 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/b00035346f56b58fcb1c3fdb42ad9ae55625437f/f16bbdba-529c-4716-b438-490a433e08ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002827Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=629b04ff2c98466fb5b009b1bc1385daed6c783f6758f3a0d6da95d9f030d7d2 00:28:27 % Total % Received % Xferd Average Speed Time Time Time Current 00:28:27 Dload Upload Total Spent Left Speed 00:28:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11513 --:--:-- --:--:-- --:--:-- 11513 00:28:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b00035346f56b58fcb1c3fdb42ad9ae55625437f [Pipeline] } 00:28:28 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 00:28:28 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-322/archives ] 00:28:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives 00:28:28 total 16 00:28:28 drwxr-xr-x 3 root root 4096 May 25 00:16 . 00:28:28 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:16 .. 00:28:28 drwxr-xr-x 2 root root 4096 May 25 00:16 cost 00:28:28 -rw-r--r-- 1 root root 86 May 25 00:16 cost.csv 00:28:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-322/archives 00:28:28 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-322/archives 00:28:28 total 16 00:28:28 drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:16 . 00:28:28 drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:16 .. 00:28:28 drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:16 cost 00:28:28 -rw-r--r-- 1 jenkins jenkins 86 May 25 00:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:28:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:28:29 ---> package-listing.sh 00:28:29 ++ facter osfamily 00:28:29 ++ tr '[:upper:]' '[:lower:]' 00:28:30 + OS_FAMILY=debian 00:28:30 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-322 00:28:30 + START_PACKAGES=/tmp/packages_start.txt 00:28:30 + END_PACKAGES=/tmp/packages_end.txt 00:28:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:28:30 + PACKAGES=/tmp/packages_start.txt 00:28:30 + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' 00:28:30 + PACKAGES=/tmp/packages_end.txt 00:28:30 + case "${OS_FAMILY}" in 00:28:30 + dpkg -l 00:28:30 + grep '^ii' 00:28:30 + '[' -f /tmp/packages_start.txt ']' 00:28:30 + '[' -f /tmp/packages_end.txt ']' 00:28:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:28:30 + '[' /w/workspace/gexfoundry_device-rest-go_PR-322 ']' 00:28:30 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ 00:28:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-322/archives/ [Pipeline] echo 00:28:30 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-322/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:28:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:28:31 prd-ubuntu20.04-docker-8c-8g-16855 does not seem to be running inside a container 00:28:31 $ 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-322/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-322 -v /w/workspace/gexfoundry_device-rest-go_PR-322:/w/workspace/gexfoundry_device-rest-go_PR-322:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-322@tmp:/w/workspace/gexfoundry_device-rest-go_PR-322@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 00:28:31 $ docker top c6e65620a3d6d8bcdd79c72cdb1133031eb4c90f89c49b96deb9be096c616d43 -eo pid,comm [Pipeline] { [Pipeline] sh 00:28:31 + touch /tmp/pre-build-complete [Pipeline] sh 00:28:31 + mkdir -p /var/log/sysstat [Pipeline] sh 00:28:32 + ls /var/log/sa-host 00:28:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:28:32 provisioning config files... 00:28:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-322@tmp/config5063933996367935044tmp [Pipeline] { [Pipeline] echo 00:28:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:28:32 ---> create-netrc.sh [Pipeline] } 00:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:28:32 ---> python-tools-install.sh [Pipeline] echo 00:28:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:28:33 ---> sudo-logs.sh 00:28:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:28:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:28:33 ---> job-cost.sh 00:28:33 lf-activate-venv: SKIPPING 00:28:33 DEBUG: total: 0.2199999988079071 00:28:33 INFO: Retrieving Stack Cost... 00:28:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:28:34 INFO: Archiving Costs [Pipeline] echo 00:28:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:28:34 ---> logs-deploy.sh 00:28:34 lf-activate-venv: SKIPPING 00:28:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-322/5 00:28:34 INFO: archiving workspace using pattern(s): 00:28:35 Archives upload complete. 00:28:35 INFO: archiving logs to Nexus