Pull request #274 opened 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 34a2cf4996402a54740b86045567596500a903e2+ab35c68c7da578f7489f6019108ca23722e6e5b0 (e0d74c442ea57a22a0a2847b70d87a1da9d77b97) 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-ssh18336089463538025357.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-ssh6969298827705072569.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-274/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-274/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11466281304814719460.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-274/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7778596452661704188.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-ssh12073870487931540393.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-274/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-274/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14471700135316626546.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10673 in /w/workspace/foundry_device-virtual-go_PR-274 [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-274 # 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/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab35c68c7da578f7489f6019108ca23722e6e5b0 into PR head commit 34a2cf4996402a54740b86045567596500a903e2 Merge succeeded, producing 34a2cf4996402a54740b86045567596500a903e2 Checking out Revision 34a2cf4996402a54740b86045567596500a903e2 (PR-274) > git config core.sparsecheckout # timeout=10 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # 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 ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 Commit message: "feat: enable gosec and default linter set" 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 19:29:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:29:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:29:51 ========================================================= 19:29:51 EdgeX Global Pipelines Version Info 19:29:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:29:52 ------------------- 19:29:52 stable info: 19:29:52 ------------------- 19:29:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:29:52 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:29:52 Message: update stable to v1.0.221 19:29:53 ------------------- 19:29:53 experimental info: 19:29:53 ------------------- 19:29:53 Commited By: **** collab-it+edgex@linuxfoundation.org 19:29:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:29:53 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:29:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-274 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-274 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-274 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34a2cf4 [Pipeline] echo 19:29:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:54 provisioning config files... 19:29:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config6295011593024983107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:55 ---> docker-login.sh 19:29:55 nexus3.edgexfoundry.org:10001 19:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:55 Configure a credential helper to remove this warning. See 19:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:55 19:29:55 Login Succeeded 19:29:55 nexus3.edgexfoundry.org:10002 19:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:55 Configure a credential helper to remove this warning. See 19:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:55 19:29:55 Login Succeeded 19:29:55 nexus3.edgexfoundry.org:10003 19:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:55 Configure a credential helper to remove this warning. See 19:29:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:55 19:29:55 Login Succeeded 19:29:55 nexus3.edgexfoundry.org:10004 19:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:56 Configure a credential helper to remove this warning. See 19:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:56 19:29:56 Login Succeeded 19:29:56 docker.io 19:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:29:56 Configure a credential helper to remove this warning. See 19:29:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:29:56 19:29:56 Login Succeeded 19:29:56 ---> docker-login.sh ends [Pipeline] } 19:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:29:57 + git rev-list -1 --merges 34a2cf4996402a54740b86045567596500a903e2~1..34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo 19:29:57 -----------> git rev-list -1 --merges 34a2cf4996402a54740b86045567596500a903e2~1..34a2cf4996402a54740b86045567596500a903e2 34a2cf4996402a54740b86045567596500a903e2 [false] [Pipeline] sh 19:29:57 + git log --format=format:%s -1 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo 19:29:57 ========================================================= 19:29:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:29:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:29:58 + git log --format=format:%s -1 34a2cf4996402a54740b86045567596500a903e2 [Pipeline] echo 19:29:58 [semverPrep] GIT_COMMIT: 34a2cf4996402a54740b86045567596500a903e2, Commit Message: feat: enable gosec and default linter set [Pipeline] echo 19:29:58 [semverPrep] This is not a build commit. [Pipeline] sh 19:29:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:29:58 + grep -v github /etc/ssh/ssh_known_hosts 19:29:58 + [ -e /tmp/ssh_known_hosts ] 19:29:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:29:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:29:58 + sudo tee -a /etc/ssh/ssh_known_hosts 19:29:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:29:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:29:59 19:29:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:29:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:29:59 latest: Pulling from edgex-devops/git-semver 19:29:59 a0d0a0d46f8b: Pulling fs layer 19:29:59 3e5f54012d9b: Pulling fs layer 19:29:59 4c7163046ea9: Pulling fs layer 19:29:59 0c2d73faf560: Pulling fs layer 19:29:59 0c2d73faf560: Waiting 19:29:59 3e5f54012d9b: Verifying Checksum 19:29:59 3e5f54012d9b: Download complete 19:29:59 a0d0a0d46f8b: Download complete 19:29:59 4c7163046ea9: Verifying Checksum 19:29:59 4c7163046ea9: Download complete 19:29:59 0c2d73faf560: Verifying Checksum 19:29:59 0c2d73faf560: Download complete 19:29:59 a0d0a0d46f8b: Pull complete 19:29:59 3e5f54012d9b: Pull complete 19:30:00 4c7163046ea9: Pull complete 19:30:00 0c2d73faf560: Pull complete 19:30:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:30:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:30:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:30:00 prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container 19:30:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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:10004/edgex-devops/git-semver:latest cat 19:30:01 $ docker top c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:30:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:01 [ssh-agent] Looking for ssh-agent implementation... 19:30:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:01 $ docker exec c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent 19:30:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGkpoin/agent.14 19:30:01 SSH_AGENT_PID=20 19:30:01 Running ssh-add (command line suppressed) 19:30:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7965045642160865905.key (/w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7965045642160865905.key) 19:30:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:02 + git tag --points-at HEAD [Pipeline] } 19:30:02 $ docker exec --env ******** --env ******** c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent -k 19:30:02 unset SSH_AUTH_SOCK; 19:30:02 unset SSH_AGENT_PID; 19:30:02 echo Agent pid 20 killed; 19:30:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:30:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:02 [ssh-agent] Looking for ssh-agent implementation... 19:30:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:02 $ docker exec c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent 19:30:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnhjokB/agent.53 19:30:02 SSH_AGENT_PID=59 19:30:02 Running ssh-add (command line suppressed) 19:30:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7247019205242228719.key (/w/workspace/foundry_device-virtual-go_PR-274@tmp/private_key_7247019205242228719.key) 19:30:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:03 + git semver init 19:30:03 # -> Open(): unable to determine branch for HEAD 19:30:03 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-274/.git 19:30:03 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-274 19:30:03 # $SEMVER_REMOTE_NAME = origin 19:30:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:30:03 # $SEMVER_USER_NAME = edgex-jenkins 19:30:03 # $SEMVER_BRANCH = PR-274 19:30:03 # $SEMVER_TEMP = /tmp/semver-043058228 19:30:03 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 19:30:04 # '/tmp/semver-043058228' -> '/w/workspace/foundry_device-virtual-go_PR-274/.semver' 19:30:04 # -> Force: false 19:30:04 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-274/.semver [Pipeline] } 19:30:04 $ docker exec --env ******** --env ******** c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 ssh-agent -k 19:30:04 unset SSH_AUTH_SOCK; 19:30:04 unset SSH_AGENT_PID; 19:30:04 echo Agent pid 59 killed; 19:30:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:30:05 + git semver [Pipeline] } 19:30:05 $ docker stop --time=1 c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 19:30:06 $ docker rm -f c51d0f093f040f91deab20109864ac0057399aac023cae86f04195e2dc75b640 [Pipeline] // withDockerContainer [Pipeline] sh 19:30:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:30:07 Stashed 1 file(s) [Pipeline] echo 19:30:07 [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 19:30:08 provisioning config files... 19:30:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config1493496528914175505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:08 ---> docker-login.sh 19:30:08 nexus3.edgexfoundry.org:10001 19:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:08 Configure a credential helper to remove this warning. See 19:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:08 19:30:08 Login Succeeded 19:30:08 nexus3.edgexfoundry.org:10002 19:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:08 Configure a credential helper to remove this warning. See 19:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:08 19:30:08 Login Succeeded 19:30:08 nexus3.edgexfoundry.org:10003 19:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:08 Configure a credential helper to remove this warning. See 19:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:08 19:30:08 Login Succeeded 19:30:08 nexus3.edgexfoundry.org:10004 19:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:09 Configure a credential helper to remove this warning. See 19:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:09 19:30:09 Login Succeeded 19:30:09 docker.io 19:30:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:09 Configure a credential helper to remove this warning. See 19:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:09 19:30:09 Login Succeeded 19:30:09 ---> docker-login.sh ends [Pipeline] } 19:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:30:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:30:09 ========================================================= 19:30:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:30:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:30:10 + 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 . 19:30:10 Sending build context to Docker daemon 22.91MB 19:30:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:30:10 Step 2/12 : FROM ${BASE} AS builder 19:30:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:30:10 59bf1c3509f3: Pulling fs layer 19:30:10 666ba61612fd: Pulling fs layer 19:30:10 8ed8ca486205: Pulling fs layer 19:30:10 4fe6c5a15a65: Pulling fs layer 19:30:10 22a0e8bec74d: Pulling fs layer 19:30:10 640e595b4fbd: Pulling fs layer 19:30:10 763cafe07f6e: Pulling fs layer 19:30:10 0c0b528cf693: Pulling fs layer 19:30:10 10935f4eaf8b: Pulling fs layer 19:30:10 22a0e8bec74d: Waiting 19:30:10 640e595b4fbd: Waiting 19:30:10 10935f4eaf8b: Waiting 19:30:10 763cafe07f6e: Waiting 19:30:10 0c0b528cf693: Waiting 19:30:10 4fe6c5a15a65: Waiting 19:30:10 8ed8ca486205: Verifying Checksum 19:30:10 8ed8ca486205: Download complete 19:30:10 666ba61612fd: Verifying Checksum 19:30:10 666ba61612fd: Download complete 19:30:10 22a0e8bec74d: Download complete 19:30:10 640e595b4fbd: Verifying Checksum 19:30:10 640e595b4fbd: Download complete 19:30:10 59bf1c3509f3: Verifying Checksum 19:30:10 59bf1c3509f3: Download complete 19:30:10 763cafe07f6e: Verifying Checksum 19:30:10 763cafe07f6e: Download complete 19:30:10 0c0b528cf693: Verifying Checksum 19:30:10 0c0b528cf693: Download complete 19:30:10 59bf1c3509f3: Pull complete 19:30:10 666ba61612fd: Pull complete 19:30:10 8ed8ca486205: Pull complete 19:30:11 10935f4eaf8b: Verifying Checksum 19:30:11 10935f4eaf8b: Download complete 19:30:11 4fe6c5a15a65: Verifying Checksum 19:30:11 4fe6c5a15a65: Download complete 19:30:15 4fe6c5a15a65: Pull complete 19:30:15 22a0e8bec74d: Pull complete 19:30:15 640e595b4fbd: Pull complete 19:30:15 763cafe07f6e: Pull complete 19:30:15 0c0b528cf693: Pull complete 19:30:18 10935f4eaf8b: Pull complete 19:30:18 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 19:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:30:18 ---> 99d49a6021b9 19:30:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:30:19 ---> Running in 1240a404edc9 19:30:19 Removing intermediate container 1240a404edc9 19:30:19 ---> 88e47e315606 19:30:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:30:19 ---> Running in bc87a8e32bf0 19:30:19 Removing intermediate container bc87a8e32bf0 19:30:19 ---> eb23b45c7510 19:30:19 Step 5/12 : WORKDIR /device-virtual-go 19:30:19 ---> Running in 944dbaf1544d 19:30:19 Removing intermediate container 944dbaf1544d 19:30:19 ---> 637ebd07c3b6 19:30:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:30:19 ---> Running in b0e9e969e12d 19:30:20 Removing intermediate container b0e9e969e12d 19:30:20 ---> c863d8e73056 19:30:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:30:20 ---> Running in ea535434f645 19:30:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:30:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:30:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:30:21 (2/4) Installing libedit (20210910.3.1-r0) 19:30:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:30:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:30:21 Executing busybox-1.34.1-r3.trigger 19:30:21 OK: 224 MiB in 56 packages 19:30:22 Removing intermediate container ea535434f645 19:30:22 ---> 29f0d37f2586 19:30:22 Step 8/12 : COPY go.mod vendor* ./ 19:30:22 ---> ba3731c399cd 19:30:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:30:22 ---> Running in fdd1d51be441 19:30:22 Still waiting to schedule task 19:30:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:30:37 Removing intermediate container fdd1d51be441 19:30:37 ---> 52a5352470fd 19:30:37 Step 10/12 : COPY . . 19:30:37 ---> 07fa3b58d360 19:30:37 Step 11/12 : ARG MAKE='make build' 19:30:37 ---> Running in 76a1536ee3fd 19:30:37 Removing intermediate container 76a1536ee3fd 19:30:37 ---> ec05cb7cfbb8 19:30:37 Step 12/12 : RUN $MAKE 19:30:37 ---> Running in d1c9160774a4 19:30:37 noop 19:30:37 Removing intermediate container d1c9160774a4 19:30:37 ---> 1de73f38fc79 19:30:37 Successfully built 1de73f38fc79 19:30:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:30:37 + docker inspect -f . ci-base-image-x86_64 19:30:37 . [Pipeline] withDockerContainer 19:30:37 prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container 19:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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 ******** ci-base-image-x86_64 cat 19:30:38 $ docker top f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 -eo pid,comm [Pipeline] { [Pipeline] sh 19:30:38 + go version 19:30:38 go version go1.17.6 linux/amd64 [Pipeline] } 19:30:38 $ docker stop --time=1 f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 19:30:40 $ docker rm -f f654d1f5849014088c9fa36b4c9fc381866c1c40752a0f2093b6a5c9043fab58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:30:40 + docker inspect -f . ci-base-image-x86_64 19:30:40 . [Pipeline] withDockerContainer 19:30:40 prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container 19:30:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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 ******** ci-base-image-x86_64 cat 19:30:41 $ docker top 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:30:41 + make test 19:30:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:30:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:30:52 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:30:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 19:31:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:31:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:31:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:31:02 ./bin/test-attribution-txt.sh [Pipeline] echo 19:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:31:03 $ docker stop --time=1 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 19:31:05 $ docker rm -f 646d517131200590d7997cadd47966c32bfcfb981db3b6499fa581b1db0d4249 [Pipeline] // withDockerContainer [Pipeline] sh 19:31:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:31:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:31:07 + ls -al . 19:31:07 total 184 19:31:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:31 . 19:31:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 19:29 .. 19:31:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:29 .git 19:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:29 .github 19:31:07 -rw-rw-r-- 1 jenkins jenkins 270 Apr 4 19:29 .gitignore 19:31:07 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 19:29 .golangci.yml 19:31:07 drwx------ 3 jenkins jenkins 4096 Apr 4 19:30 .semver 19:31:07 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 4 19:29 Attribution.txt 19:31:07 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 4 19:29 CHANGELOG.md 19:31:07 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 4 19:29 Dockerfile 19:31:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 19:29 GOVERNANCE.md 19:31:07 -rw-rw-r-- 1 jenkins jenkins 660 Apr 4 19:29 Jenkinsfile 19:31:07 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 19:29 LICENSE 19:31:07 -rw-rw-r-- 1 jenkins jenkins 1652 Apr 4 19:29 Makefile 19:31:07 -rw-rw-r-- 1 jenkins jenkins 623 Apr 4 19:29 OWNERS.md 19:31:07 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 4 19:29 README.md 19:31:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 19:30 VERSION 19:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:29 bin 19:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:29 cmd 19:31:07 -rw-r--r-- 1 jenkins jenkins 44128 Apr 4 19:30 coverage.out 19:31:07 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 4 19:29 go.mod 19:31:07 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 4 19:29 go.sum 19:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:29 internal 19:31:07 -rw-rw-r-- 1 jenkins jenkins 235 Apr 4 19:29 version.go [Pipeline] isUnix [Pipeline] sh 19:31:07 + 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=34a2cf4996402a54740b86045567596500a903e2 --label arch=amd64 --label version=0.0.0 . 19:31:07 Sending build context to Docker daemon 22.96MB 19:31:07 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 19:31:07 Step 2/26 : FROM ${BASE} AS builder 19:31:07 ---> 1de73f38fc79 19:31:07 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:31:07 ---> Running in ab578cc80331 19:31:07 Removing intermediate container ab578cc80331 19:31:07 ---> 8ceb85d05400 19:31:07 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:31:07 ---> Running in 7bf1317bb9b5 19:31:08 Removing intermediate container 7bf1317bb9b5 19:31:08 ---> 1680c55452d6 19:31:08 Step 5/26 : WORKDIR /device-virtual-go 19:31:08 ---> Running in ac895a945900 19:31:08 Removing intermediate container ac895a945900 19:31:08 ---> 9896ffd3f536 19:31:08 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:31:08 ---> Running in e9fca1fc8b3b 19:31:08 Removing intermediate container e9fca1fc8b3b 19:31:08 ---> 1993b753787c 19:31:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:31:08 ---> Running in 2eebf4528d17 19:31:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:31:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:31:10 OK: 224 MiB in 56 packages 19:31:10 Removing intermediate container 2eebf4528d17 19:31:10 ---> 4fe6a91bf94f 19:31:10 Step 8/26 : COPY go.mod vendor* ./ 19:31:10 ---> 13d478fcd63c 19:31:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:31:10 ---> Running in 18eed305404a 19:31:11 Removing intermediate container 18eed305404a 19:31:11 ---> 5b5090cc26eb 19:31:11 Step 10/26 : COPY . . 19:31:11 ---> 954dddb41a81 19:31:11 Step 11/26 : ARG MAKE='make build' 19:31:11 ---> Running in 3323a4df67dd 19:31:12 Removing intermediate container 3323a4df67dd 19:31:12 ---> c7c861dea3d3 19:31:12 Step 12/26 : RUN $MAKE 19:31:12 ---> Running in 606b5c79634e 19:31:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:31:24 Removing intermediate container 606b5c79634e 19:31:24 ---> c49ee103d65a 19:31:24 Step 13/26 : FROM alpine:3.14 19:31:24 3.14: Pulling from library/alpine 19:31:25 cfab2db72209: Pulling fs layer 19:31:25 cfab2db72209: Verifying Checksum 19:31:25 cfab2db72209: Download complete 19:31:25 cfab2db72209: Pull complete 19:31:25 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 19:31:25 Status: Downloaded newer image for alpine:3.14 19:31:25 ---> 84b07dd2d1fd 19:31:25 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:31:25 ---> Running in 269dd7dfd618 19:31:25 Removing intermediate container 269dd7dfd618 19:31:25 ---> cc034751d278 19:31:25 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:31:25 ---> Running in c94d3c526863 19:31:26 Removing intermediate container c94d3c526863 19:31:26 ---> 477ec1f79820 19:31:26 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:31:26 ---> Running in e3b41d26cf9f 19:31:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:31:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:31:27 (1/6) Installing dumb-init (1.2.5-r1) 19:31:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:31:27 (3/6) Installing libsodium (1.0.18-r0) 19:31:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:31:27 (5/6) Installing libzmq (4.3.4-r0) 19:31:27 (6/6) Installing zeromq (4.3.4-r0) 19:31:28 Executing busybox-1.33.1-r6.trigger 19:31:28 OK: 8 MiB in 20 packages 19:31:28 Removing intermediate container e3b41d26cf9f 19:31:28 ---> ca969c39004e 19:31:28 Step 17/26 : WORKDIR / 19:31:28 ---> Running in e5aabd7df140 19:31:28 Removing intermediate container e5aabd7df140 19:31:28 ---> f3987a24a1c5 19:31:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:31:28 ---> 8cb42b771806 19:31:28 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:31:28 ---> d55ad2459dc9 19:31:28 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:31:29 ---> 8adc4d4c8cd2 19:31:29 Step 21/26 : EXPOSE 59900 19:31:29 ---> Running in c72618eb80a0 19:31:29 Removing intermediate container c72618eb80a0 19:31:29 ---> 124c4f192dfe 19:31:29 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:31:29 ---> Running in b59ea0428613 19:31:29 Removing intermediate container b59ea0428613 19:31:29 ---> 5a16d5bdf893 19:31:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:31:29 ---> Running in c85e21e85a49 19:31:29 Removing intermediate container c85e21e85a49 19:31:29 ---> 7bf31fdbde2f 19:31:29 Step 24/26 : LABEL arch=amd64 19:31:29 ---> Running in b97601e10632 19:31:29 Removing intermediate container b97601e10632 19:31:29 ---> 0ea83e8c9d06 19:31:29 Step 25/26 : LABEL git_sha=34a2cf4996402a54740b86045567596500a903e2 19:31:29 ---> Running in a8c8d03abe04 19:31:29 Removing intermediate container a8c8d03abe04 19:31:29 ---> 691712f0f183 19:31:29 Step 26/26 : LABEL version=0.0.0 19:31:29 ---> Running in d10d2cc73d88 19:31:29 Removing intermediate container d10d2cc73d88 19:31:29 ---> 42f2aaea413f 19:31:29 [Warning] One or more build-args [ARCH] were not consumed 19:31:29 Successfully built 42f2aaea413f 19:31:29 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 19:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:30 19:31:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:31:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:31 latest: Pulling from edgex-lftools-log-publisher 19:31:31 5eb5b503b376: Pulling fs layer 19:31:31 5c69ac0246d0: Pulling fs layer 19:31:31 ec43610c2a17: Pulling fs layer 19:31:31 3a2ae6a8a46f: Pulling fs layer 19:31:31 33b1e0a273af: Pulling fs layer 19:31:31 5d3b04190fa2: Pulling fs layer 19:31:31 2f39f015ded8: Pulling fs layer 19:31:31 3a2ae6a8a46f: Waiting 19:31:31 33b1e0a273af: Waiting 19:31:31 5d3b04190fa2: Waiting 19:31:31 2f39f015ded8: Waiting 19:31:31 5c69ac0246d0: Download complete 19:31:31 3a2ae6a8a46f: Verifying Checksum 19:31:31 3a2ae6a8a46f: Download complete 19:31:31 33b1e0a273af: Verifying Checksum 19:31:31 33b1e0a273af: Download complete 19:31:31 ec43610c2a17: Verifying Checksum 19:31:31 ec43610c2a17: Download complete 19:31:31 5d3b04190fa2: Verifying Checksum 19:31:31 5d3b04190fa2: Download complete 19:31:31 5eb5b503b376: Verifying Checksum 19:31:31 5eb5b503b376: Download complete 19:31:31 2f39f015ded8: Download complete 19:31:32 5eb5b503b376: Pull complete 19:31:32 5c69ac0246d0: Pull complete 19:31:33 ec43610c2a17: Pull complete 19:31:33 3a2ae6a8a46f: Pull complete 19:31:33 33b1e0a273af: Pull complete 19:31:33 5d3b04190fa2: Pull complete 19:31:38 2f39f015ded8: Pull complete 19:31:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:31:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:31:39 prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container 19:31:39 $ 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-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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:10003/edgex-lftools-log-publisher:latest cat 19:31:40 $ docker top 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:41 ---> job-cost.sh 19:31:41 lf-activate-venv: SKIPPING 19:31:41 INFO: No Stack... 19:31:41 INFO: Retrieving Pricing Info for: v3-standard-8 19:31:41 INFO: Archiving Costs [Pipeline] sh 19:31:42 + cat /w/workspace/foundry_device-virtual-go_PR-274/archives/cost.csv 19:31:42 + cut -d, -f6 [Pipeline] lock 19:31:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] 19:31:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] did not exist. Created. 19:31:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:31:42 + echo total: 0.2199999988079071 [Pipeline] stash 19:31:42 Stashed 1 file(s) [Pipeline] } 19:31:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:31:42 $ docker stop --time=1 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 19:31:44 $ docker rm -f 4e12f5bb55d874e622922c9e931fed51145275b1c3e01807ccfa5c727680df67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:33:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10674 in /w/workspace/foundry_device-virtual-go_PR-274 [Pipeline] { [Pipeline] ws 19:33:31 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:33:31 The recommended git tool is: git 19:33:40 using credential edgex-jenkins-ssh 19:33:40 Cloning the remote Git repository 19:33:40 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:33:40 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:33:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:33:40 > git --version # timeout=10 19:33:40 > git --version # 'git version 2.25.1' 19:33:40 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:33:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:33:43 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:33:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:33:43 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/274/head:refs/remotes/origin/PR-274 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:33:43 Merging remotes/origin/main commit ab35c68c7da578f7489f6019108ca23722e6e5b0 into PR head commit 34a2cf4996402a54740b86045567596500a903e2 19:33:44 Merge succeeded, producing 34a2cf4996402a54740b86045567596500a903e2 19:33:44 Checking out Revision 34a2cf4996402a54740b86045567596500a903e2 (PR-274) 19:33:43 > git config core.sparsecheckout # timeout=10 19:33:43 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 19:33:43 > git remote # timeout=10 19:33:43 > git config --get remote.origin.url # timeout=10 19:33:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:33:44 > git merge ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 19:33:44 > git rev-parse HEAD^{commit} # timeout=10 19:33:44 > git config core.sparsecheckout # timeout=10 19:33:44 > git checkout -f 34a2cf4996402a54740b86045567596500a903e2 # timeout=10 19:33:48 Commit message: "feat: enable gosec and default linter set" 19:33:48 > git --version # timeout=10 19:33:48 > git --version # 'git version 2.25.1' 19:33:48 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:33:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:33:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:33:49 Dload Upload Total Spent Left Speed 19:33:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46081 0 --:--:-- --:--:-- --:--:-- 46081 [Pipeline] sh 19:33:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:33:50 + sudo tee /etc/docker/daemon.new 19:33:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:33:50 { 19:33:50 "registry-mirrors": [ 19:33:50 "https://nexus3.edgexfoundry.org:10001" 19:33:50 ], 19:33:50 "bip": "10.250.0.254/24", 19:33:50 "hosts": [ 19:33:50 "tcp://0.0.0.0:5555", 19:33:50 "unix:///var/run/docker.sock" 19:33:50 ], 19:33:50 "mtu": 1458, 19:33:50 "selinux-enabled": true, 19:33:50 "seccomp-profile": "/etc/docker/seccomp.json" 19:33:50 } [Pipeline] sh 19:33:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:33:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:34:09 provisioning config files... 19:34:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config953708620727368268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:10 ---> docker-login.sh 19:34:10 nexus3.edgexfoundry.org:10001 19:34:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:11 Configure a credential helper to remove this warning. See 19:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:11 19:34:11 Login Succeeded 19:34:11 nexus3.edgexfoundry.org:10002 19:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:11 Configure a credential helper to remove this warning. See 19:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:11 19:34:11 Login Succeeded 19:34:11 nexus3.edgexfoundry.org:10003 19:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:12 Configure a credential helper to remove this warning. See 19:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:12 19:34:12 Login Succeeded 19:34:12 nexus3.edgexfoundry.org:10004 19:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:12 Configure a credential helper to remove this warning. See 19:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:12 19:34:12 Login Succeeded 19:34:12 docker.io 19:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:34:13 Configure a credential helper to remove this warning. See 19:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:34:13 19:34:13 Login Succeeded 19:34:13 ---> docker-login.sh ends [Pipeline] } 19:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:34:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:34:14 ========================================================= 19:34:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:34:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:34:14 + 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 . 19:34:15 Sending build context to Docker daemon 11.61MB 19:34:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:34:15 Step 2/12 : FROM ${BASE} AS builder 19:34:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:34:15 9b3977197b4f: Pulling fs layer 19:34:15 1a89e8eeedd5: Pulling fs layer 19:34:15 94645a83ff95: Pulling fs layer 19:34:15 3f3a8bcf1eab: Pulling fs layer 19:34:15 0c92f367c5e7: Pulling fs layer 19:34:15 f7c0051592d6: Pulling fs layer 19:34:15 a227ed2f7395: Pulling fs layer 19:34:15 7b1c46037f91: Pulling fs layer 19:34:15 3f3a8bcf1eab: Waiting 19:34:15 f7c0051592d6: Waiting 19:34:15 0c92f367c5e7: Waiting 19:34:15 a227ed2f7395: Waiting 19:34:15 94645a83ff95: Download complete 19:34:15 1a89e8eeedd5: Verifying Checksum 19:34:15 1a89e8eeedd5: Download complete 19:34:15 0c92f367c5e7: Download complete 19:34:15 f7c0051592d6: Verifying Checksum 19:34:15 f7c0051592d6: Download complete 19:34:15 9b3977197b4f: Verifying Checksum 19:34:15 9b3977197b4f: Download complete 19:34:15 a227ed2f7395: Verifying Checksum 19:34:15 a227ed2f7395: Download complete 19:34:16 9b3977197b4f: Pull complete 19:34:16 1a89e8eeedd5: Pull complete 19:34:17 94645a83ff95: Pull complete 19:34:17 7b1c46037f91: Verifying Checksum 19:34:17 7b1c46037f91: Download complete 19:34:18 3f3a8bcf1eab: Verifying Checksum 19:34:18 3f3a8bcf1eab: Download complete 19:34:30 3f3a8bcf1eab: Pull complete 19:34:30 0c92f367c5e7: Pull complete 19:34:30 f7c0051592d6: Pull complete 19:34:30 a227ed2f7395: Pull complete 19:34:37 7b1c46037f91: Pull complete 19:34:37 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 19:34:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:34:37 ---> f79e39bc4007 19:34:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:34:38 ---> Running in b287dbe87878 19:34:38 Removing intermediate container b287dbe87878 19:34:38 ---> 5039975e7a4f 19:34:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:34:38 ---> Running in b105e3b1e08f 19:34:38 Removing intermediate container b105e3b1e08f 19:34:38 ---> a86d0721cb2f 19:34:38 Step 5/12 : WORKDIR /device-virtual-go 19:34:39 ---> Running in ba828a264003 19:34:39 Removing intermediate container ba828a264003 19:34:39 ---> 36862965ff3f 19:34:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:34:39 ---> Running in 63dacee16ff8 19:34:41 Removing intermediate container 63dacee16ff8 19:34:41 ---> 8d5e0a74843f 19:34:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:34:41 ---> Running in b255b4d58982 19:34:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:34:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:34:44 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:34:44 (2/4) Installing libedit (20210910.3.1-r0) 19:34:44 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:34:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:34:44 Executing busybox-1.34.1-r3.trigger 19:34:44 OK: 224 MiB in 56 packages 19:34:46 Removing intermediate container b255b4d58982 19:34:46 ---> 4a23eb889aca 19:34:46 Step 8/12 : COPY go.mod vendor* ./ 19:34:48 ---> 952ce136ca95 19:34:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:34:48 ---> Running in 018dbfe2bc85 19:35:35 Removing intermediate container 018dbfe2bc85 19:35:35 ---> 8af3ea4055ad 19:35:35 Step 10/12 : COPY . . 19:35:35 ---> 909355fe92a6 19:35:35 Step 11/12 : ARG MAKE='make build' 19:35:35 ---> Running in 2ce4f6885dde 19:35:35 Removing intermediate container 2ce4f6885dde 19:35:35 ---> 43d146a3865c 19:35:35 Step 12/12 : RUN $MAKE 19:35:35 ---> Running in 5355355de602 19:35:35 noop 19:35:36 Removing intermediate container 5355355de602 19:35:36 ---> f29d5e486ba4 19:35:36 Successfully built f29d5e486ba4 19:35:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:35:36 + docker inspect -f . ci-base-image-arm64 19:35:36 . [Pipeline] withDockerContainer 19:35:36 prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container 19:35:36 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:35:38 $ docker top 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e -eo pid,comm [Pipeline] { [Pipeline] sh 19:35:39 + go version 19:35:39 go version go1.17.6 linux/arm64 [Pipeline] } 19:35:39 $ docker stop --time=1 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e 19:35:40 $ docker rm -f 2011fe9a59029d98405564dafc2c80d914e55003a3c3886845cb63640be2f56e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:35:41 + docker inspect -f . ci-base-image-arm64 19:35:41 . [Pipeline] withDockerContainer 19:35:41 prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container 19:35:42 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:35:43 $ docker top 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:35:44 + make test 19:35:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:35:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:37:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:37:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 19:37:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:37:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:37:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:37:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:37:25 ./bin/test-attribution-txt.sh [Pipeline] echo 19:37:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:37:26 $ docker stop --time=1 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a 19:37:28 $ docker rm -f 80454ce5fa0f741e68c809f92ef2e23602b2c4dfbc1c6778e8ce252a34e7281a [Pipeline] // withDockerContainer [Pipeline] sh 19:37:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:37:29 Warning: overwriting stash ‘coverage-report’ 19:37:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:37:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:37:30 + ls -al . 19:37:30 total 180 19:37:30 drwxrwxr-x 7 jenkins jenkins 4096 Apr 4 19:37 . 19:37:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 19:33 .. 19:37:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 19:33 .git 19:37:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:33 .github 19:37:30 -rw-rw-r-- 1 jenkins jenkins 270 Apr 4 19:33 .gitignore 19:37:30 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 19:33 .golangci.yml 19:37:30 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 4 19:33 Attribution.txt 19:37:30 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 4 19:33 CHANGELOG.md 19:37:30 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 4 19:33 Dockerfile 19:37:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 19:33 GOVERNANCE.md 19:37:30 -rw-rw-r-- 1 jenkins jenkins 660 Apr 4 19:33 Jenkinsfile 19:37:30 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 19:33 LICENSE 19:37:30 -rw-rw-r-- 1 jenkins jenkins 1652 Apr 4 19:33 Makefile 19:37:30 -rw-rw-r-- 1 jenkins jenkins 623 Apr 4 19:33 OWNERS.md 19:37:30 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 4 19:33 README.md 19:37:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 19:30 VERSION 19:37:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 19:33 bin 19:37:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:33 cmd 19:37:30 -rw-r--r-- 1 jenkins jenkins 44128 Apr 4 19:36 coverage.out 19:37:30 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 4 19:33 go.mod 19:37:30 -rw-rw-r-- 1 jenkins jenkins 34471 Apr 4 19:33 go.sum 19:37:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 19:33 internal 19:37:30 -rw-rw-r-- 1 jenkins jenkins 235 Apr 4 19:33 version.go [Pipeline] isUnix [Pipeline] sh 19:37:30 + 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=34a2cf4996402a54740b86045567596500a903e2 --label arch=arm64 --label version=0.0.0 . 19:37:31 Sending build context to Docker daemon 11.65MB 19:37:31 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 19:37:31 Step 2/26 : FROM ${BASE} AS builder 19:37:31 ---> f29d5e486ba4 19:37:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:37:31 ---> Running in e5607695e331 19:37:31 Removing intermediate container e5607695e331 19:37:31 ---> a7db95749960 19:37:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:37:31 ---> Running in 2a3b25dc6d14 19:37:32 Removing intermediate container 2a3b25dc6d14 19:37:32 ---> 7ec7cff6b4f8 19:37:32 Step 5/26 : WORKDIR /device-virtual-go 19:37:32 ---> Running in 9a096b357f24 19:37:32 Removing intermediate container 9a096b357f24 19:37:32 ---> c14acb2f0a71 19:37:32 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:37:32 ---> Running in 07664ad7cc2d 19:37:34 Removing intermediate container 07664ad7cc2d 19:37:34 ---> 71d3bdc4b71d 19:37:34 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:37:34 ---> Running in e8cddff610ab 19:37:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:37:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:37:37 OK: 224 MiB in 56 packages 19:37:37 Removing intermediate container e8cddff610ab 19:37:37 ---> 16481b23709c 19:37:37 Step 8/26 : COPY go.mod vendor* ./ 19:37:38 ---> 58f8206d30ec 19:37:38 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:37:38 ---> Running in 3bcce8dcb625 19:37:40 Removing intermediate container 3bcce8dcb625 19:37:40 ---> 64422eb546e0 19:37:40 Step 10/26 : COPY . . 19:37:41 ---> 620a1c6abce1 19:37:41 Step 11/26 : ARG MAKE='make build' 19:37:41 ---> Running in 80e8e9190330 19:37:41 Removing intermediate container 80e8e9190330 19:37:41 ---> a11d5b99dc17 19:37:41 Step 12/26 : RUN $MAKE 19:37:42 ---> Running in ab6a00b93c5e 19:37:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 19:39:04 Removing intermediate container ab6a00b93c5e 19:39:04 ---> 118872375e2b 19:39:04 Step 13/26 : FROM alpine:3.14 19:39:04 3.14: Pulling from library/alpine 19:39:04 810d54c7e01b: Pulling fs layer 19:39:04 810d54c7e01b: Download complete 19:39:04 810d54c7e01b: Pull complete 19:39:04 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 19:39:04 Status: Downloaded newer image for alpine:3.14 19:39:04 ---> cc3d11fa2d52 19:39:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:39:04 ---> Running in 61822c70dd14 19:39:04 Removing intermediate container 61822c70dd14 19:39:04 ---> 4a89d7acdb67 19:39:04 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:39:04 ---> Running in 5cde44106a0f 19:39:04 Removing intermediate container 5cde44106a0f 19:39:04 ---> d4da799fff36 19:39:04 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 19:39:04 ---> Running in e77a4d60800c 19:39:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:39:04 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:39:04 (1/6) Installing dumb-init (1.2.5-r1) 19:39:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:39:04 (3/6) Installing libsodium (1.0.18-r0) 19:39:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:39:04 (5/6) Installing libzmq (4.3.4-r0) 19:39:04 (6/6) Installing zeromq (4.3.4-r0) 19:39:04 Executing busybox-1.33.1-r6.trigger 19:39:04 OK: 8 MiB in 20 packages 19:39:04 Removing intermediate container e77a4d60800c 19:39:04 ---> 1856f5f92ec6 19:39:04 Step 17/26 : WORKDIR / 19:39:04 ---> Running in 182bad5b7e38 19:39:04 Removing intermediate container 182bad5b7e38 19:39:04 ---> 165f0d1ead3e 19:39:04 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:39:04 ---> 89275d33c50f 19:39:04 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:39:04 ---> d1a65f3a7c14 19:39:04 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:39:04 ---> e3a19ec1b352 19:39:04 Step 21/26 : EXPOSE 59900 19:39:04 ---> Running in 4458d4f4895f 19:39:04 Removing intermediate container 4458d4f4895f 19:39:04 ---> 66143fd6a995 19:39:04 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:39:04 ---> Running in 4afeed099fc0 19:39:04 Removing intermediate container 4afeed099fc0 19:39:04 ---> a03ee08e51e5 19:39:04 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:39:04 ---> Running in 18c4cfd5b2a0 19:39:04 Removing intermediate container 18c4cfd5b2a0 19:39:04 ---> b99e587cd7bb 19:39:04 Step 24/26 : LABEL arch=arm64 19:39:04 ---> Running in 44975c9128bf 19:39:04 Removing intermediate container 44975c9128bf 19:39:04 ---> 0c227c4aa4a3 19:39:04 Step 25/26 : LABEL git_sha=34a2cf4996402a54740b86045567596500a903e2 19:39:04 ---> Running in 28a94650f5ae 19:39:05 Removing intermediate container 28a94650f5ae 19:39:05 ---> be8993b12c53 19:39:05 Step 26/26 : LABEL version=0.0.0 19:39:05 ---> Running in 8c255acf0560 19:39:05 Removing intermediate container 8c255acf0560 19:39:05 ---> 3561fcefd8f0 19:39:05 [Warning] One or more build-args [ARCH] were not consumed 19:39:05 Successfully built 3561fcefd8f0 19:39:05 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 19:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:06 19:39:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:39:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:07 arm64: Pulling from edgex-lftools-log-publisher 19:39:07 8998bd30e6a1: Pulling fs layer 19:39:07 04944245beec: Pulling fs layer 19:39:07 699f458cf7ca: Pulling fs layer 19:39:07 765212b225bb: Pulling fs layer 19:39:07 f23df028b6ca: Pulling fs layer 19:39:07 d65c8cfc05b1: Pulling fs layer 19:39:07 2437ff75d9bd: Pulling fs layer 19:39:07 f23df028b6ca: Waiting 19:39:07 d65c8cfc05b1: Waiting 19:39:07 765212b225bb: Waiting 19:39:07 2437ff75d9bd: Waiting 19:39:07 04944245beec: Verifying Checksum 19:39:07 04944245beec: Download complete 19:39:07 765212b225bb: Verifying Checksum 19:39:07 765212b225bb: Download complete 19:39:07 f23df028b6ca: Download complete 19:39:07 d65c8cfc05b1: Verifying Checksum 19:39:07 d65c8cfc05b1: Download complete 19:39:07 699f458cf7ca: Verifying Checksum 19:39:07 699f458cf7ca: Download complete 19:39:07 8998bd30e6a1: Verifying Checksum 19:39:07 8998bd30e6a1: Download complete 19:39:10 2437ff75d9bd: Verifying Checksum 19:39:10 2437ff75d9bd: Download complete 19:39:12 8998bd30e6a1: Pull complete 19:39:12 04944245beec: Pull complete 19:39:14 699f458cf7ca: Pull complete 19:39:14 765212b225bb: Pull complete 19:39:14 f23df028b6ca: Pull complete 19:39:15 d65c8cfc05b1: Pull complete 19:39:30 2437ff75d9bd: Pull complete 19:39:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:39:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:39:30 prd-ubuntu20.04-docker-arm64-4c-16g-10674 does not seem to be running inside a container 19:39:30 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:39:33 $ docker top e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:39:34 ---> job-cost.sh 19:39:34 lf-activate-venv: SKIPPING 19:39:34 INFO: No Stack... 19:39:34 INFO: Retrieving Pricing Info for: v3-standard-4 19:39:35 INFO: Archiving Costs [Pipeline] sh 19:39:36 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 19:39:36 + cut -d, -f6 [Pipeline] lock 19:39:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] 19:39:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] did not exist. Created. 19:39:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:39:37 /w/workspace/device-virtual-go/1@tmp/durable-73fe4da1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:39:38 + echo total: 0.10999999940395355 [Pipeline] stash 19:39:38 Warning: overwriting stash ‘stack-cost’ 19:39:38 Stashed 1 file(s) [Pipeline] } 19:39:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-274-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:39:38 $ docker stop --time=1 e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 19:39:39 $ docker rm -f e43db38c1fbe50ec5a774462cec269b50a896d1ba26227885b05abd4f27cd286 [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 19:39:40 provisioning config files... 19:39:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config7395593973387783946tmp [Pipeline] { [Pipeline] sh 19:39:41 + set +x 19:39:41 + + curl -s https://codecov.io/bash 19:39:41 bash -s -- 19:39:41 19:39:41 _____ _ 19:39:41 / ____| | | 19:39:41 | | ___ __| | ___ ___ _____ __ 19:39:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:39:41 | |___| (_) | (_| | __/ (_| (_) \ V / 19:39:41 \_____\___/ \__,_|\___|\___\___/ \_/ 19:39:41 Bash-1.0.6 19:39:41 19:39:41 19:39:41 ==> git version 2.25.1 found 19:39:41 ==> 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 19:39:41 Release-Date: 2020-01-08 19:39:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:39:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:39:41 ==> Jenkins CI detected. 19:39:41 current dir:  /w/workspace/foundry_device-virtual-go_PR-274 19:39:41 project root: . 19:39:41 --> token set from env 19:39:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:39:41 ==> Running gcov in . (disable via -X gcov) 19:39:41 ==> Python coveragepy not found 19:39:41 ==> Searching for coverage reports in: 19:39:41 + . 19:39:41 -> Found 1 reports 19:39:41 ==> Detecting git/mercurial file structure 19:39:41 ==> Reading reports 19:39:41 + ./coverage.out bytes=44128 19:39:41 ==> Appending adjustments 19:39:41 https://docs.codecov.io/docs/fixing-reports 19:39:41 + Found adjustments 19:39:41 ==> Gzipping contents 19:39:41 8.0K /tmp/codecov.08Mryh.gz 19:39:41 ==> Uploading reports 19:39:41 url: https://codecov.io 19:39:41 query: branch=PR-274&commit=34a2cf4996402a54740b86045567596500a903e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=274&job=&cmd_args= 19:39:41 -> Pinging Codecov 19:39:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-274&commit=34a2cf4996402a54740b86045567596500a903e2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-274%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=274&job=&cmd_args= 19:39:41 -> Uploading to 19:39:41 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/5E52B4B073DB2E39498172D8E973AA87/34a2cf4996402a54740b86045567596500a903e2/d1f58c99-2d40-444b-8f00-1bfee895bb84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T193941Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f533a1f1385dd68ec4dc21bc741513abacc746b11020f5323c61bec6a4803f0 19:39:41 % Total % Received % Xferd Average Speed Time Time Time Current 19:39:41 Dload Upload Total Spent Left Speed 19:39:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5299 0 0 100 5299 0 19061 --:--:-- --:--:-- --:--:-- 18992 19:39:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/34a2cf4996402a54740b86045567596500a903e2 [Pipeline] } 19:39:41 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 19:39:43 + [ -d /w/workspace/foundry_device-virtual-go_PR-274/archives ] 19:39:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-274/archives 19:39:43 total 16 19:39:43 drwxr-xr-x 3 root root 4096 Apr 4 19:31 . 19:39:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 19:31 .. 19:39:43 drwxr-xr-x 2 root root 4096 Apr 4 19:31 cost 19:39:43 -rw-r--r-- 1 root root 88 Apr 4 19:31 cost.csv 19:39:43 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-274/archives 19:39:43 + ls -al /w/workspace/foundry_device-virtual-go_PR-274/archives 19:39:43 total 16 19:39:43 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 19:31 . 19:39:43 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 19:31 .. 19:39:43 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 19:31 cost 19:39:43 -rw-r--r-- 1 jenkins jenkins 88 Apr 4 19:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:39:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:39:44 ---> package-listing.sh 19:39:44 ++ facter osfamily 19:39:44 ++ tr '[:upper:]' '[:lower:]' 19:39:45 + OS_FAMILY=debian 19:39:45 + workspace=/w/workspace/foundry_device-virtual-go_PR-274 19:39:45 + START_PACKAGES=/tmp/packages_start.txt 19:39:45 + END_PACKAGES=/tmp/packages_end.txt 19:39:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:39:45 + PACKAGES=/tmp/packages_start.txt 19:39:45 + '[' /w/workspace/foundry_device-virtual-go_PR-274 ']' 19:39:45 + PACKAGES=/tmp/packages_end.txt 19:39:45 + case "${OS_FAMILY}" in 19:39:45 + dpkg -l 19:39:45 + grep '^ii' 19:39:45 + '[' -f /tmp/packages_start.txt ']' 19:39:45 + '[' -f /tmp/packages_end.txt ']' 19:39:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:39:45 + '[' /w/workspace/foundry_device-virtual-go_PR-274 ']' 19:39:45 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-274/archives/ 19:39:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-274/archives/ [Pipeline] echo 19:39:45 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-274/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:39:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:39:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:39:46 . [Pipeline] withDockerContainer 19:39:46 prd-ubuntu20.04-docker-8c-8g-10673 does not seem to be running inside a container 19:39:46 $ 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-274/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-274 -v /w/workspace/foundry_device-virtual-go_PR-274:/w/workspace/foundry_device-virtual-go_PR-274:rw,z -v /w/workspace/foundry_device-virtual-go_PR-274@tmp:/w/workspace/foundry_device-virtual-go_PR-274@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:39:46 $ docker top 52dacf76ee06e3b96178f4cb25b7b470f3a45f4bdc733cb0ad36947a72c7eacb -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:46 + touch /tmp/pre-build-complete [Pipeline] sh 19:39:47 + mkdir -p /var/log/sysstat [Pipeline] sh 19:39:47 + ls /var/log/sa-host 19:39:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:39:47 provisioning config files... 19:39:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-274@tmp/config2407886390415062762tmp [Pipeline] { [Pipeline] echo 19:39:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:39:48 ---> create-netrc.sh [Pipeline] } 19:39:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:39:48 ---> python-tools-install.sh [Pipeline] echo 19:39:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:39:48 ---> sudo-logs.sh 19:39:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:39:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:39:49 ---> job-cost.sh 19:39:49 lf-activate-venv: SKIPPING 19:39:49 DEBUG: total: 0.2199999988079071 19:39:49 INFO: Retrieving Stack Cost... 19:39:49 INFO: Retrieving Pricing Info for: v3-standard-8 19:39:50 INFO: Archiving Costs [Pipeline] echo 19:39:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:39:50 ---> logs-deploy.sh 19:39:50 lf-activate-venv: SKIPPING 19:39:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-274/1 19:39:50 INFO: archiving workspace using pattern(s): 19:39:51 Archives upload complete. 19:39:51 INFO: archiving logs to Nexus