Pull request #302 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from b91021cb91e463882b30122b38254e31238ac68e+eb73192e64f29d5b7509ef98fadefc4f8094ab1e (8367275d4c4d69f52da619fa6053a77ea068dc4f) 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-ssh9258626141354199737.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh10800071823679141411.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/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-virtual-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh295550401573221723.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15233119929264922863.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-302/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-virtual-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17953676380120095290.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual 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-24148 in /w/workspace/foundry_device-virtual-go_PR-302 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-302 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b91021cb91e463882b30122b38254e31238ac68e Merge succeeded, producing b91021cb91e463882b30122b38254e31238ac68e Checking out Revision b91021cb91e463882b30122b38254e31238ac68e (PR-302) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 Commit message: "build: Add option to build Core/Support services with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk fbd728f8c09f8879304f90be7c33fd000c39a7eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:32:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:32:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:32:29 ========================================================= 00:32:29 EdgeX Global Pipelines Version Info 00:32:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:32:30 ------------------- 00:32:30 stable info: 00:32:30 ------------------- 00:32:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:32:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:32:30 Message: update stable to v1.0.239 00:32:31 ------------------- 00:32:31 experimental info: 00:32:31 ------------------- 00:32:31 Commited By: **** collab-it+edgex@linuxfoundation.org 00:32:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 00:32:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b91021c [Pipeline] echo 00:32:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:31 provisioning config files... 00:32:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config7891384289577361153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:32 ---> docker-login.sh 00:32:32 nexus3.edgexfoundry.org:10001 00:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:32 Configure a credential helper to remove this warning. See 00:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:32 00:32:32 Login Succeeded 00:32:32 nexus3.edgexfoundry.org:10002 00:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:32 Configure a credential helper to remove this warning. See 00:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:32 00:32:32 Login Succeeded 00:32:32 nexus3.edgexfoundry.org:10003 00:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:32 Configure a credential helper to remove this warning. See 00:32:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:32 00:32:32 Login Succeeded 00:32:32 nexus3.edgexfoundry.org:10004 00:32:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:33 Configure a credential helper to remove this warning. See 00:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:33 00:32:33 Login Succeeded 00:32:33 docker.io 00:32:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:33 Configure a credential helper to remove this warning. See 00:32:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:33 00:32:33 Login Succeeded 00:32:33 ---> docker-login.sh ends [Pipeline] } 00:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:32:33 + git rev-list -1 --merges b91021cb91e463882b30122b38254e31238ac68e~1..b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo 00:32:33 -----------> git rev-list -1 --merges b91021cb91e463882b30122b38254e31238ac68e~1..b91021cb91e463882b30122b38254e31238ac68e b91021cb91e463882b30122b38254e31238ac68e [false] [Pipeline] sh 00:32:34 + git log --format=format:%s -1 b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo 00:32:34 ========================================================= 00:32:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:32:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:32:34 + git log --format=format:%s -1 b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo 00:32:34 [semverPrep] GIT_COMMIT: b91021cb91e463882b30122b38254e31238ac68e, Commit Message: build: Add option to build Core/Support services with NATS Capability [Pipeline] echo 00:32:34 [semverPrep] This is not a build commit. [Pipeline] sh 00:32:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:32:34 + grep -v github /etc/ssh/ssh_known_hosts 00:32:34 + [ -e /tmp/ssh_known_hosts ] 00:32:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:32:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:32:34 + sudo tee -a /etc/ssh/ssh_known_hosts 00:32:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:35 00:32:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:35 0.1.4: Pulling from edgex-devops/py-git-semver 00:32:35 b85a868b505f: Pulling fs layer 00:32:35 e2be974225ed: Pulling fs layer 00:32:35 339a4e72a1f5: Pulling fs layer 00:32:35 988bab9f4d93: Pulling fs layer 00:32:35 1469e6f7b9e6: Pulling fs layer 00:32:35 eaf3925da568: Pulling fs layer 00:32:35 bab4dde63d76: Pulling fs layer 00:32:35 bde34c3a00c8: Pulling fs layer 00:32:35 b352a97aabf1: Pulling fs layer 00:32:35 4872d77fe225: Pulling fs layer 00:32:35 5851b861e8e6: Pulling fs layer 00:32:35 1469e6f7b9e6: Waiting 00:32:35 eaf3925da568: Waiting 00:32:35 988bab9f4d93: Waiting 00:32:35 bab4dde63d76: Waiting 00:32:35 bde34c3a00c8: Waiting 00:32:35 b352a97aabf1: Waiting 00:32:35 e2be974225ed: Download complete 00:32:35 988bab9f4d93: Verifying Checksum 00:32:35 988bab9f4d93: Download complete 00:32:35 1469e6f7b9e6: Verifying Checksum 00:32:35 1469e6f7b9e6: Download complete 00:32:35 eaf3925da568: Download complete 00:32:35 339a4e72a1f5: Verifying Checksum 00:32:35 339a4e72a1f5: Download complete 00:32:35 bde34c3a00c8: Verifying Checksum 00:32:35 bde34c3a00c8: Download complete 00:32:35 b352a97aabf1: Download complete 00:32:35 4872d77fe225: Verifying Checksum 00:32:35 4872d77fe225: Download complete 00:32:35 5851b861e8e6: Verifying Checksum 00:32:35 5851b861e8e6: Download complete 00:32:35 b85a868b505f: Download complete 00:32:36 bab4dde63d76: Verifying Checksum 00:32:36 bab4dde63d76: Download complete 00:32:37 b85a868b505f: Pull complete 00:32:37 e2be974225ed: Pull complete 00:32:38 339a4e72a1f5: Pull complete 00:32:38 988bab9f4d93: Pull complete 00:32:38 1469e6f7b9e6: Pull complete 00:32:38 eaf3925da568: Pull complete 00:32:40 bab4dde63d76: Pull complete 00:32:40 bde34c3a00c8: Pull complete 00:32:40 b352a97aabf1: Pull complete 00:32:40 4872d77fe225: Pull complete 00:32:40 5851b861e8e6: Pull complete 00:32:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:32:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:41 prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container 00:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@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-devops/py-git-semver:0.1.4 cat 00:32:42 $ docker top 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 -eo pid,comm 00:32:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:32:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:42 [ssh-agent] Looking for ssh-agent implementation... 00:32:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:43 $ docker exec 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent 00:32:43 SSH_AUTH_SOCK=/tmp/ssh-UxHhAufy5whI/agent.33 00:32:43 SSH_AGENT_PID=39 00:32:43 Running ssh-add (command line suppressed) 00:32:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_9221405863815606403.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_9221405863815606403.key) 00:32:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:43 + git tag --points-at HEAD [Pipeline] } 00:32:43 $ docker exec --env ******** --env ******** 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent -k 00:32:43 unset SSH_AUTH_SOCK; 00:32:43 unset SSH_AGENT_PID; 00:32:43 echo Agent pid 39 killed; 00:32:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:32:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:43 [ssh-agent] Looking for ssh-agent implementation... 00:32:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:43 $ docker exec 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent 00:32:44 SSH_AUTH_SOCK=/tmp/ssh-M58irPrwRE9v/agent.71 00:32:44 SSH_AGENT_PID=78 00:32:44 Running ssh-add (command line suppressed) 00:32:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_8655847611357401989.key (/w/workspace/foundry_device-virtual-go_PR-302@tmp/private_key_8655847611357401989.key) 00:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:44 + git semver init 00:32:44 2022-08-31 00:32:44,727 [run_init] DEBUG init version:0.0.0 force:False 00:32:44 2022-08-31 00:32:44,727 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-302/.semver 00:32:44 2022-08-31 00:32:44,728 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-302/.semver 00:32:44 2022-08-31 00:32:44,728 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-302/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-302, universal_newlines=False, shell=None, istream=None) 00:32:46 2022-08-31 00:32:45,748 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-302/.git/info/exclude 00:32:46 2022-08-31 00:32:45,748 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 with force:False 00:32:46 2022-08-31 00:32:45,748 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 00:32:46 2022-08-31 00:32:45,752 [execute] INFO git cat-file --batch-check 00:32:46 2022-08-31 00:32:45,753 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 00:32:46 2022-08-31 00:32:45,760 [execute] INFO git cat-file --batch 00:32:46 2022-08-31 00:32:45,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) 00:32:46 2022-08-31 00:32:45,767 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 00:32:46 0.0.0 [Pipeline] } 00:32:46 $ docker exec --env ******** --env ******** 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent -k 00:32:46 unset SSH_AUTH_SOCK; 00:32:46 unset SSH_AGENT_PID; 00:32:46 echo Agent pid 78 killed; 00:32:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:46 + git semver [Pipeline] } 00:32:46 $ docker stop --time=1 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 00:32:48 $ docker rm -f 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 [Pipeline] // withDockerContainer [Pipeline] sh 00:32:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:32:48 Stashed 1 file(s) [Pipeline] echo 00:32:48 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:48 provisioning config files... 00:32:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config7307839796674403900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24144 in /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] { [Pipeline] ws 00:32:49 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:32:49 The recommended git tool is: git 00:32:49 ---> docker-login.sh 00:32:49 nexus3.edgexfoundry.org:10001 00:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:49 Configure a credential helper to remove this warning. See 00:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:49 00:32:49 Login Succeeded 00:32:49 nexus3.edgexfoundry.org:10002 00:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:49 Configure a credential helper to remove this warning. See 00:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:49 00:32:49 Login Succeeded 00:32:49 nexus3.edgexfoundry.org:10003 00:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:49 Configure a credential helper to remove this warning. See 00:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:49 00:32:49 Login Succeeded 00:32:49 nexus3.edgexfoundry.org:10004 00:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:49 Configure a credential helper to remove this warning. See 00:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:49 00:32:49 Login Succeeded 00:32:49 docker.io 00:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:32:50 Configure a credential helper to remove this warning. See 00:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:32:50 00:32:50 Login Succeeded 00:32:50 ---> docker-login.sh ends [Pipeline] } 00:32:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:32:50 ========================================================= 00:32:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:32:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:50 + 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 . 00:32:50 Sending build context to Docker daemon 23.12MB 00:32:50 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:32:50 Step 2/13 : FROM ${BASE} AS builder 00:32:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:32:50 2408cc74d12b: Pulling fs layer 00:32:50 ea60b727a1ce: Pulling fs layer 00:32:50 30c4a7721957: Pulling fs layer 00:32:50 370296b7ddb6: Pulling fs layer 00:32:50 7c6cee850709: Pulling fs layer 00:32:50 39a5fcdaea64: Pulling fs layer 00:32:50 d94ebbe4e438: Pulling fs layer 00:32:50 bcfd1f05c69d: Pulling fs layer 00:32:50 59ccb84bbe0f: Pulling fs layer 00:32:50 7c6cee850709: Waiting 00:32:50 39a5fcdaea64: Waiting 00:32:50 d94ebbe4e438: Waiting 00:32:50 bcfd1f05c69d: Waiting 00:32:50 59ccb84bbe0f: Waiting 00:32:50 370296b7ddb6: Waiting 00:32:50 30c4a7721957: Verifying Checksum 00:32:50 30c4a7721957: Download complete 00:32:50 ea60b727a1ce: Download complete 00:32:50 7c6cee850709: Verifying Checksum 00:32:50 7c6cee850709: Download complete 00:32:50 39a5fcdaea64: Download complete 00:32:50 2408cc74d12b: Verifying Checksum 00:32:50 2408cc74d12b: Download complete 00:32:50 d94ebbe4e438: Download complete 00:32:51 2408cc74d12b: Pull complete 00:32:51 ea60b727a1ce: Pull complete 00:32:51 30c4a7721957: Pull complete 00:32:51 59ccb84bbe0f: Verifying Checksum 00:32:51 59ccb84bbe0f: Download complete 00:32:51 bcfd1f05c69d: Download complete 00:32:51 370296b7ddb6: Download complete 00:32:53 using credential edgex-jenkins-ssh 00:32:53 Cloning the remote Git repository 00:32:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:32:53 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:32:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:32:53 > git --version # timeout=10 00:32:53 > git --version # 'git version 2.25.1' 00:32:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:56 370296b7ddb6: Pull complete 00:32:56 7c6cee850709: Pull complete 00:32:56 39a5fcdaea64: Pull complete 00:32:56 d94ebbe4e438: Pull complete 00:32:56 Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b91021cb91e463882b30122b38254e31238ac68e 00:32:56 Merge succeeded, producing b91021cb91e463882b30122b38254e31238ac68e 00:32:56 Checking out Revision b91021cb91e463882b30122b38254e31238ac68e (PR-302) 00:32:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:32:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:32:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:32:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:32:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:32:56 > git config core.sparsecheckout # timeout=10 00:32:56 > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 00:32:56 > git remote # timeout=10 00:32:56 > git config --get remote.origin.url # timeout=10 00:32:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:32:56 > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 00:32:56 > git rev-parse HEAD^{commit} # timeout=10 00:32:56 > git config core.sparsecheckout # timeout=10 00:32:56 > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 00:32:58 bcfd1f05c69d: Pull complete 00:32:59 59ccb84bbe0f: Pull complete 00:32:59 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:32:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:32:59 ---> a4fb48ad2a94 00:32:59 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:33:00 Commit message: "build: Add option to build Core/Support services with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:33:01 ---> Running in 63a9d1171fee 00:33:01 Removing intermediate container 63a9d1171fee 00:33:01 ---> 85a8d32642b7 00:33:01 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:33:01 ---> Running in 19b412942533 00:33:01 Removing intermediate container 19b412942533 00:33:01 ---> 6df02dbf229a 00:33:01 Step 5/13 : ARG ADD_BUILD_TAGS="" 00:33:01 ---> Running in 12e50a2c4632 00:33:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:33:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:33:01 Dload Upload Total Spent Left Speed 00:33:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 64958 00:33:01 Removing intermediate container 12e50a2c4632 00:33:01 ---> 77cdb69a0dbf 00:33:01 Step 6/13 : WORKDIR /device-virtual-go 00:33:01 ---> Running in 12ffbde8c8a9 00:33:01 Removing intermediate container 12ffbde8c8a9 00:33:01 ---> 3e7379ab33fc 00:33:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:33:01 ---> Running in 224c33320804 [Pipeline] sh 00:33:02 Removing intermediate container 224c33320804 00:33:02 ---> c11bdb609f6f 00:33:02 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:02 ---> Running in 1f9e1d19b64e 00:33:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:33:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:33:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:33:02 + sudo tee /etc/docker/daemon.new 00:33:02 { 00:33:02 "registry-mirrors": [ 00:33:02 "https://nexus3.edgexfoundry.org:10001" 00:33:02 ], 00:33:02 "bip": "10.250.0.254/24", 00:33:02 "hosts": [ 00:33:02 "tcp://0.0.0.0:5555", 00:33:02 "unix:///var/run/docker.sock" 00:33:02 ], 00:33:02 "mtu": 1458, 00:33:02 "selinux-enabled": true, 00:33:02 "seccomp-profile": "/etc/docker/seccomp.json" 00:33:02 } [Pipeline] sh 00:33:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:33:03 + sudo service docker restart 00:33:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:33:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:33:03 (2/4) Installing libedit (20210910.3.1-r0) 00:33:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:33:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:33:04 Executing busybox-1.35.0-r13.trigger 00:33:04 OK: 216 MiB in 55 packages 00:33:04 Removing intermediate container 1f9e1d19b64e 00:33:04 ---> b01ae5caa2f4 00:33:04 Step 9/13 : COPY go.mod vendor* ./ 00:33:04 ---> 18c5958cbf24 00:33:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:04 ---> Running in 20c5793b2e18 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:33:21 provisioning config files... 00:33:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3842956570413582969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:33:22 ---> docker-login.sh 00:33:22 nexus3.edgexfoundry.org:10001 00:33:22 Removing intermediate container 20c5793b2e18 00:33:22 ---> 296ecb96f0a1 00:33:22 Step 11/13 : COPY . . 00:33:22 ---> 16c94a73dec2 00:33:22 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:22 ---> Running in 9589f730dcf4 00:33:22 Removing intermediate container 9589f730dcf4 00:33:22 ---> 963372d8d26c 00:33:22 Step 13/13 : RUN $MAKE 00:33:22 ---> Running in c1d3ec7cbec4 00:33:22 noop 00:33:22 Removing intermediate container c1d3ec7cbec4 00:33:22 ---> 922c71438c63 00:33:22 Successfully built 922c71438c63 00:33:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 00:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 00:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:23 Configure a credential helper to remove this warning. See 00:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:23 00:33:23 Login Succeeded 00:33:23 nexus3.edgexfoundry.org:10002 00:33:23 + docker inspect -f . ci-base-image-x86_64 00:33:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:23 prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container 00:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:23 $ docker top 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d -eo pid,comm 00:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:23 Configure a credential helper to remove this warning. See 00:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:23 00:33:23 Login Succeeded 00:33:23 nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] sh 00:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:24 Configure a credential helper to remove this warning. See 00:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:24 00:33:24 Login Succeeded 00:33:24 nexus3.edgexfoundry.org:10004 00:33:24 + go version 00:33:24 go version go1.18.3 linux/amd64 [Pipeline] } 00:33:24 $ docker stop --time=1 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d 00:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:24 Configure a credential helper to remove this warning. See 00:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:24 00:33:24 Login Succeeded 00:33:24 docker.io 00:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:33:25 Configure a credential helper to remove this warning. See 00:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:33:25 00:33:25 Login Succeeded 00:33:25 ---> docker-login.sh ends 00:33:25 $ docker rm -f 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 00:33:25 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // configFileProvider [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 00:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:33:25 ========================================================= 00:33:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:33:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:25 + docker inspect -f . ci-base-image-x86_64 00:33:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:33:26 prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container 00:33:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:33:26 + 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 . 00:33:26 Sending build context to Docker daemon 11.7MB 00:33:26 $ docker top dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c -eo pid,comm [Pipeline] { [Pipeline] sh 00:33:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 00:33:26 Step 2/13 : FROM ${BASE} AS builder 00:33:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:33:26 b3c136eddcbf: Pulling fs layer 00:33:26 c0a3192eca97: Pulling fs layer 00:33:26 a050256f5b6f: Pulling fs layer 00:33:26 656be50a0ddc: Pulling fs layer 00:33:26 2bbca73fdf42: Pulling fs layer 00:33:26 46d945488cbd: Pulling fs layer 00:33:26 8a5474983e97: Pulling fs layer 00:33:26 329c88fbcd65: Pulling fs layer 00:33:26 656be50a0ddc: Waiting 00:33:26 2bbca73fdf42: Waiting 00:33:26 8a5474983e97: Waiting 00:33:26 329c88fbcd65: Waiting 00:33:26 46d945488cbd: Waiting 00:33:26 a050256f5b6f: Verifying Checksum 00:33:26 a050256f5b6f: Download complete 00:33:26 c0a3192eca97: Verifying Checksum 00:33:26 c0a3192eca97: Download complete 00:33:26 2bbca73fdf42: Download complete 00:33:26 46d945488cbd: Verifying Checksum 00:33:26 46d945488cbd: Download complete 00:33:26 b3c136eddcbf: Verifying Checksum 00:33:26 b3c136eddcbf: Download complete 00:33:26 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] fileExists [Pipeline] sh 00:33:27 + make test 00:33:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:33:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:33:27 b3c136eddcbf: Pull complete 00:33:27 329c88fbcd65: Verifying Checksum 00:33:27 329c88fbcd65: Download complete 00:33:28 c0a3192eca97: Pull complete 00:33:28 a050256f5b6f: Pull complete 00:33:29 8a5474983e97: Verifying Checksum 00:33:29 8a5474983e97: Download complete 00:33:29 656be50a0ddc: Verifying Checksum 00:33:29 656be50a0ddc: Download complete 00:33:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:33:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 00:33:42 656be50a0ddc: Pull complete 00:33:42 2bbca73fdf42: Pull complete 00:33:42 46d945488cbd: Pull complete 00:33:46 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." 00:33:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:33:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:33:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:33:48 ./bin/test-attribution-txt.sh 00:33:48 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 00:33:48 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 00:33:48 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 00:33:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:33:48 $ docker stop --time=1 dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c 00:33:48 8a5474983e97: Pull complete 00:33:50 329c88fbcd65: Pull complete 00:33:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:33:50 ---> ff4287adb874 00:33:50 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:33:50 $ docker rm -f dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c [Pipeline] // withDockerContainer [Pipeline] sh 00:33:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:33:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:33:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:33:51 + ls -al . 00:33:51 total 192 00:33:51 drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:33 . 00:33:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 .. 00:33:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:33 .git 00:33:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 .github 00:33:51 -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:32 .gitignore 00:33:51 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:32 .golangci.yml 00:33:51 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:32 .semver 00:33:51 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:32 Attribution.txt 00:33:51 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:32 CHANGELOG.md 00:33:51 -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:32 Dockerfile 00:33:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:32 GOVERNANCE.md 00:33:51 -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:32 Jenkinsfile 00:33:51 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:32 LICENSE 00:33:51 -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:32 Makefile 00:33:51 -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:32 OWNERS.md 00:33:51 -rw-rw-r-- 1 jenkins jenkins 3499 Aug 31 00:32 README.md 00:33:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:32 VERSION 00:33:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:32 bin 00:33:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 cmd 00:33:51 -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:33 coverage.out 00:33:51 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:32 go.mod 00:33:51 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:32 go.sum 00:33:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 internal 00:33:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 snap 00:33:51 -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:33:52 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b91021cb91e463882b30122b38254e31238ac68e --label arch=amd64 --label version=0.0.0 . 00:33:52 Sending build context to Docker daemon 23.17MB 00:33:52 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:33:52 Step 2/27 : FROM ${BASE} AS builder 00:33:52 ---> 922c71438c63 00:33:52 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:33:52 ---> Running in 796bb30d55e1 00:33:52 ---> Running in 7bc232e82f10 00:33:52 Removing intermediate container 7bc232e82f10 00:33:52 ---> 48a92d5e9714 00:33:52 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:33:52 ---> Running in 60ce11b4531a 00:33:52 Removing intermediate container 60ce11b4531a 00:33:52 ---> 2f6089649d8f 00:33:52 Step 5/27 : ARG ADD_BUILD_TAGS="" 00:33:52 Removing intermediate container 796bb30d55e1 00:33:52 ---> 68b31682c2f0 00:33:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 00:33:52 ---> Running in 8d1102d2c52f 00:33:52 ---> Running in 3dbc1fc36265 00:33:52 Removing intermediate container 3dbc1fc36265 00:33:52 ---> 5d6fe20b67fe 00:33:52 Step 6/27 : WORKDIR /device-virtual-go 00:33:52 ---> Running in 0be2c7dc3749 00:33:52 Removing intermediate container 8d1102d2c52f 00:33:52 ---> c7409c36c55c 00:33:52 Step 5/13 : ARG ADD_BUILD_TAGS="" 00:33:52 ---> Running in c1c9480d8f4a 00:33:52 Removing intermediate container 0be2c7dc3749 00:33:52 ---> 9372fdb7cd26 00:33:52 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:33:52 ---> Running in 9ab53c8c04d0 00:33:53 Removing intermediate container c1c9480d8f4a 00:33:53 ---> 5cfbe18cde04 00:33:53 Step 6/13 : WORKDIR /device-virtual-go 00:33:53 ---> Running in 2736ad2c2749 00:33:53 Removing intermediate container 9ab53c8c04d0 00:33:53 ---> 588e0e629003 00:33:53 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:53 ---> Running in c1f569b5bc02 00:33:53 Removing intermediate container 2736ad2c2749 00:33:53 ---> 33b94663b260 00:33:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:33:53 ---> Running in 9d0fa4212707 00:33:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:33:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:33:55 OK: 216 MiB in 55 packages 00:33:55 Removing intermediate container c1f569b5bc02 00:33:55 ---> 73805552c551 00:33:55 Step 9/27 : COPY go.mod vendor* ./ 00:33:55 ---> 48bb056cb794 00:33:55 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:33:55 Removing intermediate container 9d0fa4212707 00:33:55 ---> 6993d728bd1d 00:33:55 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:33:55 ---> Running in ae69034e21f4 00:33:55 ---> Running in 46fde3c35dfe 00:33:56 Removing intermediate container 46fde3c35dfe 00:33:56 ---> cc1a1e9d192f 00:33:56 Step 11/27 : COPY . . 00:33:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:33:57 ---> 47b4df015013 00:33:57 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:33:57 ---> Running in b9ab4d084e0a 00:33:57 Removing intermediate container b9ab4d084e0a 00:33:57 ---> 425c7132ff62 00:33:57 Step 13/27 : RUN $MAKE 00:33:57 ---> Running in 8126afcaafaa 00:33:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:33:57 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 00:33:58 (1/4) Installing openssh-keygen (9.0_p1-r2) 00:33:58 (2/4) Installing libedit (20210910.3.1-r0) 00:33:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 00:33:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 00:33:58 Executing busybox-1.35.0-r13.trigger 00:33:58 OK: 226 MiB in 55 packages 00:33:59 Removing intermediate container ae69034e21f4 00:33:59 ---> 7664102ef0b9 00:33:59 Step 9/13 : COPY go.mod vendor* ./ 00:34:00 ---> be32ab6b098c 00:34:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:34:00 ---> Running in dfa9c1888878 00:34:19 Removing intermediate container 8126afcaafaa 00:34:19 ---> 38bc674499e8 00:34:19 Step 14/27 : FROM alpine:3.16 00:34:19 3.16: Pulling from library/alpine 00:34:19 213ec9aee27d: Pulling fs layer 00:34:19 213ec9aee27d: Verifying Checksum 00:34:19 213ec9aee27d: Download complete 00:34:19 213ec9aee27d: Pull complete 00:34:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:34:19 Status: Downloaded newer image for alpine:3.16 00:34:19 ---> 9c6f07244728 00:34:19 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:34:19 ---> Running in c6b94480cc88 00:34:19 Removing intermediate container c6b94480cc88 00:34:19 ---> 3689b8077075 00:34:19 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:34:19 ---> Running in 6aa30f603e6a 00:34:19 Removing intermediate container 6aa30f603e6a 00:34:19 ---> 2bce354ba140 00:34:19 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:34:19 ---> Running in a4cd891fb28b 00:34:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:34:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:34:20 (1/6) Installing dumb-init (1.2.5-r1) 00:34:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:34:20 (3/6) Installing libsodium (1.0.18-r0) 00:34:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:34:20 (5/6) Installing libzmq (4.3.4-r0) 00:34:20 (6/6) Installing zeromq (4.3.4-r0) 00:34:20 Executing busybox-1.35.0-r17.trigger 00:34:20 OK: 8 MiB in 20 packages 00:34:21 Removing intermediate container a4cd891fb28b 00:34:21 ---> 4be06aa7ee46 00:34:21 Step 18/27 : WORKDIR / 00:34:21 ---> Running in 9b7d8b2f511e 00:34:21 Removing intermediate container 9b7d8b2f511e 00:34:21 ---> 89169d5ab45e 00:34:21 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:34:21 ---> 8b4ad1965791 00:34:21 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 00:34:21 ---> aea082cbe003 00:34:21 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 00:34:22 ---> 17c3a6660899 00:34:22 Step 22/27 : EXPOSE 59900 00:34:22 ---> Running in 3dda2bae32b6 00:34:22 Removing intermediate container 3dda2bae32b6 00:34:22 ---> f9d754f77042 00:34:22 Step 23/27 : ENTRYPOINT ["/device-virtual"] 00:34:22 ---> Running in b76ffe3b2ced 00:34:22 Removing intermediate container b76ffe3b2ced 00:34:22 ---> e57090e5cb73 00:34:22 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:34:22 ---> Running in 5230980a12e5 00:34:22 Removing intermediate container 5230980a12e5 00:34:22 ---> 25e6e993d124 00:34:22 Step 25/27 : LABEL arch=amd64 00:34:22 ---> Running in 0363723f13b2 00:34:22 Removing intermediate container 0363723f13b2 00:34:22 ---> ca27ccdb0301 00:34:22 Step 26/27 : LABEL git_sha=b91021cb91e463882b30122b38254e31238ac68e 00:34:23 ---> Running in 8817ab6b68cf 00:34:23 Removing intermediate container 8817ab6b68cf 00:34:23 ---> 7e408aed0f10 00:34:23 Step 27/27 : LABEL version=0.0.0 00:34:23 ---> Running in b727cc9b86a0 00:34:23 Removing intermediate container b727cc9b86a0 00:34:23 ---> 12e08ed46bd2 00:34:23 [Warning] One or more build-args [ARCH] were not consumed 00:34:23 Successfully built 12e08ed46bd2 00:34:23 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:23 00:34:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:23 latest: Pulling from edgex-lftools-log-publisher 00:34:23 5eb5b503b376: Pulling fs layer 00:34:23 5c69ac0246d0: Pulling fs layer 00:34:23 ec43610c2a17: Pulling fs layer 00:34:23 3a2ae6a8a46f: Pulling fs layer 00:34:23 33b1e0a273af: Pulling fs layer 00:34:23 5d3b04190fa2: Pulling fs layer 00:34:23 2f39f015ded8: Pulling fs layer 00:34:23 3a2ae6a8a46f: Waiting 00:34:23 33b1e0a273af: Waiting 00:34:23 5d3b04190fa2: Waiting 00:34:23 5c69ac0246d0: Download complete 00:34:23 3a2ae6a8a46f: Verifying Checksum 00:34:23 3a2ae6a8a46f: Download complete 00:34:24 33b1e0a273af: Verifying Checksum 00:34:24 33b1e0a273af: Download complete 00:34:24 5d3b04190fa2: Verifying Checksum 00:34:24 5d3b04190fa2: Download complete 00:34:24 ec43610c2a17: Verifying Checksum 00:34:24 5eb5b503b376: Verifying Checksum 00:34:24 5eb5b503b376: Download complete 00:34:24 2f39f015ded8: Download complete 00:34:25 5eb5b503b376: Pull complete 00:34:25 5c69ac0246d0: Pull complete 00:34:26 ec43610c2a17: Pull complete 00:34:26 3a2ae6a8a46f: Pull complete 00:34:26 33b1e0a273af: Pull complete 00:34:26 5d3b04190fa2: Pull complete 00:34:31 2f39f015ded8: Pull complete 00:34:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:34:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:34:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:32 prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container 00:34:32 $ 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/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:34:34 $ docker top 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:34 ---> job-cost.sh 00:34:34 lf-activate-venv: SKIPPING 00:34:34 INFO: No Stack... 00:34:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:34:35 INFO: Archiving Costs [Pipeline] sh 00:34:35 + cat /w/workspace/foundry_device-virtual-go_PR-302/archives/cost.csv 00:34:35 + cut -d, -f6 [Pipeline] lock 00:34:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] 00:34:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] did not exist. Created. 00:34:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:34:35 + echo total: 0.2199999988079071 [Pipeline] stash 00:34:35 Stashed 1 file(s) [Pipeline] } 00:34:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:34:35 $ docker stop --time=1 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d 00:34:37 $ docker rm -f 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:34:47 Removing intermediate container dfa9c1888878 00:34:47 ---> b1f4c08b56f7 00:34:47 Step 11/13 : COPY . . 00:34:47 ---> d853d933b75a 00:34:47 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:34:47 ---> Running in 3bb1f98bf496 00:34:47 Removing intermediate container 3bb1f98bf496 00:34:47 ---> aed43ffa3fb3 00:34:47 Step 13/13 : RUN $MAKE 00:34:47 ---> Running in 4b4a5dd1044b 00:34:48 noop 00:34:49 Removing intermediate container 4b4a5dd1044b 00:34:49 ---> 02acc38f67ce 00:34:49 Successfully built 02acc38f67ce 00:34:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:49 + docker inspect -f . ci-base-image-arm64 00:34:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container 00:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:34:51 $ docker top e985934d09abb5697efb316a34de66af698015aaa51536b8b6255629cd2ae4e1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:52 + go version 00:34:52 go version go1.18.3 linux/arm64 [Pipeline] } 00:34:52 $ docker stop --time=1 e985934d09abb5697efb316a34de66af698015aaa51536b8b6255629cd2ae4e1 00:34:54 $ docker rm -f e985934d09abb5697efb316a34de66af698015aaa51536b8b6255629cd2ae4e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:34:54 + docker inspect -f . ci-base-image-arm64 00:34:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:34:54 prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container 00:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:34:56 $ docker top 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 -eo pid,comm [Pipeline] { [Pipeline] sh 00:34:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 00:34:57 + make test 00:34:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:34:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:36:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:36:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 00:36:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:36:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:36:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:36:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:36:36 ./bin/test-attribution-txt.sh 00:36:36 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 00:36:36 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 00:36:36 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 00:36:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:36:36 $ docker stop --time=1 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 00:36:38 $ docker rm -f 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 [Pipeline] // withDockerContainer [Pipeline] sh 00:36:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:36:39 Warning: overwriting stash ‘coverage-report’ 00:36:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:36:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:36:40 + ls -al . 00:36:40 total 188 00:36:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:34 . 00:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 .. 00:36:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:33 .git 00:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 .github 00:36:40 -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:32 .gitignore 00:36:40 -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:32 .golangci.yml 00:36:40 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:32 Attribution.txt 00:36:40 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:32 CHANGELOG.md 00:36:40 -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:32 Dockerfile 00:36:40 -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:32 GOVERNANCE.md 00:36:40 -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:32 Jenkinsfile 00:36:40 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:32 LICENSE 00:36:40 -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:32 Makefile 00:36:40 -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:32 OWNERS.md 00:36:40 -rw-rw-r-- 1 jenkins jenkins 3499 Aug 31 00:32 README.md 00:36:40 -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:32 VERSION 00:36:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:32 bin 00:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 cmd 00:36:40 -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:36 coverage.out 00:36:40 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:32 go.mod 00:36:40 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:32 go.sum 00:36:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 internal 00:36:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 snap 00:36:40 -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:41 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b91021cb91e463882b30122b38254e31238ac68e --label arch=arm64 --label version=0.0.0 . 00:36:42 Sending build context to Docker daemon 11.75MB 00:36:42 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 00:36:42 Step 2/27 : FROM ${BASE} AS builder 00:36:42 ---> 02acc38f67ce 00:36:42 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:36:42 ---> Running in 25d2b30d438b 00:36:42 Removing intermediate container 25d2b30d438b 00:36:42 ---> 40a399afa41f 00:36:42 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 00:36:42 ---> Running in ed648a0e614f 00:36:42 Removing intermediate container ed648a0e614f 00:36:42 ---> 4193c56701cc 00:36:42 Step 5/27 : ARG ADD_BUILD_TAGS="" 00:36:42 ---> Running in 186ef7467316 00:36:43 Removing intermediate container 186ef7467316 00:36:43 ---> 5ec95235dbd8 00:36:43 Step 6/27 : WORKDIR /device-virtual-go 00:36:43 ---> Running in 656fafc64248 00:36:43 Removing intermediate container 656fafc64248 00:36:43 ---> 87ba4f5ae104 00:36:43 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:43 ---> Running in 3b4aa19825ea 00:36:45 Removing intermediate container 3b4aa19825ea 00:36:45 ---> 2a4b83543bc8 00:36:45 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:45 ---> Running in fcb5493ecfae 00:36:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:36:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:36:48 OK: 226 MiB in 55 packages 00:36:49 Removing intermediate container fcb5493ecfae 00:36:49 ---> 03a27cf1ef14 00:36:49 Step 9/27 : COPY go.mod vendor* ./ 00:36:49 ---> d1e7fab917c3 00:36:49 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:49 ---> Running in 4b01c687d9d7 00:36:51 Removing intermediate container 4b01c687d9d7 00:36:51 ---> ad770e74c75c 00:36:51 Step 11/27 : COPY . . 00:36:52 ---> 538867e8caad 00:36:52 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:36:52 ---> Running in 0a416e97a9a6 00:36:53 Removing intermediate container 0a416e97a9a6 00:36:53 ---> 80c24405bce3 00:36:53 Step 13/27 : RUN $MAKE 00:36:53 ---> Running in 0174aa05b38e 00:36:54 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 00:39:01 Removing intermediate container 0174aa05b38e 00:39:01 ---> f03f533911e5 00:39:01 Step 14/27 : FROM alpine:3.16 00:39:01 3.16: Pulling from library/alpine 00:39:01 9b18e9b68314: Pulling fs layer 00:39:01 9b18e9b68314: Download complete 00:39:01 9b18e9b68314: Pull complete 00:39:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 00:39:01 Status: Downloaded newer image for alpine:3.16 00:39:01 ---> a6215f271958 00:39:01 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:39:01 ---> Running in 32d192e4d656 00:39:01 Removing intermediate container 32d192e4d656 00:39:01 ---> 592572354472 00:39:01 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:39:02 ---> Running in 7d6d3a212d6c 00:39:04 Removing intermediate container 7d6d3a212d6c 00:39:04 ---> af360625d792 00:39:04 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 00:39:04 ---> Running in 825bcf2b42ae 00:39:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:39:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:39:06 (1/6) Installing dumb-init (1.2.5-r1) 00:39:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:39:07 (3/6) Installing libsodium (1.0.18-r0) 00:39:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:39:07 (5/6) Installing libzmq (4.3.4-r0) 00:39:07 (6/6) Installing zeromq (4.3.4-r0) 00:39:07 Executing busybox-1.35.0-r17.trigger 00:39:07 OK: 8 MiB in 20 packages 00:39:08 Removing intermediate container 825bcf2b42ae 00:39:08 ---> c54fd068cede 00:39:08 Step 18/27 : WORKDIR / 00:39:08 ---> Running in 7ab47d3581e4 00:39:08 Removing intermediate container 7ab47d3581e4 00:39:08 ---> 871f175a8e65 00:39:08 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:39:09 ---> 1e19ef303b56 00:39:09 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 00:39:10 ---> ae2e621c8e7b 00:39:10 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 00:39:11 ---> 190884217c99 00:39:11 Step 22/27 : EXPOSE 59900 00:39:11 ---> Running in 1cfc99e8fe08 00:39:11 Removing intermediate container 1cfc99e8fe08 00:39:11 ---> 8a22148227f7 00:39:11 Step 23/27 : ENTRYPOINT ["/device-virtual"] 00:39:12 ---> Running in 35beb0bc937d 00:39:12 Removing intermediate container 35beb0bc937d 00:39:12 ---> 4a92368be787 00:39:12 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:39:12 ---> Running in aac250576950 00:39:12 Removing intermediate container aac250576950 00:39:12 ---> 9a3fb70f0588 00:39:12 Step 25/27 : LABEL arch=arm64 00:39:12 ---> Running in cc7875f32b07 00:39:13 Removing intermediate container cc7875f32b07 00:39:13 ---> 5b83f6ca78c8 00:39:13 Step 26/27 : LABEL git_sha=b91021cb91e463882b30122b38254e31238ac68e 00:39:13 ---> Running in 46e7fcfd59a6 00:39:13 Removing intermediate container 46e7fcfd59a6 00:39:13 ---> 7fe76430fbd4 00:39:13 Step 27/27 : LABEL version=0.0.0 00:39:13 ---> Running in 46fb85839c49 00:39:13 Removing intermediate container 46fb85839c49 00:39:13 ---> 253f19667f02 00:39:13 [Warning] One or more build-args [ARCH] were not consumed 00:39:13 Successfully built 253f19667f02 00:39:13 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:39:14 00:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:39:14 arm64: Pulling from edgex-lftools-log-publisher 00:39:14 8998bd30e6a1: Pulling fs layer 00:39:14 04944245beec: Pulling fs layer 00:39:14 699f458cf7ca: Pulling fs layer 00:39:14 765212b225bb: Pulling fs layer 00:39:14 f23df028b6ca: Pulling fs layer 00:39:14 d65c8cfc05b1: Pulling fs layer 00:39:14 2437ff75d9bd: Pulling fs layer 00:39:14 765212b225bb: Waiting 00:39:14 f23df028b6ca: Waiting 00:39:14 d65c8cfc05b1: Waiting 00:39:14 2437ff75d9bd: Waiting 00:39:14 04944245beec: Verifying Checksum 00:39:14 04944245beec: Download complete 00:39:14 765212b225bb: Verifying Checksum 00:39:14 765212b225bb: Download complete 00:39:14 f23df028b6ca: Verifying Checksum 00:39:14 f23df028b6ca: Download complete 00:39:14 d65c8cfc05b1: Verifying Checksum 00:39:14 d65c8cfc05b1: Download complete 00:39:15 699f458cf7ca: Verifying Checksum 00:39:15 699f458cf7ca: Download complete 00:39:15 8998bd30e6a1: Verifying Checksum 00:39:15 8998bd30e6a1: Download complete 00:39:18 2437ff75d9bd: Verifying Checksum 00:39:18 2437ff75d9bd: Download complete 00:39:20 8998bd30e6a1: Pull complete 00:39:20 04944245beec: Pull complete 00:39:22 699f458cf7ca: Pull complete 00:39:22 765212b225bb: Pull complete 00:39:23 f23df028b6ca: Pull complete 00:39:23 d65c8cfc05b1: Pull complete 00:39:38 2437ff75d9bd: Pull complete 00:39:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:39:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:38 prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container 00:39:38 $ 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-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:39:41 $ docker top 26381c37697f7a4e7bf6320588310996376e46e88489ecc33152c866cbe2e0c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:39:42 ---> job-cost.sh 00:39:42 lf-activate-venv: SKIPPING 00:39:42 INFO: No Stack... 00:39:42 INFO: Retrieving Pricing Info for: v3-standard-4 00:39:43 INFO: Archiving Costs [Pipeline] sh 00:39:44 + + catcut /w/workspace/device-virtual-go/2/archives/cost.csv -d, 00:39:44 -f6 [Pipeline] lock 00:39:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] 00:39:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] did not exist. Created. 00:39:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:39:45 /w/workspace/device-virtual-go/2@tmp/durable-fd2ca31c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:39:46 + echo total: 0.10999999940395355 [Pipeline] stash 00:39:46 Warning: overwriting stash ‘stack-cost’ 00:39:46 Stashed 1 file(s) [Pipeline] } 00:39:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:39:46 $ docker stop --time=1 26381c37697f7a4e7bf6320588310996376e46e88489ecc33152c866cbe2e0c0 00:39:47 $ docker rm -f 26381c37697f7a4e7bf6320588310996376e46e88489ecc33152c866cbe2e0c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:39:48 provisioning config files... 00:39:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config2542190560106655102tmp [Pipeline] { [Pipeline] sh 00:39:48 + set +x 00:39:48 + curl -s https://codecov.io/bash 00:39:48 + bash -s -- 00:39:48 00:39:48 _____ _ 00:39:48 / ____| | | 00:39:48 | | ___ __| | ___ ___ _____ __ 00:39:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:39:48 | |___| (_) | (_| | __/ (_| (_) \ V / 00:39:48 \_____\___/ \__,_|\___|\___\___/ \_/ 00:39:48 Bash-1.0.6 00:39:48 00:39:48 00:39:48 ==> git version 2.25.1 found 00:39:48 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:39:48 Release-Date: 2020-01-08 00:39:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:39:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:39:48 ==> Jenkins CI detected. 00:39:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-302 00:39:48 project root: . 00:39:48 --> token set from env 00:39:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:39:48 ==> Running gcov in . (disable via -X gcov) 00:39:48 ==> Python coveragepy not found 00:39:48 ==> Searching for coverage reports in: 00:39:48 + . 00:39:48 -> Found 1 reports 00:39:48 ==> Detecting git/mercurial file structure 00:39:48 ==> Reading reports 00:39:48 + ./coverage.out bytes=44128 00:39:48 ==> Appending adjustments 00:39:48 https://docs.codecov.io/docs/fixing-reports 00:39:48 + Found adjustments 00:39:48 ==> Gzipping contents 00:39:48 8.0K /tmp/codecov.915ATO.gz 00:39:48 ==> Uploading reports 00:39:48 url: https://codecov.io 00:39:48 query: branch=PR-302&commit=b91021cb91e463882b30122b38254e31238ac68e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= 00:39:48 -> Pinging Codecov 00:39:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-302&commit=b91021cb91e463882b30122b38254e31238ac68e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-302%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=302&job=&cmd_args= 00:39:48 -> Uploading to 00:39:48 https://storage.googleapis.com/codecov/v4/raw/2022-08-31/5E52B4B073DB2E39498172D8E973AA87/b91021cb91e463882b30122b38254e31238ac68e/fdcb0900-d2e4-444b-b699-87da545d13d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220831%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220831T003948Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aca6d0ee37911a4488b2611c5301f5f220090fc511b7550a41dbbd3a345bc6d8 00:39:48 % Total % Received % Xferd Average Speed Time Time Time Current 00:39:48 Dload Upload Total Spent Left Speed 00:39:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5471 0 0 100 5471 0 24315 --:--:-- --:--:-- --:--:-- 24315 00:39:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b91021cb91e463882b30122b38254e31238ac68e [Pipeline] } 00:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:39:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-302/archives ] 00:39:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives 00:39:50 total 16 00:39:50 drwxr-xr-x 3 root root 4096 Aug 31 00:34 . 00:39:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:34 .. 00:39:50 drwxr-xr-x 2 root root 4096 Aug 31 00:34 cost 00:39:50 -rw-r--r-- 1 root root 89 Aug 31 00:34 cost.csv 00:39:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-302/archives 00:39:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives 00:39:50 total 16 00:39:50 drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:34 . 00:39:50 drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:34 .. 00:39:50 drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:34 cost 00:39:50 -rw-r--r-- 1 jenkins jenkins 89 Aug 31 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:39:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:39:51 ---> package-listing.sh 00:39:51 ++ facter osfamily 00:39:51 ++ tr '[:upper:]' '[:lower:]' 00:39:51 + OS_FAMILY=debian 00:39:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-302 00:39:51 + START_PACKAGES=/tmp/packages_start.txt 00:39:51 + END_PACKAGES=/tmp/packages_end.txt 00:39:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:39:51 + PACKAGES=/tmp/packages_start.txt 00:39:51 + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' 00:39:51 + PACKAGES=/tmp/packages_end.txt 00:39:51 + case "${OS_FAMILY}" in 00:39:51 + dpkg -l 00:39:51 + grep '^ii' 00:39:51 + '[' -f /tmp/packages_start.txt ']' 00:39:51 + '[' -f /tmp/packages_end.txt ']' 00:39:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:39:51 + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' 00:39:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-302/archives/ 00:39:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-302/archives/ [Pipeline] echo 00:39:51 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/foundry_device-virtual-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:39:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:39:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:39:52 prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container 00:39:52 $ 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/foundry_device-virtual-go_PR-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-302 -v /w/workspace/foundry_device-virtual-go_PR-302:/w/workspace/foundry_device-virtual-go_PR-302:rw,z -v /w/workspace/foundry_device-virtual-go_PR-302@tmp:/w/workspace/foundry_device-virtual-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:39:52 $ docker top fdf15c4f8f746986f690fc72216f191719cdb46e794e1679a9ffb41673a12e4b -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:53 + touch /tmp/pre-build-complete [Pipeline] sh 00:39:53 + mkdir -p /var/log/sysstat [Pipeline] sh 00:39:53 + ls /var/log/sa-host 00:39:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:53 provisioning config files... 00:39:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config3212078096935504478tmp [Pipeline] { [Pipeline] echo 00:39:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:54 ---> create-netrc.sh [Pipeline] } 00:39:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:39:54 ---> python-tools-install.sh [Pipeline] echo 00:39:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:54 ---> sudo-logs.sh 00:39:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:39:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:55 ---> job-cost.sh 00:39:55 lf-activate-venv: SKIPPING 00:39:55 DEBUG: total: 0.2199999988079071 00:39:55 INFO: Retrieving Stack Cost... 00:39:55 INFO: Retrieving Pricing Info for: v3-standard-8 00:39:55 INFO: Archiving Costs [Pipeline] echo 00:39:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:56 ---> logs-deploy.sh 00:39:56 lf-activate-venv: SKIPPING 00:39:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-302/2 00:39:56 INFO: archiving workspace using pattern(s): 00:39:57 Archives upload complete. 00:39:57 INFO: archiving logs to Nexus 00:39:58 ---> uname -a: 00:39:58 Linux prd-ubuntu20-04-docker-8c-8g-24148 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:39:58 00:39:58 00:39:58 ---> lscpu: 00:39:58 Architecture: x86_64 00:39:58 CPU op-mode(s): 32-bit, 64-bit 00:39:58 Byte Order: Little Endian 00:39:58 Address sizes: 40 bits physical, 48 bits virtual 00:39:58 CPU(s): 8 00:39:58 On-line CPU(s) list: 0-7 00:39:58 Thread(s) per core: 1 00:39:58 Core(s) per socket: 1 00:39:58 Socket(s): 8 00:39:58 NUMA node(s): 1 00:39:58 Vendor ID: AuthenticAMD 00:39:58 CPU family: 23 00:39:58 Model: 49 00:39:58 Model name: AMD EPYC-Rome Processor 00:39:58 Stepping: 0 00:39:58 CPU MHz: 2799.998 00:39:58 BogoMIPS: 5599.99 00:39:58 Virtualization: AMD-V 00:39:58 Hypervisor vendor: KVM 00:39:58 Virtualization type: full 00:39:58 L1d cache: 256 KiB 00:39:58 L1i cache: 256 KiB 00:39:58 L2 cache: 4 MiB 00:39:58 L3 cache: 128 MiB 00:39:58 NUMA node0 CPU(s): 0-7 00:39:58 Vulnerability Itlb multihit: Not affected 00:39:58 Vulnerability L1tf: Not affected 00:39:58 Vulnerability Mds: Not affected 00:39:58 Vulnerability Meltdown: Not affected 00:39:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:39:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:39:58 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:39:58 Vulnerability Srbds: Not affected 00:39:58 Vulnerability Tsx async abort: Not affected 00:39:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:39:58 00:39:58 00:39:58 ---> nproc: 00:39:58 8 00:39:58 00:39:58 00:39:58 ---> df -h: 00:39:58 Filesystem Size Used Avail Use% Mounted on 00:39:58 overlay 155G 11G 145G 7% / 00:39:58 tmpfs 64M 0 64M 0% /dev 00:39:58 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:39:58 shm 64M 0 64M 0% /dev/shm 00:39:58 /dev/vda1 155G 11G 145G 7% /facter-os 00:39:58 00:39:58 00:39:58 ---> sar -b -r -n DEV: 00:39:58 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24148) 08/31/22 _x86_64_ (8 CPU) 00:39:58 00:39:58 00:31:51 LINUX RESTART (8 CPU) 00:39:58 00:39:58 00:32:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:39:58 00:33:01 360.78 56.40 304.38 0.00 7465.91 206754.55 0.00 00:39:58 00:34:01 205.55 1.23 204.32 0.00 20.13 45020.06 0.00 00:39:58 00:35:01 121.86 0.03 121.83 0.00 2.80 33262.46 0.00 00:39:58 00:36:01 1.63 0.00 1.63 0.00 0.00 21.35 0.00 00:39:58 00:37:01 1.37 0.03 1.33 0.00 0.40 15.86 0.00 00:39:58 00:38:01 1.42 0.00 1.42 0.00 0.00 16.93 0.00 00:39:58 00:39:01 1.18 0.00 1.18 0.00 0.00 13.46 0.00 00:39:58 Average: 99.12 8.24 90.88 0.00 1069.99 40732.32 0.00 00:39:58 00:39:58 00:32:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:39:58 00:33:01 28840196 31772256 531448 1.62 117404 3083524 2039940 6.01 1113212 2554352 0 00:39:58 00:34:01 28093024 31633932 652100 1.98 163708 3574144 2708540 7.98 1413620 2907208 62700 00:39:58 00:35:01 27573360 31766168 522228 1.59 173836 4165784 1923364 5.67 1304380 3488628 376 00:39:58 00:36:01 27573508 31766384 521620 1.59 173868 4165788 1865548 5.50 1303832 3488628 184 00:39:58 00:37:01 27575052 31767952 519980 1.58 173908 4165808 1881680 5.55 1301376 3488640 52 00:39:58 00:38:01 27575012 31767944 519944 1.58 173932 4165800 1881680 5.55 1302052 3488656 8 00:39:58 00:39:01 27582932 31775928 511904 1.56 173968 4165812 1881680 5.55 1292800 3488656 12 00:39:58 Average: 27830441 31750081 539889 1.64 164375 3926666 2026062 5.97 1290182 3272110 9047 00:39:58 00:39:58 00:32:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:39:58 00:33:01 docker0 25.74 25.61 1.99 185.67 0.00 0.00 0.00 0.00 00:39:58 00:33:01 ens3 722.66 465.94 7705.62 107.48 0.00 0.00 0.00 0.00 00:39:58 00:33:01 lo 7.40 7.40 0.71 0.71 0.00 0.00 0.00 0.00 00:39:58 00:34:01 docker0 138.52 169.91 10.99 1519.91 0.00 0.00 0.00 0.00 00:39:58 00:34:01 ens3 244.52 193.87 1565.44 83.47 0.00 0.00 0.00 0.00 00:39:58 00:34:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 00:39:58 00:34:01 veth950edf3 0.03 0.17 0.00 0.01 0.00 0.00 0.00 0.00 00:39:58 00:35:01 docker0 10.31 12.40 0.62 58.33 0.00 0.00 0.00 0.00 00:39:58 00:35:01 ens3 123.36 84.40 2632.75 15.32 0.00 0.00 0.00 0.00 00:39:58 00:35:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 00:39:58 00:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 00:36:01 ens3 14.50 10.23 13.42 10.13 0.00 0.00 0.00 0.00 00:39:58 00:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:39:58 00:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 00:37:01 ens3 0.07 0.07 0.00 0.01 0.00 0.00 0.00 0.00 00:39:58 00:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 00:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 00:38:01 ens3 2.83 4.43 0.27 7.16 0.00 0.00 0.00 0.00 00:39:58 00:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:39:58 00:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 00:39:01 ens3 4.05 3.80 0.49 7.09 0.00 0.00 0.00 0.00 00:39:58 00:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:39:58 Average: docker0 24.94 29.70 1.94 252.01 0.00 0.00 0.00 0.00 00:39:58 Average: ens3 158.87 108.97 1702.67 32.95 0.00 0.00 0.00 0.00 00:39:58 Average: lo 1.42 1.42 0.13 0.13 0.00 0.00 0.00 0.00 00:39:58 00:39:58 00:39:58 ---> sar -P ALL: 00:39:58 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24148) 08/31/22 _x86_64_ (8 CPU) 00:39:58 00:39:58 00:31:51 LINUX RESTART (8 CPU) 00:39:58 00:39:58 00:32:01 CPU %user %nice %system %iowait %steal %idle 00:39:58 00:33:01 all 11.67 0.00 5.02 2.41 0.07 80.83 00:39:58 00:33:01 0 15.31 0.00 4.34 1.08 0.05 79.22 00:39:58 00:33:01 1 12.71 0.00 5.24 3.05 0.07 78.94 00:39:58 00:33:01 2 10.40 0.00 3.91 0.93 0.08 84.67 00:39:58 00:33:01 3 11.32 0.00 7.12 1.73 0.07 79.76 00:39:58 00:33:01 4 9.59 0.00 5.32 0.65 0.05 84.38 00:39:58 00:33:01 5 12.25 0.00 4.74 5.16 0.07 77.78 00:39:58 00:33:01 6 10.02 0.00 4.69 3.63 0.07 81.59 00:39:58 00:33:01 7 11.76 0.00 4.77 3.10 0.07 80.30 00:39:58 00:34:01 all 29.85 0.00 6.80 1.27 0.08 62.00 00:39:58 00:34:01 0 30.11 0.00 6.78 1.28 0.10 61.72 00:39:58 00:34:01 1 28.70 0.00 6.51 1.22 0.08 63.49 00:39:58 00:34:01 2 30.85 0.00 6.46 0.32 0.07 62.30 00:39:58 00:34:01 3 29.59 0.00 7.31 1.64 0.08 61.37 00:39:58 00:34:01 4 30.01 0.00 7.04 0.88 0.08 61.98 00:39:58 00:34:01 5 30.07 0.00 6.57 0.27 0.08 63.00 00:39:58 00:34:01 6 29.18 0.00 7.15 4.37 0.07 59.24 00:39:58 00:34:01 7 30.29 0.00 6.59 0.15 0.08 62.89 00:39:58 00:35:01 all 16.47 0.00 3.55 0.87 0.05 79.06 00:39:58 00:35:01 0 16.24 0.00 3.32 0.30 0.03 80.10 00:39:58 00:35:01 1 16.40 0.00 3.60 2.25 0.05 77.70 00:39:58 00:35:01 2 15.68 0.00 4.01 0.20 0.05 80.06 00:39:58 00:35:01 3 17.00 0.00 3.11 0.30 0.05 79.53 00:39:58 00:35:01 4 16.16 0.00 3.77 1.40 0.05 78.62 00:39:58 00:35:01 5 18.02 0.00 4.33 0.29 0.05 77.31 00:39:58 00:35:01 6 17.30 0.00 2.99 0.00 0.05 79.66 00:39:58 00:35:01 7 14.94 0.00 3.28 2.22 0.05 79.51 00:39:58 00:36:01 all 0.17 0.00 0.03 0.01 0.01 99.79 00:39:58 00:36:01 0 0.03 0.00 0.03 0.00 0.02 99.92 00:39:58 00:36:01 1 0.05 0.00 0.03 0.03 0.00 99.88 00:39:58 00:36:01 2 0.02 0.00 0.02 0.00 0.02 99.95 00:39:58 00:36:01 3 0.07 0.00 0.02 0.00 0.00 99.92 00:39:58 00:36:01 4 0.05 0.00 0.02 0.00 0.00 99.93 00:39:58 00:36:01 5 0.05 0.00 0.02 0.00 0.00 99.93 00:39:58 00:36:01 6 1.03 0.00 0.07 0.00 0.00 98.91 00:39:58 00:36:01 7 0.05 0.00 0.02 0.05 0.02 99.87 00:39:58 00:37:01 all 0.02 0.00 0.01 0.01 0.01 99.96 00:39:58 00:37:01 0 0.03 0.00 0.00 0.00 0.02 99.95 00:39:58 00:37:01 1 0.03 0.00 0.02 0.02 0.00 99.93 00:39:58 00:37:01 2 0.02 0.00 0.00 0.00 0.00 99.98 00:39:58 00:37:01 3 0.02 0.00 0.00 0.00 0.00 99.98 00:39:58 00:37:01 4 0.02 0.00 0.03 0.02 0.00 99.93 00:39:58 00:37:01 5 0.02 0.00 0.00 0.00 0.02 99.97 00:39:58 00:37:01 6 0.02 0.00 0.00 0.00 0.02 99.97 00:39:58 00:37:01 7 0.02 0.00 0.02 0.02 0.00 99.95 00:39:58 00:38:01 all 0.02 0.00 0.01 0.00 0.01 99.96 00:39:58 00:38:01 0 0.00 0.00 0.00 0.00 0.02 99.98 00:39:58 00:38:01 1 0.02 0.00 0.02 0.02 0.02 99.93 00:39:58 00:38:01 2 0.02 0.00 0.00 0.00 0.00 99.98 00:39:58 00:38:01 3 0.02 0.00 0.03 0.00 0.02 99.93 00:39:58 00:38:01 4 0.03 0.00 0.02 0.00 0.00 99.95 00:39:58 00:38:01 5 0.02 0.00 0.03 0.00 0.02 99.93 00:39:58 00:38:01 6 0.02 0.00 0.02 0.00 0.00 99.97 00:39:58 00:38:01 7 0.02 0.00 0.00 0.02 0.00 99.97 00:39:58 00:39:01 all 0.04 0.00 0.02 0.00 0.00 99.93 00:39:58 00:39:01 0 0.10 0.00 0.03 0.00 0.00 99.87 00:39:58 00:39:01 1 0.05 0.00 0.03 0.00 0.00 99.92 00:39:58 00:39:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:39:58 00:39:01 3 0.03 0.00 0.00 0.00 0.00 99.97 00:39:58 00:39:01 4 0.05 0.00 0.05 0.00 0.00 99.90 00:39:58 00:39:01 5 0.05 0.00 0.03 0.00 0.02 99.90 00:39:58 00:39:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:39:58 00:39:01 7 0.05 0.00 0.03 0.02 0.02 99.88 00:39:58 Average: all 8.27 0.00 2.19 0.65 0.03 88.86 00:39:58 Average: 0 8.79 0.00 2.06 0.38 0.03 88.74 00:39:58 Average: 1 8.22 0.00 2.19 0.94 0.03 88.63 00:39:58 Average: 2 8.10 0.00 2.05 0.21 0.03 89.62 00:39:58 Average: 3 8.23 0.00 2.49 0.52 0.03 88.73 00:39:58 Average: 4 7.93 0.00 2.31 0.42 0.03 89.32 00:39:58 Average: 5 8.59 0.00 2.23 0.81 0.04 88.34 00:39:58 Average: 6 8.18 0.00 2.12 1.13 0.03 88.54 00:39:58 Average: 7 8.11 0.00 2.09 0.79 0.03 88.98 00:39:58 00:39:58 00:39:58