Pull request #357 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33+3f1e673898a8ef42faca444c63d377d06123e36f (efc5ca220b87cfacb15df1dca7f6888bc412c707) 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-ssh4103078299256965354.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh13529042974744812590.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-357/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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh432808389136382361.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-357/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17429921360592168533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12896192079066469020.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-357/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-357/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10892908714619055843.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 ‘prd-ubuntu20.04-docker-8c-8g-282’ is offline Running on prd-ubuntu20.04-docker-8c-8g-284 in /w/workspace/foundry_device-virtual-go_PR-357 [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-357 # 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 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 Merge succeeded, producing 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 Checking out Revision 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 (PR-357) > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # 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 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:41:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:41:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:41:31 ========================================================= 23:41:31 EdgeX Global Pipelines Version Info 23:41:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:41:31 ------------------- 23:41:31 stable info: 23:41:31 ------------------- 23:41:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:41:31 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:41:31 Message: update stable to v1.0.245 23:41:32 ------------------- 23:41:32 experimental info: 23:41:32 ------------------- 23:41:32 Commited By: **** collab-it+edgex@linuxfoundation.org 23:41:32 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 23:41:32 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:41:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 23:41:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo 23:41:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9efc7b2 [Pipeline] echo 23:41:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:34 provisioning config files... 23:41:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config17135498382855088506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:34 ---> docker-login.sh 23:41:34 nexus3.edgexfoundry.org:10001 23:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 nexus3.edgexfoundry.org:10002 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 nexus3.edgexfoundry.org:10003 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 nexus3.edgexfoundry.org:10004 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 docker.io 23:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:35 Configure a credential helper to remove this warning. See 23:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:35 23:41:35 Login Succeeded 23:41:35 ---> docker-login.sh ends [Pipeline] } 23:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:41:36 + git rev-list -1 --merges 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33~1..9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo 23:41:36 -----------> git rev-list -1 --merges 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33~1..9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [false] [Pipeline] sh 23:41:36 + git log --format=format:%s -1 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo 23:41:36 ========================================================= 23:41:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:41:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:37 + git log --format=format:%s -1 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] echo 23:41:37 [semverPrep] GIT_COMMIT: 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo 23:41:37 [semverPrep] This is not a build commit. [Pipeline] sh 23:41:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:41:37 + grep -v github /etc/ssh/ssh_known_hosts 23:41:37 + [ -e /tmp/ssh_known_hosts ] 23:41:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:41:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:41:37 + sudo tee -a /etc/ssh/ssh_known_hosts 23:41:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:38 23:41:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:38 0.1.4: Pulling from edgex-devops/py-git-semver 23:41:38 b85a868b505f: Pulling fs layer 23:41:38 e2be974225ed: Pulling fs layer 23:41:38 339a4e72a1f5: Pulling fs layer 23:41:38 988bab9f4d93: Pulling fs layer 23:41:38 1469e6f7b9e6: Pulling fs layer 23:41:38 eaf3925da568: Pulling fs layer 23:41:38 bab4dde63d76: Pulling fs layer 23:41:38 bde34c3a00c8: Pulling fs layer 23:41:38 b352a97aabf1: Pulling fs layer 23:41:38 988bab9f4d93: Waiting 23:41:38 bde34c3a00c8: Waiting 23:41:38 eaf3925da568: Waiting 23:41:38 4872d77fe225: Pulling fs layer 23:41:38 bab4dde63d76: Waiting 23:41:38 5851b861e8e6: Pulling fs layer 23:41:38 b352a97aabf1: Waiting 23:41:38 4872d77fe225: Waiting 23:41:39 e2be974225ed: Download complete 23:41:39 988bab9f4d93: Verifying Checksum 23:41:39 988bab9f4d93: Download complete 23:41:39 339a4e72a1f5: Verifying Checksum 23:41:39 339a4e72a1f5: Download complete 23:41:39 1469e6f7b9e6: Verifying Checksum 23:41:39 1469e6f7b9e6: Download complete 23:41:39 eaf3925da568: Verifying Checksum 23:41:39 eaf3925da568: Download complete 23:41:39 bde34c3a00c8: Verifying Checksum 23:41:39 bde34c3a00c8: Download complete 23:41:39 b352a97aabf1: Verifying Checksum 23:41:39 b352a97aabf1: Download complete 23:41:39 b85a868b505f: Download complete 23:41:39 4872d77fe225: Verifying Checksum 23:41:39 4872d77fe225: Download complete 23:41:39 5851b861e8e6: Verifying Checksum 23:41:39 5851b861e8e6: Download complete 23:41:39 bab4dde63d76: Verifying Checksum 23:41:39 bab4dde63d76: Download complete 23:41:40 b85a868b505f: Pull complete 23:41:40 e2be974225ed: Pull complete 23:41:41 339a4e72a1f5: Pull complete 23:41:41 988bab9f4d93: Pull complete 23:41:41 1469e6f7b9e6: Pull complete 23:41:41 eaf3925da568: Pull complete 23:41:43 bab4dde63d76: Pull complete 23:41:43 bde34c3a00c8: Pull complete 23:41:43 b352a97aabf1: Pull complete 23:41:43 4872d77fe225: Pull complete 23:41:43 5851b861e8e6: Pull complete 23:41:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:41:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:44 prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container 23:41:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@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-devops/py-git-semver:0.1.4 cat 23:41:48 $ docker top 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 -eo pid,comm 23:41:48 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). 23:41:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:41:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:48 [ssh-agent] Looking for ssh-agent implementation... 23:41:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:48 $ docker exec 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent 23:41:48 SSH_AUTH_SOCK=/tmp/ssh-ohsnvFIVDE3h/agent.33 23:41:48 SSH_AGENT_PID=39 23:41:48 Running ssh-add (command line suppressed) 23:41:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_4298814567482898621.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_4298814567482898621.key) 23:41:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:48 + git tag --points-at HEAD [Pipeline] } 23:41:48 $ docker exec --env ******** --env ******** 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent -k 23:41:49 unset SSH_AUTH_SOCK; 23:41:49 unset SSH_AGENT_PID; 23:41:49 echo Agent pid 39 killed; 23:41:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:41:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:41:49 [ssh-agent] Looking for ssh-agent implementation... 23:41:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:41:49 $ docker exec 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent 23:41:49 SSH_AUTH_SOCK=/tmp/ssh-IzehmbXlkFW1/agent.71 23:41:49 SSH_AGENT_PID=77 23:41:49 Running ssh-add (command line suppressed) 23:41:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_289337884113592974.key (/w/workspace/foundry_device-virtual-go_PR-357@tmp/private_key_289337884113592974.key) 23:41:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:41:49 + git semver init 23:41:50 2023-03-14 23:41:50,029 [run_init] DEBUG init version:0.0.0 force:False 23:41:50 2023-03-14 23:41:50,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-357/.semver 23:41:50 2023-03-14 23:41:50,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-357/.semver 23:41:50 2023-03-14 23:41:50,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-357/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-357, universal_newlines=False, shell=None, istream=None) 23:41:51 2023-03-14 23:41:51,205 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-357/.git/info/exclude 23:41:51 2023-03-14 23:41:51,206 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 with force:False 23:41:51 2023-03-14 23:41:51,206 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 23:41:51 2023-03-14 23:41:51,210 [execute] INFO git cat-file --batch-check 23:41:51 2023-03-14 23:41:51,211 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) 23:41:51 2023-03-14 23:41:51,216 [execute] INFO git cat-file --batch 23:41:51 2023-03-14 23:41:51,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-357/.semver, universal_newlines=False, shell=None, istream=) 23:41:51 2023-03-14 23:41:51,221 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-357/.semver/PR-357 23:41:51 0.0.0 [Pipeline] } 23:41:51 $ docker exec --env ******** --env ******** 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 ssh-agent -k 23:41:51 unset SSH_AUTH_SOCK; 23:41:51 unset SSH_AGENT_PID; 23:41:51 echo Agent pid 77 killed; 23:41:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:41:52 + git semver [Pipeline] } 23:41:52 $ docker stop --time=1 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 23:41:53 $ docker rm -f --volumes 5550798e8bd7f5606b7689e131bad8766d8b41d21ce1b27de295b42e78c2d447 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:41:54 Stashed 1 file(s) [Pipeline] echo 23:41:54 [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 23:41:54 provisioning config files... 23:41:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config5311437894048931591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:55 ---> docker-login.sh 23:41:55 nexus3.edgexfoundry.org:10001 23:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:55 Configure a credential helper to remove this warning. See 23:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:55 23:41:55 Login Succeeded 23:41:55 nexus3.edgexfoundry.org:10002 23:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:55 Configure a credential helper to remove this warning. See 23:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:55 23:41:55 Login Succeeded 23:41:55 nexus3.edgexfoundry.org:10003 23:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:55 Configure a credential helper to remove this warning. See 23:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:55 23:41:55 Login Succeeded 23:41:55 nexus3.edgexfoundry.org:10004 23:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:55 Configure a credential helper to remove this warning. See 23:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:55 23:41:55 Login Succeeded 23:41:55 docker.io 23:41:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:55 Configure a credential helper to remove this warning. See 23:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:55 23:41:55 Login Succeeded 23:41:55 ---> docker-login.sh ends [Pipeline] } 23:41:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:56 ========================================================= 23:41:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:41:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41: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 . 23:41:56 Sending build context to Docker daemon 23.46MB 23:41:56 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:41:56 Step 2/12 : FROM ${BASE} AS builder 23:41:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:56 63b65145d645: Pulling fs layer 23:41:56 a2d21d5440eb: Pulling fs layer 23:41:56 935e6c44a52c: Pulling fs layer 23:41:56 94cc34f8dd06: Pulling fs layer 23:41:56 30dea6a524f1: Pulling fs layer 23:41:56 a2aff8979fd8: Pulling fs layer 23:41:56 6808be2612f2: Pulling fs layer 23:41:56 f25807f1079a: Pulling fs layer 23:41:56 94cc34f8dd06: Waiting 23:41:56 6808be2612f2: Waiting 23:41:56 f25807f1079a: Waiting 23:41:56 30dea6a524f1: Waiting 23:41:56 a2aff8979fd8: Waiting 23:41:56 a2d21d5440eb: Verifying Checksum 23:41:56 a2d21d5440eb: Download complete 23:41:56 94cc34f8dd06: Download complete 23:41:56 30dea6a524f1: Verifying Checksum 23:41:56 30dea6a524f1: Download complete 23:41:56 63b65145d645: Verifying Checksum 23:41:56 63b65145d645: Download complete 23:41:56 a2aff8979fd8: Verifying Checksum 23:41:56 a2aff8979fd8: Download complete 23:41:57 63b65145d645: Pull complete 23:41:57 a2d21d5440eb: Pull complete 23:41:57 f25807f1079a: Verifying Checksum 23:41:57 f25807f1079a: Download complete 23:41:57 935e6c44a52c: Verifying Checksum 23:41:57 935e6c44a52c: Download complete 23:41:57 6808be2612f2: Verifying Checksum 23:41:57 6808be2612f2: Download complete 23:42:01 935e6c44a52c: Pull complete 23:42:01 94cc34f8dd06: Pull complete 23:42:01 30dea6a524f1: Pull complete 23:42:01 a2aff8979fd8: Pull complete 23:42:04 6808be2612f2: Pull complete 23:42:04 f25807f1079a: Pull complete 23:42:04 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:42:04 ---> 3b553350e43f 23:42:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:42:09 Still waiting to schedule task 23:42:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-283’ is offline 23:42:10 ---> Running in cab1cf71504f 23:42:10 Removing intermediate container cab1cf71504f 23:42:10 ---> abe50e4023c2 23:42:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:42:10 ---> Running in 50bb49000a53 23:42:10 Removing intermediate container 50bb49000a53 23:42:10 ---> e2adb86af6c2 23:42:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:42:10 ---> Running in 2bb7f54d000f 23:42:10 Removing intermediate container 2bb7f54d000f 23:42:10 ---> e9926d0a1a50 23:42:10 Step 6/12 : WORKDIR /device-virtual-go 23:42:10 ---> Running in e8eb05480504 23:42:10 Removing intermediate container e8eb05480504 23:42:10 ---> 7296953d527a 23:42:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:10 ---> Running in dc94363014ae 23:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:42:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:42:10 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:42:10 (2/4) Installing libedit (20221030.3.1-r0) 23:42:11 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:42:11 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:42:11 Executing busybox-1.35.0-r29.trigger 23:42:11 OK: 269 MiB in 57 packages 23:42:11 Removing intermediate container dc94363014ae 23:42:11 ---> b0bca44c9feb 23:42:11 Step 8/12 : COPY go.mod vendor* ./ 23:42:11 ---> 96e3ebb1fde9 23:42:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:11 ---> Running in 7f2c354dc92c 23:42:50 Removing intermediate container 7f2c354dc92c 23:42:50 ---> 923fca947d00 23:42:50 Step 10/12 : COPY . . 23:42:50 ---> c8ec1c937771 23:42:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:42:50 ---> Running in 10d8d3bdee90 23:42:50 Removing intermediate container 10d8d3bdee90 23:42:50 ---> 2af20448edf9 23:42:50 Step 12/12 : RUN $MAKE 23:42:50 ---> Running in da3d1e632ae0 23:42:50 noop 23:42:50 Removing intermediate container da3d1e632ae0 23:42:50 ---> 81595617276f 23:42:50 Successfully built 81595617276f 23:42:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:51 + docker inspect -f . ci-base-image-x86_64 23:42:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:51 prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container 23:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:51 $ docker top b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:52 + go version 23:42:52 go version go1.20.2 linux/amd64 [Pipeline] } 23:42:52 $ docker stop --time=1 b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 23:42:53 $ docker rm -f --volumes b446eec9afbb079acfc26447a0a744e90191a5ec3f9791acf1e4f37ef5825e91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:54 + docker inspect -f . ci-base-image-x86_64 23:42:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:54 prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container 23:42:54 $ 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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:54 $ docker top 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:55 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] fileExists [Pipeline] sh 23:42:55 + make test 23:42:55 go test ./... -coverprofile=coverage.out 23:43:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:43:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:43:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements 23:43:17 go vet ./... 23:43:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:43:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:43:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:43:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:43:20 $ docker stop --time=1 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d 23:43:24 $ docker rm -f --volumes 4ab2669992ebd73eb41976a2b280c812244e7c6ba31177b5186a2b3d9af3cf2d [Pipeline] // withDockerContainer [Pipeline] sh 23:43:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:43:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:43:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:43:26 + ls -al . 23:43:26 total 192 23:43:26 drwxrwxr-x 9 jenkins jenkins 4096 Mar 14 23:42 . 23:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:41 .. 23:43:26 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:41 .git 23:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 .github 23:43:26 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:41 .gitignore 23:43:26 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:41 .golangci.yml 23:43:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:41 .semver 23:43:26 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:41 Attribution.txt 23:43:26 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:41 CHANGELOG.md 23:43:26 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:41 Dockerfile 23:43:26 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:41 GOVERNANCE.md 23:43:26 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:41 Jenkinsfile 23:43:26 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:41 LICENSE 23:43:26 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:41 Makefile 23:43:26 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:41 OWNERS.md 23:43:26 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:41 README.md 23:43:26 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:41 VERSION 23:43:26 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:41 bin 23:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 cmd 23:43:26 -rw-r--r-- 1 jenkins jenkins 44311 Mar 14 23:43 coverage.out 23:43:26 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:41 go.mod 23:43:26 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:41 go.sum 23:43:26 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:41 internal 23:43:26 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:41 snap 23:43:26 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:26 + 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=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 --label arch=amd64 --label version=0.0.0 . 23:43:26 Sending build context to Docker daemon 23.5MB 23:43:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:43:26 Step 2/25 : FROM ${BASE} AS builder 23:43:26 ---> 81595617276f 23:43:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:43:26 ---> Running in 1b21a454721d 23:43:27 Removing intermediate container 1b21a454721d 23:43:27 ---> 1c665a56bc08 23:43:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:43:27 ---> Running in eb26c5f7b7f1 23:43:27 Removing intermediate container eb26c5f7b7f1 23:43:27 ---> 968f4f567f58 23:43:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:43:27 ---> Running in ee3e606b10a8 23:43:27 Removing intermediate container ee3e606b10a8 23:43:27 ---> 6dfcaef8ee78 23:43:27 Step 6/25 : WORKDIR /device-virtual-go 23:43:27 ---> Running in b72b96afb4f5 23:43:27 Removing intermediate container b72b96afb4f5 23:43:27 ---> b559da96317a 23:43:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:27 ---> Running in b5eb714004e1 23:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:43:28 OK: 269 MiB in 57 packages 23:43:28 Removing intermediate container b5eb714004e1 23:43:28 ---> 2998f509ec15 23:43:28 Step 8/25 : COPY go.mod vendor* ./ 23:43:28 ---> e211b18ed16b 23:43:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:28 ---> Running in d641d7663fb8 23:43:29 Removing intermediate container d641d7663fb8 23:43:29 ---> 18b871244474 23:43:29 Step 10/25 : COPY . . 23:43:29 ---> 216ac1bed22e 23:43:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:30 ---> Running in 1edb92bc826f 23:43:30 Removing intermediate container 1edb92bc826f 23:43:30 ---> d52e001aa8ed 23:43:30 Step 12/25 : RUN $MAKE 23:43:30 ---> Running in 684b9748da6d 23:43:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 23:43:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-285 in /w/workspace/foundry_device-virtual-go_PR-357 [Pipeline] { [Pipeline] ws 23:43:39 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:43:39 The recommended git tool is: git 23:43:45 using credential edgex-jenkins-ssh 23:43:45 Cloning the remote Git repository 23:43:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:43:45 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:43:45 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:43:45 > git --version # timeout=10 23:43:45 > git --version # 'git version 2.25.1' 23:43:45 using GIT_SSH to set credentials SSH Credentials for GitHub 23:43:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:43:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:43:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:43:49 Merging remotes/origin/main commit 3f1e673898a8ef42faca444c63d377d06123e36f into PR head commit 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 23:43:49 Merge succeeded, producing 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 23:43:49 Checking out Revision 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 (PR-357) 23:43:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:43:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:43:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:43:49 > git config core.sparsecheckout # timeout=10 23:43:49 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 23:43:49 > git remote # timeout=10 23:43:49 > git config --get remote.origin.url # timeout=10 23:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:43:49 > git merge 3f1e673898a8ef42faca444c63d377d06123e36f # timeout=10 23:43:49 > git rev-parse HEAD^{commit} # timeout=10 23:43:49 > git config core.sparsecheckout # timeout=10 23:43:49 > git checkout -f 9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 # timeout=10 23:43:52 Removing intermediate container 684b9748da6d 23:43:52 ---> 0f894e348e23 23:43:52 Step 13/25 : FROM alpine:3.17 23:43:52 3.17: Pulling from library/alpine 23:43:52 63b65145d645: Already exists 23:43:52 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:43:52 Status: Downloaded newer image for alpine:3.17 23:43:52 ---> b2aa39c304c2 23:43:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:43:52 ---> Running in 8c1c5c399ed5 23:43:52 Removing intermediate container 8c1c5c399ed5 23:43:52 ---> ef58a502c031 23:43:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:43:52 ---> Running in 257f2326fa93 23:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:43:52 (1/1) Installing dumb-init (1.2.5-r2) 23:43:52 Executing busybox-1.35.0-r29.trigger 23:43:52 OK: 7 MiB in 16 packages 23:43:52 Removing intermediate container 257f2326fa93 23:43:52 ---> 62287220dd5c 23:43:52 Step 16/25 : WORKDIR / 23:43:52 ---> Running in 5d31fa4f2fb4 23:43:52 Removing intermediate container 5d31fa4f2fb4 23:43:52 ---> 8895e1aeca82 23:43:52 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:43:52 ---> 7e1c3ce82bbb 23:43:52 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:43:52 ---> 263cfb8cd8cb 23:43:52 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:43:52 ---> 53c5a57ea531 23:43:52 Step 20/25 : EXPOSE 59900 23:43:52 ---> Running in 7ef9d6e93d0f 23:43:52 Removing intermediate container 7ef9d6e93d0f 23:43:52 ---> ece19fd60e3b 23:43:52 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:43:52 ---> Running in ca7bdb04f8fc 23:43:52 Removing intermediate container ca7bdb04f8fc 23:43:52 ---> 4a3d02b090e2 23:43:52 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:43:52 ---> Running in b549861f12b6 23:43:52 Removing intermediate container b549861f12b6 23:43:52 ---> 3c1fe56381fe 23:43:52 Step 23/25 : LABEL arch=amd64 23:43:52 ---> Running in 25379473d79d 23:43:52 Removing intermediate container 25379473d79d 23:43:52 ---> 1bb2b81fcaae 23:43:52 Step 24/25 : LABEL git_sha=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 23:43:52 ---> Running in 58fe21c8b060 23:43:52 Removing intermediate container 58fe21c8b060 23:43:52 ---> cd3355b74956 23:43:52 Step 25/25 : LABEL version=0.0.0 23:43:52 ---> Running in 398eaa850321 23:43:52 Removing intermediate container 398eaa850321 23:43:52 ---> e2f7cd5f0b70 23:43:52 [Warning] One or more build-args [ARCH] were not consumed 23:43:52 Successfully built e2f7cd5f0b70 23:43:52 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] { 23:43:52 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [Pipeline] sh 23:43:52 > git --version # timeout=10 23:43:52 > git --version # 'git version 2.25.1' 23:43:52 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 23:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:53 23:43:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:53 23:43:53 GitHub has been notified of this commit’s build result 23:43:53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 23:43:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:53 latest: Pulling from edgex-lftools-log-publisher 23:43:53 5eb5b503b376: Pulling fs layer 23:43:53 5c69ac0246d0: Pulling fs layer 23:43:53 ec43610c2a17: Pulling fs layer 23:43:53 3a2ae6a8a46f: Pulling fs layer 23:43:53 33b1e0a273af: Pulling fs layer 23:43:53 5d3b04190fa2: Pulling fs layer 23:43:53 2f39f015ded8: Pulling fs layer 23:43:53 33b1e0a273af: Waiting 23:43:53 5d3b04190fa2: Waiting 23:43:53 2f39f015ded8: Waiting 23:43:53 3a2ae6a8a46f: Waiting 23:43:53 5c69ac0246d0: Verifying Checksum 23:43:53 5c69ac0246d0: Download complete 23:43:53 3a2ae6a8a46f: Download complete [Pipeline] script [Pipeline] { [Pipeline] sh 23:43:53 33b1e0a273af: Verifying Checksum 23:43:53 33b1e0a273af: Download complete 23:43:53 5d3b04190fa2: Download complete 23:43:53 ec43610c2a17: Verifying Checksum 23:43:53 ec43610c2a17: Download complete 23:43:53 5eb5b503b376: Download complete 23:43:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:43:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:43:54 Dload Upload Total Spent Left Speed 23:43:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 98k 23:43:54 2f39f015ded8: Download complete [Pipeline] sh 23:43:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:43:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:43:55 + sudo tee /etc/docker/daemon.new 23:43:55 { 23:43:55 "registry-mirrors": [ 23:43:55 "https://nexus3.edgexfoundry.org:10001" 23:43:55 ], 23:43:55 "bip": "10.250.0.254/24", 23:43:55 "hosts": [ 23:43:55 "tcp://0.0.0.0:5555", 23:43:55 "unix:///var/run/docker.sock" 23:43:55 ], 23:43:55 "mtu": 1458, 23:43:55 "selinux-enabled": true, 23:43:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:43:55 } [Pipeline] sh 23:43:55 5eb5b503b376: Pull complete 23:43:55 5c69ac0246d0: Pull complete 23:43:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 23:43:55 ec43610c2a17: Pull complete [Pipeline] sh 23:43:55 3a2ae6a8a46f: Pull complete 23:43:55 + sudo service docker restart 23:43:56 33b1e0a273af: Pull complete 23:43:56 5d3b04190fa2: Pull complete 23:44:00 2f39f015ded8: Pull complete 23:44:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:00 prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container 23:44:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:04 $ docker top 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:04 ---> job-cost.sh 23:44:04 lf-activate-venv: SKIPPING 23:44:04 INFO: No Stack... 23:44:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:44:05 INFO: Archiving Costs [Pipeline] sh 23:44:05 + cat /w/workspace/foundry_device-virtual-go_PR-357/archives/cost.csv 23:44:05 + cut -d, -f6 [Pipeline] lock 23:44:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] 23:44:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] did not exist. Created. 23:44:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:06 + echo total: 0.2199999988079071 [Pipeline] stash 23:44:06 Stashed 1 file(s) [Pipeline] } 23:44:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:06 $ docker stop --time=1 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b 23:44:07 $ docker rm -f --volumes 3e23084e88050bfa4a2068e99a08def5568fda6318a7227b62f896541968eb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:14 provisioning config files... 23:44:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8426320045946050843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:14 ---> docker-login.sh 23:44:14 nexus3.edgexfoundry.org:10001 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 nexus3.edgexfoundry.org:10002 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 nexus3.edgexfoundry.org:10003 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 nexus3.edgexfoundry.org:10004 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 docker.io 23:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:16 Configure a credential helper to remove this warning. See 23:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:16 23:44:16 Login Succeeded 23:44:16 ---> docker-login.sh ends [Pipeline] } 23:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:44:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:17 ========================================================= 23:44:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:44:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:17 + 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 . 23:44:18 Sending build context to Docker daemon 11.9MB 23:44:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:44:18 Step 2/12 : FROM ${BASE} AS builder 23:44:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:44:18 af6eaf76a39c: Pulling fs layer 23:44:18 55522c791124: Pulling fs layer 23:44:18 ce5c4a1c91eb: Pulling fs layer 23:44:18 169dfbe0d373: Pulling fs layer 23:44:18 e1ff8fa3b103: Pulling fs layer 23:44:18 52ebb69f0ebf: Pulling fs layer 23:44:18 5abe8eddf0d5: Pulling fs layer 23:44:18 e1ff8fa3b103: Waiting 23:44:18 52ebb69f0ebf: Waiting 23:44:18 5abe8eddf0d5: Waiting 23:44:18 169dfbe0d373: Waiting 23:44:18 55522c791124: Download complete 23:44:18 169dfbe0d373: Verifying Checksum 23:44:18 169dfbe0d373: Download complete 23:44:18 e1ff8fa3b103: Verifying Checksum 23:44:18 e1ff8fa3b103: Download complete 23:44:18 af6eaf76a39c: Verifying Checksum 23:44:19 af6eaf76a39c: Pull complete 23:44:19 5abe8eddf0d5: Verifying Checksum 23:44:19 5abe8eddf0d5: Download complete 23:44:20 55522c791124: Pull complete 23:44:21 ce5c4a1c91eb: Verifying Checksum 23:44:21 ce5c4a1c91eb: Download complete 23:44:21 52ebb69f0ebf: Verifying Checksum 23:44:21 52ebb69f0ebf: Download complete 23:44:33 ce5c4a1c91eb: Pull complete 23:44:33 169dfbe0d373: Pull complete 23:44:33 e1ff8fa3b103: Pull complete 23:44:40 52ebb69f0ebf: Pull complete 23:44:41 5abe8eddf0d5: Pull complete 23:44:41 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:44:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:44:41 ---> 6cb57ee374ae 23:44:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:44:43 ---> Running in 15b39c0efcde 23:44:44 Removing intermediate container 15b39c0efcde 23:44:44 ---> 111e5b75473d 23:44:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:44:44 ---> Running in 2b89b4e2d481 23:44:44 Removing intermediate container 2b89b4e2d481 23:44:44 ---> 0f932151a7cd 23:44:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:44:44 ---> Running in cde13dced3ca 23:44:44 Removing intermediate container cde13dced3ca 23:44:44 ---> 26e26da0d72e 23:44:44 Step 6/12 : WORKDIR /device-virtual-go 23:44:44 ---> Running in 679c099dc160 23:44:45 Removing intermediate container 679c099dc160 23:44:45 ---> c39e4729d485 23:44:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:45 ---> Running in def2a87d9284 23:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:44:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:44:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:44:47 (2/4) Installing libedit (20221030.3.1-r0) 23:44:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:44:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:44:47 Executing busybox-1.35.0-r29.trigger 23:44:47 OK: 268 MiB in 57 packages 23:44:48 Removing intermediate container def2a87d9284 23:44:48 ---> 15bd294a091e 23:44:48 Step 8/12 : COPY go.mod vendor* ./ 23:44:49 ---> 38bf37ef2095 23:44:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:44:49 ---> Running in 3e30dc09cc02 23:45:45 Removing intermediate container 3e30dc09cc02 23:45:45 ---> 22af4e9d0119 23:45:45 Step 10/12 : COPY . . 23:45:47 ---> c0cbb0578205 23:45:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:47 ---> Running in 09619ee2117d 23:45:47 Removing intermediate container 09619ee2117d 23:45:47 ---> 74b829f0819c 23:45:47 Step 12/12 : RUN $MAKE 23:45:47 ---> Running in 66f76658e76f 23:45:48 noop 23:45:49 Removing intermediate container 66f76658e76f 23:45:49 ---> 632930dfa3ba 23:45:49 Successfully built 632930dfa3ba 23:45:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:49 + docker inspect -f . ci-base-image-arm64 23:45:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:49 prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container 23:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:45:51 $ docker top 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d -eo pid,comm [Pipeline] { [Pipeline] sh 23:45:51 + go version 23:45:51 go version go1.20.2 linux/arm64 [Pipeline] } 23:45:52 $ docker stop --time=1 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d 23:45:53 $ docker rm -f --volumes 7fe87ae65979cc3ed78c2ae585915e52c3f3cb9bb805555bfea871bfe7d0960d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:54 + docker inspect -f . ci-base-image-arm64 23:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:45:54 prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container 23:45:54 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:45:55 $ docker top 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 -eo pid,comm [Pipeline] { [Pipeline] sh 23:45:56 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 23:45:57 + make test 23:45:57 go test ./... -coverprofile=coverage.out 23:46:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:48:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:48:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.123s coverage: 65.7% of statements 23:48:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:48:21 go vet ./... 23:48:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:48:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:48:47 ./bin/test-attribution-txt.sh [Pipeline] echo 23:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:48:48 $ docker stop --time=1 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 23:48:50 $ docker rm -f --volumes 9afbc28f145ee3de9136540b988a357a8902ce121adfcf83c18c231c8d39d259 [Pipeline] // withDockerContainer [Pipeline] sh 23:48:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:48:51 Warning: overwriting stash ‘coverage-report’ 23:48:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:48:53 + ls -al . 23:48:53 total 188 23:48:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:45 . 23:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:43 .. 23:48:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 23:43 .git 23:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 .github 23:48:53 -rw-rw-r-- 1 jenkins jenkins 337 Mar 14 23:43 .gitignore 23:48:53 -rw-rw-r-- 1 jenkins jenkins 41 Mar 14 23:43 .golangci.yml 23:48:53 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 14 23:43 Attribution.txt 23:48:53 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 14 23:43 CHANGELOG.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 14 23:43 Dockerfile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 23:43 GOVERNANCE.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 660 Mar 14 23:43 Jenkinsfile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 14 23:43 LICENSE 23:48:53 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 14 23:43 Makefile 23:48:53 -rw-rw-r-- 1 jenkins jenkins 623 Mar 14 23:43 OWNERS.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 14 23:43 README.md 23:48:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 23:41 VERSION 23:48:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 23:43 bin 23:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 cmd 23:48:53 -rw-r--r-- 1 jenkins jenkins 44311 Mar 14 23:48 coverage.out 23:48:53 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 14 23:43 go.mod 23:48:53 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 14 23:43 go.sum 23:48:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 23:43 internal 23:48:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 23:43 snap 23:48:53 -rw-rw-r-- 1 jenkins jenkins 235 Mar 14 23:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:53 + 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=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 --label arch=arm64 --label version=0.0.0 . 23:48:54 Sending build context to Docker daemon 11.95MB 23:48:54 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:48:54 Step 2/25 : FROM ${BASE} AS builder 23:48:54 ---> 632930dfa3ba 23:48:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:48:54 ---> Running in 3bfc78bfbfe9 23:48:55 Removing intermediate container 3bfc78bfbfe9 23:48:55 ---> 18fdbb023001 23:48:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:48:55 ---> Running in 8280a596529d 23:48:57 Removing intermediate container 8280a596529d 23:48:57 ---> 8a1b18a707d1 23:48:57 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:48:57 ---> Running in d0d828dd6525 23:48:57 Removing intermediate container d0d828dd6525 23:48:57 ---> 5d2d820b8f65 23:48:57 Step 6/25 : WORKDIR /device-virtual-go 23:48:57 ---> Running in 027ea86b8326 23:48:57 Removing intermediate container 027ea86b8326 23:48:57 ---> d2034b29fb24 23:48:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:57 ---> Running in d4565a31837a 23:48:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:49:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:49:01 OK: 268 MiB in 57 packages 23:49:03 Removing intermediate container d4565a31837a 23:49:03 ---> 6226dde7bd81 23:49:03 Step 8/25 : COPY go.mod vendor* ./ 23:49:05 ---> efccd80a9d86 23:49:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:05 ---> Running in e525a1ddc900 23:49:08 Removing intermediate container e525a1ddc900 23:49:08 ---> 5235c4e756ce 23:49:08 Step 10/25 : COPY . . 23:49:09 ---> 9859e9227192 23:49:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:49:09 ---> Running in 75b37a3e60cc 23:49:10 Removing intermediate container 75b37a3e60cc 23:49:10 ---> 6af26b884968 23:49:10 Step 12/25 : RUN $MAKE 23:49:10 ---> Running in 06f0e5ebc723 23:49:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 23:51:17 Removing intermediate container 06f0e5ebc723 23:51:17 ---> 40d8d406ab28 23:51:17 Step 13/25 : FROM alpine:3.17 23:51:18 3.17: Pulling from library/alpine 23:51:18 af6eaf76a39c: Already exists 23:51:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:51:18 Status: Downloaded newer image for alpine:3.17 23:51:18 ---> d74e625d9115 23:51:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:51:18 ---> Running in cce7a891f3cc 23:51:19 Removing intermediate container cce7a891f3cc 23:51:19 ---> 152f8b8f12a7 23:51:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:51:19 ---> Running in fdf2706a1d40 23:51:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:51:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:51:21 (1/1) Installing dumb-init (1.2.5-r2) 23:51:21 Executing busybox-1.35.0-r29.trigger 23:51:21 OK: 8 MiB in 16 packages 23:51:22 Removing intermediate container fdf2706a1d40 23:51:22 ---> 816c331a02b0 23:51:22 Step 16/25 : WORKDIR / 23:51:22 ---> Running in 435e35b0f272 23:51:23 Removing intermediate container 435e35b0f272 23:51:23 ---> a23749929af9 23:51:23 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:51:23 ---> d5752dd4dc48 23:51:23 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:51:23 ---> 536e7ac51329 23:51:23 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:51:25 ---> af41d2acb9d7 23:51:25 Step 20/25 : EXPOSE 59900 23:51:25 ---> Running in 3df78e2852c7 23:51:25 Removing intermediate container 3df78e2852c7 23:51:25 ---> 1f6dad6849c2 23:51:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:51:25 ---> Running in 2b0b271c0f79 23:51:25 Removing intermediate container 2b0b271c0f79 23:51:25 ---> fc5b2daf9251 23:51:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:51:26 ---> Running in 309c3dd4f01d 23:51:26 Removing intermediate container 309c3dd4f01d 23:51:26 ---> bde9e2188d64 23:51:26 Step 23/25 : LABEL arch=arm64 23:51:26 ---> Running in e6a09dedaf61 23:51:26 Removing intermediate container e6a09dedaf61 23:51:26 ---> 497143843d15 23:51:26 Step 24/25 : LABEL git_sha=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 23:51:26 ---> Running in 8e0bab972650 23:51:26 Removing intermediate container 8e0bab972650 23:51:26 ---> 572cbc3f383c 23:51:26 Step 25/25 : LABEL version=0.0.0 23:51:27 ---> Running in 3738166fd2e9 23:51:27 Removing intermediate container 3738166fd2e9 23:51:27 ---> 4c856f1259a3 23:51:27 [Warning] One or more build-args [ARCH] were not consumed 23:51:27 Successfully built 4c856f1259a3 23:51:27 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 23:51:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:28 23:51:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:28 arm64: Pulling from edgex-lftools-log-publisher 23:51:28 8998bd30e6a1: Pulling fs layer 23:51:28 04944245beec: Pulling fs layer 23:51:28 699f458cf7ca: Pulling fs layer 23:51:28 765212b225bb: Pulling fs layer 23:51:28 f23df028b6ca: Pulling fs layer 23:51:28 d65c8cfc05b1: Pulling fs layer 23:51:28 2437ff75d9bd: Pulling fs layer 23:51:28 765212b225bb: Waiting 23:51:28 f23df028b6ca: Waiting 23:51:28 d65c8cfc05b1: Waiting 23:51:28 04944245beec: Verifying Checksum 23:51:28 04944245beec: Download complete 23:51:28 765212b225bb: Verifying Checksum 23:51:28 765212b225bb: Download complete 23:51:28 f23df028b6ca: Download complete 23:51:28 d65c8cfc05b1: Download complete 23:51:28 699f458cf7ca: Verifying Checksum 23:51:28 699f458cf7ca: Download complete 23:51:29 8998bd30e6a1: Verifying Checksum 23:51:29 8998bd30e6a1: Download complete 23:51:32 2437ff75d9bd: Verifying Checksum 23:51:32 2437ff75d9bd: Download complete 23:51:33 8998bd30e6a1: Pull complete 23:51:33 04944245beec: Pull complete 23:51:35 699f458cf7ca: Pull complete 23:51:35 765212b225bb: Pull complete 23:51:36 f23df028b6ca: Pull complete 23:51:36 d65c8cfc05b1: Pull complete 23:51:51 2437ff75d9bd: Pull complete 23:51:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:51 prd-ubuntu20.04-docker-arm64-4c-16g-285 does not seem to be running inside a container 23:51:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:51:54 $ docker top 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:55 ---> job-cost.sh 23:51:55 lf-activate-venv: SKIPPING 23:51:55 INFO: No Stack... 23:51:55 INFO: Retrieving Pricing Info for: v3-standard-4 23:51:56 INFO: Archiving Costs [Pipeline] sh 23:51:57 + cut -d, -f6 23:51:57 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 23:51:57 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] 23:51:57 Resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] did not exist. Created. 23:51:57 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:51:58 /w/workspace/device-virtual-go/1@tmp/durable-07339b92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:51:58 + echo total: 0.10999999940395355 [Pipeline] stash 23:51:58 Warning: overwriting stash ‘stack-cost’ 23:51:58 Stashed 1 file(s) [Pipeline] } 23:51:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:51:58 $ docker stop --time=1 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 23:52:00 $ docker rm -f --volumes 97b49ff9e9696f1b09e402c7669fa93d6257d9b007317de476f3467da4fca775 [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 23:52:01 provisioning config files... 23:52:01 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config4862675809221731094tmp [Pipeline] { [Pipeline] sh 23:52:02 + set +x 23:52:02 + bash -s -- 23:52:02 + curl -s https://codecov.io/bash 23:52:02 23:52:02 _____ _ 23:52:02 / ____| | | 23:52:02 | | ___ __| | ___ ___ _____ __ 23:52:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:52:02 | |___| (_) | (_| | __/ (_| (_) \ V / 23:52:02 \_____\___/ \__,_|\___|\___\___/ \_/ 23:52:02 Bash-1.0.6 23:52:02 23:52:02 23:52:02 ==> git version 2.25.1 found 23:52:02 ==> 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 23:52:02 Release-Date: 2020-01-08 23:52:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:52:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:52:02 ==> Jenkins CI detected. 23:52:02 current dir:  /w/workspace/foundry_device-virtual-go_PR-357 23:52:02 project root: . 23:52:02 --> token set from env 23:52:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:52:02 ==> Running gcov in . (disable via -X gcov) 23:52:02 ==> Python coveragepy not found 23:52:02 ==> Searching for coverage reports in: 23:52:02 + . 23:52:02 -> Found 1 reports 23:52:02 ==> Detecting git/mercurial file structure 23:52:02 ==> Reading reports 23:52:02 + ./coverage.out bytes=44311 23:52:02 ==> Appending adjustments 23:52:02 https://docs.codecov.io/docs/fixing-reports 23:52:02 + Found adjustments 23:52:02 ==> Gzipping contents 23:52:02 8.0K /tmp/codecov.ULwk3O.gz 23:52:02 ==> Uploading reports 23:52:02 url: https://codecov.io 23:52:02 query: branch=PR-357&commit=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= 23:52:02 -> Pinging Codecov 23:52:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-357&commit=9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=357&job=&cmd_args= 23:52:02 -> Uploading to 23:52:02 https://storage.googleapis.com/codecov/v4/raw/2023-03-14/5E52B4B073DB2E39498172D8E973AA87/9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33/0d97c6c1-6602-4399-b199-5d09ac2d4182.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T235202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a16978cf22f855aadb4f564bae0544fbfba3f5df0ded94ec5be92a39d974ac55 23:52:02 % Total % Received % Xferd Average Speed Time Time Time Current 23:52:02 Dload Upload Total Spent Left Speed 23:52:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5424 0 0 100 5424 0 20390 --:--:-- --:--:-- --:--:-- 20390 23:52:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9efc7b2b7bd1d0993a61348fb13ab7dcdc975e33 [Pipeline] } 23:52:02 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 23:52:04 + [ -d /w/workspace/foundry_device-virtual-go_PR-357/archives ] 23:52:04 + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives 23:52:04 total 16 23:52:04 drwxr-xr-x 3 root root 4096 Mar 14 23:44 . 23:52:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:44 .. 23:52:04 drwxr-xr-x 2 root root 4096 Mar 14 23:44 cost 23:52:04 -rw-r--r-- 1 root root 89 Mar 14 23:44 cost.csv 23:52:04 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-357/archives 23:52:04 + ls -al /w/workspace/foundry_device-virtual-go_PR-357/archives 23:52:04 total 16 23:52:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 23:44 . 23:52:04 drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 23:44 .. 23:52:04 drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 23:44 cost 23:52:04 -rw-r--r-- 1 jenkins jenkins 89 Mar 14 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:52:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:05 ---> package-listing.sh 23:52:05 ++ facter osfamily 23:52:05 ++ tr '[:upper:]' '[:lower:]' 23:52:06 + OS_FAMILY=debian 23:52:06 + workspace=/w/workspace/foundry_device-virtual-go_PR-357 23:52:06 + START_PACKAGES=/tmp/packages_start.txt 23:52:06 + END_PACKAGES=/tmp/packages_end.txt 23:52:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:06 + PACKAGES=/tmp/packages_start.txt 23:52:06 + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' 23:52:06 + PACKAGES=/tmp/packages_end.txt 23:52:06 + case "${OS_FAMILY}" in 23:52:06 + dpkg -l 23:52:06 + grep '^ii' 23:52:06 + '[' -f /tmp/packages_start.txt ']' 23:52:06 + '[' -f /tmp/packages_end.txt ']' 23:52:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:06 + '[' /w/workspace/foundry_device-virtual-go_PR-357 ']' 23:52:06 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-357/archives/ 23:52:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-357/archives/ [Pipeline] echo 23:52:06 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:07 prd-ubuntu20.04-docker-8c-8g-284 does not seem to be running inside a container 23:52:07 $ 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-357/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-357 -v /w/workspace/foundry_device-virtual-go_PR-357:/w/workspace/foundry_device-virtual-go_PR-357:rw,z -v /w/workspace/foundry_device-virtual-go_PR-357@tmp:/w/workspace/foundry_device-virtual-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:07 $ docker top ed0d9acea69913e85e5eaf16b26625f829ea4507712b8da870e18964dd32e5e6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:07 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:08 + mkdir -p /var/log/sysstat [Pipeline] sh 23:52:08 + ls /var/log/sa-host 23:52:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:08 provisioning config files... 23:52:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-357@tmp/config6543045757234837357tmp [Pipeline] { [Pipeline] echo 23:52:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:08 ---> create-netrc.sh [Pipeline] } 23:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:52:09 ---> python-tools-install.sh [Pipeline] echo 23:52:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:09 ---> sudo-logs.sh 23:52:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:52:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:10 ---> job-cost.sh 23:52:10 lf-activate-venv: SKIPPING 23:52:10 DEBUG: total: 0.2199999988079071 23:52:10 INFO: Retrieving Stack Cost... 23:52:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:52:10 INFO: Archiving Costs [Pipeline] echo 23:52:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:11 ---> logs-deploy.sh 23:52:11 lf-activate-venv: SKIPPING 23:52:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-357/1 23:52:11 INFO: archiving workspace using pattern(s): 23:52:12 Archives upload complete. 23:52:12 INFO: archiving logs to Nexus