Pull request #276 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af87952f6b86e0bb62623b0f86dc5d0e7512b395+92eeb058ea4423f52907451924a865deb70e0eda (ce3c5e77946feed8942d5842dfaa85cb322c7bb1) 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-ssh15264211001958250767.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-ssh13617113785288330710.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-276/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-276/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2819742028523708605.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-276/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2858577373276894483.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-ssh4897108534116501629.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-276/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-276/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14543812101425684997.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19488 in /w/workspace/foundry_device-virtual-go_PR-276 [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-276 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 92eeb058ea4423f52907451924a865deb70e0eda into PR head commit af87952f6b86e0bb62623b0f86dc5d0e7512b395 Merge succeeded, producing af87952f6b86e0bb62623b0f86dc5d0e7512b395 Checking out Revision af87952f6b86e0bb62623b0f86dc5d0e7512b395 (PR-276) > 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/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af87952f6b86e0bb62623b0f86dc5d0e7512b395 # 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 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af87952f6b86e0bb62623b0f86dc5d0e7512b395 # 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:06:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:11 ========================================================= 11:06:11 EdgeX Global Pipelines Version Info 11:06:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:12 ------------------- 11:06:12 stable info: 11:06:12 ------------------- 11:06:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:12 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:06:12 Message: update stable to v1.0.221 11:06:13 ------------------- 11:06:13 experimental info: 11:06:13 ------------------- 11:06:13 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:13 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:06:13 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af87952f6b86e0bb62623b0f86dc5d0e7512b395 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af87952 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:14 provisioning config files... 11:06:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-276@tmp/config7825854141183088626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:15 ---> docker-login.sh 11:06:15 nexus3.edgexfoundry.org:10001 11:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:15 Configure a credential helper to remove this warning. See 11:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:15 11:06:15 Login Succeeded 11:06:15 nexus3.edgexfoundry.org:10002 11:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:15 Configure a credential helper to remove this warning. See 11:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:15 11:06:15 Login Succeeded 11:06:15 nexus3.edgexfoundry.org:10003 11:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:16 Configure a credential helper to remove this warning. See 11:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:16 11:06:16 Login Succeeded 11:06:16 nexus3.edgexfoundry.org:10004 11:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:16 Configure a credential helper to remove this warning. See 11:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:16 11:06:16 Login Succeeded 11:06:16 docker.io 11:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:16 Configure a credential helper to remove this warning. See 11:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:16 11:06:16 Login Succeeded 11:06:16 ---> docker-login.sh ends [Pipeline] } 11:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:17 + git rev-list -1 --merges af87952f6b86e0bb62623b0f86dc5d0e7512b395~1..af87952f6b86e0bb62623b0f86dc5d0e7512b395 [Pipeline] echo 11:06:17 -----------> git rev-list -1 --merges af87952f6b86e0bb62623b0f86dc5d0e7512b395~1..af87952f6b86e0bb62623b0f86dc5d0e7512b395 af87952f6b86e0bb62623b0f86dc5d0e7512b395 [false] [Pipeline] sh 11:06:17 + git log --format=format:%s -1 af87952f6b86e0bb62623b0f86dc5d0e7512b395 [Pipeline] echo 11:06:17 ========================================================= 11:06:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:18 + git log --format=format:%s -1 af87952f6b86e0bb62623b0f86dc5d0e7512b395 [Pipeline] echo 11:06:18 [semverPrep] GIT_COMMIT: af87952f6b86e0bb62623b0f86dc5d0e7512b395, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:06:18 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:18 + grep -v github /etc/ssh/ssh_known_hosts 11:06:18 + [ -e /tmp/ssh_known_hosts ] 11:06:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:18 + sudo tee -a /etc/ssh/ssh_known_hosts 11:06:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:19 11:06:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:06:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:19 latest: Pulling from edgex-devops/git-semver 11:06:19 a0d0a0d46f8b: Pulling fs layer 11:06:19 3e5f54012d9b: Pulling fs layer 11:06:19 4c7163046ea9: Pulling fs layer 11:06:19 0c2d73faf560: Pulling fs layer 11:06:19 0c2d73faf560: Waiting 11:06:19 3e5f54012d9b: Download complete 11:06:19 a0d0a0d46f8b: Download complete 11:06:19 0c2d73faf560: Verifying Checksum 11:06:19 0c2d73faf560: Download complete 11:06:19 4c7163046ea9: Verifying Checksum 11:06:19 4c7163046ea9: Download complete 11:06:19 a0d0a0d46f8b: Pull complete 11:06:19 3e5f54012d9b: Pull complete 11:06:20 4c7163046ea9: Pull complete 11:06:20 0c2d73faf560: Pull complete 11:06:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:06:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:06:20 prd-ubuntu20.04-docker-8c-8g-19488 does not seem to be running inside a container 11:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-276 -v /w/workspace/foundry_device-virtual-go_PR-276:/w/workspace/foundry_device-virtual-go_PR-276:rw,z -v /w/workspace/foundry_device-virtual-go_PR-276@tmp:/w/workspace/foundry_device-virtual-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:06:21 $ docker top 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:21 [ssh-agent] Looking for ssh-agent implementation... 11:06:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:21 $ docker exec 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 ssh-agent 11:06:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXodIOcI/agent.13 11:06:21 SSH_AGENT_PID=19 11:06:21 Running ssh-add (command line suppressed) 11:06:21 Identity added: /w/workspace/foundry_device-virtual-go_PR-276@tmp/private_key_5767815704814893891.key (/w/workspace/foundry_device-virtual-go_PR-276@tmp/private_key_5767815704814893891.key) 11:06:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:22 + git tag --points-at HEAD [Pipeline] } 11:06:22 $ docker exec --env ******** --env ******** 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 ssh-agent -k 11:06:22 unset SSH_AUTH_SOCK; 11:06:22 unset SSH_AGENT_PID; 11:06:22 echo Agent pid 19 killed; 11:06:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:22 [ssh-agent] Looking for ssh-agent implementation... 11:06:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:22 $ docker exec 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 ssh-agent 11:06:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOckcin/agent.52 11:06:22 SSH_AGENT_PID=58 11:06:22 Running ssh-add (command line suppressed) 11:06:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-276@tmp/private_key_3177398361992462103.key (/w/workspace/foundry_device-virtual-go_PR-276@tmp/private_key_3177398361992462103.key) 11:06:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:23 + git semver init 11:06:23 # -> Open(): unable to determine branch for HEAD 11:06:23 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-276/.git 11:06:23 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-276 11:06:23 # $SEMVER_REMOTE_NAME = origin 11:06:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:06:23 # $SEMVER_USER_NAME = edgex-jenkins 11:06:23 # $SEMVER_BRANCH = PR-276 11:06:23 # $SEMVER_TEMP = /tmp/semver-025746701 11:06:23 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:06:24 # '/tmp/semver-025746701' -> '/w/workspace/foundry_device-virtual-go_PR-276/.semver' 11:06:24 # -> Force: false 11:06:24 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-276/.semver [Pipeline] } 11:06:24 $ docker exec --env ******** --env ******** 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 ssh-agent -k 11:06:24 unset SSH_AUTH_SOCK; 11:06:24 unset SSH_AGENT_PID; 11:06:24 echo Agent pid 58 killed; 11:06:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:25 + git semver [Pipeline] } 11:06:25 $ docker stop --time=1 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 11:06:26 $ docker rm -f 7228075073d9893479fa417f6d9b14c777f6ebb68c740ed28e694d490bd0bf92 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:27 Stashed 1 file(s) [Pipeline] echo 11:06:27 [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:06:28 provisioning config files... 11:06:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-276@tmp/config8078089486081978346tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:28 ---> docker-login.sh 11:06:28 nexus3.edgexfoundry.org:10001 11:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:28 Configure a credential helper to remove this warning. See 11:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:28 11:06:28 Login Succeeded 11:06:28 nexus3.edgexfoundry.org:10002 11:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:28 Configure a credential helper to remove this warning. See 11:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:28 11:06:28 Login Succeeded 11:06:28 nexus3.edgexfoundry.org:10003 11:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:28 Configure a credential helper to remove this warning. See 11:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:28 11:06:28 Login Succeeded 11:06:28 nexus3.edgexfoundry.org:10004 11:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:28 Configure a credential helper to remove this warning. See 11:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:28 11:06:28 Login Succeeded 11:06:28 docker.io 11:06:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:29 Configure a credential helper to remove this warning. See 11:06:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:29 11:06:29 Login Succeeded 11:06:29 ---> docker-login.sh ends [Pipeline] } 11:06:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:29 ========================================================= 11:06:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:06:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:29 + 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:06:29 Sending build context to Docker daemon 22.92MB 11:06:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:06:29 Step 2/12 : FROM ${BASE} AS builder 11:06:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:30 59bf1c3509f3: Pulling fs layer 11:06:30 666ba61612fd: Pulling fs layer 11:06:30 8ed8ca486205: Pulling fs layer 11:06:30 4fe6c5a15a65: Pulling fs layer 11:06:30 22a0e8bec74d: Pulling fs layer 11:06:30 640e595b4fbd: Pulling fs layer 11:06:30 763cafe07f6e: Pulling fs layer 11:06:30 0c0b528cf693: Pulling fs layer 11:06:30 10935f4eaf8b: Pulling fs layer 11:06:30 4fe6c5a15a65: Waiting 11:06:30 22a0e8bec74d: Waiting 11:06:30 0c0b528cf693: Waiting 11:06:30 640e595b4fbd: Waiting 11:06:30 763cafe07f6e: Waiting 11:06:30 10935f4eaf8b: Waiting 11:06:30 8ed8ca486205: Verifying Checksum 11:06:30 8ed8ca486205: Download complete 11:06:30 666ba61612fd: Download complete 11:06:30 22a0e8bec74d: Verifying Checksum 11:06:30 22a0e8bec74d: Download complete 11:06:30 59bf1c3509f3: Verifying Checksum 11:06:30 59bf1c3509f3: Download complete 11:06:30 640e595b4fbd: Verifying Checksum 11:06:30 763cafe07f6e: Verifying Checksum 11:06:30 763cafe07f6e: Download complete 11:06:30 0c0b528cf693: Verifying Checksum 11:06:30 0c0b528cf693: Download complete 11:06:30 59bf1c3509f3: Pull complete 11:06:30 666ba61612fd: Pull complete 11:06:30 8ed8ca486205: Pull complete 11:06:30 10935f4eaf8b: Verifying Checksum 11:06:30 10935f4eaf8b: Download complete 11:06:30 4fe6c5a15a65: Download complete 11:06:35 4fe6c5a15a65: Pull complete 11:06:35 22a0e8bec74d: Pull complete 11:06:35 640e595b4fbd: Pull complete 11:06:35 763cafe07f6e: Pull complete 11:06:35 0c0b528cf693: Pull complete 11:06:37 10935f4eaf8b: Pull complete 11:06:37 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 11:06:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:06:37 ---> 99d49a6021b9 11:06:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:38 ---> Running in 5dfbd1911e9f 11:06:38 Removing intermediate container 5dfbd1911e9f 11:06:38 ---> 34da31564f43 11:06:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:06:38 ---> Running in 48103221f76c 11:06:38 Removing intermediate container 48103221f76c 11:06:38 ---> 7f5368bee0cf 11:06:38 Step 5/12 : WORKDIR /device-virtual-go 11:06:38 ---> Running in f18726fffbac 11:06:38 Removing intermediate container f18726fffbac 11:06:38 ---> 20864e1b9f65 11:06:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:39 ---> Running in a85c11729c9b 11:06:39 Removing intermediate container a85c11729c9b 11:06:39 ---> 3286cae80123 11:06:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:39 ---> Running in 39c1ad338af0 11:06:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:06:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:06:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:06:41 (2/4) Installing libedit (20210910.3.1-r0) 11:06:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:06:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:06:41 Executing busybox-1.34.1-r3.trigger 11:06:41 OK: 224 MiB in 56 packages 11:06:42 Removing intermediate container 39c1ad338af0 11:06:42 ---> 001a571106f5 11:06:42 Step 8/12 : COPY go.mod vendor* ./ 11:06:42 ---> 8bd1614567eb 11:06:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:42 ---> Running in 6a2215e03d0a 11:06:42 Still waiting to schedule task 11:06:42 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 11:06:57 Removing intermediate container 6a2215e03d0a 11:06:57 ---> d807cfd919ea 11:06:57 Step 10/12 : COPY . . 11:06:57 ---> e5371f77ae32 11:06:57 Step 11/12 : ARG MAKE='make build' 11:06:57 ---> Running in bf4e4c227d71 11:06:57 Removing intermediate container bf4e4c227d71 11:06:57 ---> 9f63c91a35df 11:06:57 Step 12/12 : RUN $MAKE 11:06:57 ---> Running in ad5b53a858a8 11:06:57 noop 11:06:57 Removing intermediate container ad5b53a858a8 11:06:57 ---> 25fc896de42a 11:06:57 Successfully built 25fc896de42a 11:06:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:06:57 + docker inspect -f . ci-base-image-x86_64 11:06:57 . [Pipeline] withDockerContainer 11:06:57 prd-ubuntu20.04-docker-8c-8g-19488 does not seem to be running inside a container 11:06:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-276 -v /w/workspace/foundry_device-virtual-go_PR-276:/w/workspace/foundry_device-virtual-go_PR-276:rw,z -v /w/workspace/foundry_device-virtual-go_PR-276@tmp:/w/workspace/foundry_device-virtual-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:06:57 $ docker top 82f800e3a411addcb242aebd590d4d5300e869b4b3a6cb33a53059c352170836 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:58 + go version 11:06:58 go version go1.17.6 linux/amd64 [Pipeline] } 11:06:58 $ docker stop --time=1 82f800e3a411addcb242aebd590d4d5300e869b4b3a6cb33a53059c352170836 11:06:59 $ docker rm -f 82f800e3a411addcb242aebd590d4d5300e869b4b3a6cb33a53059c352170836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:07:00 + docker inspect -f . ci-base-image-x86_64 11:07:00 . [Pipeline] withDockerContainer 11:07:00 prd-ubuntu20.04-docker-8c-8g-19488 does not seem to be running inside a container 11:07:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-276 -v /w/workspace/foundry_device-virtual-go_PR-276:/w/workspace/foundry_device-virtual-go_PR-276:rw,z -v /w/workspace/foundry_device-virtual-go_PR-276@tmp:/w/workspace/foundry_device-virtual-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:07:00 $ docker top defac4f75c2c2b944f0f87c0ec4a87db47674941e3bb30b6c3a87e96a6ab8258 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:07:01 + make test 11:07:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:07:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:07:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:07:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 11:07:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:07:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:20 ./bin/test-attribution-txt.sh [Pipeline] echo 11:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:07:20 $ docker stop --time=1 defac4f75c2c2b944f0f87c0ec4a87db47674941e3bb30b6c3a87e96a6ab8258 11:07:22 $ docker rm -f defac4f75c2c2b944f0f87c0ec4a87db47674941e3bb30b6c3a87e96a6ab8258 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:07:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:23 + ls -al . 11:07:23 total 204 11:07:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:07 . 11:07:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:06 .. 11:07:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:06 .git 11:07:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 .github 11:07:23 -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 11:06 .gitignore 11:07:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:06 .golangci.yml 11:07:23 drwx------ 3 jenkins jenkins 4096 Apr 11 11:06 .semver 11:07:23 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 11:06 Attribution.txt 11:07:23 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 11:06 CHANGELOG.md 11:07:23 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 11:06 Dockerfile 11:07:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:06 GOVERNANCE.md 11:07:23 -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 11:06 Jenkinsfile 11:07:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:06 LICENSE 11:07:23 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 11:06 Makefile 11:07:23 -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 11:06 OWNERS.md 11:07:23 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 11:06 README.md 11:07:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 11:06 VERSION 11:07:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:06 bin 11:07:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 cmd 11:07:23 -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 11:07 coverage.out 11:07:23 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 11:06 go.mod 11:07:23 -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 11:06 go.sum 11:07:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:06 internal 11:07:23 -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:07:24 + 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=af87952f6b86e0bb62623b0f86dc5d0e7512b395 --label arch=amd64 --label version=0.0.0 . 11:07:24 Sending build context to Docker daemon 22.97MB 11:07:24 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:07:24 Step 2/26 : FROM ${BASE} AS builder 11:07:24 ---> 25fc896de42a 11:07:24 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:24 ---> Running in 54694416e658 11:07:24 Removing intermediate container 54694416e658 11:07:24 ---> cd6fd4d19ccb 11:07:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:07:24 ---> Running in dd3b712dead5 11:07:24 Removing intermediate container dd3b712dead5 11:07:24 ---> f137f3f6ea54 11:07:24 Step 5/26 : WORKDIR /device-virtual-go 11:07:24 ---> Running in 2d3dbd5794fd 11:07:24 Removing intermediate container 2d3dbd5794fd 11:07:24 ---> e92891f4ffba 11:07:24 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:24 ---> Running in 9b7539959079 11:07:25 Removing intermediate container 9b7539959079 11:07:25 ---> 0b2d23e2e59a 11:07:25 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:25 ---> Running in 5daa56c69e48 11:07:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:27 OK: 224 MiB in 56 packages 11:07:27 Removing intermediate container 5daa56c69e48 11:07:27 ---> 48084baf0e15 11:07:27 Step 8/26 : COPY go.mod vendor* ./ 11:07:27 ---> e6a2666a66b1 11:07:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:27 ---> Running in c7da4b334311 11:07:28 Removing intermediate container c7da4b334311 11:07:28 ---> db06f79c6504 11:07:28 Step 10/26 : COPY . . 11:07:28 ---> c1c01ca5783b 11:07:28 Step 11/26 : ARG MAKE='make build' 11:07:28 ---> Running in 1baa17f4730a 11:07:28 Removing intermediate container 1baa17f4730a 11:07:28 ---> 425b78c8e07d 11:07:28 Step 12/26 : RUN $MAKE 11:07:28 ---> Running in 7b9671fe64b1 11:07:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:07:51 Removing intermediate container 7b9671fe64b1 11:07:51 ---> 0edea431a8e1 11:07:51 Step 13/26 : FROM alpine:3.14 11:07:51 3.14: Pulling from library/alpine 11:07:51 8663204ce13b: Pulling fs layer 11:07:51 8663204ce13b: Verifying Checksum 11:07:51 8663204ce13b: Download complete 11:07:51 8663204ce13b: Pull complete 11:07:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:07:51 Status: Downloaded newer image for alpine:3.14 11:07:51 ---> e04c818066af 11:07:51 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:07:51 ---> Running in 0486e308c896 11:07:51 Removing intermediate container 0486e308c896 11:07:51 ---> e0a8314b4675 11:07:51 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:51 ---> Running in b3838167c621 11:07:51 Removing intermediate container b3838167c621 11:07:51 ---> 2c923835c784 11:07:51 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:07:51 ---> Running in e60a72bed21c 11:07:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:07:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:07:51 (1/6) Installing dumb-init (1.2.5-r1) 11:07:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:07:51 (3/6) Installing libsodium (1.0.18-r0) 11:07:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:07:51 (5/6) Installing libzmq (4.3.4-r0) 11:07:51 (6/6) Installing zeromq (4.3.4-r0) 11:07:51 Executing busybox-1.33.1-r7.trigger 11:07:51 OK: 8 MiB in 20 packages 11:07:52 Removing intermediate container e60a72bed21c 11:07:52 ---> 0665f5081490 11:07:52 Step 17/26 : WORKDIR / 11:07:52 ---> Running in 8a4267ba843c 11:07:52 Removing intermediate container 8a4267ba843c 11:07:52 ---> 74c9e733fd51 11:07:52 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:07:52 ---> d5c56e531004 11:07:52 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:07:52 ---> f0e2a0fe1a07 11:07:52 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:07:52 ---> 7f5a2ed5a695 11:07:52 Step 21/26 : EXPOSE 59900 11:07:53 ---> Running in 154d58a01d4e 11:07:53 Removing intermediate container 154d58a01d4e 11:07:53 ---> f889e1675f44 11:07:53 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:07:53 ---> Running in 3f9d1cb42ebe 11:07:53 Removing intermediate container 3f9d1cb42ebe 11:07:53 ---> 19e3af24f0d3 11:07:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:07:53 ---> Running in 0b7fce129d42 11:07:53 Removing intermediate container 0b7fce129d42 11:07:53 ---> d638ce699dfc 11:07:53 Step 24/26 : LABEL arch=amd64 11:07:53 ---> Running in 75aed3f30fe5 11:07:53 Removing intermediate container 75aed3f30fe5 11:07:53 ---> 13072c023c1b 11:07:53 Step 25/26 : LABEL git_sha=af87952f6b86e0bb62623b0f86dc5d0e7512b395 11:07:53 ---> Running in 993e9b7f17aa 11:07:53 Removing intermediate container 993e9b7f17aa 11:07:53 ---> d163b020c72b 11:07:53 Step 26/26 : LABEL version=0.0.0 11:07:53 ---> Running in 58d770da9623 11:07:53 Removing intermediate container 58d770da9623 11:07:53 ---> 73aa49e95ded 11:07:53 [Warning] One or more build-args [ARCH] were not consumed 11:07:53 Successfully built 73aa49e95ded 11:07:53 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:07:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:07:54 11:07:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:07:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:07:55 latest: Pulling from edgex-lftools-log-publisher 11:07:55 5eb5b503b376: Pulling fs layer 11:07:55 5c69ac0246d0: Pulling fs layer 11:07:55 ec43610c2a17: Pulling fs layer 11:07:55 3a2ae6a8a46f: Pulling fs layer 11:07:55 33b1e0a273af: Pulling fs layer 11:07:55 5d3b04190fa2: Pulling fs layer 11:07:55 2f39f015ded8: Pulling fs layer 11:07:55 33b1e0a273af: Waiting 11:07:55 5d3b04190fa2: Waiting 11:07:55 2f39f015ded8: Waiting 11:07:55 3a2ae6a8a46f: Waiting 11:07:55 5c69ac0246d0: Download complete 11:07:55 3a2ae6a8a46f: Verifying Checksum 11:07:55 3a2ae6a8a46f: Download complete 11:07:55 ec43610c2a17: Verifying Checksum 11:07:55 ec43610c2a17: Download complete 11:07:55 33b1e0a273af: Verifying Checksum 11:07:55 33b1e0a273af: Download complete 11:07:55 5d3b04190fa2: Verifying Checksum 11:07:55 5d3b04190fa2: Download complete 11:07:55 5eb5b503b376: Verifying Checksum 11:07:55 5eb5b503b376: Download complete 11:07:55 2f39f015ded8: Download complete 11:07:56 5eb5b503b376: Pull complete 11:07:56 5c69ac0246d0: Pull complete 11:07:57 ec43610c2a17: Pull complete 11:07:57 3a2ae6a8a46f: Pull complete 11:07:57 33b1e0a273af: Pull complete 11:07:57 5d3b04190fa2: Pull complete 11:08:01 2f39f015ded8: Pull complete 11:08:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:08:01 prd-ubuntu20.04-docker-8c-8g-19488 does not seem to be running inside a container 11:08:01 $ 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-276 -v /w/workspace/foundry_device-virtual-go_PR-276:/w/workspace/foundry_device-virtual-go_PR-276:rw,z -v /w/workspace/foundry_device-virtual-go_PR-276@tmp:/w/workspace/foundry_device-virtual-go_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:08:03 $ docker top a06c487a17c9f4ff78a9bce85c5cd93ce912d95a6c81acd6c15ea76b1921335d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:04 ---> job-cost.sh 11:08:04 lf-activate-venv: SKIPPING 11:08:04 INFO: No Stack... 11:08:04 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:04 INFO: Archiving Costs [Pipeline] sh 11:08:04 + cat /w/workspace/foundry_device-virtual-go_PR-276/archives/cost.csv 11:08:04 + cut -d, -f6 [Pipeline] lock 11:08:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] 11:08:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] did not exist. Created. 11:08:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:05 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:05 Stashed 1 file(s) [Pipeline] } 11:08:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:05 $ docker stop --time=1 a06c487a17c9f4ff78a9bce85c5cd93ce912d95a6c81acd6c15ea76b1921335d 11:08:06 $ docker rm -f a06c487a17c9f4ff78a9bce85c5cd93ce912d95a6c81acd6c15ea76b1921335d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:08:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19489 in /w/workspace/foundry_device-virtual-go_PR-276 [Pipeline] { [Pipeline] ws 11:08:41 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:08:41 The recommended git tool is: git 11:08:50 using credential edgex-jenkins-ssh 11:08:50 Cloning the remote Git repository 11:08:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:08:51 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:08:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:51 > git --version # timeout=10 11:08:51 > git --version # 'git version 2.25.1' 11:08:51 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:54 Merging remotes/origin/main commit 92eeb058ea4423f52907451924a865deb70e0eda into PR head commit af87952f6b86e0bb62623b0f86dc5d0e7512b395 11:08:54 Merge succeeded, producing af87952f6b86e0bb62623b0f86dc5d0e7512b395 11:08:54 Checking out Revision af87952f6b86e0bb62623b0f86dc5d0e7512b395 (PR-276) 11:08:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:53 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:53 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:08:54 > git config core.sparsecheckout # timeout=10 11:08:54 > git checkout -f af87952f6b86e0bb62623b0f86dc5d0e7512b395 # timeout=10 11:08:54 > git remote # timeout=10 11:08:54 > git config --get remote.origin.url # timeout=10 11:08:54 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:54 > git merge 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 11:08:54 > git rev-parse HEAD^{commit} # timeout=10 11:08:54 > git config core.sparsecheckout # timeout=10 11:08:54 > git checkout -f af87952f6b86e0bb62623b0f86dc5d0e7512b395 # timeout=10 11:08:59 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:08:59 > git --version # timeout=10 11:08:59 > git --version # 'git version 2.25.1' 11:08:59 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:09:00 % Total % Received % Xferd Average Speed Time Time Time Current 11:09:00 Dload Upload Total Spent Left Speed 11:09:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 11:09:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:09:01 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:09:01 sudo tee /etc/docker/daemon.new 11:09:01 { 11:09:01 "registry-mirrors": [ 11:09:01 "https://nexus3.edgexfoundry.org:10001" 11:09:01 ], 11:09:01 "bip": "10.250.0.254/24", 11:09:01 "hosts": [ 11:09:01 "tcp://0.0.0.0:5555", 11:09:01 "unix:///var/run/docker.sock" 11:09:01 ], 11:09:01 "mtu": 1458, 11:09:01 "selinux-enabled": true, 11:09:01 "seccomp-profile": "/etc/docker/seccomp.json" 11:09:01 } [Pipeline] sh 11:09:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:09:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:20 provisioning config files... 11:09:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2702845993963323310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:21 ---> docker-login.sh 11:09:21 nexus3.edgexfoundry.org:10001 11:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:22 Configure a credential helper to remove this warning. See 11:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:22 11:09:22 Login Succeeded 11:09:22 nexus3.edgexfoundry.org:10002 11:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:23 Configure a credential helper to remove this warning. See 11:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:23 11:09:23 Login Succeeded 11:09:23 nexus3.edgexfoundry.org:10003 11:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:23 Configure a credential helper to remove this warning. See 11:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:23 11:09:23 Login Succeeded 11:09:24 nexus3.edgexfoundry.org:10004 11:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:24 Configure a credential helper to remove this warning. See 11:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:24 11:09:24 Login Succeeded 11:09:24 docker.io 11:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:25 Configure a credential helper to remove this warning. See 11:09:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:25 11:09:25 Login Succeeded 11:09:25 ---> docker-login.sh ends [Pipeline] } 11:09:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:25 ========================================================= 11:09:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:09:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:09:26 + 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:09:26 Sending build context to Docker daemon 11.6MB 11:09:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:09:26 Step 2/12 : FROM ${BASE} AS builder 11:09:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:26 9b3977197b4f: Pulling fs layer 11:09:26 1a89e8eeedd5: Pulling fs layer 11:09:26 94645a83ff95: Pulling fs layer 11:09:26 3f3a8bcf1eab: Pulling fs layer 11:09:26 0c92f367c5e7: Pulling fs layer 11:09:26 f7c0051592d6: Pulling fs layer 11:09:26 a227ed2f7395: Pulling fs layer 11:09:26 7b1c46037f91: Pulling fs layer 11:09:26 f7c0051592d6: Waiting 11:09:26 3f3a8bcf1eab: Waiting 11:09:26 a227ed2f7395: Waiting 11:09:26 0c92f367c5e7: Waiting 11:09:26 7b1c46037f91: Waiting 11:09:26 94645a83ff95: Verifying Checksum 11:09:26 94645a83ff95: Download complete 11:09:27 1a89e8eeedd5: Download complete 11:09:27 0c92f367c5e7: Verifying Checksum 11:09:27 0c92f367c5e7: Download complete 11:09:27 f7c0051592d6: Verifying Checksum 11:09:27 f7c0051592d6: Download complete 11:09:27 9b3977197b4f: Download complete 11:09:27 a227ed2f7395: Verifying Checksum 11:09:27 a227ed2f7395: Download complete 11:09:28 9b3977197b4f: Pull complete 11:09:28 1a89e8eeedd5: Pull complete 11:09:28 94645a83ff95: Pull complete 11:09:29 7b1c46037f91: Verifying Checksum 11:09:29 7b1c46037f91: Download complete 11:09:29 3f3a8bcf1eab: Verifying Checksum 11:09:29 3f3a8bcf1eab: Download complete 11:09:44 3f3a8bcf1eab: Pull complete 11:09:44 0c92f367c5e7: Pull complete 11:09:44 f7c0051592d6: Pull complete 11:09:44 a227ed2f7395: Pull complete 11:09:50 7b1c46037f91: Pull complete 11:09:50 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 11:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:09:50 ---> f79e39bc4007 11:09:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:51 ---> Running in 77915290f699 11:09:51 Removing intermediate container 77915290f699 11:09:51 ---> 6cb0e071f614 11:09:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:09:51 ---> Running in d69e6ea0d236 11:09:52 Removing intermediate container d69e6ea0d236 11:09:52 ---> 2aeb60a08318 11:09:52 Step 5/12 : WORKDIR /device-virtual-go 11:09:52 ---> Running in 49a864ebceb1 11:09:52 Removing intermediate container 49a864ebceb1 11:09:52 ---> fc6cbd1529c5 11:09:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:52 ---> Running in 0049d5640eaf 11:09:54 Removing intermediate container 0049d5640eaf 11:09:54 ---> 09f0a52621f8 11:09:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:54 ---> Running in 84419a5977c5 11:09:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:09:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:10:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:10:00 (2/4) Installing libedit (20210910.3.1-r0) 11:10:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:10:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:10:00 Executing busybox-1.34.1-r3.trigger 11:10:00 OK: 224 MiB in 56 packages 11:10:01 Removing intermediate container 84419a5977c5 11:10:01 ---> c782b7385764 11:10:01 Step 8/12 : COPY go.mod vendor* ./ 11:10:01 ---> 97d55c3dbb16 11:10:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:02 ---> Running in 0a3ccdd2bd82 11:10:49 Removing intermediate container 0a3ccdd2bd82 11:10:49 ---> 97ff641d0801 11:10:49 Step 10/12 : COPY . . 11:10:49 ---> edcff51a5da1 11:10:49 Step 11/12 : ARG MAKE='make build' 11:10:50 ---> Running in 079f1d9ce454 11:10:50 Removing intermediate container 079f1d9ce454 11:10:50 ---> 408c1fe0ebbe 11:10:50 Step 12/12 : RUN $MAKE 11:10:50 ---> Running in 45e3905ef306 11:10:51 noop 11:10:52 Removing intermediate container 45e3905ef306 11:10:52 ---> 9f0f6a7fd194 11:10:52 Successfully built 9f0f6a7fd194 11:10:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:10:52 + docker inspect -f . ci-base-image-arm64 11:10:52 . [Pipeline] withDockerContainer 11:10:52 prd-ubuntu20.04-docker-arm64-4c-16g-19489 does not seem to be running inside a container 11:10:52 $ 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:10:54 $ docker top a5c2de601824a9d7d9b323a3e5061e18e22dace59535126bbf12328921900e61 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:55 + go version 11:10:55 go version go1.17.6 linux/arm64 [Pipeline] } 11:10:55 $ docker stop --time=1 a5c2de601824a9d7d9b323a3e5061e18e22dace59535126bbf12328921900e61 11:10:56 $ docker rm -f a5c2de601824a9d7d9b323a3e5061e18e22dace59535126bbf12328921900e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:10:57 + docker inspect -f . ci-base-image-arm64 11:10:57 . [Pipeline] withDockerContainer 11:10:58 prd-ubuntu20.04-docker-arm64-4c-16g-19489 does not seem to be running inside a container 11:10:58 $ 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:10:59 $ docker top dad62ee9518402eea363a886e7f923ff482bdb6360a30aa49eabf737756f3294 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:11:00 + make test 11:11:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:11:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:12:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:12:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.148s coverage: 65.7% of statements 11:12:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:12:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:57 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:58 $ docker stop --time=1 dad62ee9518402eea363a886e7f923ff482bdb6360a30aa49eabf737756f3294 11:13:00 $ docker rm -f dad62ee9518402eea363a886e7f923ff482bdb6360a30aa49eabf737756f3294 [Pipeline] // withDockerContainer [Pipeline] sh 11:13:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:13:01 Warning: overwriting stash ‘coverage-report’ 11:13:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:02 + ls -al . 11:13:02 total 200 11:13:02 drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 11:12 . 11:13:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 11:08 .. 11:13:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 11:08 .git 11:13:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:08 .github 11:13:02 -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 11:08 .gitignore 11:13:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 11:08 .golangci.yml 11:13:02 -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 11:08 Attribution.txt 11:13:02 -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 11:08 CHANGELOG.md 11:13:02 -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 11:08 Dockerfile 11:13:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 11:08 GOVERNANCE.md 11:13:02 -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 11:08 Jenkinsfile 11:13:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 11:08 LICENSE 11:13:02 -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 11:08 Makefile 11:13:02 -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 11:08 OWNERS.md 11:13:02 -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 11:08 README.md 11:13:02 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 11:06 VERSION 11:13:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 11:08 bin 11:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:08 cmd 11:13:02 -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 11:12 coverage.out 11:13:02 -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 11:08 go.mod 11:13:02 -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 11:08 go.sum 11:13:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 11:08 internal 11:13:02 -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 11:08 version.go [Pipeline] isUnix [Pipeline] sh 11:13:03 + 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=af87952f6b86e0bb62623b0f86dc5d0e7512b395 --label arch=arm64 --label version=0.0.0 . 11:13:03 Sending build context to Docker daemon 11.65MB 11:13:03 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:13:03 Step 2/26 : FROM ${BASE} AS builder 11:13:03 ---> 9f0f6a7fd194 11:13:03 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:13:03 ---> Running in 9e72dd35a241 11:13:03 Removing intermediate container 9e72dd35a241 11:13:03 ---> cac9d006d5c1 11:13:03 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:13:04 ---> Running in b051d128987b 11:13:04 Removing intermediate container b051d128987b 11:13:04 ---> c36bff3dbcf2 11:13:04 Step 5/26 : WORKDIR /device-virtual-go 11:13:04 ---> Running in f47e11d219b8 11:13:04 Removing intermediate container f47e11d219b8 11:13:04 ---> d0c67c83e64e 11:13:04 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:05 ---> Running in c9dc32b0c100 11:13:06 Removing intermediate container c9dc32b0c100 11:13:06 ---> d452b4b24d7c 11:13:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:06 ---> Running in 6c366ea7d8a8 11:13:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:13:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:13:09 OK: 224 MiB in 56 packages 11:13:10 Removing intermediate container 6c366ea7d8a8 11:13:10 ---> 5704593a0607 11:13:10 Step 8/26 : COPY go.mod vendor* ./ 11:13:10 ---> 9606f88098bd 11:13:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:13:10 ---> Running in b6588307e143 11:13:12 Removing intermediate container b6588307e143 11:13:12 ---> abf5b2479895 11:13:12 Step 10/26 : COPY . . 11:13:13 ---> 4cbbd25736db 11:13:13 Step 11/26 : ARG MAKE='make build' 11:13:13 ---> Running in 3484b580aef1 11:13:14 Removing intermediate container 3484b580aef1 11:13:14 ---> c384bf1724db 11:13:14 Step 12/26 : RUN $MAKE 11:13:14 ---> Running in 8c0f5c8ff5d9 11:13:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:15:22 Removing intermediate container 8c0f5c8ff5d9 11:15:22 ---> f8aeadf2ba0d 11:15:22 Step 13/26 : FROM alpine:3.14 11:15:22 3.14: Pulling from library/alpine 11:15:22 455c02918c45: Pulling fs layer 11:15:22 455c02918c45: Verifying Checksum 11:15:22 455c02918c45: Download complete 11:15:22 455c02918c45: Pull complete 11:15:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:15:22 Status: Downloaded newer image for alpine:3.14 11:15:22 ---> ac73e934f311 11:15:22 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:15:22 ---> Running in a6b6c889b0ed 11:15:22 Removing intermediate container a6b6c889b0ed 11:15:22 ---> 2cc1387cc929 11:15:22 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:22 ---> Running in d12e64f44875 11:15:24 Removing intermediate container d12e64f44875 11:15:24 ---> eadab788e8a0 11:15:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:15:24 ---> Running in 0c08349da58a 11:15:25 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:15:26 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:15:27 (1/6) Installing dumb-init (1.2.5-r1) 11:15:27 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:15:27 (3/6) Installing libsodium (1.0.18-r0) 11:15:27 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:15:27 (5/6) Installing libzmq (4.3.4-r0) 11:15:27 (6/6) Installing zeromq (4.3.4-r0) 11:15:27 Executing busybox-1.33.1-r7.trigger 11:15:27 OK: 8 MiB in 20 packages 11:15:28 Removing intermediate container 0c08349da58a 11:15:28 ---> 5498e0585a6e 11:15:28 Step 17/26 : WORKDIR / 11:15:28 ---> Running in 5c0b73a8de40 11:15:28 Removing intermediate container 5c0b73a8de40 11:15:28 ---> 654e2c7ef53a 11:15:28 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:15:29 ---> 7b856466c08b 11:15:29 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:15:30 ---> 7cca2566b9fe 11:15:30 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:15:32 ---> 91920420db84 11:15:32 Step 21/26 : EXPOSE 59900 11:15:32 ---> Running in 078049efbcbc 11:15:32 Removing intermediate container 078049efbcbc 11:15:32 ---> ac90c58ddb94 11:15:32 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:15:32 ---> Running in 3336c5d70b61 11:15:32 Removing intermediate container 3336c5d70b61 11:15:32 ---> b66469f40d65 11:15:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:15:32 ---> Running in 69949acaddd9 11:15:33 Removing intermediate container 69949acaddd9 11:15:33 ---> 27c197258207 11:15:33 Step 24/26 : LABEL arch=arm64 11:15:33 ---> Running in aeaa6bfc5b38 11:15:33 Removing intermediate container aeaa6bfc5b38 11:15:33 ---> 69b7b8827624 11:15:33 Step 25/26 : LABEL git_sha=af87952f6b86e0bb62623b0f86dc5d0e7512b395 11:15:33 ---> Running in 6331eda5b4e2 11:15:33 Removing intermediate container 6331eda5b4e2 11:15:33 ---> 883e5951e200 11:15:33 Step 26/26 : LABEL version=0.0.0 11:15:33 ---> Running in d3051989455d 11:15:34 Removing intermediate container d3051989455d 11:15:34 ---> 86cfe7bcada3 11:15:34 [Warning] One or more build-args [ARCH] were not consumed 11:15:34 Successfully built 86cfe7bcada3 11:15:34 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:15:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:34 11:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:15:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:35 arm64: Pulling from edgex-lftools-log-publisher 11:15:35 8998bd30e6a1: Pulling fs layer 11:15:35 04944245beec: Pulling fs layer 11:15:35 699f458cf7ca: Pulling fs layer 11:15:35 765212b225bb: Pulling fs layer 11:15:35 f23df028b6ca: Pulling fs layer 11:15:35 d65c8cfc05b1: Pulling fs layer 11:15:35 2437ff75d9bd: Pulling fs layer 11:15:35 f23df028b6ca: Waiting 11:15:35 765212b225bb: Waiting 11:15:35 d65c8cfc05b1: Waiting 11:15:35 2437ff75d9bd: Waiting 11:15:35 04944245beec: Verifying Checksum 11:15:35 04944245beec: Download complete 11:15:35 765212b225bb: Verifying Checksum 11:15:35 765212b225bb: Download complete 11:15:35 f23df028b6ca: Verifying Checksum 11:15:35 f23df028b6ca: Download complete 11:15:35 d65c8cfc05b1: Verifying Checksum 11:15:35 d65c8cfc05b1: Download complete 11:15:35 699f458cf7ca: Verifying Checksum 11:15:35 699f458cf7ca: Download complete 11:15:36 8998bd30e6a1: Download complete 11:15:39 2437ff75d9bd: Verifying Checksum 11:15:39 2437ff75d9bd: Download complete 11:15:42 8998bd30e6a1: Pull complete 11:15:42 04944245beec: Pull complete 11:15:44 699f458cf7ca: Pull complete 11:15:44 765212b225bb: Pull complete 11:15:45 f23df028b6ca: Pull complete 11:15:45 d65c8cfc05b1: Pull complete 11:16:00 2437ff75d9bd: Pull complete 11:16:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:16:00 prd-ubuntu20.04-docker-arm64-4c-16g-19489 does not seem to be running inside a container 11:16:00 $ 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:16:03 $ docker top 3bf602546759bdec7659269f4b82daa8a57cd92d7fe3150318076fb5ddbc9a98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:04 ---> job-cost.sh 11:16:04 lf-activate-venv: SKIPPING 11:16:04 INFO: No Stack... 11:16:05 INFO: Retrieving Pricing Info for: v3-standard-4 11:16:06 INFO: Archiving Costs [Pipeline] sh 11:16:06 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:16:06 + cut -d, -f6 [Pipeline] lock 11:16:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] 11:16:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] did not exist. Created. 11:16:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:07 /w/workspace/device-virtual-go/1@tmp/durable-73788e5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:16:08 + echo total: 0.10999999940395355 [Pipeline] stash 11:16:08 Warning: overwriting stash ‘stack-cost’ 11:16:08 Stashed 1 file(s) [Pipeline] } 11:16:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:16:08 $ docker stop --time=1 3bf602546759bdec7659269f4b82daa8a57cd92d7fe3150318076fb5ddbc9a98 11:16:09 $ docker rm -f 3bf602546759bdec7659269f4b82daa8a57cd92d7fe3150318076fb5ddbc9a98 [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:16:11 provisioning config files... 11:16:11 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-276@tmp/config8060263341367373924tmp [Pipeline] { [Pipeline] sh 11:16:11 + set +x 11:16:11 + curl -s https://codecov.io/bash 11:16:11 + bash -s -- 11:16:11 11:16:11 _____ _ 11:16:11 / ____| | | 11:16:11 | | ___ __| | ___ ___ _____ __ 11:16:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:16:11 | |___| (_) | (_| | __/ (_| (_) \ V / 11:16:11 \_____\___/ \__,_|\___|\___\___/ \_/ 11:16:11 Bash-1.0.6 11:16:11 11:16:11 11:16:11 ==> git version 2.25.1 found 11:16:11 ==> 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:16:11 Release-Date: 2020-01-08 11:16:11 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:16:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:16:11 ==> Jenkins CI detected. 11:16:11 current dir:  /w/workspace/foundry_device-virtual-go_PR-276 11:16:11 project root: . 11:16:11 --> token set from env 11:16:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:16:11 ==> Running gcov in . (disable via -X gcov) 11:16:11 ==> Python coveragepy not found 11:16:11 ==> Searching for coverage reports in: 11:16:11 + . 11:16:11 -> Found 1 reports 11:16:11 ==> Detecting git/mercurial file structure 11:16:11 ==> Reading reports 11:16:11 + ./coverage.out bytes=44128 11:16:11 ==> Appending adjustments 11:16:11 https://docs.codecov.io/docs/fixing-reports 11:16:11 + Found adjustments 11:16:11 ==> Gzipping contents 11:16:11 8.0K /tmp/codecov.7PJTci.gz 11:16:11 ==> Uploading reports 11:16:11 url: https://codecov.io 11:16:11 query: branch=PR-276&commit=af87952f6b86e0bb62623b0f86dc5d0e7512b395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=276&job=&cmd_args= 11:16:11 -> Pinging Codecov 11:16:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-276&commit=af87952f6b86e0bb62623b0f86dc5d0e7512b395&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=276&job=&cmd_args= 11:16:11 -> Uploading to 11:16:11 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/5E52B4B073DB2E39498172D8E973AA87/af87952f6b86e0bb62623b0f86dc5d0e7512b395/bd869051-19e5-4707-83e5-d692001b779e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T111611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3495092ef072f371c6a02a51eba67de5a05bd4f6bb41ec595cf3b5c1d2c4df4 11:16:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:16:11 Dload Upload Total Spent Left Speed 11:16:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5295 0 0 100 5295 0 22436 --:--:-- --:--:-- --:--:-- 22436 11:16:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/af87952f6b86e0bb62623b0f86dc5d0e7512b395 [Pipeline] } 11:16:12 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:16:13 + [ -d /w/workspace/foundry_device-virtual-go_PR-276/archives ] 11:16:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-276/archives 11:16:13 total 16 11:16:13 drwxr-xr-x 3 root root 4096 Apr 11 11:08 . 11:16:13 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 11:08 .. 11:16:13 drwxr-xr-x 2 root root 4096 Apr 11 11:08 cost 11:16:13 -rw-r--r-- 1 root root 88 Apr 11 11:08 cost.csv 11:16:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-276/archives 11:16:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-276/archives 11:16:13 total 16 11:16:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 11:08 . 11:16:13 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 11:08 .. 11:16:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 11:08 cost 11:16:13 -rw-r--r-- 1 jenkins jenkins 88 Apr 11 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:16:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:16:15 ---> package-listing.sh 11:16:15 ++ facter osfamily 11:16:15 ++ tr '[:upper:]' '[:lower:]' 11:16:15 + OS_FAMILY=debian 11:16:15 + workspace=/w/workspace/foundry_device-virtual-go_PR-276 11:16:15 + START_PACKAGES=/tmp/packages_start.txt 11:16:15 + END_PACKAGES=/tmp/packages_end.txt 11:16:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:15 + PACKAGES=/tmp/packages_start.txt 11:16:15 + '[' /w/workspace/foundry_device-virtual-go_PR-276 ']' 11:16:15 + PACKAGES=/tmp/packages_end.txt 11:16:15 + case "${OS_FAMILY}" in 11:16:15 + dpkg -l 11:16:15 + grep '^ii' 11:16:15 + '[' -f /tmp/packages_start.txt ']' 11:16:15 + '[' -f /tmp/packages_end.txt ']' 11:16:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:15 + '[' /w/workspace/foundry_device-virtual-go_PR-276 ']' 11:16:15 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-276/archives/ 11:16:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-276/archives/ [Pipeline] echo 11:16:15 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-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:16:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:16:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:16 . [Pipeline] withDockerContainer 11:16:16 prd-ubuntu20.04-docker-8c-8g-19488 does not seem to be running inside a container 11:16:16 $ 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-276/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-276 -v /w/workspace/foundry_device-virtual-go_PR-276:/w/workspace/foundry_device-virtual-go_PR-276:rw,z -v /w/workspace/foundry_device-virtual-go_PR-276@tmp:/w/workspace/foundry_device-virtual-go_PR-276@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:16:16 $ docker top e62ffab0970ca6f1c8ec8c0de3a120d39e84fd03874a16f1c165f249b97fff52 -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:16:17 + mkdir -p /var/log/sysstat [Pipeline] sh 11:16:17 + ls /var/log/sa-host 11:16:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:17 provisioning config files... 11:16:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-276@tmp/config4554858997312969279tmp [Pipeline] { [Pipeline] echo 11:16:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:16:18 ---> create-netrc.sh [Pipeline] } 11:16:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:16:18 ---> python-tools-install.sh [Pipeline] echo 11:16:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:16:18 ---> sudo-logs.sh 11:16:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:16:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:16:19 ---> job-cost.sh 11:16:19 lf-activate-venv: SKIPPING 11:16:19 DEBUG: total: 0.2199999988079071 11:16:19 INFO: Retrieving Stack Cost... 11:16:20 INFO: Retrieving Pricing Info for: v3-standard-8 11:16:20 INFO: Archiving Costs [Pipeline] echo 11:16:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:16:20 ---> logs-deploy.sh 11:16:20 lf-activate-venv: SKIPPING 11:16:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-276/1 11:16:20 INFO: archiving workspace using pattern(s): 11:16:21 Archives upload complete. 11:16:21 INFO: archiving logs to Nexus 11:16:22 ---> uname -a: 11:16:22 Linux prd-ubuntu20-04-docker-8c-8g-19488 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 11:16:22 11:16:22 11:16:22 ---> lscpu: 11:16:22 Architecture: x86_64 11:16:22 CPU op-mode(s): 32-bit, 64-bit 11:16:22 Byte Order: Little Endian 11:16:22 Address sizes: 40 bits physical, 48 bits virtual 11:16:22 CPU(s): 8 11:16:22 On-line CPU(s) list: 0-7 11:16:22 Thread(s) per core: 1 11:16:22 Core(s) per socket: 1 11:16:22 Socket(s): 8 11:16:22 NUMA node(s): 1 11:16:22 Vendor ID: AuthenticAMD 11:16:22 CPU family: 23 11:16:22 Model: 49 11:16:22 Model name: AMD EPYC-Rome Processor 11:16:22 Stepping: 0 11:16:22 CPU MHz: 2799.998 11:16:22 BogoMIPS: 5599.99 11:16:22 Virtualization: AMD-V 11:16:22 Hypervisor vendor: KVM 11:16:22 Virtualization type: full 11:16:22 L1d cache: 256 KiB 11:16:22 L1i cache: 256 KiB 11:16:22 L2 cache: 4 MiB 11:16:22 L3 cache: 128 MiB 11:16:22 NUMA node0 CPU(s): 0-7 11:16:22 Vulnerability Itlb multihit: Not affected 11:16:22 Vulnerability L1tf: Not affected 11:16:22 Vulnerability Mds: Not affected 11:16:22 Vulnerability Meltdown: Not affected 11:16:22 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:16:22 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:16:22 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:16:22 Vulnerability Srbds: Not affected 11:16:22 Vulnerability Tsx async abort: Not affected 11:16:22 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 11:16:22 11:16:22