Pull request #277 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9+bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c (6faf28f9c7121af8ce0df7f60a7f2755d27074b7) 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-ssh16930539350584217437.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7138999930549058860.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-277/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-277/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5407226603969154407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-277/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5963632435864668449.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh13401915531936731885.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-277/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-277/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6667945492515101759.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21221 in /w/workspace/foundry_device-virtual-go_PR-277 [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-277 # 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 > 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/277/head:refs/remotes/origin/PR-277 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c into PR head commit 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 Merge succeeded, producing 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 Checking out Revision 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 (PR-277) > git config core.sparsecheckout # timeout=10 > git checkout -f 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 # 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 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:14 ========================================================= 11:04:14 EdgeX Global Pipelines Version Info 11:04:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:14 ------------------- 11:04:14 stable info: 11:04:14 ------------------- 11:04:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:14 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:04:14 Message: update stable to v1.0.221 11:04:15 ------------------- 11:04:15 experimental info: 11:04:15 ------------------- 11:04:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:15 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 11:04:15 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-277 [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-277 [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-277 [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1efad5c [Pipeline] echo 11:04:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:16 provisioning config files... 11:04:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-277@tmp/config2456436086354602239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:17 ---> docker-login.sh 11:04:17 nexus3.edgexfoundry.org:10001 11:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:17 Configure a credential helper to remove this warning. See 11:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:17 11:04:17 Login Succeeded 11:04:17 nexus3.edgexfoundry.org:10002 11:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:18 Configure a credential helper to remove this warning. See 11:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:18 11:04:18 Login Succeeded 11:04:18 nexus3.edgexfoundry.org:10003 11:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:18 Configure a credential helper to remove this warning. See 11:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:18 11:04:18 Login Succeeded 11:04:18 nexus3.edgexfoundry.org:10004 11:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:18 Configure a credential helper to remove this warning. See 11:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:18 11:04:18 Login Succeeded 11:04:18 docker.io 11:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:18 Configure a credential helper to remove this warning. See 11:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:18 11:04:18 Login Succeeded 11:04:18 ---> docker-login.sh ends [Pipeline] } 11:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:19 + git rev-list -1 --merges 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9~1..1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [Pipeline] echo 11:04:19 -----------> git rev-list -1 --merges 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9~1..1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [false] [Pipeline] sh 11:04:20 + git log --format=format:%s -1 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [Pipeline] echo 11:04:20 ========================================================= 11:04:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:20 + git log --format=format:%s -1 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [Pipeline] echo 11:04:20 [semverPrep] GIT_COMMIT: 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:20 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:21 + grep -v github /etc/ssh/ssh_known_hosts 11:04:21 + [ -e /tmp/ssh_known_hosts ] 11:04:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:21 sudo tee -a /etc/ssh/ssh_known_hosts 11:04:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:04:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:04:21 11:04:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:04:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:04:21 latest: Pulling from edgex-devops/git-semver 11:04:21 a0d0a0d46f8b: Pulling fs layer 11:04:21 3e5f54012d9b: Pulling fs layer 11:04:21 4c7163046ea9: Pulling fs layer 11:04:21 0c2d73faf560: Pulling fs layer 11:04:21 0c2d73faf560: Waiting 11:04:21 3e5f54012d9b: Verifying Checksum 11:04:21 3e5f54012d9b: Download complete 11:04:21 a0d0a0d46f8b: Verifying Checksum 11:04:21 a0d0a0d46f8b: Download complete 11:04:21 0c2d73faf560: Download complete 11:04:21 4c7163046ea9: Verifying Checksum 11:04:21 4c7163046ea9: Download complete 11:04:22 a0d0a0d46f8b: Pull complete 11:04:22 3e5f54012d9b: Pull complete 11:04:22 4c7163046ea9: Pull complete 11:04:22 0c2d73faf560: Pull complete 11:04:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:04:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:04:22 prd-ubuntu20.04-docker-8c-8g-21221 does not seem to be running inside a container 11:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-277 -v /w/workspace/foundry_device-virtual-go_PR-277:/w/workspace/foundry_device-virtual-go_PR-277:rw,z -v /w/workspace/foundry_device-virtual-go_PR-277@tmp:/w/workspace/foundry_device-virtual-go_PR-277@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:04:23 $ docker top a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:04:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:23 [ssh-agent] Looking for ssh-agent implementation... 11:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:23 $ docker exec a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 ssh-agent 11:04:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHjeBoA/agent.13 11:04:23 SSH_AGENT_PID=20 11:04:23 Running ssh-add (command line suppressed) 11:04:23 Identity added: /w/workspace/foundry_device-virtual-go_PR-277@tmp/private_key_4666902896801518002.key (/w/workspace/foundry_device-virtual-go_PR-277@tmp/private_key_4666902896801518002.key) 11:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:24 + git tag --points-at HEAD [Pipeline] } 11:04:24 $ docker exec --env ******** --env ******** a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 ssh-agent -k 11:04:24 unset SSH_AUTH_SOCK; 11:04:24 unset SSH_AGENT_PID; 11:04:24 echo Agent pid 20 killed; 11:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:04:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:04:24 [ssh-agent] Looking for ssh-agent implementation... 11:04:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:04:24 $ docker exec a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 ssh-agent 11:04:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbFBInO/agent.53 11:04:24 SSH_AGENT_PID=59 11:04:24 Running ssh-add (command line suppressed) 11:04:24 Identity added: /w/workspace/foundry_device-virtual-go_PR-277@tmp/private_key_2683281970028143237.key (/w/workspace/foundry_device-virtual-go_PR-277@tmp/private_key_2683281970028143237.key) 11:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:04:25 + git semver init 11:04:25 # -> Open(): unable to determine branch for HEAD 11:04:25 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-277/.git 11:04:25 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-277 11:04:25 # $SEMVER_REMOTE_NAME = origin 11:04:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:04:25 # $SEMVER_USER_NAME = edgex-jenkins 11:04:25 # $SEMVER_BRANCH = PR-277 11:04:25 # $SEMVER_TEMP = /tmp/semver-283946013 11:04:25 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:04:26 # '/tmp/semver-283946013' -> '/w/workspace/foundry_device-virtual-go_PR-277/.semver' 11:04:26 # -> Force: false 11:04:26 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-277/.semver [Pipeline] } 11:04:26 $ docker exec --env ******** --env ******** a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 ssh-agent -k 11:04:26 unset SSH_AUTH_SOCK; 11:04:26 unset SSH_AGENT_PID; 11:04:26 echo Agent pid 59 killed; 11:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:04:27 + git semver [Pipeline] } 11:04:27 $ docker stop --time=1 a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 11:04:28 $ docker rm -f a2e7b1c1d1c4449d0c9678db2aae0f1fec0cccff632588372820f5c050664133 [Pipeline] // withDockerContainer [Pipeline] sh 11:04:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:04:29 Stashed 1 file(s) [Pipeline] echo 11:04:29 [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 11:04:30 provisioning config files... 11:04:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-277@tmp/config8437147724113677479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:30 ---> docker-login.sh 11:04:30 nexus3.edgexfoundry.org:10001 11:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:30 Configure a credential helper to remove this warning. See 11:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:30 11:04:30 Login Succeeded 11:04:30 nexus3.edgexfoundry.org:10002 11:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:30 Configure a credential helper to remove this warning. See 11:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:30 11:04:30 Login Succeeded 11:04:30 nexus3.edgexfoundry.org:10003 11:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:30 Configure a credential helper to remove this warning. See 11:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:30 11:04:30 Login Succeeded 11:04:30 nexus3.edgexfoundry.org:10004 11:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:30 Configure a credential helper to remove this warning. See 11:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:30 11:04:30 Login Succeeded 11:04:30 docker.io 11:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:31 Configure a credential helper to remove this warning. See 11:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:31 11:04:31 Login Succeeded 11:04:31 ---> docker-login.sh ends [Pipeline] } 11:04:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:31 ========================================================= 11:04:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:04:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:04:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:04:31 Sending build context to Docker daemon 22.93MB 11:04:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:04:31 Step 2/12 : FROM ${BASE} AS builder 11:04:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:04:32 59bf1c3509f3: Pulling fs layer 11:04:32 666ba61612fd: Pulling fs layer 11:04:32 8ed8ca486205: Pulling fs layer 11:04:32 4fe6c5a15a65: Pulling fs layer 11:04:32 22a0e8bec74d: Pulling fs layer 11:04:32 640e595b4fbd: Pulling fs layer 11:04:32 763cafe07f6e: Pulling fs layer 11:04:32 0c0b528cf693: Pulling fs layer 11:04:32 10935f4eaf8b: Pulling fs layer 11:04:32 4fe6c5a15a65: Waiting 11:04:32 22a0e8bec74d: Waiting 11:04:32 640e595b4fbd: Waiting 11:04:32 763cafe07f6e: Waiting 11:04:32 0c0b528cf693: Waiting 11:04:32 10935f4eaf8b: Waiting 11:04:32 666ba61612fd: Verifying Checksum 11:04:32 666ba61612fd: Download complete 11:04:32 22a0e8bec74d: Download complete 11:04:32 640e595b4fbd: Download complete 11:04:32 59bf1c3509f3: Verifying Checksum 11:04:32 763cafe07f6e: Verifying Checksum 11:04:32 763cafe07f6e: Download complete 11:04:32 0c0b528cf693: Verifying Checksum 11:04:32 0c0b528cf693: Download complete 11:04:32 59bf1c3509f3: Pull complete 11:04:32 666ba61612fd: Pull complete 11:04:32 8ed8ca486205: Pull complete 11:04:32 10935f4eaf8b: Verifying Checksum 11:04:32 10935f4eaf8b: Download complete 11:04:32 4fe6c5a15a65: Verifying Checksum 11:04:32 4fe6c5a15a65: Download complete 11:04:36 4fe6c5a15a65: Pull complete 11:04:36 22a0e8bec74d: Pull complete 11:04:36 640e595b4fbd: Pull complete 11:04:36 763cafe07f6e: Pull complete 11:04:36 0c0b528cf693: Pull complete 11:04:39 10935f4eaf8b: Pull complete 11:04:39 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:04:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:04:39 ---> 99d49a6021b9 11:04:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:40 ---> Running in 45c4aa58a5b7 11:04:40 Removing intermediate container 45c4aa58a5b7 11:04:40 ---> d5c64efe27be 11:04:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:04:40 ---> Running in 2a1a6bf9e5ff 11:04:40 Removing intermediate container 2a1a6bf9e5ff 11:04:40 ---> 0bd256c3bb5e 11:04:40 Step 5/12 : WORKDIR /device-virtual-go 11:04:40 ---> Running in e0c65b090db1 11:04:40 Removing intermediate container e0c65b090db1 11:04:40 ---> 61a32b0648ee 11:04:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:40 ---> Running in f6fc5e73fd18 11:04:41 Removing intermediate container f6fc5e73fd18 11:04:41 ---> e83796510707 11:04:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:41 ---> Running in b76681e3cb84 11:04:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:04:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:04:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:04:43 (2/4) Installing libedit (20210910.3.1-r0) 11:04:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:04:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:04:43 Executing busybox-1.34.1-r3.trigger 11:04:43 OK: 224 MiB in 56 packages 11:04:44 Removing intermediate container b76681e3cb84 11:04:44 ---> 091350ed37b8 11:04:44 Step 8/12 : COPY go.mod vendor* ./ 11:04:44 ---> 7c801df47772 11:04:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:44 ---> Running in 780fd2567c5c 11:04:44 Still waiting to schedule task 11:04:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:05:06 Removing intermediate container 780fd2567c5c 11:05:06 ---> 9b8156e92cb7 11:05:06 Step 10/12 : COPY . . 11:05:06 ---> 1fd60e5e3c03 11:05:06 Step 11/12 : ARG MAKE='make build' 11:05:06 ---> Running in 4817ceb4feb6 11:05:06 Removing intermediate container 4817ceb4feb6 11:05:06 ---> aeb21d366fbf 11:05:06 Step 12/12 : RUN $MAKE 11:05:06 ---> Running in 5c41bea27d22 11:05:06 noop 11:05:06 Removing intermediate container 5c41bea27d22 11:05:06 ---> 8cc903f81ec7 11:05:06 Successfully built 8cc903f81ec7 11:05:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:05:06 + docker inspect -f . ci-base-image-x86_64 11:05:06 . [Pipeline] withDockerContainer 11:05:06 prd-ubuntu20.04-docker-8c-8g-21221 does not seem to be running inside a container 11:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-277 -v /w/workspace/foundry_device-virtual-go_PR-277:/w/workspace/foundry_device-virtual-go_PR-277:rw,z -v /w/workspace/foundry_device-virtual-go_PR-277@tmp:/w/workspace/foundry_device-virtual-go_PR-277@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 ******** ci-base-image-x86_64 cat 11:05:07 $ docker top 255d210ecf0ef3d8026e4eb15b72819ce9f97549c9fcf55822a3a225d5b244f1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:07 + go version 11:05:07 go version go1.17.6 linux/amd64 [Pipeline] } 11:05:07 $ docker stop --time=1 255d210ecf0ef3d8026e4eb15b72819ce9f97549c9fcf55822a3a225d5b244f1 11:05:08 $ docker rm -f 255d210ecf0ef3d8026e4eb15b72819ce9f97549c9fcf55822a3a225d5b244f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:05:09 + docker inspect -f . ci-base-image-x86_64 11:05:09 . [Pipeline] withDockerContainer 11:05:09 prd-ubuntu20.04-docker-8c-8g-21221 does not seem to be running inside a container 11:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-277 -v /w/workspace/foundry_device-virtual-go_PR-277:/w/workspace/foundry_device-virtual-go_PR-277:rw,z -v /w/workspace/foundry_device-virtual-go_PR-277@tmp:/w/workspace/foundry_device-virtual-go_PR-277@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 ******** ci-base-image-x86_64 cat 11:05:10 $ docker top 8883318ecf92855a14b575b1d614f1c539f0630f747e4fef6a5bdb63fd298218 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:05:10 + make test 11:05:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 11:05:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:05:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:05:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:05:29 ./bin/test-attribution-txt.sh [Pipeline] echo 11:05:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:05:29 $ docker stop --time=1 8883318ecf92855a14b575b1d614f1c539f0630f747e4fef6a5bdb63fd298218 11:05:34 $ docker rm -f 8883318ecf92855a14b575b1d614f1c539f0630f747e4fef6a5bdb63fd298218 [Pipeline] // withDockerContainer [Pipeline] sh 11:05:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:05:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:05:37 + ls -al . 11:05:37 total 204 11:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:05 . 11:05:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:04 .. 11:05:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:04 .git 11:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:04 .github 11:05:37 -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:04 .gitignore 11:05:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:04 .golangci.yml 11:05:37 drwx------ 3 jenkins jenkins 4096 Apr 18 11:04 .semver 11:05:37 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:04 Attribution.txt 11:05:37 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:04 CHANGELOG.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:04 Dockerfile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:04 GOVERNANCE.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:04 Jenkinsfile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:04 LICENSE 11:05:37 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:04 Makefile 11:05:37 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:04 OWNERS.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:04 README.md 11:05:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 11:04 VERSION 11:05:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:04 bin 11:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:04 cmd 11:05:37 -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:05 coverage.out 11:05:37 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:04 go.mod 11:05:37 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:04 go.sum 11:05:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:04 internal 11:05:37 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:04 version.go [Pipeline] isUnix [Pipeline] sh 11:05:37 + 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=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 --label arch=amd64 --label version=0.0.0 . 11:05:37 Sending build context to Docker daemon 22.97MB 11:05:37 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:05:37 Step 2/26 : FROM ${BASE} AS builder 11:05:37 ---> 8cc903f81ec7 11:05:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:37 ---> Running in de0accef8539 11:05:37 Removing intermediate container de0accef8539 11:05:37 ---> f15cdc8091ec 11:05:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:05:37 ---> Running in a5ef8eaf6295 11:05:37 Removing intermediate container a5ef8eaf6295 11:05:37 ---> 7b32735d99f4 11:05:37 Step 5/26 : WORKDIR /device-virtual-go 11:05:37 ---> Running in b3adf4136ddd 11:05:37 Removing intermediate container b3adf4136ddd 11:05:37 ---> e07b4e4dd5e8 11:05:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:37 ---> Running in 7b9a5873ab1e 11:05:38 Removing intermediate container 7b9a5873ab1e 11:05:38 ---> 5b05afbf2af6 11:05:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:38 ---> Running in 3e6a2d665552 11:05:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:05:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:05:40 OK: 224 MiB in 56 packages 11:05:40 Removing intermediate container 3e6a2d665552 11:05:40 ---> 1f657df26428 11:05:40 Step 8/26 : COPY go.mod vendor* ./ 11:05:40 ---> 89e79216c9a0 11:05:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:40 ---> Running in dee61a561fa4 11:05:41 Removing intermediate container dee61a561fa4 11:05:41 ---> 71df830ac1a8 11:05:41 Step 10/26 : COPY . . 11:05:41 ---> 5781c2e088c9 11:05:41 Step 11/26 : ARG MAKE='make build' 11:05:41 ---> Running in e105f054f9fb 11:05:41 Removing intermediate container e105f054f9fb 11:05:41 ---> 216e64b3b094 11:05:41 Step 12/26 : RUN $MAKE 11:05:41 ---> Running in 5cded456bf3a 11:05:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:06:04 Removing intermediate container 5cded456bf3a 11:06:04 ---> 4a27ec6a6c3f 11:06:04 Step 13/26 : FROM alpine:3.14 11:06:04 3.14: Pulling from library/alpine 11:06:04 8663204ce13b: Pulling fs layer 11:06:04 8663204ce13b: Verifying Checksum 11:06:04 8663204ce13b: Download complete 11:06:04 8663204ce13b: Pull complete 11:06:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:06:04 Status: Downloaded newer image for alpine:3.14 11:06:04 ---> e04c818066af 11:06:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:04 ---> Running in 23029040aac2 11:06:04 Removing intermediate container 23029040aac2 11:06:04 ---> 5e789a07dd0f 11:06:04 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:04 ---> Running in 853c49f01628 11:06:04 Removing intermediate container 853c49f01628 11:06:04 ---> 50758fdd0d9a 11:06:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:06:04 ---> Running in 73a0b7347216 11:06:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:06:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:06:05 (1/6) Installing dumb-init (1.2.5-r1) 11:06:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:06:05 (3/6) Installing libsodium (1.0.18-r0) 11:06:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:06:05 (5/6) Installing libzmq (4.3.4-r0) 11:06:06 (6/6) Installing zeromq (4.3.4-r0) 11:06:06 Executing busybox-1.33.1-r7.trigger 11:06:06 OK: 8 MiB in 20 packages 11:06:08 Removing intermediate container 73a0b7347216 11:06:08 ---> 0c1a4458f3dd 11:06:08 Step 17/26 : WORKDIR / 11:06:08 ---> Running in 7d78f43894c9 11:06:08 Removing intermediate container 7d78f43894c9 11:06:08 ---> f7eb44a6a19d 11:06:08 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:09 ---> 83026338f612 11:06:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:09 ---> 08ca492a0162 11:06:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:06:10 ---> 55151f8fcf65 11:06:10 Step 21/26 : EXPOSE 59900 11:06:10 ---> Running in bcbbc614c54b 11:06:10 Removing intermediate container bcbbc614c54b 11:06:10 ---> c1e3cd28efdc 11:06:10 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:06:10 ---> Running in cd19583fa0d1 11:06:10 Removing intermediate container cd19583fa0d1 11:06:10 ---> 29dd2890f61b 11:06:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:10 ---> Running in 763d8cd84e26 11:06:10 Removing intermediate container 763d8cd84e26 11:06:10 ---> 06476ba4c50e 11:06:10 Step 24/26 : LABEL arch=amd64 11:06:10 ---> Running in e0b34f09ae1e 11:06:10 Removing intermediate container e0b34f09ae1e 11:06:10 ---> d46d18e6ccf2 11:06:10 Step 25/26 : LABEL git_sha=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 11:06:10 ---> Running in a995821cca9d 11:06:10 Removing intermediate container a995821cca9d 11:06:10 ---> 3d291923389a 11:06:10 Step 26/26 : LABEL version=0.0.0 11:06:10 ---> Running in 45550a1c9efc 11:06:11 Removing intermediate container 45550a1c9efc 11:06:11 ---> 4dcd376bdded 11:06:11 [Warning] One or more build-args [ARCH] were not consumed 11:06:11 Successfully built 4dcd376bdded 11:06:11 Successfully tagged device-virtual:latest [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] sh 11:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:11 11:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:06:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:12 latest: Pulling from edgex-lftools-log-publisher 11:06:12 5eb5b503b376: Pulling fs layer 11:06:12 5c69ac0246d0: Pulling fs layer 11:06:12 ec43610c2a17: Pulling fs layer 11:06:12 3a2ae6a8a46f: Pulling fs layer 11:06:12 33b1e0a273af: Pulling fs layer 11:06:12 5d3b04190fa2: Pulling fs layer 11:06:12 2f39f015ded8: Pulling fs layer 11:06:12 33b1e0a273af: Waiting 11:06:12 3a2ae6a8a46f: Waiting 11:06:12 5d3b04190fa2: Waiting 11:06:12 5c69ac0246d0: Verifying Checksum 11:06:12 5c69ac0246d0: Download complete 11:06:12 3a2ae6a8a46f: Verifying Checksum 11:06:12 3a2ae6a8a46f: Download complete 11:06:12 33b1e0a273af: Verifying Checksum 11:06:12 33b1e0a273af: Download complete 11:06:12 5d3b04190fa2: Download complete 11:06:12 ec43610c2a17: Verifying Checksum 11:06:12 5eb5b503b376: Verifying Checksum 11:06:12 5eb5b503b376: Download complete 11:06:13 2f39f015ded8: Verifying Checksum 11:06:13 2f39f015ded8: Download complete 11:06:13 5eb5b503b376: Pull complete 11:06:13 5c69ac0246d0: Pull complete 11:06:14 ec43610c2a17: Pull complete 11:06:14 3a2ae6a8a46f: Pull complete 11:06:14 33b1e0a273af: Pull complete 11:06:14 5d3b04190fa2: Pull complete 11:06:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21222 in /w/workspace/foundry_device-virtual-go_PR-277 [Pipeline] { [Pipeline] ws 11:06:16 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:16 The recommended git tool is: git 11:06:18 2f39f015ded8: Pull complete 11:06:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:06:18 prd-ubuntu20.04-docker-8c-8g-21221 does not seem to be running inside a container 11:06:18 $ 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-277 -v /w/workspace/foundry_device-virtual-go_PR-277:/w/workspace/foundry_device-virtual-go_PR-277:rw,z -v /w/workspace/foundry_device-virtual-go_PR-277@tmp:/w/workspace/foundry_device-virtual-go_PR-277@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:06:21 $ docker top 8bb562d98580cc5347a3bdb719004692a04de89d3670192a018adff6ef14933c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:22 ---> job-cost.sh 11:06:22 lf-activate-venv: SKIPPING 11:06:22 INFO: No Stack... 11:06:22 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:22 INFO: Archiving Costs [Pipeline] sh 11:06:23 + cat /w/workspace/foundry_device-virtual-go_PR-277/archives/cost.csv 11:06:23 + cut -d, -f6 [Pipeline] lock 11:06:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] 11:06:23 Resource [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] did not exist. Created. 11:06:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:23 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:23 Stashed 1 file(s) [Pipeline] } 11:06:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:23 $ docker stop --time=1 8bb562d98580cc5347a3bdb719004692a04de89d3670192a018adff6ef14933c 11:06:24 using credential edgex-jenkins-ssh 11:06:24 Cloning the remote Git repository 11:06:24 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:24 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:25 $ docker rm -f 8bb562d98580cc5347a3bdb719004692a04de89d3670192a018adff6ef14933c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:24 > git --version # timeout=10 11:06:24 > git --version # 'git version 2.25.1' 11:06:24 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:06:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:06:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:27 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/277/head:refs/remotes/origin/PR-277 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:06:27 Merging remotes/origin/main commit bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c into PR head commit 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 11:06:28 Merge succeeded, producing 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 11:06:28 Checking out Revision 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 (PR-277) 11:06:27 > git config core.sparsecheckout # timeout=10 11:06:27 > git checkout -f 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 # timeout=10 11:06:28 > git remote # timeout=10 11:06:28 > git config --get remote.origin.url # timeout=10 11:06:28 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:28 > git merge bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 11:06:28 > git rev-parse HEAD^{commit} # timeout=10 11:06:28 > git config core.sparsecheckout # timeout=10 11:06:28 > git checkout -f 1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 # timeout=10 11:06:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:06:32 > git --version # timeout=10 11:06:32 > git --version # 'git version 2.25.1' 11:06:32 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:06:33 % Total % Received % Xferd Average Speed Time Time Time Current 11:06:33 Dload Upload Total Spent Left Speed 11:06:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 26673 0 --:--:-- --:--:-- --:--:-- 26613 [Pipeline] sh 11:06:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:06:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:06:34 + sudo tee /etc/docker/daemon.new 11:06:34 { 11:06:34 "registry-mirrors": [ 11:06:34 "https://nexus3.edgexfoundry.org:10001" 11:06:34 ], 11:06:34 "bip": "10.250.0.254/24", 11:06:34 "hosts": [ 11:06:34 "tcp://0.0.0.0:5555", 11:06:34 "unix:///var/run/docker.sock" 11:06:34 ], 11:06:34 "mtu": 1458, 11:06:34 "selinux-enabled": true, 11:06:34 "seccomp-profile": "/etc/docker/seccomp.json" 11:06:34 } [Pipeline] sh 11:06:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:06:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:53 provisioning config files... 11:06:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3338511441552325864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:54 ---> docker-login.sh 11:06:54 nexus3.edgexfoundry.org:10001 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10002 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10003 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 nexus3.edgexfoundry.org:10004 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 docker.io 11:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:57 Configure a credential helper to remove this warning. See 11:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:57 11:06:57 Login Succeeded 11:06:57 ---> docker-login.sh ends [Pipeline] } 11:06:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:58 ========================================================= 11:06:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:06:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:06:58 Sending build context to Docker daemon 11.6MB 11:06:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:06:59 Step 2/12 : FROM ${BASE} AS builder 11:06:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:06:59 9b3977197b4f: Pulling fs layer 11:06:59 1a89e8eeedd5: Pulling fs layer 11:06:59 94645a83ff95: Pulling fs layer 11:06:59 3f3a8bcf1eab: Pulling fs layer 11:06:59 0c92f367c5e7: Pulling fs layer 11:06:59 f7c0051592d6: Pulling fs layer 11:06:59 a227ed2f7395: Pulling fs layer 11:06:59 7b1c46037f91: Pulling fs layer 11:06:59 3f3a8bcf1eab: Waiting 11:06:59 0c92f367c5e7: Waiting 11:06:59 f7c0051592d6: Waiting 11:06:59 7b1c46037f91: Waiting 11:06:59 a227ed2f7395: Waiting 11:06:59 94645a83ff95: Verifying Checksum 11:06:59 94645a83ff95: Download complete 11:06:59 1a89e8eeedd5: Download complete 11:06:59 0c92f367c5e7: Verifying Checksum 11:06:59 0c92f367c5e7: Download complete 11:06:59 f7c0051592d6: Verifying Checksum 11:06:59 f7c0051592d6: Download complete 11:06:59 9b3977197b4f: Verifying Checksum 11:06:59 9b3977197b4f: Download complete 11:06:59 a227ed2f7395: Verifying Checksum 11:06:59 a227ed2f7395: Download complete 11:07:00 9b3977197b4f: Pull complete 11:07:00 1a89e8eeedd5: Pull complete 11:07:00 94645a83ff95: Pull complete 11:07:01 7b1c46037f91: Verifying Checksum 11:07:01 7b1c46037f91: Download complete 11:07:01 3f3a8bcf1eab: Verifying Checksum 11:07:01 3f3a8bcf1eab: Download complete 11:07:14 3f3a8bcf1eab: Pull complete 11:07:14 0c92f367c5e7: Pull complete 11:07:14 f7c0051592d6: Pull complete 11:07:14 a227ed2f7395: Pull complete 11:07:21 7b1c46037f91: Pull complete 11:07:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:07:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:07:21 ---> f79e39bc4007 11:07:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:21 ---> Running in 7546cc67ab79 11:07:21 Removing intermediate container 7546cc67ab79 11:07:21 ---> c0513d1834d9 11:07:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:07:21 ---> Running in 5dffaf7c1e01 11:07:22 Removing intermediate container 5dffaf7c1e01 11:07:22 ---> 5bfb2bb55084 11:07:22 Step 5/12 : WORKDIR /device-virtual-go 11:07:22 ---> Running in 955ae24dc5d2 11:07:22 Removing intermediate container 955ae24dc5d2 11:07:22 ---> 719f4870281d 11:07:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:22 ---> Running in ba5d2c30f352 11:07:24 Removing intermediate container ba5d2c30f352 11:07:24 ---> 688b37e1c902 11:07:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:24 ---> Running in b2139368f984 11:07:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:07:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:07:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:27 (2/4) Installing libedit (20210910.3.1-r0) 11:07:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:27 Executing busybox-1.34.1-r3.trigger 11:07:27 OK: 224 MiB in 56 packages 11:07:28 Removing intermediate container b2139368f984 11:07:28 ---> 1d9c95ef5b3f 11:07:28 Step 8/12 : COPY go.mod vendor* ./ 11:07:29 ---> 49b82ad0a60e 11:07:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:29 ---> Running in 1046e736fbeb 11:08:16 Removing intermediate container 1046e736fbeb 11:08:16 ---> 9accabd0ad21 11:08:16 Step 10/12 : COPY . . 11:08:16 ---> 71d646461dcf 11:08:16 Step 11/12 : ARG MAKE='make build' 11:08:16 ---> Running in 4ca7fc76c836 11:08:16 Removing intermediate container 4ca7fc76c836 11:08:16 ---> 841286615677 11:08:16 Step 12/12 : RUN $MAKE 11:08:16 ---> Running in 1a4fc013acba 11:08:17 noop 11:08:17 Removing intermediate container 1a4fc013acba 11:08:17 ---> 4fef586c5866 11:08:17 Successfully built 4fef586c5866 11:08:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:08:18 + docker inspect -f . ci-base-image-arm64 11:08:18 . [Pipeline] withDockerContainer 11:08:18 prd-ubuntu20.04-docker-arm64-4c-16g-21222 does not seem to be running inside a container 11:08:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:19 $ docker top b6bca527d43e2fb91acafc8fd675527fb8c7274bdc8dd658b527bf088f4ed68c -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:20 + go version 11:08:20 go version go1.17.6 linux/arm64 [Pipeline] } 11:08:20 $ docker stop --time=1 b6bca527d43e2fb91acafc8fd675527fb8c7274bdc8dd658b527bf088f4ed68c 11:08:22 $ docker rm -f b6bca527d43e2fb91acafc8fd675527fb8c7274bdc8dd658b527bf088f4ed68c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:23 + docker inspect -f . ci-base-image-arm64 11:08:23 . [Pipeline] withDockerContainer 11:08:23 prd-ubuntu20.04-docker-arm64-4c-16g-21222 does not seem to be running inside a container 11:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:25 $ docker top 9cfe2858ea2ef436c125e7aa5e0c4bf973a53f4d682f36a4b0bd6149bca2a3ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:26 + make test 11:08:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:09:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:09:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 11:09:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:09:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:11 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:11 $ docker stop --time=1 9cfe2858ea2ef436c125e7aa5e0c4bf973a53f4d682f36a4b0bd6149bca2a3ba 11:10:13 $ docker rm -f 9cfe2858ea2ef436c125e7aa5e0c4bf973a53f4d682f36a4b0bd6149bca2a3ba [Pipeline] // withDockerContainer [Pipeline] sh 11:10:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:14 Warning: overwriting stash ‘coverage-report’ 11:10:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:15 + ls -al . 11:10:15 total 200 11:10:15 drwxrwxr-x 7 jenkins jenkins 4096 Apr 18 11:10 . 11:10:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:06 .. 11:10:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:06 .git 11:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:06 .github 11:10:15 -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:06 .gitignore 11:10:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:06 .golangci.yml 11:10:15 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:06 Attribution.txt 11:10:15 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:06 CHANGELOG.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:06 Dockerfile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:06 GOVERNANCE.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:06 Jenkinsfile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:06 LICENSE 11:10:15 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:06 Makefile 11:10:15 -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:06 OWNERS.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:06 README.md 11:10:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 11:04 VERSION 11:10:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:06 bin 11:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:06 cmd 11:10:15 -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:09 coverage.out 11:10:15 -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:06 go.mod 11:10:15 -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:06 go.sum 11:10:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:06 internal 11:10:15 -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:10:16 + 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=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 --label arch=arm64 --label version=0.0.0 . 11:10:16 Sending build context to Docker daemon 11.65MB 11:10:16 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:10:16 Step 2/26 : FROM ${BASE} AS builder 11:10:16 ---> 4fef586c5866 11:10:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:16 ---> Running in eb506d6b8a58 11:10:17 Removing intermediate container eb506d6b8a58 11:10:17 ---> e472c8b02980 11:10:17 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:10:17 ---> Running in 76e28ae982aa 11:10:17 Removing intermediate container 76e28ae982aa 11:10:17 ---> bc639b5b3f24 11:10:17 Step 5/26 : WORKDIR /device-virtual-go 11:10:17 ---> Running in 53bda6509ebb 11:10:18 Removing intermediate container 53bda6509ebb 11:10:18 ---> 67e790a2b9e0 11:10:18 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:18 ---> Running in aa466451f953 11:10:20 Removing intermediate container aa466451f953 11:10:20 ---> c104a3924329 11:10:20 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:20 ---> Running in 5c8d5b642bcd 11:10:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:10:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:10:22 OK: 224 MiB in 56 packages 11:10:23 Removing intermediate container 5c8d5b642bcd 11:10:23 ---> 15cb369b39c6 11:10:23 Step 8/26 : COPY go.mod vendor* ./ 11:10:23 ---> 06b193d70113 11:10:23 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:23 ---> Running in e09e99596e30 11:10:25 Removing intermediate container e09e99596e30 11:10:25 ---> 902587d2c244 11:10:25 Step 10/26 : COPY . . 11:10:27 ---> a75570579318 11:10:27 Step 11/26 : ARG MAKE='make build' 11:10:27 ---> Running in 23b1695797f4 11:10:27 Removing intermediate container 23b1695797f4 11:10:27 ---> 5d99eabecdd3 11:10:27 Step 12/26 : RUN $MAKE 11:10:27 ---> Running in 48397dc80d80 11:10:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:12:35 Removing intermediate container 48397dc80d80 11:12:35 ---> 31b1996b883d 11:12:35 Step 13/26 : FROM alpine:3.14 11:12:35 3.14: Pulling from library/alpine 11:12:35 455c02918c45: Pulling fs layer 11:12:35 455c02918c45: Verifying Checksum 11:12:35 455c02918c45: Download complete 11:12:35 455c02918c45: Pull complete 11:12:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:12:35 Status: Downloaded newer image for alpine:3.14 11:12:35 ---> ac73e934f311 11:12:35 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:12:35 ---> Running in 3a16ea97d0e9 11:12:35 Removing intermediate container 3a16ea97d0e9 11:12:35 ---> 8398bd143638 11:12:35 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:35 ---> Running in 2566216bd2b5 11:12:35 Removing intermediate container 2566216bd2b5 11:12:35 ---> 5fa5c8979a46 11:12:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:12:35 ---> Running in ecc83cff4952 11:12:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:12:35 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:12:35 (1/6) Installing dumb-init (1.2.5-r1) 11:12:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:12:35 (3/6) Installing libsodium (1.0.18-r0) 11:12:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:12:35 (5/6) Installing libzmq (4.3.4-r0) 11:12:35 (6/6) Installing zeromq (4.3.4-r0) 11:12:35 Executing busybox-1.33.1-r7.trigger 11:12:35 OK: 8 MiB in 20 packages 11:12:35 Removing intermediate container ecc83cff4952 11:12:35 ---> 1ee2947cb747 11:12:35 Step 17/26 : WORKDIR / 11:12:35 ---> Running in 9c363f05cfb4 11:12:35 Removing intermediate container 9c363f05cfb4 11:12:35 ---> e4747551f4ec 11:12:35 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:12:35 ---> 0f10b8096f23 11:12:35 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:12:35 ---> 61b65a5c6bff 11:12:35 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:12:35 ---> af003364c533 11:12:35 Step 21/26 : EXPOSE 59900 11:12:35 ---> Running in 6b927f71bbde 11:12:35 Removing intermediate container 6b927f71bbde 11:12:35 ---> 6b1a8bf425e8 11:12:35 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:12:35 ---> Running in f9f3b7420af3 11:12:35 Removing intermediate container f9f3b7420af3 11:12:35 ---> 66b7a38d0d31 11:12:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:12:35 ---> Running in f3281437f686 11:12:35 Removing intermediate container f3281437f686 11:12:35 ---> a8efa8910df1 11:12:35 Step 24/26 : LABEL arch=arm64 11:12:35 ---> Running in 73e4aa388574 11:12:35 Removing intermediate container 73e4aa388574 11:12:35 ---> 735ff0185f24 11:12:35 Step 25/26 : LABEL git_sha=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 11:12:35 ---> Running in 69ffffccc274 11:12:35 Removing intermediate container 69ffffccc274 11:12:35 ---> 2e12fdeee7ce 11:12:35 Step 26/26 : LABEL version=0.0.0 11:12:35 ---> Running in f6c786b8aa41 11:12:35 Removing intermediate container f6c786b8aa41 11:12:35 ---> b05eb24f0c9e 11:12:35 [Warning] One or more build-args [ARCH] were not consumed 11:12:35 Successfully built b05eb24f0c9e 11:12:35 Successfully tagged device-virtual-arm64:latest [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] sh 11:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:36 11:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:12:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:36 arm64: Pulling from edgex-lftools-log-publisher 11:12:36 8998bd30e6a1: Pulling fs layer 11:12:36 04944245beec: Pulling fs layer 11:12:36 699f458cf7ca: Pulling fs layer 11:12:36 765212b225bb: Pulling fs layer 11:12:36 f23df028b6ca: Pulling fs layer 11:12:36 d65c8cfc05b1: Pulling fs layer 11:12:36 2437ff75d9bd: Pulling fs layer 11:12:36 765212b225bb: Waiting 11:12:36 d65c8cfc05b1: Waiting 11:12:36 2437ff75d9bd: Waiting 11:12:36 f23df028b6ca: Waiting 11:12:36 04944245beec: Verifying Checksum 11:12:36 04944245beec: Download complete 11:12:36 765212b225bb: Verifying Checksum 11:12:36 765212b225bb: Download complete 11:12:36 f23df028b6ca: Verifying Checksum 11:12:36 f23df028b6ca: Download complete 11:12:36 d65c8cfc05b1: Verifying Checksum 11:12:36 d65c8cfc05b1: Download complete 11:12:36 699f458cf7ca: Verifying Checksum 11:12:36 699f458cf7ca: Download complete 11:12:37 8998bd30e6a1: Verifying Checksum 11:12:37 8998bd30e6a1: Download complete 11:12:39 2437ff75d9bd: Download complete 11:12:41 8998bd30e6a1: Pull complete 11:12:41 04944245beec: Pull complete 11:12:43 699f458cf7ca: Pull complete 11:12:43 765212b225bb: Pull complete 11:12:44 f23df028b6ca: Pull complete 11:12:44 d65c8cfc05b1: Pull complete 11:12:59 2437ff75d9bd: Pull complete 11:12:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:12:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:12:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:12:59 prd-ubuntu20.04-docker-arm64-4c-16g-21222 does not seem to be running inside a container 11:12:59 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:02 $ docker top 2bd6ea90aae6c663331427e9cbfa2eb44d5e33a02b775fe78b2248220f4b2062 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:03 ---> job-cost.sh 11:13:03 lf-activate-venv: SKIPPING 11:13:03 INFO: No Stack... 11:13:03 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:04 INFO: Archiving Costs [Pipeline] sh 11:13:05 + + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:05 cut -d, -f6 [Pipeline] lock 11:13:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] 11:13:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] did not exist. Created. 11:13:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:06 /w/workspace/device-virtual-go/1@tmp/durable-aa2d11a9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:06 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:06 Warning: overwriting stash ‘stack-cost’ 11:13:06 Stashed 1 file(s) [Pipeline] } 11:13:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-277-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:06 $ docker stop --time=1 2bd6ea90aae6c663331427e9cbfa2eb44d5e33a02b775fe78b2248220f4b2062 11:13:08 $ docker rm -f 2bd6ea90aae6c663331427e9cbfa2eb44d5e33a02b775fe78b2248220f4b2062 [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 11:13:09 provisioning config files... 11:13:09 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-277@tmp/config6040287957960927117tmp [Pipeline] { [Pipeline] sh 11:13:09 + set +x 11:13:09 + curl -s https://codecov.io/bash+ 11:13:09 bash -s -- 11:13:09 11:13:09 _____ _ 11:13:09 / ____| | | 11:13:09 | | ___ __| | ___ ___ _____ __ 11:13:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:09 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:09 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:09 Bash-1.0.6 11:13:09 11:13:09 11:13:09 ==> git version 2.25.1 found 11:13:09 ==> 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 11:13:09 Release-Date: 2020-01-08 11:13:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:13:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:09 ==> Jenkins CI detected. 11:13:09 current dir:  /w/workspace/foundry_device-virtual-go_PR-277 11:13:09 project root: . 11:13:09 --> token set from env 11:13:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:09 ==> Running gcov in . (disable via -X gcov) 11:13:09 ==> Python coveragepy not found 11:13:09 ==> Searching for coverage reports in: 11:13:09 + . 11:13:09 -> Found 1 reports 11:13:09 ==> Detecting git/mercurial file structure 11:13:09 ==> Reading reports 11:13:09 + ./coverage.out bytes=44128 11:13:09 ==> Appending adjustments 11:13:09 https://docs.codecov.io/docs/fixing-reports 11:13:10 + Found adjustments 11:13:10 ==> Gzipping contents 11:13:10 8.0K /tmp/codecov.hsXwcW.gz 11:13:10 ==> Uploading reports 11:13:10 url: https://codecov.io 11:13:10 query: branch=PR-277&commit=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-277%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=277&job=&cmd_args= 11:13:10 -> Pinging Codecov 11:13:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-277&commit=1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-277%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=277&job=&cmd_args= 11:13:10 -> Uploading to 11:13:10 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/5E52B4B073DB2E39498172D8E973AA87/1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9/325b9ed4-77ac-4f2a-8e81-af0737c8b96e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T111310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff96ce538beebb5b5f29bcc2b8639d5a8275ac858809fc427da867f345bb0acf 11:13:10 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:10 Dload Upload Total Spent Left Speed 11:13:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5298 0 0 100 5298 0 19622 --:--:-- --:--:-- --:--:-- 19622 11:13:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1efad5c98deeaa23ed8bf96f55a3ce7e06d8eca9 [Pipeline] } 11:13:10 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 11:13:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-277/archives ] 11:13:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-277/archives 11:13:12 total 16 11:13:12 drwxr-xr-x 3 root root 4096 Apr 18 11:06 . 11:13:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:06 .. 11:13:12 drwxr-xr-x 2 root root 4096 Apr 18 11:06 cost 11:13:12 -rw-r--r-- 1 root root 88 Apr 18 11:06 cost.csv 11:13:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-277/archives 11:13:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-277/archives 11:13:12 total 16 11:13:12 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:06 . 11:13:12 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:06 .. 11:13:12 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 11:06 cost 11:13:12 -rw-r--r-- 1 jenkins jenkins 88 Apr 18 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:13 ---> package-listing.sh 11:13:13 ++ facter osfamily 11:13:13 ++ tr '[:upper:]' '[:lower:]' 11:13:13 + OS_FAMILY=debian 11:13:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-277 11:13:13 + START_PACKAGES=/tmp/packages_start.txt 11:13:13 + END_PACKAGES=/tmp/packages_end.txt 11:13:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:13 + PACKAGES=/tmp/packages_start.txt 11:13:13 + '[' /w/workspace/foundry_device-virtual-go_PR-277 ']' 11:13:13 + PACKAGES=/tmp/packages_end.txt 11:13:13 + case "${OS_FAMILY}" in 11:13:13 + dpkg -l 11:13:13 + grep '^ii' 11:13:13 + '[' -f /tmp/packages_start.txt ']' 11:13:13 + '[' -f /tmp/packages_end.txt ']' 11:13:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:13 + '[' /w/workspace/foundry_device-virtual-go_PR-277 ']' 11:13:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-277/archives/ 11:13:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-277/archives/ [Pipeline] echo 11:13:13 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-277/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:14 . [Pipeline] withDockerContainer 11:13:14 prd-ubuntu20.04-docker-8c-8g-21221 does not seem to be running inside a container 11:13:14 $ 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-277/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-277 -v /w/workspace/foundry_device-virtual-go_PR-277:/w/workspace/foundry_device-virtual-go_PR-277:rw,z -v /w/workspace/foundry_device-virtual-go_PR-277@tmp:/w/workspace/foundry_device-virtual-go_PR-277@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:13:15 $ docker top bed0d29628a0ba28b66c55861c1ca9c9c4f748f5a2d0f5070f24dac4943beccd -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:15 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:15 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:16 + ls /var/log/sa-host 11:13:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:16 provisioning config files... 11:13:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-277@tmp/config7905927550951701573tmp [Pipeline] { [Pipeline] echo 11:13:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:16 ---> create-netrc.sh [Pipeline] } 11:13:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:17 ---> python-tools-install.sh [Pipeline] echo 11:13:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:17 ---> sudo-logs.sh 11:13:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:18 ---> job-cost.sh 11:13:18 lf-activate-venv: SKIPPING 11:13:18 DEBUG: total: 0.2199999988079071 11:13:18 INFO: Retrieving Stack Cost... 11:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:19 INFO: Archiving Costs [Pipeline] echo 11:13:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:13:19 ---> logs-deploy.sh 11:13:19 lf-activate-venv: SKIPPING 11:13:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-277/1 11:13:19 INFO: archiving workspace using pattern(s): 11:13:20 Archives upload complete. 11:13:20 INFO: archiving logs to Nexus