Pull request #271 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c778c8bc2935d1e501ad1b0166fdf375b7b4c990+c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (0ecdea88e64dd7efc9c6e5baa6a1d5046168e262) 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-ssh16910984796485114871.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-ssh1770795850814227293.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-271/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-271/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16381315203717654215.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-271/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10125297807447180139.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-ssh11517090890148621130.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-271/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-271/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16214360833240459400.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9245 in /w/workspace/foundry_device-virtual-go_PR-271 [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-271 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit c778c8bc2935d1e501ad1b0166fdf375b7b4c990 Merge succeeded, producing c778c8bc2935d1e501ad1b0166fdf375b7b4c990 Checking out Revision c778c8bc2935d1e501ad1b0166fdf375b7b4c990 (PR-271) > git config core.sparsecheckout # timeout=10 > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:03:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:03:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:03:24 ========================================================= 11:03:24 EdgeX Global Pipelines Version Info 11:03:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:03:25 ------------------- 11:03:25 stable info: 11:03:25 ------------------- 11:03:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:03:25 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:03:25 Message: update stable to v1.0.221 11:03:25 ------------------- 11:03:25 experimental info: 11:03:25 ------------------- 11:03:25 Commited By: **** collab-it+edgex@linuxfoundation.org 11:03:25 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:03:25 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:03:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c778c8b [Pipeline] echo 11:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:03:27 provisioning config files... 11:03:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6072584555512511607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:27 ---> docker-login.sh 11:03:27 nexus3.edgexfoundry.org:10001 11:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:28 Configure a credential helper to remove this warning. See 11:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:28 11:03:28 Login Succeeded 11:03:28 nexus3.edgexfoundry.org:10002 11:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:28 Configure a credential helper to remove this warning. See 11:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:28 11:03:28 Login Succeeded 11:03:28 nexus3.edgexfoundry.org:10003 11:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:28 Configure a credential helper to remove this warning. See 11:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:28 11:03:28 Login Succeeded 11:03:28 nexus3.edgexfoundry.org:10004 11:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:28 Configure a credential helper to remove this warning. See 11:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:28 11:03:28 Login Succeeded 11:03:28 docker.io 11:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:29 Configure a credential helper to remove this warning. See 11:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:29 11:03:29 Login Succeeded 11:03:29 ---> docker-login.sh ends [Pipeline] } 11:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:03:29 + git rev-list -1 --merges c778c8bc2935d1e501ad1b0166fdf375b7b4c990~1..c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo 11:03:29 -----------> git rev-list -1 --merges c778c8bc2935d1e501ad1b0166fdf375b7b4c990~1..c778c8bc2935d1e501ad1b0166fdf375b7b4c990 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [false] [Pipeline] sh 11:03:30 + git log --format=format:%s -1 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo 11:03:30 ========================================================= 11:03:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:03:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:03:30 + git log --format=format:%s -1 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo 11:03:30 [semverPrep] GIT_COMMIT: c778c8bc2935d1e501ad1b0166fdf375b7b4c990, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:03:30 [semverPrep] This is not a build commit. [Pipeline] sh 11:03:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:03:31 + grep -v github /etc/ssh/ssh_known_hosts 11:03:31 + [ -e /tmp/ssh_known_hosts ] 11:03:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:03:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:03:31 + sudo tee -a /etc/ssh/ssh_known_hosts 11:03:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:31 11:03:31 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:03:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:32 latest: Pulling from edgex-devops/git-semver 11:03:32 a0d0a0d46f8b: Pulling fs layer 11:03:32 3e5f54012d9b: Pulling fs layer 11:03:32 4c7163046ea9: Pulling fs layer 11:03:32 0c2d73faf560: Pulling fs layer 11:03:32 0c2d73faf560: Waiting 11:03:32 3e5f54012d9b: Verifying Checksum 11:03:32 3e5f54012d9b: Download complete 11:03:32 a0d0a0d46f8b: Verifying Checksum 11:03:32 a0d0a0d46f8b: Download complete 11:03:32 4c7163046ea9: Verifying Checksum 11:03:32 4c7163046ea9: Download complete 11:03:32 0c2d73faf560: Verifying Checksum 11:03:32 0c2d73faf560: Download complete 11:03:32 a0d0a0d46f8b: Pull complete 11:03:32 3e5f54012d9b: Pull complete 11:03:32 4c7163046ea9: Pull complete 11:03:32 0c2d73faf560: Pull complete 11:03:32 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:03:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:03:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:03:32 prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container 11:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:03:33 $ docker top be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:03:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:33 [ssh-agent] Looking for ssh-agent implementation... 11:03:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:34 $ docker exec be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent 11:03:34 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpKJlHh/agent.15 11:03:34 SSH_AGENT_PID=21 11:03:34 Running ssh-add (command line suppressed) 11:03:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_9158566708862605789.key (/w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_9158566708862605789.key) 11:03:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:34 + git tag --points-at HEAD [Pipeline] } 11:03:34 $ docker exec --env ******** --env ******** be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent -k 11:03:34 unset SSH_AUTH_SOCK; 11:03:34 unset SSH_AGENT_PID; 11:03:34 echo Agent pid 21 killed; 11:03:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:03:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:03:35 [ssh-agent] Looking for ssh-agent implementation... 11:03:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:03:35 $ docker exec be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent 11:03:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnCKgDD/agent.55 11:03:35 SSH_AGENT_PID=62 11:03:35 Running ssh-add (command line suppressed) 11:03:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_7355300881428274691.key (/w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_7355300881428274691.key) 11:03:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:03:35 + git semver init 11:03:35 # -> Open(): unable to determine branch for HEAD 11:03:35 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-271/.git 11:03:35 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-271 11:03:35 # $SEMVER_REMOTE_NAME = origin 11:03:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:03:35 # $SEMVER_USER_NAME = edgex-jenkins 11:03:35 # $SEMVER_BRANCH = PR-271 11:03:35 # $SEMVER_TEMP = /tmp/semver-255970280 11:03:35 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:03:37 # '/tmp/semver-255970280' -> '/w/workspace/foundry_device-virtual-go_PR-271/.semver' 11:03:37 # -> Force: false 11:03:37 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-271/.semver [Pipeline] } 11:03:37 $ docker exec --env ******** --env ******** be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent -k 11:03:37 unset SSH_AUTH_SOCK; 11:03:37 unset SSH_AGENT_PID; 11:03:37 echo Agent pid 62 killed; 11:03:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:03:37 + git semver [Pipeline] } 11:03:37 $ docker stop --time=1 be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f 11:03:39 $ docker rm -f be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f [Pipeline] // withDockerContainer [Pipeline] sh 11:03:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:03:39 Stashed 1 file(s) [Pipeline] echo 11:03:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:03:40 provisioning config files... 11:03:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config5175849507724135461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:40 ---> docker-login.sh 11:03:40 nexus3.edgexfoundry.org:10001 11:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:40 Configure a credential helper to remove this warning. See 11:03:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:40 11:03:40 Login Succeeded 11:03:40 nexus3.edgexfoundry.org:10002 11:03:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:41 Configure a credential helper to remove this warning. See 11:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:41 11:03:41 Login Succeeded 11:03:41 nexus3.edgexfoundry.org:10003 11:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:41 Configure a credential helper to remove this warning. See 11:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:41 11:03:41 Login Succeeded 11:03:41 nexus3.edgexfoundry.org:10004 11:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:41 Configure a credential helper to remove this warning. See 11:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:41 11:03:41 Login Succeeded 11:03:41 docker.io 11:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:41 Configure a credential helper to remove this warning. See 11:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:41 11:03:41 Login Succeeded 11:03:41 ---> docker-login.sh ends [Pipeline] } 11:03:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:41 ========================================================= 11:03:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:03:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:03:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:03:42 Sending build context to Docker daemon 22.88MB 11:03:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:03:42 Step 2/12 : FROM ${BASE} AS builder 11:03:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:03:42 59bf1c3509f3: Pulling fs layer 11:03:42 666ba61612fd: Pulling fs layer 11:03:42 8ed8ca486205: Pulling fs layer 11:03:42 4fe6c5a15a65: Pulling fs layer 11:03:42 22a0e8bec74d: Pulling fs layer 11:03:42 640e595b4fbd: Pulling fs layer 11:03:42 4fe6c5a15a65: Waiting 11:03:42 763cafe07f6e: Pulling fs layer 11:03:42 0c0b528cf693: Pulling fs layer 11:03:42 10935f4eaf8b: Pulling fs layer 11:03:42 0c0b528cf693: Waiting 11:03:42 10935f4eaf8b: Waiting 11:03:42 8ed8ca486205: Verifying Checksum 11:03:42 8ed8ca486205: Download complete 11:03:42 666ba61612fd: Download complete 11:03:42 22a0e8bec74d: Verifying Checksum 11:03:42 22a0e8bec74d: Download complete 11:03:42 59bf1c3509f3: Download complete 11:03:42 640e595b4fbd: Download complete 11:03:42 763cafe07f6e: Verifying Checksum 11:03:42 763cafe07f6e: Download complete 11:03:42 0c0b528cf693: Verifying Checksum 11:03:42 0c0b528cf693: Download complete 11:03:42 59bf1c3509f3: Pull complete 11:03:42 666ba61612fd: Pull complete 11:03:43 8ed8ca486205: Pull complete 11:03:43 10935f4eaf8b: Verifying Checksum 11:03:43 10935f4eaf8b: Download complete 11:03:43 4fe6c5a15a65: Verifying Checksum 11:03:43 4fe6c5a15a65: Download complete 11:03:47 4fe6c5a15a65: Pull complete 11:03:47 22a0e8bec74d: Pull complete 11:03:47 640e595b4fbd: Pull complete 11:03:47 763cafe07f6e: Pull complete 11:03:47 0c0b528cf693: Pull complete 11:03:50 10935f4eaf8b: Pull complete 11:03:50 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:03:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:03:50 ---> 99d49a6021b9 11:03:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:03:51 ---> Running in 3a8aff9da8fa 11:03:52 Removing intermediate container 3a8aff9da8fa 11:03:52 ---> 32dd8aa9e25c 11:03:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:03:52 ---> Running in f001c73d251d 11:03:52 Removing intermediate container f001c73d251d 11:03:52 ---> 3a1d0fe6542b 11:03:52 Step 5/12 : WORKDIR /device-virtual-go 11:03:52 ---> Running in d2423dbfde70 11:03:52 Removing intermediate container d2423dbfde70 11:03:52 ---> 713042a1540a 11:03:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:03:52 ---> Running in 2786b0824ae9 11:03:52 Removing intermediate container 2786b0824ae9 11:03:52 ---> ce41477f9cda 11:03:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:03:52 ---> Running in e304843e9ef5 11:03:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:03:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:03:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:03:54 (2/4) Installing libedit (20210910.3.1-r0) 11:03:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:03:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:03:54 Executing busybox-1.34.1-r3.trigger 11:03:54 OK: 224 MiB in 56 packages 11:03:55 Still waiting to schedule task 11:03:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:03:55 Removing intermediate container e304843e9ef5 11:03:55 ---> ab740337a006 11:03:55 Step 8/12 : COPY go.mod vendor* ./ 11:03:55 ---> bef5b70cf368 11:03:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:03:55 ---> Running in a5e9483491e3 11:04:22 Removing intermediate container a5e9483491e3 11:04:22 ---> 47dafa5f3f77 11:04:22 Step 10/12 : COPY . . 11:04:22 ---> 78e271b8a127 11:04:22 Step 11/12 : ARG MAKE='make build' 11:04:22 ---> Running in 0d9f3cdb4fa9 11:04:22 Removing intermediate container 0d9f3cdb4fa9 11:04:22 ---> 0ba63810c993 11:04:22 Step 12/12 : RUN $MAKE 11:04:22 ---> Running in bf4ea163591c 11:04:22 noop 11:04:22 Removing intermediate container bf4ea163591c 11:04:22 ---> b84ea127209a 11:04:22 Successfully built b84ea127209a 11:04:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:04:23 + docker inspect -f . ci-base-image-x86_64 11:04:23 . [Pipeline] withDockerContainer 11:04:23 prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container 11:04:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** ci-base-image-x86_64 cat 11:04:23 $ docker top ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:24 + go version 11:04:24 go version go1.17.6 linux/amd64 [Pipeline] } 11:04:24 $ docker stop --time=1 ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 11:04:25 $ docker rm -f ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:04:26 + docker inspect -f . ci-base-image-x86_64 11:04:26 . [Pipeline] withDockerContainer 11:04:26 prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container 11:04:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** ci-base-image-x86_64 cat 11:04:26 $ docker top ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:04:27 + make test 11:04:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:04:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:04:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:04:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 11:04:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:04:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:04:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:04:38 ./bin/test-attribution-txt.sh [Pipeline] echo 11:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:04:38 $ docker stop --time=1 ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 11:04:40 $ docker rm -f ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 [Pipeline] // withDockerContainer [Pipeline] sh 11:04:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:04:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:04:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:04:42 + ls -al . 11:04:42 total 196 11:04:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:04 . 11:04:42 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 11:03 .. 11:04:42 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:03 .git 11:04:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:03 .github 11:04:42 -rw-rw-r-- 1 jenkins jenkins 270 Mar 28 11:03 .gitignore 11:04:42 drwx------ 3 jenkins jenkins 4096 Mar 28 11:03 .semver 11:04:42 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 28 11:03 Attribution.txt 11:04:42 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 28 11:03 CHANGELOG.md 11:04:42 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 28 11:03 Dockerfile 11:04:42 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 11:03 GOVERNANCE.md 11:04:42 -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 11:03 Jenkinsfile 11:04:42 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 11:03 LICENSE 11:04:42 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 28 11:03 Makefile 11:04:42 -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 11:03 OWNERS.md 11:04:42 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 28 11:03 README.md 11:04:42 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 11:03 VERSION 11:04:42 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:03 bin 11:04:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:03 cmd 11:04:42 -rw-r--r-- 1 jenkins jenkins 44128 Mar 28 11:04 coverage.out 11:04:42 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 28 11:03 go.mod 11:04:42 -rw-rw-r-- 1 jenkins jenkins 50293 Mar 28 11:03 go.sum 11:04:42 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:03 internal 11:04:42 -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 11:03 version.go [Pipeline] isUnix [Pipeline] sh 11:04:42 + 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=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 --label arch=amd64 --label version=0.0.0 . 11:04:42 Sending build context to Docker daemon 22.92MB 11:04:42 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:04:42 Step 2/26 : FROM ${BASE} AS builder 11:04:42 ---> b84ea127209a 11:04:42 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:04:43 ---> Running in f4cdfc4a46b4 11:04:43 Removing intermediate container f4cdfc4a46b4 11:04:43 ---> 057f024ce4be 11:04:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:04:43 ---> Running in db7050fd1b39 11:04:43 Removing intermediate container db7050fd1b39 11:04:43 ---> b935449e4c4c 11:04:43 Step 5/26 : WORKDIR /device-virtual-go 11:04:43 ---> Running in 29d706f16fa1 11:04:43 Removing intermediate container 29d706f16fa1 11:04:43 ---> b153c1f8561a 11:04:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:44 ---> Running in 779cfda6d32b 11:04:44 Removing intermediate container 779cfda6d32b 11:04:44 ---> cd1d42d4ac86 11:04:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:04:44 ---> Running in 43bd816b7f03 11:04:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:04:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:04:46 OK: 224 MiB in 56 packages 11:04:46 Removing intermediate container 43bd816b7f03 11:04:46 ---> 1f47ae177eb3 11:04:46 Step 8/26 : COPY go.mod vendor* ./ 11:04:46 ---> 88d1fedba940 11:04:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:04:46 ---> Running in 7592183db438 11:04:47 Removing intermediate container 7592183db438 11:04:47 ---> 3d03f8fb6cd2 11:04:47 Step 10/26 : COPY . . 11:04:48 ---> eb0c05c1a2c4 11:04:48 Step 11/26 : ARG MAKE='make build' 11:04:48 ---> Running in 72101f0be78c 11:04:48 Removing intermediate container 72101f0be78c 11:04:48 ---> 27ecd7b0ced7 11:04:48 Step 12/26 : RUN $MAKE 11:04:48 ---> Running in cd9b06d2a11c 11:04:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 11:04:56 Removing intermediate container cd9b06d2a11c 11:04:56 ---> f82e199b32ee 11:04:56 Step 13/26 : FROM alpine:3.14 11:04:56 3.14: Pulling from library/alpine 11:04:56 36ccefbf3d8a: Pulling fs layer 11:04:57 36ccefbf3d8a: Verifying Checksum 11:04:57 36ccefbf3d8a: Download complete 11:04:57 36ccefbf3d8a: Pull complete 11:04:57 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 11:04:57 Status: Downloaded newer image for alpine:3.14 11:04:57 ---> a33ac4f1069a 11:04:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:04:57 ---> Running in 10acde786ec8 11:04:57 Removing intermediate container 10acde786ec8 11:04:57 ---> dbcbc10fdec1 11:04:57 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:04:57 ---> Running in 4a86afeb96bc 11:04:58 Removing intermediate container 4a86afeb96bc 11:04:58 ---> 9a84282be2be 11:04:58 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:04:58 ---> Running in 6d3ea1785e42 11:04:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:04:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:04:59 (1/6) Installing dumb-init (1.2.5-r1) 11:04:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:04:59 (3/6) Installing libsodium (1.0.18-r0) 11:04:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:05:00 (5/6) Installing libzmq (4.3.4-r0) 11:05:00 (6/6) Installing zeromq (4.3.4-r0) 11:05:00 Executing busybox-1.33.1-r6.trigger 11:05:00 OK: 8 MiB in 20 packages 11:05:00 Removing intermediate container 6d3ea1785e42 11:05:00 ---> f37742d8b093 11:05:00 Step 17/26 : WORKDIR / 11:05:00 ---> Running in 054ef9dca3e5 11:05:00 Removing intermediate container 054ef9dca3e5 11:05:00 ---> 26b561035627 11:05:00 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:05:00 ---> dbcfe9a3f950 11:05:00 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:05:01 ---> 481acf1d554f 11:05:01 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:05:01 ---> e263e41e2e94 11:05:01 Step 21/26 : EXPOSE 59900 11:05:01 ---> Running in c0d549bbced5 11:05:01 Removing intermediate container c0d549bbced5 11:05:01 ---> b6f85e7623c3 11:05:01 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:05:01 ---> Running in 5269d3fd187a 11:05:01 Removing intermediate container 5269d3fd187a 11:05:01 ---> b1477b7c929c 11:05:01 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:05:01 ---> Running in db6cc22d0c66 11:05:01 Removing intermediate container db6cc22d0c66 11:05:01 ---> e18575d6c4b6 11:05:01 Step 24/26 : LABEL arch=amd64 11:05:01 ---> Running in c647138ae74c 11:05:01 Removing intermediate container c647138ae74c 11:05:01 ---> e6f47bd2ddd8 11:05:01 Step 25/26 : LABEL git_sha=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 11:05:01 ---> Running in 7b2c6d4a5c2c 11:05:02 Removing intermediate container 7b2c6d4a5c2c 11:05:02 ---> 5a216bae5f0e 11:05:02 Step 26/26 : LABEL version=0.0.0 11:05:02 ---> Running in d75bd2ef03be 11:05:02 Removing intermediate container d75bd2ef03be 11:05:02 ---> df0f80694568 11:05:02 [Warning] One or more build-args [ARCH] were not consumed 11:05:02 Successfully built df0f80694568 11:05:02 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:02 11:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:03 latest: Pulling from edgex-lftools-log-publisher 11:05:03 5eb5b503b376: Pulling fs layer 11:05:03 5c69ac0246d0: Pulling fs layer 11:05:03 ec43610c2a17: Pulling fs layer 11:05:03 3a2ae6a8a46f: Pulling fs layer 11:05:03 33b1e0a273af: Pulling fs layer 11:05:03 5d3b04190fa2: Pulling fs layer 11:05:03 2f39f015ded8: Pulling fs layer 11:05:03 33b1e0a273af: Waiting 11:05:03 2f39f015ded8: Waiting 11:05:03 3a2ae6a8a46f: Waiting 11:05:03 5d3b04190fa2: Waiting 11:05:03 5c69ac0246d0: Verifying Checksum 11:05:03 5c69ac0246d0: Download complete 11:05:03 3a2ae6a8a46f: Verifying Checksum 11:05:03 3a2ae6a8a46f: Download complete 11:05:03 33b1e0a273af: Verifying Checksum 11:05:03 33b1e0a273af: Download complete 11:05:03 ec43610c2a17: Verifying Checksum 11:05:03 ec43610c2a17: Download complete 11:05:03 5d3b04190fa2: Download complete 11:05:03 5eb5b503b376: Verifying Checksum 11:05:03 5eb5b503b376: Download complete 11:05:04 2f39f015ded8: Download complete 11:05:04 5eb5b503b376: Pull complete 11:05:04 5c69ac0246d0: Pull complete 11:05:05 ec43610c2a17: Pull complete 11:05:05 3a2ae6a8a46f: Pull complete 11:05:05 33b1e0a273af: Pull complete 11:05:05 5d3b04190fa2: Pull complete 11:05:09 2f39f015ded8: Pull complete 11:05:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:05:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:05:10 prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container 11:05:10 $ 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-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:05:12 $ docker top 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:12 ---> job-cost.sh 11:05:12 lf-activate-venv: SKIPPING 11:05:12 INFO: No Stack... 11:05:12 INFO: Retrieving Pricing Info for: v3-standard-8 11:05:13 INFO: Archiving Costs [Pipeline] sh 11:05:13 + + cat /w/workspace/foundry_device-virtual-go_PR-271/archives/cost.csv 11:05:13 cut -d, -f6 [Pipeline] lock 11:05:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] 11:05:13 Resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] did not exist. Created. 11:05:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:05:14 + echo total: 0.2199999988079071 [Pipeline] stash 11:05:14 Stashed 1 file(s) [Pipeline] } 11:05:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:05:14 $ docker stop --time=1 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 11:05:15 $ docker rm -f 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:05:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9247 in /w/workspace/foundry_device-virtual-go_PR-271 [Pipeline] { [Pipeline] ws 11:05:27 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:05:28 The recommended git tool is: git 11:05:35 using credential edgex-jenkins-ssh 11:05:35 Cloning the remote Git repository 11:05:35 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:05:35 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:05:35 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:05:35 > git --version # timeout=10 11:05:35 > git --version # 'git version 2.25.1' 11:05:35 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:05:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:05:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:05:38 Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit c778c8bc2935d1e501ad1b0166fdf375b7b4c990 11:05:39 Merge succeeded, producing c778c8bc2935d1e501ad1b0166fdf375b7b4c990 11:05:39 Checking out Revision c778c8bc2935d1e501ad1b0166fdf375b7b4c990 (PR-271) 11:05:38 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:05:38 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:05:38 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:05:38 > git config core.sparsecheckout # timeout=10 11:05:39 > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 11:05:39 > git remote # timeout=10 11:05:39 > git config --get remote.origin.url # timeout=10 11:05:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:05:39 > git merge c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 11:05:39 > git rev-parse HEAD^{commit} # timeout=10 11:05:39 > git config core.sparsecheckout # timeout=10 11:05:39 > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 11:05:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:05:43 > git --version # timeout=10 11:05:43 > git --version # 'git version 2.25.1' 11:05:43 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:05:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:05:45 % Total % Received % Xferd Average Speed Time Time Time Current 11:05:45 Dload Upload Total Spent Left Speed 11:05:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45725 0 --:--:-- --:--:-- --:--:-- 45725 [Pipeline] sh 11:05:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:05:45 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:05:45 tee /etc/docker/daemon.new 11:05:45 { 11:05:45 "registry-mirrors": [ 11:05:45 "https://nexus3.edgexfoundry.org:10001" 11:05:45 ], 11:05:45 "bip": "10.250.0.254/24", 11:05:45 "hosts": [ 11:05:45 "tcp://0.0.0.0:5555", 11:05:45 "unix:///var/run/docker.sock" 11:05:45 ], 11:05:45 "mtu": 1458, 11:05:45 "selinux-enabled": true, 11:05:45 "seccomp-profile": "/etc/docker/seccomp.json" 11:05:45 } [Pipeline] sh 11:05:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:05:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:05 provisioning config files... 11:06:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7536075423726082648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:05 ---> docker-login.sh 11:06:05 nexus3.edgexfoundry.org:10001 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:06 Configure a credential helper to remove this warning. See 11:06:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:06 11:06:06 Login Succeeded 11:06:06 nexus3.edgexfoundry.org:10002 11:06:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:07 Configure a credential helper to remove this warning. See 11:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:07 11:06:07 Login Succeeded 11:06:07 nexus3.edgexfoundry.org:10003 11:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:07 Configure a credential helper to remove this warning. See 11:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:07 11:06:07 Login Succeeded 11:06:07 nexus3.edgexfoundry.org:10004 11:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:07 Configure a credential helper to remove this warning. See 11:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:07 11:06:07 Login Succeeded 11:06:07 docker.io 11:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:08 Configure a credential helper to remove this warning. See 11:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:08 11:06:08 Login Succeeded 11:06:08 ---> docker-login.sh ends [Pipeline] } 11:06:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:09 ========================================================= 11:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:06:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:09 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 11:06:10 Sending build context to Docker daemon 11.58MB 11:06:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:06:10 Step 2/12 : FROM ${BASE} AS builder 11:06:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:06:10 9b3977197b4f: Pulling fs layer 11:06:10 1a89e8eeedd5: Pulling fs layer 11:06:10 94645a83ff95: Pulling fs layer 11:06:10 3f3a8bcf1eab: Pulling fs layer 11:06:10 0c92f367c5e7: Pulling fs layer 11:06:10 f7c0051592d6: Pulling fs layer 11:06:10 a227ed2f7395: Pulling fs layer 11:06:10 3f3a8bcf1eab: Waiting 11:06:10 f7c0051592d6: Waiting 11:06:10 7b1c46037f91: Pulling fs layer 11:06:10 a227ed2f7395: Waiting 11:06:10 0c92f367c5e7: Waiting 11:06:10 7b1c46037f91: Waiting 11:06:10 94645a83ff95: Verifying Checksum 11:06:10 94645a83ff95: Download complete 11:06:10 1a89e8eeedd5: Download complete 11:06:10 0c92f367c5e7: Download complete 11:06:10 f7c0051592d6: Download complete 11:06:10 9b3977197b4f: Verifying Checksum 11:06:10 9b3977197b4f: Download complete 11:06:10 a227ed2f7395: Verifying Checksum 11:06:10 a227ed2f7395: Download complete 11:06:11 9b3977197b4f: Pull complete 11:06:11 1a89e8eeedd5: Pull complete 11:06:12 94645a83ff95: Pull complete 11:06:12 7b1c46037f91: Verifying Checksum 11:06:12 7b1c46037f91: Download complete 11:06:13 3f3a8bcf1eab: Verifying Checksum 11:06:25 3f3a8bcf1eab: Pull complete 11:06:25 0c92f367c5e7: Pull complete 11:06:25 f7c0051592d6: Pull complete 11:06:25 a227ed2f7395: Pull complete 11:06:32 7b1c46037f91: Pull complete 11:06:32 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:06:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:06:32 ---> f79e39bc4007 11:06:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:32 ---> Running in f92b377ff8f0 11:06:32 Removing intermediate container f92b377ff8f0 11:06:32 ---> 694fbe1a5a75 11:06:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:06:32 ---> Running in fc66db9dd07c 11:06:32 Removing intermediate container fc66db9dd07c 11:06:32 ---> 4b4021c429c3 11:06:32 Step 5/12 : WORKDIR /device-virtual-go 11:06:33 ---> Running in 9f036c6f1f93 11:06:33 Removing intermediate container 9f036c6f1f93 11:06:33 ---> d9299b3a798a 11:06:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:33 ---> Running in 52a76d7ee736 11:06:35 Removing intermediate container 52a76d7ee736 11:06:35 ---> 7c666d79ce20 11:06:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:35 ---> Running in 18a612e53753 11:06:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:06:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:06:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:06:37 (2/4) Installing libedit (20210910.3.1-r0) 11:06:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:06:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:06:38 Executing busybox-1.34.1-r3.trigger 11:06:38 OK: 224 MiB in 56 packages 11:06:39 Removing intermediate container 18a612e53753 11:06:39 ---> 42d55d130d9d 11:06:39 Step 8/12 : COPY go.mod vendor* ./ 11:06:40 ---> 5ee52e623a22 11:06:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:40 ---> Running in 5d2b9d30c90a 11:08:01 Removing intermediate container 5d2b9d30c90a 11:08:01 ---> 69901891bba8 11:08:01 Step 10/12 : COPY . . 11:08:01 ---> 4361db258416 11:08:01 Step 11/12 : ARG MAKE='make build' 11:08:01 ---> Running in 81ebad6f7c02 11:08:01 Removing intermediate container 81ebad6f7c02 11:08:01 ---> 26e2f99cd3b2 11:08:01 Step 12/12 : RUN $MAKE 11:08:01 ---> Running in 14c1db774bbb 11:08:01 noop 11:08:01 Removing intermediate container 14c1db774bbb 11:08:01 ---> 070338d55933 11:08:01 Successfully built 070338d55933 11:08:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:08:02 + docker inspect -f . ci-base-image-arm64 11:08:02 . [Pipeline] withDockerContainer 11:08:02 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 11:08:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:03 $ docker top f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:04 + go version 11:08:04 go version go1.17.6 linux/arm64 [Pipeline] } 11:08:04 $ docker stop --time=1 f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f 11:08:06 $ docker rm -f f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:07 + docker inspect -f . ci-base-image-arm64 11:08:07 . [Pipeline] withDockerContainer 11:08:07 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 11:08:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:08:08 $ docker top 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:08:09 + make test 11:08:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:08:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:08:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements 11:08:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:09:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:09:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:09:17 ./bin/test-attribution-txt.sh [Pipeline] echo 11:09:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:09:18 $ docker stop --time=1 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 11:09:19 $ docker rm -f 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 [Pipeline] // withDockerContainer [Pipeline] sh 11:09:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:09:20 Warning: overwriting stash ‘coverage-report’ 11:09:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:22 + ls -al . 11:09:22 total 192 11:09:22 drwxrwxr-x 7 jenkins jenkins 4096 Mar 28 11:09 . 11:09:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 11:05 .. 11:09:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:05 .git 11:09:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:05 .github 11:09:22 -rw-rw-r-- 1 jenkins jenkins 270 Mar 28 11:05 .gitignore 11:09:22 -rw-rw-r-- 1 jenkins jenkins 6610 Mar 28 11:05 Attribution.txt 11:09:22 -rw-rw-r-- 1 jenkins jenkins 6349 Mar 28 11:05 CHANGELOG.md 11:09:22 -rw-rw-r-- 1 jenkins jenkins 1974 Mar 28 11:05 Dockerfile 11:09:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 11:05 GOVERNANCE.md 11:09:22 -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 11:05 Jenkinsfile 11:09:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 11:05 LICENSE 11:09:22 -rw-rw-r-- 1 jenkins jenkins 1157 Mar 28 11:05 Makefile 11:09:22 -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 11:05 OWNERS.md 11:09:22 -rw-rw-r-- 1 jenkins jenkins 2914 Mar 28 11:05 README.md 11:09:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 11:03 VERSION 11:09:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:05 bin 11:09:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:05 cmd 11:09:22 -rw-r--r-- 1 jenkins jenkins 44128 Mar 28 11:08 coverage.out 11:09:22 -rw-rw-r-- 1 jenkins jenkins 2760 Mar 28 11:05 go.mod 11:09:22 -rw-rw-r-- 1 jenkins jenkins 50293 Mar 28 11:05 go.sum 11:09:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:05 internal 11:09:22 -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 11:05 version.go [Pipeline] isUnix [Pipeline] sh 11:09:22 + 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=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 --label arch=arm64 --label version=0.0.0 . 11:09:23 Sending build context to Docker daemon 11.62MB 11:09:23 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:09:23 Step 2/26 : FROM ${BASE} AS builder 11:09:23 ---> 070338d55933 11:09:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:23 ---> Running in e474f1297c34 11:09:23 Removing intermediate container e474f1297c34 11:09:23 ---> 5513f45fac48 11:09:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:09:23 ---> Running in acdf194641fa 11:09:24 Removing intermediate container acdf194641fa 11:09:24 ---> 57d5164f9184 11:09:24 Step 5/26 : WORKDIR /device-virtual-go 11:09:24 ---> Running in b649fb243116 11:09:24 Removing intermediate container b649fb243116 11:09:24 ---> d11bba126636 11:09:24 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:24 ---> Running in 4bdf59648a4f 11:09:26 Removing intermediate container 4bdf59648a4f 11:09:26 ---> 7f6032184fd9 11:09:26 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:26 ---> Running in afaca151a081 11:09:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:09:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:09:29 OK: 224 MiB in 56 packages 11:09:30 Removing intermediate container afaca151a081 11:09:30 ---> f120b9ba6ea7 11:09:30 Step 8/26 : COPY go.mod vendor* ./ 11:09:30 ---> fad14874878d 11:09:30 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:30 ---> Running in 6e570ad886e9 11:09:32 Removing intermediate container 6e570ad886e9 11:09:32 ---> dde6602b31f7 11:09:32 Step 10/26 : COPY . . 11:09:34 ---> 05e6bc31a26a 11:09:34 Step 11/26 : ARG MAKE='make build' 11:09:34 ---> Running in 146a7e5b4df7 11:09:34 Removing intermediate container 146a7e5b4df7 11:09:34 ---> e3029fe50f89 11:09:34 Step 12/26 : RUN $MAKE 11:09:34 ---> Running in 664aed40bc99 11:09:35 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 11:10:14 Removing intermediate container 664aed40bc99 11:10:14 ---> f6a7d04335d9 11:10:14 Step 13/26 : FROM alpine:3.14 11:10:14 3.14: Pulling from library/alpine 11:10:14 93a1719cf261: Pulling fs layer 11:10:15 93a1719cf261: Download complete 11:10:15 93a1719cf261: Pull complete 11:10:15 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 11:10:15 Status: Downloaded newer image for alpine:3.14 11:10:15 ---> 71a2028e5025 11:10:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:10:15 ---> Running in 83731bc8724b 11:10:16 Removing intermediate container 83731bc8724b 11:10:16 ---> ce3c3aff255d 11:10:16 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:16 ---> Running in 1017db6a80a4 11:10:17 Removing intermediate container 1017db6a80a4 11:10:17 ---> a0c22ceb67e4 11:10:17 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:10:17 ---> Running in 56f5cef95322 11:10:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:10:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:10:20 (1/6) Installing dumb-init (1.2.5-r1) 11:10:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:10:20 (3/6) Installing libsodium (1.0.18-r0) 11:10:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:10:21 (5/6) Installing libzmq (4.3.4-r0) 11:10:21 (6/6) Installing zeromq (4.3.4-r0) 11:10:21 Executing busybox-1.33.1-r6.trigger 11:10:21 OK: 8 MiB in 20 packages 11:10:22 Removing intermediate container 56f5cef95322 11:10:22 ---> d74b5fb18385 11:10:22 Step 17/26 : WORKDIR / 11:10:22 ---> Running in 22cfdb161f62 11:10:22 Removing intermediate container 22cfdb161f62 11:10:22 ---> 507dcc113b74 11:10:22 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:10:23 ---> d3785945755f 11:10:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:10:23 ---> ce416b6db662 11:10:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:10:24 ---> 067af252a327 11:10:24 Step 21/26 : EXPOSE 59900 11:10:24 ---> Running in dc2f4b8801fe 11:10:25 Removing intermediate container dc2f4b8801fe 11:10:25 ---> 020b2019c66a 11:10:25 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:10:25 ---> Running in 59fd2e2fa71e 11:10:25 Removing intermediate container 59fd2e2fa71e 11:10:25 ---> 7d5217fbe09f 11:10:25 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:10:25 ---> Running in 4c6f2f58c9e9 11:10:25 Removing intermediate container 4c6f2f58c9e9 11:10:25 ---> 3bc5443ffe96 11:10:25 Step 24/26 : LABEL arch=arm64 11:10:25 ---> Running in 6ae2932a09e0 11:10:26 Removing intermediate container 6ae2932a09e0 11:10:26 ---> 8adc00984416 11:10:26 Step 25/26 : LABEL git_sha=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 11:10:26 ---> Running in 39d914a5cf92 11:10:26 Removing intermediate container 39d914a5cf92 11:10:26 ---> 4f15c95f0edd 11:10:26 Step 26/26 : LABEL version=0.0.0 11:10:26 ---> Running in 827214f4f53d 11:10:26 Removing intermediate container 827214f4f53d 11:10:26 ---> 289bb70e7656 11:10:26 [Warning] One or more build-args [ARCH] were not consumed 11:10:26 Successfully built 289bb70e7656 11:10:26 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:27 11:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:28 arm64: Pulling from edgex-lftools-log-publisher 11:10:28 8998bd30e6a1: Pulling fs layer 11:10:28 04944245beec: Pulling fs layer 11:10:28 699f458cf7ca: Pulling fs layer 11:10:28 765212b225bb: Pulling fs layer 11:10:28 f23df028b6ca: Pulling fs layer 11:10:28 d65c8cfc05b1: Pulling fs layer 11:10:28 2437ff75d9bd: Pulling fs layer 11:10:28 765212b225bb: Waiting 11:10:28 d65c8cfc05b1: Waiting 11:10:28 f23df028b6ca: Waiting 11:10:28 2437ff75d9bd: Waiting 11:10:28 04944245beec: Verifying Checksum 11:10:28 04944245beec: Download complete 11:10:28 765212b225bb: Verifying Checksum 11:10:28 765212b225bb: Download complete 11:10:28 f23df028b6ca: Verifying Checksum 11:10:28 f23df028b6ca: Download complete 11:10:28 d65c8cfc05b1: Verifying Checksum 11:10:28 d65c8cfc05b1: Download complete 11:10:28 699f458cf7ca: Verifying Checksum 11:10:28 8998bd30e6a1: Verifying Checksum 11:10:28 8998bd30e6a1: Download complete 11:10:31 2437ff75d9bd: Verifying Checksum 11:10:31 2437ff75d9bd: Download complete 11:10:33 8998bd30e6a1: Pull complete 11:10:33 04944245beec: Pull complete 11:10:35 699f458cf7ca: Pull complete 11:10:35 765212b225bb: Pull complete 11:10:36 f23df028b6ca: Pull complete 11:10:36 d65c8cfc05b1: Pull complete 11:10:51 2437ff75d9bd: Pull complete 11:10:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:10:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 11:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:10:54 $ docker top 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:55 ---> job-cost.sh 11:10:55 lf-activate-venv: SKIPPING 11:10:55 INFO: No Stack... 11:10:55 INFO: Retrieving Pricing Info for: v3-standard-4 11:10:56 INFO: Archiving Costs [Pipeline] sh 11:10:57 + cut -d, -f6 11:10:57 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 11:10:57 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] 11:10:57 Resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] did not exist. Created. 11:10:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:10:58 /w/workspace/device-virtual-go/1@tmp/durable-5a706e0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:10:58 + echo total: 0.10999999940395355 [Pipeline] stash 11:10:58 Warning: overwriting stash ‘stack-cost’ 11:10:58 Stashed 1 file(s) [Pipeline] } 11:10:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:10:58 $ docker stop --time=1 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b 11:11:00 $ docker rm -f 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:11:01 provisioning config files... 11:11:01 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6087223983098690622tmp [Pipeline] { [Pipeline] sh 11:11:01 + set +x 11:11:01 + curl -s https://codecov.io/bash+ 11:11:01 bash -s -- 11:11:01 11:11:01 _____ _ 11:11:01 / ____| | | 11:11:01 | | ___ __| | ___ ___ _____ __ 11:11:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:11:01 | |___| (_) | (_| | __/ (_| (_) \ V / 11:11:01 \_____\___/ \__,_|\___|\___\___/ \_/ 11:11:01 Bash-1.0.6 11:11:01 11:11:01 11:11:01 ==> git version 2.25.1 found 11:11:01 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:11:01 Release-Date: 2020-01-08 11:11:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:11:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:11:01 ==> Jenkins CI detected. 11:11:01 current dir:  /w/workspace/foundry_device-virtual-go_PR-271 11:11:01 project root: . 11:11:01 --> token set from env 11:11:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:11:01 ==> Running gcov in . (disable via -X gcov) 11:11:01 ==> Python coveragepy not found 11:11:01 ==> Searching for coverage reports in: 11:11:01 + . 11:11:01 -> Found 1 reports 11:11:01 ==> Detecting git/mercurial file structure 11:11:01 ==> Reading reports 11:11:02 + ./coverage.out bytes=44128 11:11:02 ==> Appending adjustments 11:11:02 https://docs.codecov.io/docs/fixing-reports 11:11:02 + Found adjustments 11:11:02 ==> Gzipping contents 11:11:02 8.0K /tmp/codecov.LkCBKi.gz 11:11:02 ==> Uploading reports 11:11:02 url: https://codecov.io 11:11:02 query: branch=PR-271&commit=c778c8bc2935d1e501ad1b0166fdf375b7b4c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=271&job=&cmd_args= 11:11:02 -> Pinging Codecov 11:11:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-271&commit=c778c8bc2935d1e501ad1b0166fdf375b7b4c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=271&job=&cmd_args= 11:11:05 -> Uploading to 11:11:05 https://storage.googleapis.com/codecov/v4/raw/2022-03-28/5E52B4B073DB2E39498172D8E973AA87/c778c8bc2935d1e501ad1b0166fdf375b7b4c990/36fb15c4-8f1f-43c1-bb9c-d4d05ab3b819.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T111105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e7fd8aeb25c3a6ceefb7abaaa0ef9c4aff2329c8ab59ec37305f3ffdc67b90f 11:11:05 % Total % Received % Xferd Average Speed Time Time Time Current 11:11:05 Dload Upload Total Spent Left Speed 11:11:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5321 0 0 100 5321 0 18868 --:--:-- --:--:-- --:--:-- 18868 11:11:05 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection failurehttps://codecov.io/github/edgexfoundry/device-virtual-go/commit/c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] } 11:11:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:11:07 + [ -d /w/workspace/foundry_device-virtual-go_PR-271/archives ] 11:11:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-271/archives 11:11:07 total 16 11:11:07 drwxr-xr-x 3 root root 4096 Mar 28 11:05 . 11:11:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 11:05 .. 11:11:07 drwxr-xr-x 2 root root 4096 Mar 28 11:05 cost 11:11:07 -rw-r--r-- 1 root root 88 Mar 28 11:05 cost.csv 11:11:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-271/archives 11:11:07 + ls -al /w/workspace/foundry_device-virtual-go_PR-271/archives 11:11:07 total 16 11:11:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 11:05 . 11:11:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 11:05 .. 11:11:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 11:05 cost 11:11:07 -rw-r--r-- 1 jenkins jenkins 88 Mar 28 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:11:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:11:08 ---> package-listing.sh 11:11:08 ++ facter osfamily 11:11:08 ++ tr '[:upper:]' '[:lower:]' 11:11:09 + OS_FAMILY=debian 11:11:09 + workspace=/w/workspace/foundry_device-virtual-go_PR-271 11:11:09 + START_PACKAGES=/tmp/packages_start.txt 11:11:09 + END_PACKAGES=/tmp/packages_end.txt 11:11:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:11:09 + PACKAGES=/tmp/packages_start.txt 11:11:09 + '[' /w/workspace/foundry_device-virtual-go_PR-271 ']' 11:11:09 + PACKAGES=/tmp/packages_end.txt 11:11:09 + case "${OS_FAMILY}" in 11:11:09 + dpkg -l 11:11:09 + grep '^ii' 11:11:09 + '[' -f /tmp/packages_start.txt ']' 11:11:09 + '[' -f /tmp/packages_end.txt ']' 11:11:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:11:09 + '[' /w/workspace/foundry_device-virtual-go_PR-271 ']' 11:11:09 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-271/archives/ 11:11:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-271/archives/ [Pipeline] echo 11:11:09 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:11:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:11:10 . [Pipeline] withDockerContainer 11:11:10 prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container 11:11:10 $ 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-271/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-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:11:10 $ docker top 6b418904063e24e8dd2d67a743f170025a0065c31c38f48380306f850099526e -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:10 + touch /tmp/pre-build-complete [Pipeline] sh 11:11:11 + mkdir -p /var/log/sysstat [Pipeline] sh 11:11:11 + ls /var/log/sa-host 11:11:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:11 provisioning config files... 11:11:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6006835986390760068tmp [Pipeline] { [Pipeline] echo 11:11:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:11:12 ---> create-netrc.sh [Pipeline] } 11:11:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:11:12 ---> python-tools-install.sh [Pipeline] echo 11:11:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:11:13 ---> sudo-logs.sh 11:11:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:11:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:11:13 ---> job-cost.sh 11:11:13 lf-activate-venv: SKIPPING 11:11:13 DEBUG: total: 0.2199999988079071 11:11:13 INFO: Retrieving Stack Cost... 11:11:14 INFO: Retrieving Pricing Info for: v3-standard-8 11:11:14 INFO: Archiving Costs [Pipeline] echo 11:11:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:11:14 ---> logs-deploy.sh 11:11:14 lf-activate-venv: SKIPPING 11:11:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-271/1 11:11:14 INFO: archiving workspace using pattern(s): 11:11:15 Archives upload complete. 11:11:15 INFO: archiving logs to Nexus