Pull request #294 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb+9528f76d0c83bd26f38fd0f12715516a47528699 (eda5096915f3a7391e20c27849c3955a1b835a51) 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-ssh1704458392459794795.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7e4371ac6d730b8e642184b898413c6ef59a5643 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-ssh6783315914917318745.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 7e4371ac6d730b8e642184b898413c6ef59a5643 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17128323100709593236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7e4371ac6d730b8e642184b898413c6ef59a5643 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e4371ac6d730b8e642184b898413c6ef59a5643 # timeout=10 Commit message: "Merge pull request #404 from bill-mahoney/go-1.18" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4700735771506228794.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-294/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17795749871602452394.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19316 in /w/workspace/foundry_device-virtual-go_PR-294 [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-294 # 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 Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) > 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/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # 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 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:57:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:57:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:57:57 ========================================================= 17:57:57 EdgeX Global Pipelines Version Info 17:57:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ca7e9cc61ae7ace7c5611752e8a711196a8fafae # timeout=10 17:57:57 ------------------- 17:57:57 stable info: 17:57:57 ------------------- 17:57:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:57:57 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 17:57:57 Message: update stable to v1.0.236 17:57:58 ------------------- 17:57:58 experimental info: 17:57:58 ------------------- 17:57:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:57:58 Commit SHA: 7e4371ac6d730b8e642184b898413c6ef59a5643 17:57:58 Message: update experimental to v1.0.236 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:57:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-294 [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-294 [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-294 [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd58f92 [Pipeline] echo 17:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:57:59 provisioning config files... 17:57:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config5304856992484227181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:57:59 ---> docker-login.sh 17:57:59 nexus3.edgexfoundry.org:10001 17:57:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10002 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10003 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 nexus3.edgexfoundry.org:10004 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 docker.io 17:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:00 Configure a credential helper to remove this warning. See 17:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:00 17:58:00 Login Succeeded 17:58:00 ---> docker-login.sh ends [Pipeline] } 17:58:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:58:01 + git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo 17:58:01 -----------> git rev-list -1 --merges cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb~1..cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [false] [Pipeline] sh 17:58:01 + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo 17:58:01 ========================================================= 17:58:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:58:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:58:01 + git log --format=format:%s -1 cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb [Pipeline] echo 17:58:01 [semverPrep] GIT_COMMIT: cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb, Commit Message: build: Upgrade to Go 1.18 and alpine 3.16 [Pipeline] echo 17:58:01 [semverPrep] This is not a build commit. [Pipeline] sh 17:58:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:58:02 + grep -v github /etc/ssh/ssh_known_hosts 17:58:02 + [ -e /tmp/ssh_known_hosts ] 17:58:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:58:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:58:02 + sudo tee -a /etc/ssh/ssh_known_hosts 17:58:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:02 17:58:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:02 0.1.4: Pulling from edgex-devops/py-git-semver 17:58:02 b85a868b505f: Pulling fs layer 17:58:02 e2be974225ed: Pulling fs layer 17:58:02 339a4e72a1f5: Pulling fs layer 17:58:02 988bab9f4d93: Pulling fs layer 17:58:02 1469e6f7b9e6: Pulling fs layer 17:58:02 eaf3925da568: Pulling fs layer 17:58:02 bab4dde63d76: Pulling fs layer 17:58:02 bde34c3a00c8: Pulling fs layer 17:58:02 b352a97aabf1: Pulling fs layer 17:58:02 4872d77fe225: Pulling fs layer 17:58:02 5851b861e8e6: Pulling fs layer 17:58:02 bab4dde63d76: Waiting 17:58:02 1469e6f7b9e6: Waiting 17:58:02 bde34c3a00c8: Waiting 17:58:02 eaf3925da568: Waiting 17:58:02 b352a97aabf1: Waiting 17:58:02 4872d77fe225: Waiting 17:58:02 988bab9f4d93: Waiting 17:58:02 5851b861e8e6: Waiting 17:58:02 e2be974225ed: Download complete 17:58:02 988bab9f4d93: Download complete 17:58:03 1469e6f7b9e6: Verifying Checksum 17:58:03 1469e6f7b9e6: Download complete 17:58:03 339a4e72a1f5: Verifying Checksum 17:58:03 339a4e72a1f5: Download complete 17:58:03 eaf3925da568: Verifying Checksum 17:58:03 eaf3925da568: Download complete 17:58:03 bde34c3a00c8: Download complete 17:58:03 b352a97aabf1: Download complete 17:58:03 4872d77fe225: Verifying Checksum 17:58:03 4872d77fe225: Download complete 17:58:03 5851b861e8e6: Verifying Checksum 17:58:03 5851b861e8e6: Download complete 17:58:03 b85a868b505f: Download complete 17:58:03 bab4dde63d76: Verifying Checksum 17:58:03 bab4dde63d76: Download complete 17:58:04 b85a868b505f: Pull complete 17:58:04 e2be974225ed: Pull complete 17:58:05 339a4e72a1f5: Pull complete 17:58:05 988bab9f4d93: Pull complete 17:58:05 1469e6f7b9e6: Pull complete 17:58:05 eaf3925da568: Pull complete 17:58:07 bab4dde63d76: Pull complete 17:58:07 bde34c3a00c8: Pull complete 17:58:08 b352a97aabf1: Pull complete 17:58:08 4872d77fe225: Pull complete 17:58:08 5851b861e8e6: Pull complete 17:58:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:58:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:58:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:08 prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container 17:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:58:10 $ docker top 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 -eo pid,comm 17:58:10 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). 17:58:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:58:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:10 [ssh-agent] Looking for ssh-agent implementation... 17:58:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:10 $ docker exec 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent 17:58:10 SSH_AUTH_SOCK=/tmp/ssh-aGJuSaQ8VSGH/agent.33 17:58:10 SSH_AGENT_PID=40 17:58:10 Running ssh-add (command line suppressed) 17:58:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_4441458230917247967.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_4441458230917247967.key) 17:58:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:10 + git tag --points-at HEAD [Pipeline] } 17:58:10 $ docker exec --env ******** --env ******** 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent -k 17:58:11 unset SSH_AUTH_SOCK; 17:58:11 unset SSH_AGENT_PID; 17:58:11 echo Agent pid 40 killed; 17:58:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:58:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:58:11 [ssh-agent] Looking for ssh-agent implementation... 17:58:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:58:11 $ docker exec 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent 17:58:11 SSH_AUTH_SOCK=/tmp/ssh-5wFwzeEWibc2/agent.73 17:58:11 SSH_AGENT_PID=79 17:58:11 Running ssh-add (command line suppressed) 17:58:11 Identity added: /w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_6880386112697044142.key (/w/workspace/foundry_device-virtual-go_PR-294@tmp/private_key_6880386112697044142.key) 17:58:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:58:11 + git semver init 17:58:12 2022-07-11 17:58:11,960 [run_init] DEBUG init version:0.0.0 force:False 17:58:12 2022-07-11 17:58:11,960 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-294/.semver 17:58:12 2022-07-11 17:58:11,961 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-294/.semver 17:58:12 2022-07-11 17:58:11,961 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-294/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-294, universal_newlines=False, shell=None, istream=None) 17:58:12 2022-07-11 17:58:12,895 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-294/.git/info/exclude 17:58:12 2022-07-11 17:58:12,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 with force:False 17:58:12 2022-07-11 17:58:12,896 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 17:58:12 2022-07-11 17:58:12,900 [execute] INFO git cat-file --batch-check 17:58:12 2022-07-11 17:58:12,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) 17:58:12 2022-07-11 17:58:12,907 [execute] INFO git cat-file --batch 17:58:12 2022-07-11 17:58:12,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-294/.semver, universal_newlines=False, shell=None, istream=) 17:58:12 2022-07-11 17:58:12,914 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-294/.semver/PR-294 17:58:12 0.0.0 [Pipeline] } 17:58:12 $ docker exec --env ******** --env ******** 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 ssh-agent -k 17:58:13 unset SSH_AUTH_SOCK; 17:58:13 unset SSH_AGENT_PID; 17:58:13 echo Agent pid 79 killed; 17:58:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:58:13 + git semver [Pipeline] } 17:58:13 $ docker stop --time=1 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 17:58:15 $ docker rm -f 8b416515da5fe7bd8138dbf8fef6c58ccce26e6804803f60cd7582f49df25ea0 [Pipeline] // withDockerContainer [Pipeline] sh 17:58:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:58:15 Stashed 1 file(s) [Pipeline] echo 17:58:15 [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 17:58:15 provisioning config files... 17:58:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config2746920470923816623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:16 ---> docker-login.sh 17:58:16 nexus3.edgexfoundry.org:10001 17:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:16 Configure a credential helper to remove this warning. See 17:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:16 17:58:16 Login Succeeded 17:58:16 nexus3.edgexfoundry.org:10002 17:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:16 Configure a credential helper to remove this warning. See 17:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:16 17:58:16 Login Succeeded 17:58:16 nexus3.edgexfoundry.org:10003 17:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:16 Configure a credential helper to remove this warning. See 17:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:16 17:58:16 Login Succeeded 17:58:16 nexus3.edgexfoundry.org:10004 17:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:16 Configure a credential helper to remove this warning. See 17:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:16 17:58:16 Login Succeeded 17:58:16 docker.io 17:58:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:16 Configure a credential helper to remove this warning. See 17:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:16 17:58:16 Login Succeeded 17:58:16 ---> docker-login.sh ends [Pipeline] } 17:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:16 ========================================================= 17:58:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:58:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:58:17 Sending build context to Docker daemon 23.09MB 17:58:17 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:58:17 Step 2/12 : FROM ${BASE} AS builder 17:58:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:58:17 2408cc74d12b: Pulling fs layer 17:58:17 ea60b727a1ce: Pulling fs layer 17:58:17 30c4a7721957: Pulling fs layer 17:58:17 370296b7ddb6: Pulling fs layer 17:58:17 7c6cee850709: Pulling fs layer 17:58:17 39a5fcdaea64: Pulling fs layer 17:58:17 d94ebbe4e438: Pulling fs layer 17:58:17 bcfd1f05c69d: Pulling fs layer 17:58:17 59ccb84bbe0f: Pulling fs layer 17:58:17 370296b7ddb6: Waiting 17:58:17 7c6cee850709: Waiting 17:58:17 39a5fcdaea64: Waiting 17:58:17 d94ebbe4e438: Waiting 17:58:17 bcfd1f05c69d: Waiting 17:58:17 30c4a7721957: Verifying Checksum 17:58:17 30c4a7721957: Download complete 17:58:17 ea60b727a1ce: Verifying Checksum 17:58:17 ea60b727a1ce: Download complete 17:58:17 7c6cee850709: Verifying Checksum 17:58:17 7c6cee850709: Download complete 17:58:17 39a5fcdaea64: Verifying Checksum 17:58:17 39a5fcdaea64: Download complete 17:58:17 2408cc74d12b: Verifying Checksum 17:58:17 d94ebbe4e438: Download complete 17:58:17 2408cc74d12b: Pull complete 17:58:17 ea60b727a1ce: Pull complete 17:58:17 30c4a7721957: Pull complete 17:58:18 59ccb84bbe0f: Verifying Checksum 17:58:18 59ccb84bbe0f: Download complete 17:58:18 bcfd1f05c69d: Verifying Checksum 17:58:18 bcfd1f05c69d: Download complete 17:58:18 370296b7ddb6: Verifying Checksum 17:58:18 370296b7ddb6: Download complete 17:58:23 370296b7ddb6: Pull complete 17:58:23 7c6cee850709: Pull complete 17:58:23 39a5fcdaea64: Pull complete 17:58:23 d94ebbe4e438: Pull complete 17:58:25 bcfd1f05c69d: Pull complete 17:58:26 59ccb84bbe0f: Pull complete 17:58:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:58:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:58:26 ---> a4fb48ad2a94 17:58:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:58:28 ---> Running in 262016bc1051 17:58:28 Removing intermediate container 262016bc1051 17:58:28 ---> 25678ccf0048 17:58:28 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:58:28 ---> Running in f31f0fe81b48 17:58:28 Removing intermediate container f31f0fe81b48 17:58:28 ---> 48ec393735da 17:58:28 Step 5/12 : WORKDIR /device-virtual-go 17:58:28 ---> Running in 24e440e11be8 17:58:28 Removing intermediate container 24e440e11be8 17:58:28 ---> 3346f0dc32ab 17:58:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:58:28 ---> Running in 02664e5fe88f 17:58:28 Removing intermediate container 02664e5fe88f 17:58:28 ---> ea4c30c680f3 17:58:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:28 ---> Running in 4dcf191695ef 17:58:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:58:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:58:30 (1/4) Installing openssh-keygen (9.0_p1-r1) 17:58:30 (2/4) Installing libedit (20210910.3.1-r0) 17:58:30 (3/4) Installing openssh-client-common (9.0_p1-r1) 17:58:30 (4/4) Installing openssh-client-default (9.0_p1-r1) 17:58:30 Still waiting to schedule task 17:58:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:58:30 Executing busybox-1.35.0-r13.trigger 17:58:30 OK: 216 MiB in 55 packages 17:58:31 Removing intermediate container 4dcf191695ef 17:58:31 ---> 9dd87bad8e67 17:58:31 Step 8/12 : COPY go.mod vendor* ./ 17:58:31 ---> 7a6b671ad0c4 17:58:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:31 ---> Running in e9fe341440ac 17:58:46 Removing intermediate container e9fe341440ac 17:58:46 ---> 035ac04961db 17:58:46 Step 10/12 : COPY . . 17:58:46 ---> 97d1a9fc84cd 17:58:46 Step 11/12 : ARG MAKE='make build' 17:58:46 ---> Running in cde3ffde8d34 17:58:46 Removing intermediate container cde3ffde8d34 17:58:46 ---> 2c6054ca2d1b 17:58:46 Step 12/12 : RUN $MAKE 17:58:47 ---> Running in 3dd88a7d5e58 17:58:47 noop 17:58:47 Removing intermediate container 3dd88a7d5e58 17:58:47 ---> 5e01d6692a05 17:58:47 Successfully built 5e01d6692a05 17:58:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:47 + docker inspect -f . ci-base-image-x86_64 17:58:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:48 prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container 17:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:48 $ docker top b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 -eo pid,comm [Pipeline] { [Pipeline] sh 17:58:48 + go version 17:58:48 go version go1.18.3 linux/amd64 [Pipeline] } 17:58:48 $ docker stop --time=1 b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 17:58:50 $ docker rm -f b1c8f3dabdd9acef426a53fa2c5698f3666145574b7807524ddbe3db85f1fa32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:50 + docker inspect -f . ci-base-image-x86_64 17:58:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:58:50 prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container 17:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:58:51 $ docker top 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:58:51 + make test 17:58:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:58:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:59:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:59:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 17:59:11 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:59:11 cmd/main.go:1: : error obtaining VCS status: exit status 128 17:59:11 Use -buildvcs=false to disable VCS stamping. (typecheck) 17:59:11 // -*- Mode: Go; indent-tabs-mode: t -*- 17:59:11 make: *** [Makefile:51: lint] Error 1 [Pipeline] } 17:59:11 $ docker stop --time=1 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 17:59:13 $ docker rm -f 2675668c4c845a1bc93c2aff8cda607c93930c380a3f61ec2865b0196656f1d0 [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 17:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:13 17:59:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:13 latest: Pulling from edgex-lftools-log-publisher 17:59:13 5eb5b503b376: Pulling fs layer 17:59:13 5c69ac0246d0: Pulling fs layer 17:59:13 ec43610c2a17: Pulling fs layer 17:59:13 3a2ae6a8a46f: Pulling fs layer 17:59:13 33b1e0a273af: Pulling fs layer 17:59:13 5d3b04190fa2: Pulling fs layer 17:59:13 2f39f015ded8: Pulling fs layer 17:59:13 3a2ae6a8a46f: Waiting 17:59:13 33b1e0a273af: Waiting 17:59:13 5c69ac0246d0: Verifying Checksum 17:59:13 5c69ac0246d0: Download complete 17:59:13 3a2ae6a8a46f: Verifying Checksum 17:59:13 3a2ae6a8a46f: Download complete 17:59:13 33b1e0a273af: Verifying Checksum 17:59:13 33b1e0a273af: Download complete 17:59:14 5d3b04190fa2: Verifying Checksum 17:59:14 5d3b04190fa2: Download complete 17:59:14 ec43610c2a17: Verifying Checksum 17:59:14 ec43610c2a17: Download complete 17:59:14 5eb5b503b376: Download complete 17:59:14 2f39f015ded8: Download complete 17:59:15 5eb5b503b376: Pull complete 17:59:15 5c69ac0246d0: Pull complete 17:59:16 ec43610c2a17: Pull complete 17:59:16 3a2ae6a8a46f: Pull complete 17:59:16 33b1e0a273af: Pull complete 17:59:16 5d3b04190fa2: Pull complete 17:59:22 2f39f015ded8: Pull complete 17:59:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:59:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:59:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:22 prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container 17:59:22 $ 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-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:59:23 $ docker top 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:59:24 ---> job-cost.sh 17:59:24 lf-activate-venv: SKIPPING 17:59:24 INFO: No Stack... 17:59:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:59:25 INFO: Archiving Costs [Pipeline] sh 17:59:25 + cat /w/workspace/foundry_device-virtual-go_PR-294/archives/cost.csv 17:59:25 + cut -d, -f6 [Pipeline] lock 17:59:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] 17:59:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] did not exist. Created. 17:59:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:59:25 + echo total: 0.2199999988079071 [Pipeline] stash 17:59:25 Stashed 1 file(s) [Pipeline] } 17:59:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] // lock [Pipeline] } 17:59:25 $ docker stop --time=1 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 17:59:27 $ docker rm -f 436a67c703def7938416eb2a0b4ac5cc686e24d74ccde741d78fe16a10caa910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:59:27 Failed in branch amd64 18:01:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19317 in /w/workspace/foundry_device-virtual-go_PR-294 [Pipeline] { [Pipeline] ws 18:01:15 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 18:01:16 The recommended git tool is: git 18:01:22 using credential edgex-jenkins-ssh 18:01:22 Cloning the remote Git repository 18:01:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:01:22 > git init /w/workspace/device-virtual-go/3 # timeout=10 18:01:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:01:22 > git --version # timeout=10 18:01:22 > git --version # 'git version 2.25.1' 18:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:01:25 Merging remotes/origin/main commit 9528f76d0c83bd26f38fd0f12715516a47528699 into PR head commit cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb 18:01:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:01:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:01:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:01:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:01:24 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/294/head:refs/remotes/origin/PR-294 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:01:25 > git config core.sparsecheckout # timeout=10 18:01:25 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 18:01:25 Merge succeeded, producing cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb 18:01:25 Checking out Revision cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb (PR-294) 18:01:25 > git remote # timeout=10 18:01:25 > git config --get remote.origin.url # timeout=10 18:01:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:01:25 > git merge 9528f76d0c83bd26f38fd0f12715516a47528699 # timeout=10 18:01:25 > git rev-parse HEAD^{commit} # timeout=10 18:01:25 > git config core.sparsecheckout # timeout=10 18:01:25 > git checkout -f cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb # timeout=10 18:01:29 Commit message: "build: Upgrade to Go 1.18 and alpine 3.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:01:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:01:30 Dload Upload Total Spent Left Speed 18:01:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 96661 0 --:--:-- --:--:-- --:--:-- 95906 [Pipeline] sh 18:01:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:01:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:01:32 + sudo tee /etc/docker/daemon.new 18:01:32 { 18:01:32 "registry-mirrors": [ 18:01:32 "https://nexus3.edgexfoundry.org:10001" 18:01:32 ], 18:01:32 "bip": "10.250.0.254/24", 18:01:32 "hosts": [ 18:01:32 "tcp://0.0.0.0:5555", 18:01:32 "unix:///var/run/docker.sock" 18:01:32 ], 18:01:32 "mtu": 1458, 18:01:32 "selinux-enabled": true, 18:01:32 "seccomp-profile": "/etc/docker/seccomp.json" 18:01:32 } [Pipeline] sh 18:01:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:01:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:51 provisioning config files... 18:01:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3863078098698096475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:51 ---> docker-login.sh 18:01:51 nexus3.edgexfoundry.org:10001 18:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:52 Configure a credential helper to remove this warning. See 18:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:52 18:01:52 Login Succeeded 18:01:52 nexus3.edgexfoundry.org:10002 18:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:52 Configure a credential helper to remove this warning. See 18:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:52 18:01:52 Login Succeeded 18:01:52 nexus3.edgexfoundry.org:10003 18:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:53 Configure a credential helper to remove this warning. See 18:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:53 18:01:53 Login Succeeded 18:01:53 nexus3.edgexfoundry.org:10004 18:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:53 Configure a credential helper to remove this warning. See 18:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:53 18:01:53 Login Succeeded 18:01:53 docker.io 18:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:54 Configure a credential helper to remove this warning. See 18:01:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:54 18:01:54 Login Succeeded 18:01:54 ---> docker-login.sh ends [Pipeline] } 18:01:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:01:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:01:55 ========================================================= 18:01:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:01:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:01:55 Sending build context to Docker daemon 11.69MB 18:01:56 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:01:56 Step 2/12 : FROM ${BASE} AS builder 18:01:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:01:56 b3c136eddcbf: Pulling fs layer 18:01:56 c0a3192eca97: Pulling fs layer 18:01:56 a050256f5b6f: Pulling fs layer 18:01:56 656be50a0ddc: Pulling fs layer 18:01:56 2bbca73fdf42: Pulling fs layer 18:01:56 46d945488cbd: Pulling fs layer 18:01:56 8a5474983e97: Pulling fs layer 18:01:56 329c88fbcd65: Pulling fs layer 18:01:56 656be50a0ddc: Waiting 18:01:56 2bbca73fdf42: Waiting 18:01:56 46d945488cbd: Waiting 18:01:56 8a5474983e97: Waiting 18:01:56 329c88fbcd65: Waiting 18:01:56 a050256f5b6f: Verifying Checksum 18:01:56 a050256f5b6f: Download complete 18:01:56 c0a3192eca97: Verifying Checksum 18:01:56 c0a3192eca97: Download complete 18:01:56 2bbca73fdf42: Verifying Checksum 18:01:56 2bbca73fdf42: Download complete 18:01:56 b3c136eddcbf: Verifying Checksum 18:01:56 b3c136eddcbf: Download complete 18:01:56 46d945488cbd: Verifying Checksum 18:01:56 46d945488cbd: Download complete 18:01:57 b3c136eddcbf: Pull complete 18:01:57 329c88fbcd65: Verifying Checksum 18:01:57 329c88fbcd65: Download complete 18:01:57 c0a3192eca97: Pull complete 18:01:58 a050256f5b6f: Pull complete 18:01:58 8a5474983e97: Verifying Checksum 18:01:58 8a5474983e97: Download complete 18:01:59 656be50a0ddc: Verifying Checksum 18:01:59 656be50a0ddc: Download complete 18:02:11 656be50a0ddc: Pull complete 18:02:11 2bbca73fdf42: Pull complete 18:02:11 46d945488cbd: Pull complete 18:02:18 8a5474983e97: Pull complete 18:02:19 329c88fbcd65: Pull complete 18:02:19 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:02:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:02:19 ---> ff4287adb874 18:02:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:02:20 ---> Running in ce49e3f6947f 18:02:21 Removing intermediate container ce49e3f6947f 18:02:21 ---> 1ec373507d4c 18:02:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:02:21 ---> Running in 6fd5a060eb74 18:02:21 Removing intermediate container 6fd5a060eb74 18:02:21 ---> a27c18ca228b 18:02:21 Step 5/12 : WORKDIR /device-virtual-go 18:02:22 ---> Running in 45cff156b6b7 18:02:23 Removing intermediate container 45cff156b6b7 18:02:23 ---> 5d32256a4b29 18:02:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:23 ---> Running in 63438535f0cd 18:02:25 Removing intermediate container 63438535f0cd 18:02:25 ---> 52aa1d544caf 18:02:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:25 ---> Running in 45b900d3c3dd 18:02:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:02:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:02:27 (1/4) Installing openssh-keygen (9.0_p1-r1) 18:02:28 (2/4) Installing libedit (20210910.3.1-r0) 18:02:28 (3/4) Installing openssh-client-common (9.0_p1-r1) 18:02:28 (4/4) Installing openssh-client-default (9.0_p1-r1) 18:02:28 Executing busybox-1.35.0-r13.trigger 18:02:28 OK: 226 MiB in 55 packages 18:02:29 Removing intermediate container 45b900d3c3dd 18:02:29 ---> ebfd6cb869b0 18:02:29 Step 8/12 : COPY go.mod vendor* ./ 18:02:30 ---> 0013ff48364f 18:02:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:30 ---> Running in e16e2d83f660 18:03:16 Removing intermediate container e16e2d83f660 18:03:16 ---> cfffcdedbf4b 18:03:16 Step 10/12 : COPY . . 18:03:16 ---> ad4a5bc3a5b4 18:03:16 Step 11/12 : ARG MAKE='make build' 18:03:16 ---> Running in 71f026cab169 18:03:16 Removing intermediate container 71f026cab169 18:03:16 ---> 7325dae83ef4 18:03:16 Step 12/12 : RUN $MAKE 18:03:16 ---> Running in f887d6979952 18:03:16 noop 18:03:16 Removing intermediate container f887d6979952 18:03:16 ---> 9d92b81b6c56 18:03:16 Successfully built 9d92b81b6c56 18:03:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:17 + docker inspect -f . ci-base-image-arm64 18:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:17 prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container 18:03:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:03:19 $ docker top 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:19 + go version 18:03:19 go version go1.18.3 linux/arm64 [Pipeline] } 18:03:19 $ docker stop --time=1 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 18:03:21 $ docker rm -f 161495575f7909e73a79d4d4b38706683bc182d78a5f19ce06f2b45b346ac213 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:22 + docker inspect -f . ci-base-image-arm64 18:03:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:22 prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container 18:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:03:23 $ docker top 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:03:24 + make test 18:03:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:03:26 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:04:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:04:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.145s coverage: 65.7% of statements 18:04:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:04:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:05:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:05:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:05:13 ./bin/test-attribution-txt.sh [Pipeline] echo 18:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:05:13 $ docker stop --time=1 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de 18:05:15 $ docker rm -f 2dea4a5310c3069a039fdc16a00cf6fd4294613911417f683fdc85dfb2cb76de [Pipeline] // withDockerContainer [Pipeline] sh 18:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:05:17 + ls -al . 18:05:17 total 188 18:05:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:03 . 18:05:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:01 .. 18:05:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:01 .git 18:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 .github 18:05:17 -rw-rw-r-- 1 jenkins jenkins 337 Jul 11 18:01 .gitignore 18:05:17 -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:01 .golangci.yml 18:05:17 -rw-rw-r-- 1 jenkins jenkins 8152 Jul 11 18:01 Attribution.txt 18:05:17 -rw-rw-r-- 1 jenkins jenkins 9649 Jul 11 18:01 CHANGELOG.md 18:05:17 -rw-rw-r-- 1 jenkins jenkins 1978 Jul 11 18:01 Dockerfile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:01 GOVERNANCE.md 18:05:17 -rw-rw-r-- 1 jenkins jenkins 660 Jul 11 18:01 Jenkinsfile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:01 LICENSE 18:05:17 -rw-rw-r-- 1 jenkins jenkins 2248 Jul 11 18:01 Makefile 18:05:17 -rw-rw-r-- 1 jenkins jenkins 623 Jul 11 18:01 OWNERS.md 18:05:17 -rw-rw-r-- 1 jenkins jenkins 2914 Jul 11 18:01 README.md 18:05:17 -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 17:58 VERSION 18:05:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:01 bin 18:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 cmd 18:05:17 -rw-r--r-- 1 jenkins jenkins 44128 Jul 11 18:04 coverage.out 18:05:17 -rw-rw-r-- 1 jenkins jenkins 3190 Jul 11 18:01 go.mod 18:05:17 -rw-rw-r-- 1 jenkins jenkins 34837 Jul 11 18:01 go.sum 18:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:01 internal 18:05:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:01 snap 18:05:17 -rw-rw-r-- 1 jenkins jenkins 235 Jul 11 18:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:17 + 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=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb --label arch=arm64 --label version=0.0.0 . 18:05:18 Sending build context to Docker daemon 11.74MB 18:05:18 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:05:18 Step 2/26 : FROM ${BASE} AS builder 18:05:18 ---> 9d92b81b6c56 18:05:18 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:05:18 ---> Running in d45e2a4d3c3e 18:05:18 Removing intermediate container d45e2a4d3c3e 18:05:18 ---> feea7b813c51 18:05:18 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:05:18 ---> Running in 58886c37ae20 18:05:19 Removing intermediate container 58886c37ae20 18:05:19 ---> bbcaa085f44b 18:05:19 Step 5/26 : WORKDIR /device-virtual-go 18:05:19 ---> Running in 849b87376299 18:05:19 Removing intermediate container 849b87376299 18:05:19 ---> 943729bcfc70 18:05:19 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:05:19 ---> Running in 5edae736c70a 18:05:21 Removing intermediate container 5edae736c70a 18:05:21 ---> 6bd19fa3aea4 18:05:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:21 ---> Running in 4a9b3072e2bc 18:05:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:05:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:05:24 OK: 226 MiB in 55 packages 18:05:25 Removing intermediate container 4a9b3072e2bc 18:05:25 ---> 9eb685c7cf0e 18:05:25 Step 8/26 : COPY go.mod vendor* ./ 18:05:25 ---> 4af990b5548a 18:05:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:25 ---> Running in e66a50cf6e0e 18:05:27 Removing intermediate container e66a50cf6e0e 18:05:27 ---> 0d4d346f8a15 18:05:27 Step 10/26 : COPY . . 18:05:28 ---> 31a5348ef4a7 18:05:28 Step 11/26 : ARG MAKE='make build' 18:05:28 ---> Running in 62dd59b5a76b 18:05:29 Removing intermediate container 62dd59b5a76b 18:05:29 ---> 16cad81bcc15 18:05:29 Step 12/26 : RUN $MAKE 18:05:29 ---> Running in e32bb3a1ff55 18:05:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 18:07:52 Removing intermediate container e32bb3a1ff55 18:07:52 ---> 2f9bcf4a0d4a 18:07:52 Step 13/26 : FROM alpine:3.16 18:07:52 3.16: Pulling from library/alpine 18:07:52 b3c136eddcbf: Already exists 18:07:52 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 18:07:52 Status: Downloaded newer image for alpine:3.16 18:07:52 ---> 6e30ab57aeee 18:07:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:07:52 ---> Running in 9965d0af4cf1 18:07:52 Removing intermediate container 9965d0af4cf1 18:07:52 ---> 90fe2c387224 18:07:52 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:52 ---> Running in c84ed91d1c18 18:07:52 Removing intermediate container c84ed91d1c18 18:07:52 ---> 4672d8be5e30 18:07:52 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:07:52 ---> Running in 3e12bfee7a38 18:07:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:07:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:07:53 (1/6) Installing dumb-init (1.2.5-r1) 18:07:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:07:53 (3/6) Installing libsodium (1.0.18-r0) 18:07:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:07:53 (5/6) Installing libzmq (4.3.4-r0) 18:07:53 (6/6) Installing zeromq (4.3.4-r0) 18:07:53 Executing busybox-1.35.0-r13.trigger 18:07:53 OK: 8 MiB in 20 packages 18:07:54 Removing intermediate container 3e12bfee7a38 18:07:54 ---> ff9cbb311bde 18:07:54 Step 17/26 : WORKDIR / 18:07:54 ---> Running in d77dd8837636 18:07:55 Removing intermediate container d77dd8837636 18:07:55 ---> 7c9637426ae9 18:07:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:07:55 ---> 8f21f78a9cb7 18:07:55 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:07:56 ---> 8220eec43ae7 18:07:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:07:57 ---> 471610ee636d 18:07:57 Step 21/26 : EXPOSE 59900 18:07:57 ---> Running in 88d57d6f0bd0 18:07:58 Removing intermediate container 88d57d6f0bd0 18:07:58 ---> 2de5c779856d 18:07:58 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:07:58 ---> Running in f542c1d115b1 18:07:58 Removing intermediate container f542c1d115b1 18:07:58 ---> b17802e59444 18:07:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:07:58 ---> Running in 33f8cd4ae361 18:07:58 Removing intermediate container 33f8cd4ae361 18:07:58 ---> 0a3aa9178e7b 18:07:58 Step 24/26 : LABEL arch=arm64 18:07:58 ---> Running in f84750539ebe 18:07:59 Removing intermediate container f84750539ebe 18:07:59 ---> 206c863d5ec1 18:07:59 Step 25/26 : LABEL git_sha=cd58f92aeae93a046c0bf3c9c9a4b26e2e4247bb 18:07:59 ---> Running in 9c84629b41f7 18:07:59 Removing intermediate container 9c84629b41f7 18:07:59 ---> 8a1580f324cf 18:07:59 Step 26/26 : LABEL version=0.0.0 18:07:59 ---> Running in bd1bef41f1c0 18:07:59 Removing intermediate container bd1bef41f1c0 18:07:59 ---> cc9d7e9f4d42 18:07:59 [Warning] One or more build-args [ARCH] were not consumed 18:07:59 Successfully built cc9d7e9f4d42 18:07:59 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 18:08:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:00 18:08:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:01 arm64: Pulling from edgex-lftools-log-publisher 18:08:01 8998bd30e6a1: Pulling fs layer 18:08:01 04944245beec: Pulling fs layer 18:08:01 699f458cf7ca: Pulling fs layer 18:08:01 765212b225bb: Pulling fs layer 18:08:01 f23df028b6ca: Pulling fs layer 18:08:01 d65c8cfc05b1: Pulling fs layer 18:08:01 2437ff75d9bd: Pulling fs layer 18:08:01 f23df028b6ca: Waiting 18:08:01 d65c8cfc05b1: Waiting 18:08:01 2437ff75d9bd: Waiting 18:08:01 765212b225bb: Waiting 18:08:01 04944245beec: Verifying Checksum 18:08:01 04944245beec: Download complete 18:08:01 765212b225bb: Verifying Checksum 18:08:01 765212b225bb: Download complete 18:08:01 f23df028b6ca: Verifying Checksum 18:08:01 f23df028b6ca: Download complete 18:08:01 d65c8cfc05b1: Verifying Checksum 18:08:01 d65c8cfc05b1: Download complete 18:08:01 699f458cf7ca: Verifying Checksum 18:08:01 699f458cf7ca: Download complete 18:08:01 8998bd30e6a1: Verifying Checksum 18:08:01 8998bd30e6a1: Download complete 18:08:04 2437ff75d9bd: Verifying Checksum 18:08:04 2437ff75d9bd: Download complete 18:08:06 8998bd30e6a1: Pull complete 18:08:06 04944245beec: Pull complete 18:08:08 699f458cf7ca: Pull complete 18:08:08 765212b225bb: Pull complete 18:08:09 f23df028b6ca: Pull complete 18:08:09 d65c8cfc05b1: Pull complete 18:08:24 2437ff75d9bd: Pull complete 18:08:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:08:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:25 prd-ubuntu20.04-docker-arm64-4c-16g-19317 does not seem to be running inside a container 18:08:25 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:08:28 $ docker top 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:08:29 ---> job-cost.sh 18:08:29 lf-activate-venv: SKIPPING 18:08:29 INFO: No Stack... 18:08:29 INFO: Retrieving Pricing Info for: v3-standard-4 18:08:30 INFO: Archiving Costs [Pipeline] sh 18:08:31 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 18:08:31 + cut -d, -f6 [Pipeline] lock 18:08:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] 18:08:31 Resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] did not exist. Created. 18:08:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:08:31 /w/workspace/device-virtual-go/3@tmp/durable-029c2477/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:08:32 + echo total: 0.10999999940395355 [Pipeline] stash 18:08:32 Warning: overwriting stash ‘stack-cost’ 18:08:32 Stashed 1 file(s) [Pipeline] } 18:08:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-294-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:08:32 $ docker stop --time=1 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 18:08:34 $ docker rm -f 908acc1289eecd746f344c530b28d8ee959ba3db3c771d91e691fc74260b7712 [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) 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 18:08:35 + [ -d /w/workspace/foundry_device-virtual-go_PR-294/archives ] 18:08:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives 18:08:35 total 16 18:08:35 drwxr-xr-x 3 root root 4096 Jul 11 17:59 . 18:08:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:59 .. 18:08:35 drwxr-xr-x 2 root root 4096 Jul 11 17:59 cost 18:08:35 -rw-r--r-- 1 root root 88 Jul 11 17:59 cost.csv 18:08:35 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-294/archives 18:08:35 + ls -al /w/workspace/foundry_device-virtual-go_PR-294/archives 18:08:35 total 16 18:08:35 drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 17:59 . 18:08:35 drwxrwxr-x 10 jenkins jenkins 4096 Jul 11 17:59 .. 18:08:35 drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 17:59 cost 18:08:35 -rw-r--r-- 1 jenkins jenkins 88 Jul 11 17:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:08:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:08:36 ---> package-listing.sh 18:08:36 ++ facter osfamily 18:08:36 ++ tr '[:upper:]' '[:lower:]' 18:08:36 + OS_FAMILY=debian 18:08:36 + workspace=/w/workspace/foundry_device-virtual-go_PR-294 18:08:36 + START_PACKAGES=/tmp/packages_start.txt 18:08:36 + END_PACKAGES=/tmp/packages_end.txt 18:08:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:08:36 + PACKAGES=/tmp/packages_start.txt 18:08:36 + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' 18:08:36 + PACKAGES=/tmp/packages_end.txt 18:08:36 + case "${OS_FAMILY}" in 18:08:36 + dpkg -l 18:08:36 + grep '^ii' 18:08:36 + '[' -f /tmp/packages_start.txt ']' 18:08:36 + '[' -f /tmp/packages_end.txt ']' 18:08:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:08:36 + '[' /w/workspace/foundry_device-virtual-go_PR-294 ']' 18:08:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-294/archives/ 18:08:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-294/archives/ [Pipeline] echo 18:08: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-294/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:08:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:08:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:08:37 prd-ubuntu20.04-docker-8c-8g-19316 does not seem to be running inside a container 18:08:37 $ 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-294/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-294 -v /w/workspace/foundry_device-virtual-go_PR-294:/w/workspace/foundry_device-virtual-go_PR-294:rw,z -v /w/workspace/foundry_device-virtual-go_PR-294@tmp:/w/workspace/foundry_device-virtual-go_PR-294@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:08:37 $ docker top 3b742525258b99e698a9ec7c77a3355568d3d13914b004f100a9b678b1c16d2f -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:38 + touch /tmp/pre-build-complete [Pipeline] sh 18:08:38 + mkdir -p /var/log/sysstat [Pipeline] sh 18:08:38 + ls /var/log/sa-host 18:08:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:08:38 provisioning config files... 18:08:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-294@tmp/config5299214699742332093tmp [Pipeline] { [Pipeline] echo 18:08:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:08:39 ---> create-netrc.sh [Pipeline] } 18:08:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:08:39 ---> python-tools-install.sh [Pipeline] echo 18:08:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:08:39 ---> sudo-logs.sh 18:08:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:08:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:08:40 ---> job-cost.sh 18:08:40 lf-activate-venv: SKIPPING 18:08:40 DEBUG: total: 0.2199999988079071 18:08:40 INFO: Retrieving Stack Cost... 18:08:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:08:40 INFO: Archiving Costs [Pipeline] echo 18:08:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:08:41 ---> logs-deploy.sh 18:08:41 lf-activate-venv: SKIPPING 18:08:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-294/3 18:08:41 INFO: archiving workspace using pattern(s): 18:08:42 Archives upload complete. 18:08:42 INFO: archiving logs to Nexus