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 [2022-08-31T00:32:29.593Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-31T00:32:29.656Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-31T00:32:29.676Z] ========================================================= [2022-08-31T00:32:29.676Z] EdgeX Global Pipelines Version Info [2022-08-31T00:32:29.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:32:30.463Z] ------------------- [2022-08-31T00:32:30.463Z] stable info: [2022-08-31T00:32:30.463Z] ------------------- [2022-08-31T00:32:30.463Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-31T00:32:30.463Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:32:30.463Z] Message: update stable to v1.0.239 [2022-08-31T00:32:31.040Z] ------------------- [2022-08-31T00:32:31.040Z] experimental info: [2022-08-31T00:32:31.040Z] ------------------- [2022-08-31T00:32:31.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-31T00:32:31.040Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-31T00:32:31.040Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-31T00:32:31.247Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-31T00:32:31.264Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-31T00:32:31.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-31T00:32:31.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-31T00:32:31.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-31T00:32:31.316Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-31T00:32:31.329Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-31T00:32:31.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-31T00:32:31.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-31T00:32:31.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-31T00:32:31.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-31T00:32:31.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-31T00:32:31.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-31T00:32:31.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-31T00:32:31.452Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:32:31.469Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-31T00:32:31.484Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:32:31.498Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-31T00:32:31.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-31T00:32:31.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-31T00:32:31.555Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-31T00:32:31.570Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-31T00:32:31.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-31T00:32:31.607Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-31T00:32:31.621Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-31T00:32:31.634Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-31T00:32:31.651Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-31T00:32:31.671Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2022-08-31T00:32:31.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2022-08-31T00:32:31.705Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2022-08-31T00:32:31.717Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo [2022-08-31T00:32:31.728Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b91021c [Pipeline] echo [2022-08-31T00:32:31.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:32:31.794Z] provisioning config files... [2022-08-31T00:32:31.808Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config7891384289577361153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:32:32.120Z] ---> docker-login.sh [2022-08-31T00:32:32.120Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:32:32.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:32.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:32.648Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:32.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:32.648Z] [2022-08-31T00:32:32.648Z] Login Succeeded [2022-08-31T00:32:32.648Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:32:32.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:32.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:32.648Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:32.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:32.648Z] [2022-08-31T00:32:32.648Z] Login Succeeded [2022-08-31T00:32:32.648Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:32:32.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:32.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:32.919Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:32.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:32.919Z] [2022-08-31T00:32:32.919Z] Login Succeeded [2022-08-31T00:32:32.919Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:32:32.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:33.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:33.182Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:33.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:33.182Z] [2022-08-31T00:32:33.182Z] Login Succeeded [2022-08-31T00:32:33.182Z] docker.io [2022-08-31T00:32:33.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:33.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:33.445Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:33.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:33.445Z] [2022-08-31T00:32:33.445Z] Login Succeeded [2022-08-31T00:32:33.445Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:32:33.455Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-31T00:32:33.852Z] + git rev-list -1 --merges b91021cb91e463882b30122b38254e31238ac68e~1..b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo [2022-08-31T00:32:33.891Z] -----------> git rev-list -1 --merges b91021cb91e463882b30122b38254e31238ac68e~1..b91021cb91e463882b30122b38254e31238ac68e b91021cb91e463882b30122b38254e31238ac68e [false] [Pipeline] sh [2022-08-31T00:32:34.188Z] + git log --format=format:%s -1 b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo [2022-08-31T00:32:34.207Z] ========================================================= [2022-08-31T00:32:34.207Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-31T00:32:34.207Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:32:34.554Z] + git log --format=format:%s -1 b91021cb91e463882b30122b38254e31238ac68e [Pipeline] echo [2022-08-31T00:32:34.568Z] [semverPrep] GIT_COMMIT: b91021cb91e463882b30122b38254e31238ac68e, Commit Message: build: Add option to build Core/Support services with NATS Capability [Pipeline] echo [2022-08-31T00:32:34.579Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-31T00:32:34.988Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-31T00:32:34.988Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-31T00:32:34.988Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-31T00:32:34.988Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-31T00:32:34.988Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-31T00:32:34.988Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-31T00:32:34.988Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:32:35.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:32:35.356Z] [2022-08-31T00:32:35.356Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:32:35.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:32:35.667Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-31T00:32:35.667Z] b85a868b505f: Pulling fs layer [2022-08-31T00:32:35.667Z] e2be974225ed: Pulling fs layer [2022-08-31T00:32:35.667Z] 339a4e72a1f5: Pulling fs layer [2022-08-31T00:32:35.667Z] 988bab9f4d93: Pulling fs layer [2022-08-31T00:32:35.667Z] 1469e6f7b9e6: Pulling fs layer [2022-08-31T00:32:35.667Z] eaf3925da568: Pulling fs layer [2022-08-31T00:32:35.667Z] bab4dde63d76: Pulling fs layer [2022-08-31T00:32:35.667Z] bde34c3a00c8: Pulling fs layer [2022-08-31T00:32:35.667Z] b352a97aabf1: Pulling fs layer [2022-08-31T00:32:35.667Z] 4872d77fe225: Pulling fs layer [2022-08-31T00:32:35.667Z] 5851b861e8e6: Pulling fs layer [2022-08-31T00:32:35.667Z] 1469e6f7b9e6: Waiting [2022-08-31T00:32:35.667Z] eaf3925da568: Waiting [2022-08-31T00:32:35.667Z] 988bab9f4d93: Waiting [2022-08-31T00:32:35.667Z] bab4dde63d76: Waiting [2022-08-31T00:32:35.667Z] bde34c3a00c8: Waiting [2022-08-31T00:32:35.667Z] b352a97aabf1: Waiting [2022-08-31T00:32:35.667Z] e2be974225ed: Download complete [2022-08-31T00:32:35.667Z] 988bab9f4d93: Verifying Checksum [2022-08-31T00:32:35.667Z] 988bab9f4d93: Download complete [2022-08-31T00:32:35.929Z] 1469e6f7b9e6: Verifying Checksum [2022-08-31T00:32:35.929Z] 1469e6f7b9e6: Download complete [2022-08-31T00:32:35.929Z] eaf3925da568: Download complete [2022-08-31T00:32:35.929Z] 339a4e72a1f5: Verifying Checksum [2022-08-31T00:32:35.929Z] 339a4e72a1f5: Download complete [2022-08-31T00:32:35.929Z] bde34c3a00c8: Verifying Checksum [2022-08-31T00:32:35.929Z] bde34c3a00c8: Download complete [2022-08-31T00:32:35.929Z] b352a97aabf1: Download complete [2022-08-31T00:32:35.929Z] 4872d77fe225: Verifying Checksum [2022-08-31T00:32:35.929Z] 4872d77fe225: Download complete [2022-08-31T00:32:35.929Z] 5851b861e8e6: Verifying Checksum [2022-08-31T00:32:35.929Z] 5851b861e8e6: Download complete [2022-08-31T00:32:35.929Z] b85a868b505f: Download complete [2022-08-31T00:32:36.189Z] bab4dde63d76: Verifying Checksum [2022-08-31T00:32:36.189Z] bab4dde63d76: Download complete [2022-08-31T00:32:37.572Z] b85a868b505f: Pull complete [2022-08-31T00:32:37.572Z] e2be974225ed: Pull complete [2022-08-31T00:32:38.143Z] 339a4e72a1f5: Pull complete [2022-08-31T00:32:38.143Z] 988bab9f4d93: Pull complete [2022-08-31T00:32:38.410Z] 1469e6f7b9e6: Pull complete [2022-08-31T00:32:38.672Z] eaf3925da568: Pull complete [2022-08-31T00:32:40.584Z] bab4dde63d76: Pull complete [2022-08-31T00:32:40.584Z] bde34c3a00c8: Pull complete [2022-08-31T00:32:40.847Z] b352a97aabf1: Pull complete [2022-08-31T00:32:40.847Z] 4872d77fe225: Pull complete [2022-08-31T00:32:40.847Z] 5851b861e8e6: Pull complete [2022-08-31T00:32:41.124Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-31T00:32:41.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-31T00:32:41.124Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:32:41.237Z] prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container [2022-08-31T00:32:41.280Z] $ 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 [2022-08-31T00:32:42.796Z] $ docker top 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 -eo pid,comm [2022-08-31T00:32:42.860Z] 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). [2022-08-31T00:32:42.860Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-31T00:32:42.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:32:42.901Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:32:43.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:32:43.041Z] $ docker exec 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent [2022-08-31T00:32:43.166Z] SSH_AUTH_SOCK=/tmp/ssh-UxHhAufy5whI/agent.33 [2022-08-31T00:32:43.166Z] SSH_AGENT_PID=39 [2022-08-31T00:32:43.176Z] Running ssh-add (command line suppressed) [2022-08-31T00:32:43.293Z] 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) [2022-08-31T00:32:43.316Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:32:43.610Z] + git tag --points-at HEAD [Pipeline] } [2022-08-31T00:32:43.627Z] $ docker exec --env ******** --env ******** 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent -k [2022-08-31T00:32:43.742Z] unset SSH_AUTH_SOCK; [2022-08-31T00:32:43.743Z] unset SSH_AGENT_PID; [2022-08-31T00:32:43.743Z] echo Agent pid 39 killed; [2022-08-31T00:32:43.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-31T00:32:43.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-31T00:32:43.781Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-31T00:32:43.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-31T00:32:43.919Z] $ docker exec 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent [2022-08-31T00:32:44.045Z] SSH_AUTH_SOCK=/tmp/ssh-M58irPrwRE9v/agent.71 [2022-08-31T00:32:44.045Z] SSH_AGENT_PID=78 [2022-08-31T00:32:44.051Z] Running ssh-add (command line suppressed) [2022-08-31T00:32:44.184Z] 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) [2022-08-31T00:32:44.198Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-31T00:32:44.490Z] + git semver init [2022-08-31T00:32:44.753Z] 2022-08-31 00:32:44,727 [run_init] DEBUG init version:0.0.0 force:False [2022-08-31T00:32:44.753Z] 2022-08-31 00:32:44,727 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-302/.semver [2022-08-31T00:32:44.753Z] 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 [2022-08-31T00:32:44.753Z] 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) [2022-08-31T00:32:46.141Z] 2022-08-31 00:32:45,748 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-302/.git/info/exclude [2022-08-31T00:32:46.141Z] 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 [2022-08-31T00:32:46.141Z] 2022-08-31 00:32:45,748 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 [2022-08-31T00:32:46.141Z] 2022-08-31 00:32:45,752 [execute] INFO git cat-file --batch-check [2022-08-31T00:32:46.141Z] 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=) [2022-08-31T00:32:46.141Z] 2022-08-31 00:32:45,760 [execute] INFO git cat-file --batch [2022-08-31T00:32:46.141Z] 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=) [2022-08-31T00:32:46.141Z] 2022-08-31 00:32:45,767 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-302/.semver/PR-302 [2022-08-31T00:32:46.141Z] 0.0.0 [Pipeline] } [2022-08-31T00:32:46.157Z] $ docker exec --env ******** --env ******** 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 ssh-agent -k [2022-08-31T00:32:46.273Z] unset SSH_AUTH_SOCK; [2022-08-31T00:32:46.274Z] unset SSH_AGENT_PID; [2022-08-31T00:32:46.274Z] echo Agent pid 78 killed; [2022-08-31T00:32:46.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-31T00:32:46.599Z] + git semver [Pipeline] } [2022-08-31T00:32:46.883Z] $ docker stop --time=1 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 [2022-08-31T00:32:48.227Z] $ docker rm -f 6b2dd58a6c115bcde3b2c0853fa70f5ee2cd1b640b5f72c5594540de25c87932 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:32:48.581Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-31T00:32:48.869Z] Stashed 1 file(s) [Pipeline] echo [2022-08-31T00:32:48.872Z] [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 [2022-08-31T00:32:48.996Z] provisioning config files... [2022-08-31T00:32:49.007Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config7307839796674403900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:32:49.258Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24144 in /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] { [Pipeline] ws [2022-08-31T00:32:49.270Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-08-31T00:32:49.291Z] The recommended git tool is: git [2022-08-31T00:32:49.313Z] ---> docker-login.sh [2022-08-31T00:32:49.313Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:32:49.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:49.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:49.313Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:49.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:49.313Z] [2022-08-31T00:32:49.313Z] Login Succeeded [2022-08-31T00:32:49.313Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:32:49.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:49.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:49.575Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:49.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:49.575Z] [2022-08-31T00:32:49.575Z] Login Succeeded [2022-08-31T00:32:49.575Z] nexus3.edgexfoundry.org:10003 [2022-08-31T00:32:49.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:49.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:49.575Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:49.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:49.575Z] [2022-08-31T00:32:49.575Z] Login Succeeded [2022-08-31T00:32:49.575Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:32:49.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:49.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:49.836Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:49.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:49.836Z] [2022-08-31T00:32:49.836Z] Login Succeeded [2022-08-31T00:32:49.836Z] docker.io [2022-08-31T00:32:49.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:32:50.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:32:50.096Z] Configure a credential helper to remove this warning. See [2022-08-31T00:32:50.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:32:50.096Z] [2022-08-31T00:32:50.096Z] Login Succeeded [2022-08-31T00:32:50.096Z] ---> docker-login.sh ends [Pipeline] } [2022-08-31T00:32:50.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-31T00:32:50.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:32:50.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:32:50.192Z] ========================================================= [2022-08-31T00:32:50.192Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-31T00:32:50.192Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:32:50.521Z] + 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 . [2022-08-31T00:32:50.521Z] Sending build context to Docker daemon 23.12MB [2022-08-31T00:32:50.521Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:32:50.521Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T00:32:50.781Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-31T00:32:50.781Z] 2408cc74d12b: Pulling fs layer [2022-08-31T00:32:50.781Z] ea60b727a1ce: Pulling fs layer [2022-08-31T00:32:50.781Z] 30c4a7721957: Pulling fs layer [2022-08-31T00:32:50.781Z] 370296b7ddb6: Pulling fs layer [2022-08-31T00:32:50.781Z] 7c6cee850709: Pulling fs layer [2022-08-31T00:32:50.781Z] 39a5fcdaea64: Pulling fs layer [2022-08-31T00:32:50.781Z] d94ebbe4e438: Pulling fs layer [2022-08-31T00:32:50.781Z] bcfd1f05c69d: Pulling fs layer [2022-08-31T00:32:50.781Z] 59ccb84bbe0f: Pulling fs layer [2022-08-31T00:32:50.781Z] 7c6cee850709: Waiting [2022-08-31T00:32:50.781Z] 39a5fcdaea64: Waiting [2022-08-31T00:32:50.781Z] d94ebbe4e438: Waiting [2022-08-31T00:32:50.781Z] bcfd1f05c69d: Waiting [2022-08-31T00:32:50.781Z] 59ccb84bbe0f: Waiting [2022-08-31T00:32:50.781Z] 370296b7ddb6: Waiting [2022-08-31T00:32:50.781Z] 30c4a7721957: Verifying Checksum [2022-08-31T00:32:50.781Z] 30c4a7721957: Download complete [2022-08-31T00:32:50.781Z] ea60b727a1ce: Download complete [2022-08-31T00:32:50.781Z] 7c6cee850709: Verifying Checksum [2022-08-31T00:32:50.781Z] 7c6cee850709: Download complete [2022-08-31T00:32:50.781Z] 39a5fcdaea64: Download complete [2022-08-31T00:32:50.781Z] 2408cc74d12b: Verifying Checksum [2022-08-31T00:32:50.781Z] 2408cc74d12b: Download complete [2022-08-31T00:32:50.782Z] d94ebbe4e438: Download complete [2022-08-31T00:32:51.041Z] 2408cc74d12b: Pull complete [2022-08-31T00:32:51.041Z] ea60b727a1ce: Pull complete [2022-08-31T00:32:51.304Z] 30c4a7721957: Pull complete [2022-08-31T00:32:51.565Z] 59ccb84bbe0f: Verifying Checksum [2022-08-31T00:32:51.565Z] 59ccb84bbe0f: Download complete [2022-08-31T00:32:51.825Z] bcfd1f05c69d: Download complete [2022-08-31T00:32:51.825Z] 370296b7ddb6: Download complete [2022-08-31T00:32:53.375Z] using credential edgex-jenkins-ssh [2022-08-31T00:32:53.392Z] Cloning the remote Git repository [2022-08-31T00:32:53.437Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:32:53.510Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-08-31T00:32:53.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:32:53.663Z] > git --version # timeout=10 [2022-08-31T00:32:53.717Z] > git --version # 'git version 2.25.1' [2022-08-31T00:32:53.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:32:53.806Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:32:56.027Z] 370296b7ddb6: Pull complete [2022-08-31T00:32:56.289Z] 7c6cee850709: Pull complete [2022-08-31T00:32:56.289Z] 39a5fcdaea64: Pull complete [2022-08-31T00:32:56.289Z] d94ebbe4e438: Pull complete [2022-08-31T00:32:56.341Z] Merging remotes/origin/main commit eb73192e64f29d5b7509ef98fadefc4f8094ab1e into PR head commit b91021cb91e463882b30122b38254e31238ac68e [2022-08-31T00:32:56.531Z] Merge succeeded, producing b91021cb91e463882b30122b38254e31238ac68e [2022-08-31T00:32:56.531Z] Checking out Revision b91021cb91e463882b30122b38254e31238ac68e (PR-302) [2022-08-31T00:32:55.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-31T00:32:55.750Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-31T00:32:55.775Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-31T00:32:55.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-31T00:32:55.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:32:55.821Z] > 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 [2022-08-31T00:32:56.353Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:32:56.369Z] > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 [2022-08-31T00:32:56.449Z] > git remote # timeout=10 [2022-08-31T00:32:56.464Z] > git config --get remote.origin.url # timeout=10 [2022-08-31T00:32:56.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-31T00:32:56.486Z] > git merge eb73192e64f29d5b7509ef98fadefc4f8094ab1e # timeout=10 [2022-08-31T00:32:56.508Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-31T00:32:56.532Z] > git config core.sparsecheckout # timeout=10 [2022-08-31T00:32:56.549Z] > git checkout -f b91021cb91e463882b30122b38254e31238ac68e # timeout=10 [2022-08-31T00:32:58.845Z] bcfd1f05c69d: Pull complete [2022-08-31T00:32:59.417Z] 59ccb84bbe0f: Pull complete [2022-08-31T00:32:59.417Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-31T00:32:59.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-31T00:32:59.417Z] ---> a4fb48ad2a94 [2022-08-31T00:32:59.417Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:33:00.669Z] 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 [2022-08-31T00:33:01.335Z] ---> Running in 63a9d1171fee [2022-08-31T00:33:01.335Z] Removing intermediate container 63a9d1171fee [2022-08-31T00:33:01.335Z] ---> 85a8d32642b7 [2022-08-31T00:33:01.335Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:33:01.335Z] ---> Running in 19b412942533 [2022-08-31T00:33:01.335Z] Removing intermediate container 19b412942533 [2022-08-31T00:33:01.335Z] ---> 6df02dbf229a [2022-08-31T00:33:01.335Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:33:01.335Z] ---> Running in 12e50a2c4632 [2022-08-31T00:33:01.518Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-31T00:33:01.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:33:01.518Z] Dload Upload Total Spent Left Speed [2022-08-31T00:33:01.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64958 0 --:--:-- --:--:-- --:--:-- 64958 [2022-08-31T00:33:01.596Z] Removing intermediate container 12e50a2c4632 [2022-08-31T00:33:01.596Z] ---> 77cdb69a0dbf [2022-08-31T00:33:01.596Z] Step 6/13 : WORKDIR /device-virtual-go [2022-08-31T00:33:01.596Z] ---> Running in 12ffbde8c8a9 [2022-08-31T00:33:01.596Z] Removing intermediate container 12ffbde8c8a9 [2022-08-31T00:33:01.596Z] ---> 3e7379ab33fc [2022-08-31T00:33:01.596Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:33:01.596Z] ---> Running in 224c33320804 [Pipeline] sh [2022-08-31T00:33:02.167Z] Removing intermediate container 224c33320804 [2022-08-31T00:33:02.167Z] ---> c11bdb609f6f [2022-08-31T00:33:02.167Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:33:02.167Z] ---> Running in 1f9e1d19b64e [2022-08-31T00:33:02.310Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-31T00:33:02.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:33:02.655Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-31T00:33:02.655Z] + sudo tee /etc/docker/daemon.new [2022-08-31T00:33:02.655Z] { [2022-08-31T00:33:02.655Z] "registry-mirrors": [ [2022-08-31T00:33:02.655Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-31T00:33:02.655Z] ], [2022-08-31T00:33:02.655Z] "bip": "10.250.0.254/24", [2022-08-31T00:33:02.655Z] "hosts": [ [2022-08-31T00:33:02.655Z] "tcp://0.0.0.0:5555", [2022-08-31T00:33:02.655Z] "unix:///var/run/docker.sock" [2022-08-31T00:33:02.655Z] ], [2022-08-31T00:33:02.655Z] "mtu": 1458, [2022-08-31T00:33:02.655Z] "selinux-enabled": true, [2022-08-31T00:33:02.655Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-31T00:33:02.655Z] } [Pipeline] sh [2022-08-31T00:33:03.007Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-31T00:33:03.345Z] + sudo service docker restart [2022-08-31T00:33:03.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:33:03.631Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-31T00:33:03.893Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-31T00:33:03.893Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-31T00:33:03.893Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-31T00:33:04.156Z] Executing busybox-1.35.0-r13.trigger [2022-08-31T00:33:04.156Z] OK: 216 MiB in 55 packages [2022-08-31T00:33:04.736Z] Removing intermediate container 1f9e1d19b64e [2022-08-31T00:33:04.736Z] ---> b01ae5caa2f4 [2022-08-31T00:33:04.736Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-31T00:33:04.736Z] ---> 18c5958cbf24 [2022-08-31T00:33:04.736Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:33:04.736Z] ---> Running in 20c5793b2e18 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:33:21.728Z] provisioning config files... [2022-08-31T00:33:21.754Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3842956570413582969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:33:22.320Z] ---> docker-login.sh [2022-08-31T00:33:22.320Z] nexus3.edgexfoundry.org:10001 [2022-08-31T00:33:22.871Z] Removing intermediate container 20c5793b2e18 [2022-08-31T00:33:22.872Z] ---> 296ecb96f0a1 [2022-08-31T00:33:22.872Z] Step 11/13 : COPY . . [2022-08-31T00:33:22.872Z] ---> 16c94a73dec2 [2022-08-31T00:33:22.872Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:33:22.872Z] ---> Running in 9589f730dcf4 [2022-08-31T00:33:22.872Z] Removing intermediate container 9589f730dcf4 [2022-08-31T00:33:22.872Z] ---> 963372d8d26c [2022-08-31T00:33:22.872Z] Step 13/13 : RUN $MAKE [2022-08-31T00:33:22.872Z] ---> Running in c1d3ec7cbec4 [2022-08-31T00:33:22.872Z] noop [2022-08-31T00:33:22.872Z] Removing intermediate container c1d3ec7cbec4 [2022-08-31T00:33:22.872Z] ---> 922c71438c63 [2022-08-31T00:33:22.872Z] Successfully built 922c71438c63 [2022-08-31T00:33:22.872Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2022-08-31T00:33:22.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2022-08-31T00:33:23.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:33:23.193Z] Configure a credential helper to remove this warning. See [2022-08-31T00:33:23.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:33:23.193Z] [2022-08-31T00:33:23.193Z] Login Succeeded [2022-08-31T00:33:23.193Z] nexus3.edgexfoundry.org:10002 [2022-08-31T00:33:23.197Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:33:23.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:33:23.288Z] prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container [2022-08-31T00:33:23.329Z] $ 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 [2022-08-31T00:33:23.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:33:23.739Z] $ docker top 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d -eo pid,comm [2022-08-31T00:33:23.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:33:23.743Z] Configure a credential helper to remove this warning. See [2022-08-31T00:33:23.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:33:23.743Z] [2022-08-31T00:33:23.743Z] Login Succeeded [2022-08-31T00:33:23.743Z] nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] sh [2022-08-31T00:33:24.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:33:24.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:33:24.016Z] Configure a credential helper to remove this warning. See [2022-08-31T00:33:24.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:33:24.016Z] [2022-08-31T00:33:24.016Z] Login Succeeded [2022-08-31T00:33:24.016Z] nexus3.edgexfoundry.org:10004 [2022-08-31T00:33:24.110Z] + go version [2022-08-31T00:33:24.110Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-31T00:33:24.128Z] $ docker stop --time=1 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d [2022-08-31T00:33:24.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:33:24.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:33:24.566Z] Configure a credential helper to remove this warning. See [2022-08-31T00:33:24.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:33:24.566Z] [2022-08-31T00:33:24.566Z] Login Succeeded [2022-08-31T00:33:24.566Z] docker.io [2022-08-31T00:33:24.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-31T00:33:25.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-31T00:33:25.115Z] Configure a credential helper to remove this warning. See [2022-08-31T00:33:25.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-31T00:33:25.115Z] [2022-08-31T00:33:25.115Z] Login Succeeded [2022-08-31T00:33:25.115Z] ---> docker-login.sh ends [2022-08-31T00:33:25.447Z] $ docker rm -f 03a806507b21a3a68d27246b69470d80c309d3d13fc3df714bfd8e0dd979544d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-08-31T00:33:25.508Z] 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 [2022-08-31T00:33:25.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:33:25.778Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-31T00:33:25.789Z] ========================================================= [2022-08-31T00:33:25.789Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-31T00:33:25.789Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:33:25.881Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-31T00:33:25.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:33:26.005Z] prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container [2022-08-31T00:33:26.075Z] $ 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 [2022-08-31T00:33:26.141Z] + 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 . [2022-08-31T00:33:26.422Z] Sending build context to Docker daemon 11.7MB [2022-08-31T00:33:26.497Z] $ docker top dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:33:26.699Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:33:26.699Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-31T00:33:26.699Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-31T00:33:26.699Z] b3c136eddcbf: Pulling fs layer [2022-08-31T00:33:26.699Z] c0a3192eca97: Pulling fs layer [2022-08-31T00:33:26.699Z] a050256f5b6f: Pulling fs layer [2022-08-31T00:33:26.699Z] 656be50a0ddc: Pulling fs layer [2022-08-31T00:33:26.699Z] 2bbca73fdf42: Pulling fs layer [2022-08-31T00:33:26.699Z] 46d945488cbd: Pulling fs layer [2022-08-31T00:33:26.699Z] 8a5474983e97: Pulling fs layer [2022-08-31T00:33:26.699Z] 329c88fbcd65: Pulling fs layer [2022-08-31T00:33:26.699Z] 656be50a0ddc: Waiting [2022-08-31T00:33:26.699Z] 2bbca73fdf42: Waiting [2022-08-31T00:33:26.699Z] 8a5474983e97: Waiting [2022-08-31T00:33:26.699Z] 329c88fbcd65: Waiting [2022-08-31T00:33:26.699Z] 46d945488cbd: Waiting [2022-08-31T00:33:26.699Z] a050256f5b6f: Verifying Checksum [2022-08-31T00:33:26.699Z] a050256f5b6f: Download complete [2022-08-31T00:33:26.699Z] c0a3192eca97: Verifying Checksum [2022-08-31T00:33:26.699Z] c0a3192eca97: Download complete [2022-08-31T00:33:26.699Z] 2bbca73fdf42: Download complete [2022-08-31T00:33:26.699Z] 46d945488cbd: Verifying Checksum [2022-08-31T00:33:26.699Z] 46d945488cbd: Download complete [2022-08-31T00:33:26.699Z] b3c136eddcbf: Verifying Checksum [2022-08-31T00:33:26.699Z] b3c136eddcbf: Download complete [2022-08-31T00:33:26.863Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-302 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:33:27.167Z] + make test [2022-08-31T00:33:27.167Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-31T00:33:27.428Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-31T00:33:27.685Z] b3c136eddcbf: Pull complete [2022-08-31T00:33:27.964Z] 329c88fbcd65: Verifying Checksum [2022-08-31T00:33:27.964Z] 329c88fbcd65: Download complete [2022-08-31T00:33:28.585Z] c0a3192eca97: Pull complete [2022-08-31T00:33:28.866Z] a050256f5b6f: Pull complete [2022-08-31T00:33:29.142Z] 8a5474983e97: Verifying Checksum [2022-08-31T00:33:29.142Z] 8a5474983e97: Download complete [2022-08-31T00:33:29.739Z] 656be50a0ddc: Verifying Checksum [2022-08-31T00:33:29.739Z] 656be50a0ddc: Download complete [2022-08-31T00:33:37.426Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-31T00:33:38.001Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-08-31T00:33:42.136Z] 656be50a0ddc: Pull complete [2022-08-31T00:33:42.136Z] 2bbca73fdf42: Pull complete [2022-08-31T00:33:42.136Z] 46d945488cbd: Pull complete [2022-08-31T00:33:46.132Z] 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." [2022-08-31T00:33:46.132Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T00:33:48.673Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:33:48.673Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:33:48.673Z] ./bin/test-attribution-txt.sh [2022-08-31T00:33:48.673Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:33:48.673Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:33:48.673Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:33:48.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:33:48.710Z] $ docker stop --time=1 dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c [2022-08-31T00:33:48.863Z] 8a5474983e97: Pull complete [2022-08-31T00:33:50.299Z] 329c88fbcd65: Pull complete [2022-08-31T00:33:50.299Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-31T00:33:50.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-31T00:33:50.299Z] ---> ff4287adb874 [2022-08-31T00:33:50.299Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:33:50.506Z] $ docker rm -f dc075283640f308899eadb69c095daf168139ccbbbbf02774742352ecff53d6c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:33:50.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:33:50.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-31T00:33:51.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:33:51.866Z] + ls -al . [2022-08-31T00:33:51.866Z] total 192 [2022-08-31T00:33:51.866Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 31 00:33 . [2022-08-31T00:33:51.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 .. [2022-08-31T00:33:51.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:33 .git [2022-08-31T00:33:51.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 .github [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:32 .gitignore [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:32 .golangci.yml [2022-08-31T00:33:51.866Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:32 .semver [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:32 Attribution.txt [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:32 CHANGELOG.md [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:32 Dockerfile [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:32 GOVERNANCE.md [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:32 Jenkinsfile [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:32 LICENSE [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:32 Makefile [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:32 OWNERS.md [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 3499 Aug 31 00:32 README.md [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:32 VERSION [2022-08-31T00:33:51.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:32 bin [2022-08-31T00:33:51.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 cmd [2022-08-31T00:33:51.866Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:33 coverage.out [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:32 go.mod [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:32 go.sum [2022-08-31T00:33:51.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 internal [2022-08-31T00:33:51.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 snap [2022-08-31T00:33:51.866Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:33:52.189Z] + 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 . [2022-08-31T00:33:52.189Z] Sending build context to Docker daemon 23.17MB [2022-08-31T00:33:52.189Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:33:52.189Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T00:33:52.189Z] ---> 922c71438c63 [2022-08-31T00:33:52.189Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:33:52.289Z] ---> Running in 796bb30d55e1 [2022-08-31T00:33:52.450Z] ---> Running in 7bc232e82f10 [2022-08-31T00:33:52.450Z] Removing intermediate container 7bc232e82f10 [2022-08-31T00:33:52.450Z] ---> 48a92d5e9714 [2022-08-31T00:33:52.450Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:33:52.450Z] ---> Running in 60ce11b4531a [2022-08-31T00:33:52.450Z] Removing intermediate container 60ce11b4531a [2022-08-31T00:33:52.450Z] ---> 2f6089649d8f [2022-08-31T00:33:52.450Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:33:52.563Z] Removing intermediate container 796bb30d55e1 [2022-08-31T00:33:52.563Z] ---> 68b31682c2f0 [2022-08-31T00:33:52.563Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:33:52.563Z] ---> Running in 8d1102d2c52f [2022-08-31T00:33:52.711Z] ---> Running in 3dbc1fc36265 [2022-08-31T00:33:52.711Z] Removing intermediate container 3dbc1fc36265 [2022-08-31T00:33:52.711Z] ---> 5d6fe20b67fe [2022-08-31T00:33:52.711Z] Step 6/27 : WORKDIR /device-virtual-go [2022-08-31T00:33:52.711Z] ---> Running in 0be2c7dc3749 [2022-08-31T00:33:52.837Z] Removing intermediate container 8d1102d2c52f [2022-08-31T00:33:52.837Z] ---> c7409c36c55c [2022-08-31T00:33:52.837Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:33:52.837Z] ---> Running in c1c9480d8f4a [2022-08-31T00:33:52.971Z] Removing intermediate container 0be2c7dc3749 [2022-08-31T00:33:52.971Z] ---> 9372fdb7cd26 [2022-08-31T00:33:52.971Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:33:52.971Z] ---> Running in 9ab53c8c04d0 [2022-08-31T00:33:53.114Z] Removing intermediate container c1c9480d8f4a [2022-08-31T00:33:53.114Z] ---> 5cfbe18cde04 [2022-08-31T00:33:53.114Z] Step 6/13 : WORKDIR /device-virtual-go [2022-08-31T00:33:53.391Z] ---> Running in 2736ad2c2749 [2022-08-31T00:33:53.545Z] Removing intermediate container 9ab53c8c04d0 [2022-08-31T00:33:53.545Z] ---> 588e0e629003 [2022-08-31T00:33:53.545Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:33:53.545Z] ---> Running in c1f569b5bc02 [2022-08-31T00:33:53.667Z] Removing intermediate container 2736ad2c2749 [2022-08-31T00:33:53.667Z] ---> 33b94663b260 [2022-08-31T00:33:53.667Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:33:53.667Z] ---> Running in 9d0fa4212707 [2022-08-31T00:33:53.821Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:33:54.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:33:55.346Z] OK: 216 MiB in 55 packages [2022-08-31T00:33:55.610Z] Removing intermediate container c1f569b5bc02 [2022-08-31T00:33:55.610Z] ---> 73805552c551 [2022-08-31T00:33:55.610Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-31T00:33:55.610Z] ---> 48bb056cb794 [2022-08-31T00:33:55.610Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:33:55.666Z] Removing intermediate container 9d0fa4212707 [2022-08-31T00:33:55.666Z] ---> 6993d728bd1d [2022-08-31T00:33:55.666Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:33:55.666Z] ---> Running in ae69034e21f4 [2022-08-31T00:33:55.872Z] ---> Running in 46fde3c35dfe [2022-08-31T00:33:56.445Z] Removing intermediate container 46fde3c35dfe [2022-08-31T00:33:56.445Z] ---> cc1a1e9d192f [2022-08-31T00:33:56.445Z] Step 11/27 : COPY . . [2022-08-31T00:33:56.659Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:33:57.015Z] ---> 47b4df015013 [2022-08-31T00:33:57.016Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:33:57.016Z] ---> Running in b9ab4d084e0a [2022-08-31T00:33:57.016Z] Removing intermediate container b9ab4d084e0a [2022-08-31T00:33:57.016Z] ---> 425c7132ff62 [2022-08-31T00:33:57.016Z] Step 13/27 : RUN $MAKE [2022-08-31T00:33:57.016Z] ---> Running in 8126afcaafaa [2022-08-31T00:33:57.254Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:33:57.279Z] 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 [2022-08-31T00:33:58.232Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-31T00:33:58.232Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-31T00:33:58.505Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-31T00:33:58.505Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-31T00:33:58.781Z] Executing busybox-1.35.0-r13.trigger [2022-08-31T00:33:58.781Z] OK: 226 MiB in 55 packages [2022-08-31T00:33:59.779Z] Removing intermediate container ae69034e21f4 [2022-08-31T00:33:59.779Z] ---> 7664102ef0b9 [2022-08-31T00:33:59.779Z] Step 9/13 : COPY go.mod vendor* ./ [2022-08-31T00:34:00.387Z] ---> be32ab6b098c [2022-08-31T00:34:00.387Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:34:00.387Z] ---> Running in dfa9c1888878 [2022-08-31T00:34:19.232Z] Removing intermediate container 8126afcaafaa [2022-08-31T00:34:19.232Z] ---> 38bc674499e8 [2022-08-31T00:34:19.232Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T00:34:19.232Z] 3.16: Pulling from library/alpine [2022-08-31T00:34:19.232Z] 213ec9aee27d: Pulling fs layer [2022-08-31T00:34:19.232Z] 213ec9aee27d: Verifying Checksum [2022-08-31T00:34:19.232Z] 213ec9aee27d: Download complete [2022-08-31T00:34:19.232Z] 213ec9aee27d: Pull complete [2022-08-31T00:34:19.232Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:34:19.232Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:34:19.232Z] ---> 9c6f07244728 [2022-08-31T00:34:19.232Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-31T00:34:19.232Z] ---> Running in c6b94480cc88 [2022-08-31T00:34:19.232Z] Removing intermediate container c6b94480cc88 [2022-08-31T00:34:19.232Z] ---> 3689b8077075 [2022-08-31T00:34:19.232Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:34:19.232Z] ---> Running in 6aa30f603e6a [2022-08-31T00:34:19.232Z] Removing intermediate container 6aa30f603e6a [2022-08-31T00:34:19.232Z] ---> 2bce354ba140 [2022-08-31T00:34:19.232Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T00:34:19.232Z] ---> Running in a4cd891fb28b [2022-08-31T00:34:19.232Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-31T00:34:20.174Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-31T00:34:20.174Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T00:34:20.438Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:34:20.438Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T00:34:20.699Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:34:20.699Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T00:34:20.959Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T00:34:20.959Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:34:20.959Z] OK: 8 MiB in 20 packages [2022-08-31T00:34:21.220Z] Removing intermediate container a4cd891fb28b [2022-08-31T00:34:21.220Z] ---> 4be06aa7ee46 [2022-08-31T00:34:21.220Z] Step 18/27 : WORKDIR / [2022-08-31T00:34:21.480Z] ---> Running in 9b7d8b2f511e [2022-08-31T00:34:21.480Z] Removing intermediate container 9b7d8b2f511e [2022-08-31T00:34:21.480Z] ---> 89169d5ab45e [2022-08-31T00:34:21.480Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-31T00:34:21.742Z] ---> 8b4ad1965791 [2022-08-31T00:34:21.742Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-31T00:34:21.742Z] ---> aea082cbe003 [2022-08-31T00:34:21.742Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-08-31T00:34:22.312Z] ---> 17c3a6660899 [2022-08-31T00:34:22.312Z] Step 22/27 : EXPOSE 59900 [2022-08-31T00:34:22.313Z] ---> Running in 3dda2bae32b6 [2022-08-31T00:34:22.575Z] Removing intermediate container 3dda2bae32b6 [2022-08-31T00:34:22.575Z] ---> f9d754f77042 [2022-08-31T00:34:22.575Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-08-31T00:34:22.575Z] ---> Running in b76ffe3b2ced [2022-08-31T00:34:22.575Z] Removing intermediate container b76ffe3b2ced [2022-08-31T00:34:22.575Z] ---> e57090e5cb73 [2022-08-31T00:34:22.575Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:34:22.575Z] ---> Running in 5230980a12e5 [2022-08-31T00:34:22.836Z] Removing intermediate container 5230980a12e5 [2022-08-31T00:34:22.836Z] ---> 25e6e993d124 [2022-08-31T00:34:22.836Z] Step 25/27 : LABEL arch=amd64 [2022-08-31T00:34:22.836Z] ---> Running in 0363723f13b2 [2022-08-31T00:34:22.836Z] Removing intermediate container 0363723f13b2 [2022-08-31T00:34:22.836Z] ---> ca27ccdb0301 [2022-08-31T00:34:22.836Z] Step 26/27 : LABEL git_sha=b91021cb91e463882b30122b38254e31238ac68e [2022-08-31T00:34:23.097Z] ---> Running in 8817ab6b68cf [2022-08-31T00:34:23.097Z] Removing intermediate container 8817ab6b68cf [2022-08-31T00:34:23.097Z] ---> 7e408aed0f10 [2022-08-31T00:34:23.097Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T00:34:23.097Z] ---> Running in b727cc9b86a0 [2022-08-31T00:34:23.097Z] Removing intermediate container b727cc9b86a0 [2022-08-31T00:34:23.097Z] ---> 12e08ed46bd2 [2022-08-31T00:34:23.097Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:34:23.097Z] Successfully built 12e08ed46bd2 [2022-08-31T00:34:23.097Z] 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 [2022-08-31T00:34:23.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:34:23.571Z] [2022-08-31T00:34:23.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:34:23.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:34:23.879Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-31T00:34:23.879Z] 5eb5b503b376: Pulling fs layer [2022-08-31T00:34:23.879Z] 5c69ac0246d0: Pulling fs layer [2022-08-31T00:34:23.879Z] ec43610c2a17: Pulling fs layer [2022-08-31T00:34:23.879Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-31T00:34:23.879Z] 33b1e0a273af: Pulling fs layer [2022-08-31T00:34:23.879Z] 5d3b04190fa2: Pulling fs layer [2022-08-31T00:34:23.879Z] 2f39f015ded8: Pulling fs layer [2022-08-31T00:34:23.879Z] 3a2ae6a8a46f: Waiting [2022-08-31T00:34:23.879Z] 33b1e0a273af: Waiting [2022-08-31T00:34:23.879Z] 5d3b04190fa2: Waiting [2022-08-31T00:34:23.879Z] 5c69ac0246d0: Download complete [2022-08-31T00:34:23.879Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-31T00:34:23.879Z] 3a2ae6a8a46f: Download complete [2022-08-31T00:34:24.143Z] 33b1e0a273af: Verifying Checksum [2022-08-31T00:34:24.143Z] 33b1e0a273af: Download complete [2022-08-31T00:34:24.143Z] 5d3b04190fa2: Verifying Checksum [2022-08-31T00:34:24.143Z] 5d3b04190fa2: Download complete [2022-08-31T00:34:24.143Z] ec43610c2a17: Verifying Checksum [2022-08-31T00:34:24.407Z] 5eb5b503b376: Verifying Checksum [2022-08-31T00:34:24.407Z] 5eb5b503b376: Download complete [2022-08-31T00:34:24.668Z] 2f39f015ded8: Download complete [2022-08-31T00:34:25.612Z] 5eb5b503b376: Pull complete [2022-08-31T00:34:25.873Z] 5c69ac0246d0: Pull complete [2022-08-31T00:34:26.443Z] ec43610c2a17: Pull complete [2022-08-31T00:34:26.443Z] 3a2ae6a8a46f: Pull complete [2022-08-31T00:34:26.703Z] 33b1e0a273af: Pull complete [2022-08-31T00:34:26.703Z] 5d3b04190fa2: Pull complete [2022-08-31T00:34:31.985Z] 2f39f015ded8: Pull complete [2022-08-31T00:34:31.985Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-31T00:34:31.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:34:31.985Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:34:32.088Z] prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container [2022-08-31T00:34:32.135Z] $ 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 [2022-08-31T00:34:34.002Z] $ docker top 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:34:34.414Z] ---> job-cost.sh [2022-08-31T00:34:34.414Z] lf-activate-venv: SKIPPING [2022-08-31T00:34:34.414Z] INFO: No Stack... [2022-08-31T00:34:34.675Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:34:35.246Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:34:35.536Z] + cat /w/workspace/foundry_device-virtual-go_PR-302/archives/cost.csv [2022-08-31T00:34:35.536Z] + cut -d, -f6 [Pipeline] lock [2022-08-31T00:34:35.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [2022-08-31T00:34:35.557Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] did not exist. Created. [2022-08-31T00:34:35.557Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:34:35.873Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-31T00:34:35.905Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:34:35.913Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:34:35.938Z] $ docker stop --time=1 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d [2022-08-31T00:34:37.114Z] $ docker rm -f 2b9822ee6a0163bcff6d5806ee6cb02cafe7863c54b1bec14f0ed5f2637fe75d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-31T00:34:47.389Z] Removing intermediate container dfa9c1888878 [2022-08-31T00:34:47.389Z] ---> b1f4c08b56f7 [2022-08-31T00:34:47.389Z] Step 11/13 : COPY . . [2022-08-31T00:34:47.389Z] ---> d853d933b75a [2022-08-31T00:34:47.389Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:34:47.389Z] ---> Running in 3bb1f98bf496 [2022-08-31T00:34:47.680Z] Removing intermediate container 3bb1f98bf496 [2022-08-31T00:34:47.680Z] ---> aed43ffa3fb3 [2022-08-31T00:34:47.680Z] Step 13/13 : RUN $MAKE [2022-08-31T00:34:47.680Z] ---> Running in 4b4a5dd1044b [2022-08-31T00:34:48.663Z] noop [2022-08-31T00:34:49.262Z] Removing intermediate container 4b4a5dd1044b [2022-08-31T00:34:49.262Z] ---> 02acc38f67ce [2022-08-31T00:34:49.536Z] Successfully built 02acc38f67ce [2022-08-31T00:34:49.536Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:34:49.906Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:34:49.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:34:50.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container [2022-08-31T00:34:50.248Z] $ 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 [2022-08-31T00:34:51.525Z] $ docker top e985934d09abb5697efb316a34de66af698015aaa51536b8b6255629cd2ae4e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:34:52.440Z] + go version [2022-08-31T00:34:52.440Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-31T00:34:52.463Z] $ docker stop --time=1 e985934d09abb5697efb316a34de66af698015aaa51536b8b6255629cd2ae4e1 [2022-08-31T00:34:54.109Z] $ 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 [2022-08-31T00:34:54.739Z] + docker inspect -f . ci-base-image-arm64 [2022-08-31T00:34:54.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:34:54.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container [2022-08-31T00:34:55.073Z] $ 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 [2022-08-31T00:34:56.344Z] $ docker top 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:34:57.270Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2022-08-31T00:34:57.943Z] + make test [2022-08-31T00:34:57.943Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-31T00:34:59.377Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-31T00:36:21.294Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-31T00:36:21.294Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements [2022-08-31T00:36:21.294Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-31T00:36:21.294Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-31T00:36:36.437Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-31T00:36:36.437Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-31T00:36:36.437Z] ./bin/test-attribution-txt.sh [2022-08-31T00:36:36.708Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-31T00:36:36.708Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-31T00:36:36.708Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-31T00:36:36.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-31T00:36:36.738Z] $ docker stop --time=1 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 [2022-08-31T00:36:38.525Z] $ docker rm -f 8c00f4b416f81cb6422bafabf21f91c30bb8c5a6568e777620f02b867a107805 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-31T00:36:39.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-31T00:36:39.530Z] Warning: overwriting stash ‘coverage-report’ [2022-08-31T00:36:40.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-31T00:36:40.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-31T00:36:40.949Z] + ls -al . [2022-08-31T00:36:40.949Z] total 188 [2022-08-31T00:36:40.949Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:34 . [2022-08-31T00:36:40.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 .. [2022-08-31T00:36:40.949Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 31 00:33 .git [2022-08-31T00:36:40.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 .github [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 31 00:32 .gitignore [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 31 00:32 .golangci.yml [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 31 00:32 Attribution.txt [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 31 00:32 CHANGELOG.md [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 2034 Aug 31 00:32 Dockerfile [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 31 00:32 GOVERNANCE.md [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 31 00:32 Jenkinsfile [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 31 00:32 LICENSE [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 2457 Aug 31 00:32 Makefile [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 31 00:32 OWNERS.md [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 3499 Aug 31 00:32 README.md [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 31 00:32 VERSION [2022-08-31T00:36:40.949Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 31 00:32 bin [2022-08-31T00:36:40.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 cmd [2022-08-31T00:36:40.949Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 31 00:36 coverage.out [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 31 00:32 go.mod [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 31 00:32 go.sum [2022-08-31T00:36:40.949Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 31 00:32 internal [2022-08-31T00:36:40.949Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 31 00:32 snap [2022-08-31T00:36:40.949Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 31 00:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:36:41.369Z] + 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 . [2022-08-31T00:36:42.071Z] Sending build context to Docker daemon 11.75MB [2022-08-31T00:36:42.071Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-31T00:36:42.071Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-31T00:36:42.071Z] ---> 02acc38f67ce [2022-08-31T00:36:42.071Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-31T00:36:42.071Z] ---> Running in 25d2b30d438b [2022-08-31T00:36:42.365Z] Removing intermediate container 25d2b30d438b [2022-08-31T00:36:42.365Z] ---> 40a399afa41f [2022-08-31T00:36:42.365Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-31T00:36:42.639Z] ---> Running in ed648a0e614f [2022-08-31T00:36:42.913Z] Removing intermediate container ed648a0e614f [2022-08-31T00:36:42.913Z] ---> 4193c56701cc [2022-08-31T00:36:42.913Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-08-31T00:36:42.913Z] ---> Running in 186ef7467316 [2022-08-31T00:36:43.190Z] Removing intermediate container 186ef7467316 [2022-08-31T00:36:43.190Z] ---> 5ec95235dbd8 [2022-08-31T00:36:43.190Z] Step 6/27 : WORKDIR /device-virtual-go [2022-08-31T00:36:43.462Z] ---> Running in 656fafc64248 [2022-08-31T00:36:43.735Z] Removing intermediate container 656fafc64248 [2022-08-31T00:36:43.735Z] ---> 87ba4f5ae104 [2022-08-31T00:36:43.735Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:36:43.735Z] ---> Running in 3b4aa19825ea [2022-08-31T00:36:45.725Z] Removing intermediate container 3b4aa19825ea [2022-08-31T00:36:45.725Z] ---> 2a4b83543bc8 [2022-08-31T00:36:45.725Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-31T00:36:45.725Z] ---> Running in fcb5493ecfae [2022-08-31T00:36:46.319Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:36:47.291Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:36:48.269Z] OK: 226 MiB in 55 packages [2022-08-31T00:36:49.244Z] Removing intermediate container fcb5493ecfae [2022-08-31T00:36:49.244Z] ---> 03a27cf1ef14 [2022-08-31T00:36:49.244Z] Step 9/27 : COPY go.mod vendor* ./ [2022-08-31T00:36:49.526Z] ---> d1e7fab917c3 [2022-08-31T00:36:49.526Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-31T00:36:49.526Z] ---> Running in 4b01c687d9d7 [2022-08-31T00:36:51.503Z] Removing intermediate container 4b01c687d9d7 [2022-08-31T00:36:51.503Z] ---> ad770e74c75c [2022-08-31T00:36:51.503Z] Step 11/27 : COPY . . [2022-08-31T00:36:52.938Z] ---> 538867e8caad [2022-08-31T00:36:52.938Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-08-31T00:36:52.938Z] ---> Running in 0a416e97a9a6 [2022-08-31T00:36:53.221Z] Removing intermediate container 0a416e97a9a6 [2022-08-31T00:36:53.221Z] ---> 80c24405bce3 [2022-08-31T00:36:53.221Z] Step 13/27 : RUN $MAKE [2022-08-31T00:36:53.221Z] ---> Running in 0174aa05b38e [2022-08-31T00:36:54.197Z] 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 [2022-08-31T00:39:01.079Z] Removing intermediate container 0174aa05b38e [2022-08-31T00:39:01.079Z] ---> f03f533911e5 [2022-08-31T00:39:01.079Z] Step 14/27 : FROM alpine:3.16 [2022-08-31T00:39:01.079Z] 3.16: Pulling from library/alpine [2022-08-31T00:39:01.079Z] 9b18e9b68314: Pulling fs layer [2022-08-31T00:39:01.079Z] 9b18e9b68314: Download complete [2022-08-31T00:39:01.688Z] 9b18e9b68314: Pull complete [2022-08-31T00:39:01.688Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-31T00:39:01.688Z] Status: Downloaded newer image for alpine:3.16 [2022-08-31T00:39:01.688Z] ---> a6215f271958 [2022-08-31T00:39:01.688Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-31T00:39:01.688Z] ---> Running in 32d192e4d656 [2022-08-31T00:39:01.966Z] Removing intermediate container 32d192e4d656 [2022-08-31T00:39:01.966Z] ---> 592572354472 [2022-08-31T00:39:01.966Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-31T00:39:02.243Z] ---> Running in 7d6d3a212d6c [2022-08-31T00:39:04.229Z] Removing intermediate container 7d6d3a212d6c [2022-08-31T00:39:04.229Z] ---> af360625d792 [2022-08-31T00:39:04.229Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-31T00:39:04.229Z] ---> Running in 825bcf2b42ae [2022-08-31T00:39:05.209Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-31T00:39:06.199Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-31T00:39:06.795Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-31T00:39:07.068Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-31T00:39:07.069Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-31T00:39:07.069Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-31T00:39:07.341Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-31T00:39:07.616Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-31T00:39:07.616Z] Executing busybox-1.35.0-r17.trigger [2022-08-31T00:39:07.616Z] OK: 8 MiB in 20 packages [2022-08-31T00:39:08.610Z] Removing intermediate container 825bcf2b42ae [2022-08-31T00:39:08.610Z] ---> c54fd068cede [2022-08-31T00:39:08.610Z] Step 18/27 : WORKDIR / [2022-08-31T00:39:08.610Z] ---> Running in 7ab47d3581e4 [2022-08-31T00:39:08.884Z] Removing intermediate container 7ab47d3581e4 [2022-08-31T00:39:08.884Z] ---> 871f175a8e65 [2022-08-31T00:39:08.884Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-31T00:39:09.483Z] ---> 1e19ef303b56 [2022-08-31T00:39:09.483Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-31T00:39:10.081Z] ---> ae2e621c8e7b [2022-08-31T00:39:10.081Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-08-31T00:39:11.518Z] ---> 190884217c99 [2022-08-31T00:39:11.518Z] Step 22/27 : EXPOSE 59900 [2022-08-31T00:39:11.518Z] ---> Running in 1cfc99e8fe08 [2022-08-31T00:39:11.793Z] Removing intermediate container 1cfc99e8fe08 [2022-08-31T00:39:11.793Z] ---> 8a22148227f7 [2022-08-31T00:39:11.793Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-08-31T00:39:12.066Z] ---> Running in 35beb0bc937d [2022-08-31T00:39:12.339Z] Removing intermediate container 35beb0bc937d [2022-08-31T00:39:12.340Z] ---> 4a92368be787 [2022-08-31T00:39:12.340Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-31T00:39:12.340Z] ---> Running in aac250576950 [2022-08-31T00:39:12.613Z] Removing intermediate container aac250576950 [2022-08-31T00:39:12.613Z] ---> 9a3fb70f0588 [2022-08-31T00:39:12.613Z] Step 25/27 : LABEL arch=arm64 [2022-08-31T00:39:12.613Z] ---> Running in cc7875f32b07 [2022-08-31T00:39:13.211Z] Removing intermediate container cc7875f32b07 [2022-08-31T00:39:13.211Z] ---> 5b83f6ca78c8 [2022-08-31T00:39:13.211Z] Step 26/27 : LABEL git_sha=b91021cb91e463882b30122b38254e31238ac68e [2022-08-31T00:39:13.211Z] ---> Running in 46e7fcfd59a6 [2022-08-31T00:39:13.484Z] Removing intermediate container 46e7fcfd59a6 [2022-08-31T00:39:13.484Z] ---> 7fe76430fbd4 [2022-08-31T00:39:13.484Z] Step 27/27 : LABEL version=0.0.0 [2022-08-31T00:39:13.484Z] ---> Running in 46fb85839c49 [2022-08-31T00:39:13.756Z] Removing intermediate container 46fb85839c49 [2022-08-31T00:39:13.756Z] ---> 253f19667f02 [2022-08-31T00:39:13.756Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-31T00:39:13.756Z] Successfully built 253f19667f02 [2022-08-31T00:39:13.756Z] 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 [2022-08-31T00:39:14.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:39:14.224Z] [2022-08-31T00:39:14.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:39:14.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:39:14.853Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-31T00:39:14.853Z] 8998bd30e6a1: Pulling fs layer [2022-08-31T00:39:14.853Z] 04944245beec: Pulling fs layer [2022-08-31T00:39:14.853Z] 699f458cf7ca: Pulling fs layer [2022-08-31T00:39:14.853Z] 765212b225bb: Pulling fs layer [2022-08-31T00:39:14.853Z] f23df028b6ca: Pulling fs layer [2022-08-31T00:39:14.853Z] d65c8cfc05b1: Pulling fs layer [2022-08-31T00:39:14.853Z] 2437ff75d9bd: Pulling fs layer [2022-08-31T00:39:14.853Z] 765212b225bb: Waiting [2022-08-31T00:39:14.853Z] f23df028b6ca: Waiting [2022-08-31T00:39:14.853Z] d65c8cfc05b1: Waiting [2022-08-31T00:39:14.853Z] 2437ff75d9bd: Waiting [2022-08-31T00:39:14.853Z] 04944245beec: Verifying Checksum [2022-08-31T00:39:14.854Z] 04944245beec: Download complete [2022-08-31T00:39:14.854Z] 765212b225bb: Verifying Checksum [2022-08-31T00:39:14.854Z] 765212b225bb: Download complete [2022-08-31T00:39:14.854Z] f23df028b6ca: Verifying Checksum [2022-08-31T00:39:14.854Z] f23df028b6ca: Download complete [2022-08-31T00:39:14.854Z] d65c8cfc05b1: Verifying Checksum [2022-08-31T00:39:14.854Z] d65c8cfc05b1: Download complete [2022-08-31T00:39:15.132Z] 699f458cf7ca: Verifying Checksum [2022-08-31T00:39:15.132Z] 699f458cf7ca: Download complete [2022-08-31T00:39:15.408Z] 8998bd30e6a1: Verifying Checksum [2022-08-31T00:39:15.408Z] 8998bd30e6a1: Download complete [2022-08-31T00:39:18.050Z] 2437ff75d9bd: Verifying Checksum [2022-08-31T00:39:18.050Z] 2437ff75d9bd: Download complete [2022-08-31T00:39:20.039Z] 8998bd30e6a1: Pull complete [2022-08-31T00:39:20.645Z] 04944245beec: Pull complete [2022-08-31T00:39:22.097Z] 699f458cf7ca: Pull complete [2022-08-31T00:39:22.369Z] 765212b225bb: Pull complete [2022-08-31T00:39:23.351Z] f23df028b6ca: Pull complete [2022-08-31T00:39:23.351Z] d65c8cfc05b1: Pull complete [2022-08-31T00:39:38.443Z] 2437ff75d9bd: Pull complete [2022-08-31T00:39:38.443Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-31T00:39:38.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-31T00:39:38.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:39:38.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-24144 does not seem to be running inside a container [2022-08-31T00:39:38.764Z] $ 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 [2022-08-31T00:39:41.383Z] $ docker top 26381c37697f7a4e7bf6320588310996376e46e88489ecc33152c866cbe2e0c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:42.351Z] ---> job-cost.sh [2022-08-31T00:39:42.351Z] lf-activate-venv: SKIPPING [2022-08-31T00:39:42.351Z] INFO: No Stack... [2022-08-31T00:39:42.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-31T00:39:43.922Z] INFO: Archiving Costs [Pipeline] sh [2022-08-31T00:39:44.579Z] + + catcut /w/workspace/device-virtual-go/2/archives/cost.csv -d, [2022-08-31T00:39:44.579Z] -f6 [Pipeline] lock [2022-08-31T00:39:44.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [2022-08-31T00:39:44.643Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] did not exist. Created. [2022-08-31T00:39:44.643Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-31T00:39:45.328Z] /w/workspace/device-virtual-go/2@tmp/durable-fd2ca31c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-31T00:39:46.002Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-31T00:39:46.021Z] Warning: overwriting stash ‘stack-cost’ [2022-08-31T00:39:46.072Z] Stashed 1 file(s) [Pipeline] } [2022-08-31T00:39:46.080Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-302-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-31T00:39:46.100Z] $ docker stop --time=1 26381c37697f7a4e7bf6320588310996376e46e88489ecc33152c866cbe2e0c0 [2022-08-31T00:39:47.632Z] $ 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 [2022-08-31T00:39:48.133Z] provisioning config files... [2022-08-31T00:39:48.168Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config2542190560106655102tmp [Pipeline] { [Pipeline] sh [2022-08-31T00:39:48.473Z] + set +x [2022-08-31T00:39:48.473Z] + curl -s https://codecov.io/bash [2022-08-31T00:39:48.473Z] + bash -s -- [2022-08-31T00:39:48.473Z] [2022-08-31T00:39:48.473Z] _____ _ [2022-08-31T00:39:48.473Z] / ____| | | [2022-08-31T00:39:48.473Z] | | ___ __| | ___ ___ _____ __ [2022-08-31T00:39:48.473Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-31T00:39:48.473Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-31T00:39:48.473Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-31T00:39:48.473Z] Bash-1.0.6 [2022-08-31T00:39:48.473Z] [2022-08-31T00:39:48.473Z] [2022-08-31T00:39:48.473Z] ==> git version 2.25.1 found [2022-08-31T00:39:48.473Z] ==> 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 [2022-08-31T00:39:48.473Z] Release-Date: 2020-01-08 [2022-08-31T00:39:48.473Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-31T00:39:48.473Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-31T00:39:48.473Z] ==> Jenkins CI detected. [2022-08-31T00:39:48.473Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-302 [2022-08-31T00:39:48.473Z] project root: . [2022-08-31T00:39:48.473Z] --> token set from env [2022-08-31T00:39:48.473Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-31T00:39:48.473Z] ==> Running gcov in . (disable via -X gcov) [2022-08-31T00:39:48.473Z] ==> Python coveragepy not found [2022-08-31T00:39:48.473Z] ==> Searching for coverage reports in: [2022-08-31T00:39:48.473Z] + . [2022-08-31T00:39:48.733Z] -> Found 1 reports [2022-08-31T00:39:48.733Z] ==> Detecting git/mercurial file structure [2022-08-31T00:39:48.733Z] ==> Reading reports [2022-08-31T00:39:48.733Z] + ./coverage.out bytes=44128 [2022-08-31T00:39:48.733Z] ==> Appending adjustments [2022-08-31T00:39:48.733Z] https://docs.codecov.io/docs/fixing-reports [2022-08-31T00:39:48.733Z] + Found adjustments [2022-08-31T00:39:48.733Z] ==> Gzipping contents [2022-08-31T00:39:48.733Z] 8.0K /tmp/codecov.915ATO.gz [2022-08-31T00:39:48.734Z] ==> Uploading reports [2022-08-31T00:39:48.734Z] url: https://codecov.io [2022-08-31T00:39:48.734Z] 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= [2022-08-31T00:39:48.734Z] -> Pinging Codecov [2022-08-31T00:39:48.734Z] 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= [2022-08-31T00:39:48.995Z] -> Uploading to [2022-08-31T00:39:48.995Z] 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 [2022-08-31T00:39:48.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-31T00:39:48.995Z] Dload Upload Total Spent Left Speed [2022-08-31T00:39:49.256Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5471 0 0 100 5471 0 24315 --:--:-- --:--:-- --:--:-- 24315 [2022-08-31T00:39:49.256Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b91021cb91e463882b30122b38254e31238ac68e [Pipeline] } [2022-08-31T00:39:49.264Z] 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 [2022-08-31T00:39:50.035Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-302/archives ] [2022-08-31T00:39:50.035Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:39:50.035Z] total 16 [2022-08-31T00:39:50.035Z] drwxr-xr-x 3 root root 4096 Aug 31 00:34 . [2022-08-31T00:39:50.035Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:34 .. [2022-08-31T00:39:50.035Z] drwxr-xr-x 2 root root 4096 Aug 31 00:34 cost [2022-08-31T00:39:50.035Z] -rw-r--r-- 1 root root 89 Aug 31 00:34 cost.csv [2022-08-31T00:39:50.035Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:39:50.035Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-302/archives [2022-08-31T00:39:50.035Z] total 16 [2022-08-31T00:39:50.035Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 31 00:34 . [2022-08-31T00:39:50.035Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 31 00:34 .. [2022-08-31T00:39:50.035Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 31 00:34 cost [2022-08-31T00:39:50.035Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 31 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:50.329Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:51.196Z] ---> package-listing.sh [2022-08-31T00:39:51.196Z] ++ facter osfamily [2022-08-31T00:39:51.196Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-31T00:39:51.456Z] + OS_FAMILY=debian [2022-08-31T00:39:51.456Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-302 [2022-08-31T00:39:51.456Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-31T00:39:51.456Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-31T00:39:51.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-31T00:39:51.456Z] + PACKAGES=/tmp/packages_start.txt [2022-08-31T00:39:51.456Z] + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' [2022-08-31T00:39:51.456Z] + PACKAGES=/tmp/packages_end.txt [2022-08-31T00:39:51.456Z] + case "${OS_FAMILY}" in [2022-08-31T00:39:51.456Z] + dpkg -l [2022-08-31T00:39:51.456Z] + grep '^ii' [2022-08-31T00:39:51.456Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-31T00:39:51.456Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-31T00:39:51.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-31T00:39:51.456Z] + '[' /w/workspace/foundry_device-virtual-go_PR-302 ']' [2022-08-31T00:39:51.456Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-302/archives/ [2022-08-31T00:39:51.456Z] + 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 [2022-08-31T00:39:51.468Z] 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 [2022-08-31T00:39:51.748Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-31T00:39:52.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-31T00:39:52.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-31T00:39:52.406Z] prd-ubuntu20.04-docker-8c-8g-24148 does not seem to be running inside a container [2022-08-31T00:39:52.459Z] $ 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 [2022-08-31T00:39:52.701Z] $ docker top fdf15c4f8f746986f690fc72216f191719cdb46e794e1679a9ffb41673a12e4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-31T00:39:53.056Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-31T00:39:53.350Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-31T00:39:53.640Z] + ls /var/log/sa-host [2022-08-31T00:39:53.640Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-31T00:39:53.790Z] provisioning config files... [2022-08-31T00:39:53.800Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-302@tmp/config3212078096935504478tmp [Pipeline] { [Pipeline] echo [2022-08-31T00:39:53.812Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:54.096Z] ---> create-netrc.sh [Pipeline] } [2022-08-31T00:39:54.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:54.446Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-31T00:39:54.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:54.746Z] ---> sudo-logs.sh [2022-08-31T00:39:54.746Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-31T00:39:54.784Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:55.078Z] ---> job-cost.sh [2022-08-31T00:39:55.078Z] lf-activate-venv: SKIPPING [2022-08-31T00:39:55.078Z] DEBUG: total: 0.2199999988079071 [2022-08-31T00:39:55.078Z] INFO: Retrieving Stack Cost... [2022-08-31T00:39:55.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-31T00:39:55.912Z] INFO: Archiving Costs [Pipeline] echo [2022-08-31T00:39:55.927Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-31T00:39:56.214Z] ---> logs-deploy.sh [2022-08-31T00:39:56.214Z] lf-activate-venv: SKIPPING [2022-08-31T00:39:56.214Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-302/2 [2022-08-31T00:39:56.214Z] INFO: archiving workspace using pattern(s): [2022-08-31T00:39:57.157Z] Archives upload complete. [2022-08-31T00:39:57.157Z] INFO: archiving logs to Nexus