Pull request #368 updated 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 vli11 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8ed51eb9eaa0a405dde043671b4ac8557819634f rather than 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 Obtained Jenkinsfile from 8ed51eb9eaa0a405dde043671b4ac8557819634f 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-ssh11993555822540104493.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-ssh18129307875307443065.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10615487199458919800.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 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-ssh15810396742267975145.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1299728319506945975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6128 in /w/workspace/foundry_device-virtual-go_PR-368 [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-368 # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 Merge succeeded, producing 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 Checking out Revision 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 (PR-368) > 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 # timeout=10 Commit message: "fix: updated device.yaml with camelCase" > git rev-list --no-walk f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:15:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:15:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:15:16 ========================================================= 21:15:16 EdgeX Global Pipelines Version Info 21:15:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:15:17 ------------------- 21:15:17 stable info: 21:15:17 ------------------- 21:15:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:15:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:15:17 Message: update stable to v1.0.245 21:15:18 ------------------- 21:15:18 experimental info: 21:15:18 ------------------- 21:15:18 Commited By: **** collab-it+edgex@linuxfoundation.org 21:15:18 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 21:15:18 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c1e040 [Pipeline] echo 21:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:18 provisioning config files... 21:15:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config10635198699253695165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:19 ---> docker-login.sh 21:15:19 nexus3.edgexfoundry.org:10001 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 nexus3.edgexfoundry.org:10002 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 nexus3.edgexfoundry.org:10003 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 nexus3.edgexfoundry.org:10004 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 docker.io 21:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:19 Configure a credential helper to remove this warning. See 21:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:19 21:15:19 Login Succeeded 21:15:19 ---> docker-login.sh ends [Pipeline] } 21:15:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:15:20 + git rev-list -1 --merges 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858~1..7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [Pipeline] echo 21:15:20 -----------> git rev-list -1 --merges 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858~1..7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [false] [Pipeline] sh 21:15:20 + git log --format=format:%s -1 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [Pipeline] echo 21:15:20 ========================================================= 21:15:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:15:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:15:20 + git log --format=format:%s -1 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [Pipeline] echo 21:15:20 [semverPrep] GIT_COMMIT: 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858, Commit Message: fix: updated device.yaml with camelCase [Pipeline] echo 21:15:21 [semverPrep] This is not a build commit. [Pipeline] sh 21:15:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:21 + grep -v github /etc/ssh/ssh_known_hosts 21:15:21 + [ -e /tmp/ssh_known_hosts ] 21:15:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:15:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:15:21 + sudo tee -a /etc/ssh/ssh_known_hosts 21:15:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:21 21:15:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:22 0.1.4: Pulling from edgex-devops/py-git-semver 21:15:22 b85a868b505f: Pulling fs layer 21:15:22 e2be974225ed: Pulling fs layer 21:15:22 339a4e72a1f5: Pulling fs layer 21:15:22 988bab9f4d93: Pulling fs layer 21:15:22 1469e6f7b9e6: Pulling fs layer 21:15:22 eaf3925da568: Pulling fs layer 21:15:22 bab4dde63d76: Pulling fs layer 21:15:22 bde34c3a00c8: Pulling fs layer 21:15:22 b352a97aabf1: Pulling fs layer 21:15:22 4872d77fe225: Pulling fs layer 21:15:22 5851b861e8e6: Pulling fs layer 21:15:22 bab4dde63d76: Waiting 21:15:22 bde34c3a00c8: Waiting 21:15:22 b352a97aabf1: Waiting 21:15:22 4872d77fe225: Waiting 21:15:22 5851b861e8e6: Waiting 21:15:22 eaf3925da568: Waiting 21:15:22 1469e6f7b9e6: Waiting 21:15:22 e2be974225ed: Download complete 21:15:22 988bab9f4d93: Verifying Checksum 21:15:22 988bab9f4d93: Download complete 21:15:22 1469e6f7b9e6: Verifying Checksum 21:15:22 1469e6f7b9e6: Download complete 21:15:22 eaf3925da568: Verifying Checksum 21:15:22 eaf3925da568: Download complete 21:15:22 339a4e72a1f5: Verifying Checksum 21:15:22 339a4e72a1f5: Download complete 21:15:22 bde34c3a00c8: Verifying Checksum 21:15:22 bde34c3a00c8: Download complete 21:15:22 b352a97aabf1: Verifying Checksum 21:15:22 b352a97aabf1: Download complete 21:15:22 4872d77fe225: Download complete 21:15:22 5851b861e8e6: Verifying Checksum 21:15:22 5851b861e8e6: Download complete 21:15:22 b85a868b505f: Verifying Checksum 21:15:22 b85a868b505f: Download complete 21:15:22 bab4dde63d76: Verifying Checksum 21:15:22 bab4dde63d76: Download complete 21:15:23 b85a868b505f: Pull complete 21:15:23 e2be974225ed: Pull complete 21:15:24 339a4e72a1f5: Pull complete 21:15:24 988bab9f4d93: Pull complete 21:15:24 1469e6f7b9e6: Pull complete 21:15:24 eaf3925da568: Pull complete 21:15:26 bab4dde63d76: Pull complete 21:15:26 bde34c3a00c8: Pull complete 21:15:26 b352a97aabf1: Pull complete 21:15:26 4872d77fe225: Pull complete 21:15:26 5851b861e8e6: Pull complete 21:15:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:15:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:26 prd-ubuntu20.04-docker-8c-8g-6128 does not seem to be running inside a container 21:15:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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-devops/py-git-semver:0.1.4 cat 21:15:28 $ docker top bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 -eo pid,comm 21:15:28 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). 21:15:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:28 [ssh-agent] Looking for ssh-agent implementation... 21:15:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:28 $ docker exec bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 ssh-agent 21:15:28 SSH_AUTH_SOCK=/tmp/ssh-gxeWoUpfcVDq/agent.33 21:15:28 SSH_AGENT_PID=39 21:15:28 Running ssh-add (command line suppressed) 21:15:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_13776168567210907785.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_13776168567210907785.key) 21:15:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:28 + git tag --points-at HEAD [Pipeline] } 21:15:28 $ docker exec --env ******** --env ******** bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 ssh-agent -k 21:15:29 unset SSH_AUTH_SOCK; 21:15:29 unset SSH_AGENT_PID; 21:15:29 echo Agent pid 39 killed; 21:15:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:15:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:29 [ssh-agent] Looking for ssh-agent implementation... 21:15:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:29 $ docker exec bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 ssh-agent 21:15:29 SSH_AUTH_SOCK=/tmp/ssh-uuhHSgBUQcOl/agent.71 21:15:29 SSH_AGENT_PID=77 21:15:29 Running ssh-add (command line suppressed) 21:15:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_3233436421367124883.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_3233436421367124883.key) 21:15:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:29 + git semver init 21:15:29 2023-03-28 21:15:29,881 [run_init] DEBUG init version:0.0.0 force:False 21:15:29 2023-03-28 21:15:29,881 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-368/.semver 21:15:29 2023-03-28 21:15:29,882 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-368/.semver 21:15:29 2023-03-28 21:15:29,882 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-368/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-368, universal_newlines=False, shell=None, istream=None) 21:15:30 2023-03-28 21:15:30,862 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-368/.git/info/exclude 21:15:30 2023-03-28 21:15:30,863 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 with force:False 21:15:30 2023-03-28 21:15:30,863 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 21:15:30 2023-03-28 21:15:30,867 [execute] INFO git cat-file --batch-check 21:15:30 2023-03-28 21:15:30,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 21:15:30 2023-03-28 21:15:30,874 [execute] INFO git cat-file --batch 21:15:30 2023-03-28 21:15:30,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 21:15:30 2023-03-28 21:15:30,880 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 21:15:30 0.0.0 [Pipeline] } 21:15:30 $ docker exec --env ******** --env ******** bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 ssh-agent -k 21:15:31 unset SSH_AUTH_SOCK; 21:15:31 unset SSH_AGENT_PID; 21:15:31 echo Agent pid 77 killed; 21:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:31 + git semver [Pipeline] } 21:15:31 $ docker stop --time=1 bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 21:15:32 $ docker rm -f --volumes bec622866c5526c3a5fe33d19f5b597e3f2662971a9037e4d91ef28b3d807522 [Pipeline] // withDockerContainer [Pipeline] sh 21:15:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:15:33 Stashed 1 file(s) [Pipeline] echo 21:15:33 [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 21:15:33 provisioning config files... 21:15:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config4357521207015099967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:33 ---> docker-login.sh 21:15:33 nexus3.edgexfoundry.org:10001 21:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:33 Configure a credential helper to remove this warning. See 21:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:33 21:15:33 Login Succeeded 21:15:33 nexus3.edgexfoundry.org:10002 21:15:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:33 Configure a credential helper to remove this warning. See 21:15:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:33 21:15:33 Login Succeeded 21:15:33 nexus3.edgexfoundry.org:10003 21:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:34 Configure a credential helper to remove this warning. See 21:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:34 21:15:34 Login Succeeded 21:15:34 nexus3.edgexfoundry.org:10004 21:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:34 Configure a credential helper to remove this warning. See 21:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:34 21:15:34 Login Succeeded 21:15:34 docker.io 21:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:15:34 Configure a credential helper to remove this warning. See 21:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:15:34 21:15:34 Login Succeeded 21:15:34 ---> docker-login.sh ends [Pipeline] } 21:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:15:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:15:34 ========================================================= 21:15:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:15:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:34 + 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 . 21:15:34 Sending build context to Docker daemon 23.54MB 21:15:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:15:34 Step 2/12 : FROM ${BASE} AS builder 21:15:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:15:35 63b65145d645: Pulling fs layer 21:15:35 a2d21d5440eb: Pulling fs layer 21:15:35 935e6c44a52c: Pulling fs layer 21:15:35 94cc34f8dd06: Pulling fs layer 21:15:35 30dea6a524f1: Pulling fs layer 21:15:35 a2aff8979fd8: Pulling fs layer 21:15:35 6808be2612f2: Pulling fs layer 21:15:35 f25807f1079a: Pulling fs layer 21:15:35 94cc34f8dd06: Waiting 21:15:35 30dea6a524f1: Waiting 21:15:35 f25807f1079a: Waiting 21:15:35 a2aff8979fd8: Waiting 21:15:35 6808be2612f2: Waiting 21:15:35 a2d21d5440eb: Verifying Checksum 21:15:35 a2d21d5440eb: Download complete 21:15:35 94cc34f8dd06: Verifying Checksum 21:15:35 94cc34f8dd06: Download complete 21:15:35 30dea6a524f1: Download complete 21:15:35 63b65145d645: Download complete 21:15:35 a2aff8979fd8: Verifying Checksum 21:15:35 a2aff8979fd8: Download complete 21:15:35 63b65145d645: Pull complete 21:15:35 a2d21d5440eb: Pull complete 21:15:35 f25807f1079a: Download complete 21:15:35 935e6c44a52c: Verifying Checksum 21:15:35 935e6c44a52c: Download complete 21:15:35 6808be2612f2: Verifying Checksum 21:15:35 6808be2612f2: Download complete 21:15:39 935e6c44a52c: Pull complete 21:15:39 94cc34f8dd06: Pull complete 21:15:39 30dea6a524f1: Pull complete 21:15:39 a2aff8979fd8: Pull complete 21:15:41 6808be2612f2: Pull complete 21:15:42 f25807f1079a: Pull complete 21:15:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:15:42 ---> 3b553350e43f 21:15:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:15:44 ---> Running in b81d4beeafbb 21:15:44 Removing intermediate container b81d4beeafbb 21:15:44 ---> 412085e74153 21:15:44 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:15:44 ---> Running in 372a00031718 21:15:44 Removing intermediate container 372a00031718 21:15:44 ---> c462bb1ecda3 21:15:44 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:15:44 ---> Running in 5c82ffc15add 21:15:44 Removing intermediate container 5c82ffc15add 21:15:44 ---> 380fcc1ab5ab 21:15:44 Step 6/12 : WORKDIR /device-virtual-go 21:15:44 ---> Running in d096d24afec8 21:15:44 Removing intermediate container d096d24afec8 21:15:44 ---> 26dd2d57a923 21:15:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:44 ---> Running in 98e912c1d5a7 21:15:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:15:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:15:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:15:45 (2/4) Installing libedit (20221030.3.1-r0) 21:15:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:15:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:15:45 Executing busybox-1.35.0-r29.trigger 21:15:45 OK: 269 MiB in 57 packages 21:15:45 Removing intermediate container 98e912c1d5a7 21:15:45 ---> b0392e3b8f15 21:15:45 Step 8/12 : COPY go.mod vendor* ./ 21:15:46 ---> 201b70545a55 21:15:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:46 ---> Running in 1180834e7fa1 21:15:48 Still waiting to schedule task 21:15:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:16:07 Removing intermediate container 1180834e7fa1 21:16:07 ---> 76dbb37b7cb3 21:16:07 Step 10/12 : COPY . . 21:16:07 ---> 49cfe6b93578 21:16:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:07 ---> Running in 9cc746c8fe9c 21:16:07 Removing intermediate container 9cc746c8fe9c 21:16:07 ---> 5ee701877859 21:16:07 Step 12/12 : RUN $MAKE 21:16:07 ---> Running in 57a2bff97550 21:16:07 noop 21:16:07 Removing intermediate container 57a2bff97550 21:16:07 ---> 98bab3f4b83b 21:16:07 Successfully built 98bab3f4b83b 21:16:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:08 + docker inspect -f . ci-base-image-x86_64 21:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:08 prd-ubuntu20.04-docker-8c-8g-6128 does not seem to be running inside a container 21:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:16:08 $ docker top bec31b5c095fb656221e1ce557461a9553b875595c1599f41c939130898bdae8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:09 + go version 21:16:09 go version go1.20.2 linux/amd64 [Pipeline] } 21:16:09 $ docker stop --time=1 bec31b5c095fb656221e1ce557461a9553b875595c1599f41c939130898bdae8 21:16:10 $ docker rm -f --volumes bec31b5c095fb656221e1ce557461a9553b875595c1599f41c939130898bdae8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:10 + docker inspect -f . ci-base-image-x86_64 21:16:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:10 prd-ubuntu20.04-docker-8c-8g-6128 does not seem to be running inside a container 21:16:10 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:16:11 $ docker top 35ee92d3ffac7f4109b73973e95ed4566f97cd8163d60c5e19b8aca37307825f -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:11 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] fileExists [Pipeline] sh 21:16:11 + make test 21:16:11 go test ./... -coverprofile=coverage.out 21:16:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:16:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:16:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 21:16:31 go vet ./... 21:16:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:16:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:16:34 ./bin/test-attribution-txt.sh [Pipeline] echo 21:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:16:34 $ docker stop --time=1 35ee92d3ffac7f4109b73973e95ed4566f97cd8163d60c5e19b8aca37307825f 21:16:36 $ docker rm -f --volumes 35ee92d3ffac7f4109b73973e95ed4566f97cd8163d60c5e19b8aca37307825f [Pipeline] // withDockerContainer [Pipeline] sh 21:16:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:16:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:16:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:16:37 + ls -al . 21:16:37 total 192 21:16:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 21:16 . 21:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:15 .. 21:16:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 21:15 .git 21:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:15 .github 21:16:37 -rw-rw-r-- 1 jenkins jenkins 337 Mar 28 21:15 .gitignore 21:16:37 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 21:15 .golangci.yml 21:16:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 21:15 .semver 21:16:37 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 28 21:15 Attribution.txt 21:16:37 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 28 21:15 CHANGELOG.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 28 21:15 Dockerfile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 21:15 GOVERNANCE.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 21:15 Jenkinsfile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 21:15 LICENSE 21:16:37 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 28 21:15 Makefile 21:16:37 -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 21:15 OWNERS.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 28 21:15 README.md 21:16:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 21:15 VERSION 21:16:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 21:15 bin 21:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:15 cmd 21:16:37 -rw-r--r-- 1 jenkins jenkins 44311 Mar 28 21:16 coverage.out 21:16:37 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 28 21:15 go.mod 21:16:37 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 28 21:15 go.sum 21:16:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:15 internal 21:16:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:15 snap 21:16:37 -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 21:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:38 + 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=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 --label arch=amd64 --label version=0.0.0 . 21:16:38 Sending build context to Docker daemon 23.59MB 21:16:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:16:38 Step 2/25 : FROM ${BASE} AS builder 21:16:38 ---> 98bab3f4b83b 21:16:38 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:16:38 ---> Running in b6b6168f04d8 21:16:38 Removing intermediate container b6b6168f04d8 21:16:38 ---> bdf6d270fac3 21:16:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:16:38 ---> Running in 8cbd5abf015a 21:16:38 Removing intermediate container 8cbd5abf015a 21:16:38 ---> 5e149ac1ee59 21:16:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:16:38 ---> Running in 936d400e54d7 21:16:38 Removing intermediate container 936d400e54d7 21:16:38 ---> 7e727d9914cf 21:16:38 Step 6/25 : WORKDIR /device-virtual-go 21:16:38 ---> Running in 0bb6a5e671bc 21:16:38 Removing intermediate container 0bb6a5e671bc 21:16:38 ---> cfd4a497dac1 21:16:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:16:38 ---> Running in ba5085c84f3c 21:16:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:16:39 OK: 269 MiB in 57 packages 21:16:39 Removing intermediate container ba5085c84f3c 21:16:39 ---> b5d586bc140c 21:16:39 Step 8/25 : COPY go.mod vendor* ./ 21:16:39 ---> cbaf23cdc959 21:16:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:16:39 ---> Running in e6a0de8c2fa9 21:16:40 Removing intermediate container e6a0de8c2fa9 21:16:40 ---> 268886ca73d3 21:16:40 Step 10/25 : COPY . . 21:16:41 ---> 89263485d688 21:16:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:41 ---> Running in 19020e581878 21:16:41 Removing intermediate container 19020e581878 21:16:41 ---> f0180a374652 21:16:41 Step 12/25 : RUN $MAKE 21:16:41 ---> Running in 4adabcf23c6f 21:16:41 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 21:16:59 Removing intermediate container 4adabcf23c6f 21:16:59 ---> 94c6f976ab65 21:16:59 Step 13/25 : FROM alpine:3.17 21:16:59 3.17: Pulling from library/alpine 21:16:59 63b65145d645: Already exists 21:16:59 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:16:59 Status: Downloaded newer image for alpine:3.17 21:16:59 ---> b2aa39c304c2 21:16:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:16:59 ---> Running in a09375a62214 21:16:59 Removing intermediate container a09375a62214 21:16:59 ---> f75262c477a3 21:16:59 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:16:59 ---> Running in 9e3c42c0a011 21:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:16:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:16:59 (1/1) Installing dumb-init (1.2.5-r2) 21:16:59 Executing busybox-1.35.0-r29.trigger 21:16:59 OK: 7 MiB in 16 packages 21:16:59 Removing intermediate container 9e3c42c0a011 21:16:59 ---> 737f629f8a48 21:16:59 Step 16/25 : WORKDIR / 21:16:59 ---> Running in 8c0d59142355 21:16:59 Removing intermediate container 8c0d59142355 21:16:59 ---> c7109ec743d5 21:16:59 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:16:59 ---> ff19016bd47c 21:16:59 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:16:59 ---> b8fc95bb3cab 21:16:59 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:16:59 ---> 62ae74158730 21:16:59 Step 20/25 : EXPOSE 59900 21:16:59 ---> Running in ae5450b55c19 21:16:59 Removing intermediate container ae5450b55c19 21:16:59 ---> 127c9d17ec70 21:16:59 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:16:59 ---> Running in 23a59ebfd7fc 21:16:59 Removing intermediate container 23a59ebfd7fc 21:16:59 ---> ed86fe760a89 21:16:59 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:16:59 ---> Running in 04f8e01ac84c 21:16:59 Removing intermediate container 04f8e01ac84c 21:16:59 ---> cc9745601567 21:16:59 Step 23/25 : LABEL arch=amd64 21:16:59 ---> Running in f820d880ee81 21:17:00 Removing intermediate container f820d880ee81 21:17:00 ---> a6af36300c66 21:17:00 Step 24/25 : LABEL git_sha=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 21:17:00 ---> Running in 55cdc634f230 21:17:00 Removing intermediate container 55cdc634f230 21:17:00 ---> 3f8cad6dda7f 21:17:00 Step 25/25 : LABEL version=0.0.0 21:17:00 ---> Running in 38a46eb7f39f 21:17:00 Removing intermediate container 38a46eb7f39f 21:17:00 ---> 6c2d34fa9784 21:17:00 [Warning] One or more build-args [ARCH] were not consumed 21:17:00 Successfully built 6c2d34fa9784 21:17:00 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:00 21:17:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:00 latest: Pulling from edgex-lftools-log-publisher 21:17:00 5eb5b503b376: Pulling fs layer 21:17:00 5c69ac0246d0: Pulling fs layer 21:17:00 ec43610c2a17: Pulling fs layer 21:17:00 3a2ae6a8a46f: Pulling fs layer 21:17:00 33b1e0a273af: Pulling fs layer 21:17:00 5d3b04190fa2: Pulling fs layer 21:17:00 2f39f015ded8: Pulling fs layer 21:17:00 33b1e0a273af: Waiting 21:17:00 5d3b04190fa2: Waiting 21:17:00 3a2ae6a8a46f: Waiting 21:17:00 2f39f015ded8: Waiting 21:17:00 5c69ac0246d0: Download complete 21:17:00 3a2ae6a8a46f: Download complete 21:17:00 ec43610c2a17: Verifying Checksum 21:17:00 ec43610c2a17: Download complete 21:17:00 5d3b04190fa2: Download complete 21:17:00 33b1e0a273af: Verifying Checksum 21:17:00 33b1e0a273af: Download complete 21:17:01 5eb5b503b376: Verifying Checksum 21:17:01 5eb5b503b376: Download complete 21:17:01 2f39f015ded8: Download complete 21:17:02 5eb5b503b376: Pull complete 21:17:02 5c69ac0246d0: Pull complete 21:17:02 ec43610c2a17: Pull complete 21:17:02 3a2ae6a8a46f: Pull complete 21:17:02 33b1e0a273af: Pull complete 21:17:03 5d3b04190fa2: Pull complete 21:17:07 2f39f015ded8: Pull complete 21:17:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:07 prd-ubuntu20.04-docker-8c-8g-6128 does not seem to be running inside a container 21:17:07 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:17:08 $ docker top a19fd62b12b7817c51baf07ca56c7a8a149c9aa97cf9e697916b4c9cef6ed181 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:09 ---> job-cost.sh 21:17:09 lf-activate-venv: SKIPPING 21:17:09 INFO: No Stack... 21:17:09 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:09 INFO: Archiving Costs [Pipeline] sh 21:17:10 + + cut -d, -f6 21:17:10 cat /w/workspace/foundry_device-virtual-go_PR-368/archives/cost.csv [Pipeline] lock 21:17:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] 21:17:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] did not exist. Created. 21:17:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:17:10 + echo total: 0.2199999988079071 [Pipeline] stash 21:17:10 Stashed 1 file(s) [Pipeline] } 21:17:10 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:17:10 $ docker stop --time=1 a19fd62b12b7817c51baf07ca56c7a8a149c9aa97cf9e697916b4c9cef6ed181 21:17:11 $ docker rm -f --volumes a19fd62b12b7817c51baf07ca56c7a8a149c9aa97cf9e697916b4c9cef6ed181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:19:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6129 in /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] { [Pipeline] ws 21:19:28 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 21:19:28 The recommended git tool is: git 21:19:33 using credential edgex-jenkins-ssh 21:19:33 Cloning the remote Git repository 21:19:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:19:33 > git init /w/workspace/device-virtual-go/4 # timeout=10 21:19:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:19:33 > git --version # timeout=10 21:19:33 > git --version # 'git version 2.25.1' 21:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:19:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:19:37 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 21:19:38 Merge succeeded, producing 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 21:19:38 Checking out Revision 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 (PR-368) 21:19:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:19:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:19:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:19:37 > git config core.sparsecheckout # timeout=10 21:19:37 > git checkout -f 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 # timeout=10 21:19:37 > git remote # timeout=10 21:19:37 > git config --get remote.origin.url # timeout=10 21:19:37 using GIT_SSH to set credentials SSH Credentials for GitHub 21:19:37 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 21:19:37 > git rev-parse HEAD^{commit} # timeout=10 21:19:37 > git config core.sparsecheckout # timeout=10 21:19:37 > git checkout -f 7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 # timeout=10 21:19:41 Commit message: "fix: updated device.yaml with camelCase" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:19:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:19:42 % Total % Received % Xferd Average Speed Time Time Time Current 21:19:42 Dload Upload Total Spent Left Speed 21:19:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 21:19:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:19:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:19:43 + sudo tee /etc/docker/daemon.new 21:19:43 { 21:19:43 "registry-mirrors": [ 21:19:43 "https://nexus3.edgexfoundry.org:10001" 21:19:43 ], 21:19:43 "bip": "10.250.0.254/24", 21:19:43 "hosts": [ 21:19:43 "tcp://0.0.0.0:5555", 21:19:43 "unix:///var/run/docker.sock" 21:19:43 ], 21:19:43 "mtu": 1458, 21:19:43 "selinux-enabled": true, 21:19:43 "seccomp-profile": "/etc/docker/seccomp.json" 21:19:43 } [Pipeline] sh 21:19:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:19:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:02 provisioning config files... 21:20:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config10519943307046580982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:02 ---> docker-login.sh 21:20:02 nexus3.edgexfoundry.org:10001 21:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:03 Configure a credential helper to remove this warning. See 21:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:03 21:20:03 Login Succeeded 21:20:03 nexus3.edgexfoundry.org:10002 21:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:04 Configure a credential helper to remove this warning. See 21:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:04 21:20:04 Login Succeeded 21:20:04 nexus3.edgexfoundry.org:10003 21:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:04 Configure a credential helper to remove this warning. See 21:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:04 21:20:04 Login Succeeded 21:20:04 nexus3.edgexfoundry.org:10004 21:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:04 Configure a credential helper to remove this warning. See 21:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:04 21:20:04 Login Succeeded 21:20:04 docker.io 21:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:20:05 Configure a credential helper to remove this warning. See 21:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:20:05 21:20:05 Login Succeeded 21:20:05 ---> docker-login.sh ends [Pipeline] } 21:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:20:05 ========================================================= 21:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:05 + 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 . 21:20:06 Sending build context to Docker daemon 11.95MB 21:20:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:20:06 Step 2/12 : FROM ${BASE} AS builder 21:20:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:20:06 af6eaf76a39c: Pulling fs layer 21:20:06 55522c791124: Pulling fs layer 21:20:06 ce5c4a1c91eb: Pulling fs layer 21:20:06 169dfbe0d373: Pulling fs layer 21:20:06 e1ff8fa3b103: Pulling fs layer 21:20:06 52ebb69f0ebf: Pulling fs layer 21:20:06 5abe8eddf0d5: Pulling fs layer 21:20:06 169dfbe0d373: Waiting 21:20:06 e1ff8fa3b103: Waiting 21:20:06 52ebb69f0ebf: Waiting 21:20:06 5abe8eddf0d5: Waiting 21:20:06 55522c791124: Verifying Checksum 21:20:06 55522c791124: Download complete 21:20:06 169dfbe0d373: Verifying Checksum 21:20:06 169dfbe0d373: Download complete 21:20:06 e1ff8fa3b103: Verifying Checksum 21:20:06 e1ff8fa3b103: Download complete 21:20:06 af6eaf76a39c: Download complete 21:20:07 5abe8eddf0d5: Download complete 21:20:07 af6eaf76a39c: Pull complete 21:20:07 55522c791124: Pull complete 21:20:08 52ebb69f0ebf: Verifying Checksum 21:20:08 52ebb69f0ebf: Download complete 21:20:08 ce5c4a1c91eb: Verifying Checksum 21:20:08 ce5c4a1c91eb: Download complete 21:20:18 ce5c4a1c91eb: Pull complete 21:20:18 169dfbe0d373: Pull complete 21:20:19 e1ff8fa3b103: Pull complete 21:20:25 52ebb69f0ebf: Pull complete 21:20:26 5abe8eddf0d5: Pull complete 21:20:26 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:20:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:20:26 ---> 6cb57ee374ae 21:20:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:20:28 ---> Running in 49cd65ddee64 21:20:28 Removing intermediate container 49cd65ddee64 21:20:28 ---> 6ccdd3fbfad5 21:20:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:20:28 ---> Running in fc371ca2fc97 21:20:28 Removing intermediate container fc371ca2fc97 21:20:28 ---> ff371b53876e 21:20:28 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:20:28 ---> Running in 56d6389aeea8 21:20:29 Removing intermediate container 56d6389aeea8 21:20:29 ---> 5b65f8de0aca 21:20:29 Step 6/12 : WORKDIR /device-virtual-go 21:20:29 ---> Running in c4fd980ee952 21:20:29 Removing intermediate container c4fd980ee952 21:20:29 ---> ae66e1120d6a 21:20:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:20:29 ---> Running in 1f4a97dd633f 21:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:32 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:20:32 (2/4) Installing libedit (20221030.3.1-r0) 21:20:32 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:20:32 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:20:32 Executing busybox-1.35.0-r29.trigger 21:20:32 OK: 268 MiB in 57 packages 21:20:33 Removing intermediate container 1f4a97dd633f 21:20:33 ---> 77fd42899c04 21:20:33 Step 8/12 : COPY go.mod vendor* ./ 21:20:33 ---> 67731ecabfbe 21:20:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:20:33 ---> Running in e6d8c1847f38 21:21:30 Removing intermediate container e6d8c1847f38 21:21:30 ---> f4c33ef81078 21:21:30 Step 10/12 : COPY . . 21:21:31 ---> 56ed570afff2 21:21:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:31 ---> Running in 6daf96c528ca 21:21:31 Removing intermediate container 6daf96c528ca 21:21:31 ---> 3d8b1ca1865c 21:21:31 Step 12/12 : RUN $MAKE 21:21:31 ---> Running in 65ca0e70da94 21:21:32 noop 21:21:33 Removing intermediate container 65ca0e70da94 21:21:33 ---> fbc75c2d320f 21:21:33 Successfully built fbc75c2d320f 21:21:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:33 + docker inspect -f . ci-base-image-arm64 21:21:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:33 prd-ubuntu20.04-docker-arm64-4c-16g-6129 does not seem to be running inside a container 21:21:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:21:35 $ docker top af6241324fc0bb18ace314df7dc7661e166ba673ee31a18aebddcc8595144e5e -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:35 + go version 21:21:35 go version go1.20.2 linux/arm64 [Pipeline] } 21:21:35 $ docker stop --time=1 af6241324fc0bb18ace314df7dc7661e166ba673ee31a18aebddcc8595144e5e 21:21:38 $ docker rm -f --volumes af6241324fc0bb18ace314df7dc7661e166ba673ee31a18aebddcc8595144e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:39 + docker inspect -f . ci-base-image-arm64 21:21:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-6129 does not seem to be running inside a container 21:21:39 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:21:40 $ docker top aef201af44bf123e40a329448de77a40bc6251389ca445a1de6e66f4b97747e9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:41 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 21:21:41 + make test 21:21:41 go test ./... -coverprofile=coverage.out 21:22:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:24:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:24:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements 21:24:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:24:05 go vet ./... 21:24:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:37 ./bin/test-attribution-txt.sh [Pipeline] echo 21:24:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:37 $ docker stop --time=1 aef201af44bf123e40a329448de77a40bc6251389ca445a1de6e66f4b97747e9 21:24:39 $ docker rm -f --volumes aef201af44bf123e40a329448de77a40bc6251389ca445a1de6e66f4b97747e9 [Pipeline] // withDockerContainer [Pipeline] sh 21:24:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:24:41 Warning: overwriting stash ‘coverage-report’ 21:24:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:24:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:44 + ls -al . 21:24:44 total 188 21:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 21:21 . 21:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:19 .. 21:24:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 21:19 .git 21:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:19 .github 21:24:44 -rw-rw-r-- 1 jenkins jenkins 337 Mar 28 21:19 .gitignore 21:24:44 -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 21:19 .golangci.yml 21:24:44 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 28 21:19 Attribution.txt 21:24:44 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 28 21:19 CHANGELOG.md 21:24:44 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 28 21:19 Dockerfile 21:24:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 21:19 GOVERNANCE.md 21:24:44 -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 21:19 Jenkinsfile 21:24:44 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 21:19 LICENSE 21:24:44 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 28 21:19 Makefile 21:24:44 -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 21:19 OWNERS.md 21:24:44 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 28 21:19 README.md 21:24:44 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 21:15 VERSION 21:24:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 21:19 bin 21:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:19 cmd 21:24:44 -rw-r--r-- 1 jenkins jenkins 44311 Mar 28 21:23 coverage.out 21:24:44 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 28 21:19 go.mod 21:24:44 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 28 21:19 go.sum 21:24:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 21:19 internal 21:24:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 21:19 snap 21:24:44 -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 21:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:44 + 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=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 --label arch=arm64 --label version=0.0.0 . 21:24:46 Sending build context to Docker daemon 11.99MB 21:24:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:24:46 Step 2/25 : FROM ${BASE} AS builder 21:24:46 ---> fbc75c2d320f 21:24:46 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:24:46 ---> Running in 0cb570a96a71 21:24:47 Removing intermediate container 0cb570a96a71 21:24:47 ---> 11294e7f9be6 21:24:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:24:47 ---> Running in dd1f019c61e5 21:24:48 Removing intermediate container dd1f019c61e5 21:24:48 ---> ec4d0321ac61 21:24:48 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:24:48 ---> Running in 0ae6615fc172 21:24:48 Removing intermediate container 0ae6615fc172 21:24:48 ---> ecc473506d4d 21:24:48 Step 6/25 : WORKDIR /device-virtual-go 21:24:49 ---> Running in 018fec196df7 21:24:49 Removing intermediate container 018fec196df7 21:24:49 ---> 20cba7bc73f1 21:24:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:49 ---> Running in 7967f78386fb 21:24:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:24:52 OK: 268 MiB in 57 packages 21:24:53 Removing intermediate container 7967f78386fb 21:24:53 ---> 89b8d5f9446d 21:24:53 Step 8/25 : COPY go.mod vendor* ./ 21:24:53 ---> 8dee1b0ccad2 21:24:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:53 ---> Running in ba5c938ec7d4 21:24:58 Removing intermediate container ba5c938ec7d4 21:24:58 ---> e525cf8b3300 21:24:58 Step 10/25 : COPY . . 21:24:58 ---> 98b6f6de2df3 21:24:58 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:58 ---> Running in 600c458ced62 21:24:59 Removing intermediate container 600c458ced62 21:24:59 ---> 7d80739aad2a 21:24:59 Step 12/25 : RUN $MAKE 21:24:59 ---> Running in a7cbb18b003b 21:25:00 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 21:27:06 Removing intermediate container a7cbb18b003b 21:27:06 ---> 48dbcd8678f0 21:27:06 Step 13/25 : FROM alpine:3.17 21:27:06 3.17: Pulling from library/alpine 21:27:06 af6eaf76a39c: Already exists 21:27:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:27:06 Status: Downloaded newer image for alpine:3.17 21:27:06 ---> d74e625d9115 21:27:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:27:06 ---> Running in 6dfa8bc25ccb 21:27:06 Removing intermediate container 6dfa8bc25ccb 21:27:06 ---> 9196c9e9b6c4 21:27:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:27:06 ---> Running in 6aa929df83c0 21:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:27:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:27:08 (1/1) Installing dumb-init (1.2.5-r2) 21:27:08 Executing busybox-1.35.0-r29.trigger 21:27:08 OK: 8 MiB in 16 packages 21:27:09 Removing intermediate container 6aa929df83c0 21:27:09 ---> 67822bb89a98 21:27:09 Step 16/25 : WORKDIR / 21:27:09 ---> Running in 62994db0a7eb 21:27:09 Removing intermediate container 62994db0a7eb 21:27:09 ---> cfe6368feda2 21:27:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:27:09 ---> 7652a2a4a4a9 21:27:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:27:10 ---> 1108d505088e 21:27:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:27:11 ---> 4c9a3f1422d5 21:27:11 Step 20/25 : EXPOSE 59900 21:27:11 ---> Running in 4d74ab2e9d52 21:27:11 Removing intermediate container 4d74ab2e9d52 21:27:11 ---> 47d5090bec7e 21:27:11 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:27:11 ---> Running in 287e4312b8e0 21:27:12 Removing intermediate container 287e4312b8e0 21:27:12 ---> dba0c0a4f86d 21:27:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:27:12 ---> Running in e5956dbefbac 21:27:12 Removing intermediate container e5956dbefbac 21:27:12 ---> 3d6a71eeb7c4 21:27:12 Step 23/25 : LABEL arch=arm64 21:27:12 ---> Running in 6371a893a4b1 21:27:13 Removing intermediate container 6371a893a4b1 21:27:13 ---> 9d23fa022626 21:27:13 Step 24/25 : LABEL git_sha=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 21:27:13 ---> Running in 25a7cef20b79 21:27:13 Removing intermediate container 25a7cef20b79 21:27:13 ---> 6e45f4fb53ae 21:27:13 Step 25/25 : LABEL version=0.0.0 21:27:13 ---> Running in 70af69f2294c 21:27:13 Removing intermediate container 70af69f2294c 21:27:13 ---> 0c560674d9bb 21:27:13 [Warning] One or more build-args [ARCH] were not consumed 21:27:13 Successfully built 0c560674d9bb 21:27:13 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 21:27:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:14 21:27:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:14 arm64: Pulling from edgex-lftools-log-publisher 21:27:14 8998bd30e6a1: Pulling fs layer 21:27:14 04944245beec: Pulling fs layer 21:27:14 699f458cf7ca: Pulling fs layer 21:27:14 765212b225bb: Pulling fs layer 21:27:14 f23df028b6ca: Pulling fs layer 21:27:14 d65c8cfc05b1: Pulling fs layer 21:27:14 2437ff75d9bd: Pulling fs layer 21:27:14 f23df028b6ca: Waiting 21:27:14 d65c8cfc05b1: Waiting 21:27:14 2437ff75d9bd: Waiting 21:27:14 765212b225bb: Waiting 21:27:14 04944245beec: Verifying Checksum 21:27:14 04944245beec: Download complete 21:27:14 765212b225bb: Verifying Checksum 21:27:14 765212b225bb: Download complete 21:27:14 f23df028b6ca: Download complete 21:27:14 d65c8cfc05b1: Verifying Checksum 21:27:14 d65c8cfc05b1: Download complete 21:27:14 699f458cf7ca: Verifying Checksum 21:27:14 699f458cf7ca: Download complete 21:27:15 8998bd30e6a1: Verifying Checksum 21:27:15 8998bd30e6a1: Download complete 21:27:17 2437ff75d9bd: Verifying Checksum 21:27:17 2437ff75d9bd: Download complete 21:27:19 8998bd30e6a1: Pull complete 21:27:20 04944245beec: Pull complete 21:27:21 699f458cf7ca: Pull complete 21:27:21 765212b225bb: Pull complete 21:27:22 f23df028b6ca: Pull complete 21:27:22 d65c8cfc05b1: Pull complete 21:27:37 2437ff75d9bd: Pull complete 21:27:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:27:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:37 prd-ubuntu20.04-docker-arm64-4c-16g-6129 does not seem to be running inside a container 21:27:37 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:27:40 $ docker top b84cae4393d82a0ff56933410c9dab5381632eef0a66ae9804263aa3959352b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:40 ---> job-cost.sh 21:27:41 lf-activate-venv: SKIPPING 21:27:41 INFO: No Stack... 21:27:41 INFO: Retrieving Pricing Info for: v3-standard-4 21:27:42 INFO: Archiving Costs [Pipeline] sh 21:27:42 + cat /w/workspace/device-virtual-go/4/archives/cost.csv 21:27:42 + cut -d, -f6 [Pipeline] lock 21:27:42 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] 21:27:42 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] did not exist. Created. 21:27:42 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:43 /w/workspace/device-virtual-go/4@tmp/durable-fce83f15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:27:43 + echo total: 0.10999999940395355 [Pipeline] stash 21:27:43 Warning: overwriting stash ‘stack-cost’ 21:27:43 Stashed 1 file(s) [Pipeline] } 21:27:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:43 $ docker stop --time=1 b84cae4393d82a0ff56933410c9dab5381632eef0a66ae9804263aa3959352b6 21:27:47 $ docker rm -f --volumes b84cae4393d82a0ff56933410c9dab5381632eef0a66ae9804263aa3959352b6 [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 21:27:48 provisioning config files... 21:27:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config3464591937971605252tmp [Pipeline] { [Pipeline] sh 21:27:48 + set +x 21:27:48 + curl -s https://codecov.io/bash 21:27:48 + bash -s -- 21:27:48 21:27:48 _____ _ 21:27:48 / ____| | | 21:27:48 | | ___ __| | ___ ___ _____ __ 21:27:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:27:48 | |___| (_) | (_| | __/ (_| (_) \ V / 21:27:48 \_____\___/ \__,_|\___|\___\___/ \_/ 21:27:48 Bash-1.0.6 21:27:48 21:27:48 21:27:48 ==> git version 2.25.1 found 21:27:48 ==> 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 21:27:48 Release-Date: 2020-01-08 21:27:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:27:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:27:48 ==> Jenkins CI detected. 21:27:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-368 21:27:48 project root: . 21:27:48 --> token set from env 21:27:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:27:48 ==> Running gcov in . (disable via -X gcov) 21:27:48 ==> Python coveragepy not found 21:27:48 ==> Searching for coverage reports in: 21:27:48 + . 21:27:48 -> Found 1 reports 21:27:48 ==> Detecting git/mercurial file structure 21:27:48 ==> Reading reports 21:27:48 + ./coverage.out bytes=44311 21:27:48 ==> Appending adjustments 21:27:48 https://docs.codecov.io/docs/fixing-reports 21:27:48 + Found adjustments 21:27:48 ==> Gzipping contents 21:27:48 8.0K /tmp/codecov.XViu0a.gz 21:27:48 ==> Uploading reports 21:27:48 url: https://codecov.io 21:27:48 query: branch=PR-368&commit=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 21:27:48 -> Pinging Codecov 21:27:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-368&commit=7c1e0407c4c70e7a097f9970172d3d7e5ad6e858&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 21:27:48 -> Uploading to 21:27:48 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/5E52B4B073DB2E39498172D8E973AA87/7c1e0407c4c70e7a097f9970172d3d7e5ad6e858/764eacca-9ee0-471e-8f40-6c3062b6714f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T212748Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d68bebdb91829a9d2c88c6ee26508c20cd861a81a295ba79ae9cb0d4313dc1ad 21:27:48 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:48 Dload Upload Total Spent Left Speed 21:27:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 18795 --:--:-- --:--:-- --:--:-- 18795 21:27:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/7c1e0407c4c70e7a097f9970172d3d7e5ad6e858 [Pipeline] } 21:27:49 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 21:27:49 + [ -d /w/workspace/foundry_device-virtual-go_PR-368/archives ] 21:27:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 21:27:49 total 16 21:27:49 drwxr-xr-x 3 root root 4096 Mar 28 21:17 . 21:27:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 21:17 .. 21:27:49 drwxr-xr-x 2 root root 4096 Mar 28 21:17 cost 21:27:49 -rw-r--r-- 1 root root 89 Mar 28 21:17 cost.csv 21:27:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-368/archives 21:27:49 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 21:27:49 total 16 21:27:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 21:17 . 21:27:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 21:17 .. 21:27:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 21:17 cost 21:27:49 -rw-r--r-- 1 jenkins jenkins 89 Mar 28 21:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:27:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:27:51 ---> package-listing.sh 21:27:51 ++ facter osfamily 21:27:51 ++ tr '[:upper:]' '[:lower:]' 21:27:51 + OS_FAMILY=debian 21:27:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-368 21:27:51 + START_PACKAGES=/tmp/packages_start.txt 21:27:51 + END_PACKAGES=/tmp/packages_end.txt 21:27:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:27:51 + PACKAGES=/tmp/packages_start.txt 21:27:51 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 21:27:51 + PACKAGES=/tmp/packages_end.txt 21:27:51 + case "${OS_FAMILY}" in 21:27:51 + dpkg -l 21:27:51 + grep '^ii' 21:27:51 + '[' -f /tmp/packages_start.txt ']' 21:27:51 + '[' -f /tmp/packages_end.txt ']' 21:27:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:27:51 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 21:27:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-368/archives/ 21:27:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-368/archives/ [Pipeline] echo 21:27:51 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:27:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:52 prd-ubuntu20.04-docker-8c-8g-6128 does not seem to be running inside a container 21:27:52 $ 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-368/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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:27:52 $ docker top 1658752ea140f166f826ef0d3b76579925856864aaacfe0e6b9117bb5c025ad3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:52 + touch /tmp/pre-build-complete [Pipeline] sh 21:27:53 + mkdir -p /var/log/sysstat [Pipeline] sh 21:27:53 + ls /var/log/sa-host 21:27:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:53 provisioning config files... 21:27:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config6352983845806345297tmp [Pipeline] { [Pipeline] echo 21:27:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:27:53 ---> create-netrc.sh [Pipeline] } 21:27:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:27:54 ---> python-tools-install.sh [Pipeline] echo 21:27:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:27:54 ---> sudo-logs.sh 21:27:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:27:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:27:54 ---> job-cost.sh 21:27:54 lf-activate-venv: SKIPPING 21:27:54 DEBUG: total: 0.2199999988079071 21:27:54 INFO: Retrieving Stack Cost... 21:27:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:27:55 INFO: Archiving Costs [Pipeline] echo 21:27:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:27:55 ---> logs-deploy.sh 21:27:55 lf-activate-venv: SKIPPING 21:27:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-368/4 21:27:55 INFO: archiving workspace using pattern(s): 21:27:56 Archives upload complete. 21:27:56 INFO: archiving logs to Nexus