Pull request #269 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 hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from fbc93726e92397df3d75a3a196ca5a825f704b99+7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 (83bea5195fd5ce7b53c239888b018dc4aaee616d) 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-ssh12710385186275184629.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-ssh10857860084176093234.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-269/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-269/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10994441516602778536.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-269/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16075031721401398894.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-ssh2142307289119747838.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-269/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-269/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1951546477571681965.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-7802 in /w/workspace/foundry_device-virtual-go_PR-269 [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-269 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit fbc93726e92397df3d75a3a196ca5a825f704b99 Merge succeeded, producing fbc93726e92397df3d75a3a196ca5a825f704b99 Checking out Revision fbc93726e92397df3d75a3a196ca5a825f704b99 (PR-269) > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # 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 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 Commit message: "build(deps): Bump sdk and core-contracts to latest version" 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 07:19:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:19:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:19:08 ========================================================= 07:19:08 EdgeX Global Pipelines Version Info 07:19:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:19:09 ------------------- 07:19:09 stable info: 07:19:09 ------------------- 07:19:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:19:09 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:19:09 Message: update stable to v1.0.221 07:19:10 ------------------- 07:19:10 experimental info: 07:19:10 ------------------- 07:19:10 Commited By: **** collab-it+edgex@linuxfoundation.org 07:19:10 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:19:10 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:19:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fbc9372 [Pipeline] echo 07:19:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:11 provisioning config files... 07:19:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config9044142742191199368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:12 ---> docker-login.sh 07:19:12 nexus3.edgexfoundry.org:10001 07:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:12 Configure a credential helper to remove this warning. See 07:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:12 07:19:12 Login Succeeded 07:19:12 nexus3.edgexfoundry.org:10002 07:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:12 Configure a credential helper to remove this warning. See 07:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:12 07:19:12 Login Succeeded 07:19:12 nexus3.edgexfoundry.org:10003 07:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:13 Configure a credential helper to remove this warning. See 07:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:13 07:19:13 Login Succeeded 07:19:13 nexus3.edgexfoundry.org:10004 07:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:13 Configure a credential helper to remove this warning. See 07:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:13 07:19:13 Login Succeeded 07:19:13 docker.io 07:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:13 Configure a credential helper to remove this warning. See 07:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:13 07:19:13 Login Succeeded 07:19:13 ---> docker-login.sh ends [Pipeline] } 07:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:19:14 + git rev-list -1 --merges fbc93726e92397df3d75a3a196ca5a825f704b99~1..fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo 07:19:14 -----------> git rev-list -1 --merges fbc93726e92397df3d75a3a196ca5a825f704b99~1..fbc93726e92397df3d75a3a196ca5a825f704b99 fbc93726e92397df3d75a3a196ca5a825f704b99 [false] [Pipeline] sh 07:19:14 + git log --format=format:%s -1 fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo 07:19:14 ========================================================= 07:19:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:19:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:15 + git log --format=format:%s -1 fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] echo 07:19:15 [semverPrep] GIT_COMMIT: fbc93726e92397df3d75a3a196ca5a825f704b99, Commit Message: build(deps): Bump sdk and core-contracts to latest version [Pipeline] echo 07:19:15 [semverPrep] This is not a build commit. [Pipeline] sh 07:19:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:19:15 + grep -v github /etc/ssh/ssh_known_hosts 07:19:15 + [ -e /tmp/ssh_known_hosts ] 07:19:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:19:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:19:15 + sudo tee -a /etc/ssh/ssh_known_hosts 07:19:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:16 07:19:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:19:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:16 latest: Pulling from edgex-devops/git-semver 07:19:16 a0d0a0d46f8b: Pulling fs layer 07:19:16 3e5f54012d9b: Pulling fs layer 07:19:16 4c7163046ea9: Pulling fs layer 07:19:16 0c2d73faf560: Pulling fs layer 07:19:16 0c2d73faf560: Waiting 07:19:16 3e5f54012d9b: Verifying Checksum 07:19:16 3e5f54012d9b: Download complete 07:19:16 a0d0a0d46f8b: Download complete 07:19:16 4c7163046ea9: Verifying Checksum 07:19:16 4c7163046ea9: Download complete 07:19:16 0c2d73faf560: Verifying Checksum 07:19:16 0c2d73faf560: Download complete 07:19:16 a0d0a0d46f8b: Pull complete 07:19:16 3e5f54012d9b: Pull complete 07:19:17 4c7163046ea9: Pull complete 07:19:17 0c2d73faf560: Pull complete 07:19:17 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:19:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:19:17 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:19:17 prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container 07:19:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:19:18 $ docker top 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:18 [ssh-agent] Looking for ssh-agent implementation... 07:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:18 $ docker exec 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent 07:19:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeBbgiP/agent.14 07:19:18 SSH_AGENT_PID=20 07:19:18 Running ssh-add (command line suppressed) 07:19:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_1058561176296636792.key (/w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_1058561176296636792.key) 07:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:19 + git tag --points-at HEAD [Pipeline] } 07:19:19 $ docker exec --env ******** --env ******** 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent -k 07:19:19 unset SSH_AUTH_SOCK; 07:19:19 unset SSH_AGENT_PID; 07:19:19 echo Agent pid 20 killed; 07:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:19:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:19:19 [ssh-agent] Looking for ssh-agent implementation... 07:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:19:19 $ docker exec 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent 07:19:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoejhIa/agent.53 07:19:19 SSH_AGENT_PID=60 07:19:19 Running ssh-add (command line suppressed) 07:19:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_7814486054205662683.key (/w/workspace/foundry_device-virtual-go_PR-269@tmp/private_key_7814486054205662683.key) 07:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:19:20 + git semver init 07:19:20 # -> Open(): unable to determine branch for HEAD 07:19:20 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-269/.git 07:19:20 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-269 07:19:20 # $SEMVER_REMOTE_NAME = origin 07:19:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:19:20 # $SEMVER_USER_NAME = edgex-jenkins 07:19:20 # $SEMVER_BRANCH = PR-269 07:19:20 # $SEMVER_TEMP = /tmp/semver-228796438 07:19:20 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 07:19:21 # '/tmp/semver-228796438' -> '/w/workspace/foundry_device-virtual-go_PR-269/.semver' 07:19:21 # -> Force: false 07:19:21 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-269/.semver [Pipeline] } 07:19:21 $ docker exec --env ******** --env ******** 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 ssh-agent -k 07:19:21 unset SSH_AUTH_SOCK; 07:19:21 unset SSH_AGENT_PID; 07:19:21 echo Agent pid 60 killed; 07:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:19:22 + git semver [Pipeline] } 07:19:22 $ docker stop --time=1 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 07:19:23 $ docker rm -f 57b69ae0ed5bcd706f6b8eb3d67d12dff32241f9202bcbe30761af3df7c11e80 [Pipeline] // withDockerContainer [Pipeline] sh 07:19:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:19:24 Stashed 1 file(s) [Pipeline] echo 07:19:24 [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 07:19:24 provisioning config files... 07:19:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config3615435421548001623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:25 ---> docker-login.sh 07:19:25 nexus3.edgexfoundry.org:10001 07:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:25 Configure a credential helper to remove this warning. See 07:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:25 07:19:25 Login Succeeded 07:19:25 nexus3.edgexfoundry.org:10002 07:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:25 Configure a credential helper to remove this warning. See 07:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:25 07:19:25 Login Succeeded 07:19:25 nexus3.edgexfoundry.org:10003 07:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:25 Configure a credential helper to remove this warning. See 07:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:25 07:19:25 Login Succeeded 07:19:25 nexus3.edgexfoundry.org:10004 07:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:25 Configure a credential helper to remove this warning. See 07:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:25 07:19:25 Login Succeeded 07:19:25 docker.io 07:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:19:26 Configure a credential helper to remove this warning. See 07:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:19:26 07:19:26 Login Succeeded 07:19:26 ---> docker-login.sh ends [Pipeline] } 07:19:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:19:26 ========================================================= 07:19:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:19:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:19:26 + 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 . 07:19:26 Sending build context to Docker daemon 22.9MB 07:19:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:19:26 Step 2/12 : FROM ${BASE} AS builder 07:19:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:19:27 59bf1c3509f3: Pulling fs layer 07:19:27 666ba61612fd: Pulling fs layer 07:19:27 8ed8ca486205: Pulling fs layer 07:19:27 4fe6c5a15a65: Pulling fs layer 07:19:27 22a0e8bec74d: Pulling fs layer 07:19:27 640e595b4fbd: Pulling fs layer 07:19:27 763cafe07f6e: Pulling fs layer 07:19:27 0c0b528cf693: Pulling fs layer 07:19:27 10935f4eaf8b: Pulling fs layer 07:19:27 763cafe07f6e: Waiting 07:19:27 4fe6c5a15a65: Waiting 07:19:27 0c0b528cf693: Waiting 07:19:27 22a0e8bec74d: Waiting 07:19:27 10935f4eaf8b: Waiting 07:19:27 8ed8ca486205: Verifying Checksum 07:19:27 8ed8ca486205: Download complete 07:19:27 666ba61612fd: Verifying Checksum 07:19:27 666ba61612fd: Download complete 07:19:27 22a0e8bec74d: Download complete 07:19:27 640e595b4fbd: Verifying Checksum 07:19:27 640e595b4fbd: Download complete 07:19:27 59bf1c3509f3: Verifying Checksum 07:19:27 59bf1c3509f3: Download complete 07:19:27 763cafe07f6e: Verifying Checksum 07:19:27 763cafe07f6e: Download complete 07:19:27 0c0b528cf693: Verifying Checksum 07:19:27 0c0b528cf693: Download complete 07:19:27 59bf1c3509f3: Pull complete 07:19:27 666ba61612fd: Pull complete 07:19:27 8ed8ca486205: Pull complete 07:19:27 10935f4eaf8b: Verifying Checksum 07:19:27 10935f4eaf8b: Download complete 07:19:27 4fe6c5a15a65: Verifying Checksum 07:19:27 4fe6c5a15a65: Download complete 07:19:32 4fe6c5a15a65: Pull complete 07:19:32 22a0e8bec74d: Pull complete 07:19:32 640e595b4fbd: Pull complete 07:19:32 763cafe07f6e: Pull complete 07:19:32 0c0b528cf693: Pull complete 07:19:34 10935f4eaf8b: Pull complete 07:19:34 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:19:34 ---> 99d49a6021b9 07:19:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:19:36 ---> Running in 28999c76a841 07:19:36 Removing intermediate container 28999c76a841 07:19:36 ---> 1edfe478c658 07:19:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:19:36 ---> Running in 4bb8b90395e3 07:19:36 Removing intermediate container 4bb8b90395e3 07:19:36 ---> 219d261e604a 07:19:36 Step 5/12 : WORKDIR /device-virtual-go 07:19:36 ---> Running in 3354b001b098 07:19:36 Removing intermediate container 3354b001b098 07:19:36 ---> c317d9db5af7 07:19:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:36 ---> Running in 8e6232cb3749 07:19:37 Removing intermediate container 8e6232cb3749 07:19:37 ---> 8c5a14ddeaaf 07:19:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:37 ---> Running in 9cdfa7db1b5a 07:19:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:19:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:19:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:19:38 (2/4) Installing libedit (20210910.3.1-r0) 07:19:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:19:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:19:39 Executing busybox-1.34.1-r3.trigger 07:19:39 OK: 224 MiB in 56 packages 07:19:39 Removing intermediate container 9cdfa7db1b5a 07:19:39 ---> 068457682146 07:19:39 Step 8/12 : COPY go.mod vendor* ./ 07:19:39 ---> f77878360e7a 07:19:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:39 ---> Running in dbb4c1070de7 07:19:39 Still waiting to schedule task 07:19:39 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:20:11 Removing intermediate container dbb4c1070de7 07:20:11 ---> b138a977326c 07:20:11 Step 10/12 : COPY . . 07:20:11 ---> f2eeedb6ee07 07:20:11 Step 11/12 : ARG MAKE='make build' 07:20:11 ---> Running in d6ac3f6a7428 07:20:11 Removing intermediate container d6ac3f6a7428 07:20:11 ---> 7d6d5dde1e5d 07:20:11 Step 12/12 : RUN $MAKE 07:20:11 ---> Running in 66f966211dec 07:20:11 noop 07:20:11 Removing intermediate container 66f966211dec 07:20:11 ---> 1506de02d16b 07:20:11 Successfully built 1506de02d16b 07:20:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:20:12 + docker inspect -f . ci-base-image-x86_64 07:20:12 . [Pipeline] withDockerContainer 07:20:12 prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container 07:20:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** ci-base-image-x86_64 cat 07:20:12 $ docker top 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:13 + go version 07:20:13 go version go1.17.6 linux/amd64 [Pipeline] } 07:20:13 $ docker stop --time=1 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 07:20:14 $ docker rm -f 2c6010cfab61dce9aec4cd4ef74e203f50c5988ffd68c67165e9bcd802570f91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:20:15 + docker inspect -f . ci-base-image-x86_64 07:20:15 . [Pipeline] withDockerContainer 07:20:15 prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container 07:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** ci-base-image-x86_64 cat 07:20:15 $ docker top 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:20:16 + make test 07:20:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:20:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:20:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:20:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.035s coverage: 65.7% of statements 07:20:24 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:20:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:20:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:20:27 ./bin/test-attribution-txt.sh [Pipeline] echo 07:20:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:20:27 $ docker stop --time=1 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 07:20:29 $ docker rm -f 4980f931125f7bea67c31f2308410e8521aa204f12b05c0e9e2c1b2eeef665c6 [Pipeline] // withDockerContainer [Pipeline] sh 07:20:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:20:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:20:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:20:31 + ls -al . 07:20:31 total 196 07:20:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:20 . 07:20:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:19 .. 07:20:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:19 .git 07:20:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 .github 07:20:31 -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:19 .gitignore 07:20:31 drwx------ 3 jenkins jenkins 4096 Mar 17 07:19 .semver 07:20:31 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:19 Attribution.txt 07:20:31 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:19 CHANGELOG.md 07:20:31 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:19 Dockerfile 07:20:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:19 GOVERNANCE.md 07:20:31 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:19 Jenkinsfile 07:20:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:19 LICENSE 07:20:31 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:19 Makefile 07:20:31 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:19 OWNERS.md 07:20:31 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:19 README.md 07:20:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:19 VERSION 07:20:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 bin 07:20:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 cmd 07:20:31 -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:20 coverage.out 07:20:31 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:19 go.mod 07:20:31 -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:19 go.sum 07:20:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 internal 07:20:31 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:19 version.go [Pipeline] isUnix [Pipeline] sh 07:20:31 + 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=fbc93726e92397df3d75a3a196ca5a825f704b99 --label arch=amd64 --label version=0.0.0 . 07:20:31 Sending build context to Docker daemon 22.94MB 07:20:31 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:20:31 Step 2/26 : FROM ${BASE} AS builder 07:20:31 ---> 1506de02d16b 07:20:31 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:20:32 ---> Running in 394189790fea 07:20:32 Removing intermediate container 394189790fea 07:20:32 ---> c13eca3b7b44 07:20:32 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:20:32 ---> Running in 34360f883354 07:20:32 Removing intermediate container 34360f883354 07:20:32 ---> 410a7ec9c7eb 07:20:32 Step 5/26 : WORKDIR /device-virtual-go 07:20:32 ---> Running in a2924373292e 07:20:32 Removing intermediate container a2924373292e 07:20:32 ---> 541f7c5530c9 07:20:32 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:32 ---> Running in e49093bf2e25 07:20:32 Removing intermediate container e49093bf2e25 07:20:32 ---> c59b28f2aa1b 07:20:32 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:33 ---> Running in 050a5af14b9c 07:20:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:20:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:20:34 OK: 224 MiB in 56 packages 07:20:34 Removing intermediate container 050a5af14b9c 07:20:34 ---> c6a58731414f 07:20:34 Step 8/26 : COPY go.mod vendor* ./ 07:20:34 ---> 8d479ceea536 07:20:34 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:34 ---> Running in d3f230532fb9 07:20:35 Removing intermediate container d3f230532fb9 07:20:35 ---> 2d6b6e2ef20d 07:20:35 Step 10/26 : COPY . . 07:20:36 ---> ee9c5c5b2006 07:20:36 Step 11/26 : ARG MAKE='make build' 07:20:36 ---> Running in ce4f78a9bcce 07:20:36 Removing intermediate container ce4f78a9bcce 07:20:36 ---> 252941c2645f 07:20:36 Step 12/26 : RUN $MAKE 07:20:36 ---> Running in 170cf34030a4 07:20:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 07:20:44 Removing intermediate container 170cf34030a4 07:20:44 ---> 0563d7dd7f7c 07:20:44 Step 13/26 : FROM alpine:3.14 07:20:44 3.14: Pulling from library/alpine 07:20:44 97518928ae5f: Pulling fs layer 07:20:44 97518928ae5f: Verifying Checksum 07:20:44 97518928ae5f: Download complete 07:20:44 97518928ae5f: Pull complete 07:20:44 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:20:44 Status: Downloaded newer image for alpine:3.14 07:20:44 ---> 0a97eee8041e 07:20:44 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:20:44 ---> Running in 431e2325ca58 07:20:44 Removing intermediate container 431e2325ca58 07:20:44 ---> a7bba6d728c4 07:20:44 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:20:44 ---> Running in 491b74f00098 07:20:45 Removing intermediate container 491b74f00098 07:20:45 ---> b1c13117a14c 07:20:45 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:20:45 ---> Running in 4f25996e6015 07:20:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:20:46 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:20:47 (1/6) Installing dumb-init (1.2.5-r1) 07:20:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:20:47 (3/6) Installing libsodium (1.0.18-r0) 07:20:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:20:47 (5/6) Installing libzmq (4.3.4-r0) 07:20:47 (6/6) Installing zeromq (4.3.4-r0) 07:20:47 Executing busybox-1.33.1-r6.trigger 07:20:47 OK: 8 MiB in 20 packages 07:20:47 Removing intermediate container 4f25996e6015 07:20:47 ---> 6c1416532884 07:20:47 Step 17/26 : WORKDIR / 07:20:48 ---> Running in f41f1ab71bae 07:20:48 Removing intermediate container f41f1ab71bae 07:20:48 ---> c31d5fa31218 07:20:48 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:20:48 ---> d0f947e57106 07:20:48 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:20:48 ---> 5a55f7c87e20 07:20:48 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:20:48 ---> f77d7d1d9182 07:20:48 Step 21/26 : EXPOSE 59900 07:20:48 ---> Running in 69acada7aff3 07:20:48 Removing intermediate container 69acada7aff3 07:20:48 ---> 96379c5f204c 07:20:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:20:48 ---> Running in 0dfe7f94e3e2 07:20:48 Removing intermediate container 0dfe7f94e3e2 07:20:48 ---> 556adb00ee12 07:20:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:20:49 ---> Running in 9620e4affd03 07:20:49 Removing intermediate container 9620e4affd03 07:20:49 ---> 7f5fde1934ff 07:20:49 Step 24/26 : LABEL arch=amd64 07:20:49 ---> Running in 76bdab8d5029 07:20:49 Removing intermediate container 76bdab8d5029 07:20:49 ---> 634571f6f370 07:20:49 Step 25/26 : LABEL git_sha=fbc93726e92397df3d75a3a196ca5a825f704b99 07:20:49 ---> Running in 8d8d07d08d70 07:20:49 Removing intermediate container 8d8d07d08d70 07:20:49 ---> 06e43483191b 07:20:49 Step 26/26 : LABEL version=0.0.0 07:20:49 ---> Running in d660d068d8e4 07:20:49 Removing intermediate container d660d068d8e4 07:20:49 ---> d57c3fac2a22 07:20:49 [Warning] One or more build-args [ARCH] were not consumed 07:20:49 Successfully built d57c3fac2a22 07:20:49 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 07:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:50 07:20:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:20:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:50 latest: Pulling from edgex-lftools-log-publisher 07:20:50 5eb5b503b376: Pulling fs layer 07:20:50 5c69ac0246d0: Pulling fs layer 07:20:50 ec43610c2a17: Pulling fs layer 07:20:50 3a2ae6a8a46f: Pulling fs layer 07:20:50 33b1e0a273af: Pulling fs layer 07:20:50 5d3b04190fa2: Pulling fs layer 07:20:50 2f39f015ded8: Pulling fs layer 07:20:50 33b1e0a273af: Waiting 07:20:50 2f39f015ded8: Waiting 07:20:50 5d3b04190fa2: Waiting 07:20:50 5c69ac0246d0: Download complete 07:20:50 3a2ae6a8a46f: Download complete 07:20:50 33b1e0a273af: Verifying Checksum 07:20:50 33b1e0a273af: Download complete 07:20:50 ec43610c2a17: Verifying Checksum 07:20:50 ec43610c2a17: Download complete 07:20:50 5d3b04190fa2: Verifying Checksum 07:20:50 5d3b04190fa2: Download complete 07:20:50 5eb5b503b376: Verifying Checksum 07:20:50 5eb5b503b376: Download complete 07:20:51 2f39f015ded8: Download complete 07:20:52 5eb5b503b376: Pull complete 07:20:52 5c69ac0246d0: Pull complete 07:20:53 ec43610c2a17: Pull complete 07:20:53 3a2ae6a8a46f: Pull complete 07:20:53 33b1e0a273af: Pull complete 07:20:53 5d3b04190fa2: Pull complete 07:20:58 2f39f015ded8: Pull complete 07:20:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:20:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:20:58 prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container 07:20:58 $ 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-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 07:21:00 $ docker top 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:21:00 ---> job-cost.sh 07:21:00 lf-activate-venv: SKIPPING 07:21:00 INFO: No Stack... 07:21:01 INFO: Retrieving Pricing Info for: v3-standard-8 07:21:01 INFO: Archiving Costs [Pipeline] sh 07:21:02 + cat /w/workspace/foundry_device-virtual-go_PR-269/archives/cost.csv 07:21:02 + cut -d, -f6 [Pipeline] lock 07:21:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] 07:21:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] did not exist. Created. 07:21:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:21:02 + echo total: 0.2199999988079071 [Pipeline] stash 07:21:02 Stashed 1 file(s) [Pipeline] } 07:21:02 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:21:02 $ docker stop --time=1 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b 07:21:03 $ docker rm -f 23fdcb7a8b7e5b8cae502284d733e0505c1f90c02e564fde019586975cb0a39b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:23:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7803 in /w/workspace/foundry_device-virtual-go_PR-269 [Pipeline] { [Pipeline] ws 07:23:08 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 07:23:08 The recommended git tool is: git 07:23:15 using credential edgex-jenkins-ssh 07:23:15 Cloning the remote Git repository 07:23:15 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:23:15 > git init /w/workspace/device-virtual-go/1 # timeout=10 07:23:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:23:15 > git --version # timeout=10 07:23:15 > git --version # 'git version 2.25.1' 07:23:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:18 Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit fbc93726e92397df3d75a3a196ca5a825f704b99 07:23:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:23:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:23:18 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:23:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:23:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:23:18 > git config core.sparsecheckout # timeout=10 07:23:18 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 07:23:19 > git remote # timeout=10 07:23:19 > git config --get remote.origin.url # timeout=10 07:23:19 using GIT_SSH to set credentials SSH Credentials for GitHub 07:23:19 Merge succeeded, producing fbc93726e92397df3d75a3a196ca5a825f704b99 07:23:19 Checking out Revision fbc93726e92397df3d75a3a196ca5a825f704b99 (PR-269) 07:23:19 > git merge 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 07:23:19 > git rev-parse HEAD^{commit} # timeout=10 07:23:19 > git config core.sparsecheckout # timeout=10 07:23:19 > git checkout -f fbc93726e92397df3d75a3a196ca5a825f704b99 # timeout=10 07:23:23 Commit message: "build(deps): Bump sdk and core-contracts to latest version" 07:23:23 > git --version # timeout=10 07:23:23 > git --version # 'git version 2.25.1' 07:23:23 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:23:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:23:24 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:24 Dload Upload Total Spent Left Speed 07:23:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh 07:23:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:23:25 + sudo tee /etc/docker/daemon.new 07:23:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:23:25 { 07:23:25 "registry-mirrors": [ 07:23:25 "https://nexus3.edgexfoundry.org:10001" 07:23:25 ], 07:23:25 "bip": "10.250.0.254/24", 07:23:25 "hosts": [ 07:23:25 "tcp://0.0.0.0:5555", 07:23:25 "unix:///var/run/docker.sock" 07:23:25 ], 07:23:25 "mtu": 1458, 07:23:25 "selinux-enabled": true, 07:23:25 "seccomp-profile": "/etc/docker/seccomp.json" 07:23:25 } [Pipeline] sh 07:23:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:23:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:23:45 provisioning config files... 07:23:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8905582512539567587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:45 ---> docker-login.sh 07:23:45 nexus3.edgexfoundry.org:10001 07:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:46 Configure a credential helper to remove this warning. See 07:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:46 07:23:46 Login Succeeded 07:23:46 nexus3.edgexfoundry.org:10002 07:23:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:46 Configure a credential helper to remove this warning. See 07:23:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:46 07:23:46 Login Succeeded 07:23:46 nexus3.edgexfoundry.org:10003 07:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:47 Configure a credential helper to remove this warning. See 07:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:47 07:23:47 Login Succeeded 07:23:47 nexus3.edgexfoundry.org:10004 07:23:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:47 Configure a credential helper to remove this warning. See 07:23:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:47 07:23:47 Login Succeeded 07:23:47 docker.io 07:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:48 Configure a credential helper to remove this warning. See 07:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:48 07:23:48 Login Succeeded 07:23:48 ---> docker-login.sh ends [Pipeline] } 07:23:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:23:49 ========================================================= 07:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:23:49 + 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 . 07:23:49 Sending build context to Docker daemon 11.6MB 07:23:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:23:50 Step 2/12 : FROM ${BASE} AS builder 07:23:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:50 9b3977197b4f: Pulling fs layer 07:23:50 1a89e8eeedd5: Pulling fs layer 07:23:50 94645a83ff95: Pulling fs layer 07:23:50 3f3a8bcf1eab: Pulling fs layer 07:23:50 0c92f367c5e7: Pulling fs layer 07:23:50 f7c0051592d6: Pulling fs layer 07:23:50 a227ed2f7395: Pulling fs layer 07:23:50 7b1c46037f91: Pulling fs layer 07:23:50 3f3a8bcf1eab: Waiting 07:23:50 f7c0051592d6: Waiting 07:23:50 0c92f367c5e7: Waiting 07:23:50 a227ed2f7395: Waiting 07:23:50 7b1c46037f91: Waiting 07:23:50 94645a83ff95: Verifying Checksum 07:23:50 1a89e8eeedd5: Download complete 07:23:50 0c92f367c5e7: Verifying Checksum 07:23:50 0c92f367c5e7: Download complete 07:23:50 f7c0051592d6: Verifying Checksum 07:23:50 f7c0051592d6: Download complete 07:23:50 9b3977197b4f: Verifying Checksum 07:23:50 9b3977197b4f: Download complete 07:23:50 a227ed2f7395: Verifying Checksum 07:23:50 a227ed2f7395: Download complete 07:23:51 9b3977197b4f: Pull complete 07:23:51 1a89e8eeedd5: Pull complete 07:23:51 94645a83ff95: Pull complete 07:23:52 7b1c46037f91: Verifying Checksum 07:23:52 7b1c46037f91: Download complete 07:23:52 3f3a8bcf1eab: Verifying Checksum 07:23:52 3f3a8bcf1eab: Download complete 07:24:05 3f3a8bcf1eab: Pull complete 07:24:05 0c92f367c5e7: Pull complete 07:24:05 f7c0051592d6: Pull complete 07:24:05 a227ed2f7395: Pull complete 07:24:12 7b1c46037f91: Pull complete 07:24:12 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:24:12 ---> f79e39bc4007 07:24:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:24:12 ---> Running in 39f128884414 07:24:13 Removing intermediate container 39f128884414 07:24:13 ---> 607be3341470 07:24:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:24:13 ---> Running in 6886ccd5acf9 07:24:13 Removing intermediate container 6886ccd5acf9 07:24:13 ---> b842cde8bc09 07:24:13 Step 5/12 : WORKDIR /device-virtual-go 07:24:13 ---> Running in 54eabf93c589 07:24:13 Removing intermediate container 54eabf93c589 07:24:13 ---> c518f0f5fd12 07:24:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:24:13 ---> Running in 2185fd7a13e5 07:24:15 Removing intermediate container 2185fd7a13e5 07:24:15 ---> f64e5019cdbf 07:24:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:24:15 ---> Running in 22c170683e9e 07:24:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:24:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:24:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:24:18 (2/4) Installing libedit (20210910.3.1-r0) 07:24:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:24:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:24:19 Executing busybox-1.34.1-r3.trigger 07:24:19 OK: 224 MiB in 56 packages 07:24:21 Removing intermediate container 22c170683e9e 07:24:21 ---> e9d4e045d4cb 07:24:21 Step 8/12 : COPY go.mod vendor* ./ 07:24:22 ---> b93670d3a11a 07:24:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:24:22 ---> Running in 0fd0b5ce367d 07:25:44 Removing intermediate container 0fd0b5ce367d 07:25:44 ---> 1ba2affc2b57 07:25:44 Step 10/12 : COPY . . 07:25:44 ---> 237212015056 07:25:44 Step 11/12 : ARG MAKE='make build' 07:25:44 ---> Running in 330517d45746 07:25:44 Removing intermediate container 330517d45746 07:25:44 ---> fd93b520987d 07:25:44 Step 12/12 : RUN $MAKE 07:25:44 ---> Running in 8018e662aa7b 07:25:44 noop 07:25:44 Removing intermediate container 8018e662aa7b 07:25:44 ---> 469f54f822fc 07:25:44 Successfully built 469f54f822fc 07:25:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:25:44 + docker inspect -f . ci-base-image-arm64 07:25:44 . [Pipeline] withDockerContainer 07:25:44 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 07:25:45 $ 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 07:25:46 $ docker top 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:47 + go version 07:25:47 go version go1.17.6 linux/arm64 [Pipeline] } 07:25:47 $ docker stop --time=1 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c 07:25:48 $ docker rm -f 01218d4fbe5993b828714c42ce7419bfcc24e655e829d712aef84e48052cf15c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:25:49 + docker inspect -f . ci-base-image-arm64 07:25:49 . [Pipeline] withDockerContainer 07:25:50 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 07:25:50 $ 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 07:25:51 $ docker top 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:25:52 + make test 07:25:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:25:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:26:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:26:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 07:26:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:27:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:27:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:27:01 ./bin/test-attribution-txt.sh [Pipeline] echo 07:27:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:27:02 $ docker stop --time=1 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 07:27:04 $ docker rm -f 17cbec8a92b31512726e5c367307cd8c8b7c303d0e9b1e8c462d2a86abc43523 [Pipeline] // withDockerContainer [Pipeline] sh 07:27:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:27:05 Warning: overwriting stash ‘coverage-report’ 07:27:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:27:07 + ls -al . 07:27:07 total 192 07:27:07 drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 07:27 . 07:27:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:23 .. 07:27:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:23 .git 07:27:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:23 .github 07:27:07 -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:23 .gitignore 07:27:07 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:23 Attribution.txt 07:27:07 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:23 CHANGELOG.md 07:27:07 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:23 Dockerfile 07:27:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:23 GOVERNANCE.md 07:27:07 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:23 Jenkinsfile 07:27:07 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:23 LICENSE 07:27:07 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:23 Makefile 07:27:07 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:23 OWNERS.md 07:27:07 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:23 README.md 07:27:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:19 VERSION 07:27:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:23 bin 07:27:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:23 cmd 07:27:07 -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:26 coverage.out 07:27:07 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:23 go.mod 07:27:07 -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:23 go.sum 07:27:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:23 internal 07:27:07 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:23 version.go [Pipeline] isUnix [Pipeline] sh 07:27:07 + 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=fbc93726e92397df3d75a3a196ca5a825f704b99 --label arch=arm64 --label version=0.0.0 . 07:27:08 Sending build context to Docker daemon 11.65MB 07:27:08 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:27:08 Step 2/26 : FROM ${BASE} AS builder 07:27:08 ---> 469f54f822fc 07:27:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:27:08 ---> Running in 191e505def9c 07:27:08 Removing intermediate container 191e505def9c 07:27:08 ---> 3c8424ce3e4f 07:27:08 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:27:08 ---> Running in 3f27dcaeaf43 07:27:09 Removing intermediate container 3f27dcaeaf43 07:27:09 ---> 601a0929f163 07:27:09 Step 5/26 : WORKDIR /device-virtual-go 07:27:09 ---> Running in a66959647be8 07:27:09 Removing intermediate container a66959647be8 07:27:09 ---> 554710a7b8d4 07:27:09 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:27:09 ---> Running in 363e2e3def03 07:27:11 Removing intermediate container 363e2e3def03 07:27:11 ---> 8f9d02db78da 07:27:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:27:11 ---> Running in b790001fa3c0 07:27:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:27:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:27:13 OK: 224 MiB in 56 packages 07:27:14 Removing intermediate container b790001fa3c0 07:27:14 ---> 237cd881be4b 07:27:14 Step 8/26 : COPY go.mod vendor* ./ 07:27:15 ---> 070fde33af0c 07:27:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:27:15 ---> Running in 52819cb5168f 07:27:18 Removing intermediate container 52819cb5168f 07:27:18 ---> 10e0c53cd63e 07:27:18 Step 10/26 : COPY . . 07:27:18 ---> d543bcab246c 07:27:18 Step 11/26 : ARG MAKE='make build' 07:27:18 ---> Running in 0c71b912e18b 07:27:19 Removing intermediate container 0c71b912e18b 07:27:19 ---> fcf2de1577ec 07:27:19 Step 12/26 : RUN $MAKE 07:27:19 ---> Running in 53174424569d 07:27:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 07:28:07 Removing intermediate container 53174424569d 07:28:07 ---> a9867f548081 07:28:07 Step 13/26 : FROM alpine:3.14 07:28:07 3.14: Pulling from library/alpine 07:28:07 be307f383ecc: Pulling fs layer 07:28:07 be307f383ecc: Verifying Checksum 07:28:07 be307f383ecc: Download complete 07:28:07 be307f383ecc: Pull complete 07:28:07 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 07:28:07 Status: Downloaded newer image for alpine:3.14 07:28:07 ---> 5b8b7b635229 07:28:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:28:07 ---> Running in 08334f58d8b5 07:28:07 Removing intermediate container 08334f58d8b5 07:28:07 ---> 479deed2646e 07:28:07 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:07 ---> Running in 072d6720671c 07:28:07 Removing intermediate container 072d6720671c 07:28:07 ---> 270963008455 07:28:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:28:07 ---> Running in 94b555bb72a5 07:28:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:28:07 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:28:07 (1/6) Installing dumb-init (1.2.5-r1) 07:28:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:28:07 (3/6) Installing libsodium (1.0.18-r0) 07:28:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:28:07 (5/6) Installing libzmq (4.3.4-r0) 07:28:07 (6/6) Installing zeromq (4.3.4-r0) 07:28:08 Executing busybox-1.33.1-r6.trigger 07:28:08 OK: 8 MiB in 20 packages 07:28:09 Removing intermediate container 94b555bb72a5 07:28:09 ---> 2de51739d8a8 07:28:09 Step 17/26 : WORKDIR / 07:28:09 ---> Running in f5534a04e774 07:28:09 Removing intermediate container f5534a04e774 07:28:09 ---> 745905d16d28 07:28:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:28:09 ---> 28b33489c365 07:28:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:28:10 ---> a45cb3f9ce17 07:28:10 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:28:11 ---> ed2e32be4ec5 07:28:11 Step 21/26 : EXPOSE 59900 07:28:11 ---> Running in a4da608a8e01 07:28:11 Removing intermediate container a4da608a8e01 07:28:11 ---> 8d9b8a5da4f4 07:28:11 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:28:12 ---> Running in fe1ccd27a9ff 07:28:12 Removing intermediate container fe1ccd27a9ff 07:28:12 ---> f7476bec7af5 07:28:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:28:12 ---> Running in 408a637327a0 07:28:12 Removing intermediate container 408a637327a0 07:28:12 ---> b1d51e72dbe4 07:28:12 Step 24/26 : LABEL arch=arm64 07:28:12 ---> Running in 6fcc5ff6d156 07:28:13 Removing intermediate container 6fcc5ff6d156 07:28:13 ---> cadd2b9ffa92 07:28:13 Step 25/26 : LABEL git_sha=fbc93726e92397df3d75a3a196ca5a825f704b99 07:28:13 ---> Running in 83a08c0bf5bb 07:28:13 Removing intermediate container 83a08c0bf5bb 07:28:13 ---> 7a0c9775a717 07:28:13 Step 26/26 : LABEL version=0.0.0 07:28:13 ---> Running in 98d074e790d1 07:28:13 Removing intermediate container 98d074e790d1 07:28:13 ---> 4e2df267f495 07:28:13 [Warning] One or more build-args [ARCH] were not consumed 07:28:14 Successfully built 4e2df267f495 07:28:14 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 07:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:14 07:28:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:28:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:15 arm64: Pulling from edgex-lftools-log-publisher 07:28:15 8998bd30e6a1: Pulling fs layer 07:28:15 04944245beec: Pulling fs layer 07:28:15 699f458cf7ca: Pulling fs layer 07:28:15 765212b225bb: Pulling fs layer 07:28:15 f23df028b6ca: Pulling fs layer 07:28:15 d65c8cfc05b1: Pulling fs layer 07:28:15 2437ff75d9bd: Pulling fs layer 07:28:15 765212b225bb: Waiting 07:28:15 d65c8cfc05b1: Waiting 07:28:15 2437ff75d9bd: Waiting 07:28:15 f23df028b6ca: Waiting 07:28:15 04944245beec: Verifying Checksum 07:28:15 04944245beec: Download complete 07:28:15 765212b225bb: Verifying Checksum 07:28:15 765212b225bb: Download complete 07:28:15 f23df028b6ca: Verifying Checksum 07:28:15 f23df028b6ca: Download complete 07:28:15 d65c8cfc05b1: Verifying Checksum 07:28:15 d65c8cfc05b1: Download complete 07:28:15 699f458cf7ca: Verifying Checksum 07:28:15 8998bd30e6a1: Verifying Checksum 07:28:15 8998bd30e6a1: Download complete 07:28:18 2437ff75d9bd: Verifying Checksum 07:28:18 2437ff75d9bd: Download complete 07:28:20 8998bd30e6a1: Pull complete 07:28:20 04944245beec: Pull complete 07:28:22 699f458cf7ca: Pull complete 07:28:22 765212b225bb: Pull complete 07:28:23 f23df028b6ca: Pull complete 07:28:23 d65c8cfc05b1: Pull complete 07:28:38 2437ff75d9bd: Pull complete 07:28:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:28:38 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 07:28: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/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 07:28:41 $ docker top ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:42 ---> job-cost.sh 07:28:42 lf-activate-venv: SKIPPING 07:28:42 INFO: No Stack... 07:28:43 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:44 INFO: Archiving Costs [Pipeline] sh 07:28:44 + + cut -d,cat -f6 07:28:44 /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 07:28:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] 07:28:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] did not exist. Created. 07:28:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:45 /w/workspace/device-virtual-go/1@tmp/durable-b8f9196d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:46 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:46 Warning: overwriting stash ‘stack-cost’ 07:28:46 Stashed 1 file(s) [Pipeline] } 07:28:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-269-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:46 $ docker stop --time=1 ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca 07:28:48 $ docker rm -f ec802009707948ce531084a7ba79848ed77580256d0ec34209c54df0c108b6ca [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 07:28:49 provisioning config files... 07:28:49 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config3714992916898278060tmp [Pipeline] { [Pipeline] sh 07:28:49 + set +x 07:28:49 + curl -s+ https://codecov.io/bash 07:28:49 bash -s -- 07:28:49 07:28:49 _____ _ 07:28:49 / ____| | | 07:28:49 | | ___ __| | ___ ___ _____ __ 07:28:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:28:49 | |___| (_) | (_| | __/ (_| (_) \ V / 07:28:49 \_____\___/ \__,_|\___|\___\___/ \_/ 07:28:49 Bash-1.0.6 07:28:49 07:28:49 07:28:49 ==> git version 2.25.1 found 07:28:49 ==> 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 07:28:49 Release-Date: 2020-01-08 07:28:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:28:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:28:49 ==> Jenkins CI detected. 07:28:49 current dir:  /w/workspace/foundry_device-virtual-go_PR-269 07:28:49 project root: . 07:28:49 --> token set from env 07:28:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:28:49 ==> Running gcov in . (disable via -X gcov) 07:28:49 ==> Python coveragepy not found 07:28:49 ==> Searching for coverage reports in: 07:28:49 + . 07:28:49 -> Found 1 reports 07:28:49 ==> Detecting git/mercurial file structure 07:28:49 ==> Reading reports 07:28:49 + ./coverage.out bytes=44128 07:28:49 ==> Appending adjustments 07:28:49 https://docs.codecov.io/docs/fixing-reports 07:28:49 + Found adjustments 07:28:49 ==> Gzipping contents 07:28:49 8.0K /tmp/codecov.hUgijH.gz 07:28:49 ==> Uploading reports 07:28:49 url: https://codecov.io 07:28:49 query: branch=PR-269&commit=fbc93726e92397df3d75a3a196ca5a825f704b99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=269&job=&cmd_args= 07:28:49 -> Pinging Codecov 07:28:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-269&commit=fbc93726e92397df3d75a3a196ca5a825f704b99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-269%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=269&job=&cmd_args= 07:28:50 -> Uploading to 07:28:50 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/5E52B4B073DB2E39498172D8E973AA87/fbc93726e92397df3d75a3a196ca5a825f704b99/f5880b05-7680-4a5e-9cb3-9b590cf69b03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T072849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14c1b291306a4f05f14b32cf044db7be9586d3ca1513d9f8bf01074f9c117796 07:28:50 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:50 Dload Upload Total Spent Left Speed 07:28:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5303 0 0 100 5303 0 22004 --:--:-- --:--:-- --:--:-- 22004 07:28:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/fbc93726e92397df3d75a3a196ca5a825f704b99 [Pipeline] } 07:28:50 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 07:28:52 + [ -d /w/workspace/foundry_device-virtual-go_PR-269/archives ] 07:28:52 + ls -al /w/workspace/foundry_device-virtual-go_PR-269/archives 07:28:52 total 16 07:28:52 drwxr-xr-x 3 root root 4096 Mar 17 07:21 . 07:28:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:21 .. 07:28:52 drwxr-xr-x 2 root root 4096 Mar 17 07:21 cost 07:28:52 -rw-r--r-- 1 root root 88 Mar 17 07:21 cost.csv 07:28:52 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-269/archives 07:28:52 + ls -al /w/workspace/foundry_device-virtual-go_PR-269/archives 07:28:52 total 16 07:28:52 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:21 . 07:28:52 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:21 .. 07:28:52 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:21 cost 07:28:52 -rw-r--r-- 1 jenkins jenkins 88 Mar 17 07:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:28:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:28:53 ---> package-listing.sh 07:28:53 ++ facter osfamily 07:28:53 ++ tr '[:upper:]' '[:lower:]' 07:28:53 + OS_FAMILY=debian 07:28:53 + workspace=/w/workspace/foundry_device-virtual-go_PR-269 07:28:53 + START_PACKAGES=/tmp/packages_start.txt 07:28:53 + END_PACKAGES=/tmp/packages_end.txt 07:28:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:28:53 + PACKAGES=/tmp/packages_start.txt 07:28:53 + '[' /w/workspace/foundry_device-virtual-go_PR-269 ']' 07:28:53 + PACKAGES=/tmp/packages_end.txt 07:28:53 + case "${OS_FAMILY}" in 07:28:53 + dpkg -l 07:28:53 + grep '^ii' 07:28:53 + '[' -f /tmp/packages_start.txt ']' 07:28:53 + '[' -f /tmp/packages_end.txt ']' 07:28:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:28:53 + '[' /w/workspace/foundry_device-virtual-go_PR-269 ']' 07:28:53 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-269/archives/ 07:28:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-269/archives/ [Pipeline] echo 07:28:53 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:28:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:28:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:28:54 . [Pipeline] withDockerContainer 07:28:54 prd-ubuntu20.04-docker-8c-8g-7802 does not seem to be running inside a container 07:28:54 $ 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-269/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-269 -v /w/workspace/foundry_device-virtual-go_PR-269:/w/workspace/foundry_device-virtual-go_PR-269:rw,z -v /w/workspace/foundry_device-virtual-go_PR-269@tmp:/w/workspace/foundry_device-virtual-go_PR-269@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:28:54 $ docker top 8e9c99a66a5c43b93084879e9ff06adbba15c41ba4f5328a2ed6cf3718aa2937 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:28:55 + mkdir -p /var/log/sysstat [Pipeline] sh 07:28:55 + ls /var/log/sa-host 07:28:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:56 provisioning config files... 07:28:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-269@tmp/config4649979891001463738tmp [Pipeline] { [Pipeline] echo 07:28:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:28:56 ---> create-netrc.sh [Pipeline] } 07:28:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:28:57 ---> python-tools-install.sh [Pipeline] echo 07:28:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:28:57 ---> sudo-logs.sh 07:28:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:28:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:28:57 ---> job-cost.sh 07:28:57 lf-activate-venv: SKIPPING 07:28:57 DEBUG: total: 0.2199999988079071 07:28:57 INFO: Retrieving Stack Cost... 07:28:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:28:58 INFO: Archiving Costs [Pipeline] echo 07:28:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:28:58 ---> logs-deploy.sh 07:28:58 lf-activate-venv: SKIPPING 07:28:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-269/1 07:28:58 INFO: archiving workspace using pattern(s): 07:28:59 Archives upload complete. 07:28:59 INFO: archiving logs to Nexus