Pull request #449 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09fb23708fd09fb90f5bc6f05c12fd7b7192adce+80fcd9e8c673b029d068a87f517db227d44531cc (ff8f500f1b48c2de256ed6dad1eae0e9ea7e189e) 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-ssh15982074584516922205.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-ssh5733832443684382560.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-449/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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7644863019127135024.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-449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1594906691126151241.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-ssh11930212299856702515.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-449/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-449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3499317994943711820.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16939 in /w/workspace/foundry_device-virtual-go_PR-449 [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-449 # 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/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 80fcd9e8c673b029d068a87f517db227d44531cc into PR head commit 09fb23708fd09fb90f5bc6f05c12fd7b7192adce Merge succeeded, producing 09fb23708fd09fb90f5bc6f05c12fd7b7192adce Checking out Revision 09fb23708fd09fb90f5bc6f05c12fd7b7192adce (PR-449) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 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 00:46:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 09fb23708fd09fb90f5bc6f05c12fd7b7192adce # 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 80fcd9e8c673b029d068a87f517db227d44531cc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09fb23708fd09fb90f5bc6f05c12fd7b7192adce # timeout=10 [Pipeline] withCredentials 00:46:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:46:51 ========================================================= 00:46:51 EdgeX Global Pipelines Version Info 00:46:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:46:52 ------------------- 00:46:52 stable info: 00:46:52 ------------------- 00:46:52 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 00:46:52 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:46:52 Message: update stable to v1.0.257 00:46:52 ------------------- 00:46:52 experimental info: 00:46:52 ------------------- 00:46:52 Commited By: **** collab-it+edgex@linuxfoundation.org 00:46:52 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:46:52 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:46:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:46:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-449 [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-449 [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-449 [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09fb23708fd09fb90f5bc6f05c12fd7b7192adce [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09fb237 [Pipeline] echo 00:46:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:54 provisioning config files... 00:46:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-449@tmp/config383671411805760251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:54 ---> docker-login.sh 00:46:54 nexus3.edgexfoundry.org:10001 00:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:56 Configure a credential helper to remove this warning. See 00:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:56 00:46:56 Login Succeeded 00:46:56 nexus3.edgexfoundry.org:10002 00:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:56 Configure a credential helper to remove this warning. See 00:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:56 00:46:56 Login Succeeded 00:46:56 nexus3.edgexfoundry.org:10003 00:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:56 Configure a credential helper to remove this warning. See 00:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:56 00:46:56 Login Succeeded 00:46:56 nexus3.edgexfoundry.org:10004 00:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:56 Configure a credential helper to remove this warning. See 00:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:56 00:46:56 Login Succeeded 00:46:56 docker.io 00:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:56 Configure a credential helper to remove this warning. See 00:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:56 00:46:56 Login Succeeded 00:46:56 ---> docker-login.sh ends [Pipeline] } 00:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:46:57 + git rev-list -1 --merges 09fb23708fd09fb90f5bc6f05c12fd7b7192adce~1..09fb23708fd09fb90f5bc6f05c12fd7b7192adce [Pipeline] echo 00:46:57 -----------> git rev-list -1 --merges 09fb23708fd09fb90f5bc6f05c12fd7b7192adce~1..09fb23708fd09fb90f5bc6f05c12fd7b7192adce 09fb23708fd09fb90f5bc6f05c12fd7b7192adce [false] [Pipeline] sh 00:46:57 + git log --format=format:%s -1 09fb23708fd09fb90f5bc6f05c12fd7b7192adce [Pipeline] echo 00:46:57 ========================================================= 00:46:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:46:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:46:58 + git log --format=format:%s -1 09fb23708fd09fb90f5bc6f05c12fd7b7192adce [Pipeline] echo 00:46:58 [semverPrep] GIT_COMMIT: 09fb23708fd09fb90f5bc6f05c12fd7b7192adce, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 00:46:58 [semverPrep] This is not a build commit. [Pipeline] sh 00:46:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:46:58 + grep -v github /etc/ssh/ssh_known_hosts 00:46:58 + [ -e /tmp/ssh_known_hosts ] 00:46:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:46:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:46:58 + sudo tee -a /etc/ssh/ssh_known_hosts 00:46:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:59 00:46:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:46:59 0.1.4: Pulling from edgex-devops/py-git-semver 00:46:59 b85a868b505f: Pulling fs layer 00:46:59 e2be974225ed: Pulling fs layer 00:46:59 339a4e72a1f5: Pulling fs layer 00:46:59 988bab9f4d93: Pulling fs layer 00:46:59 1469e6f7b9e6: Pulling fs layer 00:46:59 eaf3925da568: Pulling fs layer 00:46:59 bab4dde63d76: Pulling fs layer 00:46:59 bde34c3a00c8: Pulling fs layer 00:46:59 b352a97aabf1: Pulling fs layer 00:46:59 4872d77fe225: Pulling fs layer 00:46:59 5851b861e8e6: Pulling fs layer 00:46:59 bab4dde63d76: Waiting 00:46:59 bde34c3a00c8: Waiting 00:46:59 b352a97aabf1: Waiting 00:46:59 4872d77fe225: Waiting 00:46:59 988bab9f4d93: Waiting 00:46:59 eaf3925da568: Waiting 00:46:59 1469e6f7b9e6: Waiting 00:46:59 e2be974225ed: Download complete 00:46:59 988bab9f4d93: Verifying Checksum 00:46:59 988bab9f4d93: Download complete 00:46:59 339a4e72a1f5: Verifying Checksum 00:46:59 339a4e72a1f5: Download complete 00:46:59 1469e6f7b9e6: Verifying Checksum 00:46:59 1469e6f7b9e6: Download complete 00:46:59 eaf3925da568: Verifying Checksum 00:46:59 eaf3925da568: Download complete 00:46:59 bde34c3a00c8: Verifying Checksum 00:46:59 bde34c3a00c8: Download complete 00:46:59 b352a97aabf1: Verifying Checksum 00:46:59 b352a97aabf1: Download complete 00:46:59 4872d77fe225: Verifying Checksum 00:46:59 4872d77fe225: Download complete 00:46:59 5851b861e8e6: Verifying Checksum 00:46:59 5851b861e8e6: Download complete 00:46:59 b85a868b505f: Verifying Checksum 00:46:59 b85a868b505f: Download complete 00:46:59 bab4dde63d76: Verifying Checksum 00:46:59 bab4dde63d76: Download complete 00:47:00 b85a868b505f: Pull complete 00:47:01 e2be974225ed: Pull complete 00:47:01 339a4e72a1f5: Pull complete 00:47:01 988bab9f4d93: Pull complete 00:47:01 1469e6f7b9e6: Pull complete 00:47:02 eaf3925da568: Pull complete 00:47:04 bab4dde63d76: Pull complete 00:47:04 bde34c3a00c8: Pull complete 00:47:04 b352a97aabf1: Pull complete 00:47:04 4872d77fe225: Pull complete 00:47:04 5851b861e8e6: Pull complete 00:47:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:47:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:47:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:04 prd-ubuntu20.04-docker-8c-8g-16939 does not seem to be running inside a container 00:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-449 -v /w/workspace/foundry_device-virtual-go_PR-449:/w/workspace/foundry_device-virtual-go_PR-449:rw,z -v /w/workspace/foundry_device-virtual-go_PR-449@tmp:/w/workspace/foundry_device-virtual-go_PR-449@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:47:07 $ docker top 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c -eo pid,comm 00:47:07 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). 00:47:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:47:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:08 [ssh-agent] Looking for ssh-agent implementation... 00:47:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:08 $ docker exec 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c ssh-agent 00:47:08 SSH_AUTH_SOCK=/tmp/ssh-XnuA8P2GTmML/agent.33 00:47:08 SSH_AGENT_PID=39 00:47:08 Running ssh-add (command line suppressed) 00:47:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-449@tmp/private_key_1401151591868483691.key (/w/workspace/foundry_device-virtual-go_PR-449@tmp/private_key_1401151591868483691.key) 00:47:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:08 + git tag --points-at HEAD [Pipeline] } 00:47:08 $ docker exec --env ******** --env ******** 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c ssh-agent -k 00:47:08 unset SSH_AUTH_SOCK; 00:47:08 unset SSH_AGENT_PID; 00:47:08 echo Agent pid 39 killed; 00:47:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:47:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:47:09 [ssh-agent] Looking for ssh-agent implementation... 00:47:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:47:09 $ docker exec 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c ssh-agent 00:47:09 SSH_AUTH_SOCK=/tmp/ssh-byw9XouDPTYW/agent.71 00:47:09 SSH_AGENT_PID=77 00:47:09 Running ssh-add (command line suppressed) 00:47:09 Identity added: /w/workspace/foundry_device-virtual-go_PR-449@tmp/private_key_11460043663294698542.key (/w/workspace/foundry_device-virtual-go_PR-449@tmp/private_key_11460043663294698542.key) 00:47:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:47:09 + git semver init 00:47:09 2023-11-08 00:47:09,924 [run_init] DEBUG init version:0.0.0 force:False 00:47:09 2023-11-08 00:47:09,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-449/.semver 00:47:09 2023-11-08 00:47:09,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-449/.semver 00:47:09 2023-11-08 00:47:09,925 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-449/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-449, universal_newlines=False, shell=None, istream=None) 00:47:11 2023-11-08 00:47:11,134 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-449/.git/info/exclude 00:47:11 2023-11-08 00:47:11,135 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-449/.semver/PR-449 with force:False 00:47:11 2023-11-08 00:47:11,135 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-449/.semver/PR-449 00:47:11 2023-11-08 00:47:11,139 [execute] INFO git cat-file --batch-check 00:47:11 2023-11-08 00:47:11,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-449/.semver, universal_newlines=False, shell=None, istream=) 00:47:11 2023-11-08 00:47:11,146 [execute] INFO git cat-file --batch 00:47:11 2023-11-08 00:47:11,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-449/.semver, universal_newlines=False, shell=None, istream=) 00:47:11 2023-11-08 00:47:11,152 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-449/.semver/PR-449 00:47:11 0.0.0 [Pipeline] } 00:47:11 $ docker exec --env ******** --env ******** 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c ssh-agent -k 00:47:11 unset SSH_AUTH_SOCK; 00:47:11 unset SSH_AGENT_PID; 00:47:11 echo Agent pid 77 killed; 00:47:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:47:11 + git semver [Pipeline] } 00:47:12 $ docker stop --time=1 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c 00:47:13 $ docker rm -f --volumes 404e31e3f5179049bfa4bf95b8d8e11140d574f4d896d1583a0fb6beb8af087c [Pipeline] // withDockerContainer [Pipeline] sh 00:47:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:47:14 Stashed 1 file(s) [Pipeline] echo 00:47:14 [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 00:47:14 provisioning config files... 00:47:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-449@tmp/config18311333194781709547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:47:15 ---> docker-login.sh 00:47:15 nexus3.edgexfoundry.org:10001 00:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:15 Configure a credential helper to remove this warning. See 00:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:15 00:47:15 Login Succeeded 00:47:15 nexus3.edgexfoundry.org:10002 00:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:15 Configure a credential helper to remove this warning. See 00:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:15 00:47:15 Login Succeeded 00:47:15 nexus3.edgexfoundry.org:10003 00:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:15 Configure a credential helper to remove this warning. See 00:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:15 00:47:15 Login Succeeded 00:47:15 nexus3.edgexfoundry.org:10004 00:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:15 Configure a credential helper to remove this warning. See 00:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:15 00:47:15 Login Succeeded 00:47:15 docker.io 00:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:47:16 Configure a credential helper to remove this warning. See 00:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:47:16 00:47:16 Login Succeeded 00:47:16 ---> docker-login.sh ends [Pipeline] } 00:47:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:47:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:47:16 ========================================================= 00:47:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 00:47:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:17 + 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 . 00:47:17 Sending build context to Docker daemon 23.71MB 00:47:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:47:17 Step 2/12 : FROM ${BASE} AS builder 00:47:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 00:47:17 7264a8db6415: Pulling fs layer 00:47:17 c4d48a809fc2: Pulling fs layer 00:47:17 4f1c88b9dad5: Pulling fs layer 00:47:17 ad3a456e5733: Pulling fs layer 00:47:17 33e27b845d1e: Pulling fs layer 00:47:17 c68163c4e522: Pulling fs layer 00:47:17 50da416c3ac9: Pulling fs layer 00:47:17 23d2d4c4bb30: Pulling fs layer 00:47:17 ad3a456e5733: Waiting 00:47:17 33e27b845d1e: Waiting 00:47:17 c68163c4e522: Waiting 00:47:17 50da416c3ac9: Waiting 00:47:17 23d2d4c4bb30: Waiting 00:47:17 c4d48a809fc2: Download complete 00:47:17 ad3a456e5733: Verifying Checksum 00:47:17 ad3a456e5733: Download complete 00:47:17 33e27b845d1e: Download complete 00:47:17 7264a8db6415: Verifying Checksum 00:47:17 7264a8db6415: Download complete 00:47:17 c68163c4e522: Verifying Checksum 00:47:17 c68163c4e522: Download complete 00:47:17 7264a8db6415: Pull complete 00:47:17 23d2d4c4bb30: Verifying Checksum 00:47:17 23d2d4c4bb30: Download complete 00:47:17 c4d48a809fc2: Pull complete 00:47:17 4f1c88b9dad5: Verifying Checksum 00:47:17 4f1c88b9dad5: Download complete 00:47:18 50da416c3ac9: Verifying Checksum 00:47:18 50da416c3ac9: Download complete 00:47:20 4f1c88b9dad5: Pull complete 00:47:20 ad3a456e5733: Pull complete 00:47:20 33e27b845d1e: Pull complete 00:47:20 c68163c4e522: Pull complete 00:47:23 50da416c3ac9: Pull complete 00:47:23 23d2d4c4bb30: Pull complete 00:47:23 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 00:47:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 00:47:23 ---> 0786185ac409 00:47:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:47:27 ---> Running in 8a415503f055 00:47:27 Removing intermediate container 8a415503f055 00:47:27 ---> f19193aabffc 00:47:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:47:27 ---> Running in 8ba3f9f4803f 00:47:27 Removing intermediate container 8ba3f9f4803f 00:47:27 ---> 8c1bbd064504 00:47:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:47:28 ---> Running in 935e65ae34ef 00:47:28 Removing intermediate container 935e65ae34ef 00:47:28 ---> b5361b187aca 00:47:28 Step 6/12 : WORKDIR /device-virtual-go 00:47:28 ---> Running in ef52a1cf0369 00:47:28 Removing intermediate container ef52a1cf0369 00:47:28 ---> 93e574a9594d 00:47:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:47:28 ---> Running in 31075333f05f 00:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:47:28 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:47:28 (2/4) Installing libedit (20221030.3.1-r1) 00:47:28 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:47:28 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:47:28 Executing busybox-1.36.1-r2.trigger 00:47:28 OK: 268 MiB in 56 packages 00:47:29 Removing intermediate container 31075333f05f 00:47:29 ---> db5097d50677 00:47:29 Step 8/12 : COPY go.mod vendor* ./ 00:47:29 ---> 0dc94ed66b8c 00:47:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:47:29 ---> Running in 338acd9f4ddc 00:47:29 Still waiting to schedule task 00:47:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:48:01 Removing intermediate container 338acd9f4ddc 00:48:01 ---> cc4f64ccac8d 00:48:01 Step 10/12 : COPY . . 00:48:02 ---> a0d1c1bbb40f 00:48:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:02 ---> Running in 8a38c9593274 00:48:03 Removing intermediate container 8a38c9593274 00:48:03 ---> ada9f7b58ae8 00:48:03 Step 12/12 : RUN $MAKE 00:48:03 ---> Running in d1824be25b66 00:48:03 noop 00:48:03 Removing intermediate container d1824be25b66 00:48:03 ---> bd8e21ac4a3d 00:48:03 Successfully built bd8e21ac4a3d 00:48:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:03 + docker inspect -f . ci-base-image-x86_64 00:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:04 prd-ubuntu20.04-docker-8c-8g-16939 does not seem to be running inside a container 00:48:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-449 -v /w/workspace/foundry_device-virtual-go_PR-449:/w/workspace/foundry_device-virtual-go_PR-449:rw,z -v /w/workspace/foundry_device-virtual-go_PR-449@tmp:/w/workspace/foundry_device-virtual-go_PR-449@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 ******** ci-base-image-x86_64 cat 00:48:04 $ docker top 23e76e8d96d75de4a15c4ce6dc202cb8b8cfd75295a1d51fa732227116fb0433 -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:04 + go version 00:48:04 go version go1.21.0 linux/amd64 [Pipeline] } 00:48:04 $ docker stop --time=1 23e76e8d96d75de4a15c4ce6dc202cb8b8cfd75295a1d51fa732227116fb0433 00:48:06 $ docker rm -f --volumes 23e76e8d96d75de4a15c4ce6dc202cb8b8cfd75295a1d51fa732227116fb0433 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:06 + docker inspect -f . ci-base-image-x86_64 00:48:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:48:07 prd-ubuntu20.04-docker-8c-8g-16939 does not seem to be running inside a container 00:48:07 $ 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-449 -v /w/workspace/foundry_device-virtual-go_PR-449:/w/workspace/foundry_device-virtual-go_PR-449:rw,z -v /w/workspace/foundry_device-virtual-go_PR-449@tmp:/w/workspace/foundry_device-virtual-go_PR-449@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 ******** ci-base-image-x86_64 cat 00:48:07 $ docker top b0d470e45bb42b6a87f65c85e714c288c9e81b5f6ed1d96b9cdcc7235fe4f78b -eo pid,comm [Pipeline] { [Pipeline] sh 00:48:07 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-449 [Pipeline] fileExists [Pipeline] sh 00:48:08 + make test 00:48:08 go test ./... -coverprofile=coverage.out 00:48:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:48:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:48:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.023s coverage: 58.6% of statements 00:48:27 go vet ./... 00:48:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:48:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:48:30 ./bin/test-attribution-txt.sh [Pipeline] echo 00:48:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:48:30 $ docker stop --time=1 b0d470e45bb42b6a87f65c85e714c288c9e81b5f6ed1d96b9cdcc7235fe4f78b 00:48:33 $ docker rm -f --volumes b0d470e45bb42b6a87f65c85e714c288c9e81b5f6ed1d96b9cdcc7235fe4f78b [Pipeline] // withDockerContainer [Pipeline] sh 00:48:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:48:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:48:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:48:34 + ls -al . 00:48:34 total 200 00:48:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:48 . 00:48:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:46 .. 00:48:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:48 .git 00:48:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 .github 00:48:34 -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 00:46 .gitignore 00:48:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:46 .golangci.yml 00:48:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:47 .semver 00:48:34 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 00:46 Attribution.txt 00:48:34 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 00:46 CHANGELOG.md 00:48:34 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 00:46 Dockerfile 00:48:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:46 GOVERNANCE.md 00:48:34 -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 00:46 Jenkinsfile 00:48:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 00:46 LICENSE 00:48:34 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 00:46 Makefile 00:48:34 -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 00:46 OWNERS.md 00:48:34 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 00:46 README.md 00:48:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:47 VERSION 00:48:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:46 bin 00:48:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 cmd 00:48:34 -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 00:48 coverage.out 00:48:34 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 8 00:46 go.mod 00:48:34 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 8 00:46 go.sum 00:48:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:46 internal 00:48:34 -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:35 + 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=09fb23708fd09fb90f5bc6f05c12fd7b7192adce --label arch=amd64 --label version=0.0.0 . 00:48:35 Sending build context to Docker daemon 23.75MB 00:48:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:48:35 Step 2/25 : FROM ${BASE} AS builder 00:48:35 ---> bd8e21ac4a3d 00:48:35 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:48:35 ---> Running in 869f01ff9c12 00:48:35 Removing intermediate container 869f01ff9c12 00:48:35 ---> cf75cee631e7 00:48:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:48:35 ---> Running in 24bb1fa87346 00:48:35 Removing intermediate container 24bb1fa87346 00:48:35 ---> d1734108f486 00:48:35 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:48:35 ---> Running in 21ba6972c089 00:48:35 Removing intermediate container 21ba6972c089 00:48:35 ---> f341d52c6e69 00:48:35 Step 6/25 : WORKDIR /device-virtual-go 00:48:35 ---> Running in a65596baaa9b 00:48:35 Removing intermediate container a65596baaa9b 00:48:35 ---> c4d4be843343 00:48:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:36 ---> Running in f237fa0e948a 00:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:48:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:48:36 OK: 268 MiB in 56 packages 00:48:36 Removing intermediate container f237fa0e948a 00:48:36 ---> 2306b03488b3 00:48:36 Step 8/25 : COPY go.mod vendor* ./ 00:48:37 ---> 8608fe36e82c 00:48:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:37 ---> Running in f8982c55d6f6 00:48:38 Removing intermediate container f8982c55d6f6 00:48:38 ---> 67b4a8a8ce9d 00:48:38 Step 10/25 : COPY . . 00:48:38 ---> 0ac74967dcee 00:48:38 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:48:38 ---> Running in f3d4706e8bf4 00:48:38 Removing intermediate container f3d4706e8bf4 00:48:38 ---> cc20f55643ad 00:48:38 Step 12/25 : RUN $MAKE 00:48:38 ---> Running in ee52dfa1d864 00:48:39 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" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:49:01 Removing intermediate container ee52dfa1d864 00:49:01 ---> c8184f4097fc 00:49:01 Step 13/25 : FROM alpine:3.18 00:49:01 3.18: Pulling from library/alpine 00:49:01 96526aa774ef: Pulling fs layer 00:49:01 96526aa774ef: Verifying Checksum 00:49:01 96526aa774ef: Download complete 00:49:01 96526aa774ef: Pull complete 00:49:01 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:49:01 Status: Downloaded newer image for alpine:3.18 00:49:01 ---> 8ca4688f4f35 00:49:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:49:01 ---> Running in 41a509797399 00:49:01 Removing intermediate container 41a509797399 00:49:01 ---> 71d077a9816f 00:49:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:49:01 ---> Running in 2a639968f177 00:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 00:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 00:49:01 (1/1) Installing dumb-init (1.2.5-r2) 00:49:01 Executing busybox-1.36.1-r2.trigger 00:49:01 OK: 7 MiB in 16 packages 00:49:01 Removing intermediate container 2a639968f177 00:49:01 ---> 1cffb6a76706 00:49:01 Step 16/25 : WORKDIR / 00:49:01 ---> Running in c7d36c4e8f87 00:49:01 Removing intermediate container c7d36c4e8f87 00:49:01 ---> cf9d8defd3d3 00:49:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:49:02 ---> 0cec12589eb5 00:49:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:49:02 ---> e29c39d0039d 00:49:02 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:49:03 ---> 5ee41e00268d 00:49:03 Step 20/25 : EXPOSE 59900 00:49:03 ---> Running in 4f71985edbee 00:49:03 Removing intermediate container 4f71985edbee 00:49:03 ---> 751450ebb436 00:49:03 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:49:03 ---> Running in adbf282cce63 00:49:03 Removing intermediate container adbf282cce63 00:49:03 ---> 84a196905f54 00:49:03 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:49:03 ---> Running in 126bc107d2cb 00:49:03 Removing intermediate container 126bc107d2cb 00:49:03 ---> b5ab6b3bc2e6 00:49:03 Step 23/25 : LABEL arch=amd64 00:49:03 ---> Running in e26b17e3cb28 00:49:03 Removing intermediate container e26b17e3cb28 00:49:03 ---> 3ecd1b9824dc 00:49:03 Step 24/25 : LABEL git_sha=09fb23708fd09fb90f5bc6f05c12fd7b7192adce 00:49:03 ---> Running in a7782efb62b4 00:49:03 Removing intermediate container a7782efb62b4 00:49:03 ---> 99ea0fcb473e 00:49:03 Step 25/25 : LABEL version=0.0.0 00:49:03 ---> Running in ebf6b121af1e 00:49:03 Removing intermediate container ebf6b121af1e 00:49:03 ---> 496702d0a30c 00:49:03 [Warning] One or more build-args [ARCH] were not consumed 00:49:03 Successfully built 496702d0a30c 00:49:03 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 00:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:04 00:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:05 latest: Pulling from edgex-lftools-log-publisher 00:49:05 5eb5b503b376: Pulling fs layer 00:49:05 5c69ac0246d0: Pulling fs layer 00:49:05 ec43610c2a17: Pulling fs layer 00:49:05 3a2ae6a8a46f: Pulling fs layer 00:49:05 33b1e0a273af: Pulling fs layer 00:49:05 5d3b04190fa2: Pulling fs layer 00:49:05 33b1e0a273af: Waiting 00:49:05 3a2ae6a8a46f: Waiting 00:49:05 2f39f015ded8: Pulling fs layer 00:49:05 2f39f015ded8: Waiting 00:49:05 5d3b04190fa2: Waiting 00:49:05 5c69ac0246d0: Verifying Checksum 00:49:05 5c69ac0246d0: Download complete 00:49:05 3a2ae6a8a46f: Verifying Checksum 00:49:05 3a2ae6a8a46f: Download complete 00:49:05 33b1e0a273af: Verifying Checksum 00:49:05 33b1e0a273af: Download complete 00:49:05 ec43610c2a17: Verifying Checksum 00:49:05 ec43610c2a17: Download complete 00:49:05 5d3b04190fa2: Verifying Checksum 00:49:05 5d3b04190fa2: Download complete 00:49:05 5eb5b503b376: Verifying Checksum 00:49:05 5eb5b503b376: Download complete 00:49:06 2f39f015ded8: Download complete 00:49:06 5eb5b503b376: Pull complete 00:49:06 5c69ac0246d0: Pull complete 00:49:07 ec43610c2a17: Pull complete 00:49:07 3a2ae6a8a46f: Pull complete 00:49:07 33b1e0a273af: Pull complete 00:49:07 5d3b04190fa2: Pull complete 00:49:13 2f39f015ded8: Pull complete 00:49:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:49:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:49:13 prd-ubuntu20.04-docker-8c-8g-16939 does not seem to be running inside a container 00:49:13 $ 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-449 -v /w/workspace/foundry_device-virtual-go_PR-449:/w/workspace/foundry_device-virtual-go_PR-449:rw,z -v /w/workspace/foundry_device-virtual-go_PR-449@tmp:/w/workspace/foundry_device-virtual-go_PR-449@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:49:18 $ docker top 2c7c021c343579d9dec3a145523b18e39c68bbaa9623e92b7e2e1f8990fa67db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:18 ---> job-cost.sh 00:49:18 lf-activate-venv: SKIPPING 00:49:18 INFO: No Stack... 00:49:18 INFO: Retrieving Pricing Info for: v3-standard-8 00:49:19 INFO: Archiving Costs [Pipeline] sh 00:49:19 + cat /w/workspace/foundry_device-virtual-go_PR-449/archives/cost.csv 00:49:19 + cut -d, -f6 [Pipeline] lock 00:49:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] 00:49:19 Resource [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] did not exist. Created. 00:49:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:49:20 + echo total: 0.2199999988079071 [Pipeline] stash 00:49:20 Stashed 1 file(s) [Pipeline] } 00:49:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:49:20 $ docker stop --time=1 2c7c021c343579d9dec3a145523b18e39c68bbaa9623e92b7e2e1f8990fa67db 00:49:22 $ docker rm -f --volumes 2c7c021c343579d9dec3a145523b18e39c68bbaa9623e92b7e2e1f8990fa67db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:51:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16942 in /w/workspace/foundry_device-virtual-go_PR-449 [Pipeline] { [Pipeline] ws 00:51:20 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 00:51:20 The recommended git tool is: git 00:51:27 using credential edgex-jenkins-ssh 00:51:27 Cloning the remote Git repository 00:51:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:51:27 > git init /w/workspace/device-virtual-go/1 # timeout=10 00:51:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:51:27 > git --version # timeout=10 00:51:27 > git --version # 'git version 2.25.1' 00:51:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:51:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:30 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:51:30 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:51:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/449/head:refs/remotes/origin/PR-449 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:51:31 Merging remotes/origin/main commit 80fcd9e8c673b029d068a87f517db227d44531cc into PR head commit 09fb23708fd09fb90f5bc6f05c12fd7b7192adce 00:51:31 Merge succeeded, producing 09fb23708fd09fb90f5bc6f05c12fd7b7192adce 00:51:31 Checking out Revision 09fb23708fd09fb90f5bc6f05c12fd7b7192adce (PR-449) 00:51:32 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 00:51:32 > git --version # timeout=10 00:51:32 > git --version # 'git version 2.25.1' 00:51:32 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 00:51:31 > git config core.sparsecheckout # timeout=10 00:51:31 > git checkout -f 09fb23708fd09fb90f5bc6f05c12fd7b7192adce # timeout=10 00:51:31 > git remote # timeout=10 00:51:31 > git config --get remote.origin.url # timeout=10 00:51:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:31 > git merge 80fcd9e8c673b029d068a87f517db227d44531cc # timeout=10 00:51:31 > git rev-parse HEAD^{commit} # timeout=10 00:51:31 > git config core.sparsecheckout # timeout=10 00:51:31 > git checkout -f 09fb23708fd09fb90f5bc6f05c12fd7b7192adce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:51:33 % Total % Received % Xferd Average Speed Time Time Time Current 00:51:33 Dload Upload Total Spent Left Speed 00:51:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 00:51:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:51:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:51:34 + sudo tee /etc/docker/daemon.new 00:51:34 { 00:51:34 "registry-mirrors": [ 00:51:34 "https://nexus3.edgexfoundry.org:10001" 00:51:34 ], 00:51:34 "bip": "10.250.0.254/24", 00:51:34 "hosts": [ 00:51:34 "tcp://0.0.0.0:5555", 00:51:34 "unix:///var/run/docker.sock" 00:51:34 ], 00:51:34 "mtu": 1458, 00:51:34 "selinux-enabled": true, 00:51:34 "seccomp-profile": "/etc/docker/seccomp.json" 00:51:34 } [Pipeline] sh 00:51:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:51:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:53 provisioning config files... 00:51:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config125928101026430962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:51:54 ---> docker-login.sh 00:51:54 nexus3.edgexfoundry.org:10001 00:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:54 Configure a credential helper to remove this warning. See 00:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:54 00:51:54 Login Succeeded 00:51:54 nexus3.edgexfoundry.org:10002 00:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:55 Configure a credential helper to remove this warning. See 00:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:55 00:51:55 Login Succeeded 00:51:55 nexus3.edgexfoundry.org:10003 00:51:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:55 Configure a credential helper to remove this warning. See 00:51:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:55 00:51:55 Login Succeeded 00:51:55 nexus3.edgexfoundry.org:10004 00:51:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:56 Configure a credential helper to remove this warning. See 00:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:56 00:51:56 Login Succeeded 00:51:56 docker.io 00:51:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:51:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:51:56 Configure a credential helper to remove this warning. See 00:51:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:51:56 00:51:56 Login Succeeded 00:51:56 ---> docker-login.sh ends [Pipeline] } 00:51:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:51:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:51:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 00:51:57 ========================================================= 00:51:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 00:51:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:57 + 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 . 00:51:58 Sending build context to Docker daemon 11.99MB 00:51:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 00:51:58 Step 2/12 : FROM ${BASE} AS builder 00:51:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:51:58 9fda8d8052c6: Pulling fs layer 00:51:58 5d54e960e981: Pulling fs layer 00:51:58 c4a7e357bf2a: Pulling fs layer 00:51:58 f0e02332f6b5: Pulling fs layer 00:51:58 cefa15bbcfad: Pulling fs layer 00:51:58 17808c966233: Pulling fs layer 00:51:58 f4c1fc716caa: Pulling fs layer 00:51:58 f0e02332f6b5: Waiting 00:51:58 cefa15bbcfad: Waiting 00:51:58 17808c966233: Waiting 00:51:58 f4c1fc716caa: Waiting 00:51:58 5d54e960e981: Verifying Checksum 00:51:58 5d54e960e981: Download complete 00:51:58 f0e02332f6b5: Verifying Checksum 00:51:58 f0e02332f6b5: Download complete 00:51:58 cefa15bbcfad: Download complete 00:51:58 9fda8d8052c6: Download complete 00:51:59 f4c1fc716caa: Verifying Checksum 00:51:59 f4c1fc716caa: Download complete 00:51:59 9fda8d8052c6: Pull complete 00:52:00 5d54e960e981: Pull complete 00:52:00 c4a7e357bf2a: Verifying Checksum 00:52:00 c4a7e357bf2a: Download complete 00:52:01 17808c966233: Verifying Checksum 00:52:01 17808c966233: Download complete 00:52:14 c4a7e357bf2a: Pull complete 00:52:14 f0e02332f6b5: Pull complete 00:52:14 cefa15bbcfad: Pull complete 00:52:24 17808c966233: Pull complete 00:52:25 f4c1fc716caa: Pull complete 00:52:25 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 00:52:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 00:52:25 ---> ea914061e18c 00:52:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:52:27 ---> Running in 743112f76dd8 00:52:27 Removing intermediate container 743112f76dd8 00:52:27 ---> 1c1c3bc8ad92 00:52:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:52:27 ---> Running in ce59194aa40b 00:52:27 Removing intermediate container ce59194aa40b 00:52:27 ---> f2f32d591714 00:52:27 Step 5/12 : ARG ADD_BUILD_TAGS="" 00:52:27 ---> Running in e053a86db1e1 00:52:28 Removing intermediate container e053a86db1e1 00:52:28 ---> 3fefd16afd49 00:52:28 Step 6/12 : WORKDIR /device-virtual-go 00:52:28 ---> Running in 32e8e730a8a0 00:52:28 Removing intermediate container 32e8e730a8a0 00:52:28 ---> cb534c4a7b4c 00:52:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:52:29 ---> Running in 0a6cb9b6b4b9 00:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:52:32 (1/4) Installing openssh-keygen (9.3_p2-r0) 00:52:32 (2/4) Installing libedit (20221030.3.1-r1) 00:52:32 (3/4) Installing openssh-client-common (9.3_p2-r0) 00:52:32 (4/4) Installing openssh-client-default (9.3_p2-r0) 00:52:32 Executing busybox-1.36.1-r2.trigger 00:52:32 OK: 270 MiB in 56 packages 00:52:33 Removing intermediate container 0a6cb9b6b4b9 00:52:33 ---> cf62227d714e 00:52:33 Step 8/12 : COPY go.mod vendor* ./ 00:52:34 ---> dd5460e34b87 00:52:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:52:34 ---> Running in 7f255774fb66 00:53:57 Removing intermediate container 7f255774fb66 00:53:57 ---> 126e7fcaf7c7 00:53:57 Step 10/12 : COPY . . 00:53:57 ---> 7adab4e1dca1 00:53:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:53:57 ---> Running in 1b8d99e7a195 00:53:57 Removing intermediate container 1b8d99e7a195 00:53:57 ---> 997bbafa6357 00:53:57 Step 12/12 : RUN $MAKE 00:53:57 ---> Running in 1687f91f131a 00:53:57 noop 00:53:57 Removing intermediate container 1687f91f131a 00:53:57 ---> 8a4a0a56097a 00:53:57 Successfully built 8a4a0a56097a 00:53:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:02 + docker inspect -f . ci-base-image-arm64 00:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:02 prd-ubuntu20.04-docker-arm64-4c-16g-16942 does not seem to be running inside a container 00:54:02 $ 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 ******** ci-base-image-arm64 cat 00:54:06 $ docker top ef564a817c5398ac6ec176c323961f2810fc9ac8c44cab417ce71d94e31eefbb -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:07 + go version 00:54:07 go version go1.21.0 linux/arm64 [Pipeline] } 00:54:07 $ docker stop --time=1 ef564a817c5398ac6ec176c323961f2810fc9ac8c44cab417ce71d94e31eefbb 00:54:09 $ docker rm -f --volumes ef564a817c5398ac6ec176c323961f2810fc9ac8c44cab417ce71d94e31eefbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:10 + docker inspect -f . ci-base-image-arm64 00:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-16942 does not seem to be running inside a container 00:54:10 $ 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 ******** ci-base-image-arm64 cat 00:54:12 $ docker top bf6c6ca49c35279ce7586a38c0d205eba68f840cc56403e82a1ec4b1e53b9183 -eo pid,comm [Pipeline] { [Pipeline] sh 00:54:13 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 00:54:13 + make test 00:54:13 go test ./... -coverprofile=coverage.out 00:54:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:56:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:56:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.100s coverage: 58.4% of statements 00:56:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:56:40 go vet ./... 00:56:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:59 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 00:56:59 $ docker stop --time=1 bf6c6ca49c35279ce7586a38c0d205eba68f840cc56403e82a1ec4b1e53b9183 00:57:01 $ docker rm -f --volumes bf6c6ca49c35279ce7586a38c0d205eba68f840cc56403e82a1ec4b1e53b9183 [Pipeline] // withDockerContainer [Pipeline] sh 00:57:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:57:02 Warning: overwriting stash ‘coverage-report’ 00:57:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:57:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:57:04 + ls -al . 00:57:04 total 196 00:57:04 drwxrwxr-x 7 jenkins jenkins 4096 Nov 8 00:54 . 00:57:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:51 .. 00:57:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:51 .git 00:57:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:51 .github 00:57:04 -rw-rw-r-- 1 jenkins jenkins 272 Nov 8 00:51 .gitignore 00:57:04 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 00:51 .golangci.yml 00:57:04 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 8 00:51 Attribution.txt 00:57:04 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 8 00:51 CHANGELOG.md 00:57:04 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 8 00:51 Dockerfile 00:57:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:51 GOVERNANCE.md 00:57:04 -rw-rw-r-- 1 jenkins jenkins 660 Nov 8 00:51 Jenkinsfile 00:57:04 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 00:51 LICENSE 00:57:04 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 8 00:51 Makefile 00:57:04 -rw-rw-r-- 1 jenkins jenkins 623 Nov 8 00:51 OWNERS.md 00:57:04 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 8 00:51 README.md 00:57:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:47 VERSION 00:57:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:51 bin 00:57:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:51 cmd 00:57:04 -rw-r--r-- 1 jenkins jenkins 43063 Nov 8 00:56 coverage.out 00:57:04 -rw-rw-r-- 1 jenkins jenkins 3591 Nov 8 00:51 go.mod 00:57:04 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 8 00:51 go.sum 00:57:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:51 internal 00:57:04 -rw-rw-r-- 1 jenkins jenkins 235 Nov 8 00:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:04 + 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=09fb23708fd09fb90f5bc6f05c12fd7b7192adce --label arch=arm64 --label version=0.0.0 . 00:57:05 Sending build context to Docker daemon 12.04MB 00:57:05 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 00:57:05 Step 2/25 : FROM ${BASE} AS builder 00:57:05 ---> 8a4a0a56097a 00:57:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:57:05 ---> Running in d8263ae27c2a 00:57:05 Removing intermediate container d8263ae27c2a 00:57:05 ---> 0eca15298031 00:57:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:57:05 ---> Running in b1d11338e8a1 00:57:06 Removing intermediate container b1d11338e8a1 00:57:06 ---> 12f147af3644 00:57:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 00:57:06 ---> Running in b2f6fbd84c77 00:57:06 Removing intermediate container b2f6fbd84c77 00:57:06 ---> f70a5b98a2f0 00:57:06 Step 6/25 : WORKDIR /device-virtual-go 00:57:06 ---> Running in 339299059bcb 00:57:07 Removing intermediate container 339299059bcb 00:57:07 ---> 8368510d1dba 00:57:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:57:07 ---> Running in 60218c4689a4 00:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:57:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:57:10 OK: 270 MiB in 56 packages 00:57:10 Removing intermediate container 60218c4689a4 00:57:10 ---> 3b56d721e20d 00:57:10 Step 8/25 : COPY go.mod vendor* ./ 00:57:11 ---> f01d6a115257 00:57:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:57:11 ---> Running in 44b8eebf090a 00:57:14 Removing intermediate container 44b8eebf090a 00:57:14 ---> 9fc48b440d8d 00:57:14 Step 10/25 : COPY . . 00:57:15 ---> 8fd24e6b27d8 00:57:15 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:57:15 ---> Running in 924092d27796 00:57:15 Removing intermediate container 924092d27796 00:57:15 ---> fbad5a264a13 00:57:15 Step 12/25 : RUN $MAKE 00:57:15 ---> Running in b890ff6e3048 00:57:16 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" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 00:59:39 Removing intermediate container b890ff6e3048 00:59:39 ---> 674a3d36e242 00:59:39 Step 13/25 : FROM alpine:3.18 00:59:39 3.18: Pulling from library/alpine 00:59:39 579b34f0a95b: Pulling fs layer 00:59:39 579b34f0a95b: Verifying Checksum 00:59:39 579b34f0a95b: Download complete 00:59:39 579b34f0a95b: Pull complete 00:59:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 00:59:39 Status: Downloaded newer image for alpine:3.18 00:59:39 ---> 3cc203321400 00:59:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:59:39 ---> Running in 0b9b6a575e01 00:59:39 Removing intermediate container 0b9b6a575e01 00:59:39 ---> 3c1313d2c328 00:59:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 00:59:39 ---> Running in ae0ecebcf947 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 00:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 00:59:39 (1/1) Installing dumb-init (1.2.5-r2) 00:59:39 Executing busybox-1.36.1-r2.trigger 00:59:39 OK: 8 MiB in 16 packages 00:59:39 Removing intermediate container ae0ecebcf947 00:59:39 ---> dfc0d59dac96 00:59:39 Step 16/25 : WORKDIR / 00:59:39 ---> Running in 000539e55acb 00:59:39 Removing intermediate container 000539e55acb 00:59:39 ---> 2e065a92f8d5 00:59:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:59:39 ---> b4be176c670c 00:59:39 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:59:39 ---> cecee3f5bbff 00:59:39 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:59:39 ---> 930ffa94e6b1 00:59:39 Step 20/25 : EXPOSE 59900 00:59:39 ---> Running in a6412810bebc 00:59:39 Removing intermediate container a6412810bebc 00:59:39 ---> 944a3b090399 00:59:39 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:59:39 ---> Running in 13ce7de38436 00:59:39 Removing intermediate container 13ce7de38436 00:59:39 ---> e77eaa5944f0 00:59:39 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 00:59:39 ---> Running in 3a962e045535 00:59:39 Removing intermediate container 3a962e045535 00:59:39 ---> f07eeadb6e44 00:59:39 Step 23/25 : LABEL arch=arm64 00:59:39 ---> Running in e0c39dd10ba8 00:59:39 Removing intermediate container e0c39dd10ba8 00:59:39 ---> 069aaf21e544 00:59:39 Step 24/25 : LABEL git_sha=09fb23708fd09fb90f5bc6f05c12fd7b7192adce 00:59:39 ---> Running in 31c4c3a3a180 00:59:39 Removing intermediate container 31c4c3a3a180 00:59:39 ---> 26291d0bf9e3 00:59:39 Step 25/25 : LABEL version=0.0.0 00:59:39 ---> Running in d99fc6336158 00:59:39 Removing intermediate container d99fc6336158 00:59:39 ---> 5648b36d65af 00:59:39 [Warning] One or more build-args [ARCH] were not consumed 00:59:39 Successfully built 5648b36d65af 00:59: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 00:59:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:40 00:59:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:59:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:59:40 arm64: Pulling from edgex-lftools-log-publisher 00:59:40 8998bd30e6a1: Pulling fs layer 00:59:40 04944245beec: Pulling fs layer 00:59:40 699f458cf7ca: Pulling fs layer 00:59:40 765212b225bb: Pulling fs layer 00:59:40 f23df028b6ca: Pulling fs layer 00:59:40 d65c8cfc05b1: Pulling fs layer 00:59:40 2437ff75d9bd: Pulling fs layer 00:59:40 f23df028b6ca: Waiting 00:59:40 d65c8cfc05b1: Waiting 00:59:40 2437ff75d9bd: Waiting 00:59:40 765212b225bb: Waiting 00:59:40 04944245beec: Verifying Checksum 00:59:40 04944245beec: Download complete 00:59:40 765212b225bb: Verifying Checksum 00:59:40 765212b225bb: Download complete 00:59:40 f23df028b6ca: Verifying Checksum 00:59:40 f23df028b6ca: Download complete 00:59:40 d65c8cfc05b1: Download complete 00:59:41 699f458cf7ca: Download complete 00:59:41 8998bd30e6a1: Verifying Checksum 00:59:41 8998bd30e6a1: Download complete 00:59:44 2437ff75d9bd: Verifying Checksum 00:59:44 2437ff75d9bd: Download complete 00:59:46 8998bd30e6a1: Pull complete 00:59:47 04944245beec: Pull complete 00:59:48 699f458cf7ca: Pull complete 00:59:48 765212b225bb: Pull complete 00:59:49 f23df028b6ca: Pull complete 00:59:50 d65c8cfc05b1: Pull complete 01:00:08 2437ff75d9bd: Pull complete 01:00:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:00:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:00:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:08 prd-ubuntu20.04-docker-arm64-4c-16g-16942 does not seem to be running inside a container 01:00:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:00:11 $ docker top db8ea2ebef95719d5b4c7ed87c1f8f3e56cdebe09aa081db36e92614e4ebe28d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:12 ---> job-cost.sh 01:00:12 lf-activate-venv: SKIPPING 01:00:12 INFO: No Stack... 01:00:12 INFO: Retrieving Pricing Info for: v3-standard-4 01:00:13 INFO: Archiving Costs [Pipeline] sh 01:00:14 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 01:00:14 + cut -d, -f6 [Pipeline] lock 01:00:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] 01:00:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] did not exist. Created. 01:00:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:15 /w/workspace/device-virtual-go/1@tmp/durable-6074a110/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:00:15 + echo total: 0.10999999940395355 [Pipeline] stash 01:00:16 Warning: overwriting stash ‘stack-cost’ 01:00:16 Stashed 1 file(s) [Pipeline] } 01:00:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-449-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:16 $ docker stop --time=1 db8ea2ebef95719d5b4c7ed87c1f8f3e56cdebe09aa081db36e92614e4ebe28d 01:00:17 $ docker rm -f --volumes db8ea2ebef95719d5b4c7ed87c1f8f3e56cdebe09aa081db36e92614e4ebe28d [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 01:00:18 provisioning config files... 01:00:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-449@tmp/config12143931873239204523tmp [Pipeline] { [Pipeline] sh 01:00:18 + set +x 01:00:18 + bash -s -- 01:00:18 + curl -s https://codecov.io/bash 01:00:18 01:00:18 _____ _ 01:00:18 / ____| | | 01:00:18 | | ___ __| | ___ ___ _____ __ 01:00:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:00:18 | |___| (_) | (_| | __/ (_| (_) \ V / 01:00:18 \_____\___/ \__,_|\___|\___\___/ \_/ 01:00:18 Bash-1.0.6 01:00:18 01:00:18 01:00:18 ==> git version 2.25.1 found 01:00:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:00:18 Release-Date: 2020-01-08 01:00:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:00:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:00:18 ==> Jenkins CI detected. 01:00:18 current dir:  /w/workspace/foundry_device-virtual-go_PR-449 01:00:18 project root: . 01:00:18 --> token set from env 01:00:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:00:18 ==> Running gcov in . (disable via -X gcov) 01:00:18 ==> Python coveragepy not found 01:00:18 ==> Searching for coverage reports in: 01:00:18 + . 01:00:18 -> Found 1 reports 01:00:18 ==> Detecting git/mercurial file structure 01:00:18 ==> Reading reports 01:00:19 + ./coverage.out bytes=43063 01:00:19 ==> Appending adjustments 01:00:19 https://docs.codecov.io/docs/fixing-reports 01:00:19 + Found adjustments 01:00:19 ==> Gzipping contents 01:00:19 8.0K /tmp/codecov.U4Aosc.gz 01:00:19 ==> Uploading reports 01:00:19 url: https://codecov.io 01:00:19 query: branch=PR-449&commit=09fb23708fd09fb90f5bc6f05c12fd7b7192adce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=449&job=&cmd_args= 01:00:19 -> Pinging Codecov 01:00:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-449&commit=09fb23708fd09fb90f5bc6f05c12fd7b7192adce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=449&job=&cmd_args= 01:00:19 -> Uploading to 01:00:19 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/5E52B4B073DB2E39498172D8E973AA87/09fb23708fd09fb90f5bc6f05c12fd7b7192adce/354aee63-9a94-4e61-b850-944e897a785e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T010019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cd7c7f70441f839fbe91888be7b8da878b631e161ba68cfc1f13e91407359ab5 01:00:19 % Total % Received % Xferd Average Speed Time Time Time Current 01:00:19 Dload Upload Total Spent Left Speed 01:00:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22017 --:--:-- --:--:-- --:--:-- 22017 01:00:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/09fb23708fd09fb90f5bc6f05c12fd7b7192adce [Pipeline] } 01:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:00:21 + [ -d /w/workspace/foundry_device-virtual-go_PR-449/archives ] 01:00:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-449/archives 01:00:21 total 16 01:00:21 drwxr-xr-x 3 root root 4096 Nov 8 00:49 . 01:00:21 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 00:49 .. 01:00:21 drwxr-xr-x 2 root root 4096 Nov 8 00:49 cost 01:00:21 -rw-r--r-- 1 root root 89 Nov 8 00:49 cost.csv 01:00:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-449/archives 01:00:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-449/archives 01:00:21 total 16 01:00:21 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:49 . 01:00:21 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 00:49 .. 01:00:21 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 00:49 cost 01:00:21 -rw-r--r-- 1 jenkins jenkins 89 Nov 8 00:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:00:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:00:22 ---> package-listing.sh 01:00:22 ++ facter osfamily 01:00:22 ++ tr '[:upper:]' '[:lower:]' 01:00:22 + OS_FAMILY=debian 01:00:22 + workspace=/w/workspace/foundry_device-virtual-go_PR-449 01:00:22 + START_PACKAGES=/tmp/packages_start.txt 01:00:22 + END_PACKAGES=/tmp/packages_end.txt 01:00:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:00:22 + PACKAGES=/tmp/packages_start.txt 01:00:22 + '[' /w/workspace/foundry_device-virtual-go_PR-449 ']' 01:00:22 + PACKAGES=/tmp/packages_end.txt 01:00:22 + case "${OS_FAMILY}" in 01:00:22 + dpkg -l 01:00:22 + grep '^ii' 01:00:22 + '[' -f /tmp/packages_start.txt ']' 01:00:22 + '[' -f /tmp/packages_end.txt ']' 01:00:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:00:22 + '[' /w/workspace/foundry_device-virtual-go_PR-449 ']' 01:00:22 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-449/archives/ 01:00:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-449/archives/ [Pipeline] echo 01:00:22 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-449/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:00:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:00:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:00:23 prd-ubuntu20.04-docker-8c-8g-16939 does not seem to be running inside a container 01:00:23 $ 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-449/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-449 -v /w/workspace/foundry_device-virtual-go_PR-449:/w/workspace/foundry_device-virtual-go_PR-449:rw,z -v /w/workspace/foundry_device-virtual-go_PR-449@tmp:/w/workspace/foundry_device-virtual-go_PR-449@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-lftools-log-publisher:latest cat 01:00:24 $ docker top 1003f75db831bd40ae31e16adc70e21d089c94ca8423ad670233d80c10ba3336 -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:24 + touch /tmp/pre-build-complete [Pipeline] sh 01:00:24 + mkdir -p /var/log/sysstat [Pipeline] sh 01:00:25 + ls /var/log/sa-host 01:00:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:00:25 provisioning config files... 01:00:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-449@tmp/config18409720465518747930tmp [Pipeline] { [Pipeline] echo 01:00:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:00:25 ---> create-netrc.sh [Pipeline] } 01:00:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:00:26 ---> python-tools-install.sh [Pipeline] echo 01:00:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:00:26 ---> sudo-logs.sh 01:00:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:00:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:00:26 ---> job-cost.sh 01:00:26 lf-activate-venv: SKIPPING 01:00:26 DEBUG: total: 0.2199999988079071 01:00:26 INFO: Retrieving Stack Cost... 01:00:27 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:27 INFO: Archiving Costs [Pipeline] echo 01:00:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:00:28 ---> logs-deploy.sh 01:00:28 lf-activate-venv: SKIPPING 01:00:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-449/1 01:00:28 INFO: archiving workspace using pattern(s): 01:00:28 Archives upload complete. 01:00:28 INFO: archiving logs to Nexus