Pull request #446 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c14f2b1a7bd697deba5b874f4e72d33f217cad5a+a4fb408bd6b294fc41552c8711cc9fe432fefed6 (12546fe3f06ddc6befc27a1f7daca1c2c1a7d7f1) 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-ssh9358010474920166538.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh17685834315377263763.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-446/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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4986263238532987110.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-446/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12219490280860429094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh5944123691408086442.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-446/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-446/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12518604816190258542.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16378 in /w/workspace/foundry_device-virtual-go_PR-446 [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-446 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit c14f2b1a7bd697deba5b874f4e72d33f217cad5a Merge succeeded, producing c14f2b1a7bd697deba5b874f4e72d33f217cad5a Checking out Revision c14f2b1a7bd697deba5b874f4e72d33f217cad5a (PR-446) 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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 > 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/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c14f2b1a7bd697deba5b874f4e72d33f217cad5a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c14f2b1a7bd697deba5b874f4e72d33f217cad5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:40:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:40:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:40:52 ========================================================= 11:40:52 EdgeX Global Pipelines Version Info 11:40:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:40:53 ------------------- 11:40:53 stable info: 11:40:53 ------------------- 11:40:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:40:53 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 11:40:53 Message: update stable to v1.0.255 11:40:54 ------------------- 11:40:54 experimental info: 11:40:54 ------------------- 11:40:54 Commited By: **** collab-it+edgex@linuxfoundation.org 11:40:54 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 11:40:54 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:40:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-446 [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-446 [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-446 [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c14f2b1a7bd697deba5b874f4e72d33f217cad5a [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c14f2b1 [Pipeline] echo 11:40:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:55 provisioning config files... 11:40:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-446@tmp/config13588920156166545729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:56 ---> docker-login.sh 11:40:56 nexus3.edgexfoundry.org:10001 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10002 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10003 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 nexus3.edgexfoundry.org:10004 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:58 Configure a credential helper to remove this warning. See 11:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:58 11:40:58 Login Succeeded 11:40:58 docker.io 11:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:40:59 Configure a credential helper to remove this warning. See 11:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:40:59 11:40:59 Login Succeeded 11:40:59 ---> docker-login.sh ends [Pipeline] } 11:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:40:59 + git rev-list -1 --merges c14f2b1a7bd697deba5b874f4e72d33f217cad5a~1..c14f2b1a7bd697deba5b874f4e72d33f217cad5a [Pipeline] echo 11:40:59 -----------> git rev-list -1 --merges c14f2b1a7bd697deba5b874f4e72d33f217cad5a~1..c14f2b1a7bd697deba5b874f4e72d33f217cad5a c14f2b1a7bd697deba5b874f4e72d33f217cad5a [false] [Pipeline] sh 11:41:00 + git log --format=format:%s -1 c14f2b1a7bd697deba5b874f4e72d33f217cad5a [Pipeline] echo 11:41:00 ========================================================= 11:41:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:41:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:00 + git log --format=format:%s -1 c14f2b1a7bd697deba5b874f4e72d33f217cad5a [Pipeline] echo 11:41:00 [semverPrep] GIT_COMMIT: c14f2b1a7bd697deba5b874f4e72d33f217cad5a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:41:00 [semverPrep] This is not a build commit. [Pipeline] sh 11:41:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:41:01 + grep -v github /etc/ssh/ssh_known_hosts 11:41:01 + [ -e /tmp/ssh_known_hosts ] 11:41:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:41:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:41:01 + sudo tee -a /etc/ssh/ssh_known_hosts 11:41:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:01 11:41:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:03 0.1.4: Pulling from edgex-devops/py-git-semver 11:41:03 b85a868b505f: Pulling fs layer 11:41:03 e2be974225ed: Pulling fs layer 11:41:03 339a4e72a1f5: Pulling fs layer 11:41:03 988bab9f4d93: Pulling fs layer 11:41:03 1469e6f7b9e6: Pulling fs layer 11:41:03 eaf3925da568: Pulling fs layer 11:41:03 bab4dde63d76: Pulling fs layer 11:41:03 bde34c3a00c8: Pulling fs layer 11:41:03 b352a97aabf1: Pulling fs layer 11:41:03 4872d77fe225: Pulling fs layer 11:41:03 5851b861e8e6: Pulling fs layer 11:41:03 1469e6f7b9e6: Waiting 11:41:03 b352a97aabf1: Waiting 11:41:03 bde34c3a00c8: Waiting 11:41:03 eaf3925da568: Waiting 11:41:03 988bab9f4d93: Waiting 11:41:03 bab4dde63d76: Waiting 11:41:03 5851b861e8e6: Waiting 11:41:03 4872d77fe225: Waiting 11:41:03 e2be974225ed: Verifying Checksum 11:41:03 e2be974225ed: Download complete 11:41:03 988bab9f4d93: Verifying Checksum 11:41:03 988bab9f4d93: Download complete 11:41:03 1469e6f7b9e6: Verifying Checksum 11:41:03 1469e6f7b9e6: Download complete 11:41:03 eaf3925da568: Download complete 11:41:03 339a4e72a1f5: Verifying Checksum 11:41:03 339a4e72a1f5: Download complete 11:41:03 bde34c3a00c8: Verifying Checksum 11:41:03 bde34c3a00c8: Download complete 11:41:03 b352a97aabf1: Download complete 11:41:03 4872d77fe225: Verifying Checksum 11:41:03 4872d77fe225: Download complete 11:41:03 5851b861e8e6: Download complete 11:41:03 b85a868b505f: Download complete 11:41:03 bab4dde63d76: Verifying Checksum 11:41:03 bab4dde63d76: Download complete 11:41:05 b85a868b505f: Pull complete 11:41:05 e2be974225ed: Pull complete 11:41:06 339a4e72a1f5: Pull complete 11:41:06 988bab9f4d93: Pull complete 11:41:06 1469e6f7b9e6: Pull complete 11:41:06 eaf3925da568: Pull complete 11:41:10 bab4dde63d76: Pull complete 11:41:10 bde34c3a00c8: Pull complete 11:41:10 b352a97aabf1: Pull complete 11:41:10 4872d77fe225: Pull complete 11:41:10 5851b861e8e6: Pull complete 11:41:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:41:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:41:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:10 prd-ubuntu20.04-docker-8c-8g-16378 does not seem to be running inside a container 11:41:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-446 -v /w/workspace/foundry_device-virtual-go_PR-446:/w/workspace/foundry_device-virtual-go_PR-446:rw,z -v /w/workspace/foundry_device-virtual-go_PR-446@tmp:/w/workspace/foundry_device-virtual-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:41:16 $ docker top 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d -eo pid,comm 11:41:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:41:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:41:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:16 [ssh-agent] Looking for ssh-agent implementation... 11:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:17 $ docker exec 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d ssh-agent 11:41:17 SSH_AUTH_SOCK=/tmp/ssh-z2fngNbK3kXm/agent.33 11:41:17 SSH_AGENT_PID=39 11:41:17 Running ssh-add (command line suppressed) 11:41:17 Identity added: /w/workspace/foundry_device-virtual-go_PR-446@tmp/private_key_16053199338030549097.key (/w/workspace/foundry_device-virtual-go_PR-446@tmp/private_key_16053199338030549097.key) 11:41:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:17 + git tag --points-at HEAD [Pipeline] } 11:41:17 $ docker exec --env ******** --env ******** 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d ssh-agent -k 11:41:17 unset SSH_AUTH_SOCK; 11:41:17 unset SSH_AGENT_PID; 11:41:17 echo Agent pid 39 killed; 11:41:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:41:17 [ssh-agent] Looking for ssh-agent implementation... 11:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:41:18 $ docker exec 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d ssh-agent 11:41:18 SSH_AUTH_SOCK=/tmp/ssh-4Kc8kVXxyMvk/agent.71 11:41:18 SSH_AGENT_PID=77 11:41:18 Running ssh-add (command line suppressed) 11:41:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-446@tmp/private_key_3130515275072475393.key (/w/workspace/foundry_device-virtual-go_PR-446@tmp/private_key_3130515275072475393.key) 11:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:41:18 + git semver init 11:41:18 2023-11-02 11:41:18,785 [run_init] DEBUG init version:0.0.0 force:False 11:41:18 2023-11-02 11:41:18,787 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-446/.semver 11:41:18 2023-11-02 11:41:18,787 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-446/.semver 11:41:18 2023-11-02 11:41:18,788 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-446/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-446, universal_newlines=False, shell=None, istream=None) 11:41:20 2023-11-02 11:41:20,023 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-446/.git/info/exclude 11:41:20 2023-11-02 11:41:20,023 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-446/.semver/PR-446 with force:False 11:41:20 2023-11-02 11:41:20,023 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-446/.semver/PR-446 11:41:20 2023-11-02 11:41:20,027 [execute] INFO git cat-file --batch-check 11:41:20 2023-11-02 11:41:20,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 11:41:20 2023-11-02 11:41:20,034 [execute] INFO git cat-file --batch 11:41:20 2023-11-02 11:41:20,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-446/.semver, universal_newlines=False, shell=None, istream=) 11:41:20 2023-11-02 11:41:20,038 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-446/.semver/PR-446 11:41:20 0.0.0 [Pipeline] } 11:41:20 $ docker exec --env ******** --env ******** 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d ssh-agent -k 11:41:20 unset SSH_AUTH_SOCK; 11:41:20 unset SSH_AGENT_PID; 11:41:20 echo Agent pid 77 killed; 11:41:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:41:20 + git semver [Pipeline] } 11:41:21 $ docker stop --time=1 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d 11:41:22 $ docker rm -f --volumes 628b719a5d880f10b7b072347fecf9cd5d3fee58768ba56613d17e88e241859d [Pipeline] // withDockerContainer [Pipeline] sh 11:41:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:41:23 Stashed 1 file(s) [Pipeline] echo 11:41:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:23 provisioning config files... 11:41:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-446@tmp/config15344219060662511654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:24 ---> docker-login.sh 11:41:24 nexus3.edgexfoundry.org:10001 11:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:24 Configure a credential helper to remove this warning. See 11:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:24 11:41:24 Login Succeeded 11:41:24 nexus3.edgexfoundry.org:10002 11:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:24 Configure a credential helper to remove this warning. See 11:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:24 11:41:24 Login Succeeded 11:41:24 nexus3.edgexfoundry.org:10003 11:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:24 Configure a credential helper to remove this warning. See 11:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:24 11:41:24 Login Succeeded 11:41:24 nexus3.edgexfoundry.org:10004 11:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:24 Configure a credential helper to remove this warning. See 11:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:24 11:41:24 Login Succeeded 11:41:24 docker.io 11:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:41:25 Configure a credential helper to remove this warning. See 11:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:41:25 11:41:25 Login Succeeded 11:41:25 ---> docker-login.sh ends [Pipeline] } 11:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:41:25 ========================================================= 11:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:41:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:25 + 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 . 11:41:25 Sending build context to Docker daemon 23.7MB 11:41:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:41:25 Step 2/12 : FROM ${BASE} AS builder 11:41:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:41:26 7264a8db6415: Pulling fs layer 11:41:26 c4d48a809fc2: Pulling fs layer 11:41:26 4f1c88b9dad5: Pulling fs layer 11:41:26 ad3a456e5733: Pulling fs layer 11:41:26 33e27b845d1e: Pulling fs layer 11:41:26 c68163c4e522: Pulling fs layer 11:41:26 50da416c3ac9: Pulling fs layer 11:41:26 23d2d4c4bb30: Pulling fs layer 11:41:26 ad3a456e5733: Waiting 11:41:26 33e27b845d1e: Waiting 11:41:26 c68163c4e522: Waiting 11:41:26 50da416c3ac9: Waiting 11:41:26 23d2d4c4bb30: Waiting 11:41:26 c4d48a809fc2: Download complete 11:41:26 ad3a456e5733: Verifying Checksum 11:41:26 ad3a456e5733: Download complete 11:41:26 33e27b845d1e: Download complete 11:41:26 7264a8db6415: Verifying Checksum 11:41:26 7264a8db6415: Download complete 11:41:26 c68163c4e522: Verifying Checksum 11:41:26 c68163c4e522: Download complete 11:41:26 7264a8db6415: Pull complete 11:41:26 23d2d4c4bb30: Verifying Checksum 11:41:26 23d2d4c4bb30: Download complete 11:41:26 c4d48a809fc2: Pull complete 11:41:26 4f1c88b9dad5: Verifying Checksum 11:41:26 4f1c88b9dad5: Download complete 11:41:26 50da416c3ac9: Verifying Checksum 11:41:26 50da416c3ac9: Download complete 11:41:30 4f1c88b9dad5: Pull complete 11:41:30 ad3a456e5733: Pull complete 11:41:30 33e27b845d1e: Pull complete 11:41:30 c68163c4e522: Pull complete 11:41:32 50da416c3ac9: Pull complete 11:41:32 23d2d4c4bb30: Pull complete 11:41:32 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:41:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:41:32 ---> 0786185ac409 11:41:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:41:38 Still waiting to schedule task 11:41:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:41:39 ---> Running in d0a208035b15 11:41:39 Removing intermediate container d0a208035b15 11:41:39 ---> f5341a59f75c 11:41:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:41:39 ---> Running in f2c214a6139f 11:41:39 Removing intermediate container f2c214a6139f 11:41:39 ---> 6f0d726e7094 11:41:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:41:39 ---> Running in dfc91df6bcb5 11:41:39 Removing intermediate container dfc91df6bcb5 11:41:39 ---> 29f8bd7ec783 11:41:39 Step 6/12 : WORKDIR /device-virtual-go 11:41:39 ---> Running in 653213a15086 11:41:39 Removing intermediate container 653213a15086 11:41:39 ---> 4573391d25c2 11:41:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:39 ---> Running in 90457dd4e4c9 11:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:41:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:41:40 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:41:40 (2/4) Installing libedit (20221030.3.1-r1) 11:41:40 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:41:40 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:41:40 Executing busybox-1.36.1-r2.trigger 11:41:40 OK: 268 MiB in 56 packages 11:41:40 Removing intermediate container 90457dd4e4c9 11:41:40 ---> 705feeef5718 11:41:40 Step 8/12 : COPY go.mod vendor* ./ 11:41:40 ---> 19a955d8576b 11:41:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:40 ---> Running in 2383d33986fd 11:42:48 Removing intermediate container 2383d33986fd 11:42:48 ---> a763d7b9aaea 11:42:48 Step 10/12 : COPY . . 11:42:48 ---> f80d1b947fcb 11:42:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:42:48 ---> Running in 5502bb7f96ce 11:42:48 Removing intermediate container 5502bb7f96ce 11:42:48 ---> 2fdc0ebfa518 11:42:48 Step 12/12 : RUN $MAKE 11:42:48 ---> Running in f8fd79ea99c1 11:42:48 noop 11:42:48 Removing intermediate container f8fd79ea99c1 11:42:48 ---> 46e7f625b9b3 11:42:48 Successfully built 46e7f625b9b3 11:42:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:49 + docker inspect -f . ci-base-image-x86_64 11:42:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:49 prd-ubuntu20.04-docker-8c-8g-16378 does not seem to be running inside a container 11:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-446 -v /w/workspace/foundry_device-virtual-go_PR-446:/w/workspace/foundry_device-virtual-go_PR-446:rw,z -v /w/workspace/foundry_device-virtual-go_PR-446@tmp:/w/workspace/foundry_device-virtual-go_PR-446@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 ******** ci-base-image-x86_64 cat 11:42:49 $ docker top bb4af524dd3223ac480f4a74048b78f17c5bf64a8f4d459f2d6842a2637cf776 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:50 + go version 11:42:50 go version go1.21.0 linux/amd64 [Pipeline] } 11:42:50 $ docker stop --time=1 bb4af524dd3223ac480f4a74048b78f17c5bf64a8f4d459f2d6842a2637cf776 11:42:51 $ docker rm -f --volumes bb4af524dd3223ac480f4a74048b78f17c5bf64a8f4d459f2d6842a2637cf776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:52 + docker inspect -f . ci-base-image-x86_64 11:42:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:52 prd-ubuntu20.04-docker-8c-8g-16378 does not seem to be running inside a container 11:42:52 $ 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-446 -v /w/workspace/foundry_device-virtual-go_PR-446:/w/workspace/foundry_device-virtual-go_PR-446:rw,z -v /w/workspace/foundry_device-virtual-go_PR-446@tmp:/w/workspace/foundry_device-virtual-go_PR-446@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 ******** ci-base-image-x86_64 cat 11:42:52 $ docker top 19a3647658933a829bdc42c196a6b0c4965a217b5274809f0eb050f5d3e9e2bb -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-446 [Pipeline] fileExists [Pipeline] sh 11:42:53 + make test 11:42:53 go test ./... -coverprofile=coverage.out 11:42:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:43:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:43:05 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 11:43:10 go vet ./... 11:43:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:43:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:43:13 ./bin/test-attribution-txt.sh [Pipeline] echo 11:43:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:43:13 $ docker stop --time=1 19a3647658933a829bdc42c196a6b0c4965a217b5274809f0eb050f5d3e9e2bb 11:43:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16379 in /w/workspace/foundry_device-virtual-go_PR-446 11:43:19 $ docker rm -f --volumes 19a3647658933a829bdc42c196a6b0c4965a217b5274809f0eb050f5d3e9e2bb [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 11:43:19 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:43:19 The recommended git tool is: git 11:43:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:43:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:43:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:43:20 + ls -al . 11:43:20 total 200 11:43:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 11:42 . 11:43:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 11:40 .. 11:43:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 11:43 .git 11:43:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:40 .github 11:43:20 -rw-rw-r-- 1 jenkins jenkins 272 Nov 2 11:40 .gitignore 11:43:20 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 11:40 .golangci.yml 11:43:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 11:41 .semver 11:43:20 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 2 11:40 Attribution.txt 11:43:20 -rw-rw-r-- 1 jenkins jenkins 14372 Nov 2 11:40 CHANGELOG.md 11:43:20 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 2 11:40 Dockerfile 11:43:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 11:40 GOVERNANCE.md 11:43:20 -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 11:40 Jenkinsfile 11:43:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 11:40 LICENSE 11:43:20 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 2 11:40 Makefile 11:43:20 -rw-rw-r-- 1 jenkins jenkins 623 Nov 2 11:40 OWNERS.md 11:43:20 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 2 11:40 README.md 11:43:20 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 11:41 VERSION 11:43:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 11:40 bin 11:43:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:40 cmd 11:43:20 -rw-r--r-- 1 jenkins jenkins 43063 Nov 2 11:43 coverage.out 11:43:20 -rw-rw-r-- 1 jenkins jenkins 3638 Nov 2 11:40 go.mod 11:43:20 -rw-rw-r-- 1 jenkins jenkins 34490 Nov 2 11:40 go.sum 11:43:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:40 internal 11:43:20 -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:21 + 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=c14f2b1a7bd697deba5b874f4e72d33f217cad5a --label arch=amd64 --label version=0.0.0 . 11:43:21 Sending build context to Docker daemon 23.74MB 11:43:21 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:43:21 Step 2/25 : FROM ${BASE} AS builder 11:43:21 ---> 46e7f625b9b3 11:43:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:22 ---> Running in ea12e363cb12 11:43:22 Removing intermediate container ea12e363cb12 11:43:22 ---> 5ceb189fcdbd 11:43:22 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:43:22 ---> Running in 265fe4192e24 11:43:22 Removing intermediate container 265fe4192e24 11:43:22 ---> 03ed8f35df4b 11:43:22 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:43:22 ---> Running in 7584d058362f 11:43:22 Removing intermediate container 7584d058362f 11:43:22 ---> d36d09b7a454 11:43:22 Step 6/25 : WORKDIR /device-virtual-go 11:43:22 ---> Running in 4c922286b007 11:43:22 Removing intermediate container 4c922286b007 11:43:22 ---> 812e8eff20aa 11:43:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:22 ---> Running in bccb541a1157 11:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:23 OK: 268 MiB in 56 packages 11:43:23 Removing intermediate container bccb541a1157 11:43:23 ---> 12ab28c8d86f 11:43:23 Step 8/25 : COPY go.mod vendor* ./ 11:43:23 ---> 47bb37269c63 11:43:23 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:23 ---> Running in f6dbb7862d2b 11:43:24 Removing intermediate container f6dbb7862d2b 11:43:24 ---> 70ca6a4715fb 11:43:24 Step 10/25 : COPY . . 11:43:25 ---> 6b0db9600af2 11:43:25 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:43:25 ---> Running in c8806f47fffc 11:43:25 Removing intermediate container c8806f47fffc 11:43:25 ---> 96d4339936a4 11:43:25 Step 12/25 : RUN $MAKE 11:43:25 ---> Running in af91f484e24c 11:43:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:43:28 using credential edgex-jenkins-ssh 11:43:28 Cloning the remote Git repository 11:43:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:43:28 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:43:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:43:28 > git --version # timeout=10 11:43:28 > git --version # 'git version 2.25.1' 11:43:28 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:43:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:43:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:43:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:43:32 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/446/head:refs/remotes/origin/PR-446 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:43:33 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit c14f2b1a7bd697deba5b874f4e72d33f217cad5a 11:43:33 Merge succeeded, producing c14f2b1a7bd697deba5b874f4e72d33f217cad5a 11:43:33 Checking out Revision c14f2b1a7bd697deba5b874f4e72d33f217cad5a (PR-446) 11:43:34 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:43:34 > git --version # timeout=10 11:43:34 > git --version # 'git version 2.25.1' 11:43:34 fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 11:43:33 > git config core.sparsecheckout # timeout=10 11:43:33 > git checkout -f c14f2b1a7bd697deba5b874f4e72d33f217cad5a # timeout=10 11:43:33 > git remote # timeout=10 11:43:33 > git config --get remote.origin.url # timeout=10 11:43:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:43:33 > git merge a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 11:43:33 > git rev-parse HEAD^{commit} # timeout=10 11:43:33 > git config core.sparsecheckout # timeout=10 11:43:33 > git checkout -f c14f2b1a7bd697deba5b874f4e72d33f217cad5a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:43:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:43:35 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:35 Dload Upload Total Spent Left Speed 11:43:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 11:43:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:43:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:43:36 + sudo tee /etc/docker/daemon.new 11:43:36 { 11:43:36 "registry-mirrors": [ 11:43:36 "https://nexus3.edgexfoundry.org:10001" 11:43:36 ], 11:43:36 "bip": "10.250.0.254/24", 11:43:36 "hosts": [ 11:43:36 "tcp://0.0.0.0:5555", 11:43:36 "unix:///var/run/docker.sock" 11:43:36 ], 11:43:36 "mtu": 1458, 11:43:36 "selinux-enabled": true, 11:43:36 "seccomp-profile": "/etc/docker/seccomp.json" 11:43:36 } [Pipeline] sh 11:43:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:43:37 + sudo service docker restart 11:43:47 Removing intermediate container af91f484e24c 11:43:47 ---> 01199f9b3a82 11:43:47 Step 13/25 : FROM alpine:3.18 11:43:47 3.18: Pulling from library/alpine 11:43:47 96526aa774ef: Pulling fs layer 11:43:47 96526aa774ef: Download complete 11:43:47 96526aa774ef: Pull complete 11:43:47 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:43:47 Status: Downloaded newer image for alpine:3.18 11:43:47 ---> 8ca4688f4f35 11:43:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:43:47 ---> Running in 47a70d0697f7 11:43:47 Removing intermediate container 47a70d0697f7 11:43:47 ---> 08c63e574e4b 11:43:47 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:43:47 ---> Running in 926db072876d 11:43:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:47 (1/1) Installing dumb-init (1.2.5-r2) 11:43:47 Executing busybox-1.36.1-r2.trigger 11:43:47 OK: 7 MiB in 16 packages 11:43:47 Removing intermediate container 926db072876d 11:43:47 ---> b6556f71811d 11:43:47 Step 16/25 : WORKDIR / 11:43:47 ---> Running in f28e28ef3fc8 11:43:47 Removing intermediate container f28e28ef3fc8 11:43:47 ---> d36f37a8670a 11:43:47 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:43:47 ---> 9adb1b413f77 11:43:47 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:43:47 ---> dbbe3512755d 11:43:47 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:43:48 ---> 8c680dce36a0 11:43:48 Step 20/25 : EXPOSE 59900 11:43:48 ---> Running in 40b3354dbc59 11:43:48 Removing intermediate container 40b3354dbc59 11:43:48 ---> eea76aca4846 11:43:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:43:48 ---> Running in 35be5dd001a7 11:43:48 Removing intermediate container 35be5dd001a7 11:43:48 ---> 3828f1d80f3a 11:43:48 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:43:48 ---> Running in 84d4a1eba8a3 11:43:48 Removing intermediate container 84d4a1eba8a3 11:43:48 ---> 6dfb83ff1028 11:43:48 Step 23/25 : LABEL arch=amd64 11:43:48 ---> Running in b13d48bf979f 11:43:48 Removing intermediate container b13d48bf979f 11:43:48 ---> 61e95505c779 11:43:48 Step 24/25 : LABEL git_sha=c14f2b1a7bd697deba5b874f4e72d33f217cad5a 11:43:48 ---> Running in 71d419b6d26b 11:43:48 Removing intermediate container 71d419b6d26b 11:43:48 ---> da8313387add 11:43:48 Step 25/25 : LABEL version=0.0.0 11:43:48 ---> Running in bc3baab9006b 11:43:48 Removing intermediate container bc3baab9006b 11:43:48 ---> d2e706ea66e3 11:43:48 [Warning] One or more build-args [ARCH] were not consumed 11:43:48 Successfully built d2e706ea66e3 11:43:48 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:49 11:43:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:50 latest: Pulling from edgex-lftools-log-publisher 11:43:50 5eb5b503b376: Pulling fs layer 11:43:50 5c69ac0246d0: Pulling fs layer 11:43:50 ec43610c2a17: Pulling fs layer 11:43:50 3a2ae6a8a46f: Pulling fs layer 11:43:50 33b1e0a273af: Pulling fs layer 11:43:50 5d3b04190fa2: Pulling fs layer 11:43:50 2f39f015ded8: Pulling fs layer 11:43:50 33b1e0a273af: Waiting 11:43:50 5d3b04190fa2: Waiting 11:43:50 2f39f015ded8: Waiting 11:43:50 3a2ae6a8a46f: Waiting 11:43:50 5c69ac0246d0: Verifying Checksum 11:43:50 5c69ac0246d0: Download complete 11:43:50 3a2ae6a8a46f: Verifying Checksum 11:43:50 3a2ae6a8a46f: Download complete 11:43:50 33b1e0a273af: Verifying Checksum 11:43:50 33b1e0a273af: Download complete 11:43:50 ec43610c2a17: Verifying Checksum 11:43:50 ec43610c2a17: Download complete 11:43:50 5d3b04190fa2: Verifying Checksum 11:43:50 5eb5b503b376: Verifying Checksum 11:43:50 5eb5b503b376: Download complete 11:43:51 5eb5b503b376: Pull complete 11:43:51 5c69ac0246d0: Pull complete 11:43:52 ec43610c2a17: Pull complete 11:43:52 3a2ae6a8a46f: Pull complete 11:43:52 33b1e0a273af: Pull complete 11:43:52 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:55 provisioning config files... 11:43:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3685358098896632798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:56 ---> docker-login.sh 11:43:56 nexus3.edgexfoundry.org:10001 11:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:56 Configure a credential helper to remove this warning. See 11:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:56 11:43:56 Login Succeeded 11:43:56 nexus3.edgexfoundry.org:10002 11:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:57 2f39f015ded8: Pull complete 11:43:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:57 prd-ubuntu20.04-docker-8c-8g-16378 does not seem to be running inside a container 11:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:57 Configure a credential helper to remove this warning. See 11:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:57 11:43:57 Login Succeeded 11:43:57 nexus3.edgexfoundry.org:10003 11:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:57 $ 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-446 -v /w/workspace/foundry_device-virtual-go_PR-446:/w/workspace/foundry_device-virtual-go_PR-446:rw,z -v /w/workspace/foundry_device-virtual-go_PR-446@tmp:/w/workspace/foundry_device-virtual-go_PR-446@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 11:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:57 Configure a credential helper to remove this warning. See 11:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:57 11:43:57 Login Succeeded 11:43:57 nexus3.edgexfoundry.org:10004 11:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:57 Configure a credential helper to remove this warning. See 11:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:57 11:43:57 Login Succeeded 11:43:57 docker.io 11:43:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:43:58 Configure a credential helper to remove this warning. See 11:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:43:58 11:43:58 Login Succeeded 11:43:58 ---> docker-login.sh ends 11:44:04 $ docker top a6723fab1e404001dfa307016891abdf14859c114a81ec7572814c61bf450a14 -eo pid,comm [Pipeline] { [Pipeline] } 11:44:04 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 11:44:04 ---> job-cost.sh 11:44:04 lf-activate-venv: SKIPPING 11:44:04 INFO: No Stack... [Pipeline] echo 11:44:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:44:04 ========================================================= 11:44:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:44:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 11:44:04 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:05 + 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 . 11:44:05 INFO: Archiving Costs [Pipeline] sh 11:44:05 Sending build context to Docker daemon 11.98MB 11:44:05 + cat /w/workspace/foundry_device-virtual-go_PR-446/archives/cost.csv 11:44:05 + cut -d, -f6 [Pipeline] lock 11:44:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] 11:44:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] did not exist. Created. 11:44:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] [Pipeline] { 11:44:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:44:05 Step 2/12 : FROM ${BASE} AS builder 11:44:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:44:05 9fda8d8052c6: Pulling fs layer 11:44:05 5d54e960e981: Pulling fs layer 11:44:05 c4a7e357bf2a: Pulling fs layer 11:44:05 f0e02332f6b5: Pulling fs layer 11:44:05 cefa15bbcfad: Pulling fs layer 11:44:05 17808c966233: Pulling fs layer 11:44:05 f0e02332f6b5: Waiting 11:44:05 f4c1fc716caa: Pulling fs layer 11:44:05 cefa15bbcfad: Waiting 11:44:05 17808c966233: Waiting 11:44:05 f4c1fc716caa: Waiting 11:44:05 5d54e960e981: Download complete 11:44:05 f0e02332f6b5: Download complete [Pipeline] unstash [Pipeline] sh 11:44:06 cefa15bbcfad: Verifying Checksum 11:44:06 cefa15bbcfad: Download complete 11:44:06 9fda8d8052c6: Download complete 11:44:06 + echo total: 0.2199999988079071 [Pipeline] stash 11:44:06 Stashed 1 file(s) [Pipeline] } 11:44:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:44:06 f4c1fc716caa: Verifying Checksum 11:44:06 f4c1fc716caa: Download complete 11:44:06 $ docker stop --time=1 a6723fab1e404001dfa307016891abdf14859c114a81ec7572814c61bf450a14 11:44:07 9fda8d8052c6: Pull complete 11:44:07 $ docker rm -f --volumes a6723fab1e404001dfa307016891abdf14859c114a81ec7572814c61bf450a14 11:44:07 5d54e960e981: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 11:44:07 c4a7e357bf2a: Verifying Checksum 11:44:07 c4a7e357bf2a: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:44:08 17808c966233: Verifying Checksum 11:44:08 17808c966233: Download complete 11:44:21 c4a7e357bf2a: Pull complete 11:44:21 f0e02332f6b5: Pull complete 11:44:21 cefa15bbcfad: Pull complete 11:44:29 17808c966233: Pull complete 11:44:30 f4c1fc716caa: Pull complete 11:44:30 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:44:30 ---> ea914061e18c 11:44:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:44:32 ---> Running in f7abd5374e82 11:44:32 Removing intermediate container f7abd5374e82 11:44:32 ---> 1904d90dd940 11:44:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:44:32 ---> Running in d96ce58c06d6 11:44:33 Removing intermediate container d96ce58c06d6 11:44:33 ---> 252f0f0ca0fc 11:44:33 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:44:33 ---> Running in 59dea675361d 11:44:33 Removing intermediate container 59dea675361d 11:44:33 ---> 25d683caeb6c 11:44:33 Step 6/12 : WORKDIR /device-virtual-go 11:44:33 ---> Running in 35650a5b6344 11:44:33 Removing intermediate container 35650a5b6344 11:44:33 ---> dbc311bd596f 11:44:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:44:34 ---> Running in d01669351eba 11:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:44:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:44:36 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:44:36 (2/4) Installing libedit (20221030.3.1-r1) 11:44:36 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:44:36 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:44:36 Executing busybox-1.36.1-r2.trigger 11:44:36 OK: 270 MiB in 56 packages 11:44:37 Removing intermediate container d01669351eba 11:44:37 ---> a11ef7974592 11:44:37 Step 8/12 : COPY go.mod vendor* ./ 11:44:39 ---> d3c333840e61 11:44:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:44:39 ---> Running in 4ed6dcb33b65 11:46:01 Removing intermediate container 4ed6dcb33b65 11:46:01 ---> b5da0a447e5b 11:46:01 Step 10/12 : COPY . . 11:46:01 ---> 6f82f50916ee 11:46:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:46:01 ---> Running in bcca0d83f659 11:46:01 Removing intermediate container bcca0d83f659 11:46:01 ---> 0ea66ed833b1 11:46:01 Step 12/12 : RUN $MAKE 11:46:01 ---> Running in 27ea71bd7360 11:46:01 noop 11:46:01 Removing intermediate container 27ea71bd7360 11:46:01 ---> 4dfdfeb26f4f 11:46:01 Successfully built 4dfdfeb26f4f 11:46:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:02 + docker inspect -f . ci-base-image-arm64 11:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-16379 does not seem to be running inside a container 11:46: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 11:46:04 $ docker top b57410c9e51cfc8f8c322ef6f5d1a3405e2fbb5f2b6069e147245fae6f4fa5e9 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:05 + go version 11:46:05 go version go1.21.0 linux/arm64 [Pipeline] } 11:46:05 $ docker stop --time=1 b57410c9e51cfc8f8c322ef6f5d1a3405e2fbb5f2b6069e147245fae6f4fa5e9 11:46:07 $ docker rm -f --volumes b57410c9e51cfc8f8c322ef6f5d1a3405e2fbb5f2b6069e147245fae6f4fa5e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:46:07 + docker inspect -f . ci-base-image-arm64 11:46:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:46:08 prd-ubuntu20.04-docker-arm64-4c-16g-16379 does not seem to be running inside a container 11:46:08 $ 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 11:46:09 $ docker top e133b0ccaf15867afd66d70ed524008d4153bb0f420c9542b17e09040ae50d56 -eo pid,comm [Pipeline] { [Pipeline] sh 11:46:09 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:46:10 + make test 11:46:10 go test ./... -coverprofile=coverage.out 11:46:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:47:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:47:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.4% of statements 11:47:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:47:51 go vet ./... 11:47:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:47:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:47:59 ./bin/test-attribution-txt.sh [Pipeline] echo 11:47:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:47:59 $ docker stop --time=1 e133b0ccaf15867afd66d70ed524008d4153bb0f420c9542b17e09040ae50d56 11:48:01 $ docker rm -f --volumes e133b0ccaf15867afd66d70ed524008d4153bb0f420c9542b17e09040ae50d56 [Pipeline] // withDockerContainer [Pipeline] sh 11:48:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:48:02 Warning: overwriting stash ‘coverage-report’ 11:48:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:48:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:48:03 + ls -al . 11:48:03 total 196 11:48:03 drwxrwxr-x 7 jenkins jenkins 4096 Nov 2 11:46 . 11:48:03 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 11:43 .. 11:48:03 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 11:43 .git 11:48:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:43 .github 11:48:03 -rw-rw-r-- 1 jenkins jenkins 272 Nov 2 11:43 .gitignore 11:48:03 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 11:43 .golangci.yml 11:48:03 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 2 11:43 Attribution.txt 11:48:03 -rw-rw-r-- 1 jenkins jenkins 14372 Nov 2 11:43 CHANGELOG.md 11:48:03 -rw-rw-r-- 1 jenkins jenkins 1646 Nov 2 11:43 Dockerfile 11:48:03 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 11:43 GOVERNANCE.md 11:48:03 -rw-rw-r-- 1 jenkins jenkins 660 Nov 2 11:43 Jenkinsfile 11:48:03 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 11:43 LICENSE 11:48:03 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 2 11:43 Makefile 11:48:03 -rw-rw-r-- 1 jenkins jenkins 623 Nov 2 11:43 OWNERS.md 11:48:03 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 2 11:43 README.md 11:48:03 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 11:41 VERSION 11:48:03 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 11:43 bin 11:48:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:43 cmd 11:48:03 -rw-r--r-- 1 jenkins jenkins 43063 Nov 2 11:47 coverage.out 11:48:03 -rw-rw-r-- 1 jenkins jenkins 3638 Nov 2 11:43 go.mod 11:48:03 -rw-rw-r-- 1 jenkins jenkins 34490 Nov 2 11:43 go.sum 11:48:03 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 11:43 internal 11:48:03 -rw-rw-r-- 1 jenkins jenkins 235 Nov 2 11:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48: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=c14f2b1a7bd697deba5b874f4e72d33f217cad5a --label arch=arm64 --label version=0.0.0 . 11:48:04 Sending build context to Docker daemon 12.02MB 11:48:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:48:04 Step 2/25 : FROM ${BASE} AS builder 11:48:04 ---> 4dfdfeb26f4f 11:48:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:48:04 ---> Running in 741240ca1429 11:48:05 Removing intermediate container 741240ca1429 11:48:05 ---> 2e22f1aa4431 11:48:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:48:05 ---> Running in 153350bca165 11:48:05 Removing intermediate container 153350bca165 11:48:05 ---> 166a4af50a9b 11:48:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:48:05 ---> Running in daaa9164f176 11:48:06 Removing intermediate container daaa9164f176 11:48:06 ---> c16f8a0c8f88 11:48:06 Step 6/25 : WORKDIR /device-virtual-go 11:48:06 ---> Running in 75c23dfbdb8d 11:48:06 Removing intermediate container 75c23dfbdb8d 11:48:06 ---> ae17fb07c167 11:48:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:48:06 ---> Running in 063030d71b1e 11:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:48:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:48:09 OK: 270 MiB in 56 packages 11:48:12 Removing intermediate container 063030d71b1e 11:48:12 ---> 514cff3717d9 11:48:12 Step 8/25 : COPY go.mod vendor* ./ 11:48:12 ---> 5b1dd2075a8c 11:48:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:48:12 ---> Running in ec10b26d0e7c 11:48:15 Removing intermediate container ec10b26d0e7c 11:48:15 ---> 94366dd5afe1 11:48:15 Step 10/25 : COPY . . 11:48:16 ---> 92804a0ba73a 11:48:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:48:16 ---> Running in 1c76e137e9bc 11:48:16 Removing intermediate container 1c76e137e9bc 11:48:16 ---> 83fd25cb8076 11:48:16 Step 12/25 : RUN $MAKE 11:48:16 ---> Running in d1944a8ce6f2 11:48:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.39" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:50:09 Removing intermediate container d1944a8ce6f2 11:50:09 ---> 7d0ef90af42b 11:50:09 Step 13/25 : FROM alpine:3.18 11:50:09 3.18: Pulling from library/alpine 11:50:09 579b34f0a95b: Pulling fs layer 11:50:09 579b34f0a95b: Verifying Checksum 11:50:09 579b34f0a95b: Download complete 11:50:09 579b34f0a95b: Pull complete 11:50:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:50:09 Status: Downloaded newer image for alpine:3.18 11:50:09 ---> 3cc203321400 11:50:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:50:09 ---> Running in 846ae44d9853 11:50:09 Removing intermediate container 846ae44d9853 11:50:09 ---> bfbee276284b 11:50:09 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:50:09 ---> Running in 6136137cbc0e 11:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:50:09 (1/1) Installing dumb-init (1.2.5-r2) 11:50:09 Executing busybox-1.36.1-r2.trigger 11:50:09 OK: 8 MiB in 16 packages 11:50:09 Removing intermediate container 6136137cbc0e 11:50:09 ---> 71de37d4f0b0 11:50:09 Step 16/25 : WORKDIR / 11:50:09 ---> Running in 3d27a3b5020d 11:50:09 Removing intermediate container 3d27a3b5020d 11:50:09 ---> ffa182e68c07 11:50:09 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:50:09 ---> 751875abc19f 11:50:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:50:09 ---> 35d1132cbf87 11:50:09 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:50:09 ---> ee9c9c7cc33d 11:50:09 Step 20/25 : EXPOSE 59900 11:50:09 ---> Running in a6ce119e6008 11:50:09 Removing intermediate container a6ce119e6008 11:50:09 ---> fb2104380861 11:50:09 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:50:09 ---> Running in 53b77fe84c86 11:50:09 Removing intermediate container 53b77fe84c86 11:50:09 ---> dfb7f617f1e6 11:50:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:50:09 ---> Running in f96bceb832a9 11:50:09 Removing intermediate container f96bceb832a9 11:50:09 ---> 33bc4df0c066 11:50:09 Step 23/25 : LABEL arch=arm64 11:50:09 ---> Running in 5da903eb88ce 11:50:09 Removing intermediate container 5da903eb88ce 11:50:09 ---> c5aa226f24f3 11:50:09 Step 24/25 : LABEL git_sha=c14f2b1a7bd697deba5b874f4e72d33f217cad5a 11:50:09 ---> Running in 8f7c6ad2d5fd 11:50:09 Removing intermediate container 8f7c6ad2d5fd 11:50:09 ---> b3054c0e793a 11:50:09 Step 25/25 : LABEL version=0.0.0 11:50:09 ---> Running in b855fd99ff88 11:50:09 Removing intermediate container b855fd99ff88 11:50:09 ---> b92b2d23ad63 11:50:09 [Warning] One or more build-args [ARCH] were not consumed 11:50:09 Successfully built b92b2d23ad63 11:50:09 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:50:10 11:50:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:50:10 arm64: Pulling from edgex-lftools-log-publisher 11:50:10 8998bd30e6a1: Pulling fs layer 11:50:10 04944245beec: Pulling fs layer 11:50:10 699f458cf7ca: Pulling fs layer 11:50:10 765212b225bb: Pulling fs layer 11:50:10 f23df028b6ca: Pulling fs layer 11:50:10 d65c8cfc05b1: Pulling fs layer 11:50:10 2437ff75d9bd: Pulling fs layer 11:50:10 d65c8cfc05b1: Waiting 11:50:10 2437ff75d9bd: Waiting 11:50:10 f23df028b6ca: Waiting 11:50:10 765212b225bb: Waiting 11:50:10 04944245beec: Verifying Checksum 11:50:10 04944245beec: Download complete 11:50:10 765212b225bb: Verifying Checksum 11:50:10 765212b225bb: Download complete 11:50:10 f23df028b6ca: Verifying Checksum 11:50:10 f23df028b6ca: Download complete 11:50:10 d65c8cfc05b1: Verifying Checksum 11:50:10 d65c8cfc05b1: Download complete 11:50:11 699f458cf7ca: Verifying Checksum 11:50:11 699f458cf7ca: Download complete 11:50:11 8998bd30e6a1: Verifying Checksum 11:50:11 8998bd30e6a1: Download complete 11:50:14 2437ff75d9bd: Verifying Checksum 11:50:14 2437ff75d9bd: Download complete 11:50:15 8998bd30e6a1: Pull complete 11:50:16 04944245beec: Pull complete 11:50:18 699f458cf7ca: Pull complete 11:50:18 765212b225bb: Pull complete 11:50:19 f23df028b6ca: Pull complete 11:50:19 d65c8cfc05b1: Pull complete 11:50:37 2437ff75d9bd: Pull complete 11:50:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:50:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:37 prd-ubuntu20.04-docker-arm64-4c-16g-16379 does not seem to be running inside a container 11:50:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/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 11:50:40 $ docker top c0329e7a606d63b0f750717517df4b11352aec4573a9fb13be854399c91b7a0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:50:41 ---> job-cost.sh 11:50:41 lf-activate-venv: SKIPPING 11:50:41 INFO: No Stack... 11:50:41 INFO: Retrieving Pricing Info for: v3-standard-4 11:50:42 INFO: Archiving Costs [Pipeline] sh 11:50:43 + + cut -d, -f6 11:50:43 cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 11:50:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] 11:50:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] did not exist. Created. 11:50:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:50:44 /w/workspace/device-virtual-go/1@tmp/durable-189c3aac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:50:44 + echo total: 0.10999999940395355 [Pipeline] stash 11:50:44 Warning: overwriting stash ‘stack-cost’ 11:50:44 Stashed 1 file(s) [Pipeline] } 11:50:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-446-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:50:44 $ docker stop --time=1 c0329e7a606d63b0f750717517df4b11352aec4573a9fb13be854399c91b7a0e 11:50:46 $ docker rm -f --volumes c0329e7a606d63b0f750717517df4b11352aec4573a9fb13be854399c91b7a0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:50:47 provisioning config files... 11:50:47 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-446@tmp/config9890758840552800343tmp [Pipeline] { [Pipeline] sh 11:50:47 + set +x 11:50:47 + curl -s https://codecov.io/bash 11:50:47 + bash -s -- 11:50:47 11:50:47 _____ _ 11:50:47 / ____| | | 11:50:47 | | ___ __| | ___ ___ _____ __ 11:50:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:50:47 | |___| (_) | (_| | __/ (_| (_) \ V / 11:50:47 \_____\___/ \__,_|\___|\___\___/ \_/ 11:50:47 Bash-1.0.6 11:50:47 11:50:47 11:50:47 ==> git version 2.25.1 found 11:50:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:50:47 Release-Date: 2020-01-08 11:50:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:50:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:50:47 ==> Jenkins CI detected. 11:50:47 current dir:  /w/workspace/foundry_device-virtual-go_PR-446 11:50:47 project root: . 11:50:47 --> token set from env 11:50:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:50:47 ==> Running gcov in . (disable via -X gcov) 11:50:47 ==> Python coveragepy not found 11:50:47 ==> Searching for coverage reports in: 11:50:47 + . 11:50:47 -> Found 1 reports 11:50:47 ==> Detecting git/mercurial file structure 11:50:47 ==> Reading reports 11:50:47 + ./coverage.out bytes=43063 11:50:47 ==> Appending adjustments 11:50:47 https://docs.codecov.io/docs/fixing-reports 11:50:47 + Found adjustments 11:50:47 ==> Gzipping contents 11:50:47 8.0K /tmp/codecov.f0HfYY.gz 11:50:47 ==> Uploading reports 11:50:47 url: https://codecov.io 11:50:47 query: branch=PR-446&commit=c14f2b1a7bd697deba5b874f4e72d33f217cad5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=446&job=&cmd_args= 11:50:47 -> Pinging Codecov 11:50:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-446&commit=c14f2b1a7bd697deba5b874f4e72d33f217cad5a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-446%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=446&job=&cmd_args= 11:50:47 -> Uploading to 11:50:47 https://storage.googleapis.com/codecov/v4/raw/2023-11-02/5E52B4B073DB2E39498172D8E973AA87/c14f2b1a7bd697deba5b874f4e72d33f217cad5a/bb0bdc6d-fbc4-4889-96e7-b02f59db5d56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231102T115047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82cb37da30ae5be227b377a49e0eb68d5e6dcd00827301ebca573a25c1e9ac8a 11:50:47 % Total % Received % Xferd Average Speed Time Time Time Current 11:50:47 Dload Upload Total Spent Left Speed 11:50:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 18860 --:--:-- --:--:-- --:--:-- 18931 11:50:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c14f2b1a7bd697deba5b874f4e72d33f217cad5a [Pipeline] } 11:50:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:50:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-446/archives ] 11:50:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-446/archives 11:50:50 total 16 11:50:50 drwxr-xr-x 3 root root 4096 Nov 2 11:44 . 11:50:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 11:44 .. 11:50:50 drwxr-xr-x 2 root root 4096 Nov 2 11:44 cost 11:50:50 -rw-r--r-- 1 root root 89 Nov 2 11:44 cost.csv 11:50:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-446/archives 11:50:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-446/archives 11:50:50 total 16 11:50:50 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 11:44 . 11:50:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 11:44 .. 11:50:50 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 11:44 cost 11:50:50 -rw-r--r-- 1 jenkins jenkins 89 Nov 2 11:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:50:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:50:51 ---> package-listing.sh 11:50:51 ++ facter osfamily 11:50:51 ++ tr '[:upper:]' '[:lower:]' 11:50:51 + OS_FAMILY=debian 11:50:51 + workspace=/w/workspace/foundry_device-virtual-go_PR-446 11:50:51 + START_PACKAGES=/tmp/packages_start.txt 11:50:51 + END_PACKAGES=/tmp/packages_end.txt 11:50:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:50:51 + PACKAGES=/tmp/packages_start.txt 11:50:51 + '[' /w/workspace/foundry_device-virtual-go_PR-446 ']' 11:50:51 + PACKAGES=/tmp/packages_end.txt 11:50:51 + case "${OS_FAMILY}" in 11:50:51 + grep '^ii' 11:50:51 + dpkg -l 11:50:51 + '[' -f /tmp/packages_start.txt ']' 11:50:51 + '[' -f /tmp/packages_end.txt ']' 11:50:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:50:51 + '[' /w/workspace/foundry_device-virtual-go_PR-446 ']' 11:50:51 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-446/archives/ 11:50:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-446/archives/ [Pipeline] echo 11:50:51 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-446/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:50:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:50:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:50:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:50:52 prd-ubuntu20.04-docker-8c-8g-16378 does not seem to be running inside a container 11:50:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-446/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-446 -v /w/workspace/foundry_device-virtual-go_PR-446:/w/workspace/foundry_device-virtual-go_PR-446:rw,z -v /w/workspace/foundry_device-virtual-go_PR-446@tmp:/w/workspace/foundry_device-virtual-go_PR-446@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:50:53 $ docker top 0c99287ba98eb26a5b4c8dc8b2af265d6c1971b8723a3cc20c5d9d2caa12151a -eo pid,comm [Pipeline] { [Pipeline] sh 11:50:54 + touch /tmp/pre-build-complete [Pipeline] sh 11:50:54 + mkdir -p /var/log/sysstat [Pipeline] sh 11:50:54 + ls /var/log/sa-host 11:50:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:50:54 provisioning config files... 11:50:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-446@tmp/config4239174134694883943tmp [Pipeline] { [Pipeline] echo 11:50:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:50:55 ---> create-netrc.sh [Pipeline] } 11:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:50:55 ---> python-tools-install.sh [Pipeline] echo 11:50:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:50:56 ---> sudo-logs.sh 11:50:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:50:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:50:56 ---> job-cost.sh 11:50:56 lf-activate-venv: SKIPPING 11:50:56 DEBUG: total: 0.2199999988079071 11:50:56 INFO: Retrieving Stack Cost... 11:50:56 INFO: Retrieving Pricing Info for: v3-standard-8 11:50:57 INFO: Archiving Costs [Pipeline] echo 11:50:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:50:57 ---> logs-deploy.sh 11:50:57 lf-activate-venv: SKIPPING 11:50:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-446/1 11:50:57 INFO: archiving workspace using pattern(s): 11:50:58 Archives upload complete. 11:50:58 INFO: archiving logs to Nexus