Pull request #370 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1+8ed51eb9eaa0a405dde043671b4ac8557819634f (e51f1fbc7720dd4d81df51a27b57c9f45d33c7ac) 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-ssh5819797455907565209.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6944080086955426804.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-370/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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6809211776676060491.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-370/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13850614823771500360.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh13166964066284156488.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-370/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-370/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8141384838756953308.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5711 in /w/workspace/foundry_device-virtual-go_PR-370 [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-370 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 Merge succeeded, producing 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 Checking out Revision 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 (PR-370) 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 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:01:55 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:01:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:01:56 ========================================================= 12:01:56 EdgeX Global Pipelines Version Info 12:01:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:01:56 ------------------- 12:01:56 stable info: 12:01:56 ------------------- 12:01:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:01:56 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:01:56 Message: update stable to v1.0.245 12:01:57 ------------------- 12:01:57 experimental info: 12:01:57 ------------------- 12:01:57 Commited By: **** collab-it+edgex@linuxfoundation.org 12:01:57 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 12:01:57 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:01:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:01:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-370 [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-370 [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-370 [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ccc502 [Pipeline] echo 12:01:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:59 provisioning config files... 12:01:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-370@tmp/config5713856025415835077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:59 ---> docker-login.sh 12:01:59 nexus3.edgexfoundry.org:10001 12:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:00 Configure a credential helper to remove this warning. See 12:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:00 12:02:00 Login Succeeded 12:02:00 nexus3.edgexfoundry.org:10002 12:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:00 Configure a credential helper to remove this warning. See 12:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:00 12:02:00 Login Succeeded 12:02:00 nexus3.edgexfoundry.org:10003 12:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:00 Configure a credential helper to remove this warning. See 12:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:00 12:02:00 Login Succeeded 12:02:00 nexus3.edgexfoundry.org:10004 12:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:00 Configure a credential helper to remove this warning. See 12:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:00 12:02:00 Login Succeeded 12:02:00 docker.io 12:02:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:00 Configure a credential helper to remove this warning. See 12:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:00 12:02:00 Login Succeeded 12:02:00 ---> docker-login.sh ends [Pipeline] } 12:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:02:01 + git rev-list -1 --merges 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1~1..2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 [Pipeline] echo 12:02:01 -----------> git rev-list -1 --merges 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1~1..2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 [false] [Pipeline] sh 12:02:01 + git log --format=format:%s -1 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 [Pipeline] echo 12:02:01 ========================================================= 12:02:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:02:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:02 + git log --format=format:%s -1 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 [Pipeline] echo 12:02:02 [semverPrep] GIT_COMMIT: 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 12:02:02 [semverPrep] This is not a build commit. [Pipeline] sh 12:02:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:02 + grep -v github /etc/ssh/ssh_known_hosts 12:02:02 + [ -e /tmp/ssh_known_hosts ] 12:02:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:02:02 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:02:02 sudo tee -a /etc/ssh/ssh_known_hosts 12:02:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:03 12:02:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:03 0.1.4: Pulling from edgex-devops/py-git-semver 12:02:03 b85a868b505f: Pulling fs layer 12:02:03 e2be974225ed: Pulling fs layer 12:02:03 339a4e72a1f5: Pulling fs layer 12:02:03 988bab9f4d93: Pulling fs layer 12:02:03 1469e6f7b9e6: Pulling fs layer 12:02:03 eaf3925da568: Pulling fs layer 12:02:03 988bab9f4d93: Waiting 12:02:03 1469e6f7b9e6: Waiting 12:02:03 bab4dde63d76: Pulling fs layer 12:02:03 bde34c3a00c8: Pulling fs layer 12:02:03 eaf3925da568: Waiting 12:02:03 b352a97aabf1: Pulling fs layer 12:02:03 bde34c3a00c8: Waiting 12:02:03 4872d77fe225: Pulling fs layer 12:02:03 5851b861e8e6: Pulling fs layer 12:02:03 b352a97aabf1: Waiting 12:02:03 5851b861e8e6: Waiting 12:02:03 4872d77fe225: Waiting 12:02:03 e2be974225ed: Verifying Checksum 12:02:03 e2be974225ed: Download complete 12:02:03 988bab9f4d93: Verifying Checksum 12:02:03 988bab9f4d93: Download complete 12:02:03 1469e6f7b9e6: Verifying Checksum 12:02:03 1469e6f7b9e6: Download complete 12:02:03 eaf3925da568: Verifying Checksum 12:02:03 eaf3925da568: Download complete 12:02:03 339a4e72a1f5: Verifying Checksum 12:02:03 339a4e72a1f5: Download complete 12:02:03 bde34c3a00c8: Verifying Checksum 12:02:03 bde34c3a00c8: Download complete 12:02:03 b352a97aabf1: Verifying Checksum 12:02:03 b352a97aabf1: Download complete 12:02:03 4872d77fe225: Verifying Checksum 12:02:03 4872d77fe225: Download complete 12:02:03 5851b861e8e6: Verifying Checksum 12:02:03 5851b861e8e6: Download complete 12:02:03 b85a868b505f: Download complete 12:02:04 bab4dde63d76: Verifying Checksum 12:02:04 bab4dde63d76: Download complete 12:02:05 b85a868b505f: Pull complete 12:02:05 e2be974225ed: Pull complete 12:02:05 339a4e72a1f5: Pull complete 12:02:05 988bab9f4d93: Pull complete 12:02:06 1469e6f7b9e6: Pull complete 12:02:06 eaf3925da568: Pull complete 12:02:08 bab4dde63d76: Pull complete 12:02:08 bde34c3a00c8: Pull complete 12:02:08 b352a97aabf1: Pull complete 12:02:08 4872d77fe225: Pull complete 12:02:08 5851b861e8e6: Pull complete 12:02:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:08 prd-ubuntu20.04-docker-8c-8g-5711 does not seem to be running inside a container 12:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-370 -v /w/workspace/foundry_device-virtual-go_PR-370:/w/workspace/foundry_device-virtual-go_PR-370:rw,z -v /w/workspace/foundry_device-virtual-go_PR-370@tmp:/w/workspace/foundry_device-virtual-go_PR-370@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 12:02:12 $ docker top a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 -eo pid,comm 12:02:12 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). 12:02:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:12 [ssh-agent] Looking for ssh-agent implementation... 12:02:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:12 $ docker exec a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 ssh-agent 12:02:12 SSH_AUTH_SOCK=/tmp/ssh-F56ansF5sJpQ/agent.32 12:02:12 SSH_AGENT_PID=37 12:02:12 Running ssh-add (command line suppressed) 12:02:12 Identity added: /w/workspace/foundry_device-virtual-go_PR-370@tmp/private_key_18118136239299276422.key (/w/workspace/foundry_device-virtual-go_PR-370@tmp/private_key_18118136239299276422.key) 12:02:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:13 + git tag --points-at HEAD [Pipeline] } 12:02:13 $ docker exec --env ******** --env ******** a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 ssh-agent -k 12:02:13 unset SSH_AUTH_SOCK; 12:02:13 unset SSH_AGENT_PID; 12:02:13 echo Agent pid 37 killed; 12:02:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:02:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:13 [ssh-agent] Looking for ssh-agent implementation... 12:02:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:13 $ docker exec a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 ssh-agent 12:02:13 SSH_AUTH_SOCK=/tmp/ssh-6Or0L5clFXwT/agent.69 12:02:13 SSH_AGENT_PID=75 12:02:13 Running ssh-add (command line suppressed) 12:02:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-370@tmp/private_key_8201271464971205133.key (/w/workspace/foundry_device-virtual-go_PR-370@tmp/private_key_8201271464971205133.key) 12:02:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:14 + git semver init 12:02:14 2023-03-24 12:02:14,203 [run_init] DEBUG init version:0.0.0 force:False 12:02:14 2023-03-24 12:02:14,204 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-370/.semver 12:02:14 2023-03-24 12:02:14,204 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-370/.semver 12:02:14 2023-03-24 12:02:14,204 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-370/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-370, universal_newlines=False, shell=None, istream=None) 12:02:15 2023-03-24 12:02:15,313 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-370/.git/info/exclude 12:02:15 2023-03-24 12:02:15,314 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-370/.semver/PR-370 with force:False 12:02:15 2023-03-24 12:02:15,314 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-370/.semver/PR-370 12:02:15 2023-03-24 12:02:15,318 [execute] INFO git cat-file --batch-check 12:02:15 2023-03-24 12:02:15,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 12:02:15 2023-03-24 12:02:15,325 [execute] INFO git cat-file --batch 12:02:15 2023-03-24 12:02:15,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-370/.semver, universal_newlines=False, shell=None, istream=) 12:02:15 2023-03-24 12:02:15,329 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-370/.semver/PR-370 12:02:15 0.0.0 [Pipeline] } 12:02:15 $ docker exec --env ******** --env ******** a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 ssh-agent -k 12:02:15 unset SSH_AUTH_SOCK; 12:02:15 unset SSH_AGENT_PID; 12:02:15 echo Agent pid 75 killed; 12:02:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:16 + git semver [Pipeline] } 12:02:16 $ docker stop --time=1 a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 12:02:17 $ docker rm -f --volumes a62b61c9fad5fd68626f465110bf5030fbfa21f6e663edbc53d0404f655dda56 [Pipeline] // withDockerContainer [Pipeline] sh 12:02:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:02:18 Stashed 1 file(s) [Pipeline] echo 12:02:18 [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 12:02:19 provisioning config files... 12:02:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-370@tmp/config14137647438731521685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:02:19 ---> docker-login.sh 12:02:19 nexus3.edgexfoundry.org:10001 12:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:19 Configure a credential helper to remove this warning. See 12:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:19 12:02:19 Login Succeeded 12:02:19 nexus3.edgexfoundry.org:10002 12:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:19 Configure a credential helper to remove this warning. See 12:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:19 12:02:19 Login Succeeded 12:02:19 nexus3.edgexfoundry.org:10003 12:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:19 Configure a credential helper to remove this warning. See 12:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:19 12:02:19 Login Succeeded 12:02:19 nexus3.edgexfoundry.org:10004 12:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:19 Configure a credential helper to remove this warning. See 12:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:19 12:02:19 Login Succeeded 12:02:19 docker.io 12:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:02:20 Configure a credential helper to remove this warning. See 12:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:02:20 12:02:20 Login Succeeded 12:02:20 ---> docker-login.sh ends [Pipeline] } 12:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:02:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:02:20 ========================================================= 12:02:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:02:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:02:20 Sending build context to Docker daemon 23.48MB 12:02:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:02:20 Step 2/12 : FROM ${BASE} AS builder 12:02:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:02:21 63b65145d645: Pulling fs layer 12:02:21 a2d21d5440eb: Pulling fs layer 12:02:21 935e6c44a52c: Pulling fs layer 12:02:21 94cc34f8dd06: Pulling fs layer 12:02:21 30dea6a524f1: Pulling fs layer 12:02:21 a2aff8979fd8: Pulling fs layer 12:02:21 6808be2612f2: Pulling fs layer 12:02:21 f25807f1079a: Pulling fs layer 12:02:21 a2aff8979fd8: Waiting 12:02:21 30dea6a524f1: Waiting 12:02:21 6808be2612f2: Waiting 12:02:21 f25807f1079a: Waiting 12:02:21 94cc34f8dd06: Waiting 12:02:21 a2d21d5440eb: Download complete 12:02:21 94cc34f8dd06: Verifying Checksum 12:02:21 94cc34f8dd06: Download complete 12:02:21 30dea6a524f1: Verifying Checksum 12:02:21 30dea6a524f1: Download complete 12:02:21 63b65145d645: Verifying Checksum 12:02:21 63b65145d645: Download complete 12:02:21 a2aff8979fd8: Verifying Checksum 12:02:21 a2aff8979fd8: Download complete 12:02:21 63b65145d645: Pull complete 12:02:22 a2d21d5440eb: Pull complete 12:02:22 f25807f1079a: Verifying Checksum 12:02:22 f25807f1079a: Download complete 12:02:22 935e6c44a52c: Download complete 12:02:22 6808be2612f2: Verifying Checksum 12:02:22 6808be2612f2: Download complete 12:02:25 935e6c44a52c: Pull complete 12:02:25 94cc34f8dd06: Pull complete 12:02:25 30dea6a524f1: Pull complete 12:02:25 a2aff8979fd8: Pull complete 12:02:28 6808be2612f2: Pull complete 12:02:28 f25807f1079a: Pull complete 12:02:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:02:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:02:28 ---> 3b553350e43f 12:02:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:02:33 Still waiting to schedule task 12:02:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5712’ is offline 12:02:35 ---> Running in 04f6f8d088ef 12:02:35 Removing intermediate container 04f6f8d088ef 12:02:35 ---> 360098fa7d55 12:02:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:02:35 ---> Running in 9a93e1781465 12:02:35 Removing intermediate container 9a93e1781465 12:02:35 ---> 1ca2b8253dc9 12:02:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:02:35 ---> Running in 43ae7b875eaf 12:02:35 Removing intermediate container 43ae7b875eaf 12:02:35 ---> f6f32932da58 12:02:35 Step 6/12 : WORKDIR /device-virtual-go 12:02:35 ---> Running in b2db46b72193 12:02:36 Removing intermediate container b2db46b72193 12:02:36 ---> a6f37fd6b7e9 12:02:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:36 ---> Running in 3c996f5e37af 12:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:02:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:02:36 (2/4) Installing libedit (20221030.3.1-r0) 12:02:36 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:02:36 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:02:36 Executing busybox-1.35.0-r29.trigger 12:02:36 OK: 269 MiB in 57 packages 12:02:37 Removing intermediate container 3c996f5e37af 12:02:37 ---> 7256ca2c8522 12:02:37 Step 8/12 : COPY go.mod vendor* ./ 12:02:37 ---> 08856ff1cf5a 12:02:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:37 ---> Running in 850c8179e109 12:03:04 Removing intermediate container 850c8179e109 12:03:04 ---> fc19f8cb425e 12:03:04 Step 10/12 : COPY . . 12:03:05 ---> 108053520a48 12:03:05 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:03:05 ---> Running in 0f848434fbf0 12:03:05 Removing intermediate container 0f848434fbf0 12:03:05 ---> ee266d4b2a11 12:03:05 Step 12/12 : RUN $MAKE 12:03:05 ---> Running in 4d9d492c58a4 12:03:05 noop 12:03:05 Removing intermediate container 4d9d492c58a4 12:03:05 ---> 133b712f6b0b 12:03:05 Successfully built 133b712f6b0b 12:03:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:06 + docker inspect -f . ci-base-image-x86_64 12:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:06 prd-ubuntu20.04-docker-8c-8g-5711 does not seem to be running inside a container 12:03:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-370 -v /w/workspace/foundry_device-virtual-go_PR-370:/w/workspace/foundry_device-virtual-go_PR-370:rw,z -v /w/workspace/foundry_device-virtual-go_PR-370@tmp:/w/workspace/foundry_device-virtual-go_PR-370@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 12:03:06 $ docker top d7676dd49a6fbb2b5eef9e4e4a6e371cae3644aea3019e94abefa2de733c405b -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:07 + go version 12:03:07 go version go1.20.2 linux/amd64 [Pipeline] } 12:03:07 $ docker stop --time=1 d7676dd49a6fbb2b5eef9e4e4a6e371cae3644aea3019e94abefa2de733c405b 12:03:08 $ docker rm -f --volumes d7676dd49a6fbb2b5eef9e4e4a6e371cae3644aea3019e94abefa2de733c405b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:09 + docker inspect -f . ci-base-image-x86_64 12:03:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:09 prd-ubuntu20.04-docker-8c-8g-5711 does not seem to be running inside a container 12:03:09 $ 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-370 -v /w/workspace/foundry_device-virtual-go_PR-370:/w/workspace/foundry_device-virtual-go_PR-370:rw,z -v /w/workspace/foundry_device-virtual-go_PR-370@tmp:/w/workspace/foundry_device-virtual-go_PR-370@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 12:03:09 $ docker top 4546986089f3f598bb7daf28b89988ff8703d95803005f9b6ecbd412e3509f58 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-370 [Pipeline] fileExists [Pipeline] sh 12:03:10 + make test 12:03:10 go test ./... -coverprofile=coverage.out 12:03:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:03:21 # github.com/edgexfoundry/device-virtual-go/internal/driver 12:03:21 internal/driver/virtualdriver.go:86:86: cannot use dr.Properties.Minimum (variable of type *float64) as string value in argument to vd.read 12:03:21 internal/driver/virtualdriver.go:86:109: cannot use dr.Properties.Maximum (variable of type *float64) as string value in argument to vd.read 12:03:23 FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] 12:03:23 FAIL 12:03:23 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 12:03:23 $ docker stop --time=1 4546986089f3f598bb7daf28b89988ff8703d95803005f9b6ecbd412e3509f58 12:03:26 $ docker rm -f --volumes 4546986089f3f598bb7daf28b89988ff8703d95803005f9b6ecbd412e3509f58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:27 12:03:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:28 latest: Pulling from edgex-lftools-log-publisher 12:03:28 5eb5b503b376: Pulling fs layer 12:03:28 5c69ac0246d0: Pulling fs layer 12:03:28 ec43610c2a17: Pulling fs layer 12:03:28 3a2ae6a8a46f: Pulling fs layer 12:03:28 33b1e0a273af: Pulling fs layer 12:03:28 5d3b04190fa2: Pulling fs layer 12:03:28 2f39f015ded8: Pulling fs layer 12:03:28 3a2ae6a8a46f: Waiting 12:03:28 33b1e0a273af: Waiting 12:03:28 5d3b04190fa2: Waiting 12:03:28 2f39f015ded8: Waiting 12:03:28 5c69ac0246d0: Verifying Checksum 12:03:28 5c69ac0246d0: Download complete 12:03:28 3a2ae6a8a46f: Verifying Checksum 12:03:28 3a2ae6a8a46f: Download complete 12:03:28 33b1e0a273af: Verifying Checksum 12:03:28 33b1e0a273af: Download complete 12:03:28 5d3b04190fa2: Verifying Checksum 12:03:28 5d3b04190fa2: Download complete 12:03:28 ec43610c2a17: Verifying Checksum 12:03:28 ec43610c2a17: Download complete 12:03:28 5eb5b503b376: Verifying Checksum 12:03:28 5eb5b503b376: Download complete 12:03:29 2f39f015ded8: Download complete 12:03:29 5eb5b503b376: Pull complete 12:03:29 5c69ac0246d0: Pull complete 12:03:30 ec43610c2a17: Pull complete 12:03:30 3a2ae6a8a46f: Pull complete 12:03:30 33b1e0a273af: Pull complete 12:03:30 5d3b04190fa2: Pull complete 12:03:34 2f39f015ded8: Pull complete 12:03:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:03:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:03:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:34 prd-ubuntu20.04-docker-8c-8g-5711 does not seem to be running inside a container 12:03:34 $ 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-370 -v /w/workspace/foundry_device-virtual-go_PR-370:/w/workspace/foundry_device-virtual-go_PR-370:rw,z -v /w/workspace/foundry_device-virtual-go_PR-370@tmp:/w/workspace/foundry_device-virtual-go_PR-370@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 12:03:37 $ docker top 0b05ebec006170ac54b65169a9b23f542f4b9772686530a405e3f36edcce2c0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:38 ---> job-cost.sh 12:03:38 lf-activate-venv: SKIPPING 12:03:38 INFO: No Stack... 12:03:38 INFO: Retrieving Pricing Info for: v3-standard-8 12:03:38 INFO: Archiving Costs [Pipeline] sh 12:03:39 + cat /w/workspace/foundry_device-virtual-go_PR-370/archives/cost.csv 12:03:39 + cut -d, -f6 [Pipeline] lock 12:03:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] 12:03:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] did not exist. Created. 12:03:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:03:39 + echo total: 0.2199999988079071 [Pipeline] stash 12:03:39 Stashed 1 file(s) [Pipeline] } 12:03:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:03:39 $ docker stop --time=1 0b05ebec006170ac54b65169a9b23f542f4b9772686530a405e3f36edcce2c0d 12:03:41 $ docker rm -f --volumes 0b05ebec006170ac54b65169a9b23f542f4b9772686530a405e3f36edcce2c0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:03:41 Failed in branch amd64 12:05:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5714 in /w/workspace/foundry_device-virtual-go_PR-370 [Pipeline] { [Pipeline] ws 12:05:01 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:05:01 The recommended git tool is: git 12:05:07 using credential edgex-jenkins-ssh 12:05:07 Cloning the remote Git repository 12:05:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:05:07 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:05:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:05:07 > git --version # timeout=10 12:05:07 > git --version # 'git version 2.25.1' 12:05:07 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:05:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:05:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:05:11 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:05:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/370/head:refs/remotes/origin/PR-370 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:05:12 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 12:05:12 Merge succeeded, producing 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 12:05:12 Checking out Revision 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 (PR-370) 12:05:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 12:05:12 > git --version # timeout=10 12:05:12 > git --version # 'git version 2.25.1' 12:05:12 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 12:05:12 > git config core.sparsecheckout # timeout=10 12:05:12 > git checkout -f 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 # timeout=10 12:05:12 > git remote # timeout=10 12:05:12 > git config --get remote.origin.url # timeout=10 12:05:12 using GIT_SSH to set credentials SSH Credentials for GitHub 12:05:12 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 12:05:12 > git rev-parse HEAD^{commit} # timeout=10 12:05:12 > git config core.sparsecheckout # timeout=10 12:05:12 > git checkout -f 2ccc5022c9c9fd3e417a9756f9b0f4750183f3c1 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:05:14 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:14 Dload Upload Total Spent Left Speed 12:05:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 239k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 12:05:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:05:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:05:15 + sudo tee /etc/docker/daemon.new 12:05:15 { 12:05:15 "registry-mirrors": [ 12:05:15 "https://nexus3.edgexfoundry.org:10001" 12:05:15 ], 12:05:15 "bip": "10.250.0.254/24", 12:05:15 "hosts": [ 12:05:15 "tcp://0.0.0.0:5555", 12:05:15 "unix:///var/run/docker.sock" 12:05:15 ], 12:05:15 "mtu": 1458, 12:05:15 "selinux-enabled": true, 12:05:15 "seccomp-profile": "/etc/docker/seccomp.json" 12:05:15 } [Pipeline] sh 12:05:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:05:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:34 provisioning config files... 12:05:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13930865884227418969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:34 ---> docker-login.sh 12:05:34 nexus3.edgexfoundry.org:10001 12:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:35 Configure a credential helper to remove this warning. See 12:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:35 12:05:35 Login Succeeded 12:05:35 nexus3.edgexfoundry.org:10002 12:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:35 Configure a credential helper to remove this warning. See 12:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:35 12:05:35 Login Succeeded 12:05:35 nexus3.edgexfoundry.org:10003 12:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:35 Configure a credential helper to remove this warning. See 12:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:35 12:05:35 Login Succeeded 12:05:35 nexus3.edgexfoundry.org:10004 12:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:36 Configure a credential helper to remove this warning. See 12:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:36 12:05:36 Login Succeeded 12:05:36 docker.io 12:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:36 Configure a credential helper to remove this warning. See 12:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:36 12:05:36 Login Succeeded 12:05:36 ---> docker-login.sh ends [Pipeline] } 12:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:05:37 ========================================================= 12:05:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:05:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:05:37 Sending build context to Docker daemon 11.9MB 12:05:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:05:37 Step 2/12 : FROM ${BASE} AS builder 12:05:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:05:38 af6eaf76a39c: Pulling fs layer 12:05:38 55522c791124: Pulling fs layer 12:05:38 ce5c4a1c91eb: Pulling fs layer 12:05:38 169dfbe0d373: Pulling fs layer 12:05:38 e1ff8fa3b103: Pulling fs layer 12:05:38 52ebb69f0ebf: Pulling fs layer 12:05:38 5abe8eddf0d5: Pulling fs layer 12:05:38 169dfbe0d373: Waiting 12:05:38 e1ff8fa3b103: Waiting 12:05:38 52ebb69f0ebf: Waiting 12:05:38 5abe8eddf0d5: Waiting 12:05:38 55522c791124: Download complete 12:05:38 169dfbe0d373: Verifying Checksum 12:05:38 169dfbe0d373: Download complete 12:05:38 e1ff8fa3b103: Verifying Checksum 12:05:38 e1ff8fa3b103: Download complete 12:05:38 af6eaf76a39c: Verifying Checksum 12:05:38 af6eaf76a39c: Download complete 12:05:39 af6eaf76a39c: Pull complete 12:05:39 5abe8eddf0d5: Verifying Checksum 12:05:39 5abe8eddf0d5: Download complete 12:05:39 55522c791124: Pull complete 12:05:40 ce5c4a1c91eb: Verifying Checksum 12:05:40 ce5c4a1c91eb: Download complete 12:05:40 52ebb69f0ebf: Verifying Checksum 12:05:40 52ebb69f0ebf: Download complete 12:05:50 ce5c4a1c91eb: Pull complete 12:05:50 169dfbe0d373: Pull complete 12:05:50 e1ff8fa3b103: Pull complete 12:05:57 52ebb69f0ebf: Pull complete 12:05:58 5abe8eddf0d5: Pull complete 12:05:58 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:05:58 ---> 6cb57ee374ae 12:05:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:06:02 ---> Running in 180b4884ed0d 12:06:02 Removing intermediate container 180b4884ed0d 12:06:02 ---> dc2e11ffea6e 12:06:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:06:02 ---> Running in 59650a06e89e 12:06:02 Removing intermediate container 59650a06e89e 12:06:02 ---> b7f569595e81 12:06:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:06:02 ---> Running in 02a4b1f111d0 12:06:02 Removing intermediate container 02a4b1f111d0 12:06:02 ---> 2e60e4bedc94 12:06:02 Step 6/12 : WORKDIR /device-virtual-go 12:06:02 ---> Running in df2060d07dd0 12:06:02 Removing intermediate container df2060d07dd0 12:06:02 ---> 6e636d33a592 12:06:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:06:02 ---> Running in 06ce6eda3c45 12:06:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:06:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:06:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:06:04 (2/4) Installing libedit (20221030.3.1-r0) 12:06:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:06:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:06:04 Executing busybox-1.35.0-r29.trigger 12:06:04 OK: 268 MiB in 57 packages 12:06:05 Removing intermediate container 06ce6eda3c45 12:06:05 ---> ab26f51eb32f 12:06:05 Step 8/12 : COPY go.mod vendor* ./ 12:06:05 ---> dd9c3648f128 12:06:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:06:05 ---> Running in be4a37cb90df 12:07:13 Removing intermediate container be4a37cb90df 12:07:13 ---> 4aaacef156ca 12:07:13 Step 10/12 : COPY . . 12:07:13 ---> ce3610a23175 12:07:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:07:13 ---> Running in 7d7df0404c69 12:07:13 Removing intermediate container 7d7df0404c69 12:07:13 ---> 81a2dbdf558a 12:07:13 Step 12/12 : RUN $MAKE 12:07:13 ---> Running in 6a44223d2aa6 12:07:13 noop 12:07:13 Removing intermediate container 6a44223d2aa6 12:07:13 ---> 090f8d1e8d42 12:07:13 Successfully built 090f8d1e8d42 12:07:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:14 + docker inspect -f . ci-base-image-arm64 12:07:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:14 prd-ubuntu20.04-docker-arm64-4c-16g-5714 does not seem to be running inside a container 12:07:14 $ 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 12:07:15 $ docker top d2f565f12050dad1f8fd39520a2e395b1c7ca7a9af3644e36842fde8741bbde9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:16 + go version 12:07:16 go version go1.20.2 linux/arm64 [Pipeline] } 12:07:16 $ docker stop --time=1 d2f565f12050dad1f8fd39520a2e395b1c7ca7a9af3644e36842fde8741bbde9 12:07:18 $ docker rm -f --volumes d2f565f12050dad1f8fd39520a2e395b1c7ca7a9af3644e36842fde8741bbde9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:07:19 + docker inspect -f . ci-base-image-arm64 12:07:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:07:19 prd-ubuntu20.04-docker-arm64-4c-16g-5714 does not seem to be running inside a container 12:07:19 $ 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 12:07:23 $ docker top 537ebc56349435465f2f114e259acf427ee0d200d4853f214f29953f88a983de -eo pid,comm [Pipeline] { [Pipeline] sh 12:07:23 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:07:24 + make test 12:07:24 go test ./... -coverprofile=coverage.out 12:08:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:09:10 # github.com/edgexfoundry/device-virtual-go/internal/driver 12:09:10 internal/driver/virtualdriver.go:86:86: cannot use dr.Properties.Minimum (variable of type *float64) as string value in argument to vd.read 12:09:10 internal/driver/virtualdriver.go:86:109: cannot use dr.Properties.Maximum (variable of type *float64) as string value in argument to vd.read 12:09:49 FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] 12:09:49 FAIL 12:09:49 make: *** [Makefile:30: unittest] Error 1 [Pipeline] } 12:09:49 $ docker stop --time=1 537ebc56349435465f2f114e259acf427ee0d200d4853f214f29953f88a983de 12:09:51 $ docker rm -f --volumes 537ebc56349435465f2f114e259acf427ee0d200d4853f214f29953f88a983de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:09:53 12:09:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:09:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:09:53 arm64: Pulling from edgex-lftools-log-publisher 12:09:53 8998bd30e6a1: Pulling fs layer 12:09:53 04944245beec: Pulling fs layer 12:09:53 699f458cf7ca: Pulling fs layer 12:09:53 765212b225bb: Pulling fs layer 12:09:53 f23df028b6ca: Pulling fs layer 12:09:53 d65c8cfc05b1: Pulling fs layer 12:09:53 2437ff75d9bd: Pulling fs layer 12:09:53 f23df028b6ca: Waiting 12:09:53 d65c8cfc05b1: Waiting 12:09:53 2437ff75d9bd: Waiting 12:09:53 765212b225bb: Waiting 12:09:54 04944245beec: Verifying Checksum 12:09:54 04944245beec: Download complete 12:09:54 765212b225bb: Verifying Checksum 12:09:54 765212b225bb: Download complete 12:09:54 f23df028b6ca: Verifying Checksum 12:09:54 f23df028b6ca: Download complete 12:09:54 d65c8cfc05b1: Verifying Checksum 12:09:54 d65c8cfc05b1: Download complete 12:09:54 699f458cf7ca: Verifying Checksum 12:09:54 8998bd30e6a1: Verifying Checksum 12:09:54 8998bd30e6a1: Download complete 12:09:58 2437ff75d9bd: Verifying Checksum 12:09:58 2437ff75d9bd: Download complete 12:10:02 8998bd30e6a1: Pull complete 12:10:02 04944245beec: Pull complete 12:10:04 699f458cf7ca: Pull complete 12:10:04 765212b225bb: Pull complete 12:10:05 f23df028b6ca: Pull complete 12:10:05 d65c8cfc05b1: Pull complete 12:10:23 2437ff75d9bd: Pull complete 12:10:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:10:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:10:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:24 prd-ubuntu20.04-docker-arm64-4c-16g-5714 does not seem to be running inside a container 12:10:24 $ 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 12:10:27 $ docker top 7c4fdbf53bd2f14b4caa5dc7a00da23db6a4a068daf795f8b1e70319a23dd65f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:28 ---> job-cost.sh 12:10:28 lf-activate-venv: SKIPPING 12:10:28 INFO: No Stack... 12:10:29 INFO: Retrieving Pricing Info for: v3-standard-4 12:10:29 INFO: Archiving Costs [Pipeline] sh 12:10:29 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 12:10:29 + cut -d, -f6 [Pipeline] lock 12:10:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] 12:10:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] did not exist. Created. 12:10:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:10:30 /w/workspace/device-virtual-go/1@tmp/durable-97767eed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:10:30 + echo total: 0.10999999940395355 [Pipeline] stash 12:10:30 Warning: overwriting stash ‘stack-cost’ 12:10:31 Stashed 1 file(s) [Pipeline] } 12:10:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-370-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:10:31 $ docker stop --time=1 7c4fdbf53bd2f14b4caa5dc7a00da23db6a4a068daf795f8b1e70319a23dd65f 12:10:32 $ docker rm -f --volumes 7c4fdbf53bd2f14b4caa5dc7a00da23db6a4a068daf795f8b1e70319a23dd65f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:10:33 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:10:35 + [ -d /w/workspace/foundry_device-virtual-go_PR-370/archives ] 12:10:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-370/archives 12:10:35 total 16 12:10:35 drwxr-xr-x 3 root root 4096 Mar 24 12:03 . 12:10:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 12:03 .. 12:10:35 drwxr-xr-x 2 root root 4096 Mar 24 12:03 cost 12:10:35 -rw-r--r-- 1 root root 89 Mar 24 12:03 cost.csv 12:10:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-370/archives 12:10:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-370/archives 12:10:35 total 16 12:10:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 12:03 . 12:10:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 12:03 .. 12:10:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 12:03 cost 12:10:35 -rw-r--r-- 1 jenkins jenkins 89 Mar 24 12:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:10:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:10:36 ---> package-listing.sh 12:10:36 ++ facter osfamily 12:10:36 ++ tr '[:upper:]' '[:lower:]' 12:10:36 + OS_FAMILY=debian 12:10:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-370 12:10:36 + START_PACKAGES=/tmp/packages_start.txt 12:10:36 + END_PACKAGES=/tmp/packages_end.txt 12:10:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:10:36 + PACKAGES=/tmp/packages_start.txt 12:10:36 + '[' /w/workspace/foundry_device-virtual-go_PR-370 ']' 12:10:36 + PACKAGES=/tmp/packages_end.txt 12:10:36 + case "${OS_FAMILY}" in 12:10:36 + dpkg -l 12:10:36 + grep '^ii' 12:10:36 + '[' -f /tmp/packages_start.txt ']' 12:10:36 + '[' -f /tmp/packages_end.txt ']' 12:10:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:10:36 + '[' /w/workspace/foundry_device-virtual-go_PR-370 ']' 12:10:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-370/archives/ 12:10:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-370/archives/ [Pipeline] echo 12:10:36 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-370/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:10:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:10:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:10:38 prd-ubuntu20.04-docker-8c-8g-5711 does not seem to be running inside a container 12:10:38 $ 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-370/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-370 -v /w/workspace/foundry_device-virtual-go_PR-370:/w/workspace/foundry_device-virtual-go_PR-370:rw,z -v /w/workspace/foundry_device-virtual-go_PR-370@tmp:/w/workspace/foundry_device-virtual-go_PR-370@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 12:10:38 $ docker top 3f9ae731808b4b42870dc66a918350f6e87d2988e2908512d85eb7816e480847 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:38 + touch /tmp/pre-build-complete [Pipeline] sh 12:10:38 + mkdir -p /var/log/sysstat [Pipeline] sh 12:10:39 + ls /var/log/sa-host 12:10:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:10:39 provisioning config files... 12:10:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-370@tmp/config16433396962193354484tmp [Pipeline] { [Pipeline] echo 12:10:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:10:39 ---> create-netrc.sh [Pipeline] } 12:10:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:10:40 ---> python-tools-install.sh [Pipeline] echo 12:10:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:10:40 ---> sudo-logs.sh 12:10:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:10:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:10:40 ---> job-cost.sh 12:10:40 lf-activate-venv: SKIPPING 12:10:40 DEBUG: total: 0.2199999988079071 12:10:40 INFO: Retrieving Stack Cost... 12:10:41 INFO: Retrieving Pricing Info for: v3-standard-8 12:10:41 INFO: Archiving Costs [Pipeline] echo 12:10:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:10:41 ---> logs-deploy.sh 12:10:41 lf-activate-venv: SKIPPING 12:10:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-370/1 12:10:41 INFO: archiving workspace using pattern(s): 12:10:42 Archives upload complete. 12:10:42 INFO: archiving logs to Nexus 12:10:43 ---> uname -a: 12:10:43 Linux prd-ubuntu20-04-docker-8c-8g-5711 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 12:10:43 12:10:43