Pull request #426 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e9128a620a545a886d812ca9b36d20326750cce5+ed857253c333b25bd607939277ad976310c7a90d (c9406f6d122d84574f1a36490c9f5a6e43b2f845) 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-ssh5210161570383987825.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2518447747201225829.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1378741098047642974.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-426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh637043461670396689.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 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-ssh8748500100091645963.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15766482082061098742.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5790 in /w/workspace/foundry_device-virtual-go_PR-426 [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-426 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ed857253c333b25bd607939277ad976310c7a90d into PR head commit e9128a620a545a886d812ca9b36d20326750cce5 Merge succeeded, producing e9128a620a545a886d812ca9b36d20326750cce5 Checking out Revision e9128a620a545a886d812ca9b36d20326750cce5 (PR-426) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e9128a620a545a886d812ca9b36d20326750cce5 # 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 ed857253c333b25bd607939277ad976310c7a90d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9128a620a545a886d812ca9b36d20326750cce5 # timeout=10 [Pipeline] withCredentials 11:06:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:32 ========================================================= 11:06:32 EdgeX Global Pipelines Version Info 11:06:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:32 ------------------- 11:06:32 stable info: 11:06:32 ------------------- 11:06:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:32 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:06:32 Message: update stable to v1.0.253 11:06:33 ------------------- 11:06:33 experimental info: 11:06:33 ------------------- 11:06:33 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:33 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:06:33 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-426 [Pipeline] echo 11:06:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-426 [Pipeline] echo 11:06:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-426 [Pipeline] echo 11:06:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9128a620a545a886d812ca9b36d20326750cce5 [Pipeline] echo 11:06:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9128a6 [Pipeline] echo 11:06:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:35 provisioning config files... 11:06:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-426@tmp/config15232740471032855690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:35 ---> docker-login.sh 11:06:35 nexus3.edgexfoundry.org:10001 11:06:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:36 Configure a credential helper to remove this warning. See 11:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:36 11:06:36 Login Succeeded 11:06:36 nexus3.edgexfoundry.org:10002 11:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:36 Configure a credential helper to remove this warning. See 11:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:36 11:06:36 Login Succeeded 11:06:36 nexus3.edgexfoundry.org:10003 11:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:36 Configure a credential helper to remove this warning. See 11:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:36 11:06:36 Login Succeeded 11:06:36 nexus3.edgexfoundry.org:10004 11:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:36 Configure a credential helper to remove this warning. See 11:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:36 11:06:36 Login Succeeded 11:06:36 docker.io 11:06:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:36 Configure a credential helper to remove this warning. See 11:06:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:36 11:06:36 Login Succeeded 11:06:36 ---> docker-login.sh ends [Pipeline] } 11:06:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:37 + git rev-list -1 --merges e9128a620a545a886d812ca9b36d20326750cce5~1..e9128a620a545a886d812ca9b36d20326750cce5 [Pipeline] echo 11:06:37 -----------> git rev-list -1 --merges e9128a620a545a886d812ca9b36d20326750cce5~1..e9128a620a545a886d812ca9b36d20326750cce5 e9128a620a545a886d812ca9b36d20326750cce5 [false] [Pipeline] sh 11:06:37 + git log --format=format:%s -1 e9128a620a545a886d812ca9b36d20326750cce5 [Pipeline] echo 11:06:37 ========================================================= 11:06:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:38 + git log --format=format:%s -1 e9128a620a545a886d812ca9b36d20326750cce5 [Pipeline] echo 11:06:38 [semverPrep] GIT_COMMIT: e9128a620a545a886d812ca9b36d20326750cce5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:06:38 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:38 + grep -v github /etc/ssh/ssh_known_hosts 11:06:38 + [ -e /tmp/ssh_known_hosts ] 11:06:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:38 + sudo tee -a /etc/ssh/ssh_known_hosts 11:06:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:39 11:06:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:39 0.1.4: Pulling from edgex-devops/py-git-semver 11:06:39 b85a868b505f: Pulling fs layer 11:06:39 e2be974225ed: Pulling fs layer 11:06:39 339a4e72a1f5: Pulling fs layer 11:06:39 988bab9f4d93: Pulling fs layer 11:06:39 1469e6f7b9e6: Pulling fs layer 11:06:39 eaf3925da568: Pulling fs layer 11:06:39 bab4dde63d76: Pulling fs layer 11:06:39 bde34c3a00c8: Pulling fs layer 11:06:39 b352a97aabf1: Pulling fs layer 11:06:39 4872d77fe225: Pulling fs layer 11:06:39 5851b861e8e6: Pulling fs layer 11:06:39 bab4dde63d76: Waiting 11:06:39 bde34c3a00c8: Waiting 11:06:39 b352a97aabf1: Waiting 11:06:39 4872d77fe225: Waiting 11:06:39 1469e6f7b9e6: Waiting 11:06:39 eaf3925da568: Waiting 11:06:39 e2be974225ed: Verifying Checksum 11:06:39 e2be974225ed: Download complete 11:06:39 988bab9f4d93: Verifying Checksum 11:06:39 1469e6f7b9e6: Verifying Checksum 11:06:39 1469e6f7b9e6: Download complete 11:06:39 339a4e72a1f5: Verifying Checksum 11:06:39 339a4e72a1f5: Download complete 11:06:39 eaf3925da568: Verifying Checksum 11:06:39 eaf3925da568: Download complete 11:06:39 bde34c3a00c8: Verifying Checksum 11:06:39 bde34c3a00c8: Download complete 11:06:39 b352a97aabf1: Download complete 11:06:39 4872d77fe225: Verifying Checksum 11:06:39 4872d77fe225: Download complete 11:06:39 5851b861e8e6: Verifying Checksum 11:06:39 5851b861e8e6: Download complete 11:06:39 b85a868b505f: Download complete 11:06:40 bab4dde63d76: Verifying Checksum 11:06:40 bab4dde63d76: Download complete 11:06:40 b85a868b505f: Pull complete 11:06:41 e2be974225ed: Pull complete 11:06:41 339a4e72a1f5: Pull complete 11:06:41 988bab9f4d93: Pull complete 11:06:42 1469e6f7b9e6: Pull complete 11:06:42 eaf3925da568: Pull complete 11:06:43 bab4dde63d76: Pull complete 11:06:43 bde34c3a00c8: Pull complete 11:06:43 b352a97aabf1: Pull complete 11:06:44 4872d77fe225: Pull complete 11:06:44 5851b861e8e6: Pull complete 11:06:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:06:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:44 prd-ubuntu20.04-docker-8c-8g-5790 does not seem to be running inside a container 11:06:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-426 -v /w/workspace/foundry_device-virtual-go_PR-426:/w/workspace/foundry_device-virtual-go_PR-426:rw,z -v /w/workspace/foundry_device-virtual-go_PR-426@tmp:/w/workspace/foundry_device-virtual-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:06:47 $ docker top baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 -eo pid,comm 11:06:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:06:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:47 [ssh-agent] Looking for ssh-agent implementation... 11:06:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:47 $ docker exec baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 ssh-agent 11:06:47 SSH_AUTH_SOCK=/tmp/ssh-Fpqa4uVXxl5s/agent.33 11:06:47 SSH_AGENT_PID=39 11:06:47 Running ssh-add (command line suppressed) 11:06:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-426@tmp/private_key_11299678343725518949.key (/w/workspace/foundry_device-virtual-go_PR-426@tmp/private_key_11299678343725518949.key) 11:06:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:48 + git tag --points-at HEAD [Pipeline] } 11:06:48 $ docker exec --env ******** --env ******** baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 ssh-agent -k 11:06:48 unset SSH_AUTH_SOCK; 11:06:48 unset SSH_AGENT_PID; 11:06:48 echo Agent pid 39 killed; 11:06:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:48 [ssh-agent] Looking for ssh-agent implementation... 11:06:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:48 $ docker exec baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 ssh-agent 11:06:48 SSH_AUTH_SOCK=/tmp/ssh-JC55UAWzzaSK/agent.71 11:06:48 SSH_AGENT_PID=77 11:06:48 Running ssh-add (command line suppressed) 11:06:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-426@tmp/private_key_2971192977621639767.key (/w/workspace/foundry_device-virtual-go_PR-426@tmp/private_key_2971192977621639767.key) 11:06:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:49 + git semver init 11:06:49 2023-09-11 11:06:49,277 [run_init] DEBUG init version:0.0.0 force:False 11:06:49 2023-09-11 11:06:49,278 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-426/.semver 11:06:49 2023-09-11 11:06:49,279 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-426/.semver 11:06:49 2023-09-11 11:06:49,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-426/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-426, universal_newlines=False, shell=None, istream=None) 11:06:50 2023-09-11 11:06:50,345 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-426/.git/info/exclude 11:06:50 2023-09-11 11:06:50,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-426/.semver/PR-426 with force:False 11:06:50 2023-09-11 11:06:50,347 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-426/.semver/PR-426 11:06:50 2023-09-11 11:06:50,351 [execute] INFO git cat-file --batch-check 11:06:50 2023-09-11 11:06:50,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) 11:06:50 2023-09-11 11:06:50,356 [execute] INFO git cat-file --batch 11:06:50 2023-09-11 11:06:50,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-426/.semver, universal_newlines=False, shell=None, istream=) 11:06:50 2023-09-11 11:06:50,362 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-426/.semver/PR-426 11:06:50 0.0.0 [Pipeline] } 11:06:50 $ docker exec --env ******** --env ******** baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 ssh-agent -k 11:06:50 unset SSH_AUTH_SOCK; 11:06:50 unset SSH_AGENT_PID; 11:06:50 echo Agent pid 77 killed; 11:06:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:51 + git semver [Pipeline] } 11:06:51 $ docker stop --time=1 baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 11:06:52 $ docker rm -f --volumes baedacda4f2b1d50d9465d5785b02b8812889fc6a126769f785953900fa5ba47 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:53 Stashed 1 file(s) [Pipeline] echo 11:06:53 [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:54 provisioning config files... 11:06:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-426@tmp/config7670864150299094635tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:54 ---> docker-login.sh 11:06:54 nexus3.edgexfoundry.org:10001 11:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:54 Configure a credential helper to remove this warning. See 11:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:54 11:06:54 Login Succeeded 11:06:54 nexus3.edgexfoundry.org:10002 11:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:54 Configure a credential helper to remove this warning. See 11:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:54 11:06:54 Login Succeeded 11:06:54 nexus3.edgexfoundry.org:10003 11:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:54 Configure a credential helper to remove this warning. See 11:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:54 11:06:54 Login Succeeded 11:06:54 nexus3.edgexfoundry.org:10004 11:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:54 Configure a credential helper to remove this warning. See 11:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:54 11:06:54 Login Succeeded 11:06:54 docker.io 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 ---> docker-login.sh ends [Pipeline] } 11:06:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:55 ========================================================= 11:06:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:06:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:06:56 Sending build context to Docker daemon 23.6MB 11:06:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:06:56 Step 2/12 : FROM ${BASE} AS builder 11:06:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:56 4db1b89c0bd1: Pulling fs layer 11:06:56 6911f1a30b25: Pulling fs layer 11:06:56 e194b8c5c2a9: Pulling fs layer 11:06:56 6863d3e3a2b1: Pulling fs layer 11:06:56 ec0bb842ea78: Pulling fs layer 11:06:56 40a00589a448: Pulling fs layer 11:06:56 ec0bb842ea78: Waiting 11:06:56 40a00589a448: Waiting 11:06:56 6863d3e3a2b1: Waiting 11:06:56 6c08303d61cc: Pulling fs layer 11:06:56 798269fcf238: Pulling fs layer 11:06:56 6c08303d61cc: Waiting 11:06:56 798269fcf238: Waiting 11:06:56 6911f1a30b25: Verifying Checksum 11:06:56 6911f1a30b25: Download complete 11:06:56 6863d3e3a2b1: Verifying Checksum 11:06:56 6863d3e3a2b1: Download complete 11:06:56 ec0bb842ea78: Download complete 11:06:56 4db1b89c0bd1: Verifying Checksum 11:06:56 4db1b89c0bd1: Download complete 11:06:56 40a00589a448: Download complete 11:06:56 4db1b89c0bd1: Pull complete 11:06:56 6911f1a30b25: Pull complete 11:06:57 798269fcf238: Verifying Checksum 11:06:57 798269fcf238: Download complete 11:06:57 e194b8c5c2a9: Download complete 11:06:57 6c08303d61cc: Verifying Checksum 11:06:57 6c08303d61cc: Download complete 11:07:00 e194b8c5c2a9: Pull complete 11:07:00 6863d3e3a2b1: Pull complete 11:07:00 ec0bb842ea78: Pull complete 11:07:00 40a00589a448: Pull complete 11:07:03 6c08303d61cc: Pull complete 11:07:03 798269fcf238: Pull complete 11:07:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 11:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:07:04 ---> ec979cd7f677 11:07:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:07:09 Still waiting to schedule task 11:07:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:07:09 ---> Running in 3709099398a3 11:07:09 Removing intermediate container 3709099398a3 11:07:09 ---> 1a3507312fbd 11:07:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:07:09 ---> Running in 0d8abab25ac7 11:07:09 Removing intermediate container 0d8abab25ac7 11:07:09 ---> 7b71186ae776 11:07:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:07:09 ---> Running in e919ebf80b9a 11:07:09 Removing intermediate container e919ebf80b9a 11:07:09 ---> 28d25337220c 11:07:09 Step 6/12 : WORKDIR /device-virtual-go 11:07:09 ---> Running in 588f5c96e3b6 11:07:09 Removing intermediate container 588f5c96e3b6 11:07:09 ---> f3f7ec25e657 11:07:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:09 ---> Running in 49dc4f493c29 11:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:07:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:07:10 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:07:10 (2/4) Installing libedit (20221030.3.1-r0) 11:07:10 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:07:10 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:07:10 Executing busybox-1.35.0-r29.trigger 11:07:10 OK: 269 MiB in 57 packages 11:07:10 Removing intermediate container 49dc4f493c29 11:07:10 ---> fa0a5d01629e 11:07:10 Step 8/12 : COPY go.mod vendor* ./ 11:07:10 ---> 57cb47aa0f02 11:07:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:10 ---> Running in b65adf163e8c 11:07:49 Removing intermediate container b65adf163e8c 11:07:49 ---> d1f8f5db810a 11:07:49 Step 10/12 : COPY . . 11:07:49 ---> 7a8705eccec1 11:07:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:07:49 ---> Running in 79863f4cf005 11:07:49 Removing intermediate container 79863f4cf005 11:07:49 ---> bd6f43914ecc 11:07:49 Step 12/12 : RUN $MAKE 11:07:49 ---> Running in 36219cdc4271 11:07:50 noop 11:07:50 Removing intermediate container 36219cdc4271 11:07:50 ---> 31118da54425 11:07:50 Successfully built 31118da54425 11:07:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:50 + docker inspect -f . ci-base-image-x86_64 11:07:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:50 prd-ubuntu20.04-docker-8c-8g-5790 does not seem to be running inside a container 11:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-426 -v /w/workspace/foundry_device-virtual-go_PR-426:/w/workspace/foundry_device-virtual-go_PR-426:rw,z -v /w/workspace/foundry_device-virtual-go_PR-426@tmp:/w/workspace/foundry_device-virtual-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:07:51 $ docker top f82fdcf778071af8f6545fefcd46cbf245c696a37f743bf91bf16e95d9fc4603 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:51 + go version 11:07:51 go version go1.20.6 linux/amd64 [Pipeline] } 11:07:51 $ docker stop --time=1 f82fdcf778071af8f6545fefcd46cbf245c696a37f743bf91bf16e95d9fc4603 11:07:53 $ docker rm -f --volumes f82fdcf778071af8f6545fefcd46cbf245c696a37f743bf91bf16e95d9fc4603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:53 + docker inspect -f . ci-base-image-x86_64 11:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:53 prd-ubuntu20.04-docker-8c-8g-5790 does not seem to be running inside a container 11:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-426 -v /w/workspace/foundry_device-virtual-go_PR-426:/w/workspace/foundry_device-virtual-go_PR-426:rw,z -v /w/workspace/foundry_device-virtual-go_PR-426@tmp:/w/workspace/foundry_device-virtual-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:07:54 $ docker top 47c025ec6b4b27c10dac20f6c922027a2eabf41c4aaab8210d8f924cea501183 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:54 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-426 [Pipeline] fileExists [Pipeline] sh 11:07:54 + make test 11:07:54 go test ./... -coverprofile=coverage.out 11:08:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:08:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:08:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:08:14 go vet ./... 11:08:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:08:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:08:18 ./bin/test-attribution-txt.sh 11:08:18 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 11:08:18 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 11:08:18 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 11:08:18 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 11:08:18 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 11:08:18 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 11:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:08:18 $ docker stop --time=1 47c025ec6b4b27c10dac20f6c922027a2eabf41c4aaab8210d8f924cea501183 11:08:21 $ docker rm -f --volumes 47c025ec6b4b27c10dac20f6c922027a2eabf41c4aaab8210d8f924cea501183 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:08:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:08:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:08:23 + ls -al . 11:08:23 total 204 11:08:23 drwxrwxr-x 9 jenkins jenkins 4096 Sep 11 11:07 . 11:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:06 .. 11:08:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:06 .git 11:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:06 .github 11:08:23 -rw-rw-r-- 1 jenkins jenkins 337 Sep 11 11:06 .gitignore 11:08:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 11:06 .golangci.yml 11:08:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 11:06 .semver 11:08:23 -rw-rw-r-- 1 jenkins jenkins 8950 Sep 11 11:06 Attribution.txt 11:08:23 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 11 11:06 CHANGELOG.md 11:08:23 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 11 11:06 Dockerfile 11:08:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 11:06 GOVERNANCE.md 11:08:23 -rw-rw-r-- 1 jenkins jenkins 660 Sep 11 11:06 Jenkinsfile 11:08:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 11:06 LICENSE 11:08:23 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 11 11:06 Makefile 11:08:23 -rw-rw-r-- 1 jenkins jenkins 623 Sep 11 11:06 OWNERS.md 11:08:23 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 11 11:06 README.md 11:08:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 11:06 VERSION 11:08:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 11:06 bin 11:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:06 cmd 11:08:23 -rw-r--r-- 1 jenkins jenkins 43063 Sep 11 11:08 coverage.out 11:08:23 -rw-rw-r-- 1 jenkins jenkins 3636 Sep 11 11:06 go.mod 11:08:23 -rw-rw-r-- 1 jenkins jenkins 33427 Sep 11 11:06 go.sum 11:08:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:06 internal 11:08:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:06 snap 11:08:23 -rw-rw-r-- 1 jenkins jenkins 235 Sep 11 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:23 + 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=e9128a620a545a886d812ca9b36d20326750cce5 --label arch=amd64 --label version=0.0.0 . 11:08:23 Sending build context to Docker daemon 23.64MB 11:08:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:08:23 Step 2/25 : FROM ${BASE} AS builder 11:08:23 ---> 31118da54425 11:08:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:08:23 ---> Running in fdf89c896076 11:08:23 Removing intermediate container fdf89c896076 11:08:23 ---> 95bcedc6e520 11:08:23 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:08:23 ---> Running in 449e1b041f2e 11:08:23 Removing intermediate container 449e1b041f2e 11:08:23 ---> dee02e6cd417 11:08:23 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:08:23 ---> Running in 8fd4dac11d12 11:08:23 Removing intermediate container 8fd4dac11d12 11:08:23 ---> a77a3698625d 11:08:23 Step 6/25 : WORKDIR /device-virtual-go 11:08:23 ---> Running in 2807fffa7a20 11:08:23 Removing intermediate container 2807fffa7a20 11:08:23 ---> 87a828e6ebb9 11:08:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:23 ---> Running in c518d2512b05 11:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:08:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:08:24 OK: 269 MiB in 57 packages 11:08:24 Removing intermediate container c518d2512b05 11:08:24 ---> 0cae412dd7e4 11:08:24 Step 8/25 : COPY go.mod vendor* ./ 11:08:25 ---> c5f7db3b54ad 11:08:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:25 ---> Running in a38348645abb 11:08:26 Removing intermediate container a38348645abb 11:08:26 ---> 220aac4ddb63 11:08:26 Step 10/25 : COPY . . 11:08:26 ---> 4b5b8018a558 11:08:26 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:26 ---> Running in 4421048715fe 11:08:26 Removing intermediate container 4421048715fe 11:08:26 ---> 227768510123 11:08:26 Step 12/25 : RUN $MAKE 11:08:26 ---> Running in 874dd6078a72 11:08:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:08:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5791 in /w/workspace/foundry_device-virtual-go_PR-426 [Pipeline] { [Pipeline] ws 11:08:32 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:08:32 The recommended git tool is: git 11:08:37 using credential edgex-jenkins-ssh 11:08:37 Cloning the remote Git repository 11:08:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:08:37 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:08:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:37 > git --version # timeout=10 11:08:37 > git --version # 'git version 2.25.1' 11:08:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:40 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/426/head:refs/remotes/origin/PR-426 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:08:41 Merging remotes/origin/main commit ed857253c333b25bd607939277ad976310c7a90d into PR head commit e9128a620a545a886d812ca9b36d20326750cce5 11:08:41 Merge succeeded, producing e9128a620a545a886d812ca9b36d20326750cce5 11:08:41 Checking out Revision e9128a620a545a886d812ca9b36d20326750cce5 (PR-426) 11:08:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:08:42 > git --version # timeout=10 11:08:42 > git --version # 'git version 2.25.1' 11:08:42 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 11:08:41 > git config core.sparsecheckout # timeout=10 11:08:41 > git checkout -f e9128a620a545a886d812ca9b36d20326750cce5 # timeout=10 11:08:41 > git remote # timeout=10 11:08:41 > git config --get remote.origin.url # timeout=10 11:08:41 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:41 > git merge ed857253c333b25bd607939277ad976310c7a90d # timeout=10 11:08:41 > git rev-parse HEAD^{commit} # timeout=10 11:08:41 > git config core.sparsecheckout # timeout=10 11:08:41 > git checkout -f e9128a620a545a886d812ca9b36d20326750cce5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:08:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:08:43 % Total % Received % Xferd Average Speed Time Time Time Current 11:08:43 Dload Upload Total Spent Left Speed 11:08:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 11:08:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:08:44 + sudo tee /etc/docker/daemon.new 11:08:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:08:44 { 11:08:44 "registry-mirrors": [ 11:08:44 "https://nexus3.edgexfoundry.org:10001" 11:08:44 ], 11:08:44 "bip": "10.250.0.254/24", 11:08:44 "hosts": [ 11:08:44 "tcp://0.0.0.0:5555", 11:08:44 "unix:///var/run/docker.sock" 11:08:44 ], 11:08:44 "mtu": 1458, 11:08:44 "selinux-enabled": true, 11:08:44 "seccomp-profile": "/etc/docker/seccomp.json" 11:08:44 } [Pipeline] sh 11:08:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:08:44 + sudo service docker restart 11:08:49 Removing intermediate container 874dd6078a72 11:08:49 ---> e9e2b1200444 11:08:49 Step 13/25 : FROM alpine:3.17 11:08:49 3.17: Pulling from library/alpine 11:08:49 9398808236ff: Pulling fs layer 11:08:49 9398808236ff: Verifying Checksum 11:08:49 9398808236ff: Download complete 11:08:49 9398808236ff: Pull complete 11:08:49 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:08:49 Status: Downloaded newer image for alpine:3.17 11:08:49 ---> 1e0b8b5322fc 11:08:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:08:49 ---> Running in 71c81b18efa8 11:08:49 Removing intermediate container 71c81b18efa8 11:08:49 ---> 21782e30e985 11:08:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:08:49 ---> Running in a30b65b35dbf 11:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:08:49 (1/1) Installing dumb-init (1.2.5-r2) 11:08:49 Executing busybox-1.35.0-r29.trigger 11:08:49 OK: 7 MiB in 16 packages 11:08:49 Removing intermediate container a30b65b35dbf 11:08:49 ---> 1b0056e65e42 11:08:49 Step 16/25 : WORKDIR / 11:08:49 ---> Running in 054e80ffcbb0 11:08:49 Removing intermediate container 054e80ffcbb0 11:08:49 ---> 0357bd6abc6f 11:08:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:08:49 ---> 9cc81c8d50f3 11:08:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:08:49 ---> 72f7203577d4 11:08:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:08:49 ---> 9d2fccd608c1 11:08:49 Step 20/25 : EXPOSE 59900 11:08:49 ---> Running in 6855735db73d 11:08:49 Removing intermediate container 6855735db73d 11:08:49 ---> 63e234c8047a 11:08:49 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:08:49 ---> Running in bdbbe9af062e 11:08:49 Removing intermediate container bdbbe9af062e 11:08:49 ---> 0cd8852c48b8 11:08:49 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:08:49 ---> Running in 026ed2f02bf6 11:08:49 Removing intermediate container 026ed2f02bf6 11:08:49 ---> 9ba96c5d460c 11:08:49 Step 23/25 : LABEL arch=amd64 11:08:49 ---> Running in 532b47a9cc82 11:08:49 Removing intermediate container 532b47a9cc82 11:08:49 ---> b91730dc9d7a 11:08:49 Step 24/25 : LABEL git_sha=e9128a620a545a886d812ca9b36d20326750cce5 11:08:49 ---> Running in 2fdff96c166c 11:08:49 Removing intermediate container 2fdff96c166c 11:08:49 ---> 96039b81790f 11:08:49 Step 25/25 : LABEL version=0.0.0 11:08:49 ---> Running in a5b71b1bafd5 11:08:49 Removing intermediate container a5b71b1bafd5 11:08:49 ---> 79b713ee400c 11:08:49 [Warning] One or more build-args [ARCH] were not consumed 11:08:49 Successfully built 79b713ee400c 11:08:49 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 11:08:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:50 11:08:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:50 latest: Pulling from edgex-lftools-log-publisher 11:08:50 5eb5b503b376: Pulling fs layer 11:08:50 5c69ac0246d0: Pulling fs layer 11:08:50 ec43610c2a17: Pulling fs layer 11:08:50 3a2ae6a8a46f: Pulling fs layer 11:08:50 33b1e0a273af: Pulling fs layer 11:08:50 5d3b04190fa2: Pulling fs layer 11:08:50 2f39f015ded8: Pulling fs layer 11:08:50 33b1e0a273af: Waiting 11:08:50 5d3b04190fa2: Waiting 11:08:50 3a2ae6a8a46f: Waiting 11:08:50 2f39f015ded8: Waiting 11:08:50 5c69ac0246d0: Download complete 11:08:50 3a2ae6a8a46f: Download complete 11:08:50 33b1e0a273af: Verifying Checksum 11:08:50 33b1e0a273af: Download complete 11:08:50 5d3b04190fa2: Verifying Checksum 11:08:50 5d3b04190fa2: Download complete 11:08:50 ec43610c2a17: Verifying Checksum 11:08:50 ec43610c2a17: Download complete 11:08:50 5eb5b503b376: Verifying Checksum 11:08:50 5eb5b503b376: Download complete 11:08:51 2f39f015ded8: Download complete 11:08:52 5eb5b503b376: Pull complete 11:08:52 5c69ac0246d0: Pull complete 11:08:52 ec43610c2a17: Pull complete 11:08:52 3a2ae6a8a46f: Pull complete 11:08:52 33b1e0a273af: Pull complete 11:08:52 5d3b04190fa2: Pull complete 11:08:57 2f39f015ded8: Pull complete 11:08:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:57 prd-ubuntu20.04-docker-8c-8g-5790 does not seem to be running inside a container 11:08:57 $ 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-426 -v /w/workspace/foundry_device-virtual-go_PR-426:/w/workspace/foundry_device-virtual-go_PR-426:rw,z -v /w/workspace/foundry_device-virtual-go_PR-426@tmp:/w/workspace/foundry_device-virtual-go_PR-426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:09:01 $ docker top 3f991e255d0b583ea754413ef7be6bc04f93e8df962bfe6f4fbf4c8854245ccb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:02 ---> job-cost.sh 11:09:02 lf-activate-venv: SKIPPING 11:09:02 INFO: No Stack... 11:09:02 INFO: Retrieving Pricing Info for: v3-standard-8 11:09:02 INFO: Archiving Costs [Pipeline] sh 11:09:02 + cat /w/workspace/foundry_device-virtual-go_PR-426/archives/cost.csv 11:09:02 + cut -d, -f6 [Pipeline] lock 11:09:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] 11:09:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] did not exist. Created. 11:09:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:03 provisioning config files... 11:09:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config15145623077827968364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:03 + echo total: 0.2199999988079071 [Pipeline] stash 11:09:03 Stashed 1 file(s) [Pipeline] } 11:09:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:09:03 $ docker stop --time=1 3f991e255d0b583ea754413ef7be6bc04f93e8df962bfe6f4fbf4c8854245ccb 11:09:03 ---> docker-login.sh 11:09:03 nexus3.edgexfoundry.org:10001 11:09:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:04 Configure a credential helper to remove this warning. See 11:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:04 11:09:04 Login Succeeded 11:09:04 nexus3.edgexfoundry.org:10002 11:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:04 Configure a credential helper to remove this warning. See 11:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:04 11:09:04 Login Succeeded 11:09:04 nexus3.edgexfoundry.org:10003 11:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:04 $ docker rm -f --volumes 3f991e255d0b583ea754413ef7be6bc04f93e8df962bfe6f4fbf4c8854245ccb [Pipeline] // withDockerContainer [Pipeline] } 11:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:04 Configure a credential helper to remove this warning. See 11:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:04 11:09:04 Login Succeeded 11:09:04 nexus3.edgexfoundry.org:10004 [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:09:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:05 Configure a credential helper to remove this warning. See 11:09:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:05 11:09:05 Login Succeeded 11:09:05 docker.io 11:09:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:05 Configure a credential helper to remove this warning. See 11:09:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:05 11:09:05 Login Succeeded 11:09:05 ---> docker-login.sh ends [Pipeline] } 11:09:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:06 ========================================================= 11:09:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:09:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:09:07 Sending build context to Docker daemon 11.94MB 11:09:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:09:07 Step 2/12 : FROM ${BASE} AS builder 11:09:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:07 edb6bdbacee9: Pulling fs layer 11:09:07 5f9638ab2659: Pulling fs layer 11:09:07 8d51d6327a98: Pulling fs layer 11:09:07 8b374f2dd631: Pulling fs layer 11:09:07 ec14aa9079de: Pulling fs layer 11:09:07 2f466654f4bb: Pulling fs layer 11:09:07 554e91adad29: Pulling fs layer 11:09:07 8b374f2dd631: Waiting 11:09:07 ec14aa9079de: Waiting 11:09:07 2f466654f4bb: Waiting 11:09:07 554e91adad29: Waiting 11:09:07 5f9638ab2659: Download complete 11:09:07 8b374f2dd631: Verifying Checksum 11:09:07 8b374f2dd631: Download complete 11:09:07 ec14aa9079de: Download complete 11:09:07 edb6bdbacee9: Verifying Checksum 11:09:08 edb6bdbacee9: Pull complete 11:09:08 554e91adad29: Verifying Checksum 11:09:08 554e91adad29: Download complete 11:09:09 8d51d6327a98: Verifying Checksum 11:09:09 8d51d6327a98: Download complete 11:09:09 2f466654f4bb: Verifying Checksum 11:09:09 2f466654f4bb: Download complete 11:09:11 5f9638ab2659: Pull complete 11:09:26 8d51d6327a98: Pull complete 11:09:26 8b374f2dd631: Pull complete 11:09:26 ec14aa9079de: Pull complete 11:09:31 2f466654f4bb: Pull complete 11:09:33 554e91adad29: Pull complete 11:09:33 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 11:09:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:09:33 ---> 1e15ea492957 11:09:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:09:35 ---> Running in 76834cabd9fc 11:09:35 Removing intermediate container 76834cabd9fc 11:09:35 ---> 4b07cbe4da8e 11:09:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:09:35 ---> Running in e10b76d6f792 11:09:35 Removing intermediate container e10b76d6f792 11:09:35 ---> 92f113760154 11:09:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:09:36 ---> Running in 76d2f0e05a28 11:09:36 Removing intermediate container 76d2f0e05a28 11:09:36 ---> b54611cdc4a6 11:09:36 Step 6/12 : WORKDIR /device-virtual-go 11:09:36 ---> Running in 9d5f5c507ee9 11:09:36 Removing intermediate container 9d5f5c507ee9 11:09:36 ---> 76c0562fcbd4 11:09:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:37 ---> Running in 2d9b5af0346f 11:09:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:09:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:09:39 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:09:39 (2/4) Installing libedit (20221030.3.1-r0) 11:09:39 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:09:39 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:09:39 Executing busybox-1.35.0-r29.trigger 11:09:39 OK: 268 MiB in 57 packages 11:09:40 Removing intermediate container 2d9b5af0346f 11:09:40 ---> 1a1822997c49 11:09:40 Step 8/12 : COPY go.mod vendor* ./ 11:09:41 ---> cd307dd6aafd 11:09:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:09:41 ---> Running in 8bf3e7dcc552 11:11:17 Removing intermediate container 8bf3e7dcc552 11:11:17 ---> 2977494e4f90 11:11:17 Step 10/12 : COPY . . 11:11:17 ---> 14a0a07eabcc 11:11:17 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:17 ---> Running in d1e9874d0678 11:11:17 Removing intermediate container d1e9874d0678 11:11:17 ---> e2648af048f1 11:11:17 Step 12/12 : RUN $MAKE 11:11:17 ---> Running in e2703f7d5e66 11:11:17 noop 11:11:17 Removing intermediate container e2703f7d5e66 11:11:17 ---> 5216f7e4e9d8 11:11:17 Successfully built 5216f7e4e9d8 11:11:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:18 + docker inspect -f . ci-base-image-arm64 11:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:18 prd-ubuntu20.04-docker-arm64-4c-16g-5791 does not seem to be running inside a container 11:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:11:19 $ docker top d997b872a632d64f12a4522812ed04ccdf7088ac6e8ca6b731d973c0b09c01fc -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:20 + go version 11:11:20 go version go1.20.6 linux/arm64 [Pipeline] } 11:11:20 $ docker stop --time=1 d997b872a632d64f12a4522812ed04ccdf7088ac6e8ca6b731d973c0b09c01fc 11:11:22 $ docker rm -f --volumes d997b872a632d64f12a4522812ed04ccdf7088ac6e8ca6b731d973c0b09c01fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:23 + docker inspect -f . ci-base-image-arm64 11:11:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:23 prd-ubuntu20.04-docker-arm64-4c-16g-5791 does not seem to be running inside a container 11:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:11:26 $ docker top c09debf0d100e053249ee216e73dea31b181620a56a9624bd0b4286a67e36c14 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:27 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:11:27 + make test 11:11:27 go test ./... -coverprofile=coverage.out 11:12:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:13:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:13:52 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements 11:13:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:13:53 go vet ./... 11:14:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:14:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:14:19 ./bin/test-attribution-txt.sh 11:14:19 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 11:14:19 An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add 11:14:19 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 11:14:19 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 11:14:19 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 11:14:19 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 11:14:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:14:20 $ docker stop --time=1 c09debf0d100e053249ee216e73dea31b181620a56a9624bd0b4286a67e36c14 11:14:22 $ docker rm -f --volumes c09debf0d100e053249ee216e73dea31b181620a56a9624bd0b4286a67e36c14 [Pipeline] // withDockerContainer [Pipeline] sh 11:14:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:14:23 Warning: overwriting stash ‘coverage-report’ 11:14:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:14:25 + ls -al . 11:14:25 total 200 11:14:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:11 . 11:14:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:08 .. 11:14:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 11 11:08 .git 11:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:08 .github 11:14:25 -rw-rw-r-- 1 jenkins jenkins 337 Sep 11 11:08 .gitignore 11:14:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 11 11:08 .golangci.yml 11:14:25 -rw-rw-r-- 1 jenkins jenkins 8950 Sep 11 11:08 Attribution.txt 11:14:25 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 11 11:08 CHANGELOG.md 11:14:25 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 11 11:08 Dockerfile 11:14:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 11 11:08 GOVERNANCE.md 11:14:25 -rw-rw-r-- 1 jenkins jenkins 660 Sep 11 11:08 Jenkinsfile 11:14:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 11 11:08 LICENSE 11:14:25 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 11 11:08 Makefile 11:14:25 -rw-rw-r-- 1 jenkins jenkins 623 Sep 11 11:08 OWNERS.md 11:14:25 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 11 11:08 README.md 11:14:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 11 11:06 VERSION 11:14:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 11 11:08 bin 11:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:08 cmd 11:14:25 -rw-r--r-- 1 jenkins jenkins 43063 Sep 11 11:13 coverage.out 11:14:25 -rw-rw-r-- 1 jenkins jenkins 3636 Sep 11 11:08 go.mod 11:14:25 -rw-rw-r-- 1 jenkins jenkins 33427 Sep 11 11:08 go.sum 11:14:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 11 11:08 internal 11:14:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 11 11:08 snap 11:14:25 -rw-rw-r-- 1 jenkins jenkins 235 Sep 11 11:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:25 + 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=e9128a620a545a886d812ca9b36d20326750cce5 --label arch=arm64 --label version=0.0.0 . 11:14:25 Sending build context to Docker daemon 11.98MB 11:14:25 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:14:25 Step 2/25 : FROM ${BASE} AS builder 11:14:25 ---> 5216f7e4e9d8 11:14:25 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:14:26 ---> Running in 76057d89a5a8 11:14:26 Removing intermediate container 76057d89a5a8 11:14:26 ---> da9068a8f789 11:14:26 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:14:26 ---> Running in 0a7618a32813 11:14:26 Removing intermediate container 0a7618a32813 11:14:26 ---> ff18adf0f3c5 11:14:26 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:14:26 ---> Running in 20a3c2ada706 11:14:27 Removing intermediate container 20a3c2ada706 11:14:27 ---> 3bd10bf87b44 11:14:27 Step 6/25 : WORKDIR /device-virtual-go 11:14:27 ---> Running in f5317a0936fe 11:14:27 Removing intermediate container f5317a0936fe 11:14:27 ---> d77e511dc0dd 11:14:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:27 ---> Running in 1738ff3bfcf0 11:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:14:30 OK: 268 MiB in 57 packages 11:14:31 Removing intermediate container 1738ff3bfcf0 11:14:31 ---> f06d0afc6816 11:14:31 Step 8/25 : COPY go.mod vendor* ./ 11:14:31 ---> f75ba0d74a9d 11:14:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:31 ---> Running in 7e700347ad0d 11:14:34 Removing intermediate container 7e700347ad0d 11:14:34 ---> 5cba2070a31d 11:14:34 Step 10/25 : COPY . . 11:14:36 ---> 50160b696176 11:14:36 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:14:36 ---> Running in 618734ef51ac 11:14:36 Removing intermediate container 618734ef51ac 11:14:36 ---> 6bc7519a7596 11:14:36 Step 12/25 : RUN $MAKE 11:14:36 ---> Running in d4ec7c7dd2b6 11:14:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:16:43 Removing intermediate container d4ec7c7dd2b6 11:16:43 ---> db8100411166 11:16:43 Step 13/25 : FROM alpine:3.17 11:16:43 3.17: Pulling from library/alpine 11:16:43 4060ece20d7a: Pulling fs layer 11:16:43 4060ece20d7a: Verifying Checksum 11:16:43 4060ece20d7a: Download complete 11:16:44 4060ece20d7a: Pull complete 11:16:44 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 11:16:44 Status: Downloaded newer image for alpine:3.17 11:16:44 ---> 8650cd65339b 11:16:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:16:44 ---> Running in e3d1d99533a4 11:16:45 Removing intermediate container e3d1d99533a4 11:16:45 ---> fbf6cb3ef107 11:16:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:16:45 ---> Running in 70b17f7000b2 11:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:16:47 (1/1) Installing dumb-init (1.2.5-r2) 11:16:47 Executing busybox-1.35.0-r29.trigger 11:16:47 OK: 8 MiB in 16 packages 11:16:48 Removing intermediate container 70b17f7000b2 11:16:48 ---> 4e44a1069f50 11:16:48 Step 16/25 : WORKDIR / 11:16:48 ---> Running in 7982662935cb 11:16:48 Removing intermediate container 7982662935cb 11:16:48 ---> 9e7522b9fadd 11:16:48 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:16:49 ---> c9f247f2e236 11:16:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:16:49 ---> 04f77c00472a 11:16:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:16:51 ---> 2cc1b1d5c210 11:16:51 Step 20/25 : EXPOSE 59900 11:16:51 ---> Running in fcbd27ef40dd 11:16:51 Removing intermediate container fcbd27ef40dd 11:16:51 ---> 821893196bd8 11:16:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:16:51 ---> Running in 1fd30209c934 11:16:51 Removing intermediate container 1fd30209c934 11:16:51 ---> a2dcabf920cd 11:16:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:16:51 ---> Running in 5c83e61160bd 11:16:52 Removing intermediate container 5c83e61160bd 11:16:52 ---> 2e2c9a6d53ff 11:16:52 Step 23/25 : LABEL arch=arm64 11:16:52 ---> Running in c2a3bb49e6a8 11:16:52 Removing intermediate container c2a3bb49e6a8 11:16:52 ---> e16240367c81 11:16:52 Step 24/25 : LABEL git_sha=e9128a620a545a886d812ca9b36d20326750cce5 11:16:52 ---> Running in 704259c60498 11:16:52 Removing intermediate container 704259c60498 11:16:52 ---> 050735919736 11:16:52 Step 25/25 : LABEL version=0.0.0 11:16:52 ---> Running in 394aabad3a8c 11:16:53 Removing intermediate container 394aabad3a8c 11:16:53 ---> f546779d884e 11:16:53 [Warning] One or more build-args [ARCH] were not consumed 11:16:53 Successfully built f546779d884e 11:16:53 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 11:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:53 11:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:54 arm64: Pulling from edgex-lftools-log-publisher 11:16:54 8998bd30e6a1: Pulling fs layer 11:16:54 04944245beec: Pulling fs layer 11:16:54 699f458cf7ca: Pulling fs layer 11:16:54 765212b225bb: Pulling fs layer 11:16:54 f23df028b6ca: Pulling fs layer 11:16:54 d65c8cfc05b1: Pulling fs layer 11:16:54 2437ff75d9bd: Pulling fs layer 11:16:54 765212b225bb: Waiting 11:16:54 f23df028b6ca: Waiting 11:16:54 d65c8cfc05b1: Waiting 11:16:54 2437ff75d9bd: Waiting 11:16:54 04944245beec: Verifying Checksum 11:16:54 04944245beec: Download complete 11:16:54 765212b225bb: Verifying Checksum 11:16:54 765212b225bb: Download complete 11:16:54 f23df028b6ca: Verifying Checksum 11:16:54 f23df028b6ca: Download complete 11:16:54 d65c8cfc05b1: Verifying Checksum 11:16:54 d65c8cfc05b1: Download complete 11:16:54 699f458cf7ca: Verifying Checksum 11:16:54 699f458cf7ca: Download complete 11:16:55 8998bd30e6a1: Download complete 11:16:57 2437ff75d9bd: Download complete 11:16:59 8998bd30e6a1: Pull complete 11:16:59 04944245beec: Pull complete 11:17:00 699f458cf7ca: Pull complete 11:17:00 765212b225bb: Pull complete 11:17:01 f23df028b6ca: Pull complete 11:17:01 d65c8cfc05b1: Pull complete 11:17:16 2437ff75d9bd: Pull complete 11:17:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:17:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:17 prd-ubuntu20.04-docker-arm64-4c-16g-5791 does not seem to be running inside a container 11:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:17:19 $ docker top 2acc5fd1091f10dbcc0957e3be79674ee10014bdadeb45b91ccb8b6b17eaf851 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:20 ---> job-cost.sh 11:17:20 lf-activate-venv: SKIPPING 11:17:20 INFO: No Stack... 11:17:20 INFO: Retrieving Pricing Info for: v3-standard-4 11:17:21 INFO: Archiving Costs [Pipeline] sh 11:17:21 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:17:21 + cut -d, -f6 [Pipeline] lock 11:17:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] 11:17:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] did not exist. Created. 11:17:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:22 /w/workspace/device-virtual-go/1@tmp/durable-61c58f81/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:23 + echo total: 0.10999999940395355 [Pipeline] stash 11:17:23 Warning: overwriting stash ‘stack-cost’ 11:17:23 Stashed 1 file(s) [Pipeline] } 11:17:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-426-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:23 $ docker stop --time=1 2acc5fd1091f10dbcc0957e3be79674ee10014bdadeb45b91ccb8b6b17eaf851 11:17:24 $ docker rm -f --volumes 2acc5fd1091f10dbcc0957e3be79674ee10014bdadeb45b91ccb8b6b17eaf851 [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:17:25 provisioning config files... 11:17:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-426@tmp/config548314596830144848tmp [Pipeline] { [Pipeline] sh 11:17:26 + set +x 11:17:26 + bash -s -- 11:17:26 + curl -s https://codecov.io/bash 11:17:26 11:17:26 _____ _ 11:17:26 / ____| | | 11:17:26 | | ___ __| | ___ ___ _____ __ 11:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 11:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 11:17:26 Bash-1.0.6 11:17:26 11:17:26 11:17:26 ==> git version 2.25.1 found 11:17:26 ==> 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:17:26 Release-Date: 2020-01-08 11:17:26 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:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:17:26 ==> Jenkins CI detected. 11:17:26 current dir:  /w/workspace/foundry_device-virtual-go_PR-426 11:17:26 project root: . 11:17:26 --> token set from env 11:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:17:26 ==> Running gcov in . (disable via -X gcov) 11:17:26 ==> Python coveragepy not found 11:17:26 ==> Searching for coverage reports in: 11:17:26 + . 11:17:26 -> Found 1 reports 11:17:26 ==> Detecting git/mercurial file structure 11:17:26 ==> Reading reports 11:17:26 + ./coverage.out bytes=43063 11:17:26 ==> Appending adjustments 11:17:26 https://docs.codecov.io/docs/fixing-reports 11:17:26 + Found adjustments 11:17:26 ==> Gzipping contents 11:17:26 8.0K /tmp/codecov.cGq0Qp.gz 11:17:26 ==> Uploading reports 11:17:26 url: https://codecov.io 11:17:26 query: branch=PR-426&commit=e9128a620a545a886d812ca9b36d20326750cce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=426&job=&cmd_args= 11:17:26 -> Pinging Codecov 11:17:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-426&commit=e9128a620a545a886d812ca9b36d20326750cce5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=426&job=&cmd_args= 11:17:26 -> Uploading to 11:17:26 https://storage.googleapis.com/codecov/v4/raw/2023-09-11/5E52B4B073DB2E39498172D8E973AA87/e9128a620a545a886d812ca9b36d20326750cce5/6ded4c33-f920-4aaa-bb4d-119ca5e1704d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230911%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230911T111726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e57c8a063b1b10d23d983bfcd42ba4d0dc22f8591c008495864a16bbb0ca3054 11:17:26 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:26 Dload Upload Total Spent Left Speed 11:17:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25663 --:--:-- --:--:-- --:--:-- 25663 11:17:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e9128a620a545a886d812ca9b36d20326750cce5 [Pipeline] } 11:17:26 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:17:28 + [ -d /w/workspace/foundry_device-virtual-go_PR-426/archives ] 11:17:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-426/archives 11:17:28 total 16 11:17:28 drwxr-xr-x 3 root root 4096 Sep 11 11:09 . 11:17:28 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 11:09 .. 11:17:28 drwxr-xr-x 2 root root 4096 Sep 11 11:09 cost 11:17:28 -rw-r--r-- 1 root root 89 Sep 11 11:09 cost.csv 11:17:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-426/archives 11:17:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-426/archives 11:17:28 total 16 11:17:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 11 11:09 . 11:17:28 drwxrwxr-x 10 jenkins jenkins 4096 Sep 11 11:09 .. 11:17:28 drwxr-xr-x 2 jenkins jenkins 4096 Sep 11 11:09 cost 11:17:28 -rw-r--r-- 1 jenkins jenkins 89 Sep 11 11:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:17:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:17:29 ---> package-listing.sh 11:17:29 ++ tr '[:upper:]' '[:lower:]' 11:17:29 ++ facter osfamily 11:17:29 + OS_FAMILY=debian 11:17:29 + workspace=/w/workspace/foundry_device-virtual-go_PR-426 11:17:29 + START_PACKAGES=/tmp/packages_start.txt 11:17:29 + END_PACKAGES=/tmp/packages_end.txt 11:17:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:17:29 + PACKAGES=/tmp/packages_start.txt 11:17:29 + '[' /w/workspace/foundry_device-virtual-go_PR-426 ']' 11:17:29 + PACKAGES=/tmp/packages_end.txt 11:17:29 + case "${OS_FAMILY}" in 11:17:29 + dpkg -l 11:17:29 + grep '^ii' 11:17:29 + '[' -f /tmp/packages_start.txt ']' 11:17:29 + '[' -f /tmp/packages_end.txt ']' 11:17:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:17:29 + '[' /w/workspace/foundry_device-virtual-go_PR-426 ']' 11:17:29 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-426/archives/ 11:17:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-426/archives/ [Pipeline] echo 11:17:30 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-426/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:17:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:30 prd-ubuntu20.04-docker-8c-8g-5790 does not seem to be running inside a container 11:17:30 $ 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-426/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-426 -v /w/workspace/foundry_device-virtual-go_PR-426:/w/workspace/foundry_device-virtual-go_PR-426:rw,z -v /w/workspace/foundry_device-virtual-go_PR-426@tmp:/w/workspace/foundry_device-virtual-go_PR-426@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:17:31 $ docker top 74e3ef2dfc5979e3a9180b321c5ac6ed45b205dda36decaf567f2879c250795b -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:31 + touch /tmp/pre-build-complete [Pipeline] sh 11:17:32 + mkdir -p /var/log/sysstat [Pipeline] sh 11:17:32 + ls /var/log/sa-host 11:17:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:32 provisioning config files... 11:17:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-426@tmp/config17436302677817397124tmp [Pipeline] { [Pipeline] echo 11:17:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:17:32 ---> create-netrc.sh [Pipeline] } 11:17:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:17:33 ---> python-tools-install.sh [Pipeline] echo 11:17:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:17:33 ---> sudo-logs.sh 11:17:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:17:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:17:34 ---> job-cost.sh 11:17:34 lf-activate-venv: SKIPPING 11:17:34 DEBUG: total: 0.2199999988079071 11:17:34 INFO: Retrieving Stack Cost... 11:17:34 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:34 INFO: Archiving Costs [Pipeline] echo 11:17:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:17:35 ---> logs-deploy.sh 11:17:35 lf-activate-venv: SKIPPING 11:17:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-426/1 11:17:35 INFO: archiving workspace using pattern(s): 11:17:36 Archives upload complete. 11:17:36 INFO: archiving logs to Nexus