Pull request #224 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 rather than 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Obtained Jenkinsfile from 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 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-ssh7308091623325062484.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17494343931631349950.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6458233641160025326.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3387460669294488559.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9614427721789059465.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6001062102217238386.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-116993 in /w/workspace/gexfoundry_device-rest-go_PR-224 [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-224 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Merge succeeded, producing 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Checking out Revision 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 (PR-224) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:32:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:32:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:32:15 ========================================================= 22:32:15 EdgeX Global Pipelines Version Info 22:32:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:32:16 ------------------- 22:32:16 stable info: 22:32:16 ------------------- 22:32:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:32:16 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:32:16 Message: update stable to v1.0.243 22:32:17 ------------------- 22:32:17 experimental info: 22:32:17 ------------------- 22:32:17 Commited By: **** collab-it+edgex@linuxfoundation.org 22:32:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:32:17 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:32:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80ab41c [Pipeline] echo 22:32:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:32:18 provisioning config files... 22:32:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config6852092699257430582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:19 ---> docker-login.sh 22:32:19 nexus3.edgexfoundry.org:10001 22:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:19 Configure a credential helper to remove this warning. See 22:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:19 22:32:19 Login Succeeded 22:32:19 nexus3.edgexfoundry.org:10002 22:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:19 Configure a credential helper to remove this warning. See 22:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:19 22:32:19 Login Succeeded 22:32:19 nexus3.edgexfoundry.org:10003 22:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:19 Configure a credential helper to remove this warning. See 22:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:19 22:32:19 Login Succeeded 22:32:19 nexus3.edgexfoundry.org:10004 22:32:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:19 Configure a credential helper to remove this warning. See 22:32:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:19 22:32:19 Login Succeeded 22:32:19 docker.io 22:32:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:20 Configure a credential helper to remove this warning. See 22:32:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:20 22:32:20 Login Succeeded 22:32:20 ---> docker-login.sh ends [Pipeline] } 22:32:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:32:21 + git rev-list -1 --merges 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704~1..80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo 22:32:21 -----------> git rev-list -1 --merges 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704~1..80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [false] [Pipeline] sh 22:32:21 + git log --format=format:%s -1 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo 22:32:21 ========================================================= 22:32:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:32:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:32:21 + git log --format=format:%s -1 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo 22:32:21 [semverPrep] GIT_COMMIT: 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 22:32:21 [semverPrep] This is not a build commit. [Pipeline] sh 22:32:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:32:22 + grep -v github /etc/ssh/ssh_known_hosts 22:32:22 + [ -e /tmp/ssh_known_hosts ] 22:32:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:32:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:32:22 + sudo tee -a /etc/ssh/ssh_known_hosts 22:32:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:22 22:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:23 0.1.4: Pulling from edgex-devops/py-git-semver 22:32:23 b85a868b505f: Pulling fs layer 22:32:23 e2be974225ed: Pulling fs layer 22:32:23 339a4e72a1f5: Pulling fs layer 22:32:23 988bab9f4d93: Pulling fs layer 22:32:23 1469e6f7b9e6: Pulling fs layer 22:32:23 eaf3925da568: Pulling fs layer 22:32:23 bab4dde63d76: Pulling fs layer 22:32:23 bde34c3a00c8: Pulling fs layer 22:32:23 b352a97aabf1: Pulling fs layer 22:32:23 4872d77fe225: Pulling fs layer 22:32:23 5851b861e8e6: Pulling fs layer 22:32:23 bde34c3a00c8: Waiting 22:32:23 988bab9f4d93: Waiting 22:32:23 b352a97aabf1: Waiting 22:32:23 eaf3925da568: Waiting 22:32:23 5851b861e8e6: Waiting 22:32:23 4872d77fe225: Waiting 22:32:23 bab4dde63d76: Waiting 22:32:23 1469e6f7b9e6: Waiting 22:32:23 e2be974225ed: Verifying Checksum 22:32:23 e2be974225ed: Download complete 22:32:23 988bab9f4d93: Verifying Checksum 22:32:23 988bab9f4d93: Download complete 22:32:23 1469e6f7b9e6: Verifying Checksum 22:32:23 1469e6f7b9e6: Download complete 22:32:23 eaf3925da568: Verifying Checksum 22:32:23 eaf3925da568: Download complete 22:32:23 339a4e72a1f5: Verifying Checksum 22:32:23 339a4e72a1f5: Download complete 22:32:23 bde34c3a00c8: Verifying Checksum 22:32:23 bde34c3a00c8: Download complete 22:32:23 b352a97aabf1: Verifying Checksum 22:32:23 b352a97aabf1: Download complete 22:32:23 5851b861e8e6: Download complete 22:32:23 b85a868b505f: Verifying Checksum 22:32:23 b85a868b505f: Download complete 22:32:23 bab4dde63d76: Verifying Checksum 22:32:23 bab4dde63d76: Download complete 22:32:24 b85a868b505f: Pull complete 22:32:24 e2be974225ed: Pull complete 22:32:25 339a4e72a1f5: Pull complete 22:32:25 988bab9f4d93: Pull complete 22:32:25 1469e6f7b9e6: Pull complete 22:32:25 eaf3925da568: Pull complete 22:32:27 bab4dde63d76: Pull complete 22:32:27 bde34c3a00c8: Pull complete 22:32:27 b352a97aabf1: Pull complete 22:32:28 4872d77fe225: Pull complete 22:32:28 5851b861e8e6: Pull complete 22:32:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:32:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:32:28 prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container 22:32:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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 22:32:29 $ docker top 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 -eo pid,comm 22:32:29 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). 22:32:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:32:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:29 [ssh-agent] Looking for ssh-agent implementation... 22:32:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:29 $ docker exec 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent 22:32:30 SSH_AUTH_SOCK=/tmp/ssh-vSCiwCS2Rr2L/agent.32 22:32:30 SSH_AGENT_PID=38 22:32:30 Running ssh-add (command line suppressed) 22:32:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_5171554630792245423.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_5171554630792245423.key) 22:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:30 + git tag --points-at HEAD [Pipeline] } 22:32:30 $ docker exec --env ******** --env ******** 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent -k 22:32:30 unset SSH_AUTH_SOCK; 22:32:30 unset SSH_AGENT_PID; 22:32:30 echo Agent pid 38 killed; 22:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:32:30 [ssh-agent] Looking for ssh-agent implementation... 22:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:32:30 $ docker exec 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent 22:32:31 SSH_AUTH_SOCK=/tmp/ssh-REbigFpU6Mc9/agent.70 22:32:31 SSH_AGENT_PID=76 22:32:31 Running ssh-add (command line suppressed) 22:32:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_12860433638996299293.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_12860433638996299293.key) 22:32:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:32:31 + git semver init 22:32:31 2022-10-25 22:32:31,719 [run_init] DEBUG init version:0.0.0 force:False 22:32:31 2022-10-25 22:32:31,720 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver 22:32:31 2022-10-25 22:32:31,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-224/.semver 22:32:31 2022-10-25 22:32:31,721 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-224/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224, universal_newlines=False, shell=None, istream=None) 22:32:33 2022-10-25 22:32:32,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.git/info/exclude 22:32:33 2022-10-25 22:32:32,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 with force:False 22:32:33 2022-10-25 22:32:32,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 22:32:33 2022-10-25 22:32:32,814 [execute] INFO git cat-file --batch-check 22:32:33 2022-10-25 22:32:32,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) 22:32:33 2022-10-25 22:32:32,820 [execute] INFO git cat-file --batch 22:32:33 2022-10-25 22:32:32,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) 22:32:33 2022-10-25 22:32:32,825 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 22:32:33 0.0.0 [Pipeline] } 22:32:33 $ docker exec --env ******** --env ******** 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent -k 22:32:33 unset SSH_AUTH_SOCK; 22:32:33 unset SSH_AGENT_PID; 22:32:33 echo Agent pid 76 killed; 22:32:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:32:33 + git semver [Pipeline] } 22:32:34 $ docker stop --time=1 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 22:32:35 $ docker rm -f 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 [Pipeline] // withDockerContainer [Pipeline] sh 22:32:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:32:35 Stashed 1 file(s) [Pipeline] echo 22:32:36 [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 22:32:36 provisioning config files... 22:32:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config723987243766198734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:32:37 ---> docker-login.sh 22:32:37 nexus3.edgexfoundry.org:10001 22:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:37 Configure a credential helper to remove this warning. See 22:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:37 22:32:37 Login Succeeded 22:32:37 nexus3.edgexfoundry.org:10002 22:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:37 Configure a credential helper to remove this warning. See 22:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:37 22:32:37 Login Succeeded 22:32:37 nexus3.edgexfoundry.org:10003 22:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:37 Configure a credential helper to remove this warning. See 22:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:37 22:32:37 Login Succeeded 22:32:37 nexus3.edgexfoundry.org:10004 22:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:37 Configure a credential helper to remove this warning. See 22:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:37 22:32:37 Login Succeeded 22:32:37 docker.io 22:32:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:32:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:32:37 Configure a credential helper to remove this warning. See 22:32:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:32:37 22:32:37 Login Succeeded 22:32:37 ---> docker-login.sh ends [Pipeline] } 22:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:32:38 ========================================================= 22:32:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:32:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:32:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:32:38 Sending build context to Docker daemon 10.75MB 22:32:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:32:38 Step 2/12 : FROM ${BASE} AS builder 22:32:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:32:38 213ec9aee27d: Pulling fs layer 22:32:38 4583459ba037: Pulling fs layer 22:32:38 93c1e223e6f2: Pulling fs layer 22:32:38 53926ce57604: Pulling fs layer 22:32:38 21b2b0c7a3f4: Pulling fs layer 22:32:38 30f14e443154: Pulling fs layer 22:32:38 801331c1e519: Pulling fs layer 22:32:38 99cc6dd402b0: Pulling fs layer 22:32:38 7d9ed39f4882: Pulling fs layer 22:32:38 53926ce57604: Waiting 22:32:38 30f14e443154: Waiting 22:32:38 99cc6dd402b0: Waiting 22:32:38 7d9ed39f4882: Waiting 22:32:38 801331c1e519: Waiting 22:32:38 21b2b0c7a3f4: Waiting 22:32:38 93c1e223e6f2: Verifying Checksum 22:32:38 93c1e223e6f2: Download complete 22:32:38 4583459ba037: Verifying Checksum 22:32:38 4583459ba037: Download complete 22:32:38 21b2b0c7a3f4: Download complete 22:32:38 30f14e443154: Verifying Checksum 22:32:38 30f14e443154: Download complete 22:32:38 213ec9aee27d: Verifying Checksum 22:32:38 213ec9aee27d: Download complete 22:32:38 801331c1e519: Download complete 22:32:38 213ec9aee27d: Pull complete 22:32:39 4583459ba037: Pull complete 22:32:39 93c1e223e6f2: Pull complete 22:32:40 7d9ed39f4882: Verifying Checksum 22:32:40 7d9ed39f4882: Download complete 22:32:40 53926ce57604: Verifying Checksum 22:32:40 53926ce57604: Download complete 22:32:40 99cc6dd402b0: Download complete 22:32:44 53926ce57604: Pull complete 22:32:44 21b2b0c7a3f4: Pull complete 22:32:44 30f14e443154: Pull complete 22:32:44 801331c1e519: Pull complete 22:32:46 99cc6dd402b0: Pull complete 22:32:47 7d9ed39f4882: Pull complete 22:32:47 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:32:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:32:47 ---> 1dedd983c030 22:32:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:32:49 ---> Running in 08f582a47b93 22:32:49 Removing intermediate container 08f582a47b93 22:32:49 ---> 3d6aa97a24b9 22:32:49 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:32:49 ---> Running in c173a0d6841d 22:32:49 Removing intermediate container c173a0d6841d 22:32:49 ---> b20312f2f90a 22:32:49 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:32:49 ---> Running in f41698575e5f 22:32:49 Removing intermediate container f41698575e5f 22:32:49 ---> 5100c9529a74 22:32:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:32:49 ---> Running in c4ecec86807b 22:32:49 Removing intermediate container c4ecec86807b 22:32:49 ---> 6b4e54199525 22:32:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:32:49 ---> Running in 16c782220c49 22:32:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:32:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:32:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:32:50 (2/4) Installing libedit (20210910.3.1-r0) 22:32:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:32:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:32:50 Executing busybox-1.35.0-r17.trigger 22:32:50 OK: 216 MiB in 55 packages 22:32:50 Removing intermediate container 16c782220c49 22:32:50 ---> b157ce2bf2f1 22:32:50 Step 8/12 : WORKDIR /device-rest-go 22:32:50 ---> Running in 279047a3aab3 22:32:50 Removing intermediate container 279047a3aab3 22:32:50 ---> a25489037383 22:32:50 Step 9/12 : COPY go.mod vendor* ./ 22:32:50 ---> 87a89094bba1 22:32:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:32:51 ---> Running in d420dbc73229 22:32:51 Still waiting to schedule task 22:32:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:33:17 Removing intermediate container d420dbc73229 22:33:17 ---> 33bcbdf2bfd7 22:33:17 Step 11/12 : COPY . . 22:33:17 ---> cf4912d0ad66 22:33:17 Step 12/12 : RUN $MAKE 22:33:17 ---> Running in 1f14c50f1e22 22:33:17 noop 22:33:17 Removing intermediate container 1f14c50f1e22 22:33:17 ---> 7283b0d5dcb6 22:33:17 Successfully built 7283b0d5dcb6 22:33:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:18 + docker inspect -f . ci-base-image-x86_64 22:33:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:18 prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container 22:33:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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 22:33:18 $ docker top 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:19 + go version 22:33:19 go version go1.18.7 linux/amd64 [Pipeline] } 22:33:19 $ docker stop --time=1 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 22:33:20 $ docker rm -f 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:21 + docker inspect -f . ci-base-image-x86_64 22:33:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:21 prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container 22:33:21 $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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 22:33:21 $ docker top 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:22 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] fileExists [Pipeline] sh 22:33:22 + make test 22:33:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:33:22 ? github.com/edgexfoundry/device-rest-go [no test files] 22:33:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:33:33 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 22:33:41 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:33:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:33:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:33:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:33:44 ./bin/test-attribution-txt.sh [Pipeline] echo 22:33:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:33:44 $ docker stop --time=1 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa 22:33:46 $ docker rm -f 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa [Pipeline] // withDockerContainer [Pipeline] sh 22:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:33:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:33:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:33:48 + ls -al . 22:33:48 total 184 22:33:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:33 . 22:33:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:32 .. 22:33:48 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 22:32 .dockerignore 22:33:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:33 .git 22:33:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:32 .github 22:33:48 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 22:32 .gitignore 22:33:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:32 .golangci.yml 22:33:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:32 .semver 22:33:48 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 22:32 Attribution.txt 22:33:48 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 22:32 CHANGELOG.md 22:33:48 -rw-rw-r-- 1 jenkins jenkins 1641 Oct 25 22:32 Dockerfile 22:33:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:32 GOVERNANCE.md 22:33:48 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:32 Jenkinsfile 22:33:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:32 LICENSE 22:33:48 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 22:32 Makefile 22:33:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:32 OWNERS.md 22:33:48 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 22:32 README.md 22:33:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:32 VERSION 22:33:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:32 bin 22:33:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:32 cmd 22:33:48 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 22:33 coverage.out 22:33:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:32 driver 22:33:48 -rw-rw-r-- 1 jenkins jenkins 3536 Oct 25 22:32 go.mod 22:33:48 -rw-rw-r-- 1 jenkins jenkins 44967 Oct 25 22:32 go.sum 22:33:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:32 snap 22:33:48 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:48 + 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=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 --label arch=amd64 --label version=0.0.0 . 22:33:48 Sending build context to Docker daemon 10.76MB 22:33:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:33:48 Step 2/25 : FROM ${BASE} AS builder 22:33:48 ---> 7283b0d5dcb6 22:33:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:33:48 ---> Running in f5b2dad4a9b5 22:33:48 Removing intermediate container f5b2dad4a9b5 22:33:48 ---> 1aff588ca2b0 22:33:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:33:48 ---> Running in 7890abdfbfc1 22:33:48 Removing intermediate container 7890abdfbfc1 22:33:48 ---> 49e06f44a509 22:33:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:33:48 ---> Running in f28a48a970f1 22:33:48 Removing intermediate container f28a48a970f1 22:33:48 ---> 87d3561b2aef 22:33:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:33:48 ---> Running in 1699aa52312e 22:33:48 Removing intermediate container 1699aa52312e 22:33:48 ---> 3ef8a368b5ad 22:33:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:49 ---> Running in 2773da704e2d 22:33:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:33:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:33:49 OK: 216 MiB in 55 packages 22:33:49 Removing intermediate container 2773da704e2d 22:33:49 ---> d8f49fb1210c 22:33:49 Step 8/25 : WORKDIR /device-rest-go 22:33:49 ---> Running in 7437192791f6 22:33:50 Removing intermediate container 7437192791f6 22:33:50 ---> 5afa4dad538e 22:33:50 Step 9/25 : COPY go.mod vendor* ./ 22:33:50 ---> 1b579cbc3d85 22:33:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:50 ---> Running in 85b82508a8cd 22:33:51 Removing intermediate container 85b82508a8cd 22:33:51 ---> ad20d286bdb0 22:33:51 Step 11/25 : COPY . . 22:33:51 ---> d5046710642f 22:33:51 Step 12/25 : RUN $MAKE 22:33:51 ---> Running in 93237e07ff2e 22:33:51 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:34:13 Removing intermediate container 93237e07ff2e 22:34:13 ---> 38407196eeed 22:34:13 Step 13/25 : FROM alpine:3.16 22:34:13 3.16: Pulling from library/alpine 22:34:13 213ec9aee27d: Already exists 22:34:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:34:13 Status: Downloaded newer image for alpine:3.16 22:34:13 ---> 9c6f07244728 22:34:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:34:13 ---> Running in 9da50ba63c55 22:34:13 Removing intermediate container 9da50ba63c55 22:34:13 ---> a12f5f158a03 22:34:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:34:13 ---> Running in f0ba0c783ca6 22:34:13 Removing intermediate container f0ba0c783ca6 22:34:13 ---> 69994e0fd1c7 22:34:13 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:34:13 ---> Running in b6f63b751431 22:34:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:34:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:34:14 (1/6) Installing dumb-init (1.2.5-r1) 22:34:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:34:14 (3/6) Installing libsodium (1.0.18-r0) 22:34:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:34:14 (5/6) Installing libzmq (4.3.4-r0) 22:34:14 (6/6) Installing zeromq (4.3.4-r0) 22:34:14 Executing busybox-1.35.0-r17.trigger 22:34:14 OK: 8 MiB in 20 packages 22:34:14 Removing intermediate container b6f63b751431 22:34:14 ---> a8e2b8c10c60 22:34:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:34:15 ---> 1a97458d7369 22:34:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:34:15 ---> 95c04ae1d365 22:34:15 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:34:15 ---> 358649df0d07 22:34:15 Step 20/25 : EXPOSE 59986 22:34:15 ---> Running in 5803ab4cdd94 22:34:15 Removing intermediate container 5803ab4cdd94 22:34:15 ---> 1df22287464c 22:34:15 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:34:15 ---> Running in 8a8559072454 22:34:15 Removing intermediate container 8a8559072454 22:34:15 ---> 20973ab45dd1 22:34:15 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:34:15 ---> Running in ec767266c282 22:34:15 Removing intermediate container ec767266c282 22:34:15 ---> dee8562e6088 22:34:15 Step 23/25 : LABEL arch=amd64 22:34:15 ---> Running in d0f5b75c627a 22:34:16 Removing intermediate container d0f5b75c627a 22:34:16 ---> 730b3fe2267e 22:34:16 Step 24/25 : LABEL git_sha=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 22:34:16 ---> Running in 0548e44aa482 22:34:16 Removing intermediate container 0548e44aa482 22:34:16 ---> fdc882ba2060 22:34:16 Step 25/25 : LABEL version=0.0.0 22:34:16 ---> Running in 48fda5af2da3 22:34:16 Removing intermediate container 48fda5af2da3 22:34:16 ---> c11fd1a60d80 22:34:16 [Warning] One or more build-args [ARCH] were not consumed 22:34:16 Successfully built c11fd1a60d80 22:34:16 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 22:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:17 22:34:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:17 latest: Pulling from edgex-lftools-log-publisher 22:34:17 5eb5b503b376: Pulling fs layer 22:34:17 5c69ac0246d0: Pulling fs layer 22:34:17 ec43610c2a17: Pulling fs layer 22:34:17 3a2ae6a8a46f: Pulling fs layer 22:34:17 33b1e0a273af: Pulling fs layer 22:34:17 5d3b04190fa2: Pulling fs layer 22:34:17 2f39f015ded8: Pulling fs layer 22:34:17 3a2ae6a8a46f: Waiting 22:34:17 5d3b04190fa2: Waiting 22:34:17 2f39f015ded8: Waiting 22:34:17 33b1e0a273af: Waiting 22:34:17 5c69ac0246d0: Verifying Checksum 22:34:17 5c69ac0246d0: Download complete 22:34:17 3a2ae6a8a46f: Verifying Checksum 22:34:17 3a2ae6a8a46f: Download complete 22:34:17 33b1e0a273af: Verifying Checksum 22:34:17 33b1e0a273af: Download complete 22:34:17 5d3b04190fa2: Download complete 22:34:17 ec43610c2a17: Verifying Checksum 22:34:17 5eb5b503b376: Verifying Checksum 22:34:17 5eb5b503b376: Download complete 22:34:18 2f39f015ded8: Download complete 22:34:19 5eb5b503b376: Pull complete 22:34:19 5c69ac0246d0: Pull complete 22:34:19 ec43610c2a17: Pull complete 22:34:19 3a2ae6a8a46f: Pull complete 22:34:20 33b1e0a273af: Pull complete 22:34:20 5d3b04190fa2: Pull complete 22:34:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116994 in /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] { [Pipeline] ws 22:34:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:34:23 The recommended git tool is: git 22:34:24 2f39f015ded8: Pull complete 22:34:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:24 prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container 22:34:24 $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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 22:34:26 $ docker top 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:26 ---> job-cost.sh 22:34:26 lf-activate-venv: SKIPPING 22:34:26 INFO: No Stack... 22:34:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:27 INFO: Archiving Costs [Pipeline] sh 22:34:27 + cat /w/workspace/gexfoundry_device-rest-go_PR-224/archives/cost.csv 22:34:27 + cut -d, -f6 [Pipeline] lock 22:34:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] 22:34:27 Resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] did not exist. Created. 22:34:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:27 + echo total: 0.2199999988079071 [Pipeline] stash 22:34:28 Stashed 1 file(s) [Pipeline] } 22:34:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:28 $ docker stop --time=1 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 22:34:28 using credential edgex-jenkins-ssh 22:34:28 Cloning the remote Git repository 22:34:28 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:34:28 > git init /w/workspace/device-rest-go/1 # timeout=10 22:34:29 $ docker rm -f 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:34:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:34:28 > git --version # timeout=10 22:34:28 > git --version # 'git version 2.25.1' 22:34:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:28 Verifying host key using known hosts file 22:34:29 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:34:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:34:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:34:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:34:32 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 22:34:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:34:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:34:31 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:31 Verifying host key using known hosts file 22:34:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:34:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:34:32 > git config core.sparsecheckout # timeout=10 22:34:32 > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 22:34:32 > git remote # timeout=10 22:34:32 > git config --get remote.origin.url # timeout=10 22:34:32 using GIT_SSH to set credentials SSH Credentials for GitHub 22:34:32 Verifying host key using known hosts file 22:34:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:34:32 > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 22:34:32 > git rev-parse HEAD^{commit} # timeout=10 22:34:32 Merge succeeded, producing 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 22:34:32 Checking out Revision 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 (PR-224) 22:34:32 > git config core.sparsecheckout # timeout=10 22:34:32 > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 22:34:36 Commit message: "build: Latest go-mods, config and Dockerfile fix" 22:34:36 > git --version # timeout=10 22:34:36 > git --version # 'git version 2.25.1' 22:34:36 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:34:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:34:37 % Total % Received % Xferd Average Speed Time Time Time Current 22:34:37 Dload Upload Total Spent Left Speed 22:34:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 58816 0 --:--:-- --:--:-- --:--:-- 58527 100 12602 100 12602 0 0 61774 0 --:--:-- --:--:-- --:--:-- 61774 [Pipeline] sh 22:34:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:34:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:34:38 + sudo tee /etc/docker/daemon.new 22:34:38 { 22:34:38 "registry-mirrors": [ 22:34:38 "https://nexus3.edgexfoundry.org:10001" 22:34:38 ], 22:34:38 "bip": "10.250.0.254/24", 22:34:38 "hosts": [ 22:34:38 "tcp://0.0.0.0:5555", 22:34:38 "unix:///var/run/docker.sock" 22:34:38 ], 22:34:38 "mtu": 1458, 22:34:38 "selinux-enabled": true, 22:34:38 "seccomp-profile": "/etc/docker/seccomp.json" 22:34:38 } [Pipeline] sh 22:34:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:34:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:34:57 provisioning config files... 22:34:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10120367530738349970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:57 ---> docker-login.sh 22:34:57 nexus3.edgexfoundry.org:10001 22:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:58 Configure a credential helper to remove this warning. See 22:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:58 22:34:58 Login Succeeded 22:34:58 nexus3.edgexfoundry.org:10002 22:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:58 Configure a credential helper to remove this warning. See 22:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:58 22:34:58 Login Succeeded 22:34:58 nexus3.edgexfoundry.org:10003 22:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:58 Configure a credential helper to remove this warning. See 22:34:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:58 22:34:58 Login Succeeded 22:34:58 nexus3.edgexfoundry.org:10004 22:34:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:59 Configure a credential helper to remove this warning. See 22:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:59 22:34:59 Login Succeeded 22:34:59 docker.io 22:34:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:34:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:34:59 Configure a credential helper to remove this warning. See 22:34:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:34:59 22:34:59 Login Succeeded 22:34:59 ---> docker-login.sh ends [Pipeline] } 22:34:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:00 ========================================================= 22:35:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:35:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:35:00 Sending build context to Docker daemon 128kB 22:35:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 22:35:01 Step 2/12 : FROM ${BASE} AS builder 22:35:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:35:01 9b18e9b68314: Pulling fs layer 22:35:01 d32db5db7311: Pulling fs layer 22:35:01 d0c4b47475fc: Pulling fs layer 22:35:01 5831b945b038: Pulling fs layer 22:35:01 86bbec2aaacd: Pulling fs layer 22:35:01 e10730c5d714: Pulling fs layer 22:35:01 5dd5c2283517: Pulling fs layer 22:35:01 d5ac0230b979: Pulling fs layer 22:35:01 5831b945b038: Waiting 22:35:01 86bbec2aaacd: Waiting 22:35:01 e10730c5d714: Waiting 22:35:01 5dd5c2283517: Waiting 22:35:01 d5ac0230b979: Waiting 22:35:01 d0c4b47475fc: Download complete 22:35:01 d32db5db7311: Verifying Checksum 22:35:01 d32db5db7311: Download complete 22:35:01 86bbec2aaacd: Download complete 22:35:01 e10730c5d714: Verifying Checksum 22:35:01 e10730c5d714: Download complete 22:35:01 9b18e9b68314: Verifying Checksum 22:35:01 9b18e9b68314: Download complete 22:35:02 9b18e9b68314: Pull complete 22:35:02 d5ac0230b979: Verifying Checksum 22:35:02 d5ac0230b979: Download complete 22:35:03 d32db5db7311: Pull complete 22:35:03 d0c4b47475fc: Pull complete 22:35:03 5dd5c2283517: Verifying Checksum 22:35:03 5dd5c2283517: Download complete 22:35:04 5831b945b038: Verifying Checksum 22:35:04 5831b945b038: Download complete 22:35:16 5831b945b038: Pull complete 22:35:16 86bbec2aaacd: Pull complete 22:35:16 e10730c5d714: Pull complete 22:35:23 5dd5c2283517: Pull complete 22:35:24 d5ac0230b979: Pull complete 22:35:24 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 22:35:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:35:24 ---> 59b3b1a385d4 22:35:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:35:25 ---> Running in 30a38fd63bef 22:35:26 Removing intermediate container 30a38fd63bef 22:35:26 ---> e1b8bc61e9ce 22:35:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:35:26 ---> Running in dcfae9fcf0bb 22:35:26 Removing intermediate container dcfae9fcf0bb 22:35:26 ---> 4c1855a892b8 22:35:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:35:26 ---> Running in 53c854e00050 22:35:27 Removing intermediate container 53c854e00050 22:35:27 ---> cb698680499c 22:35:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:35:27 ---> Running in a99b66f884a6 22:35:27 Removing intermediate container a99b66f884a6 22:35:27 ---> 08cde7cfcc25 22:35:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:35:27 ---> Running in ffff02143462 22:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:35:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:35:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:35:29 (2/4) Installing libedit (20210910.3.1-r0) 22:35:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:35:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:35:29 Executing busybox-1.35.0-r17.trigger 22:35:29 OK: 226 MiB in 55 packages 22:35:30 Removing intermediate container ffff02143462 22:35:30 ---> e5b1e7d7ca02 22:35:30 Step 8/12 : WORKDIR /device-rest-go 22:35:30 ---> Running in fdbe9786dd5b 22:35:31 Removing intermediate container fdbe9786dd5b 22:35:31 ---> 7136433faae9 22:35:31 Step 9/12 : COPY go.mod vendor* ./ 22:35:31 ---> 531e43308927 22:35:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:35:31 ---> Running in be06ede653b0 22:36:28 Removing intermediate container be06ede653b0 22:36:28 ---> 8a4986addc48 22:36:28 Step 11/12 : COPY . . 22:36:28 ---> 94ef133527e4 22:36:28 Step 12/12 : RUN $MAKE 22:36:28 ---> Running in 13995815b163 22:36:28 noop 22:36:28 Removing intermediate container 13995815b163 22:36:28 ---> dbc5919fe004 22:36:28 Successfully built dbc5919fe004 22:36:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:28 + docker inspect -f . ci-base-image-arm64 22:36:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:28 prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container 22:36:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 22:36:30 $ docker top 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:31 + go version 22:36:31 go version go1.18.7 linux/arm64 [Pipeline] } 22:36:31 $ docker stop --time=1 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 22:36:32 $ docker rm -f 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:36:33 + docker inspect -f . ci-base-image-arm64 22:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:36:33 prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container 22:36:33 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 22:36:34 $ docker top 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:36:35 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 22:36:35 + make test 22:36:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:36:37 ? github.com/edgexfoundry/device-rest-go [no test files] 22:37:59 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:37:59 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 22:37:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:37:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:38:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:38:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:38:21 ./bin/test-attribution-txt.sh [Pipeline] echo 22:38:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:38:21 $ docker stop --time=1 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 22:38:23 $ docker rm -f 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 [Pipeline] // withDockerContainer [Pipeline] sh 22:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:38:24 Warning: overwriting stash ‘coverage-report’ 22:38:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:38:25 + ls -al . 22:38:25 total 180 22:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:36 . 22:38:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:34 .. 22:38:25 -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 22:34 .dockerignore 22:38:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:34 .git 22:38:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:34 .github 22:38:25 -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 22:34 .gitignore 22:38:25 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:34 .golangci.yml 22:38:25 -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 22:34 Attribution.txt 22:38:25 -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 22:34 CHANGELOG.md 22:38:25 -rw-rw-r-- 1 jenkins jenkins 1641 Oct 25 22:34 Dockerfile 22:38:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:34 GOVERNANCE.md 22:38:25 -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:34 Jenkinsfile 22:38:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:34 LICENSE 22:38:25 -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 22:34 Makefile 22:38:25 -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:34 OWNERS.md 22:38:25 -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 22:34 README.md 22:38:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:32 VERSION 22:38:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:34 bin 22:38:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:34 cmd 22:38:25 -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 22:37 coverage.out 22:38:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:34 driver 22:38:25 -rw-rw-r-- 1 jenkins jenkins 3536 Oct 25 22:34 go.mod 22:38:25 -rw-rw-r-- 1 jenkins jenkins 44967 Oct 25 22:34 go.sum 22:38:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:34 snap 22:38:25 -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 22:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:26 + 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=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 --label arch=arm64 --label version=0.0.0 . 22:38:26 Sending build context to Docker daemon 138.2kB 22:38:26 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:38:26 Step 2/25 : FROM ${BASE} AS builder 22:38:26 ---> dbc5919fe004 22:38:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:38:26 ---> Running in 20238c2b500a 22:38:26 Removing intermediate container 20238c2b500a 22:38:26 ---> 10f4f88c6b0d 22:38:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:38:26 ---> Running in 9b4bf44ba00b 22:38:26 Removing intermediate container 9b4bf44ba00b 22:38:26 ---> b7d3c78a3a26 22:38:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:38:27 ---> Running in 5cdf57c4aaf8 22:38:27 Removing intermediate container 5cdf57c4aaf8 22:38:27 ---> 1340e99478dd 22:38:27 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:38:27 ---> Running in 417ab97099fd 22:38:27 Removing intermediate container 417ab97099fd 22:38:27 ---> 5c1773e14a5d 22:38:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:38:27 ---> Running in 9584f5b85358 22:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:38:29 OK: 226 MiB in 55 packages 22:38:30 Removing intermediate container 9584f5b85358 22:38:30 ---> 0c96bc093e10 22:38:30 Step 8/25 : WORKDIR /device-rest-go 22:38:30 ---> Running in 96ab54dddbea 22:38:30 Removing intermediate container 96ab54dddbea 22:38:30 ---> cb0fb82e26f3 22:38:30 Step 9/25 : COPY go.mod vendor* ./ 22:38:31 ---> 5fefc055b017 22:38:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:31 ---> Running in 3c611ec7a719 22:38:33 Removing intermediate container 3c611ec7a719 22:38:33 ---> 2c0cdafc01b9 22:38:33 Step 11/25 : COPY . . 22:38:33 ---> b8835d021aa1 22:38:33 Step 12/25 : RUN $MAKE 22:38:33 ---> Running in 4ce23e0bb6cb 22:38:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:41:11 Removing intermediate container 4ce23e0bb6cb 22:41:11 ---> 48e58c9bf83e 22:41:11 Step 13/25 : FROM alpine:3.16 22:41:11 3.16: Pulling from library/alpine 22:41:11 9b18e9b68314: Already exists 22:41:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:41:11 Status: Downloaded newer image for alpine:3.16 22:41:11 ---> a6215f271958 22:41:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:41:11 ---> Running in e20caef9bfb1 22:41:11 Removing intermediate container e20caef9bfb1 22:41:11 ---> c226aeb4ca00 22:41:11 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 22:41:11 ---> Running in 9b7a3c71cb41 22:41:11 Removing intermediate container 9b7a3c71cb41 22:41:11 ---> 117a8df0eb48 22:41:11 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:41:11 ---> Running in 67d5e5c69c40 22:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:41:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:41:11 (1/6) Installing dumb-init (1.2.5-r1) 22:41:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:41:11 (3/6) Installing libsodium (1.0.18-r0) 22:41:11 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:41:11 (5/6) Installing libzmq (4.3.4-r0) 22:41:11 (6/6) Installing zeromq (4.3.4-r0) 22:41:11 Executing busybox-1.35.0-r17.trigger 22:41:11 OK: 8 MiB in 20 packages 22:41:11 Removing intermediate container 67d5e5c69c40 22:41:11 ---> 5c1b5703f208 22:41:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 22:41:11 ---> ae731e9c89d2 22:41:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 22:41:11 ---> 0b75e78b5774 22:41:11 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 22:41:11 ---> 165d09adc1e7 22:41:11 Step 20/25 : EXPOSE 59986 22:41:11 ---> Running in 2861cf113087 22:41:11 Removing intermediate container 2861cf113087 22:41:11 ---> 394c87151337 22:41:11 Step 21/25 : ENTRYPOINT ["/device-rest"] 22:41:11 ---> Running in 87e311ceea94 22:41:11 Removing intermediate container 87e311ceea94 22:41:11 ---> fcb740dad341 22:41:11 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:41:11 ---> Running in d19911beb3cd 22:41:11 Removing intermediate container d19911beb3cd 22:41:11 ---> 081d9255874d 22:41:11 Step 23/25 : LABEL arch=arm64 22:41:11 ---> Running in c2685d63fab9 22:41:11 Removing intermediate container c2685d63fab9 22:41:11 ---> 0062d892e40f 22:41:11 Step 24/25 : LABEL git_sha=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 22:41:11 ---> Running in 38a33a0ac9dc 22:41:11 Removing intermediate container 38a33a0ac9dc 22:41:11 ---> 4f982145d6d8 22:41:11 Step 25/25 : LABEL version=0.0.0 22:41:11 ---> Running in 3d3cf63485c3 22:41:11 Removing intermediate container 3d3cf63485c3 22:41:11 ---> 5cd5ae2f8fe8 22:41:11 [Warning] One or more build-args [ARCH] were not consumed 22:41:11 Successfully built 5cd5ae2f8fe8 22:41:11 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 22:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:12 22:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:13 arm64: Pulling from edgex-lftools-log-publisher 22:41:13 8998bd30e6a1: Pulling fs layer 22:41:13 04944245beec: Pulling fs layer 22:41:13 699f458cf7ca: Pulling fs layer 22:41:13 765212b225bb: Pulling fs layer 22:41:13 f23df028b6ca: Pulling fs layer 22:41:13 765212b225bb: Waiting 22:41:13 d65c8cfc05b1: Pulling fs layer 22:41:13 2437ff75d9bd: Pulling fs layer 22:41:13 f23df028b6ca: Waiting 22:41:13 d65c8cfc05b1: Waiting 22:41:13 2437ff75d9bd: Waiting 22:41:13 04944245beec: Verifying Checksum 22:41:13 04944245beec: Download complete 22:41:13 765212b225bb: Verifying Checksum 22:41:13 765212b225bb: Download complete 22:41:13 f23df028b6ca: Verifying Checksum 22:41:13 f23df028b6ca: Download complete 22:41:13 d65c8cfc05b1: Verifying Checksum 22:41:13 d65c8cfc05b1: Download complete 22:41:13 699f458cf7ca: Verifying Checksum 22:41:13 699f458cf7ca: Download complete 22:41:13 8998bd30e6a1: Verifying Checksum 22:41:13 8998bd30e6a1: Download complete 22:41:16 2437ff75d9bd: Verifying Checksum 22:41:16 2437ff75d9bd: Download complete 22:41:17 8998bd30e6a1: Pull complete 22:41:18 04944245beec: Pull complete 22:41:19 699f458cf7ca: Pull complete 22:41:19 765212b225bb: Pull complete 22:41:20 f23df028b6ca: Pull complete 22:41:20 d65c8cfc05b1: Pull complete 22:41:35 2437ff75d9bd: Pull complete 22:41:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:41:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:41:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:36 prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container 22:41:36 $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 22:41:38 $ docker top df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:39 ---> job-cost.sh 22:41:39 lf-activate-venv: SKIPPING 22:41:39 INFO: No Stack... 22:41:39 INFO: Retrieving Pricing Info for: v3-standard-4 22:41:40 INFO: Archiving Costs [Pipeline] sh 22:41:41 + + cat /w/workspace/device-rest-go/1/archives/cost.csvcut 22:41:41 -d, -f6 [Pipeline] lock 22:41:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] 22:41:41 Resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] did not exist. Created. 22:41:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:41:41 /w/workspace/device-rest-go/1@tmp/durable-98c25b93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:41:42 + echo total: 0.10999999940395355 [Pipeline] stash 22:41:42 Warning: overwriting stash ‘stack-cost’ 22:41:42 Stashed 1 file(s) [Pipeline] } 22:41:42 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:41:42 $ docker stop --time=1 df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb 22:41:44 $ docker rm -f df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb [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 22:41:45 provisioning config files... 22:41:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config7207259115516039875tmp [Pipeline] { [Pipeline] sh 22:41:45 + set +x 22:41:45 + curl -s https://codecov.io/bash 22:41:45 + bash -s -- 22:41:45 22:41:45 _____ _ 22:41:45 / ____| | | 22:41:45 | | ___ __| | ___ ___ _____ __ 22:41:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:41:45 | |___| (_) | (_| | __/ (_| (_) \ V / 22:41:45 \_____\___/ \__,_|\___|\___\___/ \_/ 22:41:45 Bash-1.0.6 22:41:45 22:41:45 22:41:45 ==> git version 2.25.1 found 22:41:45 ==> 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 22:41:45 Release-Date: 2020-01-08 22:41:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:41:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:41:45 ==> Jenkins CI detected. 22:41:45 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-224 22:41:45 project root: . 22:41:45 --> token set from env 22:41:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:41:45 ==> Running gcov in . (disable via -X gcov) 22:41:45 ==> Python coveragepy not found 22:41:45 ==> Searching for coverage reports in: 22:41:45 + . 22:41:45 -> Found 1 reports 22:41:45 ==> Detecting git/mercurial file structure 22:41:45 ==> Reading reports 22:41:45 + ./coverage.out bytes=9355 22:41:45 ==> Appending adjustments 22:41:45 https://docs.codecov.io/docs/fixing-reports 22:41:45 + Found adjustments 22:41:45 ==> Gzipping contents 22:41:45 4.0K /tmp/codecov.sf0bww.gz 22:41:45 ==> Uploading reports 22:41:45 url: https://codecov.io 22:41:45 query: branch=PR-224&commit=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= 22:41:45 -> Pinging Codecov 22:41:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-224&commit=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= 22:41:46 -> Uploading to 22:41:46 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704/192cf435-9823-4026-a69b-4a91b129b679.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T224145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d1338618c34a5e4bc2c5e34183b60dede8fed4792469902e47a322a502ee745 22:41:46 % Total % Received % Xferd Average Speed Time Time Time Current 22:41:46 Dload Upload Total Spent Left Speed 22:41:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7828 100 1738 0 0 100 1738 0 7122 --:--:-- --:--:-- --:--:-- 7093 22:41:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] } 22:41:46 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 22:41:48 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-224/archives ] 22:41:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives 22:41:48 total 16 22:41:48 drwxr-xr-x 3 root root 4096 Oct 25 22:34 . 22:41:48 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:34 .. 22:41:48 drwxr-xr-x 2 root root 4096 Oct 25 22:34 cost 22:41:48 -rw-r--r-- 1 root root 86 Oct 25 22:34 cost.csv 22:41:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-224/archives 22:41:48 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives 22:41:48 total 16 22:41:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:34 . 22:41:48 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:34 .. 22:41:48 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:34 cost 22:41:48 -rw-r--r-- 1 jenkins jenkins 86 Oct 25 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:41:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:41:49 ---> package-listing.sh 22:41:49 ++ facter osfamily 22:41:49 ++ tr '[:upper:]' '[:lower:]' 22:41:49 + OS_FAMILY=debian 22:41:49 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-224 22:41:49 + START_PACKAGES=/tmp/packages_start.txt 22:41:49 + END_PACKAGES=/tmp/packages_end.txt 22:41:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:41:49 + PACKAGES=/tmp/packages_start.txt 22:41:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' 22:41:49 + PACKAGES=/tmp/packages_end.txt 22:41:49 + case "${OS_FAMILY}" in 22:41:49 + dpkg -l 22:41:49 + grep '^ii' 22:41:49 + '[' -f /tmp/packages_start.txt ']' 22:41:49 + '[' -f /tmp/packages_end.txt ']' 22:41:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:41:49 + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' 22:41:49 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ 22:41:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ [Pipeline] echo 22:41:49 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-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:41:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:41:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:50 prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container 22:41:50 $ 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-224/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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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 22:41:50 $ docker top edb2b4a3b4823692a1c989ceb59c25cf801425324bd186fb517cd42ee1ba3206 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:51 + touch /tmp/pre-build-complete [Pipeline] sh 22:41:51 + mkdir -p /var/log/sysstat [Pipeline] sh 22:41:51 + ls /var/log/sa-host 22:41:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:52 provisioning config files... 22:41:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config7707717619394476246tmp [Pipeline] { [Pipeline] echo 22:41:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:41:52 ---> create-netrc.sh [Pipeline] } 22:41:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:41:52 ---> python-tools-install.sh [Pipeline] echo 22:41:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:41:53 ---> sudo-logs.sh 22:41:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:41:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:41:53 ---> job-cost.sh 22:41:53 lf-activate-venv: SKIPPING 22:41:53 DEBUG: total: 0.2199999988079071 22:41:53 INFO: Retrieving Stack Cost... 22:41:54 INFO: Retrieving Pricing Info for: v3-standard-8 22:41:54 INFO: Archiving Costs [Pipeline] echo 22:41:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:41:54 ---> logs-deploy.sh 22:41:54 lf-activate-venv: SKIPPING 22:41:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-224/1 22:41:54 INFO: archiving workspace using pattern(s): 22:41:55 Archives upload complete. 22:41:56 INFO: archiving logs to Nexus