Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token 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-ssh4837709780208482022.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-ssh7703758162440731226.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10999058085726465256.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 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-ssh4329585161775240986.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9975692122529137644.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116898 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (main) Commit message: "Merge pull request #223 from hahattan/update-topic" > git config core.sparsecheckout # timeout=10 > git checkout -f 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-list --no-walk 280325e4612ce8aecdce91e221aa23a95129edcb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:09:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:09:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:09:58 ========================================================= 16:09:58 EdgeX Global Pipelines Version Info 16:09:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:09:59 ------------------- 16:09:59 stable info: 16:09:59 ------------------- 16:09:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:09:59 Message: update stable to v1.0.243 16:09:59 ------------------- 16:09:59 experimental info: 16:09:59 ------------------- 16:09:59 Commited By: **** collab-it+edgex@linuxfoundation.org 16:09:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:09:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02d6d2e [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:00 provisioning config files... 16:10:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config401323497740045034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:00 ---> docker-login.sh 16:10:00 nexus3.edgexfoundry.org:10001 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 nexus3.edgexfoundry.org:10002 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 nexus3.edgexfoundry.org:10003 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 nexus3.edgexfoundry.org:10004 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 docker.io 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 ---> docker-login.sh ends [Pipeline] } 16:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:10:02 + git rev-list -1 --merges 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2~1..02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo 16:10:02 -----------> git rev-list -1 --merges 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2~1..02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 16:10:02 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [false] [Pipeline] sh 16:10:02 + git log --format=format:%s -1 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo 16:10:02 ========================================================= 16:10:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:10:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:02 + git log --format=format:%s -1 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo 16:10:02 [semverPrep] GIT_COMMIT: 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2, Commit Message: Merge pull request #223 from hahattan/update-topic [Pipeline] echo 16:10:02 [semverPrep] This is not a build commit. [Pipeline] sh 16:10:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:03 + grep -v github /etc/ssh/ssh_known_hosts 16:10:03 + [ -e /tmp/ssh_known_hosts ] 16:10:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:10:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:10:03 + sudo tee -a /etc/ssh/ssh_known_hosts 16:10:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:03 16:10:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:03 0.1.4: Pulling from edgex-devops/py-git-semver 16:10:03 b85a868b505f: Pulling fs layer 16:10:03 e2be974225ed: Pulling fs layer 16:10:03 339a4e72a1f5: Pulling fs layer 16:10:03 988bab9f4d93: Pulling fs layer 16:10:03 1469e6f7b9e6: Pulling fs layer 16:10:03 eaf3925da568: Pulling fs layer 16:10:03 bab4dde63d76: Pulling fs layer 16:10:03 bde34c3a00c8: Pulling fs layer 16:10:03 b352a97aabf1: Pulling fs layer 16:10:03 4872d77fe225: Pulling fs layer 16:10:03 5851b861e8e6: Pulling fs layer 16:10:03 988bab9f4d93: Waiting 16:10:03 bab4dde63d76: Waiting 16:10:03 b352a97aabf1: Waiting 16:10:03 4872d77fe225: Waiting 16:10:03 eaf3925da568: Waiting 16:10:03 5851b861e8e6: Waiting 16:10:03 1469e6f7b9e6: Waiting 16:10:03 e2be974225ed: Verifying Checksum 16:10:03 e2be974225ed: Download complete 16:10:03 988bab9f4d93: Verifying Checksum 16:10:03 988bab9f4d93: Download complete 16:10:04 339a4e72a1f5: Verifying Checksum 16:10:04 339a4e72a1f5: Download complete 16:10:04 1469e6f7b9e6: Verifying Checksum 16:10:04 1469e6f7b9e6: Download complete 16:10:04 eaf3925da568: Verifying Checksum 16:10:04 eaf3925da568: Download complete 16:10:04 bde34c3a00c8: Download complete 16:10:04 b352a97aabf1: Verifying Checksum 16:10:04 b352a97aabf1: Download complete 16:10:04 4872d77fe225: Verifying Checksum 16:10:04 4872d77fe225: Download complete 16:10:04 5851b861e8e6: Download complete 16:10:04 b85a868b505f: Verifying Checksum 16:10:04 b85a868b505f: Download complete 16:10:04 bab4dde63d76: Verifying Checksum 16:10:04 bab4dde63d76: Download complete 16:10:05 b85a868b505f: Pull complete 16:10:05 e2be974225ed: Pull complete 16:10:06 339a4e72a1f5: Pull complete 16:10:06 988bab9f4d93: Pull complete 16:10:06 1469e6f7b9e6: Pull complete 16:10:06 eaf3925da568: Pull complete 16:10:08 bab4dde63d76: Pull complete 16:10:08 bde34c3a00c8: Pull complete 16:10:08 b352a97aabf1: Pull complete 16:10:08 4872d77fe225: Pull complete 16:10:08 5851b861e8e6: Pull complete 16:10:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:08 prd-ubuntu20.04-docker-8c-8g-116898 does not seem to be running inside a container 16:10:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:11 $ docker top d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 -eo pid,comm 16:10:11 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). 16:10:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:11 [ssh-agent] Looking for ssh-agent implementation... 16:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:11 $ docker exec d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 ssh-agent 16:10:11 SSH_AUTH_SOCK=/tmp/ssh-pojwUPaqU2XV/agent.32 16:10:11 SSH_AGENT_PID=38 16:10:11 Running ssh-add (command line suppressed) 16:10:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8682899042811604660.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8682899042811604660.key) 16:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:11 + git tag --points-at HEAD [Pipeline] } 16:10:11 $ docker exec --env ******** --env ******** d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 ssh-agent -k 16:10:12 unset SSH_AUTH_SOCK; 16:10:12 unset SSH_AGENT_PID; 16:10:12 echo Agent pid 38 killed; 16:10:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:10:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:12 [ssh-agent] Looking for ssh-agent implementation... 16:10:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:12 $ docker exec d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 ssh-agent 16:10:12 SSH_AUTH_SOCK=/tmp/ssh-JdKgHltOMvF4/agent.70 16:10:12 SSH_AGENT_PID=76 16:10:12 Running ssh-add (command line suppressed) 16:10:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10914071789584663017.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10914071789584663017.key) 16:10:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:12 + git semver init 16:10:12 2022-10-25 16:10:12,950 [run_init] DEBUG init version:0.0.0 force:False 16:10:12 2022-10-25 16:10:12,951 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:10:12 2022-10-25 16:10:12,952 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:10:12 2022-10-25 16:10:12,952 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:10:14 2022-10-25 16:10:14,049 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:10:14 2022-10-25 16:10:14,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:10:14 2022-10-25 16:10:14,049 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:14 2022-10-25 16:10:14,050 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:10:14 2.3.0-dev.21 [Pipeline] } 16:10:14 $ docker exec --env ******** --env ******** d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 ssh-agent -k 16:10:14 unset SSH_AUTH_SOCK; 16:10:14 unset SSH_AGENT_PID; 16:10:14 echo Agent pid 76 killed; 16:10:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:14 + git semver [Pipeline] } 16:10:15 $ docker stop --time=1 d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 16:10:16 $ docker rm -f d554240d4bd1248fc785bebca40f7074a5604e7debe352bfbac58226891fa4e2 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:10:16 Stashed 1 file(s) [Pipeline] echo 16:10:16 [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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 16:10:17 provisioning config files... 16:10:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4719989492523035255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:17 ---> docker-login.sh 16:10:17 nexus3.edgexfoundry.org:10001 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 nexus3.edgexfoundry.org:10002 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 nexus3.edgexfoundry.org:10003 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 nexus3.edgexfoundry.org:10004 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 docker.io 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:18 Configure a credential helper to remove this warning. See 16:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:18 16:10:18 Login Succeeded 16:10:18 ---> docker-login.sh ends [Pipeline] } 16:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:18 ========================================================= 16:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:18 + 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 . 16:10:18 Sending build context to Docker daemon 10.74MB 16:10:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:10:18 Step 2/13 : FROM ${BASE} AS builder 16:10:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:10:18 213ec9aee27d: Pulling fs layer 16:10:18 4583459ba037: Pulling fs layer 16:10:18 93c1e223e6f2: Pulling fs layer 16:10:18 53926ce57604: Pulling fs layer 16:10:18 21b2b0c7a3f4: Pulling fs layer 16:10:18 53926ce57604: Waiting 16:10:18 30f14e443154: Pulling fs layer 16:10:18 801331c1e519: Pulling fs layer 16:10:18 30f14e443154: Waiting 16:10:18 99cc6dd402b0: Pulling fs layer 16:10:18 7d9ed39f4882: Pulling fs layer 16:10:18 801331c1e519: Waiting 16:10:18 99cc6dd402b0: Waiting 16:10:18 7d9ed39f4882: Waiting 16:10:18 93c1e223e6f2: Verifying Checksum 16:10:18 93c1e223e6f2: Download complete 16:10:18 4583459ba037: Download complete 16:10:18 21b2b0c7a3f4: Verifying Checksum 16:10:18 21b2b0c7a3f4: Download complete 16:10:18 30f14e443154: Download complete 16:10:19 801331c1e519: Download complete 16:10:19 213ec9aee27d: Download complete 16:10:19 213ec9aee27d: Pull complete 16:10:19 4583459ba037: Pull complete 16:10:19 93c1e223e6f2: Pull complete 16:10:19 53926ce57604: Download complete 16:10:19 7d9ed39f4882: Verifying Checksum 16:10:19 7d9ed39f4882: Download complete 16:10:20 99cc6dd402b0: Verifying Checksum 16:10:20 99cc6dd402b0: Download complete 16:10:23 53926ce57604: Pull complete 16:10:24 21b2b0c7a3f4: Pull complete 16:10:24 30f14e443154: Pull complete 16:10:24 801331c1e519: Pull complete 16:10:26 99cc6dd402b0: Pull complete 16:10:27 7d9ed39f4882: Pull complete 16:10:27 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:10:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:10:27 ---> 1dedd983c030 16:10:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:10:30 ---> Running in 04f286f31910 16:10:30 Removing intermediate container 04f286f31910 16:10:30 ---> dbf6812f33a4 16:10:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:10:30 ---> Running in 670a5a99a107 16:10:30 Removing intermediate container 670a5a99a107 16:10:30 ---> ebda6fd1f986 16:10:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:10:30 ---> Running in 9531579dad40 16:10:30 Removing intermediate container 9531579dad40 16:10:30 ---> 3a46f033f0f1 16:10:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:10:30 ---> Running in b8ea8331fb04 16:10:30 Removing intermediate container b8ea8331fb04 16:10:30 ---> c09201a7237f 16:10:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:30 ---> Running in cf57ee5e92f7 16:10:31 Removing intermediate container cf57ee5e92f7 16:10:31 ---> 460c08901d85 16:10:31 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:10:31 ---> Running in ce4d25558bb0 16:10:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:10:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:10:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:10:31 ERROR: unable to select packages: 16:10:31  openssh-client (no such package): 16:10:31 required by: world[openssh-client] 16:10:32 Still waiting to schedule task 16:10:32 ‘prd-ubuntu20.04-docker-8c-8g-116887’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:10:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116900’ is offline 16:10:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116901’ is offline 16:10:32 The command '/bin/sh -c apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:32 16:10:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:32 latest: Pulling from edgex-lftools-log-publisher 16:10:32 5eb5b503b376: Pulling fs layer 16:10:32 5c69ac0246d0: Pulling fs layer 16:10:32 ec43610c2a17: Pulling fs layer 16:10:32 3a2ae6a8a46f: Pulling fs layer 16:10:32 33b1e0a273af: Pulling fs layer 16:10:32 5d3b04190fa2: Pulling fs layer 16:10:32 2f39f015ded8: Pulling fs layer 16:10:32 3a2ae6a8a46f: Waiting 16:10:32 33b1e0a273af: Waiting 16:10:32 5d3b04190fa2: Waiting 16:10:32 2f39f015ded8: Waiting 16:10:32 5c69ac0246d0: Download complete 16:10:32 3a2ae6a8a46f: Verifying Checksum 16:10:32 3a2ae6a8a46f: Download complete 16:10:33 33b1e0a273af: Verifying Checksum 16:10:33 33b1e0a273af: Download complete 16:10:33 ec43610c2a17: Verifying Checksum 16:10:33 ec43610c2a17: Download complete 16:10:33 5d3b04190fa2: Verifying Checksum 16:10:33 5d3b04190fa2: Download complete 16:10:33 5eb5b503b376: Verifying Checksum 16:10:33 5eb5b503b376: Download complete 16:10:34 2f39f015ded8: Download complete 16:10:34 5eb5b503b376: Pull complete 16:10:34 5c69ac0246d0: Pull complete 16:10:35 ec43610c2a17: Pull complete 16:10:35 3a2ae6a8a46f: Pull complete 16:10:35 33b1e0a273af: Pull complete 16:10:35 5d3b04190fa2: Pull complete 16:10:40 2f39f015ded8: Pull complete 16:10:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:10:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:10:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:40 prd-ubuntu20.04-docker-8c-8g-116898 does not seem to be running inside a container 16:10:41 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:10:43 $ docker top afed2ebacfe987086262326ac458efd68b6b13a317817a1ace7eea3ae0afa504 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:43 ---> job-cost.sh 16:10:43 lf-activate-venv: SKIPPING 16:10:43 INFO: No Stack... 16:10:44 INFO: Retrieving Pricing Info for: v3-standard-8 16:10:44 INFO: Archiving Costs [Pipeline] sh 16:10:44 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:10:44 + cut -d, -f6 [Pipeline] lock 16:10:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] 16:10:44 Resource [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] did not exist. Created. 16:10:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:10:45 + echo total: 0.2199999988079071 [Pipeline] stash 16:10:45 Stashed 1 file(s) [Pipeline] } 16:10:45 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:10:45 $ docker stop --time=1 afed2ebacfe987086262326ac458efd68b6b13a317817a1ace7eea3ae0afa504 16:10:46 $ docker rm -f afed2ebacfe987086262326ac458efd68b6b13a317817a1ace7eea3ae0afa504 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:10:46 Failed in branch amd64 16:20:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116907 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:20:44 Running in /w/workspace/device-rest-go/66 [Pipeline] { [Pipeline] checkout 16:20:44 The recommended git tool is: git 16:20:49 using credential edgex-jenkins-ssh 16:20:49 Cloning the remote Git repository 16:20:49 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:20:49 > git init /w/workspace/device-rest-go/66 # timeout=10 16:20:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:20:50 > git --version # timeout=10 16:20:50 > git --version # 'git version 2.25.1' 16:20:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:20:50 Verifying host key using known hosts file 16:20:50 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. 16:20:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:20:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:53 Avoid second fetch 16:20:53 Checking out Revision 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (main) 16:20:54 Commit message: "Merge pull request #223 from hahattan/update-topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:53 > git config core.sparsecheckout # timeout=10 16:20:53 > git checkout -f 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 16:20:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 16:20:54 Dload Upload Total Spent Left Speed 16:20:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 232k [Pipeline] sh 16:20:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:20:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:20:55 + sudo tee /etc/docker/daemon.new 16:20:55 { 16:20:55 "registry-mirrors": [ 16:20:55 "https://nexus3.edgexfoundry.org:10001" 16:20:55 ], 16:20:55 "bip": "10.250.0.254/24", 16:20:55 "hosts": [ 16:20:55 "tcp://0.0.0.0:5555", 16:20:55 "unix:///var/run/docker.sock" 16:20:55 ], 16:20:55 "mtu": 1458, 16:20:55 "selinux-enabled": true, 16:20:55 "seccomp-profile": "/etc/docker/seccomp.json" 16:20:55 } [Pipeline] sh 16:20:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:20:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:14 provisioning config files... 16:21:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/66@tmp/config11710777374891538513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:15 ---> docker-login.sh 16:21:15 nexus3.edgexfoundry.org:10001 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10002 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10003 16:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:16 Configure a credential helper to remove this warning. See 16:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:16 16:21:16 Login Succeeded 16:21:16 nexus3.edgexfoundry.org:10004 16:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:16 Configure a credential helper to remove this warning. See 16:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:16 16:21:16 Login Succeeded 16:21:16 docker.io 16:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:17 Configure a credential helper to remove this warning. See 16:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:17 16:21:17 Login Succeeded 16:21:17 ---> docker-login.sh ends [Pipeline] } 16:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:17 ========================================================= 16:21:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:21:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:17 + 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 . 16:21:17 Sending build context to Docker daemon 127.5kB 16:21:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:21:18 Step 2/13 : FROM ${BASE} AS builder 16:21:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:21:18 9b18e9b68314: Pulling fs layer 16:21:18 d32db5db7311: Pulling fs layer 16:21:18 d0c4b47475fc: Pulling fs layer 16:21:18 5831b945b038: Pulling fs layer 16:21:18 86bbec2aaacd: Pulling fs layer 16:21:18 e10730c5d714: Pulling fs layer 16:21:18 5dd5c2283517: Pulling fs layer 16:21:18 d5ac0230b979: Pulling fs layer 16:21:18 5831b945b038: Waiting 16:21:18 e10730c5d714: Waiting 16:21:18 5dd5c2283517: Waiting 16:21:18 d5ac0230b979: Waiting 16:21:18 86bbec2aaacd: Waiting 16:21:18 d0c4b47475fc: Download complete 16:21:18 d32db5db7311: Verifying Checksum 16:21:18 d32db5db7311: Download complete 16:21:18 86bbec2aaacd: Verifying Checksum 16:21:18 86bbec2aaacd: Download complete 16:21:18 e10730c5d714: Verifying Checksum 16:21:18 e10730c5d714: Download complete 16:21:18 9b18e9b68314: Download complete 16:21:18 9b18e9b68314: Pull complete 16:21:19 d5ac0230b979: Verifying Checksum 16:21:19 d5ac0230b979: Download complete 16:21:19 d32db5db7311: Pull complete 16:21:19 d0c4b47475fc: Pull complete 16:21:20 5dd5c2283517: Verifying Checksum 16:21:20 5dd5c2283517: Download complete 16:21:21 5831b945b038: Verifying Checksum 16:21:21 5831b945b038: Download complete 16:21:33 5831b945b038: Pull complete 16:21:33 86bbec2aaacd: Pull complete 16:21:33 e10730c5d714: Pull complete 16:21:40 5dd5c2283517: Pull complete 16:21:41 d5ac0230b979: Pull complete 16:21:41 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:21:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:21:41 ---> 59b3b1a385d4 16:21:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:21:43 ---> Running in 10b5e111bc2c 16:21:43 Removing intermediate container 10b5e111bc2c 16:21:43 ---> f23cad36d436 16:21:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:43 ---> Running in 23e9f5d23643 16:21:44 Removing intermediate container 23e9f5d23643 16:21:44 ---> 8ee900cbc0d6 16:21:44 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:21:44 ---> Running in b6797bc27861 16:21:44 Removing intermediate container b6797bc27861 16:21:44 ---> 1fd071a7ef8c 16:21:44 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 16:21:44 ---> Running in 8f0f086abb29 16:21:45 Removing intermediate container 8f0f086abb29 16:21:45 ---> 11b2575fe255 16:21:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:45 ---> Running in 96547e597603 16:21:46 Removing intermediate container 96547e597603 16:21:46 ---> 8baf270384c7 16:21:46 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:46 ---> Running in 5ee3ccfb429b 16:21:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:48 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:21:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:48 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:21:48 ERROR: unable to select packages: 16:21:48  openssh-client (no such package): 16:21:48 required by: world[openssh-client] 16:21:49 The command '/bin/sh -c apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:49 16:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:49 arm64: Pulling from edgex-lftools-log-publisher 16:21:49 8998bd30e6a1: Pulling fs layer 16:21:49 04944245beec: Pulling fs layer 16:21:49 699f458cf7ca: Pulling fs layer 16:21:49 765212b225bb: Pulling fs layer 16:21:49 f23df028b6ca: Pulling fs layer 16:21:49 d65c8cfc05b1: Pulling fs layer 16:21:49 2437ff75d9bd: Pulling fs layer 16:21:49 f23df028b6ca: Waiting 16:21:49 d65c8cfc05b1: Waiting 16:21:49 2437ff75d9bd: Waiting 16:21:49 765212b225bb: Waiting 16:21:50 04944245beec: Verifying Checksum 16:21:50 04944245beec: Download complete 16:21:50 765212b225bb: Verifying Checksum 16:21:50 765212b225bb: Download complete 16:21:50 f23df028b6ca: Download complete 16:21:50 d65c8cfc05b1: Verifying Checksum 16:21:50 d65c8cfc05b1: Download complete 16:21:50 699f458cf7ca: Verifying Checksum 16:21:50 699f458cf7ca: Download complete 16:21:50 8998bd30e6a1: Verifying Checksum 16:21:50 8998bd30e6a1: Download complete 16:21:53 2437ff75d9bd: Verifying Checksum 16:21:53 2437ff75d9bd: Download complete 16:21:55 8998bd30e6a1: Pull complete 16:21:55 04944245beec: Pull complete 16:21:57 699f458cf7ca: Pull complete 16:21:57 765212b225bb: Pull complete 16:21:58 f23df028b6ca: Pull complete 16:21:58 d65c8cfc05b1: Pull complete 16:22:13 2437ff75d9bd: Pull complete 16:22:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:22:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:13 prd-ubuntu20.04-docker-arm64-4c-16g-116907 does not seem to be running inside a container 16:22:13 $ 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/66 -v /w/workspace/device-rest-go/66:/w/workspace/device-rest-go/66:rw,z -v /w/workspace/device-rest-go/66@tmp:/w/workspace/device-rest-go/66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:22:16 $ docker top ecd0dab78f3af7a840d019180ab046a18e24918e36e35fa0629ef4f1b9aae547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:17 ---> job-cost.sh 16:22:17 lf-activate-venv: SKIPPING 16:22:17 INFO: No Stack... 16:22:17 INFO: Retrieving Pricing Info for: v3-standard-4 16:22:18 INFO: Archiving Costs [Pipeline] sh 16:22:19 + cat /w/workspace/device-rest-go/66/archives/cost.csv 16:22:19 + cut -d, -f6 [Pipeline] lock 16:22:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] 16:22:19 Resource [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] did not exist. Created. 16:22:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:19 /w/workspace/device-rest-go/66@tmp/durable-8466ca1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:22:20 + echo total: 0.10999999940395355 [Pipeline] stash 16:22:20 Warning: overwriting stash ‘stack-cost’ 16:22:20 Stashed 1 file(s) [Pipeline] } 16:22:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-66-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:20 $ docker stop --time=1 ecd0dab78f3af7a840d019180ab046a18e24918e36e35fa0629ef4f1b9aae547 16:22:22 $ docker rm -f ecd0dab78f3af7a840d019180ab046a18e24918e36e35fa0629ef4f1b9aae547 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:22 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:22:23 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:22:23 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:22:23 total 16 16:22:23 drwxr-xr-x 3 root root 4096 Oct 25 16:10 . 16:22:23 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 16:10 .. 16:22:23 drwxr-xr-x 2 root root 4096 Oct 25 16:10 cost 16:22:23 -rw-r--r-- 1 root root 84 Oct 25 16:10 cost.csv 16:22:23 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:22:23 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:22:23 total 16 16:22:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 16:10 . 16:22:23 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 16:10 .. 16:22:23 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 16:10 cost 16:22:23 -rw-r--r-- 1 jenkins jenkins 84 Oct 25 16:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:22:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:22:24 ---> package-listing.sh 16:22:24 ++ facter osfamily 16:22:24 ++ tr '[:upper:]' '[:lower:]' 16:22:24 + OS_FAMILY=debian 16:22:24 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:22:24 + START_PACKAGES=/tmp/packages_start.txt 16:22:24 + END_PACKAGES=/tmp/packages_end.txt 16:22:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:22:24 + PACKAGES=/tmp/packages_start.txt 16:22:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:22:24 + PACKAGES=/tmp/packages_end.txt 16:22:24 + case "${OS_FAMILY}" in 16:22:24 + dpkg -l 16:22:24 + grep '^ii' 16:22:24 + '[' -f /tmp/packages_start.txt ']' 16:22:24 + '[' -f /tmp/packages_end.txt ']' 16:22:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:22:24 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:22:24 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:22:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:22:24 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:22:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:25 prd-ubuntu20.04-docker-8c-8g-116898 does not seem to be running inside a container 16:22:25 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:25 $ docker top ddff3f448978db7d5ff487a090d13cd35aa213cf9e31c6b1738843fed289be88 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:26 + touch /tmp/pre-build-complete [Pipeline] sh 16:22:26 + mkdir -p /var/log/sysstat [Pipeline] sh 16:22:26 + ls /var/log/sa-host 16:22:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:22:26 provisioning config files... 16:22:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14537967182467180079tmp [Pipeline] { [Pipeline] echo 16:22:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:27 ---> create-netrc.sh [Pipeline] } 16:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:27 ---> python-tools-install.sh [Pipeline] echo 16:22:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:27 ---> sudo-logs.sh 16:22:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:22:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:28 ---> job-cost.sh 16:22:28 lf-activate-venv: SKIPPING 16:22:28 DEBUG: total: 0.2199999988079071 16:22:28 INFO: Retrieving Stack Cost... 16:22:28 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:28 INFO: Archiving Costs [Pipeline] echo 16:22:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:29 ---> logs-deploy.sh 16:22:29 lf-activate-venv: SKIPPING 16:22:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/66 16:22:29 INFO: archiving workspace using pattern(s): 16:22:30 Archives upload complete. 16:22:30 INFO: archiving logs to Nexus