Pull request #448 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from bcc5bf13c25d62ac0477704fc00e8193e07e672c+a4fb408bd6b294fc41552c8711cc9fe432fefed6 (26e1e874a269205596f9e09e6b9d01fda8124672) 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-ssh13313677248748126309.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh13901709606540505924.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3326763501276616693.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16635641650792782600.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10934958036329586929.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7125451373579288655.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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.21 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-16863’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16865 in /w/workspace/foundry_device-virtual-go_PR-448 [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-448 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit bcc5bf13c25d62ac0477704fc00e8193e07e672c Merge succeeded, producing bcc5bf13c25d62ac0477704fc00e8193e07e672c Checking out Revision bcc5bf13c25d62ac0477704fc00e8193e07e672c (PR-448) > git config core.sparsecheckout # timeout=10 > git checkout -f bcc5bf13c25d62ac0477704fc00e8193e07e672c # 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 a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bcc5bf13c25d62ac0477704fc00e8193e07e672c # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:38:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:38:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:38:10 ========================================================= 15:38:10 EdgeX Global Pipelines Version Info 15:38:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:38:11 ------------------- 15:38:11 stable info: 15:38:11 ------------------- 15:38:11 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:38:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:38:11 Message: update stable to v1.0.257 15:38:11 ------------------- 15:38:11 experimental info: 15:38:11 ------------------- 15:38:11 Commited By: **** collab-it+edgex@linuxfoundation.org 15:38:11 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:38:11 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:38:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-448 [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-448 [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-448 [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bcc5bf13c25d62ac0477704fc00e8193e07e672c [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bcc5bf1 [Pipeline] echo 15:38:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:13 provisioning config files... 15:38:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-448@tmp/config1200233648914943253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:13 ---> docker-login.sh 15:38:13 nexus3.edgexfoundry.org:10001 15:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:14 Configure a credential helper to remove this warning. See 15:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:14 15:38:14 Login Succeeded 15:38:14 nexus3.edgexfoundry.org:10002 15:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:14 Configure a credential helper to remove this warning. See 15:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:14 15:38:14 Login Succeeded 15:38:14 nexus3.edgexfoundry.org:10003 15:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:14 Configure a credential helper to remove this warning. See 15:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:14 15:38:14 Login Succeeded 15:38:14 nexus3.edgexfoundry.org:10004 15:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:14 Configure a credential helper to remove this warning. See 15:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:14 15:38:14 Login Succeeded 15:38:14 docker.io 15:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:14 Configure a credential helper to remove this warning. See 15:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:14 15:38:14 Login Succeeded 15:38:14 ---> docker-login.sh ends [Pipeline] } 15:38:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:38:15 + git rev-list -1 --merges bcc5bf13c25d62ac0477704fc00e8193e07e672c~1..bcc5bf13c25d62ac0477704fc00e8193e07e672c [Pipeline] echo 15:38:15 -----------> git rev-list -1 --merges bcc5bf13c25d62ac0477704fc00e8193e07e672c~1..bcc5bf13c25d62ac0477704fc00e8193e07e672c bcc5bf13c25d62ac0477704fc00e8193e07e672c [false] [Pipeline] sh 15:38:15 + git log --format=format:%s -1 bcc5bf13c25d62ac0477704fc00e8193e07e672c [Pipeline] echo 15:38:16 ========================================================= 15:38:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:16 + git log --format=format:%s -1 bcc5bf13c25d62ac0477704fc00e8193e07e672c [Pipeline] echo 15:38:16 [semverPrep] GIT_COMMIT: bcc5bf13c25d62ac0477704fc00e8193e07e672c, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo 15:38:16 [semverPrep] This is not a build commit. [Pipeline] sh 15:38:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:38:16 + grep -v github /etc/ssh/ssh_known_hosts 15:38:16 + [ -e /tmp/ssh_known_hosts ] 15:38:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:38:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:38:16 + sudo tee -a /etc/ssh/ssh_known_hosts 15:38:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:17 15:38:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:17 0.1.4: Pulling from edgex-devops/py-git-semver 15:38:17 b85a868b505f: Pulling fs layer 15:38:17 e2be974225ed: Pulling fs layer 15:38:17 339a4e72a1f5: Pulling fs layer 15:38:17 988bab9f4d93: Pulling fs layer 15:38:17 1469e6f7b9e6: Pulling fs layer 15:38:17 eaf3925da568: Pulling fs layer 15:38:17 bab4dde63d76: Pulling fs layer 15:38:17 bde34c3a00c8: Pulling fs layer 15:38:17 b352a97aabf1: Pulling fs layer 15:38:17 4872d77fe225: Pulling fs layer 15:38:17 5851b861e8e6: Pulling fs layer 15:38:17 1469e6f7b9e6: Waiting 15:38:17 eaf3925da568: Waiting 15:38:17 bab4dde63d76: Waiting 15:38:17 4872d77fe225: Waiting 15:38:17 b352a97aabf1: Waiting 15:38:17 988bab9f4d93: Waiting 15:38:17 bde34c3a00c8: Waiting 15:38:17 e2be974225ed: Download complete 15:38:17 988bab9f4d93: Download complete 15:38:18 1469e6f7b9e6: Verifying Checksum 15:38:18 1469e6f7b9e6: Download complete 15:38:18 eaf3925da568: Verifying Checksum 15:38:18 eaf3925da568: Download complete 15:38:18 339a4e72a1f5: Verifying Checksum 15:38:18 339a4e72a1f5: Download complete 15:38:18 bde34c3a00c8: Download complete 15:38:18 b352a97aabf1: Download complete 15:38:18 4872d77fe225: Verifying Checksum 15:38:18 4872d77fe225: Download complete 15:38:18 5851b861e8e6: Verifying Checksum 15:38:18 5851b861e8e6: Download complete 15:38:18 b85a868b505f: Verifying Checksum 15:38:18 b85a868b505f: Download complete 15:38:18 bab4dde63d76: Verifying Checksum 15:38:18 bab4dde63d76: Download complete 15:38:19 b85a868b505f: Pull complete 15:38:19 e2be974225ed: Pull complete 15:38:20 339a4e72a1f5: Pull complete 15:38:20 988bab9f4d93: Pull complete 15:38:20 1469e6f7b9e6: Pull complete 15:38:20 eaf3925da568: Pull complete 15:38:22 bab4dde63d76: Pull complete 15:38:22 bde34c3a00c8: Pull complete 15:38:22 b352a97aabf1: Pull complete 15:38:22 4872d77fe225: Pull complete 15:38:23 5851b861e8e6: Pull complete 15:38:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:38:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:23 prd-ubuntu20.04-docker-8c-8g-16865 does not seem to be running inside a container 15:38:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-448 -v /w/workspace/foundry_device-virtual-go_PR-448:/w/workspace/foundry_device-virtual-go_PR-448:rw,z -v /w/workspace/foundry_device-virtual-go_PR-448@tmp:/w/workspace/foundry_device-virtual-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:38:27 $ docker top b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 -eo pid,comm 15:38:27 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). 15:38:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:27 [ssh-agent] Looking for ssh-agent implementation... 15:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:27 $ docker exec b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 ssh-agent 15:38:27 SSH_AUTH_SOCK=/tmp/ssh-dpAx38bUFSJk/agent.31 15:38:27 SSH_AGENT_PID=37 15:38:27 Running ssh-add (command line suppressed) 15:38:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-448@tmp/private_key_6930188293872308957.key (/w/workspace/foundry_device-virtual-go_PR-448@tmp/private_key_6930188293872308957.key) 15:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:28 + git tag --points-at HEAD [Pipeline] } 15:38:28 $ docker exec --env ******** --env ******** b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 ssh-agent -k 15:38:28 unset SSH_AUTH_SOCK; 15:38:28 unset SSH_AGENT_PID; 15:38:28 echo Agent pid 37 killed; 15:38:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:28 [ssh-agent] Looking for ssh-agent implementation... 15:38:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:28 $ docker exec b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 ssh-agent 15:38:28 SSH_AUTH_SOCK=/tmp/ssh-M1zH51faeXBu/agent.69 15:38:28 SSH_AGENT_PID=75 15:38:28 Running ssh-add (command line suppressed) 15:38:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-448@tmp/private_key_9467557595904089993.key (/w/workspace/foundry_device-virtual-go_PR-448@tmp/private_key_9467557595904089993.key) 15:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:29 + git semver init 15:38:29 2023-11-07 15:38:29,240 [run_init] DEBUG init version:0.0.0 force:False 15:38:29 2023-11-07 15:38:29,241 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-448/.semver 15:38:29 2023-11-07 15:38:29,241 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-448/.semver 15:38:29 2023-11-07 15:38:29,241 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-448/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-448, universal_newlines=False, shell=None, istream=None) 15:38:30 2023-11-07 15:38:30,392 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-448/.git/info/exclude 15:38:30 2023-11-07 15:38:30,392 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-448/.semver/PR-448 with force:False 15:38:30 2023-11-07 15:38:30,392 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-448/.semver/PR-448 15:38:30 2023-11-07 15:38:30,396 [execute] INFO git cat-file --batch-check 15:38:30 2023-11-07 15:38:30,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 15:38:30 2023-11-07 15:38:30,402 [execute] INFO git cat-file --batch 15:38:30 2023-11-07 15:38:30,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) 15:38:30 2023-11-07 15:38:30,407 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-448/.semver/PR-448 15:38:30 0.0.0 [Pipeline] } 15:38:30 $ docker exec --env ******** --env ******** b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 ssh-agent -k 15:38:30 unset SSH_AUTH_SOCK; 15:38:30 unset SSH_AGENT_PID; 15:38:30 echo Agent pid 75 killed; 15:38:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:31 + git semver [Pipeline] } 15:38:31 $ docker stop --time=1 b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 15:38:32 $ docker rm -f --volumes b34a412c6976658984b82f13be3ee9b433273a9af767b53823c1dc4d96ef3228 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:33 Stashed 1 file(s) [Pipeline] echo 15:38:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:34 provisioning config files... 15:38:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-448@tmp/config739463425674177838tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:34 ---> docker-login.sh 15:38:34 nexus3.edgexfoundry.org:10001 15:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:34 Configure a credential helper to remove this warning. See 15:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:34 15:38:34 Login Succeeded 15:38:34 nexus3.edgexfoundry.org:10002 15:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:34 Configure a credential helper to remove this warning. See 15:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:34 15:38:34 Login Succeeded 15:38:34 nexus3.edgexfoundry.org:10003 15:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:34 Configure a credential helper to remove this warning. See 15:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:34 15:38:34 Login Succeeded 15:38:34 nexus3.edgexfoundry.org:10004 15:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:34 Configure a credential helper to remove this warning. See 15:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:34 15:38:34 Login Succeeded 15:38:34 docker.io 15:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:35 Configure a credential helper to remove this warning. See 15:38:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:35 15:38:35 Login Succeeded 15:38:35 ---> docker-login.sh ends [Pipeline] } 15:38:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:38:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:38:35 ========================================================= 15:38:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:38:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:38:35 Sending build context to Docker daemon 23.71MB 15:38:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:38:35 Step 2/12 : FROM ${BASE} AS builder 15:38:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:36 7264a8db6415: Pulling fs layer 15:38:36 c4d48a809fc2: Pulling fs layer 15:38:36 4f1c88b9dad5: Pulling fs layer 15:38:36 ad3a456e5733: Pulling fs layer 15:38:36 33e27b845d1e: Pulling fs layer 15:38:36 c68163c4e522: Pulling fs layer 15:38:36 50da416c3ac9: Pulling fs layer 15:38:36 23d2d4c4bb30: Pulling fs layer 15:38:36 ad3a456e5733: Waiting 15:38:36 33e27b845d1e: Waiting 15:38:36 c68163c4e522: Waiting 15:38:36 23d2d4c4bb30: Waiting 15:38:36 50da416c3ac9: Waiting 15:38:36 c4d48a809fc2: Verifying Checksum 15:38:36 c4d48a809fc2: Download complete 15:38:36 ad3a456e5733: Download complete 15:38:36 33e27b845d1e: Download complete 15:38:36 7264a8db6415: Verifying Checksum 15:38:36 7264a8db6415: Download complete 15:38:36 c68163c4e522: Verifying Checksum 15:38:36 c68163c4e522: Download complete 15:38:36 7264a8db6415: Pull complete 15:38:36 c4d48a809fc2: Pull complete 15:38:36 23d2d4c4bb30: Verifying Checksum 15:38:36 23d2d4c4bb30: Download complete 15:38:36 4f1c88b9dad5: Verifying Checksum 15:38:36 4f1c88b9dad5: Download complete 15:38:37 50da416c3ac9: Verifying Checksum 15:38:37 50da416c3ac9: Download complete 15:38:40 4f1c88b9dad5: Pull complete 15:38:40 ad3a456e5733: Pull complete 15:38:40 33e27b845d1e: Pull complete 15:38:40 c68163c4e522: Pull complete 15:38:42 50da416c3ac9: Pull complete 15:38:42 23d2d4c4bb30: Pull complete 15:38:42 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:38:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:38:42 ---> 0786185ac409 15:38:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:38:47 ---> Running in 8a42cdcabeb4 15:38:47 Removing intermediate container 8a42cdcabeb4 15:38:47 ---> ae218fd3ed72 15:38:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:38:47 ---> Running in 86540f8f05b6 15:38:47 Removing intermediate container 86540f8f05b6 15:38:47 ---> 10fa3ce31662 15:38:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:38:47 ---> Running in 86a275b07c95 15:38:47 Removing intermediate container 86a275b07c95 15:38:47 ---> 7421cc2aa1ff 15:38:47 Step 6/12 : WORKDIR /device-virtual-go 15:38:47 ---> Running in 9320bf4a8e9c 15:38:47 Removing intermediate container 9320bf4a8e9c 15:38:47 ---> 05e8c5ed682f 15:38:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:47 ---> Running in de41984d6a04 15:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:38:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:38:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:38:48 (2/4) Installing libedit (20221030.3.1-r1) 15:38:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:38:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:38:48 Executing busybox-1.36.1-r2.trigger 15:38:48 OK: 268 MiB in 56 packages 15:38:48 Removing intermediate container de41984d6a04 15:38:48 ---> d8dc5bdb3526 15:38:48 Step 8/12 : COPY go.mod vendor* ./ 15:38:48 ---> e50fcf284518 15:38:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:48 ---> Running in 89e6c82c7a55 15:38:48 Still waiting to schedule task 15:38:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16864’ 15:39:27 Removing intermediate container 89e6c82c7a55 15:39:27 ---> 6231c83af4ae 15:39:27 Step 10/12 : COPY . . 15:39:27 ---> 00ebeec77f53 15:39:27 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:39:27 ---> Running in 20a6cfed472d 15:39:27 Removing intermediate container 20a6cfed472d 15:39:27 ---> f3f3eedfec78 15:39:27 Step 12/12 : RUN $MAKE 15:39:27 ---> Running in eb45b08c88b2 15:39:27 noop 15:39:27 Removing intermediate container eb45b08c88b2 15:39:27 ---> a6ea67b7a84f 15:39:27 Successfully built a6ea67b7a84f 15:39:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:28 + docker inspect -f . ci-base-image-x86_64 15:39:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:28 prd-ubuntu20.04-docker-8c-8g-16865 does not seem to be running inside a container 15:39:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-448 -v /w/workspace/foundry_device-virtual-go_PR-448:/w/workspace/foundry_device-virtual-go_PR-448:rw,z -v /w/workspace/foundry_device-virtual-go_PR-448@tmp:/w/workspace/foundry_device-virtual-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:28 $ docker top 38a83b4573ae63e071a79a06227cffb40210c3b6dbb1f79c21ec53d146494da5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:29 + go version 15:39:29 go version go1.21.0 linux/amd64 [Pipeline] } 15:39:29 $ docker stop --time=1 38a83b4573ae63e071a79a06227cffb40210c3b6dbb1f79c21ec53d146494da5 15:39:30 $ docker rm -f --volumes 38a83b4573ae63e071a79a06227cffb40210c3b6dbb1f79c21ec53d146494da5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:31 + docker inspect -f . ci-base-image-x86_64 15:39:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:39:31 prd-ubuntu20.04-docker-8c-8g-16865 does not seem to be running inside a container 15:39:31 $ 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-448 -v /w/workspace/foundry_device-virtual-go_PR-448:/w/workspace/foundry_device-virtual-go_PR-448:rw,z -v /w/workspace/foundry_device-virtual-go_PR-448@tmp:/w/workspace/foundry_device-virtual-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:39:31 $ docker top e361cafaff35128dddca0c1d4b0a0274847bbb4bdcc73c954b0d15fabc9e3106 -eo pid,comm [Pipeline] { [Pipeline] sh 15:39:31 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-448 [Pipeline] fileExists [Pipeline] sh 15:39:32 + make test 15:39:32 go test ./... -coverprofile=coverage.out 15:39:33 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:39:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:39:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 15:39:48 go vet ./... 15:39:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:39:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:39:50 ./bin/test-attribution-txt.sh [Pipeline] echo 15:39:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:39:51 $ docker stop --time=1 e361cafaff35128dddca0c1d4b0a0274847bbb4bdcc73c954b0d15fabc9e3106 15:39:53 $ docker rm -f --volumes e361cafaff35128dddca0c1d4b0a0274847bbb4bdcc73c954b0d15fabc9e3106 [Pipeline] // withDockerContainer [Pipeline] sh 15:39:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:39:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:39:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:39:54 + ls -al . 15:39:54 total 200 15:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:39 . 15:39:54 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:38 .. 15:39:54 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:39 .git 15:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:38 .github 15:39:54 -rw-rw-r-- 1 jenkins jenkins 272 Nov 7 15:38 .gitignore 15:39:54 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 15:38 .golangci.yml 15:39:54 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:38 .semver 15:39:54 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 7 15:38 Attribution.txt 15:39:54 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 7 15:38 CHANGELOG.md 15:39:54 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 7 15:38 Dockerfile 15:39:54 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:38 GOVERNANCE.md 15:39:54 -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 15:38 Jenkinsfile 15:39:54 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 15:38 LICENSE 15:39:54 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 7 15:38 Makefile 15:39:54 -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 15:38 OWNERS.md 15:39:54 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 7 15:38 README.md 15:39:54 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:38 VERSION 15:39:54 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:38 bin 15:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:38 cmd 15:39:54 -rw-r--r-- 1 jenkins jenkins 43063 Nov 7 15:39 coverage.out 15:39:54 -rw-rw-r-- 1 jenkins jenkins 3638 Nov 7 15:38 go.mod 15:39:54 -rw-rw-r-- 1 jenkins jenkins 34490 Nov 7 15:38 go.sum 15:39:54 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:38 internal 15:39:54 -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 15:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:39:55 + 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=bcc5bf13c25d62ac0477704fc00e8193e07e672c --label arch=amd64 --label version=0.0.0 . 15:39:55 Sending build context to Docker daemon 23.76MB 15:39:55 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:39:55 Step 2/25 : FROM ${BASE} AS builder 15:39:55 ---> a6ea67b7a84f 15:39:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:39:55 ---> Running in 04f6f768a217 15:39:55 Removing intermediate container 04f6f768a217 15:39:55 ---> b80625722368 15:39:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:39:55 ---> Running in 122e3a4d401e 15:39:55 Removing intermediate container 122e3a4d401e 15:39:55 ---> b87f9b52773c 15:39:55 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:39:55 ---> Running in 2387273f6148 15:39:55 Removing intermediate container 2387273f6148 15:39:55 ---> e140200b8ef0 15:39:55 Step 6/25 : WORKDIR /device-virtual-go 15:39:55 ---> Running in 340f886b9f34 15:39:55 Removing intermediate container 340f886b9f34 15:39:55 ---> 16c9184ee841 15:39:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:39:55 ---> Running in 75812e449ee4 15:39:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:39:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:39:56 OK: 268 MiB in 56 packages 15:39:56 Removing intermediate container 75812e449ee4 15:39:56 ---> 670271338c30 15:39:56 Step 8/25 : COPY go.mod vendor* ./ 15:39:56 ---> d13d99537fe3 15:39:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:56 ---> Running in 990145c93607 15:39:57 Removing intermediate container 990145c93607 15:39:57 ---> 3a8bbc2ad992 15:39:57 Step 10/25 : COPY . . 15:39:57 ---> 9b3b7c204f71 15:39:57 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:39:57 ---> Running in 9b88b2ae1d95 15:39:57 Removing intermediate container 9b88b2ae1d95 15:39:57 ---> e5d622da3bb4 15:39:57 Step 12/25 : RUN $MAKE 15:39:57 ---> Running in 259fc189f56c 15:39:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:40:20 Removing intermediate container 259fc189f56c 15:40:20 ---> 06e1d67c566a 15:40:20 Step 13/25 : FROM alpine:3.18 15:40:20 3.18: Pulling from library/alpine 15:40:20 96526aa774ef: Pulling fs layer 15:40:20 96526aa774ef: Verifying Checksum 15:40:20 96526aa774ef: Download complete 15:40:20 96526aa774ef: Pull complete 15:40:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:40:20 Status: Downloaded newer image for alpine:3.18 15:40:20 ---> 8ca4688f4f35 15:40:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:40:20 ---> Running in d8a658df1830 15:40:20 Removing intermediate container d8a658df1830 15:40:20 ---> d07e76858253 15:40:20 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:40:20 ---> Running in f730856fb248 15:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:40:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:40:20 (1/1) Installing dumb-init (1.2.5-r2) 15:40:20 Executing busybox-1.36.1-r2.trigger 15:40:20 OK: 7 MiB in 16 packages 15:40:20 Removing intermediate container f730856fb248 15:40:20 ---> 5617db25d723 15:40:20 Step 16/25 : WORKDIR / 15:40:20 ---> Running in ca4ba801dd83 15:40:20 Removing intermediate container ca4ba801dd83 15:40:20 ---> bc022617c1e6 15:40:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:40:20 ---> e28107e64e1c 15:40:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:40:20 ---> fdf60653bc5e 15:40:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:40:20 ---> 5838a1efc644 15:40:20 Step 20/25 : EXPOSE 59900 15:40:20 ---> Running in 08e9d9e27989 15:40:20 Removing intermediate container 08e9d9e27989 15:40:20 ---> 4831127511a2 15:40:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:40:20 ---> Running in dc80cc7ac666 15:40:20 Removing intermediate container dc80cc7ac666 15:40:20 ---> c37a53487a32 15:40:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:40:20 ---> Running in a3967115efbe 15:40:21 Removing intermediate container a3967115efbe 15:40:21 ---> 39ffa015c580 15:40:21 Step 23/25 : LABEL arch=amd64 15:40:21 ---> Running in 07f71aa93fbe 15:40:21 Removing intermediate container 07f71aa93fbe 15:40:21 ---> ac5f363d7172 15:40:21 Step 24/25 : LABEL git_sha=bcc5bf13c25d62ac0477704fc00e8193e07e672c 15:40:21 ---> Running in 7f8eae8c32f7 15:40:21 Removing intermediate container 7f8eae8c32f7 15:40:21 ---> f30775f5b5ad 15:40:21 Step 25/25 : LABEL version=0.0.0 15:40:21 ---> Running in de1aba734b13 15:40:21 Removing intermediate container de1aba734b13 15:40:21 ---> f9000610fa2c 15:40:21 [Warning] One or more build-args [ARCH] were not consumed 15:40:21 Successfully built f9000610fa2c 15:40:21 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 15:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:22 15:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:23 latest: Pulling from edgex-lftools-log-publisher 15:40:23 5eb5b503b376: Pulling fs layer 15:40:23 5c69ac0246d0: Pulling fs layer 15:40:23 ec43610c2a17: Pulling fs layer 15:40:23 3a2ae6a8a46f: Pulling fs layer 15:40:23 33b1e0a273af: Pulling fs layer 15:40:23 5d3b04190fa2: Pulling fs layer 15:40:23 2f39f015ded8: Pulling fs layer 15:40:23 33b1e0a273af: Waiting 15:40:23 3a2ae6a8a46f: Waiting 15:40:23 5d3b04190fa2: Waiting 15:40:23 2f39f015ded8: Waiting 15:40:23 5c69ac0246d0: Verifying Checksum 15:40:23 5c69ac0246d0: Download complete 15:40:23 3a2ae6a8a46f: Verifying Checksum 15:40:23 3a2ae6a8a46f: Download complete 15:40:23 33b1e0a273af: Verifying Checksum 15:40:23 33b1e0a273af: Download complete 15:40:23 5d3b04190fa2: Verifying Checksum 15:40:23 5d3b04190fa2: Download complete 15:40:23 ec43610c2a17: Verifying Checksum 15:40:23 ec43610c2a17: Download complete 15:40:23 5eb5b503b376: Verifying Checksum 15:40:23 5eb5b503b376: Download complete 15:40:23 2f39f015ded8: Download complete 15:40:24 5eb5b503b376: Pull complete 15:40:24 5c69ac0246d0: Pull complete 15:40:25 ec43610c2a17: Pull complete 15:40:25 3a2ae6a8a46f: Pull complete 15:40:25 33b1e0a273af: Pull complete 15:40:25 5d3b04190fa2: Pull complete 15:40:30 2f39f015ded8: Pull complete 15:40:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:30 prd-ubuntu20.04-docker-8c-8g-16865 does not seem to be running inside a container 15:40:30 $ 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-448 -v /w/workspace/foundry_device-virtual-go_PR-448:/w/workspace/foundry_device-virtual-go_PR-448:rw,z -v /w/workspace/foundry_device-virtual-go_PR-448@tmp:/w/workspace/foundry_device-virtual-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:40:37 $ docker top e7c30202dc51c9701321b88a954bbe06eff1fa60565d6cd3c60dc9a643a97950 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:39 ---> job-cost.sh 15:40:39 lf-activate-venv: SKIPPING 15:40:39 INFO: No Stack... 15:40:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:40 INFO: Archiving Costs [Pipeline] sh 15:40:40 + cat /w/workspace/foundry_device-virtual-go_PR-448/archives/cost.csv 15:40:40 + cut -d, -f6 [Pipeline] lock 15:40:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] 15:40:40 Resource [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] did not exist. Created. 15:40:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:40:40 + echo total: 0.2199999988079071 [Pipeline] stash 15:40:41 Stashed 1 file(s) [Pipeline] } 15:40:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:40:41 $ docker stop --time=1 e7c30202dc51c9701321b88a954bbe06eff1fa60565d6cd3c60dc9a643a97950 15:40:42 $ docker rm -f --volumes e7c30202dc51c9701321b88a954bbe06eff1fa60565d6cd3c60dc9a643a97950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:41:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16866 in /w/workspace/foundry_device-virtual-go_PR-448 [Pipeline] { [Pipeline] ws 15:41:47 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 15:41:47 The recommended git tool is: git 15:41:57 using credential edgex-jenkins-ssh 15:41:57 Cloning the remote Git repository 15:41:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:41:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 15:41:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:41:58 > git --version # timeout=10 15:41:58 > git --version # 'git version 2.25.1' 15:41:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:41:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:42:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:42:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:42:03 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit bcc5bf13c25d62ac0477704fc00e8193e07e672c 15:42:03 Merge succeeded, producing bcc5bf13c25d62ac0477704fc00e8193e07e672c 15:42:03 Checking out Revision bcc5bf13c25d62ac0477704fc00e8193e07e672c (PR-448) 15:42:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:42:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:42:02 using GIT_SSH to set credentials SSH Credentials for GitHub 15:42:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:42:03 > git config core.sparsecheckout # timeout=10 15:42:03 > git checkout -f bcc5bf13c25d62ac0477704fc00e8193e07e672c # timeout=10 15:42:03 > git remote # timeout=10 15:42:03 > git config --get remote.origin.url # timeout=10 15:42:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:42:03 > git merge a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 15:42:03 > git rev-parse HEAD^{commit} # timeout=10 15:42:03 > git config core.sparsecheckout # timeout=10 15:42:03 > git checkout -f bcc5bf13c25d62ac0477704fc00e8193e07e672c # timeout=10 15:42:07 Commit message: "docs: Update changelog for 3.1 release" 15:42:07 > git --version # timeout=10 15:42:07 > git --version # 'git version 2.25.1' 15:42:07 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:42:08 % Total % Received % Xferd Average Speed Time Time Time Current 15:42:08 Dload Upload Total Spent Left Speed 15:42:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12682 83 10471 0 0 162k 0 --:--:-- --:--:-- --:--:-- 159k 100 12682 100 12682 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh 15:42:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:42:09 + sudo tee /etc/docker/daemon.new 15:42:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:42:09 { 15:42:09 "registry-mirrors": [ 15:42:09 "https://nexus3.edgexfoundry.org:10001" 15:42:09 ], 15:42:09 "bip": "10.250.0.254/24", 15:42:09 "hosts": [ 15:42:09 "tcp://0.0.0.0:5555", 15:42:09 "unix:///var/run/docker.sock" 15:42:09 ], 15:42:09 "mtu": 1458, 15:42:09 "selinux-enabled": true, 15:42:09 "seccomp-profile": "/etc/docker/seccomp.json" 15:42:09 } [Pipeline] sh 15:42:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:42:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:28 provisioning config files... 15:42:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17140234969238524329tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:29 ---> docker-login.sh 15:42:29 nexus3.edgexfoundry.org:10001 15:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:29 Configure a credential helper to remove this warning. See 15:42:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:29 15:42:29 Login Succeeded 15:42:29 nexus3.edgexfoundry.org:10002 15:42:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:30 Configure a credential helper to remove this warning. See 15:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:30 15:42:30 Login Succeeded 15:42:30 nexus3.edgexfoundry.org:10003 15:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:30 Configure a credential helper to remove this warning. See 15:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:30 15:42:30 Login Succeeded 15:42:30 nexus3.edgexfoundry.org:10004 15:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:30 Configure a credential helper to remove this warning. See 15:42:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:30 15:42:30 Login Succeeded 15:42:30 docker.io 15:42:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:31 Configure a credential helper to remove this warning. See 15:42:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:31 15:42:31 Login Succeeded 15:42:31 ---> docker-login.sh ends [Pipeline] } 15:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:42:31 ========================================================= 15:42:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:42:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:42:32 Sending build context to Docker daemon 12MB 15:42:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 15:42:32 Step 2/12 : FROM ${BASE} AS builder 15:42:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:42:32 9fda8d8052c6: Pulling fs layer 15:42:32 5d54e960e981: Pulling fs layer 15:42:32 c4a7e357bf2a: Pulling fs layer 15:42:32 f0e02332f6b5: Pulling fs layer 15:42:32 cefa15bbcfad: Pulling fs layer 15:42:32 17808c966233: Pulling fs layer 15:42:32 f4c1fc716caa: Pulling fs layer 15:42:32 f0e02332f6b5: Waiting 15:42:32 cefa15bbcfad: Waiting 15:42:32 17808c966233: Waiting 15:42:32 f4c1fc716caa: Waiting 15:42:32 5d54e960e981: Verifying Checksum 15:42:32 5d54e960e981: Download complete 15:42:32 f0e02332f6b5: Verifying Checksum 15:42:32 f0e02332f6b5: Download complete 15:42:33 cefa15bbcfad: Verifying Checksum 15:42:33 cefa15bbcfad: Download complete 15:42:33 9fda8d8052c6: Verifying Checksum 15:42:33 9fda8d8052c6: Download complete 15:42:33 f4c1fc716caa: Verifying Checksum 15:42:33 f4c1fc716caa: Download complete 15:42:33 9fda8d8052c6: Pull complete 15:42:34 5d54e960e981: Pull complete 15:42:34 c4a7e357bf2a: Verifying Checksum 15:42:34 c4a7e357bf2a: Download complete 15:42:35 17808c966233: Verifying Checksum 15:42:35 17808c966233: Download complete 15:42:48 c4a7e357bf2a: Pull complete 15:42:48 f0e02332f6b5: Pull complete 15:42:48 cefa15bbcfad: Pull complete 15:42:56 17808c966233: Pull complete 15:42:58 f4c1fc716caa: Pull complete 15:42:58 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:42:58 ---> ea914061e18c 15:42:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:42:59 ---> Running in ede7d48c7284 15:42:59 Removing intermediate container ede7d48c7284 15:42:59 ---> 645ca7255ed8 15:42:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:43:00 ---> Running in 07a6634eda7c 15:43:00 Removing intermediate container 07a6634eda7c 15:43:00 ---> df53f94b2db1 15:43:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:43:00 ---> Running in c9e621cd570b 15:43:00 Removing intermediate container c9e621cd570b 15:43:00 ---> b0adabc5a4a6 15:43:00 Step 6/12 : WORKDIR /device-virtual-go 15:43:00 ---> Running in ef3001570b6d 15:43:01 Removing intermediate container ef3001570b6d 15:43:01 ---> 5d2ac762b924 15:43:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:01 ---> Running in 4ae5910738dd 15:43:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:43:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:43:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 15:43:03 (2/4) Installing libedit (20221030.3.1-r1) 15:43:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 15:43:04 (4/4) Installing openssh-client-default (9.3_p2-r0) 15:43:04 Executing busybox-1.36.1-r2.trigger 15:43:04 OK: 270 MiB in 56 packages 15:43:08 Removing intermediate container 4ae5910738dd 15:43:08 ---> ee31c8f94f02 15:43:08 Step 8/12 : COPY go.mod vendor* ./ 15:43:09 ---> 4727f6ed050b 15:43:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:09 ---> Running in 1466ca865bdf 15:44:30 Removing intermediate container 1466ca865bdf 15:44:30 ---> fe0023771848 15:44:30 Step 10/12 : COPY . . 15:44:30 ---> 5a36331ecf70 15:44:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:44:30 ---> Running in 3abf11dc95ba 15:44:30 Removing intermediate container 3abf11dc95ba 15:44:30 ---> 663f41add939 15:44:30 Step 12/12 : RUN $MAKE 15:44:30 ---> Running in f1eb2328a9e9 15:44:30 noop 15:44:30 Removing intermediate container f1eb2328a9e9 15:44:30 ---> a4325ffd455d 15:44:30 Successfully built a4325ffd455d 15:44:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:31 + docker inspect -f . ci-base-image-arm64 15:44:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:31 prd-ubuntu20.04-docker-arm64-4c-16g-16866 does not seem to be running inside a container 15:44:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:32 $ docker top 848a43d4c32b42d316da76e341c891cc6cc930a09897ec2e995528261d4313c8 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:33 + go version 15:44:33 go version go1.21.0 linux/arm64 [Pipeline] } 15:44:33 $ docker stop --time=1 848a43d4c32b42d316da76e341c891cc6cc930a09897ec2e995528261d4313c8 15:44:35 $ docker rm -f --volumes 848a43d4c32b42d316da76e341c891cc6cc930a09897ec2e995528261d4313c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:35 + docker inspect -f . ci-base-image-arm64 15:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:36 prd-ubuntu20.04-docker-arm64-4c-16g-16866 does not seem to be running inside a container 15:44:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:37 $ docker top dae4c114b42c40328dce24a2b85f062b4e87361e3c2c78a47fffceb2fb5eb826 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 15:44:38 + make test 15:44:38 go test ./... -coverprofile=coverage.out 15:44:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:46:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:46:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.070s coverage: 58.4% of statements 15:46:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:46:19 go vet ./... 15:46:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:46:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:46:29 ./bin/test-attribution-txt.sh [Pipeline] echo 15:46:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:46:29 $ docker stop --time=1 dae4c114b42c40328dce24a2b85f062b4e87361e3c2c78a47fffceb2fb5eb826 15:46:31 $ docker rm -f --volumes dae4c114b42c40328dce24a2b85f062b4e87361e3c2c78a47fffceb2fb5eb826 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:46:33 Warning: overwriting stash ‘coverage-report’ 15:46:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:46:34 + ls -al . 15:46:34 total 196 15:46:34 drwxrwxr-x 7 jenkins jenkins 4096 Nov 7 15:44 . 15:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:41 .. 15:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:42 .git 15:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:42 .github 15:46:34 -rw-rw-r-- 1 jenkins jenkins 272 Nov 7 15:42 .gitignore 15:46:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 15:42 .golangci.yml 15:46:34 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 7 15:42 Attribution.txt 15:46:34 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 7 15:42 CHANGELOG.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 7 15:42 Dockerfile 15:46:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:42 GOVERNANCE.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 660 Nov 7 15:42 Jenkinsfile 15:46:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 15:42 LICENSE 15:46:34 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 7 15:42 Makefile 15:46:34 -rw-rw-r-- 1 jenkins jenkins 623 Nov 7 15:42 OWNERS.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 7 15:42 README.md 15:46:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 15:38 VERSION 15:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:42 bin 15:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:42 cmd 15:46:34 -rw-r--r-- 1 jenkins jenkins 43063 Nov 7 15:46 coverage.out 15:46:34 -rw-rw-r-- 1 jenkins jenkins 3638 Nov 7 15:42 go.mod 15:46:34 -rw-rw-r-- 1 jenkins jenkins 34490 Nov 7 15:42 go.sum 15:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:42 internal 15:46:34 -rw-rw-r-- 1 jenkins jenkins 235 Nov 7 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:34 + 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=bcc5bf13c25d62ac0477704fc00e8193e07e672c --label arch=arm64 --label version=0.0.0 . 15:46:35 Sending build context to Docker daemon 12.04MB 15:46:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 15:46:35 Step 2/25 : FROM ${BASE} AS builder 15:46:35 ---> a4325ffd455d 15:46:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:46:35 ---> Running in 67bbdb09e983 15:46:35 Removing intermediate container 67bbdb09e983 15:46:35 ---> 4f4c93469ce4 15:46:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:46:35 ---> Running in 96ad4e28c884 15:46:36 Removing intermediate container 96ad4e28c884 15:46:36 ---> 57de3042a3af 15:46:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:46:36 ---> Running in 70b7967e9a03 15:46:36 Removing intermediate container 70b7967e9a03 15:46:36 ---> 64624d95cb85 15:46:36 Step 6/25 : WORKDIR /device-virtual-go 15:46:36 ---> Running in c4ef21e58097 15:46:36 Removing intermediate container c4ef21e58097 15:46:36 ---> 5e354e0b8290 15:46:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:46:36 ---> Running in 72c61b6540fe 15:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:46:39 OK: 270 MiB in 56 packages 15:46:40 Removing intermediate container 72c61b6540fe 15:46:40 ---> 94d79da818eb 15:46:40 Step 8/25 : COPY go.mod vendor* ./ 15:46:40 ---> 00b4daf32aa1 15:46:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:40 ---> Running in 1e4c47178fb1 15:46:43 Removing intermediate container 1e4c47178fb1 15:46:43 ---> 3c908e694015 15:46:43 Step 10/25 : COPY . . 15:46:44 ---> 5ffa6e2f7998 15:46:44 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:46:44 ---> Running in 18f6a57c5c3e 15:46:45 Removing intermediate container 18f6a57c5c3e 15:46:45 ---> cf66b93e64d5 15:46:45 Step 12/25 : RUN $MAKE 15:46:45 ---> Running in c3909d427688 15:46:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:48:38 Removing intermediate container c3909d427688 15:48:38 ---> 68bb6b3a8a62 15:48:38 Step 13/25 : FROM alpine:3.18 15:48:38 3.18: Pulling from library/alpine 15:48:38 579b34f0a95b: Pulling fs layer 15:48:38 579b34f0a95b: Verifying Checksum 15:48:38 579b34f0a95b: Download complete 15:48:38 579b34f0a95b: Pull complete 15:48:38 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:48:38 Status: Downloaded newer image for alpine:3.18 15:48:38 ---> 3cc203321400 15:48:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:48:38 ---> Running in f0239e40218d 15:48:38 Removing intermediate container f0239e40218d 15:48:38 ---> 1e7df09ea6e8 15:48:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:48:38 ---> Running in 232ebc4c1724 15:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:48:38 (1/1) Installing dumb-init (1.2.5-r2) 15:48:38 Executing busybox-1.36.1-r2.trigger 15:48:38 OK: 8 MiB in 16 packages 15:48:38 Removing intermediate container 232ebc4c1724 15:48:38 ---> ec9777aa6f14 15:48:38 Step 16/25 : WORKDIR / 15:48:38 ---> Running in 08ca68b6893c 15:48:38 Removing intermediate container 08ca68b6893c 15:48:38 ---> 0de6c84c2ab3 15:48:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:48:38 ---> 9dab47298a0b 15:48:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:48:38 ---> 1be8518e5a3c 15:48:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:48:38 ---> 820077c0a30f 15:48:38 Step 20/25 : EXPOSE 59900 15:48:38 ---> Running in 329d37a87cb0 15:48:38 Removing intermediate container 329d37a87cb0 15:48:38 ---> 96395c0e5277 15:48:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:48:38 ---> Running in 8a5daf9d9ead 15:48:38 Removing intermediate container 8a5daf9d9ead 15:48:38 ---> b3ceacc29b75 15:48:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:48:38 ---> Running in 96a93e0e27b6 15:48:38 Removing intermediate container 96a93e0e27b6 15:48:38 ---> 654b118d3612 15:48:38 Step 23/25 : LABEL arch=arm64 15:48:38 ---> Running in f21018edd9a8 15:48:38 Removing intermediate container f21018edd9a8 15:48:38 ---> 213054e824b4 15:48:38 Step 24/25 : LABEL git_sha=bcc5bf13c25d62ac0477704fc00e8193e07e672c 15:48:38 ---> Running in f8b0e32a4546 15:48:39 Removing intermediate container f8b0e32a4546 15:48:39 ---> 5fc2c51b54b5 15:48:39 Step 25/25 : LABEL version=0.0.0 15:48:39 ---> Running in ca85088b907a 15:48:39 Removing intermediate container ca85088b907a 15:48:39 ---> dd6e58baa540 15:48:39 [Warning] One or more build-args [ARCH] were not consumed 15:48:39 Successfully built dd6e58baa540 15:48:39 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 15:48:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:48:40 15:48:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:48:40 arm64: Pulling from edgex-lftools-log-publisher 15:48:40 8998bd30e6a1: Pulling fs layer 15:48:40 04944245beec: Pulling fs layer 15:48:40 699f458cf7ca: Pulling fs layer 15:48:40 765212b225bb: Pulling fs layer 15:48:40 f23df028b6ca: Pulling fs layer 15:48:40 765212b225bb: Waiting 15:48:40 d65c8cfc05b1: Pulling fs layer 15:48:40 2437ff75d9bd: Pulling fs layer 15:48:40 d65c8cfc05b1: Waiting 15:48:40 2437ff75d9bd: Waiting 15:48:40 04944245beec: Verifying Checksum 15:48:40 04944245beec: Download complete 15:48:40 765212b225bb: Verifying Checksum 15:48:40 765212b225bb: Download complete 15:48:40 f23df028b6ca: Verifying Checksum 15:48:40 f23df028b6ca: Download complete 15:48:40 d65c8cfc05b1: Verifying Checksum 15:48:40 d65c8cfc05b1: Download complete 15:48:41 699f458cf7ca: Verifying Checksum 15:48:41 699f458cf7ca: Download complete 15:48:41 8998bd30e6a1: Verifying Checksum 15:48:41 8998bd30e6a1: Download complete 15:48:43 2437ff75d9bd: Verifying Checksum 15:48:43 2437ff75d9bd: Download complete 15:48:45 8998bd30e6a1: Pull complete 15:48:46 04944245beec: Pull complete 15:48:47 699f458cf7ca: Pull complete 15:48:48 765212b225bb: Pull complete 15:48:49 f23df028b6ca: Pull complete 15:48:49 d65c8cfc05b1: Pull complete 15:49:07 2437ff75d9bd: Pull complete 15:49:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:49:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:49:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:07 prd-ubuntu20.04-docker-arm64-4c-16g-16866 does not seem to be running inside a container 15:49:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:49:10 $ docker top 088091c27f18e8b44ace3aa4374da9437cdfcac11abee0b118f5b19a188b1378 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:11 ---> job-cost.sh 15:49:11 lf-activate-venv: SKIPPING 15:49:11 INFO: No Stack... 15:49:11 INFO: Retrieving Pricing Info for: v3-standard-4 15:49:12 INFO: Archiving Costs [Pipeline] sh 15:49:12 + cut -d, -f6 15:49:12 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 15:49:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] 15:49:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] did not exist. Created. 15:49:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:49:13 /w/workspace/device-virtual-go/1@tmp/durable-8bb82071/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:49:13 + echo total: 0.10999999940395355 [Pipeline] stash 15:49:13 Warning: overwriting stash ‘stack-cost’ 15:49:13 Stashed 1 file(s) [Pipeline] } 15:49:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:49:13 $ docker stop --time=1 088091c27f18e8b44ace3aa4374da9437cdfcac11abee0b118f5b19a188b1378 15:49:15 $ docker rm -f --volumes 088091c27f18e8b44ace3aa4374da9437cdfcac11abee0b118f5b19a188b1378 [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 15:49:16 provisioning config files... 15:49:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-448@tmp/config5061441175006412744tmp [Pipeline] { [Pipeline] sh 15:49:16 + set +x 15:49:16 + curl -s https://codecov.io/bash 15:49:16 + bash -s -- 15:49:16 15:49:16 _____ _ 15:49:16 / ____| | | 15:49:16 | | ___ __| | ___ ___ _____ __ 15:49:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:49:16 | |___| (_) | (_| | __/ (_| (_) \ V / 15:49:16 \_____\___/ \__,_|\___|\___\___/ \_/ 15:49:16 Bash-1.0.6 15:49:16 15:49:16 15:49:16 ==> git version 2.25.1 found 15:49:16 ==> 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 15:49:16 Release-Date: 2020-01-08 15:49:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:49:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:49:16 ==> Jenkins CI detected. 15:49:16 current dir:  /w/workspace/foundry_device-virtual-go_PR-448 15:49:16 project root: . 15:49:16 --> token set from env 15:49:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:49:16 ==> Running gcov in . (disable via -X gcov) 15:49:16 ==> Python coveragepy not found 15:49:16 ==> Searching for coverage reports in: 15:49:16 + . 15:49:16 -> Found 1 reports 15:49:16 ==> Detecting git/mercurial file structure 15:49:16 ==> Reading reports 15:49:16 + ./coverage.out bytes=43063 15:49:16 ==> Appending adjustments 15:49:16 https://docs.codecov.io/docs/fixing-reports 15:49:16 + Found adjustments 15:49:16 ==> Gzipping contents 15:49:16 8.0K /tmp/codecov.Q82Cxd.gz 15:49:16 ==> Uploading reports 15:49:16 url: https://codecov.io 15:49:16 query: branch=PR-448&commit=bcc5bf13c25d62ac0477704fc00e8193e07e672c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=448&job=&cmd_args= 15:49:16 -> Pinging Codecov 15:49:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-448&commit=bcc5bf13c25d62ac0477704fc00e8193e07e672c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=448&job=&cmd_args= 15:49:17 -> Uploading to 15:49:17 https://storage.googleapis.com/codecov/v4/raw/2023-11-07/5E52B4B073DB2E39498172D8E973AA87/bcc5bf13c25d62ac0477704fc00e8193e07e672c/0666d87a-909e-4bf1-a27f-c2b8b25aa44a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T154916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1cae6e294c851baafe01cfaecd0e7cda6fc3dd4cc97251e9e2655d6c7eaa079e 15:49:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:49:17 Dload Upload Total Spent Left Speed 15:49:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 17850 --:--:-- --:--:-- --:--:-- 17850 15:49:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/bcc5bf13c25d62ac0477704fc00e8193e07e672c [Pipeline] } 15:49:17 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 15:49:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-448/archives ] 15:49:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-448/archives 15:49:19 total 16 15:49:19 drwxr-xr-x 3 root root 4096 Nov 7 15:40 . 15:49:19 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 15:40 .. 15:49:19 drwxr-xr-x 2 root root 4096 Nov 7 15:40 cost 15:49:19 -rw-r--r-- 1 root root 89 Nov 7 15:40 cost.csv 15:49:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-448/archives 15:49:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-448/archives 15:49:19 total 16 15:49:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:40 . 15:49:19 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 15:40 .. 15:49:19 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 15:40 cost 15:49:19 -rw-r--r-- 1 jenkins jenkins 89 Nov 7 15:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:49:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:49:20 ---> package-listing.sh 15:49:20 ++ facter osfamily 15:49:20 ++ tr '[:upper:]' '[:lower:]' 15:49:20 + OS_FAMILY=debian 15:49:20 + workspace=/w/workspace/foundry_device-virtual-go_PR-448 15:49:20 + START_PACKAGES=/tmp/packages_start.txt 15:49:20 + END_PACKAGES=/tmp/packages_end.txt 15:49:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:49:20 + PACKAGES=/tmp/packages_start.txt 15:49:20 + '[' /w/workspace/foundry_device-virtual-go_PR-448 ']' 15:49:20 + PACKAGES=/tmp/packages_end.txt 15:49:20 + case "${OS_FAMILY}" in 15:49:20 + dpkg -l 15:49:20 + grep '^ii' 15:49:20 + '[' -f /tmp/packages_start.txt ']' 15:49:20 + '[' -f /tmp/packages_end.txt ']' 15:49:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:49:20 + '[' /w/workspace/foundry_device-virtual-go_PR-448 ']' 15:49:20 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-448/archives/ 15:49:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-448/archives/ [Pipeline] echo 15:49:20 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-448/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:49:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:21 prd-ubuntu20.04-docker-8c-8g-16865 does not seem to be running inside a container 15:49:22 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-448/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-448 -v /w/workspace/foundry_device-virtual-go_PR-448:/w/workspace/foundry_device-virtual-go_PR-448:rw,z -v /w/workspace/foundry_device-virtual-go_PR-448@tmp:/w/workspace/foundry_device-virtual-go_PR-448@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:49:22 $ docker top a66b11efdaf3c0e77b3563a6e7dd7f647deb5decbb3882a68ad8836cc5645a0a -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:22 + touch /tmp/pre-build-complete [Pipeline] sh 15:49:22 + mkdir -p /var/log/sysstat [Pipeline] sh 15:49:23 + ls /var/log/sa-host 15:49:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:23 provisioning config files... 15:49:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-448@tmp/config2370601859576841257tmp [Pipeline] { [Pipeline] echo 15:49:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:49:23 ---> create-netrc.sh [Pipeline] } 15:49:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:49:24 ---> python-tools-install.sh [Pipeline] echo 15:49:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:49:24 ---> sudo-logs.sh 15:49:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:49:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:49:24 ---> job-cost.sh 15:49:24 lf-activate-venv: SKIPPING 15:49:24 DEBUG: total: 0.2199999988079071 15:49:24 INFO: Retrieving Stack Cost... 15:49:25 INFO: Retrieving Pricing Info for: v3-standard-8 15:49:25 INFO: Archiving Costs [Pipeline] echo 15:49:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:49:26 ---> logs-deploy.sh 15:49:26 lf-activate-venv: SKIPPING 15:49:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-448/1 15:49:26 INFO: archiving workspace using pattern(s): 15:49:27 Archives upload complete. 15:49:27 INFO: archiving logs to Nexus