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 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 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-ssh15640791671227046744.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-ssh18059680488521293716.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-ssh13973630458670983965.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-ssh8258103648153766325.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-ssh13701756421995351261.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-5317 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 > 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 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit fe064901a62a67ca9ae1ee0798090cfe3af9ec79 Merge succeeded, producing fe064901a62a67ca9ae1ee0798090cfe3af9ec79 Checking out Revision fe064901a62a67ca9ae1ee0798090cfe3af9ec79 (PR-368) > git config core.sparsecheckout # timeout=10 > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # 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 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 Commit message: "refactor!: Change configuration and devices files format to YAML" First time build. Skipping changelog. > git rev-list --no-walk 9b001715682b89ce05f6197f4a31789827fe5e84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:29:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:29:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:29:43 ========================================================= 22:29:43 EdgeX Global Pipelines Version Info 22:29:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:29:43 ------------------- 22:29:43 stable info: 22:29:43 ------------------- 22:29:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:29:43 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:29:43 Message: update stable to v1.0.245 22:29:44 ------------------- 22:29:44 experimental info: 22:29:44 ------------------- 22:29:44 Commited By: **** collab-it+edgex@linuxfoundation.org 22:29:44 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 22:29:44 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 22:29:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 22:29:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo 22:29:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe06490 [Pipeline] echo 22:29:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:29:45 provisioning config files... 22:29:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config2258895893336133843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:29:45 ---> docker-login.sh 22:29:45 nexus3.edgexfoundry.org:10001 22:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:45 Configure a credential helper to remove this warning. See 22:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:45 22:29:45 Login Succeeded 22:29:45 nexus3.edgexfoundry.org:10002 22:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:45 Configure a credential helper to remove this warning. See 22:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:45 22:29:45 Login Succeeded 22:29:45 nexus3.edgexfoundry.org:10003 22:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:45 Configure a credential helper to remove this warning. See 22:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:45 22:29:45 Login Succeeded 22:29:45 nexus3.edgexfoundry.org:10004 22:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:45 Configure a credential helper to remove this warning. See 22:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:45 22:29:45 Login Succeeded 22:29:45 docker.io 22:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:29:46 Configure a credential helper to remove this warning. See 22:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:29:46 22:29:46 Login Succeeded 22:29:46 ---> docker-login.sh ends [Pipeline] } 22:29:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:29:46 + git rev-list -1 --merges fe064901a62a67ca9ae1ee0798090cfe3af9ec79~1..fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo 22:29:46 -----------> git rev-list -1 --merges fe064901a62a67ca9ae1ee0798090cfe3af9ec79~1..fe064901a62a67ca9ae1ee0798090cfe3af9ec79 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [false] [Pipeline] sh 22:29:47 + git log --format=format:%s -1 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo 22:29:47 ========================================================= 22:29:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:29:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:29:47 + git log --format=format:%s -1 fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] echo 22:29:47 [semverPrep] GIT_COMMIT: fe064901a62a67ca9ae1ee0798090cfe3af9ec79, Commit Message: refactor!: Change configuration and devices files format to YAML [Pipeline] echo 22:29:47 [semverPrep] This is not a build commit. [Pipeline] sh 22:29:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:29:47 + grep -v github /etc/ssh/ssh_known_hosts 22:29:47 + [ -e /tmp/ssh_known_hosts ] 22:29:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:29:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:29:47 + sudo tee -a /etc/ssh/ssh_known_hosts 22:29:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:29:48 22:29:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:29:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:29:48 0.1.4: Pulling from edgex-devops/py-git-semver 22:29:48 b85a868b505f: Pulling fs layer 22:29:48 e2be974225ed: Pulling fs layer 22:29:48 339a4e72a1f5: Pulling fs layer 22:29:48 988bab9f4d93: Pulling fs layer 22:29:48 1469e6f7b9e6: Pulling fs layer 22:29:48 eaf3925da568: Pulling fs layer 22:29:48 bab4dde63d76: Pulling fs layer 22:29:48 bde34c3a00c8: Pulling fs layer 22:29:48 b352a97aabf1: Pulling fs layer 22:29:48 4872d77fe225: Pulling fs layer 22:29:48 5851b861e8e6: Pulling fs layer 22:29:48 bab4dde63d76: Waiting 22:29:48 1469e6f7b9e6: Waiting 22:29:48 bde34c3a00c8: Waiting 22:29:48 b352a97aabf1: Waiting 22:29:48 4872d77fe225: Waiting 22:29:48 eaf3925da568: Waiting 22:29:48 988bab9f4d93: Waiting 22:29:48 e2be974225ed: Download complete 22:29:48 988bab9f4d93: Verifying Checksum 22:29:48 988bab9f4d93: Download complete 22:29:48 1469e6f7b9e6: Verifying Checksum 22:29:48 1469e6f7b9e6: Download complete 22:29:48 339a4e72a1f5: Verifying Checksum 22:29:48 339a4e72a1f5: Download complete 22:29:48 eaf3925da568: Download complete 22:29:48 bde34c3a00c8: Verifying Checksum 22:29:48 bde34c3a00c8: Download complete 22:29:48 b352a97aabf1: Verifying Checksum 22:29:48 b352a97aabf1: Download complete 22:29:48 4872d77fe225: Verifying Checksum 22:29:48 4872d77fe225: Download complete 22:29:48 5851b861e8e6: Verifying Checksum 22:29:48 5851b861e8e6: Download complete 22:29:48 b85a868b505f: Download complete 22:29:49 bab4dde63d76: Verifying Checksum 22:29:49 bab4dde63d76: Download complete 22:29:50 b85a868b505f: Pull complete 22:29:50 e2be974225ed: Pull complete 22:29:50 339a4e72a1f5: Pull complete 22:29:50 988bab9f4d93: Pull complete 22:29:51 1469e6f7b9e6: Pull complete 22:29:51 eaf3925da568: Pull complete 22:29:53 bab4dde63d76: Pull complete 22:29:53 bde34c3a00c8: Pull complete 22:29:53 b352a97aabf1: Pull complete 22:29:53 4872d77fe225: Pull complete 22:29:53 5851b861e8e6: Pull complete 22:29:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:29:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:29:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:29:53 prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container 22:29:53 $ 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 22:29:54 $ docker top 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 -eo pid,comm 22:29:54 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). 22:29:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:29:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:54 [ssh-agent] Looking for ssh-agent implementation... 22:29:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:55 $ docker exec 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent 22:29:55 SSH_AUTH_SOCK=/tmp/ssh-rgaSzDhvwhb1/agent.31 22:29:55 SSH_AGENT_PID=37 22:29:55 Running ssh-add (command line suppressed) 22:29:55 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_1341827192891002843.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_1341827192891002843.key) 22:29:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:55 + git tag --points-at HEAD [Pipeline] } 22:29:55 $ docker exec --env ******** --env ******** 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent -k 22:29:55 unset SSH_AUTH_SOCK; 22:29:55 unset SSH_AGENT_PID; 22:29:55 echo Agent pid 37 killed; 22:29:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:29:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:29:55 [ssh-agent] Looking for ssh-agent implementation... 22:29:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:29:55 $ docker exec 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent 22:29:55 SSH_AUTH_SOCK=/tmp/ssh-HooTpwP6k8wr/agent.69 22:29:55 SSH_AGENT_PID=76 22:29:55 Running ssh-add (command line suppressed) 22:29:56 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_10335520498383541109.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_10335520498383541109.key) 22:29:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:29:56 + git semver init 22:29:56 2023-03-22 22:29:56,558 [run_init] DEBUG init version:0.0.0 force:False 22:29:56 2023-03-22 22:29:56,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-368/.semver 22:29:56 2023-03-22 22:29:56,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-368/.semver 22:29:56 2023-03-22 22:29:56,559 [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) 22:29:57 2023-03-22 22:29:57,486 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-368/.git/info/exclude 22:29:57 2023-03-22 22:29:57,487 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 with force:False 22:29:57 2023-03-22 22:29:57,487 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 22:29:57 2023-03-22 22:29:57,491 [execute] INFO git cat-file --batch-check 22:29:57 2023-03-22 22:29:57,491 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 22:29:57 2023-03-22 22:29:57,498 [execute] INFO git cat-file --batch 22:29:57 2023-03-22 22:29:57,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 22:29:57 2023-03-22 22:29:57,505 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 22:29:57 0.0.0 [Pipeline] } 22:29:57 $ docker exec --env ******** --env ******** 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 ssh-agent -k 22:29:57 unset SSH_AUTH_SOCK; 22:29:57 unset SSH_AGENT_PID; 22:29:57 echo Agent pid 76 killed; 22:29:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:29:57 + git semver [Pipeline] } 22:29:58 $ docker stop --time=1 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 22:29:59 $ docker rm -f --volumes 20c0c05816ddc9d789490bd619fa727229688bbb4766fbfac3bbdfa9ebb96ec3 [Pipeline] // withDockerContainer [Pipeline] sh 22:29:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:30:00 Stashed 1 file(s) [Pipeline] echo 22:30:00 [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 22:30:00 provisioning config files... 22:30:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config705353873077425438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:30:00 ---> docker-login.sh 22:30:00 nexus3.edgexfoundry.org:10001 22:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:00 Configure a credential helper to remove this warning. See 22:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:00 22:30:00 Login Succeeded 22:30:00 nexus3.edgexfoundry.org:10002 22:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:00 Configure a credential helper to remove this warning. See 22:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:00 22:30:00 Login Succeeded 22:30:00 nexus3.edgexfoundry.org:10003 22:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:00 Configure a credential helper to remove this warning. See 22:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:00 22:30:00 Login Succeeded 22:30:00 nexus3.edgexfoundry.org:10004 22:30:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:00 Configure a credential helper to remove this warning. See 22:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:00 22:30:00 Login Succeeded 22:30:00 docker.io 22:30:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:30:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:30:01 Configure a credential helper to remove this warning. See 22:30:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:30:01 22:30:01 Login Succeeded 22:30:01 ---> docker-login.sh ends [Pipeline] } 22:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:30:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:30:01 ========================================================= 22:30:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:30:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:01 + 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 . 22:30:01 Sending build context to Docker daemon 23.53MB 22:30:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:30:01 Step 2/12 : FROM ${BASE} AS builder 22:30:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:30:01 63b65145d645: Pulling fs layer 22:30:01 a2d21d5440eb: Pulling fs layer 22:30:01 935e6c44a52c: Pulling fs layer 22:30:01 94cc34f8dd06: Pulling fs layer 22:30:01 30dea6a524f1: Pulling fs layer 22:30:01 a2aff8979fd8: Pulling fs layer 22:30:01 94cc34f8dd06: Waiting 22:30:01 6808be2612f2: Pulling fs layer 22:30:01 30dea6a524f1: Waiting 22:30:01 f25807f1079a: Pulling fs layer 22:30:01 f25807f1079a: Waiting 22:30:01 a2d21d5440eb: Verifying Checksum 22:30:01 a2d21d5440eb: Download complete 22:30:01 94cc34f8dd06: Verifying Checksum 22:30:01 94cc34f8dd06: Download complete 22:30:01 30dea6a524f1: Verifying Checksum 22:30:01 30dea6a524f1: Download complete 22:30:01 63b65145d645: Download complete 22:30:01 a2aff8979fd8: Verifying Checksum 22:30:01 a2aff8979fd8: Download complete 22:30:01 63b65145d645: Pull complete 22:30:01 a2d21d5440eb: Pull complete 22:30:02 f25807f1079a: Verifying Checksum 22:30:02 f25807f1079a: Download complete 22:30:02 935e6c44a52c: Verifying Checksum 22:30:02 935e6c44a52c: Download complete 22:30:02 6808be2612f2: Verifying Checksum 22:30:02 6808be2612f2: Download complete 22:30:05 935e6c44a52c: Pull complete 22:30:06 94cc34f8dd06: Pull complete 22:30:06 30dea6a524f1: Pull complete 22:30:06 a2aff8979fd8: Pull complete 22:30:08 6808be2612f2: Pull complete 22:30:09 f25807f1079a: Pull complete 22:30:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:30:09 ---> 3b553350e43f 22:30:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:30:10 ---> Running in 96f40476387a 22:30:11 Removing intermediate container 96f40476387a 22:30:11 ---> 3ca4146fe832 22:30:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:30:11 ---> Running in 26925aecabcf 22:30:11 Removing intermediate container 26925aecabcf 22:30:11 ---> 728d4cf0a1d4 22:30:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:30:11 ---> Running in b385161d531b 22:30:11 Removing intermediate container b385161d531b 22:30:11 ---> 529c552e28a2 22:30:11 Step 6/12 : WORKDIR /device-virtual-go 22:30:11 ---> Running in 6b37151a4c0c 22:30:11 Removing intermediate container 6b37151a4c0c 22:30:11 ---> c7031eefa9e9 22:30:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:30:11 ---> Running in a35494c4ec2b 22:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:30:12 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:30:12 (2/4) Installing libedit (20221030.3.1-r0) 22:30:12 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:30:12 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:30:12 Executing busybox-1.35.0-r29.trigger 22:30:12 OK: 269 MiB in 57 packages 22:30:12 Removing intermediate container a35494c4ec2b 22:30:12 ---> 3111883ce0cc 22:30:12 Step 8/12 : COPY go.mod vendor* ./ 22:30:12 ---> 7c7a6b6e65a9 22:30:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:30:12 ---> Running in a617263df5e6 22:30:15 Still waiting to schedule task 22:30:15 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:30:39 Removing intermediate container a617263df5e6 22:30:39 ---> a96b95f0f64d 22:30:39 Step 10/12 : COPY . . 22:30:39 ---> ab0961c3003a 22:30:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:30:39 ---> Running in c23ac6f55bb1 22:30:39 Removing intermediate container c23ac6f55bb1 22:30:39 ---> 2a411ee35bf9 22:30:39 Step 12/12 : RUN $MAKE 22:30:39 ---> Running in 2e6bd602c5af 22:30:39 noop 22:30:39 Removing intermediate container 2e6bd602c5af 22:30:39 ---> 193b5917d750 22:30:39 Successfully built 193b5917d750 22:30:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:39 + docker inspect -f . ci-base-image-x86_64 22:30:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:39 prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container 22:30:39 $ 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 22:30:40 $ docker top 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:40 + go version 22:30:40 go version go1.20.2 linux/amd64 [Pipeline] } 22:30:40 $ docker stop --time=1 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 22:30:41 $ docker rm -f --volumes 1a9d5098a31ca51d09c6237ae9b60a73726b93b33899a08b3925a14f40334618 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:30:42 + docker inspect -f . ci-base-image-x86_64 22:30:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:30:42 prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container 22:30:42 $ 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 22:30:42 $ docker top 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 -eo pid,comm [Pipeline] { [Pipeline] sh 22:30:42 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] fileExists [Pipeline] sh 22:30:43 + make test 22:30:43 go test ./... -coverprofile=coverage.out 22:30:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:30:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:30:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements 22:31:05 go vet ./... 22:31:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:31:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:31:09 ./bin/test-attribution-txt.sh [Pipeline] echo 22:31:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:31:09 $ docker stop --time=1 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 22:31:11 $ docker rm -f --volumes 385dcb58e72fa3bbfc81689c030239200a5fb85687b3e2ba29f1d5b8246b9d27 [Pipeline] // withDockerContainer [Pipeline] sh 22:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:31:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:31:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:31:12 + ls -al . 22:31:12 total 192 22:31:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 22:30 . 22:31:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:29 .. 22:31:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:29 .git 22:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 .github 22:31:12 -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:29 .gitignore 22:31:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:29 .golangci.yml 22:31:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:29 .semver 22:31:12 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:29 Attribution.txt 22:31:12 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:29 CHANGELOG.md 22:31:12 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:29 Dockerfile 22:31:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:29 GOVERNANCE.md 22:31:12 -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:29 Jenkinsfile 22:31:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:29 LICENSE 22:31:12 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:29 Makefile 22:31:12 -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:29 OWNERS.md 22:31:12 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:29 README.md 22:31:12 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:29 VERSION 22:31:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:29 bin 22:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 cmd 22:31:12 -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:30 coverage.out 22:31:12 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:29 go.mod 22:31:12 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:29 go.sum 22:31:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:29 internal 22:31:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:29 snap 22:31:12 -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:12 + 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=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 --label arch=amd64 --label version=0.0.0 . 22:31:12 Sending build context to Docker daemon 23.57MB 22:31:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:31:12 Step 2/25 : FROM ${BASE} AS builder 22:31:12 ---> 193b5917d750 22:31:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:31:13 ---> Running in 901ca58cd67b 22:31:13 Removing intermediate container 901ca58cd67b 22:31:13 ---> 71ccb9256451 22:31:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:31:13 ---> Running in 7af347930260 22:31:13 Removing intermediate container 7af347930260 22:31:13 ---> dd633f0d23f6 22:31:13 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:31:13 ---> Running in c17691fee4f9 22:31:13 Removing intermediate container c17691fee4f9 22:31:13 ---> 8da0a2e2bc47 22:31:13 Step 6/25 : WORKDIR /device-virtual-go 22:31:13 ---> Running in 8310326dcc9d 22:31:13 Removing intermediate container 8310326dcc9d 22:31:13 ---> 86b93a39405e 22:31:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:31:13 ---> Running in 6b1110770ebe 22:31:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:31:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:31:14 OK: 269 MiB in 57 packages 22:31:14 Removing intermediate container 6b1110770ebe 22:31:14 ---> 8e3523feb419 22:31:14 Step 8/25 : COPY go.mod vendor* ./ 22:31:14 ---> 8af359e5810c 22:31:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:31:14 ---> Running in 20d60b0f7c9a 22:31:15 Removing intermediate container 20d60b0f7c9a 22:31:15 ---> dcbc6b9761ec 22:31:15 Step 10/25 : COPY . . 22:31:16 ---> 331d4190b1da 22:31:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:31:16 ---> Running in 24e172148728 22:31:16 Removing intermediate container 24e172148728 22:31:16 ---> 00046bedc913 22:31:16 Step 12/25 : RUN $MAKE 22:31:16 ---> Running in 71af2bb74c60 22:31:16 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 22:31:34 Removing intermediate container 71af2bb74c60 22:31:34 ---> d1dba1c41062 22:31:34 Step 13/25 : FROM alpine:3.17 22:31:34 3.17: Pulling from library/alpine 22:31:34 63b65145d645: Already exists 22:31:34 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:31:34 Status: Downloaded newer image for alpine:3.17 22:31:34 ---> b2aa39c304c2 22:31:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:31:34 ---> Running in aaa6c8b5bf7c 22:31:34 Removing intermediate container aaa6c8b5bf7c 22:31:34 ---> 4100ca48821b 22:31:34 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:31:34 ---> Running in fceaee5c8d61 22:31:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:31:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:31:35 (1/1) Installing dumb-init (1.2.5-r2) 22:31:35 Executing busybox-1.35.0-r29.trigger 22:31:35 OK: 7 MiB in 16 packages 22:31:35 Removing intermediate container fceaee5c8d61 22:31:35 ---> a4eb7bea35a5 22:31:35 Step 16/25 : WORKDIR / 22:31:35 ---> Running in dc97abdc7d1d 22:31:35 Removing intermediate container dc97abdc7d1d 22:31:35 ---> c1e94505f062 22:31:35 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:31:35 ---> 8e20efbacff7 22:31:35 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:31:36 ---> 8d34d0bf6a65 22:31:36 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:31:36 ---> bd854e2b23a3 22:31:36 Step 20/25 : EXPOSE 59900 22:31:36 ---> Running in 2f5b63824d80 22:31:36 Removing intermediate container 2f5b63824d80 22:31:36 ---> 4642798b2db8 22:31:36 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:31:36 ---> Running in 13f72c551167 22:31:36 Removing intermediate container 13f72c551167 22:31:36 ---> 95f165778f41 22:31:36 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:31:36 ---> Running in 416fba15b2f0 22:31:36 Removing intermediate container 416fba15b2f0 22:31:36 ---> 6630b466617f 22:31:36 Step 23/25 : LABEL arch=amd64 22:31:36 ---> Running in 594db712c627 22:31:36 Removing intermediate container 594db712c627 22:31:36 ---> e3eb14366be3 22:31:36 Step 24/25 : LABEL git_sha=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 22:31:36 ---> Running in 656dcd5a6ff4 22:31:36 Removing intermediate container 656dcd5a6ff4 22:31:36 ---> 152d010f2791 22:31:36 Step 25/25 : LABEL version=0.0.0 22:31:37 ---> Running in e6db4e859dc0 22:31:37 Removing intermediate container e6db4e859dc0 22:31:37 ---> 32841b7fc93d 22:31:37 [Warning] One or more build-args [ARCH] were not consumed 22:31:37 Successfully built 32841b7fc93d 22:31:37 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 22:31:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:37 22:31:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:31:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:37 latest: Pulling from edgex-lftools-log-publisher 22:31:37 5eb5b503b376: Pulling fs layer 22:31:37 5c69ac0246d0: Pulling fs layer 22:31:37 ec43610c2a17: Pulling fs layer 22:31:37 3a2ae6a8a46f: Pulling fs layer 22:31:37 33b1e0a273af: Pulling fs layer 22:31:37 5d3b04190fa2: Pulling fs layer 22:31:37 2f39f015ded8: Pulling fs layer 22:31:37 33b1e0a273af: Waiting 22:31:37 5d3b04190fa2: Waiting 22:31:37 3a2ae6a8a46f: Waiting 22:31:37 2f39f015ded8: Waiting 22:31:37 5c69ac0246d0: Verifying Checksum 22:31:37 5c69ac0246d0: Download complete 22:31:37 3a2ae6a8a46f: Verifying Checksum 22:31:37 3a2ae6a8a46f: Download complete 22:31:38 ec43610c2a17: Verifying Checksum 22:31:38 ec43610c2a17: Download complete 22:31:38 5d3b04190fa2: Verifying Checksum 22:31:38 5d3b04190fa2: Download complete 22:31:38 33b1e0a273af: Verifying Checksum 22:31:38 33b1e0a273af: Download complete 22:31:38 5eb5b503b376: Verifying Checksum 22:31:38 5eb5b503b376: Download complete 22:31:38 2f39f015ded8: Download complete 22:31:39 5eb5b503b376: Pull complete 22:31:39 5c69ac0246d0: Pull complete 22:31:39 ec43610c2a17: Pull complete 22:31:39 3a2ae6a8a46f: Pull complete 22:31:39 33b1e0a273af: Pull complete 22:31:39 5d3b04190fa2: Pull complete 22:31:44 2f39f015ded8: Pull complete 22:31:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:31:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:31:44 prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container 22:31:44 $ 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 22:31:45 $ docker top 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:31:46 ---> job-cost.sh 22:31:46 lf-activate-venv: SKIPPING 22:31:46 INFO: No Stack... 22:31:46 INFO: Retrieving Pricing Info for: v3-standard-8 22:31:47 INFO: Archiving Costs [Pipeline] sh 22:31:47 + cat /w/workspace/foundry_device-virtual-go_PR-368/archives/cost.csv 22:31:47 + cut -d, -f6 [Pipeline] lock 22:31:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] 22:31:47 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] did not exist. Created. 22:31:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:31:47 + echo total: 0.2199999988079071 [Pipeline] stash 22:31:48 Stashed 1 file(s) [Pipeline] } 22:31:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:31:48 $ docker stop --time=1 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 22:31:49 $ docker rm -f --volumes 942b1985aeebc58d35041cd4464d49207be2117a7a9ec1ce311349fb91dcff85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:34:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5319 in /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] { [Pipeline] ws 22:34:51 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 22:34:51 The recommended git tool is: git 22:35:01 using credential edgex-jenkins-ssh 22:35:01 Cloning the remote Git repository 22:35:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:35:02 > git init /w/workspace/device-virtual-go/2 # timeout=10 22:35:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:35:02 > git --version # timeout=10 22:35:02 > git --version # 'git version 2.25.1' 22:35:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:35:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:35:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:35:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:35:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:07 > 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 22:35:07 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit fe064901a62a67ca9ae1ee0798090cfe3af9ec79 22:35:08 Merge succeeded, producing fe064901a62a67ca9ae1ee0798090cfe3af9ec79 22:35:08 Checking out Revision fe064901a62a67ca9ae1ee0798090cfe3af9ec79 (PR-368) 22:35:07 > git config core.sparsecheckout # timeout=10 22:35:07 > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 22:35:08 > git remote # timeout=10 22:35:08 > git config --get remote.origin.url # timeout=10 22:35:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:35:08 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 22:35:08 > git rev-parse HEAD^{commit} # timeout=10 22:35:08 > git config core.sparsecheckout # timeout=10 22:35:08 > git checkout -f fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 22:35:12 Commit message: "refactor!: Change configuration and devices files format to YAML" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:35:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:35:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:35:13 Dload Upload Total Spent Left Speed 22:35:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 22:35:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:35:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:35:14 + sudo tee /etc/docker/daemon.new 22:35:14 { 22:35:14 "registry-mirrors": [ 22:35:14 "https://nexus3.edgexfoundry.org:10001" 22:35:14 ], 22:35:14 "bip": "10.250.0.254/24", 22:35:14 "hosts": [ 22:35:14 "tcp://0.0.0.0:5555", 22:35:14 "unix:///var/run/docker.sock" 22:35:14 ], 22:35:14 "mtu": 1458, 22:35:14 "selinux-enabled": true, 22:35:14 "seccomp-profile": "/etc/docker/seccomp.json" 22:35:14 } [Pipeline] sh 22:35:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:35:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:35:33 provisioning config files... 22:35:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3560249975327104349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:35:34 ---> docker-login.sh 22:35:34 nexus3.edgexfoundry.org:10001 22:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:34 Configure a credential helper to remove this warning. See 22:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:34 22:35:34 Login Succeeded 22:35:34 nexus3.edgexfoundry.org:10002 22:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:35 Configure a credential helper to remove this warning. See 22:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:35 22:35:35 Login Succeeded 22:35:35 nexus3.edgexfoundry.org:10003 22:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:35 Configure a credential helper to remove this warning. See 22:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:35 22:35:35 Login Succeeded 22:35:35 nexus3.edgexfoundry.org:10004 22:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:36 Configure a credential helper to remove this warning. See 22:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:36 22:35:36 Login Succeeded 22:35:36 docker.io 22:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:35:36 Configure a credential helper to remove this warning. See 22:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:35:36 22:35:36 Login Succeeded 22:35:36 ---> docker-login.sh ends [Pipeline] } 22:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:35:37 ========================================================= 22:35:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:35:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:35:37 + 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 . 22:35:37 Sending build context to Docker daemon 11.94MB 22:35:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:35:37 Step 2/12 : FROM ${BASE} AS builder 22:35:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:35:37 af6eaf76a39c: Pulling fs layer 22:35:37 55522c791124: Pulling fs layer 22:35:37 ce5c4a1c91eb: Pulling fs layer 22:35:37 169dfbe0d373: Pulling fs layer 22:35:37 e1ff8fa3b103: Pulling fs layer 22:35:37 52ebb69f0ebf: Pulling fs layer 22:35:37 5abe8eddf0d5: Pulling fs layer 22:35:37 e1ff8fa3b103: Waiting 22:35:37 5abe8eddf0d5: Waiting 22:35:37 52ebb69f0ebf: Waiting 22:35:37 169dfbe0d373: Waiting 22:35:38 55522c791124: Verifying Checksum 22:35:38 55522c791124: Download complete 22:35:38 169dfbe0d373: Verifying Checksum 22:35:38 169dfbe0d373: Download complete 22:35:38 e1ff8fa3b103: Verifying Checksum 22:35:38 e1ff8fa3b103: Download complete 22:35:38 af6eaf76a39c: Verifying Checksum 22:35:38 af6eaf76a39c: Download complete 22:35:39 af6eaf76a39c: Pull complete 22:35:39 5abe8eddf0d5: Verifying Checksum 22:35:39 5abe8eddf0d5: Download complete 22:35:39 55522c791124: Pull complete 22:35:41 ce5c4a1c91eb: Verifying Checksum 22:35:41 ce5c4a1c91eb: Download complete 22:35:41 52ebb69f0ebf: Verifying Checksum 22:35:41 52ebb69f0ebf: Download complete 22:35:53 ce5c4a1c91eb: Pull complete 22:35:53 169dfbe0d373: Pull complete 22:35:53 e1ff8fa3b103: Pull complete 22:35:58 52ebb69f0ebf: Pull complete 22:36:00 5abe8eddf0d5: Pull complete 22:36:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:36:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:36:00 ---> 6cb57ee374ae 22:36:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:36:06 ---> Running in a62d04f11962 22:36:06 Removing intermediate container a62d04f11962 22:36:06 ---> 98c86ded52a6 22:36:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:36:06 ---> Running in 8178164fc847 22:36:06 Removing intermediate container 8178164fc847 22:36:06 ---> 3ec368e33934 22:36:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:36:06 ---> Running in 4e47f73c8c56 22:36:06 Removing intermediate container 4e47f73c8c56 22:36:06 ---> 1e401dee3faa 22:36:06 Step 6/12 : WORKDIR /device-virtual-go 22:36:06 ---> Running in 6c56e9ca4097 22:36:06 Removing intermediate container 6c56e9ca4097 22:36:06 ---> f48fb35d2b97 22:36:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:36:06 ---> Running in 543ff158071f 22:36:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:36:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:36:10 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:36:10 (2/4) Installing libedit (20221030.3.1-r0) 22:36:10 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:36:10 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:36:10 Executing busybox-1.35.0-r29.trigger 22:36:10 OK: 268 MiB in 57 packages 22:36:11 Removing intermediate container 543ff158071f 22:36:11 ---> 2e0e511eccc0 22:36:11 Step 8/12 : COPY go.mod vendor* ./ 22:36:12 ---> a73d432e95b6 22:36:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:36:12 ---> Running in 4b439b122407 22:37:34 Removing intermediate container 4b439b122407 22:37:34 ---> 3827e021be68 22:37:34 Step 10/12 : COPY . . 22:37:34 ---> 5abb78daddc6 22:37:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:37:34 ---> Running in ee2d7f960bb5 22:37:34 Removing intermediate container ee2d7f960bb5 22:37:34 ---> 7ff906b5a854 22:37:34 Step 12/12 : RUN $MAKE 22:37:34 ---> Running in b6f4a464dde3 22:37:34 noop 22:37:34 Removing intermediate container b6f4a464dde3 22:37:34 ---> d5d8a2f6ffb4 22:37:34 Successfully built d5d8a2f6ffb4 22:37:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:34 + docker inspect -f . ci-base-image-arm64 22:37:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:34 prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 22:37:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 22:37:36 $ docker top 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:36 + go version 22:37:36 go version go1.20.2 linux/arm64 [Pipeline] } 22:37:36 $ docker stop --time=1 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 22:37:40 $ docker rm -f --volumes 3b220a516ddd9ba3b7f64dfd7e32e804b5f97d675110567865585c516e9128b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:40 + docker inspect -f . ci-base-image-arm64 22:37:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:37:40 prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 22:37:40 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 22:37:42 $ docker top 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc -eo pid,comm [Pipeline] { [Pipeline] sh 22:37:42 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 22:37:43 + make test 22:37:43 go test ./... -coverprofile=coverage.out 22:38:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:40:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:40:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.137s coverage: 65.7% of statements 22:40:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:40:13 go vet ./... 22:40:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:40:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:40:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:40:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:40:46 $ docker stop --time=1 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc 22:40:49 $ docker rm -f --volumes 3fcd54e474dc54d78531418fe7f70a44af6676a588f3cf67e22e3cfbbd16bebc [Pipeline] // withDockerContainer [Pipeline] sh 22:40:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:50 Warning: overwriting stash ‘coverage-report’ 22:40:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:40:52 + ls -al . 22:40:52 total 188 22:40:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:37 . 22:40:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:35 .. 22:40:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:35 .git 22:40:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 .github 22:40:52 -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:35 .gitignore 22:40:52 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:35 .golangci.yml 22:40:52 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:35 Attribution.txt 22:40:52 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:35 CHANGELOG.md 22:40:52 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:35 Dockerfile 22:40:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:35 GOVERNANCE.md 22:40:52 -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:35 Jenkinsfile 22:40:52 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:35 LICENSE 22:40:52 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:35 Makefile 22:40:52 -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:35 OWNERS.md 22:40:52 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:35 README.md 22:40:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:29 VERSION 22:40:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:35 bin 22:40:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 cmd 22:40:52 -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:40 coverage.out 22:40:52 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:35 go.mod 22:40:52 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:35 go.sum 22:40:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:35 internal 22:40:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:35 snap 22:40:52 -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:52 + 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=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 --label arch=arm64 --label version=0.0.0 . 22:40:53 Sending build context to Docker daemon 11.98MB 22:40:53 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:40:53 Step 2/25 : FROM ${BASE} AS builder 22:40:53 ---> d5d8a2f6ffb4 22:40:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:40:53 ---> Running in c3687494a686 22:40:53 Removing intermediate container c3687494a686 22:40:53 ---> 5ec91030d04a 22:40:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:40:53 ---> Running in 9bbada605968 22:40:54 Removing intermediate container 9bbada605968 22:40:54 ---> 7c6d0586c8c4 22:40:54 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:40:54 ---> Running in f227e56de642 22:40:54 Removing intermediate container f227e56de642 22:40:54 ---> 27969f988773 22:40:54 Step 6/25 : WORKDIR /device-virtual-go 22:40:54 ---> Running in f17e9dd659bc 22:40:54 Removing intermediate container f17e9dd659bc 22:40:54 ---> 5be2353bec25 22:40:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:54 ---> Running in 3ded16eaa85e 22:40:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:40:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:40:57 OK: 268 MiB in 57 packages 22:40:58 Removing intermediate container 3ded16eaa85e 22:40:58 ---> ad810e36bb20 22:40:58 Step 8/25 : COPY go.mod vendor* ./ 22:41:00 ---> 168c9c888dd6 22:41:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:00 ---> Running in 003a0bef4ced 22:41:04 Removing intermediate container 003a0bef4ced 22:41:04 ---> fbe05b1430e6 22:41:04 Step 10/25 : COPY . . 22:41:05 ---> ee285033b071 22:41:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:41:05 ---> Running in 7579609332d0 22:41:05 Removing intermediate container 7579609332d0 22:41:05 ---> 0b4b69c12c62 22:41:05 Step 12/25 : RUN $MAKE 22:41:05 ---> Running in 3f630d211fd5 22:41:06 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 22:43:43 Removing intermediate container 3f630d211fd5 22:43:43 ---> fd831f669da7 22:43:43 Step 13/25 : FROM alpine:3.17 22:43:43 3.17: Pulling from library/alpine 22:43:43 af6eaf76a39c: Already exists 22:43:43 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:43:43 Status: Downloaded newer image for alpine:3.17 22:43:43 ---> d74e625d9115 22:43:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:43:43 ---> Running in 862064a0ef22 22:43:43 Removing intermediate container 862064a0ef22 22:43:43 ---> abc136d0266c 22:43:43 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:43:43 ---> Running in fc0dea27f51f 22:43:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:43:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:43:43 (1/1) Installing dumb-init (1.2.5-r2) 22:43:43 Executing busybox-1.35.0-r29.trigger 22:43:43 OK: 8 MiB in 16 packages 22:43:43 Removing intermediate container fc0dea27f51f 22:43:43 ---> 291eb3d463ed 22:43:43 Step 16/25 : WORKDIR / 22:43:43 ---> Running in 11f66b7d37e1 22:43:43 Removing intermediate container 11f66b7d37e1 22:43:43 ---> 5b68bd459d0f 22:43:43 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:43:43 ---> 7eb77339f4c9 22:43:43 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:43:43 ---> bf70d6f87bf3 22:43:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:43:43 ---> 0f32eb3fb04c 22:43:43 Step 20/25 : EXPOSE 59900 22:43:43 ---> Running in cec8d84803df 22:43:43 Removing intermediate container cec8d84803df 22:43:43 ---> 921b3e8e1026 22:43:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:43:43 ---> Running in 80934502bf0a 22:43:43 Removing intermediate container 80934502bf0a 22:43:43 ---> 48f4a0ad61c8 22:43:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:43:43 ---> Running in 01eec7d3defb 22:43:43 Removing intermediate container 01eec7d3defb 22:43:43 ---> b20d605ef566 22:43:43 Step 23/25 : LABEL arch=arm64 22:43:43 ---> Running in 6920c8e7babd 22:43:43 Removing intermediate container 6920c8e7babd 22:43:43 ---> bb678b2402a3 22:43:43 Step 24/25 : LABEL git_sha=fe064901a62a67ca9ae1ee0798090cfe3af9ec79 22:43:43 ---> Running in 53aedcdf26cd 22:43:43 Removing intermediate container 53aedcdf26cd 22:43:43 ---> 33790a37c5b3 22:43:43 Step 25/25 : LABEL version=0.0.0 22:43:43 ---> Running in 9d9cb4799b80 22:43:43 Removing intermediate container 9d9cb4799b80 22:43:43 ---> acb3046a15aa 22:43:43 [Warning] One or more build-args [ARCH] were not consumed 22:43:43 Successfully built acb3046a15aa 22:43:43 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 22:43:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:43 22:43:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:44 arm64: Pulling from edgex-lftools-log-publisher 22:43:44 8998bd30e6a1: Pulling fs layer 22:43:44 04944245beec: Pulling fs layer 22:43:44 699f458cf7ca: Pulling fs layer 22:43:44 765212b225bb: Pulling fs layer 22:43:44 f23df028b6ca: Pulling fs layer 22:43:44 d65c8cfc05b1: Pulling fs layer 22:43:44 2437ff75d9bd: Pulling fs layer 22:43:44 765212b225bb: Waiting 22:43:44 f23df028b6ca: Waiting 22:43:44 d65c8cfc05b1: Waiting 22:43:44 2437ff75d9bd: Waiting 22:43:44 04944245beec: Verifying Checksum 22:43:44 04944245beec: Download complete 22:43:44 765212b225bb: Verifying Checksum 22:43:44 765212b225bb: Download complete 22:43:44 f23df028b6ca: Verifying Checksum 22:43:44 f23df028b6ca: Download complete 22:43:44 d65c8cfc05b1: Verifying Checksum 22:43:44 d65c8cfc05b1: Download complete 22:43:44 699f458cf7ca: Verifying Checksum 22:43:44 699f458cf7ca: Download complete 22:43:44 8998bd30e6a1: Verifying Checksum 22:43:44 8998bd30e6a1: Download complete 22:43:47 2437ff75d9bd: Download complete 22:43:50 8998bd30e6a1: Pull complete 22:43:50 04944245beec: Pull complete 22:43:52 699f458cf7ca: Pull complete 22:43:52 765212b225bb: Pull complete 22:43:53 f23df028b6ca: Pull complete 22:43:53 d65c8cfc05b1: Pull complete 22:44:08 2437ff75d9bd: Pull complete 22:44:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:44:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:08 prd-ubuntu20.04-docker-arm64-4c-16g-5319 does not seem to be running inside a container 22:44:08 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 22:44:11 $ docker top 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:12 ---> job-cost.sh 22:44:12 lf-activate-venv: SKIPPING 22:44:12 INFO: No Stack... 22:44:13 INFO: Retrieving Pricing Info for: v3-standard-4 22:44:14 INFO: Archiving Costs [Pipeline] sh 22:44:14 + + cat /w/workspace/device-virtual-go/2/archives/cost.csvcut 22:44:14 -d, -f6 [Pipeline] lock 22:44:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] 22:44:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] did not exist. Created. 22:44:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:15 /w/workspace/device-virtual-go/2@tmp/durable-d4c37583/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:44:16 + echo total: 0.10999999940395355 [Pipeline] stash 22:44:16 Warning: overwriting stash ‘stack-cost’ 22:44:16 Stashed 1 file(s) [Pipeline] } 22:44:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:16 $ docker stop --time=1 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e 22:44:17 $ docker rm -f --volumes 402058a24801176576b1e3831433145c5ed90e46ecb50798b781b2d7ca7daf0e [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 22:44:18 provisioning config files... 22:44:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config13010514951968572307tmp [Pipeline] { [Pipeline] sh 22:44:18 + set +x 22:44:18 + curl -s https://codecov.io/bash 22:44:18 + bash -s -- 22:44:18 22:44:18 _____ _ 22:44:18 / ____| | | 22:44:18 | | ___ __| | ___ ___ _____ __ 22:44:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:44:18 | |___| (_) | (_| | __/ (_| (_) \ V / 22:44:18 \_____\___/ \__,_|\___|\___\___/ \_/ 22:44:18 Bash-1.0.6 22:44:18 22:44:18 22:44:18 ==> git version 2.25.1 found 22:44:18 ==> 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 22:44:18 Release-Date: 2020-01-08 22:44:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:44:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:44:18 ==> Jenkins CI detected. 22:44:18 current dir:  /w/workspace/foundry_device-virtual-go_PR-368 22:44:18 project root: . 22:44:18 --> token set from env 22:44:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:44:18 ==> Running gcov in . (disable via -X gcov) 22:44:18 ==> Python coveragepy not found 22:44:18 ==> Searching for coverage reports in: 22:44:18 + . 22:44:18 -> Found 1 reports 22:44:18 ==> Detecting git/mercurial file structure 22:44:18 ==> Reading reports 22:44:18 + ./coverage.out bytes=44311 22:44:18 ==> Appending adjustments 22:44:18 https://docs.codecov.io/docs/fixing-reports 22:44:18 + Found adjustments 22:44:18 ==> Gzipping contents 22:44:18 8.0K /tmp/codecov.xFcNy2.gz 22:44:18 ==> Uploading reports 22:44:18 url: https://codecov.io 22:44:18 query: branch=PR-368&commit=fe064901a62a67ca9ae1ee0798090cfe3af9ec79&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 22:44:18 -> Pinging Codecov 22:44:18 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=fe064901a62a67ca9ae1ee0798090cfe3af9ec79&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 22:44:18 -> Uploading to 22:44:18 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/5E52B4B073DB2E39498172D8E973AA87/fe064901a62a67ca9ae1ee0798090cfe3af9ec79/1a115a0c-3c52-4d67-9e8a-225669f6c11e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T224418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afabe823f7de09a27e0972925aa93861a8d5f9e26e0c82b71569211d3c06e5af 22:44:18 % Total % Received % Xferd Average Speed Time Time Time Current 22:44:18 Dload Upload Total Spent Left Speed 22:44:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 20426 --:--:-- --:--:-- --:--:-- 20426 22:44:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/fe064901a62a67ca9ae1ee0798090cfe3af9ec79 [Pipeline] } 22:44:19 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 22:44:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-368/archives ] 22:44:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 22:44:19 total 16 22:44:19 drwxr-xr-x 3 root root 4096 Mar 22 22:31 . 22:44:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:31 .. 22:44:19 drwxr-xr-x 2 root root 4096 Mar 22 22:31 cost 22:44:19 -rw-r--r-- 1 root root 89 Mar 22 22:31 cost.csv 22:44:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-368/archives 22:44:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 22:44:19 total 16 22:44:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:31 . 22:44:19 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:31 .. 22:44:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:31 cost 22:44:19 -rw-r--r-- 1 jenkins jenkins 89 Mar 22 22:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:44:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:44:20 ---> package-listing.sh 22:44:20 ++ tr '[:upper:]' '[:lower:]' 22:44:20 ++ facter osfamily 22:44:21 + OS_FAMILY=debian 22:44:21 + workspace=/w/workspace/foundry_device-virtual-go_PR-368 22:44:21 + START_PACKAGES=/tmp/packages_start.txt 22:44:21 + END_PACKAGES=/tmp/packages_end.txt 22:44:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:44:21 + PACKAGES=/tmp/packages_start.txt 22:44:21 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 22:44:21 + PACKAGES=/tmp/packages_end.txt 22:44:21 + case "${OS_FAMILY}" in 22:44:21 + dpkg -l 22:44:21 + grep '^ii' 22:44:21 + '[' -f /tmp/packages_start.txt ']' 22:44:21 + '[' -f /tmp/packages_end.txt ']' 22:44:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:44:21 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 22:44:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-368/archives/ 22:44:21 + 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 22:44:21 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 22:44:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:22 prd-ubuntu20.04-docker-8c-8g-5317 does not seem to be running inside a container 22:44:22 $ 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 22:44:22 $ docker top 3627070a31beb2135bc3d15a4cd497359af9a4f8fe88817569d8a2e27f5eb7fe -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:44:23 + mkdir -p /var/log/sysstat [Pipeline] sh 22:44:23 + ls /var/log/sa-host 22:44:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:23 provisioning config files... 22:44:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config6049174365218613342tmp [Pipeline] { [Pipeline] echo 22:44:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:44:23 ---> create-netrc.sh [Pipeline] } 22:44:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:44:23 ---> python-tools-install.sh [Pipeline] echo 22:44:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:44:24 ---> sudo-logs.sh 22:44:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:44:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:44:24 ---> job-cost.sh 22:44:24 lf-activate-venv: SKIPPING 22:44:24 DEBUG: total: 0.2199999988079071 22:44:24 INFO: Retrieving Stack Cost... 22:44:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:25 INFO: Archiving Costs [Pipeline] echo 22:44:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:44:25 ---> logs-deploy.sh 22:44:25 lf-activate-venv: SKIPPING 22:44:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-368/2 22:44:25 INFO: archiving workspace using pattern(s): 22:44:26 Archives upload complete. 22:44:26 INFO: archiving logs to Nexus