Pull request #275 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834+351caebf32bba8e0fd88c5312046eae57dc27958 (f57c613d5624d828c42e160a1035dfeddd355ebd) 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-ssh18221524681702684139.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-ssh12105870043716633156.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-275/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-275/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9761899152962507174.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 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-ssh14326747083246691004.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-275/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-275/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11074902743284989632.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-11595 in /w/workspace/foundry_device-virtual-go_PR-275 [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-275 # 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/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 351caebf32bba8e0fd88c5312046eae57dc27958 into PR head commit 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 Merge succeeded, producing 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 Checking out Revision 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 (PR-275) > git config core.sparsecheckout # timeout=10 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # 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 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 Commit message: "feat: review comment to fix windows build and CGO" > git rev-list --no-walk 5ba56e1622a9d0d2bcc2a0f5d43f121ca7cbd17c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:23:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:23:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:23:57 ========================================================= 17:23:57 EdgeX Global Pipelines Version Info 17:23:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:23:57 ------------------- 17:23:57 stable info: 17:23:57 ------------------- 17:23:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:23:57 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:23:57 Message: update stable to v1.0.221 17:23:58 ------------------- 17:23:58 experimental info: 17:23:58 ------------------- 17:23:58 Commited By: **** collab-it+edgex@linuxfoundation.org 17:23:58 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 17:23:58 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:23:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 596e6c3 [Pipeline] echo 17:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:59 provisioning config files... 17:23:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1218019839345067342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:59 ---> docker-login.sh 17:23:59 nexus3.edgexfoundry.org:10001 17:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:59 Configure a credential helper to remove this warning. See 17:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:59 17:23:59 Login Succeeded 17:24:00 nexus3.edgexfoundry.org:10002 17:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:00 Configure a credential helper to remove this warning. See 17:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:00 17:24:00 Login Succeeded 17:24:00 nexus3.edgexfoundry.org:10003 17:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:00 Configure a credential helper to remove this warning. See 17:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:00 17:24:00 Login Succeeded 17:24:00 nexus3.edgexfoundry.org:10004 17:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:00 Configure a credential helper to remove this warning. See 17:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:00 17:24:00 Login Succeeded 17:24:00 docker.io 17:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:01 Configure a credential helper to remove this warning. See 17:24:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:01 17:24:01 Login Succeeded 17:24:01 ---> docker-login.sh ends [Pipeline] } 17:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:24:01 + git rev-list -1 --merges 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834~1..596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo 17:24:01 -----------> git rev-list -1 --merges 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834~1..596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [false] [Pipeline] sh 17:24:01 + git log --format=format:%s -1 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo 17:24:01 ========================================================= 17:24:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:24:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:02 + git log --format=format:%s -1 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] echo 17:24:02 [semverPrep] GIT_COMMIT: 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834, Commit Message: feat: review comment to fix windows build and CGO [Pipeline] echo 17:24:02 [semverPrep] This is not a build commit. [Pipeline] sh 17:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:24:02 + grep -v github /etc/ssh/ssh_known_hosts 17:24:02 + [ -e /tmp/ssh_known_hosts ] 17:24:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:24:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:24:02 + sudo tee -a /etc/ssh/ssh_known_hosts 17:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:24:02 17:24:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:24:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:24:03 latest: Pulling from edgex-devops/git-semver 17:24:03 a0d0a0d46f8b: Pulling fs layer 17:24:03 3e5f54012d9b: Pulling fs layer 17:24:03 4c7163046ea9: Pulling fs layer 17:24:03 0c2d73faf560: Pulling fs layer 17:24:03 0c2d73faf560: Waiting 17:24:03 3e5f54012d9b: Download complete 17:24:03 a0d0a0d46f8b: Verifying Checksum 17:24:03 a0d0a0d46f8b: Download complete 17:24:03 0c2d73faf560: Download complete 17:24:03 4c7163046ea9: Verifying Checksum 17:24:03 4c7163046ea9: Download complete 17:24:03 a0d0a0d46f8b: Pull complete 17:24:03 3e5f54012d9b: Pull complete 17:24:03 4c7163046ea9: Pull complete 17:24:04 0c2d73faf560: Pull complete 17:24:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 17:24:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:24:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:24:04 prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container 17:24:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:24:04 $ docker top 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:24:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:05 [ssh-agent] Looking for ssh-agent implementation... 17:24:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:05 $ docker exec 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent 17:24:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgHiHAf/agent.14 17:24:05 SSH_AGENT_PID=20 17:24:05 Running ssh-add (command line suppressed) 17:24:05 Identity added: /w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_582284734420332081.key (/w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_582284734420332081.key) 17:24:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:05 + git tag --points-at HEAD [Pipeline] } 17:24:05 $ docker exec --env ******** --env ******** 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent -k 17:24:05 unset SSH_AUTH_SOCK; 17:24:05 unset SSH_AGENT_PID; 17:24:05 echo Agent pid 20 killed; 17:24:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:24:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:24:05 [ssh-agent] Looking for ssh-agent implementation... 17:24:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:24:06 $ docker exec 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent 17:24:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdeEhNk/agent.52 17:24:06 SSH_AGENT_PID=58 17:24:06 Running ssh-add (command line suppressed) 17:24:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_7570281867939740444.key (/w/workspace/foundry_device-virtual-go_PR-275@tmp/private_key_7570281867939740444.key) 17:24:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:24:06 + git semver init 17:24:06 # -> Open(): unable to determine branch for HEAD 17:24:06 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-275/.git 17:24:06 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-275 17:24:06 # $SEMVER_REMOTE_NAME = origin 17:24:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:24:06 # $SEMVER_USER_NAME = edgex-jenkins 17:24:06 # $SEMVER_BRANCH = PR-275 17:24:06 # $SEMVER_TEMP = /tmp/semver-095468099 17:24:06 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 17:24:08 # '/tmp/semver-095468099' -> '/w/workspace/foundry_device-virtual-go_PR-275/.semver' 17:24:08 # -> Force: false 17:24:08 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-275/.semver [Pipeline] } 17:24:08 $ docker exec --env ******** --env ******** 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 ssh-agent -k 17:24:08 unset SSH_AUTH_SOCK; 17:24:08 unset SSH_AGENT_PID; 17:24:08 echo Agent pid 58 killed; 17:24:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:24:08 + git semver [Pipeline] } 17:24:08 $ docker stop --time=1 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 17:24:09 $ docker rm -f 087372a1ffc732a9f2837c811f3fb596f0f65d69fb698fb589ceca4634fba832 [Pipeline] // withDockerContainer [Pipeline] sh 17:24:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:24:10 Stashed 1 file(s) [Pipeline] echo 17:24:10 [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 17:24:10 provisioning config files... 17:24:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1047065183304234833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:11 ---> docker-login.sh 17:24:11 nexus3.edgexfoundry.org:10001 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10002 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10003 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 nexus3.edgexfoundry.org:10004 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 docker.io 17:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:24:11 Configure a credential helper to remove this warning. See 17:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:24:11 17:24:11 Login Succeeded 17:24:11 ---> docker-login.sh ends [Pipeline] } 17:24:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:24:11 ========================================================= 17:24:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:24:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:24:12 + 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 . 17:24:12 Sending build context to Docker daemon 22.9MB 17:24:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:24:12 Step 2/12 : FROM ${BASE} AS builder 17:24:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:24:12 59bf1c3509f3: Pulling fs layer 17:24:12 666ba61612fd: Pulling fs layer 17:24:12 8ed8ca486205: Pulling fs layer 17:24:12 4fe6c5a15a65: Pulling fs layer 17:24:12 22a0e8bec74d: Pulling fs layer 17:24:12 640e595b4fbd: Pulling fs layer 17:24:12 763cafe07f6e: Pulling fs layer 17:24:12 0c0b528cf693: Pulling fs layer 17:24:12 10935f4eaf8b: Pulling fs layer 17:24:12 763cafe07f6e: Waiting 17:24:12 4fe6c5a15a65: Waiting 17:24:12 0c0b528cf693: Waiting 17:24:12 10935f4eaf8b: Waiting 17:24:12 640e595b4fbd: Waiting 17:24:12 8ed8ca486205: Verifying Checksum 17:24:12 8ed8ca486205: Download complete 17:24:12 666ba61612fd: Download complete 17:24:12 22a0e8bec74d: Download complete 17:24:12 640e595b4fbd: Verifying Checksum 17:24:12 640e595b4fbd: Download complete 17:24:12 59bf1c3509f3: Verifying Checksum 17:24:12 59bf1c3509f3: Download complete 17:24:12 763cafe07f6e: Verifying Checksum 17:24:12 763cafe07f6e: Download complete 17:24:12 0c0b528cf693: Verifying Checksum 17:24:12 0c0b528cf693: Download complete 17:24:12 59bf1c3509f3: Pull complete 17:24:12 666ba61612fd: Pull complete 17:24:12 8ed8ca486205: Pull complete 17:24:12 10935f4eaf8b: Verifying Checksum 17:24:12 10935f4eaf8b: Download complete 17:24:13 4fe6c5a15a65: Download complete 17:24:17 4fe6c5a15a65: Pull complete 17:24:17 22a0e8bec74d: Pull complete 17:24:17 640e595b4fbd: Pull complete 17:24:17 763cafe07f6e: Pull complete 17:24:17 0c0b528cf693: Pull complete 17:24:20 10935f4eaf8b: Pull complete 17:24:20 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 17:24:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:24:20 ---> 99d49a6021b9 17:24:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:24:21 ---> Running in 779b4b8be4ec 17:24:21 Removing intermediate container 779b4b8be4ec 17:24:21 ---> e0ececf151b7 17:24:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:24:21 ---> Running in 776f39b4da60 17:24:21 Removing intermediate container 776f39b4da60 17:24:21 ---> 4c090a1ba115 17:24:21 Step 5/12 : WORKDIR /device-virtual-go 17:24:21 ---> Running in ca837119dcf9 17:24:21 Removing intermediate container ca837119dcf9 17:24:21 ---> 23577333843f 17:24:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:24:21 ---> Running in 2c9a9fa476da 17:24:22 Removing intermediate container 2c9a9fa476da 17:24:22 ---> 48248490beab 17:24:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:22 ---> Running in 87c1bd710612 17:24:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:24:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:24:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:24:23 (2/4) Installing libedit (20210910.3.1-r0) 17:24:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:24:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:24:24 Executing busybox-1.34.1-r3.trigger 17:24:24 OK: 224 MiB in 56 packages 17:24:24 Removing intermediate container 87c1bd710612 17:24:24 ---> 7b7b33f78a8f 17:24:24 Step 8/12 : COPY go.mod vendor* ./ 17:24:24 ---> b2c6d5641cc2 17:24:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:24 ---> Running in 2ea1d537f6a6 17:24:25 Still waiting to schedule task 17:24:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:24:42 Removing intermediate container 2ea1d537f6a6 17:24:42 ---> 27d511e60c21 17:24:42 Step 10/12 : COPY . . 17:24:42 ---> 27484f91e154 17:24:42 Step 11/12 : ARG MAKE='make build' 17:24:42 ---> Running in 37ed2500f011 17:24:42 Removing intermediate container 37ed2500f011 17:24:42 ---> bedff07d4039 17:24:42 Step 12/12 : RUN $MAKE 17:24:42 ---> Running in 369ec498f91d 17:24:42 noop 17:24:42 Removing intermediate container 369ec498f91d 17:24:42 ---> 773a004617c7 17:24:42 Successfully built 773a004617c7 17:24:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:24:43 + docker inspect -f . ci-base-image-x86_64 17:24:43 . [Pipeline] withDockerContainer 17:24:43 prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container 17:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:43 $ docker top 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:44 + go version 17:24:44 go version go1.17.6 linux/amd64 [Pipeline] } 17:24:44 $ docker stop --time=1 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac 17:24:45 $ docker rm -f 713e8866a1ddb233e529208e06c1fcb149582c7d846981da6468b58e2da633ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:45 + docker inspect -f . ci-base-image-x86_64 17:24:45 . [Pipeline] withDockerContainer 17:24:46 prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container 17:24:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:46 $ docker top c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:46 + make test 17:24:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:24:47 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:24:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:24:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements 17:25:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:25:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:25:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:25:08 ./bin/test-attribution-txt.sh [Pipeline] echo 17:25:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:25:08 $ docker stop --time=1 c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 17:25:10 $ docker rm -f c49de5202077f012fb44f3dce313ee4e0529a4fde6f2f407bfb158369dc99119 [Pipeline] // withDockerContainer [Pipeline] sh 17:25:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:25:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:25:11 + ls -al . 17:25:11 total 184 17:25:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:25 . 17:25:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:23 .. 17:25:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:23 .git 17:25:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:23 .github 17:25:11 -rw-rw-r-- 1 jenkins jenkins 270 Apr 8 17:23 .gitignore 17:25:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 17:23 .golangci.yml 17:25:11 drwx------ 3 jenkins jenkins 4096 Apr 8 17:24 .semver 17:25:11 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 8 17:23 Attribution.txt 17:25:11 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 8 17:23 CHANGELOG.md 17:25:11 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 8 17:23 Dockerfile 17:25:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 17:23 GOVERNANCE.md 17:25:11 -rw-rw-r-- 1 jenkins jenkins 660 Apr 8 17:23 Jenkinsfile 17:25:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 17:23 LICENSE 17:25:11 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 8 17:23 Makefile 17:25:11 -rw-rw-r-- 1 jenkins jenkins 623 Apr 8 17:23 OWNERS.md 17:25:11 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 8 17:23 README.md 17:25:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 17:24 VERSION 17:25:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:23 bin 17:25:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:23 cmd 17:25:11 -rw-r--r-- 1 jenkins jenkins 44128 Apr 8 17:24 coverage.out 17:25:11 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 8 17:23 go.mod 17:25:11 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 8 17:23 go.sum 17:25:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:23 internal 17:25:11 -rw-rw-r-- 1 jenkins jenkins 235 Apr 8 17:23 version.go [Pipeline] isUnix [Pipeline] sh 17:25:12 + 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=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 --label arch=amd64 --label version=0.0.0 . 17:25:12 Sending build context to Docker daemon 22.95MB 17:25:12 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:25:12 Step 2/26 : FROM ${BASE} AS builder 17:25:12 ---> 773a004617c7 17:25:12 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:25:12 ---> Running in 69ac37615ac9 17:25:12 Removing intermediate container 69ac37615ac9 17:25:12 ---> ed727b51249b 17:25:12 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:25:12 ---> Running in a1064175a085 17:25:12 Removing intermediate container a1064175a085 17:25:12 ---> 465a5205320d 17:25:12 Step 5/26 : WORKDIR /device-virtual-go 17:25:12 ---> Running in 67ea383752d6 17:25:12 Removing intermediate container 67ea383752d6 17:25:12 ---> e36758f88457 17:25:12 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:12 ---> Running in 14d681e6a1ae 17:25:13 Removing intermediate container 14d681e6a1ae 17:25:13 ---> 4b74e1937033 17:25:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:25:13 ---> Running in 022873154f4a 17:25:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:25:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:25:15 OK: 224 MiB in 56 packages 17:25:15 Removing intermediate container 022873154f4a 17:25:15 ---> eec6b006f66f 17:25:15 Step 8/26 : COPY go.mod vendor* ./ 17:25:15 ---> a76a43b77ed2 17:25:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:15 ---> Running in 358d6fa277ae 17:25:16 Removing intermediate container 358d6fa277ae 17:25:16 ---> 7098b834cf0e 17:25:16 Step 10/26 : COPY . . 17:25:16 ---> c458ae87932b 17:25:16 Step 11/26 : ARG MAKE='make build' 17:25:16 ---> Running in f3d7c5ff50b9 17:25:17 Removing intermediate container f3d7c5ff50b9 17:25:17 ---> 78ab62e59afc 17:25:17 Step 12/26 : RUN $MAKE 17:25:17 ---> Running in 7844bb4db47c 17:25:17 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 17:25:39 Removing intermediate container 7844bb4db47c 17:25:39 ---> 098a390bb432 17:25:39 Step 13/26 : FROM alpine:3.14 17:25:39 3.14: Pulling from library/alpine 17:25:39 8663204ce13b: Pulling fs layer 17:25:39 8663204ce13b: Verifying Checksum 17:25:39 8663204ce13b: Download complete 17:25:39 8663204ce13b: Pull complete 17:25:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:25:39 Status: Downloaded newer image for alpine:3.14 17:25:39 ---> e04c818066af 17:25:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:25:39 ---> Running in 8539df3b45f4 17:25:39 Removing intermediate container 8539df3b45f4 17:25:39 ---> aa665d78a11e 17:25:39 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:25:39 ---> Running in 576059005fa1 17:25:40 Removing intermediate container 576059005fa1 17:25:40 ---> da1191dd676f 17:25:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:25:40 ---> Running in 1cc88c64b678 17:25:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:25:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:25:41 (1/6) Installing dumb-init (1.2.5-r1) 17:25:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:25:41 (3/6) Installing libsodium (1.0.18-r0) 17:25:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:25:42 (5/6) Installing libzmq (4.3.4-r0) 17:25:42 (6/6) Installing zeromq (4.3.4-r0) 17:25:42 Executing busybox-1.33.1-r7.trigger 17:25:42 OK: 8 MiB in 20 packages 17:25:42 Removing intermediate container 1cc88c64b678 17:25:42 ---> 77f6af7d02a8 17:25:42 Step 17/26 : WORKDIR / 17:25:42 ---> Running in b406209b485d 17:25:42 Removing intermediate container b406209b485d 17:25:42 ---> 234861817931 17:25:42 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:25:42 ---> 819f866a11c0 17:25:42 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 17:25:43 ---> c1d2045093f6 17:25:43 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 17:25:43 ---> 0b8be37900cb 17:25:43 Step 21/26 : EXPOSE 59900 17:25:44 ---> Running in 30368357b3e1 17:25:44 Removing intermediate container 30368357b3e1 17:25:44 ---> a3fb7ea28d79 17:25:44 Step 22/26 : ENTRYPOINT ["/device-virtual"] 17:25:44 ---> Running in f98087641f31 17:25:44 Removing intermediate container f98087641f31 17:25:44 ---> d33c52e79597 17:25:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:25:44 ---> Running in 987b79fca713 17:25:44 Removing intermediate container 987b79fca713 17:25:44 ---> 491f7fc6fe89 17:25:44 Step 24/26 : LABEL arch=amd64 17:25:44 ---> Running in f9d4cef4cc58 17:25:44 Removing intermediate container f9d4cef4cc58 17:25:44 ---> c043a7129655 17:25:44 Step 25/26 : LABEL git_sha=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 17:25:44 ---> Running in 90808e1e3a5c 17:25:44 Removing intermediate container 90808e1e3a5c 17:25:44 ---> 3583f40d53de 17:25:44 Step 26/26 : LABEL version=0.0.0 17:25:44 ---> Running in 73773ca55824 17:25:44 Removing intermediate container 73773ca55824 17:25:44 ---> ae1673d40cc3 17:25:44 [Warning] One or more build-args [ARCH] were not consumed 17:25:44 Successfully built ae1673d40cc3 17:25:44 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 17:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:45 17:25:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:25:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:45 latest: Pulling from edgex-lftools-log-publisher 17:25:45 5eb5b503b376: Pulling fs layer 17:25:45 5c69ac0246d0: Pulling fs layer 17:25:45 ec43610c2a17: Pulling fs layer 17:25:45 3a2ae6a8a46f: Pulling fs layer 17:25:45 33b1e0a273af: Pulling fs layer 17:25:45 5d3b04190fa2: Pulling fs layer 17:25:45 2f39f015ded8: Pulling fs layer 17:25:45 33b1e0a273af: Waiting 17:25:45 5d3b04190fa2: Waiting 17:25:45 3a2ae6a8a46f: Waiting 17:25:45 2f39f015ded8: Waiting 17:25:45 5c69ac0246d0: Verifying Checksum 17:25:45 5c69ac0246d0: Download complete 17:25:45 3a2ae6a8a46f: Download complete 17:25:45 33b1e0a273af: Verifying Checksum 17:25:45 33b1e0a273af: Download complete 17:25:45 5d3b04190fa2: Verifying Checksum 17:25:45 5d3b04190fa2: Download complete 17:25:45 ec43610c2a17: Verifying Checksum 17:25:45 ec43610c2a17: Download complete 17:25:45 5eb5b503b376: Verifying Checksum 17:25:45 5eb5b503b376: Download complete 17:25:46 2f39f015ded8: Verifying Checksum 17:25:46 2f39f015ded8: Download complete 17:25:47 5eb5b503b376: Pull complete 17:25:47 5c69ac0246d0: Pull complete 17:25:47 ec43610c2a17: Pull complete 17:25:47 3a2ae6a8a46f: Pull complete 17:25:48 33b1e0a273af: Pull complete 17:25:48 5d3b04190fa2: Pull complete 17:25:53 2f39f015ded8: Pull complete 17:25:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:25:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:25:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:25:53 prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container 17:25:53 $ 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-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:25:55 $ docker top 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:25:55 ---> job-cost.sh 17:25:55 lf-activate-venv: SKIPPING 17:25:55 INFO: No Stack... 17:25:56 INFO: Retrieving Pricing Info for: v3-standard-8 17:25:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11596 in /w/workspace/foundry_device-virtual-go_PR-275 [Pipeline] { [Pipeline] ws 17:25:56 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 17:25:56 INFO: Archiving Costs [Pipeline] sh 17:25:56 The recommended git tool is: git 17:25:56 + cat /w/workspace/foundry_device-virtual-go_PR-275/archives/cost.csv 17:25:56 + cut -d, -f6 [Pipeline] lock 17:25:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] 17:25:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] did not exist. Created. 17:25:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:25:57 + echo total: 0.2199999988079071 [Pipeline] stash 17:25:57 Stashed 1 file(s) [Pipeline] } 17:25:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:25:57 $ docker stop --time=1 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c 17:25:58 $ docker rm -f 8ccac3c9893c075043c5a7d57994742c10803385e650dc0b9e08d8d180523e4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:26:04 using credential edgex-jenkins-ssh 17:26:04 Cloning the remote Git repository 17:26:04 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:26:04 > git init /w/workspace/device-virtual-go/2 # timeout=10 17:26:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:26:04 > git --version # timeout=10 17:26:04 > git --version # 'git version 2.25.1' 17:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:26:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:26:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:26:07 Merging remotes/origin/main commit 351caebf32bba8e0fd88c5312046eae57dc27958 into PR head commit 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 17:26:08 Merge succeeded, producing 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 17:26:08 Checking out Revision 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 (PR-275) 17:26:07 > git config core.sparsecheckout # timeout=10 17:26:07 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 17:26:07 > git remote # timeout=10 17:26:07 > git config --get remote.origin.url # timeout=10 17:26:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:07 > git merge 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 17:26:08 > git rev-parse HEAD^{commit} # timeout=10 17:26:08 > git config core.sparsecheckout # timeout=10 17:26:08 > git checkout -f 596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 # timeout=10 17:26:12 Commit message: "feat: review comment to fix windows build and CGO" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:26:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:13 Dload Upload Total Spent Left Speed 17:26:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 53107 0 --:--:-- --:--:-- --:--:-- 53107 [Pipeline] sh 17:26:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:26:14 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 17:26:14 /etc/docker/daemon.json 17:26:14 { 17:26:14 "registry-mirrors": [ 17:26:14 "https://nexus3.edgexfoundry.org:10001" 17:26:14 ], 17:26:14 "bip": "10.250.0.254/24", 17:26:14 "hosts": [ 17:26:14 "tcp://0.0.0.0:5555", 17:26:14 "unix:///var/run/docker.sock" 17:26:14 ], 17:26:14 "mtu": 1458, 17:26:14 "selinux-enabled": true, 17:26:14 "seccomp-profile": "/etc/docker/seccomp.json" 17:26:14 } [Pipeline] sh 17:26:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:26:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:33 provisioning config files... 17:26:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3193128605184452493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:33 ---> docker-login.sh 17:26:33 nexus3.edgexfoundry.org:10001 17:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:34 Configure a credential helper to remove this warning. See 17:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:34 17:26:34 Login Succeeded 17:26:34 nexus3.edgexfoundry.org:10002 17:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:35 Configure a credential helper to remove this warning. See 17:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:35 17:26:35 Login Succeeded 17:26:35 nexus3.edgexfoundry.org:10003 17:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:35 Configure a credential helper to remove this warning. See 17:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:35 17:26:35 Login Succeeded 17:26:35 nexus3.edgexfoundry.org:10004 17:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:36 Configure a credential helper to remove this warning. See 17:26:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:36 17:26:36 Login Succeeded 17:26:36 docker.io 17:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:37 Configure a credential helper to remove this warning. See 17:26:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:37 17:26:37 Login Succeeded 17:26:37 ---> docker-login.sh ends [Pipeline] } 17:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:37 ========================================================= 17:26:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:26:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:26:37 + 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 . 17:26:38 Sending build context to Docker daemon 11.58MB 17:26:38 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:26:38 Step 2/12 : FROM ${BASE} AS builder 17:26:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:38 9b3977197b4f: Pulling fs layer 17:26:38 1a89e8eeedd5: Pulling fs layer 17:26:38 94645a83ff95: Pulling fs layer 17:26:38 3f3a8bcf1eab: Pulling fs layer 17:26:38 0c92f367c5e7: Pulling fs layer 17:26:38 f7c0051592d6: Pulling fs layer 17:26:38 a227ed2f7395: Pulling fs layer 17:26:38 7b1c46037f91: Pulling fs layer 17:26:38 0c92f367c5e7: Waiting 17:26:38 3f3a8bcf1eab: Waiting 17:26:38 f7c0051592d6: Waiting 17:26:38 a227ed2f7395: Waiting 17:26:38 7b1c46037f91: Waiting 17:26:38 94645a83ff95: Verifying Checksum 17:26:38 94645a83ff95: Download complete 17:26:38 1a89e8eeedd5: Verifying Checksum 17:26:38 1a89e8eeedd5: Download complete 17:26:38 0c92f367c5e7: Verifying Checksum 17:26:38 0c92f367c5e7: Download complete 17:26:38 f7c0051592d6: Verifying Checksum 17:26:38 f7c0051592d6: Download complete 17:26:38 9b3977197b4f: Verifying Checksum 17:26:38 a227ed2f7395: Verifying Checksum 17:26:38 a227ed2f7395: Download complete 17:26:39 9b3977197b4f: Pull complete 17:26:39 1a89e8eeedd5: Pull complete 17:26:40 94645a83ff95: Pull complete 17:26:40 7b1c46037f91: Verifying Checksum 17:26:40 7b1c46037f91: Download complete 17:26:41 3f3a8bcf1eab: Verifying Checksum 17:26:41 3f3a8bcf1eab: Download complete 17:26:53 3f3a8bcf1eab: Pull complete 17:26:53 0c92f367c5e7: Pull complete 17:26:53 f7c0051592d6: Pull complete 17:26:54 a227ed2f7395: Pull complete 17:27:00 7b1c46037f91: Pull complete 17:27:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 17:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:27:00 ---> f79e39bc4007 17:27:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:27:00 ---> Running in 2604a9fadafc 17:27:01 Removing intermediate container 2604a9fadafc 17:27:01 ---> e8cd4c371f69 17:27:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:27:01 ---> Running in b53817238da7 17:27:01 Removing intermediate container b53817238da7 17:27:01 ---> a3177917404a 17:27:01 Step 5/12 : WORKDIR /device-virtual-go 17:27:01 ---> Running in e82ed041ca72 17:27:01 Removing intermediate container e82ed041ca72 17:27:01 ---> 5794badd2e5b 17:27:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:27:01 ---> Running in 3dc2963afee5 17:27:03 Removing intermediate container 3dc2963afee5 17:27:03 ---> f8d8afea68b4 17:27:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:03 ---> Running in d0c8fb9dfb4b 17:27:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:27:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:27:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:27:06 (2/4) Installing libedit (20210910.3.1-r0) 17:27:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:27:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:27:06 Executing busybox-1.34.1-r3.trigger 17:27:07 OK: 224 MiB in 56 packages 17:27:08 Removing intermediate container d0c8fb9dfb4b 17:27:08 ---> 1feee05a6921 17:27:08 Step 8/12 : COPY go.mod vendor* ./ 17:27:08 ---> 250320656b84 17:27:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:08 ---> Running in 1d4eacf8b094 17:27:55 Removing intermediate container 1d4eacf8b094 17:27:55 ---> 56cb87530a35 17:27:55 Step 10/12 : COPY . . 17:27:55 ---> dbecccb3729a 17:27:55 Step 11/12 : ARG MAKE='make build' 17:27:55 ---> Running in 89872784c3f3 17:27:56 Removing intermediate container 89872784c3f3 17:27:56 ---> 597cc9a7ec79 17:27:56 Step 12/12 : RUN $MAKE 17:27:56 ---> Running in a032c209722e 17:27:57 noop 17:27:57 Removing intermediate container a032c209722e 17:27:57 ---> d4676613335a 17:27:57 Successfully built d4676613335a 17:27:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:27:58 + docker inspect -f . ci-base-image-arm64 17:27:58 . [Pipeline] withDockerContainer 17:27:58 prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container 17:27:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:27:59 $ docker top d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:00 + go version 17:28:00 go version go1.17.6 linux/arm64 [Pipeline] } 17:28:00 $ docker stop --time=1 d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 17:28:02 $ docker rm -f d26e3ac91877827986d80628aeaeec5866a046e432458fd688a9570bc67daa66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:28:02 + docker inspect -f . ci-base-image-arm64 17:28:02 . [Pipeline] withDockerContainer 17:28:03 prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container 17:28:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:04 $ docker top 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:28:05 + make test 17:28:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:28:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:29:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:29:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements 17:29:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:29:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:29:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:29:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:29:47 ./bin/test-attribution-txt.sh [Pipeline] echo 17:29:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:29:49 $ docker stop --time=1 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 17:29:51 $ docker rm -f 6b3bd32e4c46f6cfa54a692450e12d9a1f776a27608159bf84c16ba60ad97985 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:29:52 Warning: overwriting stash ‘coverage-report’ 17:29:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:29:53 + ls -al . 17:29:53 total 180 17:29:53 drwxrwxr-x 7 jenkins jenkins 4096 Apr 8 17:29 . 17:29:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 17:26 .. 17:29:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 17:26 .git 17:29:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:26 .github 17:29:53 -rw-rw-r-- 1 jenkins jenkins 270 Apr 8 17:26 .gitignore 17:29:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 17:26 .golangci.yml 17:29:53 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 8 17:26 Attribution.txt 17:29:53 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 8 17:26 CHANGELOG.md 17:29:53 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 8 17:26 Dockerfile 17:29:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 17:26 GOVERNANCE.md 17:29:53 -rw-rw-r-- 1 jenkins jenkins 660 Apr 8 17:26 Jenkinsfile 17:29:53 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 17:26 LICENSE 17:29:53 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 8 17:26 Makefile 17:29:53 -rw-rw-r-- 1 jenkins jenkins 623 Apr 8 17:26 OWNERS.md 17:29:53 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 8 17:26 README.md 17:29:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 17:24 VERSION 17:29:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 17:26 bin 17:29:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:26 cmd 17:29:53 -rw-r--r-- 1 jenkins jenkins 44128 Apr 8 17:29 coverage.out 17:29:53 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 8 17:26 go.mod 17:29:53 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 8 17:26 go.sum 17:29:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 17:26 internal 17:29:53 -rw-rw-r-- 1 jenkins jenkins 235 Apr 8 17:26 version.go [Pipeline] isUnix [Pipeline] sh 17:29:54 + 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=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 --label arch=arm64 --label version=0.0.0 . 17:29:54 Sending build context to Docker daemon 11.63MB 17:29:54 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 17:29:54 Step 2/26 : FROM ${BASE} AS builder 17:29:54 ---> d4676613335a 17:29:54 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:29:54 ---> Running in 632784174bfb 17:29:54 Removing intermediate container 632784174bfb 17:29:54 ---> c39e345880e6 17:29:54 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 17:29:54 ---> Running in 58ee52ddb42e 17:29:55 Removing intermediate container 58ee52ddb42e 17:29:55 ---> 37903b3e9dfd 17:29:55 Step 5/26 : WORKDIR /device-virtual-go 17:29:55 ---> Running in 34ce595e1f23 17:29:55 Removing intermediate container 34ce595e1f23 17:29:55 ---> e5cfa182dc4a 17:29:55 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:29:55 ---> Running in 26ab2efd2c1d 17:29:57 Removing intermediate container 26ab2efd2c1d 17:29:57 ---> 311e96945baa 17:29:57 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:57 ---> Running in 5be6e7459ed0 17:29:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:29:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:30:00 OK: 224 MiB in 56 packages 17:30:00 Removing intermediate container 5be6e7459ed0 17:30:00 ---> a1cc9d8ad568 17:30:00 Step 8/26 : COPY go.mod vendor* ./ 17:30:01 ---> 218af3cee257 17:30:01 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:01 ---> Running in 5bbddf213b48 17:30:03 Removing intermediate container 5bbddf213b48 17:30:03 ---> bc995f6c62e7 17:30:03 Step 10/26 : COPY . . 17:30:04 ---> a2ece67305cc 17:30:04 Step 11/26 : ARG MAKE='make build' 17:30:04 ---> Running in dcf2c571ea56 17:30:05 Removing intermediate container dcf2c571ea56 17:30:05 ---> 2041fab20b0a 17:30:05 Step 12/26 : RUN $MAKE 17:30:05 ---> Running in d1bc142b2ee6 17:30:06 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 17:32:12 Removing intermediate container d1bc142b2ee6 17:32:12 ---> 6bcd819657a6 17:32:12 Step 13/26 : FROM alpine:3.14 17:32:12 3.14: Pulling from library/alpine 17:32:12 455c02918c45: Pulling fs layer 17:32:12 455c02918c45: Verifying Checksum 17:32:12 455c02918c45: Download complete 17:32:12 455c02918c45: Pull complete 17:32:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:32:12 Status: Downloaded newer image for alpine:3.14 17:32:12 ---> ac73e934f311 17:32:12 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:32:12 ---> Running in c02f0476d845 17:32:12 Removing intermediate container c02f0476d845 17:32:12 ---> 11348d0ded8a 17:32:12 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:12 ---> Running in 76d19eb00c7f 17:32:12 Removing intermediate container 76d19eb00c7f 17:32:12 ---> 114fdbd3b967 17:32:12 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 17:32:12 ---> Running in e314a0f760f7 17:32:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:32:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:32:12 (1/6) Installing dumb-init (1.2.5-r1) 17:32:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:32:12 (3/6) Installing libsodium (1.0.18-r0) 17:32:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:32:12 (5/6) Installing libzmq (4.3.4-r0) 17:32:12 (6/6) Installing zeromq (4.3.4-r0) 17:32:12 Executing busybox-1.33.1-r7.trigger 17:32:12 OK: 8 MiB in 20 packages 17:32:12 Removing intermediate container e314a0f760f7 17:32:12 ---> 2cad2c36aac9 17:32:12 Step 17/26 : WORKDIR / 17:32:12 ---> Running in 8b784c9328e7 17:32:12 Removing intermediate container 8b784c9328e7 17:32:12 ---> c585fdaa977d 17:32:12 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:32:12 ---> 333dc6a5ab85 17:32:12 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 17:32:12 ---> eb0b5ab2a3d9 17:32:12 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 17:32:12 ---> 1ec8446113d0 17:32:12 Step 21/26 : EXPOSE 59900 17:32:12 ---> Running in 95114f3a9a56 17:32:12 Removing intermediate container 95114f3a9a56 17:32:12 ---> c4dacacf94d9 17:32:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 17:32:12 ---> Running in 0ddf7754a066 17:32:12 Removing intermediate container 0ddf7754a066 17:32:12 ---> 0b5bb36e20c6 17:32:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:32:12 ---> Running in 81bee816597e 17:32:12 Removing intermediate container 81bee816597e 17:32:12 ---> 7c8ac6e984b7 17:32:12 Step 24/26 : LABEL arch=arm64 17:32:12 ---> Running in 165317f8f142 17:32:12 Removing intermediate container 165317f8f142 17:32:12 ---> 13b3eaa7adbc 17:32:12 Step 25/26 : LABEL git_sha=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 17:32:12 ---> Running in f16d4cc42bc9 17:32:12 Removing intermediate container f16d4cc42bc9 17:32:12 ---> 9987214eacae 17:32:12 Step 26/26 : LABEL version=0.0.0 17:32:12 ---> Running in 4fe9d68035db 17:32:12 Removing intermediate container 4fe9d68035db 17:32:12 ---> 122ad26b3183 17:32:12 [Warning] One or more build-args [ARCH] were not consumed 17:32:12 Successfully built 122ad26b3183 17:32:12 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 17:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:32:13 17:32:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:32:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:32:13 arm64: Pulling from edgex-lftools-log-publisher 17:32:13 8998bd30e6a1: Pulling fs layer 17:32:13 04944245beec: Pulling fs layer 17:32:13 699f458cf7ca: Pulling fs layer 17:32:13 765212b225bb: Pulling fs layer 17:32:13 f23df028b6ca: Pulling fs layer 17:32:13 d65c8cfc05b1: Pulling fs layer 17:32:13 2437ff75d9bd: Pulling fs layer 17:32:13 f23df028b6ca: Waiting 17:32:13 d65c8cfc05b1: Waiting 17:32:13 2437ff75d9bd: Waiting 17:32:13 765212b225bb: Waiting 17:32:13 04944245beec: Download complete 17:32:13 765212b225bb: Verifying Checksum 17:32:13 765212b225bb: Download complete 17:32:13 f23df028b6ca: Verifying Checksum 17:32:13 f23df028b6ca: Download complete 17:32:13 d65c8cfc05b1: Verifying Checksum 17:32:13 d65c8cfc05b1: Download complete 17:32:14 699f458cf7ca: Verifying Checksum 17:32:14 699f458cf7ca: Download complete 17:32:14 8998bd30e6a1: Verifying Checksum 17:32:14 8998bd30e6a1: Download complete 17:32:17 2437ff75d9bd: Download complete 17:32:19 8998bd30e6a1: Pull complete 17:32:19 04944245beec: Pull complete 17:32:20 699f458cf7ca: Pull complete 17:32:21 765212b225bb: Pull complete 17:32:22 f23df028b6ca: Pull complete 17:32:22 d65c8cfc05b1: Pull complete 17:32:37 2437ff75d9bd: Pull complete 17:32:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:32:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:32:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:32:37 prd-ubuntu20.04-docker-arm64-4c-16g-11596 does not seem to be running inside a container 17:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:32:40 $ docker top 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:40 ---> job-cost.sh 17:32:40 lf-activate-venv: SKIPPING 17:32:40 INFO: No Stack... 17:32:41 INFO: Retrieving Pricing Info for: v3-standard-4 17:32:42 INFO: Archiving Costs [Pipeline] sh 17:32:42 + cut -d, -f6 17:32:42 + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock 17:32:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] 17:32:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] did not exist. Created. 17:32:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:32:43 /w/workspace/device-virtual-go/2@tmp/durable-96bc1102/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:32:44 + echo total: 0.10999999940395355 [Pipeline] stash 17:32:44 Warning: overwriting stash ‘stack-cost’ 17:32:44 Stashed 1 file(s) [Pipeline] } 17:32:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-275-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:32:44 $ docker stop --time=1 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 17:32:45 $ docker rm -f 6f9ec63d140dba8521b837709837c0d3b1ebe69094c69c0f02ccd8489f361e52 [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 17:32:46 provisioning config files... 17:32:46 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config4444719598379232698tmp [Pipeline] { [Pipeline] sh 17:32:46 + set +x 17:32:46 + curl -s https://codecov.io/bash 17:32:46 + bash -s -- 17:32:46 17:32:46 _____ _ 17:32:46 / ____| | | 17:32:46 | | ___ __| | ___ ___ _____ __ 17:32:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:32:46 | |___| (_) | (_| | __/ (_| (_) \ V / 17:32:46 \_____\___/ \__,_|\___|\___\___/ \_/ 17:32:46 Bash-1.0.6 17:32:46 17:32:46 17:32:46 ==> git version 2.25.1 found 17:32:46 ==> 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 17:32:46 Release-Date: 2020-01-08 17:32:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:32:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:32:46 ==> Jenkins CI detected. 17:32:46 current dir:  /w/workspace/foundry_device-virtual-go_PR-275 17:32:46 project root: . 17:32:46 --> token set from env 17:32:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:32:46 ==> Running gcov in . (disable via -X gcov) 17:32:46 ==> Python coveragepy not found 17:32:46 ==> Searching for coverage reports in: 17:32:46 + . 17:32:46 -> Found 1 reports 17:32:46 ==> Detecting git/mercurial file structure 17:32:46 ==> Reading reports 17:32:46 + ./coverage.out bytes=44128 17:32:46 ==> Appending adjustments 17:32:46 https://docs.codecov.io/docs/fixing-reports 17:32:46 + Found adjustments 17:32:46 ==> Gzipping contents 17:32:46 8.0K /tmp/codecov.GQXBo7.gz 17:32:46 ==> Uploading reports 17:32:46 url: https://codecov.io 17:32:46 query: branch=PR-275&commit=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-275%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=275&job=&cmd_args= 17:32:46 -> Pinging Codecov 17:32:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-275&commit=596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-275%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=275&job=&cmd_args= 17:32:47 -> Uploading to 17:32:47 https://storage.googleapis.com/codecov/v4/raw/2022-04-08/5E52B4B073DB2E39498172D8E973AA87/596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834/8687b308-164b-446a-91b2-76face79aadc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T173247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71b329cfbd7d935ac36c07eaba222e5a9036d2e29733b8f4b4138b907634f8fc 17:32:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:47 Dload Upload Total Spent Left Speed 17:32:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5303 0 0 100 5303 0 19861 --:--:-- --:--:-- --:--:-- 19861 17:32:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/596e6c3fe25a4f0ef37cf5dafa964b2d2f1be834 [Pipeline] } 17:32:47 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 17:32:48 + [ -d /w/workspace/foundry_device-virtual-go_PR-275/archives ] 17:32:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-275/archives 17:32:48 total 16 17:32:48 drwxr-xr-x 3 root root 4096 Apr 8 17:25 . 17:32:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:25 .. 17:32:48 drwxr-xr-x 2 root root 4096 Apr 8 17:25 cost 17:32:48 -rw-r--r-- 1 root root 88 Apr 8 17:25 cost.csv 17:32:48 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-275/archives 17:32:48 + ls -al /w/workspace/foundry_device-virtual-go_PR-275/archives 17:32:48 total 16 17:32:48 drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 17:25 . 17:32:48 drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 17:25 .. 17:32:48 drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 17:25 cost 17:32:48 -rw-r--r-- 1 jenkins jenkins 88 Apr 8 17:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:32:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:32:49 ---> package-listing.sh 17:32:49 ++ facter osfamily 17:32:49 ++ tr '[:upper:]' '[:lower:]' 17:32:49 + OS_FAMILY=debian 17:32:49 + workspace=/w/workspace/foundry_device-virtual-go_PR-275 17:32:49 + START_PACKAGES=/tmp/packages_start.txt 17:32:49 + END_PACKAGES=/tmp/packages_end.txt 17:32:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:32:49 + PACKAGES=/tmp/packages_start.txt 17:32:49 + '[' /w/workspace/foundry_device-virtual-go_PR-275 ']' 17:32:49 + PACKAGES=/tmp/packages_end.txt 17:32:49 + case "${OS_FAMILY}" in 17:32:49 + dpkg -l 17:32:49 + grep '^ii' 17:32:49 + '[' -f /tmp/packages_start.txt ']' 17:32:49 + '[' -f /tmp/packages_end.txt ']' 17:32:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:32:49 + '[' /w/workspace/foundry_device-virtual-go_PR-275 ']' 17:32:49 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-275/archives/ 17:32:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-275/archives/ [Pipeline] echo 17:32:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:32:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:32:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:32:50 . [Pipeline] withDockerContainer 17:32:50 prd-ubuntu20.04-docker-8c-8g-11595 does not seem to be running inside a container 17:32:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-275/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-275 -v /w/workspace/foundry_device-virtual-go_PR-275:/w/workspace/foundry_device-virtual-go_PR-275:rw,z -v /w/workspace/foundry_device-virtual-go_PR-275@tmp:/w/workspace/foundry_device-virtual-go_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:32:50 $ docker top 76b423605112e3d7442abfb266c1a534c81e3ab49adb03232711a6c13a96558d -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:51 + touch /tmp/pre-build-complete [Pipeline] sh 17:32:51 + mkdir -p /var/log/sysstat [Pipeline] sh 17:32:51 + ls /var/log/sa-host 17:32:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:52 provisioning config files... 17:32:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-275@tmp/config1592027298462618307tmp [Pipeline] { [Pipeline] echo 17:32:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:32:52 ---> create-netrc.sh [Pipeline] } 17:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:32:52 ---> python-tools-install.sh [Pipeline] echo 17:32:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:32:53 ---> sudo-logs.sh 17:32:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:32:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:32:53 ---> job-cost.sh 17:32:53 lf-activate-venv: SKIPPING 17:32:53 DEBUG: total: 0.2199999988079071 17:32:53 INFO: Retrieving Stack Cost... 17:32:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:32:54 INFO: Archiving Costs [Pipeline] echo 17:32:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:32:54 ---> logs-deploy.sh 17:32:54 lf-activate-venv: SKIPPING 17:32:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-275/2 17:32:54 INFO: archiving workspace using pattern(s): 17:32:55 Archives upload complete. 17:32:55 INFO: archiving logs to Nexus