Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c3c9a5af3072c39397f92becfe075ff48f905921 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-ssh4874871084694498547.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh14856406765747495171.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/jakarta/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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12695449733816660880.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh9795288803159948746.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/jakarta/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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4175390336854373857.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.17 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 [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-757 in /w/workspace/oundry_device-virtual-go_jakarta [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/oundry_device-virtual-go_jakarta # 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 Avoid second fetch Checking out Revision c3c9a5af3072c39397f92becfe075ff48f905921 (jakarta) > 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 core.sparsecheckout # timeout=10 > git checkout -f c3c9a5af3072c39397f92becfe075ff48f905921 # timeout=10 Commit message: "Merge pull request #289 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" > git rev-list --no-walk c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:35:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:35:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:35:23 ========================================================= 00:35:23 EdgeX Global Pipelines Version Info 00:35:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:35:24 ------------------- 00:35:24 stable info: 00:35:24 ------------------- 00:35:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:35:24 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 00:35:24 Message: update stable to v1.0.230 00:35:25 ------------------- 00:35:25 experimental info: 00:35:25 ------------------- 00:35:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:35:25 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 00:35:25 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3c9a5a [Pipeline] echo 00:35:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:35:25 provisioning config files... 00:35:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config6974656144665497464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:26 ---> docker-login.sh 00:35:26 nexus3.edgexfoundry.org:10001 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 nexus3.edgexfoundry.org:10002 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 nexus3.edgexfoundry.org:10003 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 nexus3.edgexfoundry.org:10004 00:35:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:26 Configure a credential helper to remove this warning. See 00:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:26 00:35:26 Login Succeeded 00:35:26 docker.io 00:35:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:27 Configure a credential helper to remove this warning. See 00:35:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:27 00:35:27 Login Succeeded 00:35:27 ---> docker-login.sh ends [Pipeline] } 00:35:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:35:27 + git rev-list -1 --merges c3c9a5af3072c39397f92becfe075ff48f905921~1..c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] echo 00:35:27 -----------> git rev-list -1 --merges c3c9a5af3072c39397f92becfe075ff48f905921~1..c3c9a5af3072c39397f92becfe075ff48f905921 c3c9a5af3072c39397f92becfe075ff48f905921 00:35:27 c3c9a5af3072c39397f92becfe075ff48f905921 [false] [Pipeline] sh 00:35:28 + git log --format=format:%s -1 c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] echo 00:35:28 ========================================================= 00:35:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:35:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:35:28 + git log --format=format:%s -1 c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] echo 00:35:28 [semverPrep] GIT_COMMIT: c3c9a5af3072c39397f92becfe075ff48f905921, Commit Message: Merge pull request #289 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log [Pipeline] echo 00:35:28 [semverPrep] This is not a build commit. [Pipeline] sh 00:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:35:28 + grep -v github /etc/ssh/ssh_known_hosts 00:35:28 + [ -e /tmp/ssh_known_hosts ] 00:35:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:35:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:35:28 + sudo tee -a /etc/ssh/ssh_known_hosts 00:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:35:29 00:35:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:35:29 latest: Pulling from edgex-devops/py-git-semver 00:35:29 42c077c10790: Pulling fs layer 00:35:29 f63e77b7563a: Pulling fs layer 00:35:29 bd5fdadae976: Pulling fs layer 00:35:29 205491f53016: Pulling fs layer 00:35:29 df18705c85c3: Pulling fs layer 00:35:29 205491f53016: Waiting 00:35:29 df18705c85c3: Waiting 00:35:29 bdb3f477010e: Pulling fs layer 00:35:29 c8a8fc8e1c8f: Pulling fs layer 00:35:29 2c6e9b1d212d: Pulling fs layer 00:35:29 bdb8f0575790: Pulling fs layer 00:35:29 bdb3f477010e: Waiting 00:35:29 c8a8fc8e1c8f: Waiting 00:35:29 386e3cb2ff24: Pulling fs layer 00:35:29 2c6e9b1d212d: Waiting 00:35:29 2343380bae48: Pulling fs layer 00:35:29 386e3cb2ff24: Waiting 00:35:29 2343380bae48: Waiting 00:35:29 f63e77b7563a: Download complete 00:35:29 205491f53016: Verifying Checksum 00:35:29 205491f53016: Download complete 00:35:29 df18705c85c3: Verifying Checksum 00:35:29 df18705c85c3: Download complete 00:35:29 bd5fdadae976: Verifying Checksum 00:35:29 bd5fdadae976: Download complete 00:35:29 bdb3f477010e: Verifying Checksum 00:35:29 bdb3f477010e: Download complete 00:35:29 2c6e9b1d212d: Verifying Checksum 00:35:29 2c6e9b1d212d: Download complete 00:35:29 bdb8f0575790: Verifying Checksum 00:35:29 bdb8f0575790: Download complete 00:35:29 386e3cb2ff24: Verifying Checksum 00:35:29 386e3cb2ff24: Download complete 00:35:29 2343380bae48: Download complete 00:35:29 42c077c10790: Verifying Checksum 00:35:29 42c077c10790: Download complete 00:35:30 c8a8fc8e1c8f: Download complete 00:35:31 42c077c10790: Pull complete 00:35:31 f63e77b7563a: Pull complete 00:35:32 bd5fdadae976: Pull complete 00:35:32 205491f53016: Pull complete 00:35:32 df18705c85c3: Pull complete 00:35:32 bdb3f477010e: Pull complete 00:35:34 c8a8fc8e1c8f: Pull complete 00:35:34 2c6e9b1d212d: Pull complete 00:35:34 bdb8f0575790: Pull complete 00:35:34 386e3cb2ff24: Pull complete 00:35:34 2343380bae48: Pull complete 00:35:34 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:35:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:35:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:35:35 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:35:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:35:36 $ docker top 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 -eo pid,comm 00:35:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:35:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:35:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:36 [ssh-agent] Looking for ssh-agent implementation... 00:35:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:36 $ docker exec 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 ssh-agent 00:35:36 SSH_AUTH_SOCK=/tmp/ssh-iNn0PdZVqldS/agent.33 00:35:36 SSH_AGENT_PID=39 00:35:37 Running ssh-add (command line suppressed) 00:35:37 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4846203223861758880.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4846203223861758880.key) 00:35:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:37 + git tag --points-at HEAD [Pipeline] } 00:35:37 $ docker exec --env ******** --env ******** 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 ssh-agent -k 00:35:37 unset SSH_AUTH_SOCK; 00:35:37 unset SSH_AGENT_PID; 00:35:37 echo Agent pid 39 killed; 00:35:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:35:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:35:37 [ssh-agent] Looking for ssh-agent implementation... 00:35:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:35:37 $ docker exec 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 ssh-agent 00:35:37 SSH_AUTH_SOCK=/tmp/ssh-jyK6dBbIBsX9/agent.73 00:35:37 SSH_AGENT_PID=80 00:35:37 Running ssh-add (command line suppressed) 00:35:37 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_6026984468464262586.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_6026984468464262586.key) 00:35:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:35:38 + git semver init 00:35:38 2022-06-03 00:35:38,503 [run_init] DEBUG init version:0.0.0 force:False 00:35:38 2022-06-03 00:35:38,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-virtual-go_jakarta/.semver 00:35:38 2022-06-03 00:35:38,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/oundry_device-virtual-go_jakarta/.semver 00:35:38 2022-06-03 00:35:38,504 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/oundry_device-virtual-go_jakarta/.semver'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=None) 00:35:39 2022-06-03 00:35:39,472 [append_file] DEBUG append to file:/w/workspace/oundry_device-virtual-go_jakarta/.git/info/exclude 00:35:39 2022-06-03 00:35:39,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta with force:False 00:35:39 2022-06-03 00:35:39,473 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:35:39 2022-06-03 00:35:39,473 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:35:39 2.1.1-dev.2 [Pipeline] } 00:35:39 $ docker exec --env ******** --env ******** 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 ssh-agent -k 00:35:39 unset SSH_AUTH_SOCK; 00:35:39 unset SSH_AGENT_PID; 00:35:39 echo Agent pid 80 killed; 00:35:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:35:39 + git semver [Pipeline] } 00:35:40 $ docker stop --time=1 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 00:35:41 $ docker rm -f 24f3a788c56d69b059eae0f85bf628dd79c6a615a03ee686b6aa71bb2c0a9141 [Pipeline] // withDockerContainer [Pipeline] sh 00:35:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:35:42 Stashed 1 file(s) [Pipeline] echo 00:35:42 [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:35:42 provisioning config files... 00:35:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config5163166181443083275tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:35:42 ---> docker-login.sh 00:35:42 nexus3.edgexfoundry.org:10001 00:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:42 Configure a credential helper to remove this warning. See 00:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:42 00:35:42 Login Succeeded 00:35:42 nexus3.edgexfoundry.org:10002 00:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:42 Configure a credential helper to remove this warning. See 00:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:42 00:35:42 Login Succeeded 00:35:42 nexus3.edgexfoundry.org:10003 00:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:42 Configure a credential helper to remove this warning. See 00:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:42 00:35:42 Login Succeeded 00:35:42 nexus3.edgexfoundry.org:10004 00:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:43 Configure a credential helper to remove this warning. See 00:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:43 00:35:43 Login Succeeded 00:35:43 docker.io 00:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:35:43 Configure a credential helper to remove this warning. See 00:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:35:43 00:35:43 Login Succeeded 00:35:43 ---> docker-login.sh ends [Pipeline] } 00:35:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:35:43 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:35:43 ========================================================= 00:35:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 00:35:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:35:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:35:44 Sending build context to Docker daemon 37.48MB 00:35:44 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:35:44 Step 2/11 : FROM ${BASE} AS builder 00:35:44 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 00:35:44 59bf1c3509f3: Pulling fs layer 00:35:44 666ba61612fd: Pulling fs layer 00:35:44 8ed8ca486205: Pulling fs layer 00:35:44 4fe6c5a15a65: Pulling fs layer 00:35:44 22a0e8bec74d: Pulling fs layer 00:35:44 812f408151ee: Pulling fs layer 00:35:44 bab7bd504b26: Pulling fs layer 00:35:44 070449caade9: Pulling fs layer 00:35:44 8f1a5288e3a6: Pulling fs layer 00:35:44 812f408151ee: Waiting 00:35:44 4fe6c5a15a65: Waiting 00:35:44 bab7bd504b26: Waiting 00:35:44 8f1a5288e3a6: Waiting 00:35:44 22a0e8bec74d: Waiting 00:35:44 070449caade9: Waiting 00:35:44 8ed8ca486205: Verifying Checksum 00:35:44 8ed8ca486205: Download complete 00:35:44 666ba61612fd: Verifying Checksum 00:35:44 666ba61612fd: Download complete 00:35:44 22a0e8bec74d: Download complete 00:35:44 812f408151ee: Verifying Checksum 00:35:44 812f408151ee: Download complete 00:35:44 bab7bd504b26: Download complete 00:35:44 59bf1c3509f3: Verifying Checksum 00:35:44 59bf1c3509f3: Download complete 00:35:44 070449caade9: Verifying Checksum 00:35:44 070449caade9: Download complete 00:35:44 59bf1c3509f3: Pull complete 00:35:44 666ba61612fd: Pull complete 00:35:44 8ed8ca486205: Pull complete 00:35:45 4fe6c5a15a65: Verifying Checksum 00:35:45 4fe6c5a15a65: Download complete 00:35:45 8f1a5288e3a6: Verifying Checksum 00:35:45 8f1a5288e3a6: Download complete 00:35:49 4fe6c5a15a65: Pull complete 00:35:49 22a0e8bec74d: Pull complete 00:35:49 812f408151ee: Pull complete 00:35:49 bab7bd504b26: Pull complete 00:35:49 070449caade9: Pull complete 00:35:51 8f1a5288e3a6: Pull complete 00:35:51 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 00:35:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 00:35:51 ---> c47586b81864 00:35:51 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:35:53 ---> Running in dc29afb3e32a 00:35:53 Removing intermediate container dc29afb3e32a 00:35:53 ---> 70fcc2c23bb4 00:35:53 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:35:53 ---> Running in b21f377e676d 00:35:53 Removing intermediate container b21f377e676d 00:35:53 ---> a51437e2cbba 00:35:53 Step 5/11 : WORKDIR /device-virtual-go 00:35:53 ---> Running in 1a1242a3ed5f 00:35:53 Removing intermediate container 1a1242a3ed5f 00:35:53 ---> d56438af56eb 00:35:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:35:54 ---> Running in 69db35ff66c5 00:35:55 Removing intermediate container 69db35ff66c5 00:35:55 ---> 2549dcd03f1b 00:35:55 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:35:56 ---> Running in 7bb34be58eef 00:35:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:35:57 Still waiting to schedule task 00:35:57 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:35:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:35:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:35:57 (2/4) Installing libedit (20210910.3.1-r0) 00:35:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:35:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:35:58 Executing busybox-1.34.1-r3.trigger 00:35:58 OK: 224 MiB in 56 packages 00:35:59 Removing intermediate container 7bb34be58eef 00:35:59 ---> 4c7f594450ac 00:35:59 Step 8/11 : COPY . . 00:36:00 ---> 17b6af256ea3 00:36:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:00 ---> Running in ed73749e9606 00:36:01 skipping... 00:36:01 Removing intermediate container ed73749e9606 00:36:01 ---> 93342051ed17 00:36:01 Step 10/11 : ARG MAKE='make build' 00:36:01 ---> Running in 54f9b42d6c4b 00:36:01 Removing intermediate container 54f9b42d6c4b 00:36:01 ---> 93aaeeb235a1 00:36:01 Step 11/11 : RUN $MAKE 00:36:01 ---> Running in 6855f4348916 00:36:01 noop 00:36:02 Removing intermediate container 6855f4348916 00:36:02 ---> 5545c200a669 00:36:02 Successfully built 5545c200a669 00:36:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:02 + docker inspect -f . ci-base-image-x86_64 00:36:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:02 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:36:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** ci-base-image-x86_64 cat 00:36:03 $ docker top 88fd1ba9561ed073bcbe160a92f7c4b97b4a5a381e4d40572bd065db6e92620d -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:03 + go version 00:36:03 go version go1.17.6 linux/amd64 [Pipeline] } 00:36:03 $ docker stop --time=1 88fd1ba9561ed073bcbe160a92f7c4b97b4a5a381e4d40572bd065db6e92620d 00:36:05 $ docker rm -f 88fd1ba9561ed073bcbe160a92f7c4b97b4a5a381e4d40572bd065db6e92620d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:05 + docker inspect -f . ci-base-image-x86_64 00:36:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:36:05 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:36:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** ci-base-image-x86_64 cat 00:36:06 $ docker top 727785d2ed8fc080474d4c06e5bbcb48de47fc7a8775580b408d2d08681b8296 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:36:06 + make test 00:36:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:36:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:36:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:36:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.300s coverage: 64.6% of statements 00:36:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:36:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:36:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:36:20 ./bin/test-attribution-txt.sh 00:36:20 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:36:20 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:36:20 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:36:20 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:36:20 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:36:20 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:36:20 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:36:20 go: downloading modernc.org/ql v1.0.0 00:36:20 go: downloading github.com/google/uuid v1.3.0 00:36:20 go: downloading github.com/pelletier/go-toml v1.9.4 00:36:20 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:36:20 go: downloading github.com/gorilla/mux v1.8.0 00:36:20 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:36:20 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:36:20 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:36:20 go: downloading github.com/go-kit/kit v0.11.0 00:36:20 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:36:20 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:36:20 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:36:20 go: downloading github.com/pebbe/zmq4 v1.2.7 00:36:20 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:36:20 go: downloading github.com/hashicorp/consul/api v1.9.1 00:36:20 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:36:20 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:36:20 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:36:20 go: downloading github.com/mitchellh/copystructure v1.0.0 00:36:20 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:36:20 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:36:20 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:36:20 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:36:20 go: downloading golang.org/x/text v0.3.6 00:36:20 go: downloading modernc.org/internal v1.0.2 00:36:20 go: downloading github.com/edsrzf/mmap-go v1.0.0 00:36:20 go: downloading modernc.org/fileutil v1.0.0 00:36:20 go: downloading modernc.org/mathutil v1.4.1 00:36:20 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:36:20 go: downloading modernc.org/b v1.0.2 00:36:20 go: downloading modernc.org/db v1.0.3 00:36:20 go: downloading modernc.org/file v1.0.3 00:36:20 go: downloading modernc.org/golex v1.0.1 00:36:20 go: downloading modernc.org/lldb v1.0.2 00:36:20 go: downloading modernc.org/strutil v1.1.1 00:36:20 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:36:20 go: downloading github.com/x448/float16 v0.8.4 00:36:20 go: downloading github.com/go-playground/universal-translator v0.18.0 00:36:20 go: downloading github.com/leodido/go-urn v1.2.1 00:36:20 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:36:20 go: downloading github.com/gorilla/websocket v1.4.2 00:36:20 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:36:20 go: downloading github.com/hashicorp/errwrap v1.0.0 00:36:20 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:36:20 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:36:21 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:36:21 go: downloading github.com/hashicorp/serf v0.9.5 00:36:21 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 00:36:21 go: downloading modernc.org/sortutil v1.1.0 00:36:21 go: downloading modernc.org/zappy v1.0.3 00:36:21 go: downloading github.com/go-playground/locales v0.14.0 00:36:21 go: downloading github.com/fatih/color v1.9.0 00:36:21 go: downloading github.com/mattn/go-colorable v0.1.6 00:36:21 go: downloading github.com/mattn/go-isatty v0.0.12 00:36:21 go: downloading github.com/mitchellh/go-homedir v1.1.0 [Pipeline] echo 00:36:21 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:36:22 + go mod tidy 00:36:22 go: downloading github.com/stretchr/testify v1.7.0 00:36:22 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:36:22 go: downloading github.com/go-stack/stack v1.8.0 00:36:22 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:36:22 go: downloading github.com/onsi/ginkgo v1.10.1 00:36:22 go: downloading github.com/onsi/gomega v1.7.0 00:36:22 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:36:22 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:36:22 go: downloading github.com/golang/snappy v0.0.3 00:36:22 go: downloading github.com/kr/pretty v0.3.0 00:36:22 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:36:22 go: downloading github.com/hashicorp/memberlist v0.2.2 00:36:22 go: downloading github.com/davecgh/go-spew v1.1.1 00:36:22 go: downloading github.com/pmezard/go-difflib v1.0.0 00:36:22 go: downloading github.com/stretchr/objx v0.1.1 00:36:22 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:36:22 go: downloading github.com/kr/text v0.2.0 00:36:22 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:36:22 go: downloading gopkg.in/yaml.v2 v2.3.0 00:36:22 go: downloading github.com/hpcloud/tail v1.0.0 00:36:22 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:36:22 go: downloading gopkg.in/fsnotify.v1 v1.4.7 00:36:23 go: downloading github.com/pkg/errors v0.9.1 00:36:23 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:36:23 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:36:23 go: downloading github.com/miekg/dns v1.1.26 00:36:23 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:36:23 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [Pipeline] } 00:36:23 $ docker stop --time=1 727785d2ed8fc080474d4c06e5bbcb48de47fc7a8775580b408d2d08681b8296 00:36:28 $ docker rm -f 727785d2ed8fc080474d4c06e5bbcb48de47fc7a8775580b408d2d08681b8296 [Pipeline] // withDockerContainer [Pipeline] sh 00:36:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:36:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:36:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:36:29 + ls -al . 00:36:29 total 208 00:36:29 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 00:36 . 00:36:29 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:35 .. 00:36:29 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:35 .git 00:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 .github 00:36:29 -rw-rw-r-- 1 jenkins jenkins 262 Jun 3 00:35 .gitignore 00:36:29 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:35 .semver 00:36:29 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 3 00:35 Attribution.txt 00:36:29 -rw-rw-r-- 1 jenkins jenkins 6608 Jun 3 00:35 CHANGELOG.md 00:36:29 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 3 00:35 Dockerfile 00:36:29 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:35 GOVERNANCE.md 00:36:29 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 00:35 Jenkinsfile 00:36:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:35 LICENSE 00:36:29 -rw-rw-r-- 1 jenkins jenkins 999 Jun 3 00:35 Makefile 00:36:29 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 00:35 OWNERS.md 00:36:29 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 00:35 README.md 00:36:29 -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:35 VERSION 00:36:29 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:35 bin 00:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 cmd 00:36:29 -rw-r--r-- 1 jenkins jenkins 46339 Jun 3 00:36 coverage.out 00:36:29 -rw-rw-r-- 1 jenkins jenkins 344 Jun 3 00:36 go.mod 00:36:29 -rw-rw-r-- 1 jenkins jenkins 52299 Jun 3 00:35 go.sum 00:36:29 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:35 internal 00:36:29 drwxrwxr-x 7 jenkins jenkins 4096 Jun 3 00:35 vendor 00:36:29 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 00:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:29 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c3c9a5af3072c39397f92becfe075ff48f905921 --label arch=amd64 --label version=2.1.1-dev.2 . 00:36:30 Sending build context to Docker daemon 37.53MB 00:36:30 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 00:36:30 Step 2/25 : FROM ${BASE} AS builder 00:36:30 ---> 5545c200a669 00:36:30 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:36:30 ---> Running in b58ce699ca99 00:36:30 Removing intermediate container b58ce699ca99 00:36:30 ---> 8d741af95b83 00:36:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:36:30 ---> Running in acd736f9a925 00:36:30 Removing intermediate container acd736f9a925 00:36:30 ---> 5db0e0226937 00:36:30 Step 5/25 : WORKDIR /device-virtual-go 00:36:30 ---> Running in 29a8285dd646 00:36:30 Removing intermediate container 29a8285dd646 00:36:30 ---> d657c461269f 00:36:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:31 ---> Running in 6aef27d578af 00:36:32 Removing intermediate container 6aef27d578af 00:36:32 ---> f9a6034601e1 00:36:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:36:32 ---> Running in f8dca36efc4f 00:36:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:36:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:36:34 OK: 224 MiB in 56 packages 00:36:35 Removing intermediate container f8dca36efc4f 00:36:35 ---> 561bac341066 00:36:35 Step 8/25 : COPY . . 00:36:36 ---> 7aa7acd63756 00:36:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:36:36 ---> Running in d623171caa2b 00:36:37 skipping... 00:36:37 Removing intermediate container d623171caa2b 00:36:37 ---> 64260dc61113 00:36:37 Step 10/25 : ARG MAKE='make build' 00:36:37 ---> Running in f830af4c3a14 00:36:37 Removing intermediate container f830af4c3a14 00:36:37 ---> e17c21d38caa 00:36:37 Step 11/25 : RUN $MAKE 00:36:37 ---> Running in 6a4bb8f2da14 00:36:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.1.1-dev.2" -o cmd/device-virtual ./cmd 00:36:48 Removing intermediate container 6a4bb8f2da14 00:36:48 ---> 1a9384ffd2a3 00:36:48 Step 12/25 : FROM alpine:3.14 00:36:48 3.14: Pulling from library/alpine 00:36:48 8663204ce13b: Pulling fs layer 00:36:48 8663204ce13b: Verifying Checksum 00:36:48 8663204ce13b: Download complete 00:36:49 8663204ce13b: Pull complete 00:36:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:36:49 Status: Downloaded newer image for alpine:3.14 00:36:49 ---> e04c818066af 00:36:49 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:36:49 ---> Running in dd0698d339db 00:36:49 Removing intermediate container dd0698d339db 00:36:49 ---> 6bf2b5b79952 00:36:49 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:36:49 ---> Running in 3bcbc507245e 00:36:49 Removing intermediate container 3bcbc507245e 00:36:49 ---> db371ba9043e 00:36:49 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 00:36:49 ---> Running in c5d632f1e0be 00:36:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:36:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:36:51 (1/6) Installing dumb-init (1.2.5-r1) 00:36:51 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:36:51 (3/6) Installing libsodium (1.0.18-r0) 00:36:51 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:36:51 (5/6) Installing libzmq (4.3.4-r0) 00:36:51 (6/6) Installing zeromq (4.3.4-r0) 00:36:51 Executing busybox-1.33.1-r7.trigger 00:36:51 OK: 8 MiB in 20 packages 00:36:52 Removing intermediate container c5d632f1e0be 00:36:52 ---> bc7e529ebbe7 00:36:52 Step 16/25 : WORKDIR / 00:36:52 ---> Running in cfb26afecffd 00:36:52 Removing intermediate container cfb26afecffd 00:36:52 ---> fc059751bcf4 00:36:52 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:36:52 ---> 198387748f0e 00:36:52 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:36:53 ---> c03db25aa1cb 00:36:53 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:36:53 ---> b26aed270eb7 00:36:53 Step 20/25 : EXPOSE 59900 00:36:53 ---> Running in 53819aa735e5 00:36:53 Removing intermediate container 53819aa735e5 00:36:53 ---> 576d90066a59 00:36:53 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:36:53 ---> Running in d45367c3321e 00:36:53 Removing intermediate container d45367c3321e 00:36:53 ---> 111b46d07032 00:36:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:36:53 ---> Running in 8374ae2b08a0 00:36:53 Removing intermediate container 8374ae2b08a0 00:36:53 ---> a220e17b2217 00:36:53 Step 23/25 : LABEL arch=amd64 00:36:53 ---> Running in 7ab4d8c6b5e8 00:36:53 Removing intermediate container 7ab4d8c6b5e8 00:36:53 ---> 04e3abeb5665 00:36:53 Step 24/25 : LABEL git_sha=c3c9a5af3072c39397f92becfe075ff48f905921 00:36:54 ---> Running in 512e30b8f463 00:36:54 Removing intermediate container 512e30b8f463 00:36:54 ---> 0c7d39e1babc 00:36:54 Step 25/25 : LABEL version=2.1.1-dev.2 00:36:54 ---> Running in e853078221ee 00:36:54 Removing intermediate container e853078221ee 00:36:54 ---> fde2137b0e86 00:36:54 [Warning] One or more build-args [ARCH] were not consumed 00:36:54 Successfully built fde2137b0e86 00:36:54 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:36:54 provisioning config files... 00:36:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config1677746766569669567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:36:54 ---> docker-login.sh 00:36:54 nexus3.edgexfoundry.org:10001 00:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:54 Configure a credential helper to remove this warning. See 00:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:54 00:36:54 Login Succeeded 00:36:54 nexus3.edgexfoundry.org:10002 00:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:54 Configure a credential helper to remove this warning. See 00:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:54 00:36:54 Login Succeeded 00:36:54 nexus3.edgexfoundry.org:10003 00:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:54 Configure a credential helper to remove this warning. See 00:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:54 00:36:54 Login Succeeded 00:36:54 nexus3.edgexfoundry.org:10004 00:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:55 Configure a credential helper to remove this warning. See 00:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:55 00:36:55 Login Succeeded 00:36:55 docker.io 00:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:36:55 Configure a credential helper to remove this warning. See 00:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:36:55 00:36:55 Login Succeeded 00:36:55 ---> docker-login.sh ends [Pipeline] } 00:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:36:55 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:36:55 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 00:36:55 c3c9a5af3072c39397f92becfe075ff48f905921 00:36:55 2.1.1-dev.2 00:36:55 c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:36:55 jakarta 00:36:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921 00:36:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:36:56 453d6c13f7cb: Preparing 00:36:56 f1c79b18fe69: Preparing 00:36:56 0784c8a8b01c: Preparing 00:36:56 17e5da2c96d9: Preparing 00:36:56 ad43d1ff7c56: Preparing 00:36:56 b541d28bf3b4: Preparing 00:36:56 b541d28bf3b4: Waiting 00:36:56 0784c8a8b01c: Pushed 00:36:56 f1c79b18fe69: Pushed 00:36:56 ad43d1ff7c56: Pushed 00:36:56 b541d28bf3b4: Layer already exists 00:36:56 17e5da2c96d9: Pushed 00:36:57 453d6c13f7cb: Pushed 00:36:58 c3c9a5af3072c39397f92becfe075ff48f905921: digest: sha256:a22937568468f42e1e4ff67c9df05c67c771324a505f6b1a87646b35bcff378a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.2 00:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:36:58 453d6c13f7cb: Preparing 00:36:58 f1c79b18fe69: Preparing 00:36:58 0784c8a8b01c: Preparing 00:36:58 17e5da2c96d9: Preparing 00:36:58 ad43d1ff7c56: Preparing 00:36:58 b541d28bf3b4: Preparing 00:36:58 b541d28bf3b4: Waiting 00:36:58 ad43d1ff7c56: Layer already exists 00:36:58 f1c79b18fe69: Layer already exists 00:36:58 0784c8a8b01c: Layer already exists 00:36:58 453d6c13f7cb: Layer already exists 00:36:58 17e5da2c96d9: Layer already exists 00:36:58 b541d28bf3b4: Layer already exists 00:36:58 2.1.1-dev.2: digest: sha256:a22937568468f42e1e4ff67c9df05c67c771324a505f6b1a87646b35bcff378a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:36:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:36:59 453d6c13f7cb: Preparing 00:36:59 f1c79b18fe69: Preparing 00:36:59 0784c8a8b01c: Preparing 00:36:59 17e5da2c96d9: Preparing 00:36:59 ad43d1ff7c56: Preparing 00:36:59 b541d28bf3b4: Preparing 00:36:59 b541d28bf3b4: Waiting 00:36:59 0784c8a8b01c: Layer already exists 00:36:59 17e5da2c96d9: Layer already exists 00:36:59 453d6c13f7cb: Layer already exists 00:36:59 ad43d1ff7c56: Layer already exists 00:36:59 f1c79b18fe69: Layer already exists 00:36:59 b541d28bf3b4: Layer already exists 00:36:59 c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2: digest: sha256:a22937568468f42e1e4ff67c9df05c67c771324a505f6b1a87646b35bcff378a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:36:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:jakarta 00:37:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 00:37:00 453d6c13f7cb: Preparing 00:37:00 f1c79b18fe69: Preparing 00:37:00 0784c8a8b01c: Preparing 00:37:00 17e5da2c96d9: Preparing 00:37:00 ad43d1ff7c56: Preparing 00:37:00 b541d28bf3b4: Preparing 00:37:00 b541d28bf3b4: Waiting 00:37:00 453d6c13f7cb: Layer already exists 00:37:00 ad43d1ff7c56: Layer already exists 00:37:00 17e5da2c96d9: Layer already exists 00:37:00 0784c8a8b01c: Layer already exists 00:37:00 f1c79b18fe69: Layer already exists 00:37:00 b541d28bf3b4: Layer already exists 00:37:00 jakarta: digest: sha256:a22937568468f42e1e4ff67c9df05c67c771324a505f6b1a87646b35bcff378a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:37:00 ===================================================== [Pipeline] echo 00:37:00 taggedImages: 00:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921 00:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.2 00:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:37:00 - nexus3.edgexfoundry.org:10004/device-virtual:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:00 00:37:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:37:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:00 latest: Pulling from edgex-lftools-log-publisher 00:37:00 5eb5b503b376: Pulling fs layer 00:37:00 5c69ac0246d0: Pulling fs layer 00:37:00 ec43610c2a17: Pulling fs layer 00:37:00 3a2ae6a8a46f: Pulling fs layer 00:37:00 33b1e0a273af: Pulling fs layer 00:37:00 5d3b04190fa2: Pulling fs layer 00:37:00 2f39f015ded8: Pulling fs layer 00:37:00 33b1e0a273af: Waiting 00:37:00 3a2ae6a8a46f: Waiting 00:37:00 2f39f015ded8: Waiting 00:37:00 5d3b04190fa2: Waiting 00:37:00 5c69ac0246d0: Download complete 00:37:00 3a2ae6a8a46f: Verifying Checksum 00:37:00 3a2ae6a8a46f: Download complete 00:37:00 33b1e0a273af: Verifying Checksum 00:37:00 33b1e0a273af: Download complete 00:37:00 5d3b04190fa2: Download complete 00:37:00 ec43610c2a17: Verifying Checksum 00:37:00 ec43610c2a17: Download complete 00:37:01 5eb5b503b376: Verifying Checksum 00:37:01 5eb5b503b376: Download complete 00:37:01 2f39f015ded8: Verifying Checksum 00:37:01 2f39f015ded8: Download complete 00:37:02 5eb5b503b376: Pull complete 00:37:02 5c69ac0246d0: Pull complete 00:37:03 ec43610c2a17: Pull complete 00:37:03 3a2ae6a8a46f: Pull complete 00:37:03 33b1e0a273af: Pull complete 00:37:03 5d3b04190fa2: Pull complete 00:37:09 2f39f015ded8: Pull complete 00:37:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:37:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:37:09 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:37:09 $ 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/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:37:12 $ docker top 5acde12db7eabf3df40c42f89465e54183f24b9dd68faf42e057f1afead4a32f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:37:12 ---> job-cost.sh 00:37:12 lf-activate-venv: SKIPPING 00:37:12 INFO: No Stack... 00:37:12 INFO: Retrieving Pricing Info for: v3-standard-8 00:37:13 INFO: Archiving Costs [Pipeline] sh 00:37:13 + cat /w/workspace/oundry_device-virtual-go_jakarta/archives/cost.csv 00:37:13 + cut -d, -f6 [Pipeline] lock 00:37:13 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] 00:37:13 Resource [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] did not exist. Created. 00:37:13 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:37:13 + echo total: 0.2199999988079071 [Pipeline] stash 00:37:13 Stashed 1 file(s) [Pipeline] } 00:37:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:37:13 $ docker stop --time=1 5acde12db7eabf3df40c42f89465e54183f24b9dd68faf42e057f1afead4a32f 00:37:15 $ docker rm -f 5acde12db7eabf3df40c42f89465e54183f24b9dd68faf42e057f1afead4a32f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:44:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-876 in /w/workspace/oundry_device-virtual-go_jakarta [Pipeline] { [Pipeline] ws 00:44:28 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 00:44:28 The recommended git tool is: git 00:44:36 using credential edgex-jenkins-ssh 00:44:36 Cloning the remote Git repository 00:44:36 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:44:36 > git init /w/workspace/device-virtual-go/4 # timeout=10 00:44:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:44:37 > git --version # timeout=10 00:44:37 > git --version # 'git version 2.25.1' 00:44:37 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:39 Avoid second fetch 00:44:39 Checking out Revision c3c9a5af3072c39397f92becfe075ff48f905921 (jakarta) 00:44:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:44:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:39 > git config core.sparsecheckout # timeout=10 00:44:39 > git checkout -f c3c9a5af3072c39397f92becfe075ff48f905921 # timeout=10 00:44:44 Commit message: "Merge pull request #289 from lenny-intel/released-2.1.1-sdk-go-mods-and-change-log" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:44:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:44:45 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:45 Dload Upload Total Spent Left Speed 00:44:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 00:44:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:44:46 + sudo tee /etc/docker/daemon.new 00:44:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:44:46 { 00:44:46 "registry-mirrors": [ 00:44:46 "https://nexus3.edgexfoundry.org:10001" 00:44:46 ], 00:44:46 "bip": "10.250.0.254/24", 00:44:46 "hosts": [ 00:44:46 "tcp://0.0.0.0:5555", 00:44:46 "unix:///var/run/docker.sock" 00:44:46 ], 00:44:46 "mtu": 1458, 00:44:46 "selinux-enabled": true, 00:44:46 "seccomp-profile": "/etc/docker/seccomp.json" 00:44:46 } [Pipeline] sh 00:44:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:44:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:05 provisioning config files... 00:45:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config371389165731466191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:06 ---> docker-login.sh 00:45:06 nexus3.edgexfoundry.org:10001 00:45:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:06 Configure a credential helper to remove this warning. See 00:45:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:06 00:45:06 Login Succeeded 00:45:06 nexus3.edgexfoundry.org:10002 00:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:07 Configure a credential helper to remove this warning. See 00:45:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:07 00:45:07 Login Succeeded 00:45:07 nexus3.edgexfoundry.org:10003 00:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:08 Configure a credential helper to remove this warning. See 00:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:08 00:45:08 Login Succeeded 00:45:08 nexus3.edgexfoundry.org:10004 00:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:08 Configure a credential helper to remove this warning. See 00:45:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:08 00:45:08 Login Succeeded 00:45:08 docker.io 00:45:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:09 Configure a credential helper to remove this warning. See 00:45:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:09 00:45:09 Login Succeeded 00:45:09 ---> docker-login.sh ends [Pipeline] } 00:45:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:09 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:09 ========================================================= 00:45:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:45:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:45:11 Sending build context to Docker daemon 26.11MB 00:45:11 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:45:11 Step 2/11 : FROM ${BASE} AS builder 00:45:11 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:11 9b3977197b4f: Pulling fs layer 00:45:11 1a89e8eeedd5: Pulling fs layer 00:45:11 94645a83ff95: Pulling fs layer 00:45:11 3f3a8bcf1eab: Pulling fs layer 00:45:11 0c92f367c5e7: Pulling fs layer 00:45:11 63b1bc5785f6: Pulling fs layer 00:45:11 626d30ff41c6: Pulling fs layer 00:45:11 de1d54c125be: Pulling fs layer 00:45:11 63b1bc5785f6: Waiting 00:45:11 626d30ff41c6: Waiting 00:45:11 3f3a8bcf1eab: Waiting 00:45:11 de1d54c125be: Waiting 00:45:11 0c92f367c5e7: Waiting 00:45:11 94645a83ff95: Verifying Checksum 00:45:11 94645a83ff95: Download complete 00:45:11 1a89e8eeedd5: Verifying Checksum 00:45:11 1a89e8eeedd5: Download complete 00:45:11 0c92f367c5e7: Verifying Checksum 00:45:11 0c92f367c5e7: Download complete 00:45:11 63b1bc5785f6: Verifying Checksum 00:45:11 63b1bc5785f6: Download complete 00:45:11 9b3977197b4f: Download complete 00:45:12 626d30ff41c6: Verifying Checksum 00:45:12 626d30ff41c6: Download complete 00:45:12 9b3977197b4f: Pull complete 00:45:13 1a89e8eeedd5: Pull complete 00:45:14 94645a83ff95: Pull complete 00:45:14 de1d54c125be: Verifying Checksum 00:45:14 de1d54c125be: Download complete 00:45:14 3f3a8bcf1eab: Verifying Checksum 00:45:14 3f3a8bcf1eab: Download complete 00:45:27 3f3a8bcf1eab: Pull complete 00:45:27 0c92f367c5e7: Pull complete 00:45:27 63b1bc5785f6: Pull complete 00:45:27 626d30ff41c6: Pull complete 00:45:34 de1d54c125be: Pull complete 00:45:34 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 00:45:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:45:34 ---> 5f011755c4a2 00:45:34 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:45:35 ---> Running in c31963b76d2e 00:45:35 Removing intermediate container c31963b76d2e 00:45:35 ---> be8c06ae794b 00:45:35 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:45:35 ---> Running in 0ce19dff7284 00:45:36 Removing intermediate container 0ce19dff7284 00:45:36 ---> 9dc9e43bc191 00:45:36 Step 5/11 : WORKDIR /device-virtual-go 00:45:36 ---> Running in 36d71fe63e60 00:45:38 Removing intermediate container 36d71fe63e60 00:45:38 ---> 5aed51fa7c90 00:45:38 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:45:38 ---> Running in f3555225c370 00:45:41 Removing intermediate container f3555225c370 00:45:41 ---> a412a423525f 00:45:41 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:45:41 ---> Running in f66b07d57e00 00:45:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:45:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:45:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:45:43 (2/4) Installing libedit (20210910.3.1-r0) 00:45:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:45:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:45:44 Executing busybox-1.34.1-r3.trigger 00:45:44 OK: 224 MiB in 56 packages 00:45:45 Removing intermediate container f66b07d57e00 00:45:45 ---> 56d37dd30f5a 00:45:45 Step 8/11 : COPY . . 00:45:50 ---> 6b7ad37b37dc 00:45:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:50 ---> Running in f0ac42a7976d 00:45:51 skipping... 00:45:52 Removing intermediate container f0ac42a7976d 00:45:52 ---> 8c91c8846293 00:45:52 Step 10/11 : ARG MAKE='make build' 00:45:52 ---> Running in 340a7ebaeed1 00:45:52 Removing intermediate container 340a7ebaeed1 00:45:52 ---> 24d1adf00f9c 00:45:52 Step 11/11 : RUN $MAKE 00:45:52 ---> Running in 6bfadd73203e 00:45:53 noop 00:45:54 Removing intermediate container 6bfadd73203e 00:45:54 ---> 5ef2f12fdc2d 00:45:54 Successfully built 5ef2f12fdc2d 00:45:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:55 + docker inspect -f . ci-base-image-arm64 00:45:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:45:55 prd-ubuntu20.04-docker-arm64-4c-16g-876 does not seem to be running inside a container 00:45:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** ci-base-image-arm64 cat 00:45:56 $ docker top ba71364252f2b50fa69964976b70112ef209d7ae7a862e0c79cf8c9f905939c4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:45:57 + go version 00:45:57 go version go1.17.6 linux/arm64 [Pipeline] } 00:45:57 $ docker stop --time=1 ba71364252f2b50fa69964976b70112ef209d7ae7a862e0c79cf8c9f905939c4 00:45:59 $ docker rm -f ba71364252f2b50fa69964976b70112ef209d7ae7a862e0c79cf8c9f905939c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:00 + docker inspect -f . ci-base-image-arm64 00:46:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:00 prd-ubuntu20.04-docker-arm64-4c-16g-876 does not seem to be running inside a container 00:46:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** ci-base-image-arm64 cat 00:46:02 $ docker top da6ea50acd127f8d42f071617691701b48618f48876f8b23ddc071889c359bb2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:46:03 + make test 00:46:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:46:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:47:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:47:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.136s coverage: 64.6% of statements 00:47:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:47:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:47:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:47:53 ./bin/test-attribution-txt.sh 00:47:53 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:47:53 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:47:54 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:47:54 go: downloading modernc.org/ql v1.0.0 00:47:54 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:47:54 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:47:54 go: downloading github.com/google/uuid v1.3.0 00:47:54 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:47:54 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:47:54 go: downloading github.com/pelletier/go-toml v1.9.4 00:47:54 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:47:54 go: downloading github.com/gorilla/mux v1.8.0 00:47:54 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:47:54 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:47:54 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:47:54 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:47:54 go: downloading github.com/hashicorp/consul/api v1.9.1 00:47:54 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:47:54 go: downloading github.com/go-kit/kit v0.11.0 00:47:54 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:47:54 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:47:54 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:47:54 go: downloading github.com/pebbe/zmq4 v1.2.7 00:47:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:47:55 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:47:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:47:55 go: downloading github.com/mitchellh/copystructure v1.0.0 00:47:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:47:55 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:47:55 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:47:55 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:47:55 go: downloading golang.org/x/text v0.3.6 00:47:56 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:47:56 go: downloading modernc.org/internal v1.0.2 00:47:56 go: downloading github.com/edsrzf/mmap-go v1.0.0 00:47:56 go: downloading modernc.org/fileutil v1.0.0 00:47:56 go: downloading modernc.org/mathutil v1.4.1 00:47:56 go: downloading modernc.org/b v1.0.2 00:47:56 go: downloading modernc.org/db v1.0.3 00:47:56 go: downloading modernc.org/file v1.0.3 00:47:56 go: downloading modernc.org/golex v1.0.1 00:47:56 go: downloading modernc.org/lldb v1.0.2 00:47:56 go: downloading modernc.org/strutil v1.1.1 00:47:56 go: downloading github.com/hashicorp/errwrap v1.0.0 00:47:56 go: downloading github.com/x448/float16 v0.8.4 00:47:57 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:47:57 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:47:57 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:47:57 go: downloading github.com/hashicorp/serf v0.9.5 00:47:57 go: downloading github.com/go-playground/universal-translator v0.18.0 00:47:57 go: downloading github.com/leodido/go-urn v1.2.1 00:47:57 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:47:59 go: downloading github.com/gorilla/websocket v1.4.2 00:47:59 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 00:47:59 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:47:59 go: downloading modernc.org/sortutil v1.1.0 00:47:59 go: downloading modernc.org/zappy v1.0.3 00:47:59 go: downloading github.com/fatih/color v1.9.0 00:47:59 go: downloading github.com/mattn/go-colorable v0.1.6 00:47:59 go: downloading github.com/mattn/go-isatty v0.0.12 00:47:59 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:47:59 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:48:05 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:48:05 + go mod tidy 00:48:05 go: downloading github.com/stretchr/testify v1.7.0 00:48:06 go: downloading github.com/go-stack/stack v1.8.0 00:48:06 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:48:06 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:48:06 go: downloading github.com/davecgh/go-spew v1.1.1 00:48:06 go: downloading github.com/pmezard/go-difflib v1.0.0 00:48:06 go: downloading github.com/stretchr/objx v0.1.1 00:48:06 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:48:06 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:48:06 go: downloading github.com/kr/pretty v0.3.0 00:48:06 go: downloading github.com/golang/snappy v0.0.3 00:48:06 go: downloading github.com/onsi/ginkgo v1.10.1 00:48:06 go: downloading github.com/onsi/gomega v1.7.0 00:48:06 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:48:06 go: downloading github.com/hashicorp/memberlist v0.2.2 00:48:06 go: downloading github.com/pkg/errors v0.9.1 00:48:06 go: downloading github.com/kr/text v0.2.0 00:48:06 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:48:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:48:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:48:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:48:06 go: downloading github.com/miekg/dns v1.1.26 00:48:06 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:48:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:48:07 go: downloading gopkg.in/yaml.v2 v2.3.0 00:48:07 go: downloading github.com/hpcloud/tail v1.0.0 00:48:07 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:48:07 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:48:07 $ docker stop --time=1 da6ea50acd127f8d42f071617691701b48618f48876f8b23ddc071889c359bb2 00:48:09 $ docker rm -f da6ea50acd127f8d42f071617691701b48618f48876f8b23ddc071889c359bb2 [Pipeline] // withDockerContainer [Pipeline] sh 00:48:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:48:12 Warning: overwriting stash ‘coverage-report’ 00:48:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:48:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:48:14 + ls -al . 00:48:14 total 204 00:48:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:48 . 00:48:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:44 .. 00:48:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:44 .git 00:48:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 .github 00:48:14 -rw-rw-r-- 1 jenkins jenkins 262 Jun 3 00:44 .gitignore 00:48:14 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 3 00:44 Attribution.txt 00:48:14 -rw-rw-r-- 1 jenkins jenkins 6608 Jun 3 00:44 CHANGELOG.md 00:48:14 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 3 00:44 Dockerfile 00:48:14 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:44 GOVERNANCE.md 00:48:14 -rw-rw-r-- 1 jenkins jenkins 660 Jun 3 00:44 Jenkinsfile 00:48:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:44 LICENSE 00:48:14 -rw-rw-r-- 1 jenkins jenkins 999 Jun 3 00:44 Makefile 00:48:14 -rw-rw-r-- 1 jenkins jenkins 623 Jun 3 00:44 OWNERS.md 00:48:14 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 3 00:44 README.md 00:48:14 -rw-rw-r-- 1 jenkins jenkins 11 Jun 3 00:35 VERSION 00:48:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:44 bin 00:48:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 cmd 00:48:14 -rw-r--r-- 1 jenkins jenkins 46339 Jun 3 00:47 coverage.out 00:48:14 -rw-rw-r-- 1 jenkins jenkins 344 Jun 3 00:48 go.mod 00:48:14 -rw-rw-r-- 1 jenkins jenkins 52299 Jun 3 00:44 go.sum 00:48:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:44 internal 00:48:14 drwxrwxr-x 7 jenkins jenkins 4096 Jun 3 00:44 vendor 00:48:14 -rw-rw-r-- 1 jenkins jenkins 235 Jun 3 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:48:14 + 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=c3c9a5af3072c39397f92becfe075ff48f905921 --label arch=arm64 --label version=2.1.1-dev.2 . 00:48:16 Sending build context to Docker daemon 26.15MB 00:48:16 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 00:48:16 Step 2/25 : FROM ${BASE} AS builder 00:48:16 ---> 5ef2f12fdc2d 00:48:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:48:16 ---> Running in d8113f386a9c 00:48:16 Removing intermediate container d8113f386a9c 00:48:16 ---> 3f416856466c 00:48:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 00:48:16 ---> Running in 9039fac0f2a6 00:48:17 Removing intermediate container 9039fac0f2a6 00:48:17 ---> 98827859c29c 00:48:17 Step 5/25 : WORKDIR /device-virtual-go 00:48:17 ---> Running in 575b065f8011 00:48:17 Removing intermediate container 575b065f8011 00:48:17 ---> b16c7f377044 00:48:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:48:18 ---> Running in 54e3fa6828b0 00:48:20 Removing intermediate container 54e3fa6828b0 00:48:20 ---> 700b65062d88 00:48:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:48:20 ---> Running in b686a40808a0 00:48:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:48:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:48:23 OK: 224 MiB in 56 packages 00:48:24 Removing intermediate container b686a40808a0 00:48:24 ---> 809ce24cd7a4 00:48:24 Step 8/25 : COPY . . 00:48:29 ---> a0144fae1cb6 00:48:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:48:29 ---> Running in 894b4a5608dc 00:48:30 skipping... 00:48:31 Removing intermediate container 894b4a5608dc 00:48:31 ---> dd368ed5ce01 00:48:31 Step 10/25 : ARG MAKE='make build' 00:48:31 ---> Running in 50b362ad58d1 00:48:31 Removing intermediate container 50b362ad58d1 00:48:31 ---> dcb748eaac00 00:48:31 Step 11/25 : RUN $MAKE 00:48:31 ---> Running in 24632041aae8 00:48:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.1.1-dev.2" -o cmd/device-virtual ./cmd 00:49:54 Removing intermediate container 24632041aae8 00:49:54 ---> ef70507b6584 00:49:54 Step 12/25 : FROM alpine:3.14 00:49:54 3.14: Pulling from library/alpine 00:49:54 455c02918c45: Pulling fs layer 00:49:54 455c02918c45: Verifying Checksum 00:49:54 455c02918c45: Download complete 00:49:54 455c02918c45: Pull complete 00:49:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:49:54 Status: Downloaded newer image for alpine:3.14 00:49:54 ---> ac73e934f311 00:49:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:49:54 ---> Running in fd0c180960c6 00:49:54 Removing intermediate container fd0c180960c6 00:49:54 ---> c5573e8f728f 00:49:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:49:54 ---> Running in 251d256b46c9 00:49:54 Removing intermediate container 251d256b46c9 00:49:54 ---> 3f38ac249c35 00:49:54 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 00:49:54 ---> Running in 321efc8dc347 00:49:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:49:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:49:54 (1/6) Installing dumb-init (1.2.5-r1) 00:49:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:49:54 (3/6) Installing libsodium (1.0.18-r0) 00:49:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:49:54 (5/6) Installing libzmq (4.3.4-r0) 00:49:54 (6/6) Installing zeromq (4.3.4-r0) 00:49:54 Executing busybox-1.33.1-r7.trigger 00:49:54 OK: 8 MiB in 20 packages 00:49:54 Removing intermediate container 321efc8dc347 00:49:54 ---> 8691e45b0890 00:49:54 Step 16/25 : WORKDIR / 00:49:54 ---> Running in 374d9d944477 00:49:54 Removing intermediate container 374d9d944477 00:49:54 ---> af0fabffa18a 00:49:54 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:49:54 ---> 0b16da22a883 00:49:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 00:49:54 ---> 9c41ccf890bd 00:49:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 00:49:54 ---> 5631c43d2cfb 00:49:54 Step 20/25 : EXPOSE 59900 00:49:54 ---> Running in e561f00ea65b 00:49:54 Removing intermediate container e561f00ea65b 00:49:54 ---> 2f4cb9d6ca56 00:49:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 00:49:54 ---> Running in 9738ba6078a2 00:49:54 Removing intermediate container 9738ba6078a2 00:49:54 ---> 187f2daf3397 00:49:54 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:49:54 ---> Running in d8b6fd16fbcc 00:49:54 Removing intermediate container d8b6fd16fbcc 00:49:54 ---> 765885ba2f77 00:49:54 Step 23/25 : LABEL arch=arm64 00:49:54 ---> Running in 3377cd4c580b 00:49:55 Removing intermediate container 3377cd4c580b 00:49:55 ---> 9eaf5f03d2da 00:49:55 Step 24/25 : LABEL git_sha=c3c9a5af3072c39397f92becfe075ff48f905921 00:49:55 ---> Running in 68e08b3a3151 00:49:55 Removing intermediate container 68e08b3a3151 00:49:55 ---> b458887797c2 00:49:55 Step 25/25 : LABEL version=2.1.1-dev.2 00:49:55 ---> Running in bcf96c8c2832 00:49:55 Removing intermediate container bcf96c8c2832 00:49:55 ---> d2f8a79611aa 00:49:55 [Warning] One or more build-args [ARCH] were not consumed 00:49:56 Successfully built d2f8a79611aa 00:49:56 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:56 provisioning config files... 00:49:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config4988112538258697357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:49:56 ---> docker-login.sh 00:49:56 nexus3.edgexfoundry.org:10001 00:49:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:56 Configure a credential helper to remove this warning. See 00:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:56 00:49:56 Login Succeeded 00:49:56 nexus3.edgexfoundry.org:10002 00:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:57 Configure a credential helper to remove this warning. See 00:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:57 00:49:57 Login Succeeded 00:49:57 nexus3.edgexfoundry.org:10003 00:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:58 Configure a credential helper to remove this warning. See 00:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:58 00:49:58 Login Succeeded 00:49:58 nexus3.edgexfoundry.org:10004 00:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:58 Configure a credential helper to remove this warning. See 00:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:58 00:49:58 Login Succeeded 00:49:58 docker.io 00:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:49:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:49:59 Configure a credential helper to remove this warning. See 00:49:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:49:59 00:49:59 Login Succeeded 00:49:59 ---> docker-login.sh ends [Pipeline] } 00:49:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:49:59 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:49:59 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 00:49:59 c3c9a5af3072c39397f92becfe075ff48f905921 00:49:59 2.1.1-dev.2 00:49:59 c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:49:59 jakarta 00:49:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:49:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921 00:50:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:50:00 ccd1f7bc5ef6: Preparing 00:50:00 32c16be880b9: Preparing 00:50:00 5d6cb74d25a9: Preparing 00:50:00 8c142de5b62c: Preparing 00:50:00 6e8450cb7e3b: Preparing 00:50:00 f73e7dbfee58: Preparing 00:50:00 f73e7dbfee58: Waiting 00:50:00 6e8450cb7e3b: Pushed 00:50:00 32c16be880b9: Pushed 00:50:00 5d6cb74d25a9: Pushed 00:50:00 f73e7dbfee58: Layer already exists 00:50:00 8c142de5b62c: Pushed 00:50:04 ccd1f7bc5ef6: Pushed 00:50:04 c3c9a5af3072c39397f92becfe075ff48f905921: digest: sha256:28470e98d425c0ce01f7b7817cff1ed4b38ab9558983220a1806814424dd6ed4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.2 00:50:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:50:05 ccd1f7bc5ef6: Preparing 00:50:05 32c16be880b9: Preparing 00:50:05 5d6cb74d25a9: Preparing 00:50:05 8c142de5b62c: Preparing 00:50:05 6e8450cb7e3b: Preparing 00:50:05 f73e7dbfee58: Preparing 00:50:05 f73e7dbfee58: Waiting 00:50:05 8c142de5b62c: Layer already exists 00:50:05 32c16be880b9: Layer already exists 00:50:05 6e8450cb7e3b: Layer already exists 00:50:05 ccd1f7bc5ef6: Layer already exists 00:50:05 5d6cb74d25a9: Layer already exists 00:50:05 f73e7dbfee58: Layer already exists 00:50:05 2.1.1-dev.2: digest: sha256:28470e98d425c0ce01f7b7817cff1ed4b38ab9558983220a1806814424dd6ed4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:05 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:50:06 ccd1f7bc5ef6: Preparing 00:50:06 32c16be880b9: Preparing 00:50:06 5d6cb74d25a9: Preparing 00:50:06 8c142de5b62c: Preparing 00:50:06 6e8450cb7e3b: Preparing 00:50:06 f73e7dbfee58: Preparing 00:50:06 f73e7dbfee58: Waiting 00:50:06 6e8450cb7e3b: Layer already exists 00:50:06 ccd1f7bc5ef6: Layer already exists 00:50:06 32c16be880b9: Layer already exists 00:50:06 5d6cb74d25a9: Layer already exists 00:50:06 8c142de5b62c: Layer already exists 00:50:06 f73e7dbfee58: Layer already exists 00:50:06 c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2: digest: sha256:28470e98d425c0ce01f7b7817cff1ed4b38ab9558983220a1806814424dd6ed4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:jakarta 00:50:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 00:50:07 ccd1f7bc5ef6: Preparing 00:50:07 32c16be880b9: Preparing 00:50:07 5d6cb74d25a9: Preparing 00:50:07 8c142de5b62c: Preparing 00:50:07 6e8450cb7e3b: Preparing 00:50:07 f73e7dbfee58: Preparing 00:50:07 f73e7dbfee58: Waiting 00:50:07 32c16be880b9: Layer already exists 00:50:07 6e8450cb7e3b: Layer already exists 00:50:07 ccd1f7bc5ef6: Layer already exists 00:50:07 5d6cb74d25a9: Layer already exists 00:50:07 8c142de5b62c: Layer already exists 00:50:07 f73e7dbfee58: Layer already exists 00:50:07 jakarta: digest: sha256:28470e98d425c0ce01f7b7817cff1ed4b38ab9558983220a1806814424dd6ed4 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:50:07 ===================================================== [Pipeline] echo 00:50:07 taggedImages: 00:50:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921 00:50:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.2 00:50:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c3c9a5af3072c39397f92becfe075ff48f905921-2.1.1-dev.2 00:50:07 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:07 00:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:08 arm64: Pulling from edgex-lftools-log-publisher 00:50:08 8998bd30e6a1: Pulling fs layer 00:50:08 04944245beec: Pulling fs layer 00:50:08 699f458cf7ca: Pulling fs layer 00:50:08 765212b225bb: Pulling fs layer 00:50:08 f23df028b6ca: Pulling fs layer 00:50:08 d65c8cfc05b1: Pulling fs layer 00:50:08 2437ff75d9bd: Pulling fs layer 00:50:08 d65c8cfc05b1: Waiting 00:50:08 2437ff75d9bd: Waiting 00:50:08 765212b225bb: Waiting 00:50:08 f23df028b6ca: Waiting 00:50:08 04944245beec: Verifying Checksum 00:50:08 04944245beec: Download complete 00:50:08 765212b225bb: Verifying Checksum 00:50:08 765212b225bb: Download complete 00:50:08 f23df028b6ca: Verifying Checksum 00:50:08 f23df028b6ca: Download complete 00:50:08 d65c8cfc05b1: Download complete 00:50:08 699f458cf7ca: Download complete 00:50:09 8998bd30e6a1: Verifying Checksum 00:50:09 8998bd30e6a1: Download complete 00:50:11 2437ff75d9bd: Verifying Checksum 00:50:11 2437ff75d9bd: Download complete 00:50:13 8998bd30e6a1: Pull complete 00:50:13 04944245beec: Pull complete 00:50:14 699f458cf7ca: Pull complete 00:50:15 765212b225bb: Pull complete 00:50:16 f23df028b6ca: Pull complete 00:50:16 d65c8cfc05b1: Pull complete 00:50:31 2437ff75d9bd: Pull complete 00:50:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:50:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:31 prd-ubuntu20.04-docker-arm64-4c-16g-876 does not seem to be running inside a container 00:50:31 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-lftools-log-publisher:arm64 cat 00:50:34 $ docker top 3f72acf34e07c5005960207902a4a2bc69447b8688a51dfc84b974530f60151d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:50:35 ---> job-cost.sh 00:50:35 lf-activate-venv: SKIPPING 00:50:35 INFO: No Stack... 00:50:35 INFO: Retrieving Pricing Info for: v3-standard-4 00:50:36 INFO: Archiving Costs [Pipeline] sh 00:50:37 + cat /w/workspace/device-virtual-go/4/archives/cost.csv 00:50:37 + cut -d, -f6 [Pipeline] lock 00:50:37 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] 00:50:37 Resource [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] did not exist. Created. 00:50:37 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:37 /w/workspace/device-virtual-go/4@tmp/durable-195147d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:50:38 + echo total: 0.10999999940395355 [Pipeline] stash 00:50:38 Warning: overwriting stash ‘stack-cost’ 00:50:38 Stashed 1 file(s) [Pipeline] } 00:50:38 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 00:50:38 $ docker stop --time=1 3f72acf34e07c5005960207902a4a2bc69447b8688a51dfc84b974530f60151d 00:50:40 $ docker rm -f 3f72acf34e07c5005960207902a4a2bc69447b8688a51dfc84b974530f60151d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:50:40 provisioning config files... 00:50:40 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config398948927084460078tmp [Pipeline] { [Pipeline] sh 00:50:41 + set +x 00:50:41 + curl -s https://codecov.io/bash 00:50:41 + bash -s -- 00:50:41 00:50:41 _____ _ 00:50:41 / ____| | | 00:50:41 | | ___ __| | ___ ___ _____ __ 00:50:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:50:41 | |___| (_) | (_| | __/ (_| (_) \ V / 00:50:41 \_____\___/ \__,_|\___|\___\___/ \_/ 00:50:41 Bash-1.0.6 00:50:41 00:50:41 00:50:41 ==> git version 2.25.1 found 00:50:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:50:41 Release-Date: 2020-01-08 00:50:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:50:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:50:41 ==> Jenkins CI detected. 00:50:41 current dir:  /w/workspace/oundry_device-virtual-go_jakarta 00:50:41 project root: . 00:50:41 --> token set from env 00:50:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:50:41 ==> Running gcov in . (disable via -X gcov) 00:50:41 ==> Python coveragepy not found 00:50:41 ==> Searching for coverage reports in: 00:50:41 + . 00:50:41 -> Found 1 reports 00:50:41 ==> Detecting git/mercurial file structure 00:50:41 ==> Reading reports 00:50:41 + ./coverage.out bytes=46339 00:50:41 ==> Appending adjustments 00:50:41 https://docs.codecov.io/docs/fixing-reports 00:50:41 + Found adjustments 00:50:41 ==> Gzipping contents 00:50:41 16K /tmp/codecov.sGN5IS.gz 00:50:41 ==> Uploading reports 00:50:41 url: https://codecov.io 00:50:41 query: branch=jakarta&commit=c3c9a5af3072c39397f92becfe075ff48f905921&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:50:41 -> Pinging Codecov 00:50:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=jakarta&commit=c3c9a5af3072c39397f92becfe075ff48f905921&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:50:41 -> Uploading to 00:50:41 https://storage.googleapis.com/codecov/v4/raw/2022-06-03/5E52B4B073DB2E39498172D8E973AA87/c3c9a5af3072c39397f92becfe075ff48f905921/0c641510-0abe-42b9-9835-84d97b763948.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T005041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc6ca219b2a2c64a6f49f8ae5b96ccd319e3e9f754264f21cca9c090749eb137 00:50:41 % Total % Received % Xferd Average Speed Time Time Time Current 00:50:41 Dload Upload Total Spent Left Speed 00:50:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13264 0 0 100 13264 0 63161 --:--:-- --:--:-- --:--:-- 63161 00:50:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] } 00:50:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:50:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:50:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:42 00:50:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:50:42 df9b9388f04a: Pulling fs layer 00:50:42 52dc419b0ee2: Pulling fs layer 00:50:42 25bc292e5bac: Pulling fs layer 00:50:42 114826534d7a: Pulling fs layer 00:50:42 4657fd5d0bcf: Pulling fs layer 00:50:42 6ad1cebc031e: Pulling fs layer 00:50:42 8a3aa393b2d8: Pulling fs layer 00:50:42 6ad1cebc031e: Waiting 00:50:42 8a3aa393b2d8: Waiting 00:50:42 114826534d7a: Waiting 00:50:42 4657fd5d0bcf: Waiting 00:50:42 25bc292e5bac: Verifying Checksum 00:50:42 25bc292e5bac: Download complete 00:50:42 52dc419b0ee2: Verifying Checksum 00:50:42 52dc419b0ee2: Download complete 00:50:42 4657fd5d0bcf: Verifying Checksum 00:50:42 4657fd5d0bcf: Download complete 00:50:43 6ad1cebc031e: Verifying Checksum 00:50:43 6ad1cebc031e: Download complete 00:50:43 df9b9388f04a: Pull complete 00:50:43 52dc419b0ee2: Pull complete 00:50:43 25bc292e5bac: Pull complete 00:50:43 114826534d7a: Verifying Checksum 00:50:43 114826534d7a: Download complete 00:50:43 8a3aa393b2d8: Verifying Checksum 00:50:43 8a3aa393b2d8: Download complete 00:50:47 114826534d7a: Pull complete 00:50:47 4657fd5d0bcf: Pull complete 00:50:47 6ad1cebc031e: Pull complete 00:50:50 8a3aa393b2d8: Pull complete 00:50:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:50:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:50:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:50 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:50:52 $ docker top 1ab193d7782d9115c2a24bfcede489fa218410dd777be26366e8b48a451b9355 -eo pid,comm [Pipeline] { [Pipeline] echo 00:50:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:50:52 + set -o pipefail 00:50:52 + snyk monitor '--org=edgex-jenkins' 00:50:54 00:50:54 Monitoring /w/workspace/oundry_device-virtual-go_jakarta (github.com/edgexfoundry/device-virtual-go)... 00:50:54 00:50:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/36ac72f4-1aeb-4e32-835b-c4c32154cfad/history/50504ee7-8be3-40d3-b9e7-046c3b3dd97a 00:50:54 00:50:54 Tip: Detected multiple supported manifests (9), use --all-projects to scan all of them at once. 00:50:54 00:50:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:50:54 00:50:54 [Pipeline] } 00:50:54 $ docker stop --time=1 1ab193d7782d9115c2a24bfcede489fa218410dd777be26366e8b48a451b9355 00:50:55 $ docker rm -f 1ab193d7782d9115c2a24bfcede489fa218410dd777be26366e8b48a451b9355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:50:56 + git log --format=format:%s -1 c3c9a5af3072c39397f92becfe075ff48f905921 [Pipeline] sh 00:50:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:50:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:50:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:50:57 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:50:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:50:57 $ docker top 9ec38ed7d2f691944b6d4d3d19337d297256e446d10cc5ac1468240c264a76aa -eo pid,comm 00:50:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:50:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:50:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:50:57 [ssh-agent] Looking for ssh-agent implementation... 00:50:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:50:57 $ docker exec 9ec38ed7d2f691944b6d4d3d19337d297256e446d10cc5ac1468240c264a76aa ssh-agent 00:50:57 SSH_AUTH_SOCK=/tmp/ssh-kmHLHlGMaJNw/agent.33 00:50:57 SSH_AGENT_PID=40 00:50:57 Running ssh-add (command line suppressed) 00:50:57 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_7315015781357649768.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_7315015781357649768.key) 00:50:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:50:58 + git semver tag 00:50:58 2022-06-03 00:50:58,460 [run_tag] DEBUG tag force:False 00:50:58 2022-06-03 00:50:58,460 [check_head_tag] DEBUG check head tag 00:50:58 2022-06-03 00:50:58,461 [execute] INFO git cat-file --batch-check 00:50:58 2022-06-03 00:50:58,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=) 00:50:58 2022-06-03 00:50:58,465 [execute] INFO git cat-file --batch 00:50:58 2022-06-03 00:50:58,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=) 00:50:58 2022-06-03 00:50:58,474 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:50:58 2022-06-03 00:50:58,474 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 00:50:58 2022-06-03 00:50:58,475 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=None) 00:50:58 2022-06-03 00:50:58,480 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:50:58 2.1.1-dev.2 [Pipeline] } 00:50:58 $ docker exec --env ******** --env ******** 9ec38ed7d2f691944b6d4d3d19337d297256e446d10cc5ac1468240c264a76aa ssh-agent -k 00:50:58 unset SSH_AUTH_SOCK; 00:50:58 unset SSH_AGENT_PID; 00:50:58 echo Agent pid 40 killed; 00:50:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:50:58 + git semver [Pipeline] } 00:50:59 $ docker stop --time=1 9ec38ed7d2f691944b6d4d3d19337d297256e446d10cc5ac1468240c264a76aa 00:51:00 $ docker rm -f 9ec38ed7d2f691944b6d4d3d19337d297256e446d10cc5ac1468240c264a76aa [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:00 00:51:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:01 0.23.1-centos7: Pulling from edgex-lftools 00:51:01 ab5ef0e58194: Pulling fs layer 00:51:01 9712f1f96733: Pulling fs layer 00:51:01 63f879dbbcfc: Pulling fs layer 00:51:01 0d9ebad4ef96: Pulling fs layer 00:51:01 e9a5061849ea: Pulling fs layer 00:51:01 d747dcd14b5f: Pulling fs layer 00:51:01 2de7ff778b66: Pulling fs layer 00:51:01 2de7ff778b66: Waiting 00:51:01 e9a5061849ea: Waiting 00:51:01 d747dcd14b5f: Waiting 00:51:01 0d9ebad4ef96: Waiting 00:51:01 9712f1f96733: Verifying Checksum 00:51:01 9712f1f96733: Download complete 00:51:01 63f879dbbcfc: Verifying Checksum 00:51:01 63f879dbbcfc: Download complete 00:51:01 e9a5061849ea: Verifying Checksum 00:51:01 e9a5061849ea: Download complete 00:51:01 d747dcd14b5f: Verifying Checksum 00:51:01 d747dcd14b5f: Download complete 00:51:01 0d9ebad4ef96: Verifying Checksum 00:51:01 0d9ebad4ef96: Download complete 00:51:01 ab5ef0e58194: Verifying Checksum 00:51:01 ab5ef0e58194: Download complete 00:51:02 2de7ff778b66: Verifying Checksum 00:51:02 2de7ff778b66: Download complete 00:51:05 ab5ef0e58194: Pull complete 00:51:05 9712f1f96733: Pull complete 00:51:05 63f879dbbcfc: Pull complete 00:51:10 0d9ebad4ef96: Pull complete 00:51:10 e9a5061849ea: Pull complete 00:51:10 d747dcd14b5f: Pull complete 00:51:11 2de7ff778b66: Pull complete 00:51:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:51:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:51:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:11 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:51:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:51:14 $ docker top ddeccf07f367587c2e2c1ffc748ccc96c301fcca33bd37db2a51e233ac88937a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:51:14 provisioning config files... 00:51:14 copy managed file [sigul-config] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config2656652446047286171tmp 00:51:14 copy managed file [sigul-password] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config3731870724152068377tmp 00:51:14 copy managed file [sigul-pki] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config7077783199490248479tmp [Pipeline] { [Pipeline] echo 00:51:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:51:14 ---> sigul-configuration.sh 00:51:14 gpg: directory `/root/.gnupg' created 00:51:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:51:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:51:14 gpg: keyring `/root/.gnupg/secring.gpg' created 00:51:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:51:14 gpg: CAST5 encrypted data 00:51:14 gpg: encrypted with 1 passphrase 00:51:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:51:14 + mkdir /home/jenkins 00:51:14 + mkdir /home/jenkins/sigul [Pipeline] sh 00:51:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:51:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:51:15 ---> sigul-install.sh 00:51:15 Sigul already installed; skipping installation. [Pipeline] sh 00:51:15 + git tag --list 00:51:15 v1.0.0 00:51:15 v1.1.0 00:51:15 v1.1.1 00:51:15 v1.2.1 00:51:15 v1.2.2 00:51:15 v1.2.3 00:51:15 v1.3.0 00:51:15 v1.3.1 00:51:15 v2.0.0 00:51:15 v2.1.0 00:51:15 v2.1.1-dev.1 00:51:15 v2.1.1-dev.2 00:51:15 v2.2.0 00:51:15 v2.2.1-dev.1 [Pipeline] sh 00:51:15 + lftools sign git-tag v2.1.1-dev.2 00:51:16 Signing Git tag with Sigul... 00:51:16 Signing v2.1.1-dev.2 [Pipeline] echo 00:51:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:51:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:51:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:51:17 $ docker stop --time=1 ddeccf07f367587c2e2c1ffc748ccc96c301fcca33bd37db2a51e233ac88937a 00:51:18 $ docker rm -f ddeccf07f367587c2e2c1ffc748ccc96c301fcca33bd37db2a51e233ac88937a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:51:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:19 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:51:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:51:19 $ docker top c29d8b54c529b26e4ff16cb7a203f3f3cfa78ced07afcf5663ab6550593a3ca9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:20 [ssh-agent] Looking for ssh-agent implementation... 00:51:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:20 $ docker exec c29d8b54c529b26e4ff16cb7a203f3f3cfa78ced07afcf5663ab6550593a3ca9 ssh-agent 00:51:20 SSH_AUTH_SOCK=/tmp/ssh-XOsDY4RotQLK/agent.33 00:51:20 SSH_AGENT_PID=39 00:51:20 Running ssh-add (command line suppressed) 00:51:20 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_5188373948105445868.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_5188373948105445868.key) 00:51:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:20 + git semver bump pre 00:51:21 2022-06-03 00:51:20,944 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:51:21 2022-06-03 00:51:20,944 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev 00:51:21 2022-06-03 00:51:20,944 [bump_version] DEBUG bumped version:2.1.1-dev.3 00:51:21 2022-06-03 00:51:20,945 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta with force:True 00:51:21 2022-06-03 00:51:20,945 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:51:21 2022-06-03 00:51:20,945 [write_file] DEBUG write to file:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:51:21 2022-06-03 00:51:20,947 [execute] INFO git cat-file --batch-check 00:51:21 2022-06-03 00:51:20,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:51:21 2022-06-03 00:51:20,952 [execute] INFO git cat-file --batch 00:51:21 2022-06-03 00:51:20,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:51:21 2022-06-03 00:51:20,958 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:51:21 2.1.1-dev.3 [Pipeline] } 00:51:21 $ docker exec --env ******** --env ******** c29d8b54c529b26e4ff16cb7a203f3f3cfa78ced07afcf5663ab6550593a3ca9 ssh-agent -k 00:51:21 unset SSH_AUTH_SOCK; 00:51:21 unset SSH_AGENT_PID; 00:51:21 echo Agent pid 39 killed; 00:51:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:21 + git semver [Pipeline] } 00:51:21 $ docker stop --time=1 c29d8b54c529b26e4ff16cb7a203f3f3cfa78ced07afcf5663ab6550593a3ca9 00:51:23 $ docker rm -f c29d8b54c529b26e4ff16cb7a203f3f3cfa78ced07afcf5663ab6550593a3ca9 [Pipeline] // withDockerContainer [Pipeline] sh 00:51:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:51:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:23 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:51:24 $ docker top 9f26246ebf67390e421899109fcd5c34ec54618bc870bffe1e19cdb2efa0e744 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:24 [ssh-agent] Looking for ssh-agent implementation... 00:51:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:24 $ docker exec 9f26246ebf67390e421899109fcd5c34ec54618bc870bffe1e19cdb2efa0e744 ssh-agent 00:51:24 SSH_AUTH_SOCK=/tmp/ssh-WWs7n6XfLQcW/agent.32 00:51:24 SSH_AGENT_PID=39 00:51:24 Running ssh-add (command line suppressed) 00:51:24 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4466052783612713243.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4466052783612713243.key) 00:51:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:24 + git semver push 00:51:25 2022-06-03 00:51:25,180 [run_push] DEBUG push 00:51:25 2022-06-03 00:51:25,181 [execute] INFO git cat-file --batch-check 00:51:25 2022-06-03 00:51:25,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 00:51:25 2022-06-03 00:51:25,185 [execute] INFO git rev-list 8995c70efdb4a838715b52bd4b971fd3720a3cf6 -- 00:51:25 2022-06-03 00:51:25,185 [execute] DEBUG Popen(['git', 'rev-list', '8995c70efdb4a838715b52bd4b971fd3720a3cf6', '--'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 00:51:25 2022-06-03 00:51:25,192 [execute] INFO git fetch -v origin 00:51:25 2022-06-03 00:51:25,192 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 00:51:25 2022-06-03 00:51:25,645 [run_push] DEBUG no remote changes detected 00:51:25 2022-06-03 00:51:25,645 [execute] INFO git push origin semver 00:51:25 2022-06-03 00:51:25,646 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 00:51:26 2022-06-03 00:51:26,333 [run_push] DEBUG push all version tags 00:51:26 2022-06-03 00:51:26,334 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:51:26 2022-06-03 00:51:26,334 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=None) 00:51:26 2022-06-03 00:51:26,973 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 00:51:27 2.1.1-dev.3 [Pipeline] } 00:51:27 $ docker exec --env ******** --env ******** 9f26246ebf67390e421899109fcd5c34ec54618bc870bffe1e19cdb2efa0e744 ssh-agent -k 00:51:27 unset SSH_AUTH_SOCK; 00:51:27 unset SSH_AGENT_PID; 00:51:27 echo Agent pid 39 killed; 00:51:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:27 + git semver [Pipeline] } 00:51:27 $ docker stop --time=1 9f26246ebf67390e421899109fcd5c34ec54618bc870bffe1e19cdb2efa0e744 00:51:29 $ docker rm -f 9f26246ebf67390e421899109fcd5c34ec54618bc870bffe1e19cdb2efa0e744 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:51:29 + [ -d /w/workspace/oundry_device-virtual-go_jakarta/archives ] 00:51:29 + ls -al /w/workspace/oundry_device-virtual-go_jakarta/archives 00:51:29 total 16 00:51:29 drwxr-xr-x 3 root root 4096 Jun 3 00:37 . 00:51:29 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 00:51 .. 00:51:29 drwxr-xr-x 2 root root 4096 Jun 3 00:37 cost 00:51:29 -rw-r--r-- 1 root root 89 Jun 3 00:37 cost.csv 00:51:29 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-virtual-go_jakarta/archives 00:51:29 + ls -al /w/workspace/oundry_device-virtual-go_jakarta/archives 00:51:29 total 16 00:51:29 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 00:37 . 00:51:29 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 00:51 .. 00:51:29 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 00:37 cost 00:51:29 -rw-r--r-- 1 jenkins jenkins 89 Jun 3 00:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:51:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:51:31 ---> package-listing.sh 00:51:31 ++ facter osfamily 00:51:31 ++ tr '[:upper:]' '[:lower:]' 00:51:31 + OS_FAMILY=debian 00:51:31 + workspace=/w/workspace/oundry_device-virtual-go_jakarta 00:51:31 + START_PACKAGES=/tmp/packages_start.txt 00:51:31 + END_PACKAGES=/tmp/packages_end.txt 00:51:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:51:31 + PACKAGES=/tmp/packages_start.txt 00:51:31 + '[' /w/workspace/oundry_device-virtual-go_jakarta ']' 00:51:31 + PACKAGES=/tmp/packages_end.txt 00:51:31 + case "${OS_FAMILY}" in 00:51:31 + dpkg -l 00:51:31 + grep '^ii' 00:51:31 + '[' -f /tmp/packages_start.txt ']' 00:51:31 + '[' -f /tmp/packages_end.txt ']' 00:51:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:51:31 + '[' /w/workspace/oundry_device-virtual-go_jakarta ']' 00:51:31 + mkdir -p /w/workspace/oundry_device-virtual-go_jakarta/archives/ 00:51:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-virtual-go_jakarta/archives/ [Pipeline] echo 00:51:31 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/oundry_device-virtual-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:51:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:51:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:51:32 prd-ubuntu20.04-docker-8c-8g-757 does not seem to be running inside a container 00:51:32 $ 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/oundry_device-virtual-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-virtual-go_jakarta -v /w/workspace/oundry_device-virtual-go_jakarta:/w/workspace/oundry_device-virtual-go_jakarta:rw,z -v /w/workspace/oundry_device-virtual-go_jakarta@tmp:/w/workspace/oundry_device-virtual-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:51:32 $ docker top 38926d19cb4b47b480062dd3a85c4e5013edc2e2b43c8196dcc933a15350634d -eo pid,comm [Pipeline] { [Pipeline] sh 00:51:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:51:33 + mkdir -p /var/log/sysstat [Pipeline] sh 00:51:33 + ls /var/log/sa-host 00:51:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:51:33 provisioning config files... 00:51:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config6874131703418700030tmp [Pipeline] { [Pipeline] echo 00:51:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:51:33 ---> create-netrc.sh [Pipeline] } 00:51:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:51:34 ---> python-tools-install.sh [Pipeline] echo 00:51:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:51:34 ---> sudo-logs.sh 00:51:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:51:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:51:34 ---> job-cost.sh 00:51:34 lf-activate-venv: SKIPPING 00:51:34 DEBUG: total: 0.2199999988079071 00:51:34 INFO: Retrieving Stack Cost... 00:51:35 INFO: Retrieving Pricing Info for: v3-standard-8 00:51:35 INFO: Archiving Costs [Pipeline] echo 00:51:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:51:35 ---> logs-deploy.sh 00:51:35 lf-activate-venv: SKIPPING 00:51:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/jakarta/4 00:51:35 INFO: archiving workspace using pattern(s): 00:51:37 Archives upload complete. 00:51:37 INFO: archiving logs to Nexus