Pull request #376 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 4efa56b4c53bfd63d1b185632fb211d8f865e63a rather than ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 Obtained Jenkinsfile from 4efa56b4c53bfd63d1b185632fb211d8f865e63a 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-ssh7733043379945013447.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-ssh5796680710827726642.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-376/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-376/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14945000678436488655.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-ssh16142367903607810320.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-376/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-376/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13244842344035073969.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 ‘prd-ubuntu20.04-docker-8c-8g-7124’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7127 in /w/workspace/foundry_device-virtual-go_PR-376 [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-376 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 Merge succeeded, producing ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 Checking out Revision ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 (PR-376) > 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/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 # 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 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:10:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:10:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:10:32 ========================================================= 11:10:32 EdgeX Global Pipelines Version Info 11:10:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:10:33 ------------------- 11:10:33 stable info: 11:10:33 ------------------- 11:10:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:10:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:10:33 Message: update stable to v1.0.245 > git rev-list --no-walk 1af87b10f7d9f04dbdc95f01e0cf938275db6d03 # timeout=10 11:10:34 ------------------- 11:10:34 experimental info: 11:10:34 ------------------- 11:10:34 Commited By: **** collab-it+edgex@linuxfoundation.org 11:10:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 11:10:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-376 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-376 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-376 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff36f56 [Pipeline] echo 11:10:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:34 provisioning config files... 11:10:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config8097012598158708788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:35 ---> docker-login.sh 11:10:35 nexus3.edgexfoundry.org:10001 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10002 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10003 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 nexus3.edgexfoundry.org:10004 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 docker.io 11:10:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:35 Configure a credential helper to remove this warning. See 11:10:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:35 11:10:35 Login Succeeded 11:10:35 ---> docker-login.sh ends [Pipeline] } 11:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:10:36 + git rev-list -1 --merges ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9~1..ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [Pipeline] echo 11:10:36 -----------> git rev-list -1 --merges ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9~1..ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [false] [Pipeline] sh 11:10:36 + git log --format=format:%s -1 ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [Pipeline] echo 11:10:36 ========================================================= 11:10:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:10:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:36 + git log --format=format:%s -1 ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [Pipeline] echo 11:10:36 [semverPrep] GIT_COMMIT: ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 11:10:36 [semverPrep] This is not a build commit. [Pipeline] sh 11:10:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:37 + grep -v github /etc/ssh/ssh_known_hosts 11:10:37 + [ -e /tmp/ssh_known_hosts ] 11:10:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:10:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:10:37 + sudo tee -a /etc/ssh/ssh_known_hosts 11:10:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:37 11:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:37 0.1.4: Pulling from edgex-devops/py-git-semver 11:10:37 b85a868b505f: Pulling fs layer 11:10:37 e2be974225ed: Pulling fs layer 11:10:37 339a4e72a1f5: Pulling fs layer 11:10:37 988bab9f4d93: Pulling fs layer 11:10:37 1469e6f7b9e6: Pulling fs layer 11:10:37 eaf3925da568: Pulling fs layer 11:10:37 bab4dde63d76: Pulling fs layer 11:10:37 bde34c3a00c8: Pulling fs layer 11:10:37 b352a97aabf1: Pulling fs layer 11:10:37 4872d77fe225: Pulling fs layer 11:10:37 5851b861e8e6: Pulling fs layer 11:10:37 bab4dde63d76: Waiting 11:10:37 bde34c3a00c8: Waiting 11:10:37 b352a97aabf1: Waiting 11:10:37 4872d77fe225: Waiting 11:10:37 eaf3925da568: Waiting 11:10:37 1469e6f7b9e6: Waiting 11:10:37 5851b861e8e6: Waiting 11:10:37 e2be974225ed: Download complete 11:10:37 1469e6f7b9e6: Verifying Checksum 11:10:37 1469e6f7b9e6: Download complete 11:10:37 339a4e72a1f5: Verifying Checksum 11:10:37 339a4e72a1f5: Download complete 11:10:37 eaf3925da568: Verifying Checksum 11:10:37 eaf3925da568: Download complete 11:10:38 bde34c3a00c8: Verifying Checksum 11:10:38 bde34c3a00c8: Download complete 11:10:38 b352a97aabf1: Verifying Checksum 11:10:38 b352a97aabf1: Download complete 11:10:38 4872d77fe225: Verifying Checksum 11:10:38 4872d77fe225: Download complete 11:10:38 5851b861e8e6: Download complete 11:10:38 b85a868b505f: Verifying Checksum 11:10:38 b85a868b505f: Download complete 11:10:38 bab4dde63d76: Verifying Checksum 11:10:38 bab4dde63d76: Download complete 11:10:39 b85a868b505f: Pull complete 11:10:39 e2be974225ed: Pull complete 11:10:39 339a4e72a1f5: Pull complete 11:10:39 988bab9f4d93: Pull complete 11:10:40 1469e6f7b9e6: Pull complete 11:10:40 eaf3925da568: Pull complete 11:10:42 bab4dde63d76: Pull complete 11:10:42 bde34c3a00c8: Pull complete 11:10:42 b352a97aabf1: Pull complete 11:10:42 4872d77fe225: Pull complete 11:10:42 5851b861e8e6: Pull complete 11:10:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:42 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 11:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 11:10:43 $ docker top 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f -eo pid,comm 11:10:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:10:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:43 [ssh-agent] Looking for ssh-agent implementation... 11:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:44 $ docker exec 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f ssh-agent 11:10:44 SSH_AUTH_SOCK=/tmp/ssh-c3X1mYBPJFDr/agent.32 11:10:44 SSH_AGENT_PID=38 11:10:44 Running ssh-add (command line suppressed) 11:10:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_6846264636373512346.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_6846264636373512346.key) 11:10:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:44 + git tag --points-at HEAD [Pipeline] } 11:10:44 $ docker exec --env ******** --env ******** 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f ssh-agent -k 11:10:44 unset SSH_AUTH_SOCK; 11:10:44 unset SSH_AGENT_PID; 11:10:44 echo Agent pid 38 killed; 11:10:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:10:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:44 [ssh-agent] Looking for ssh-agent implementation... 11:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:44 $ docker exec 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f ssh-agent 11:10:44 SSH_AUTH_SOCK=/tmp/ssh-UXfjIkAdOtuI/agent.71 11:10:44 SSH_AGENT_PID=77 11:10:44 Running ssh-add (command line suppressed) 11:10:45 Identity added: /w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_8732392604200234470.key (/w/workspace/foundry_device-virtual-go_PR-376@tmp/private_key_8732392604200234470.key) 11:10:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:45 + git semver init 11:10:45 2023-04-07 11:10:45,564 [run_init] DEBUG init version:0.0.0 force:False 11:10:45 2023-04-07 11:10:45,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-376/.semver 11:10:45 2023-04-07 11:10:45,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-376/.semver 11:10:45 2023-04-07 11:10:45,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-376/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-376, universal_newlines=False, shell=None, istream=None) 11:10:46 2023-04-07 11:10:46,527 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-376/.git/info/exclude 11:10:46 2023-04-07 11:10:46,528 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 with force:False 11:10:46 2023-04-07 11:10:46,528 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 11:10:46 2023-04-07 11:10:46,533 [execute] INFO git cat-file --batch-check 11:10:46 2023-04-07 11:10:46,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 11:10:46 2023-04-07 11:10:46,542 [execute] INFO git cat-file --batch 11:10:46 2023-04-07 11:10:46,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-376/.semver, universal_newlines=False, shell=None, istream=) 11:10:46 2023-04-07 11:10:46,547 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-376/.semver/PR-376 11:10:46 0.0.0 [Pipeline] } 11:10:46 $ docker exec --env ******** --env ******** 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f ssh-agent -k 11:10:46 unset SSH_AUTH_SOCK; 11:10:46 unset SSH_AGENT_PID; 11:10:46 echo Agent pid 77 killed; 11:10:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:47 + git semver [Pipeline] } 11:10:47 $ docker stop --time=1 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f 11:10:48 $ docker rm -f --volumes 214231ac1dd08b3340bafffd73772f815040d927638e9edd8ef5472cd050725f [Pipeline] // withDockerContainer [Pipeline] sh 11:10:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:49 Stashed 1 file(s) [Pipeline] echo 11:10:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:49 provisioning config files... 11:10:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config14041557809207383322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:49 ---> docker-login.sh 11:10:49 nexus3.edgexfoundry.org:10001 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10002 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10003 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10004 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 docker.io 11:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:50 Configure a credential helper to remove this warning. See 11:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:50 11:10:50 Login Succeeded 11:10:50 ---> docker-login.sh ends [Pipeline] } 11:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:50 ========================================================= 11:10:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:10:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:50 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:10:50 Sending build context to Docker daemon 23.54MB 11:10:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:10:50 Step 2/12 : FROM ${BASE} AS builder 11:10:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:10:50 63b65145d645: Pulling fs layer 11:10:50 a2d21d5440eb: Pulling fs layer 11:10:50 935e6c44a52c: Pulling fs layer 11:10:50 94cc34f8dd06: Pulling fs layer 11:10:50 30dea6a524f1: Pulling fs layer 11:10:50 a2aff8979fd8: Pulling fs layer 11:10:50 6808be2612f2: Pulling fs layer 11:10:50 f25807f1079a: Pulling fs layer 11:10:50 30dea6a524f1: Waiting 11:10:50 94cc34f8dd06: Waiting 11:10:50 a2aff8979fd8: Waiting 11:10:50 6808be2612f2: Waiting 11:10:50 f25807f1079a: Waiting 11:10:50 a2d21d5440eb: Verifying Checksum 11:10:50 a2d21d5440eb: Download complete 11:10:50 94cc34f8dd06: Verifying Checksum 11:10:50 94cc34f8dd06: Download complete 11:10:50 30dea6a524f1: Download complete 11:10:50 63b65145d645: Verifying Checksum 11:10:50 63b65145d645: Download complete 11:10:50 a2aff8979fd8: Verifying Checksum 11:10:50 a2aff8979fd8: Download complete 11:10:50 63b65145d645: Pull complete 11:10:51 a2d21d5440eb: Pull complete 11:10:51 f25807f1079a: Verifying Checksum 11:10:51 f25807f1079a: Download complete 11:10:51 935e6c44a52c: Download complete 11:10:51 6808be2612f2: Verifying Checksum 11:10:51 6808be2612f2: Download complete 11:10:54 935e6c44a52c: Pull complete 11:10:54 94cc34f8dd06: Pull complete 11:10:54 30dea6a524f1: Pull complete 11:10:54 a2aff8979fd8: Pull complete 11:10:56 6808be2612f2: Pull complete 11:10:57 f25807f1079a: Pull complete 11:10:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:10:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:10:57 ---> 3b553350e43f 11:10:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:10:59 ---> Running in 5af0eaa7e933 11:10:59 Removing intermediate container 5af0eaa7e933 11:10:59 ---> 7b8a04b37142 11:10:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:10:59 ---> Running in 07b3d1da50c0 11:10:59 Removing intermediate container 07b3d1da50c0 11:10:59 ---> e16b9d389e30 11:10:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:10:59 ---> Running in aa40c7d6a51d 11:10:59 Removing intermediate container aa40c7d6a51d 11:10:59 ---> e2e712d68b70 11:10:59 Step 6/12 : WORKDIR /device-virtual-go 11:10:59 ---> Running in 3ff59dae2fb7 11:10:59 Removing intermediate container 3ff59dae2fb7 11:10:59 ---> 01f0690f0b75 11:10:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:59 ---> Running in 1a251200a44c 11:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:11:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 11:11:00 (2/4) Installing libedit (20221030.3.1-r0) 11:11:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 11:11:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 11:11:00 Executing busybox-1.35.0-r29.trigger 11:11:00 OK: 269 MiB in 57 packages 11:11:00 Removing intermediate container 1a251200a44c 11:11:00 ---> 0185cd60417b 11:11:00 Step 8/12 : COPY go.mod vendor* ./ 11:11:00 ---> 97c3580986aa 11:11:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:00 ---> Running in 1ef1dc43b19c 11:11:04 Still waiting to schedule task 11:11:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7125’ is offline 11:11:32 Removing intermediate container 1ef1dc43b19c 11:11:32 ---> 5a8bde72069d 11:11:32 Step 10/12 : COPY . . 11:11:32 ---> bb4631abd273 11:11:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:32 ---> Running in 57888b378b1a 11:11:32 Removing intermediate container 57888b378b1a 11:11:32 ---> 8ba8aaa8c1c5 11:11:32 Step 12/12 : RUN $MAKE 11:11:32 ---> Running in c7a37985482f 11:11:32 noop 11:11:32 Removing intermediate container c7a37985482f 11:11:32 ---> c3f217542473 11:11:32 Successfully built c3f217542473 11:11:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:33 + docker inspect -f . ci-base-image-x86_64 11:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:33 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 11:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 11:11:33 $ docker top 8e5a88fa5ac86bc7b9a8fa834baa13bae1b85c357fa3642a0a4c343fc7c87aba -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:34 + go version 11:11:34 go version go1.20.2 linux/amd64 [Pipeline] } 11:11:34 $ docker stop --time=1 8e5a88fa5ac86bc7b9a8fa834baa13bae1b85c357fa3642a0a4c343fc7c87aba 11:11:35 $ docker rm -f --volumes 8e5a88fa5ac86bc7b9a8fa834baa13bae1b85c357fa3642a0a4c343fc7c87aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:35 + docker inspect -f . ci-base-image-x86_64 11:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:35 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 11:11:35 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 11:11:36 $ docker top 2cf8dd03575c93ede0d202eeadf795aefdeef7fa911134a016e06d7fda6f2759 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:36 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] fileExists [Pipeline] sh 11:11:36 + make test 11:11:36 go test ./... -coverprofile=coverage.out 11:11:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:11:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:11:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.047s coverage: 59.2% of statements 11:11:56 go vet ./... 11:12:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:00 ./bin/test-attribution-txt.sh 11:12:00 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 11:12:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:00 $ docker stop --time=1 2cf8dd03575c93ede0d202eeadf795aefdeef7fa911134a016e06d7fda6f2759 11:12:02 $ docker rm -f --volumes 2cf8dd03575c93ede0d202eeadf795aefdeef7fa911134a016e06d7fda6f2759 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:03 + ls -al . 11:12:03 total 192 11:12:03 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 11:11 . 11:12:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:10 .. 11:12:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 11:10 .git 11:12:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:10 .github 11:12:03 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 11:10 .gitignore 11:12:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 11:10 .golangci.yml 11:12:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 11:10 .semver 11:12:03 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 11:10 Attribution.txt 11:12:03 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 11:10 CHANGELOG.md 11:12:03 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 11:10 Dockerfile 11:12:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 11:10 GOVERNANCE.md 11:12:03 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 11:10 Jenkinsfile 11:12:03 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 11:10 LICENSE 11:12:03 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 11:10 Makefile 11:12:03 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 11:10 OWNERS.md 11:12:03 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 11:10 README.md 11:12:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 11:10 VERSION 11:12:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:10 bin 11:12:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:10 cmd 11:12:03 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 11:11 coverage.out 11:12:03 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 11:10 go.mod 11:12:03 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 11:10 go.sum 11:12:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:10 internal 11:12:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:10 snap 11:12:03 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 11:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:03 + 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=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 --label arch=amd64 --label version=0.0.0 . 11:12:03 Sending build context to Docker daemon 23.58MB 11:12:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:12:03 Step 2/25 : FROM ${BASE} AS builder 11:12:03 ---> c3f217542473 11:12:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:12:03 ---> Running in d83e2e3c3e4e 11:12:03 Removing intermediate container d83e2e3c3e4e 11:12:03 ---> 0c5e593cbdc9 11:12:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:12:03 ---> Running in 77f1cd0e9418 11:12:03 Removing intermediate container 77f1cd0e9418 11:12:03 ---> 72de796b15b4 11:12:03 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:12:04 ---> Running in c697090ca337 11:12:04 Removing intermediate container c697090ca337 11:12:04 ---> 113231162407 11:12:04 Step 6/25 : WORKDIR /device-virtual-go 11:12:04 ---> Running in d05ae578203c 11:12:04 Removing intermediate container d05ae578203c 11:12:04 ---> ddea331111e8 11:12:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:04 ---> Running in fa4744ca6cf9 11:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:12:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:12:04 OK: 269 MiB in 57 packages 11:12:05 Removing intermediate container fa4744ca6cf9 11:12:05 ---> 05bd921a3982 11:12:05 Step 8/25 : COPY go.mod vendor* ./ 11:12:05 ---> 38c9f76dfb81 11:12:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:05 ---> Running in 021cd6979de2 11:12:06 Removing intermediate container 021cd6979de2 11:12:06 ---> da1dbf86213b 11:12:06 Step 10/25 : COPY . . 11:12:06 ---> 38bb9dbc2661 11:12:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:06 ---> Running in b4de29cb9e37 11:12:06 Removing intermediate container b4de29cb9e37 11:12:06 ---> 857d8746f1ed 11:12:06 Step 12/25 : RUN $MAKE 11:12:06 ---> Running in 3c8907fb9796 11:12:07 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 11:12:25 Removing intermediate container 3c8907fb9796 11:12:25 ---> 17f43578cd54 11:12:25 Step 13/25 : FROM alpine:3.17 11:12:25 3.17: Pulling from library/alpine 11:12:25 f56be85fc22e: Pulling fs layer 11:12:25 f56be85fc22e: Download complete 11:12:25 f56be85fc22e: Pull complete 11:12:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:12:25 Status: Downloaded newer image for alpine:3.17 11:12:25 ---> 9ed4aefc74f6 11:12:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:12:25 ---> Running in cb1610d7bea5 11:12:25 Removing intermediate container cb1610d7bea5 11:12:25 ---> fbe1ce313e9e 11:12:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:12:25 ---> Running in e87df9aed9e1 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:12:25 (1/1) Installing dumb-init (1.2.5-r2) 11:12:25 Executing busybox-1.35.0-r29.trigger 11:12:25 OK: 7 MiB in 16 packages 11:12:25 Removing intermediate container e87df9aed9e1 11:12:25 ---> a707e43f8184 11:12:25 Step 16/25 : WORKDIR / 11:12:25 ---> Running in 96a4d07e56cd 11:12:25 Removing intermediate container 96a4d07e56cd 11:12:25 ---> 222370b1feb2 11:12:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:12:25 ---> ad4bc79d5bed 11:12:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:12:25 ---> 9e5d277fb067 11:12:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:12:25 ---> dc2c67114277 11:12:25 Step 20/25 : EXPOSE 59900 11:12:25 ---> Running in 9d917946f5e6 11:12:25 Removing intermediate container 9d917946f5e6 11:12:25 ---> c9b622991e6f 11:12:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:12:25 ---> Running in 6f3f644025d4 11:12:25 Removing intermediate container 6f3f644025d4 11:12:25 ---> dcf504b0c809 11:12:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:12:25 ---> Running in f145d235ee85 11:12:25 Removing intermediate container f145d235ee85 11:12:25 ---> 3a021e058ad0 11:12:25 Step 23/25 : LABEL arch=amd64 11:12:25 ---> Running in c916b325b493 11:12:25 Removing intermediate container c916b325b493 11:12:25 ---> 476246632811 11:12:25 Step 24/25 : LABEL git_sha=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 11:12:25 ---> Running in b986cd97b7f4 11:12:25 Removing intermediate container b986cd97b7f4 11:12:25 ---> ff2f1b4b69d3 11:12:25 Step 25/25 : LABEL version=0.0.0 11:12:25 ---> Running in a719d1219c9c 11:12:26 Removing intermediate container a719d1219c9c 11:12:26 ---> 5140482849f9 11:12:26 [Warning] One or more build-args [ARCH] were not consumed 11:12:26 Successfully built 5140482849f9 11:12:26 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:26 11:12:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:26 latest: Pulling from edgex-lftools-log-publisher 11:12:26 5eb5b503b376: Pulling fs layer 11:12:26 5c69ac0246d0: Pulling fs layer 11:12:26 ec43610c2a17: Pulling fs layer 11:12:26 3a2ae6a8a46f: Pulling fs layer 11:12:26 33b1e0a273af: Pulling fs layer 11:12:26 5d3b04190fa2: Pulling fs layer 11:12:26 2f39f015ded8: Pulling fs layer 11:12:26 33b1e0a273af: Waiting 11:12:26 5d3b04190fa2: Waiting 11:12:26 2f39f015ded8: Waiting 11:12:26 3a2ae6a8a46f: Waiting 11:12:26 5c69ac0246d0: Download complete 11:12:26 3a2ae6a8a46f: Verifying Checksum 11:12:26 3a2ae6a8a46f: Download complete 11:12:26 33b1e0a273af: Verifying Checksum 11:12:26 33b1e0a273af: Download complete 11:12:26 ec43610c2a17: Verifying Checksum 11:12:26 ec43610c2a17: Download complete 11:12:26 5d3b04190fa2: Verifying Checksum 11:12:26 5d3b04190fa2: Download complete 11:12:27 5eb5b503b376: Download complete 11:12:27 2f39f015ded8: Verifying Checksum 11:12:27 2f39f015ded8: Download complete 11:12:28 5eb5b503b376: Pull complete 11:12:28 5c69ac0246d0: Pull complete 11:12:28 ec43610c2a17: Pull complete 11:12:29 3a2ae6a8a46f: Pull complete 11:12:29 33b1e0a273af: Pull complete 11:12:29 5d3b04190fa2: Pull complete 11:12:33 2f39f015ded8: Pull complete 11:12:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:33 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 11:12:33 $ 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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 11:12:35 $ docker top b7d5183ea7241b723aad2fdbf017f1b27c34efbc6d1fb464ff46cb48fa5654a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:35 ---> job-cost.sh 11:12:35 lf-activate-venv: SKIPPING 11:12:35 INFO: No Stack... 11:12:35 INFO: Retrieving Pricing Info for: v3-standard-8 11:12:36 INFO: Archiving Costs [Pipeline] sh 11:12:36 + cut -d, -f6 11:12:36 + cat /w/workspace/foundry_device-virtual-go_PR-376/archives/cost.csv [Pipeline] lock 11:12:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] 11:12:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] did not exist. Created. 11:12:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:12:36 + echo total: 0.2199999988079071 [Pipeline] stash 11:12:36 Stashed 1 file(s) [Pipeline] } 11:12:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:12:37 $ docker stop --time=1 b7d5183ea7241b723aad2fdbf017f1b27c34efbc6d1fb464ff46cb48fa5654a1 11:12:38 $ docker rm -f --volumes b7d5183ea7241b723aad2fdbf017f1b27c34efbc6d1fb464ff46cb48fa5654a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:12:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7128 in /w/workspace/foundry_device-virtual-go_PR-376 [Pipeline] { [Pipeline] ws 11:12:50 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 11:12:50 The recommended git tool is: git 11:12:59 using credential edgex-jenkins-ssh 11:12:59 Cloning the remote Git repository 11:12:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:12:59 > git init /w/workspace/device-virtual-go/2 # timeout=10 11:13:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:13:00 > git --version # timeout=10 11:13:00 > git --version # 'git version 2.25.1' 11:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:13:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:04 Merging remotes/origin/main commit 4efa56b4c53bfd63d1b185632fb211d8f865e63a into PR head commit ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 11:13:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:13:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/376/head:refs/remotes/origin/PR-376 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:13:04 > git config core.sparsecheckout # timeout=10 11:13:04 > git checkout -f ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 # timeout=10 11:13:04 > git remote # timeout=10 11:13:04 > git config --get remote.origin.url # timeout=10 11:13:04 Merge succeeded, producing ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 11:13:04 Checking out Revision ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 (PR-376) 11:13:04 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:04 > git merge 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 11:13:04 > git rev-parse HEAD^{commit} # timeout=10 11:13:04 > git config core.sparsecheckout # timeout=10 11:13:04 > git checkout -f ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 # timeout=10 11:13:08 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:13:09 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:09 Dload Upload Total Spent Left Speed 11:13:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85577 [Pipeline] sh 11:13:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:13:10 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 11:13:10 11:13:10 { 11:13:10 "registry-mirrors": [ 11:13:10 "https://nexus3.edgexfoundry.org:10001" 11:13:10 ], 11:13:10 "bip": "10.250.0.254/24", 11:13:10 "hosts": [ 11:13:10 "tcp://0.0.0.0:5555", 11:13:10 "unix:///var/run/docker.sock" 11:13:10 ], 11:13:10 "mtu": 1458, 11:13:10 "selinux-enabled": true, 11:13:10 "seccomp-profile": "/etc/docker/seccomp.json" 11:13:10 } [Pipeline] sh 11:13:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:13:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:29 provisioning config files... 11:13:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config5513963628924092645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:29 ---> docker-login.sh 11:13:29 nexus3.edgexfoundry.org:10001 11:13:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:30 Configure a credential helper to remove this warning. See 11:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:30 11:13:30 Login Succeeded 11:13:30 nexus3.edgexfoundry.org:10002 11:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:30 Configure a credential helper to remove this warning. See 11:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:30 11:13:30 Login Succeeded 11:13:30 nexus3.edgexfoundry.org:10003 11:13:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:30 Configure a credential helper to remove this warning. See 11:13:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:30 11:13:30 Login Succeeded 11:13:30 nexus3.edgexfoundry.org:10004 11:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:31 Configure a credential helper to remove this warning. See 11:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:31 11:13:31 Login Succeeded 11:13:31 docker.io 11:13:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:13:31 Configure a credential helper to remove this warning. See 11:13:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:13:31 11:13:31 Login Succeeded 11:13:31 ---> docker-login.sh ends [Pipeline] } 11:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:13:32 ========================================================= 11:13:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:13:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:13:32 Sending build context to Docker daemon 11.94MB 11:13:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:13:32 Step 2/12 : FROM ${BASE} AS builder 11:13:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:13:33 af6eaf76a39c: Pulling fs layer 11:13:33 55522c791124: Pulling fs layer 11:13:33 ce5c4a1c91eb: Pulling fs layer 11:13:33 169dfbe0d373: Pulling fs layer 11:13:33 e1ff8fa3b103: Pulling fs layer 11:13:33 52ebb69f0ebf: Pulling fs layer 11:13:33 5abe8eddf0d5: Pulling fs layer 11:13:33 169dfbe0d373: Waiting 11:13:33 52ebb69f0ebf: Waiting 11:13:33 e1ff8fa3b103: Waiting 11:13:33 5abe8eddf0d5: Waiting 11:13:33 55522c791124: Verifying Checksum 11:13:33 55522c791124: Download complete 11:13:33 169dfbe0d373: Verifying Checksum 11:13:33 169dfbe0d373: Download complete 11:13:33 e1ff8fa3b103: Verifying Checksum 11:13:33 e1ff8fa3b103: Download complete 11:13:33 af6eaf76a39c: Verifying Checksum 11:13:33 af6eaf76a39c: Download complete 11:13:34 5abe8eddf0d5: Verifying Checksum 11:13:34 5abe8eddf0d5: Download complete 11:13:34 af6eaf76a39c: Pull complete 11:13:35 55522c791124: Pull complete 11:13:35 52ebb69f0ebf: Verifying Checksum 11:13:35 52ebb69f0ebf: Download complete 11:13:35 ce5c4a1c91eb: Verifying Checksum 11:13:35 ce5c4a1c91eb: Download complete 11:13:45 ce5c4a1c91eb: Pull complete 11:13:45 169dfbe0d373: Pull complete 11:13:46 e1ff8fa3b103: Pull complete 11:13:51 52ebb69f0ebf: Pull complete 11:13:53 5abe8eddf0d5: Pull complete 11:13:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 11:13:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:13:53 ---> 6cb57ee374ae 11:13:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:13:55 ---> Running in 8159688a0bcc 11:13:55 Removing intermediate container 8159688a0bcc 11:13:55 ---> 2051f259299a 11:13:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:13:55 ---> Running in 96175151700b 11:13:55 Removing intermediate container 96175151700b 11:13:55 ---> 867e9667d06a 11:13:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:13:55 ---> Running in 280122155f37 11:13:56 Removing intermediate container 280122155f37 11:13:56 ---> f77ec198053b 11:13:56 Step 6/12 : WORKDIR /device-virtual-go 11:13:56 ---> Running in f235a4b9ffad 11:13:56 Removing intermediate container f235a4b9ffad 11:13:56 ---> c217d78c67ab 11:13:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:13:56 ---> Running in b0b96e316c73 11:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:13:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:13:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 11:13:59 (2/4) Installing libedit (20221030.3.1-r0) 11:13:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 11:13:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 11:13:59 Executing busybox-1.35.0-r29.trigger 11:13:59 OK: 268 MiB in 57 packages 11:14:00 Removing intermediate container b0b96e316c73 11:14:00 ---> c3e837ec87a0 11:14:00 Step 8/12 : COPY go.mod vendor* ./ 11:14:00 ---> 16ab112605bd 11:14:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:00 ---> Running in fd43dc20f417 11:15:08 Removing intermediate container fd43dc20f417 11:15:08 ---> 2fe7c1e5bac8 11:15:08 Step 10/12 : COPY . . 11:15:08 ---> b7ca8a2f52f9 11:15:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:15:08 ---> Running in 4290cf548778 11:15:08 Removing intermediate container 4290cf548778 11:15:08 ---> eee2800b746e 11:15:08 Step 12/12 : RUN $MAKE 11:15:08 ---> Running in a18b1f95ae9c 11:15:08 noop 11:15:08 Removing intermediate container a18b1f95ae9c 11:15:08 ---> a09094063758 11:15:08 Successfully built a09094063758 11:15:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:09 + docker inspect -f . ci-base-image-arm64 11:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:09 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 11:15:09 $ 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 11:15:10 $ docker top 1915211ad3d8f9ad1dd4d531fac57ec94813c81d2a6e19338dc1a61ad7742205 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:11 + go version 11:15:11 go version go1.20.2 linux/arm64 [Pipeline] } 11:15:11 $ docker stop --time=1 1915211ad3d8f9ad1dd4d531fac57ec94813c81d2a6e19338dc1a61ad7742205 11:15:13 $ docker rm -f --volumes 1915211ad3d8f9ad1dd4d531fac57ec94813c81d2a6e19338dc1a61ad7742205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:13 + docker inspect -f . ci-base-image-arm64 11:15:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:13 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 11:15:13 $ 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 11:15:15 $ docker top ab8c9c76007267ccc9ace61662dbecdba9aa7d2e117540898aa6dba18b4cb739 -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:15 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 11:15:16 + make test 11:15:16 go test ./... -coverprofile=coverage.out 11:15:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:17:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:17:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.140s coverage: 59.0% of statements 11:17:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:17:40 go vet ./... 11:17:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:17:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:17:55 ./bin/test-attribution-txt.sh 11:17:55 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 11:17:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:17:55 $ docker stop --time=1 ab8c9c76007267ccc9ace61662dbecdba9aa7d2e117540898aa6dba18b4cb739 11:17:57 $ docker rm -f --volumes ab8c9c76007267ccc9ace61662dbecdba9aa7d2e117540898aa6dba18b4cb739 [Pipeline] // withDockerContainer [Pipeline] sh 11:17:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:17:58 Warning: overwriting stash ‘coverage-report’ 11:17:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:17:59 + ls -al . 11:17:59 total 188 11:17:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 11:15 . 11:17:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:13 .. 11:17:59 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 11:13 .git 11:17:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:13 .github 11:17:59 -rw-rw-r-- 1 jenkins jenkins 337 Apr 7 11:13 .gitignore 11:17:59 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 11:13 .golangci.yml 11:17:59 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 7 11:13 Attribution.txt 11:17:59 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 7 11:13 CHANGELOG.md 11:17:59 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 7 11:13 Dockerfile 11:17:59 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 11:13 GOVERNANCE.md 11:17:59 -rw-rw-r-- 1 jenkins jenkins 660 Apr 7 11:13 Jenkinsfile 11:17:59 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 11:13 LICENSE 11:17:59 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 7 11:13 Makefile 11:17:59 -rw-rw-r-- 1 jenkins jenkins 623 Apr 7 11:13 OWNERS.md 11:17:59 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 7 11:13 README.md 11:17:59 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 11:10 VERSION 11:17:59 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 11:13 bin 11:17:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:13 cmd 11:17:59 -rw-r--r-- 1 jenkins jenkins 42975 Apr 7 11:17 coverage.out 11:17:59 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 7 11:13 go.mod 11:17:59 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 7 11:13 go.sum 11:17:59 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 11:13 internal 11:17:59 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 11:13 snap 11:17:59 -rw-rw-r-- 1 jenkins jenkins 235 Apr 7 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:59 + 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=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 --label arch=arm64 --label version=0.0.0 . 11:18:00 Sending build context to Docker daemon 11.98MB 11:18:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:18:00 Step 2/25 : FROM ${BASE} AS builder 11:18:00 ---> a09094063758 11:18:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:18:00 ---> Running in 5e4e32a6c1b4 11:18:00 Removing intermediate container 5e4e32a6c1b4 11:18:00 ---> f29964f32801 11:18:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:18:00 ---> Running in e0806a6906e8 11:18:00 Removing intermediate container e0806a6906e8 11:18:00 ---> 51fdcf9ea083 11:18:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:18:00 ---> Running in a63363b01cb2 11:18:01 Removing intermediate container a63363b01cb2 11:18:01 ---> 8c3840d6f85f 11:18:01 Step 6/25 : WORKDIR /device-virtual-go 11:18:01 ---> Running in 9182e99f7b10 11:18:01 Removing intermediate container 9182e99f7b10 11:18:01 ---> 43f008e2da7e 11:18:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:18:01 ---> Running in e4f978c08965 11:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:18:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:18:04 OK: 268 MiB in 57 packages 11:18:05 Removing intermediate container e4f978c08965 11:18:05 ---> 617f915fce00 11:18:05 Step 8/25 : COPY go.mod vendor* ./ 11:18:08 ---> 6af395a4aff5 11:18:08 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:18:08 ---> Running in e9e8132c6f28 11:18:11 Removing intermediate container e9e8132c6f28 11:18:11 ---> a2c1bcb564d4 11:18:11 Step 10/25 : COPY . . 11:18:12 ---> 2f0a1454c6e6 11:18:12 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:18:12 ---> Running in ab5869f4e9c7 11:18:12 Removing intermediate container ab5869f4e9c7 11:18:12 ---> e0102d69e260 11:18:12 Step 12/25 : RUN $MAKE 11:18:12 ---> Running in fb077eee1dd0 11:18:13 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 11:20:20 Removing intermediate container fb077eee1dd0 11:20:20 ---> 3190b59359b0 11:20:20 Step 13/25 : FROM alpine:3.17 11:20:20 3.17: Pulling from library/alpine 11:20:20 c41833b44d91: Pulling fs layer 11:20:20 c41833b44d91: Verifying Checksum 11:20:20 c41833b44d91: Download complete 11:20:20 c41833b44d91: Pull complete 11:20:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:20:20 Status: Downloaded newer image for alpine:3.17 11:20:20 ---> 51e60588ff2c 11:20:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:20:20 ---> Running in 59f4df3cd4dd 11:20:20 Removing intermediate container 59f4df3cd4dd 11:20:20 ---> 5ba582bed539 11:20:20 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:20:20 ---> Running in a6930551e4cb 11:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:20:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:20:20 (1/1) Installing dumb-init (1.2.5-r2) 11:20:20 Executing busybox-1.35.0-r29.trigger 11:20:20 OK: 8 MiB in 16 packages 11:20:20 Removing intermediate container a6930551e4cb 11:20:20 ---> 25d9aed5417b 11:20:20 Step 16/25 : WORKDIR / 11:20:20 ---> Running in 8a0c9ee1e183 11:20:20 Removing intermediate container 8a0c9ee1e183 11:20:20 ---> 511167be457b 11:20:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:20:20 ---> d71b8d63bb9d 11:20:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:20:20 ---> b1c9c87e27b5 11:20:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:20:21 ---> 8e48add019a7 11:20:21 Step 20/25 : EXPOSE 59900 11:20:21 ---> Running in 98d236986028 11:20:21 Removing intermediate container 98d236986028 11:20:21 ---> 7627445408b7 11:20:21 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:20:21 ---> Running in b7bd36aa0064 11:20:22 Removing intermediate container b7bd36aa0064 11:20:22 ---> ca2929049473 11:20:22 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:20:22 ---> Running in daab166eb9a7 11:20:22 Removing intermediate container daab166eb9a7 11:20:22 ---> c771b290e02e 11:20:22 Step 23/25 : LABEL arch=arm64 11:20:22 ---> Running in 456f9918ff54 11:20:22 Removing intermediate container 456f9918ff54 11:20:22 ---> 19bf97a4f813 11:20:22 Step 24/25 : LABEL git_sha=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 11:20:22 ---> Running in 8895ab68c3e4 11:20:23 Removing intermediate container 8895ab68c3e4 11:20:23 ---> 64ce6a645928 11:20:23 Step 25/25 : LABEL version=0.0.0 11:20:23 ---> Running in ac9c5c3cd34e 11:20:23 Removing intermediate container ac9c5c3cd34e 11:20:23 ---> e29331a0adfe 11:20:23 [Warning] One or more build-args [ARCH] were not consumed 11:20:23 Successfully built e29331a0adfe 11:20:23 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:24 11:20:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:24 arm64: Pulling from edgex-lftools-log-publisher 11:20:24 8998bd30e6a1: Pulling fs layer 11:20:24 04944245beec: Pulling fs layer 11:20:24 699f458cf7ca: Pulling fs layer 11:20:24 765212b225bb: Pulling fs layer 11:20:24 f23df028b6ca: Pulling fs layer 11:20:24 d65c8cfc05b1: Pulling fs layer 11:20:24 2437ff75d9bd: Pulling fs layer 11:20:24 765212b225bb: Waiting 11:20:24 f23df028b6ca: Waiting 11:20:24 d65c8cfc05b1: Waiting 11:20:24 2437ff75d9bd: Waiting 11:20:24 04944245beec: Verifying Checksum 11:20:24 04944245beec: Download complete 11:20:24 765212b225bb: Verifying Checksum 11:20:24 765212b225bb: Download complete 11:20:24 f23df028b6ca: Verifying Checksum 11:20:24 f23df028b6ca: Download complete 11:20:24 d65c8cfc05b1: Verifying Checksum 11:20:24 d65c8cfc05b1: Download complete 11:20:24 699f458cf7ca: Verifying Checksum 11:20:24 699f458cf7ca: Download complete 11:20:25 8998bd30e6a1: Download complete 11:20:27 2437ff75d9bd: Verifying Checksum 11:20:27 2437ff75d9bd: Download complete 11:20:29 8998bd30e6a1: Pull complete 11:20:29 04944245beec: Pull complete 11:20:30 699f458cf7ca: Pull complete 11:20:33 765212b225bb: Pull complete 11:20:33 f23df028b6ca: Pull complete 11:20:34 d65c8cfc05b1: Pull complete 11:20:49 2437ff75d9bd: Pull complete 11:20:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:49 prd-ubuntu20.04-docker-arm64-4c-16g-7128 does not seem to be running inside a container 11:20:49 $ 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 11:20:51 $ docker top f90880d64dc875a6d4446df2b0c3364c71ebfeb6c495638a3c1d630ea23c212e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:52 ---> job-cost.sh 11:20:52 lf-activate-venv: SKIPPING 11:20:52 INFO: No Stack... 11:20:53 INFO: Retrieving Pricing Info for: v3-standard-4 11:20:53 INFO: Archiving Costs [Pipeline] sh 11:20:54 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 11:20:54 + cut -d, -f6 [Pipeline] lock 11:20:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] 11:20:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] did not exist. Created. 11:20:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:20:54 /w/workspace/device-virtual-go/2@tmp/durable-a2b1f3c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:20:54 + echo total: 0.10999999940395355 [Pipeline] stash 11:20:54 Warning: overwriting stash ‘stack-cost’ 11:20:54 Stashed 1 file(s) [Pipeline] } 11:20:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-376-2-stack-cost] [Pipeline] // lock [Pipeline] } 11:20:54 $ docker stop --time=1 f90880d64dc875a6d4446df2b0c3364c71ebfeb6c495638a3c1d630ea23c212e 11:20:56 $ docker rm -f --volumes f90880d64dc875a6d4446df2b0c3364c71ebfeb6c495638a3c1d630ea23c212e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:20:56 provisioning config files... 11:20:56 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config13502169734718890123tmp [Pipeline] { [Pipeline] sh 11:20:57 + set +x 11:20:57 + curl+ -s https://codecov.io/bash 11:20:57 bash -s -- 11:20:57 11:20:57 _____ _ 11:20:57 / ____| | | 11:20:57 | | ___ __| | ___ ___ _____ __ 11:20:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:20:57 | |___| (_) | (_| | __/ (_| (_) \ V / 11:20:57 \_____\___/ \__,_|\___|\___\___/ \_/ 11:20:57 Bash-1.0.6 11:20:57 11:20:57 11:20:57 ==> git version 2.25.1 found 11:20:57 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:20:57 Release-Date: 2020-01-08 11:20:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:20:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:20:57 ==> Jenkins CI detected. 11:20:57 current dir:  /w/workspace/foundry_device-virtual-go_PR-376 11:20:57 project root: . 11:20:57 --> token set from env 11:20:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:20:57 ==> Running gcov in . (disable via -X gcov) 11:20:57 ==> Python coveragepy not found 11:20:57 ==> Searching for coverage reports in: 11:20:57 + . 11:20:57 -> Found 1 reports 11:20:57 ==> Detecting git/mercurial file structure 11:20:57 ==> Reading reports 11:20:57 + ./coverage.out bytes=42975 11:20:57 ==> Appending adjustments 11:20:57 https://docs.codecov.io/docs/fixing-reports 11:20:57 + Found adjustments 11:20:57 ==> Gzipping contents 11:20:57 8.0K /tmp/codecov.amSu6P.gz 11:20:57 ==> Uploading reports 11:20:57 url: https://codecov.io 11:20:57 query: branch=PR-376&commit=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 11:20:57 -> Pinging Codecov 11:20:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-376&commit=ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-376%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=376&job=&cmd_args= 11:20:57 -> Uploading to 11:20:57 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/5E52B4B073DB2E39498172D8E973AA87/ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9/28051ddd-2b53-4a2e-8eb7-1ec6726ee452.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T112057Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eaee9ec1bf71662a4dac537791a43833f6902fd4a683c0ee7facf12dd70ed12 11:20:57 % Total % Received % Xferd Average Speed Time Time Time Current 11:20:57 Dload Upload Total Spent Left Speed 11:20:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5205 0 0 100 5205 0 18996 --:--:-- --:--:-- --:--:-- 18996 11:20:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ff36f565a523ca70b9e81cf5e3b4dee35e4ecbf9 [Pipeline] } 11:20:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:20:58 + [ -d /w/workspace/foundry_device-virtual-go_PR-376/archives ] 11:20:58 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 11:20:58 total 16 11:20:58 drwxr-xr-x 3 root root 4096 Apr 7 11:12 . 11:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 11:12 .. 11:20:58 drwxr-xr-x 2 root root 4096 Apr 7 11:12 cost 11:20:58 -rw-r--r-- 1 root root 89 Apr 7 11:12 cost.csv 11:20:58 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-376/archives 11:20:58 + ls -al /w/workspace/foundry_device-virtual-go_PR-376/archives 11:20:58 total 16 11:20:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 11:12 . 11:20:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 11:12 .. 11:20:58 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 11:12 cost 11:20:58 -rw-r--r-- 1 jenkins jenkins 89 Apr 7 11:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:20:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:20:59 ---> package-listing.sh 11:20:59 ++ facter osfamily 11:20:59 ++ tr '[:upper:]' '[:lower:]' 11:20:59 + OS_FAMILY=debian 11:20:59 + workspace=/w/workspace/foundry_device-virtual-go_PR-376 11:20:59 + START_PACKAGES=/tmp/packages_start.txt 11:20:59 + END_PACKAGES=/tmp/packages_end.txt 11:20:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:20:59 + PACKAGES=/tmp/packages_start.txt 11:20:59 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 11:20:59 + PACKAGES=/tmp/packages_end.txt 11:20:59 + case "${OS_FAMILY}" in 11:20:59 + dpkg -l 11:20:59 + grep '^ii' 11:20:59 + '[' -f /tmp/packages_start.txt ']' 11:20:59 + '[' -f /tmp/packages_end.txt ']' 11:20:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:20:59 + '[' /w/workspace/foundry_device-virtual-go_PR-376 ']' 11:20:59 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-376/archives/ 11:20:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-376/archives/ [Pipeline] echo 11:20:59 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-376/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:21:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:21:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:00 prd-ubuntu20.04-docker-8c-8g-7127 does not seem to be running inside a container 11:21:00 $ 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-376/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-376 -v /w/workspace/foundry_device-virtual-go_PR-376:/w/workspace/foundry_device-virtual-go_PR-376:rw,z -v /w/workspace/foundry_device-virtual-go_PR-376@tmp:/w/workspace/foundry_device-virtual-go_PR-376@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 11:21:01 $ docker top 3da1bab4c67273729929069629e7cb8c34d1e3e779f5f441d2ccd3468b8fbf06 -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:01 + touch /tmp/pre-build-complete [Pipeline] sh 11:21:01 + mkdir -p /var/log/sysstat [Pipeline] sh 11:21:02 + ls /var/log/sa-host 11:21:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:02 provisioning config files... 11:21:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-376@tmp/config18369813501600076044tmp [Pipeline] { [Pipeline] echo 11:21:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:21:02 ---> create-netrc.sh [Pipeline] } 11:21:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:21:02 ---> python-tools-install.sh [Pipeline] echo 11:21:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:21:03 ---> sudo-logs.sh 11:21:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:21:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:21:03 ---> job-cost.sh 11:21:03 lf-activate-venv: SKIPPING 11:21:03 DEBUG: total: 0.2199999988079071 11:21:03 INFO: Retrieving Stack Cost... 11:21:03 INFO: Retrieving Pricing Info for: v3-standard-8 11:21:04 INFO: Archiving Costs [Pipeline] echo 11:21:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:21:04 ---> logs-deploy.sh 11:21:04 lf-activate-venv: SKIPPING 11:21:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-376/2 11:21:04 INFO: archiving workspace using pattern(s): 11:21:05 Archives upload complete. 11:21:05 INFO: archiving logs to Nexus