Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 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-ssh8377019445304882622.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-ssh158052124740770101.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14900809551207924164.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18231886002013350263.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-ssh9131838637600409419.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5975263961337041852.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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-605 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 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 (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 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 # timeout=10 Commit message: "Merge pull request #288 from lenny-intel/update-sdk-for-2.1.1-fixes" > git rev-list --no-walk cee36fc15f8cbcddbb0c2bc9a6ff92c499866cda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:11:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:11:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:11:31 ========================================================= 23:11:31 EdgeX Global Pipelines Version Info 23:11:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:11:32 ------------------- 23:11:32 stable info: 23:11:32 ------------------- 23:11:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:11:32 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:11:32 Message: update stable to v1.0.230 23:11:32 ------------------- 23:11:32 experimental info: 23:11:32 ------------------- 23:11:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:11:32 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:11:32 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:11:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7bdd30 [Pipeline] echo 23:11:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:33 provisioning config files... 23:11:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config378206806841292990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:33 ---> docker-login.sh 23:11:33 nexus3.edgexfoundry.org:10001 23:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:33 Configure a credential helper to remove this warning. See 23:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:33 23:11:33 Login Succeeded 23:11:33 nexus3.edgexfoundry.org:10002 23:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:34 Configure a credential helper to remove this warning. See 23:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:34 23:11:34 Login Succeeded 23:11:34 nexus3.edgexfoundry.org:10003 23:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:34 Configure a credential helper to remove this warning. See 23:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:34 23:11:34 Login Succeeded 23:11:34 nexus3.edgexfoundry.org:10004 23:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:34 Configure a credential helper to remove this warning. See 23:11:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:34 23:11:34 Login Succeeded 23:11:34 docker.io 23:11:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:35 Configure a credential helper to remove this warning. See 23:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:35 23:11:35 Login Succeeded 23:11:35 ---> docker-login.sh ends [Pipeline] } 23:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:11:35 + git rev-list -1 --merges c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76~1..c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] echo 23:11:35 -----------> git rev-list -1 --merges c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76~1..c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:11:35 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [false] [Pipeline] sh 23:11:35 + git log --format=format:%s -1 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] echo 23:11:35 ========================================================= 23:11:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:11:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:36 + git log --format=format:%s -1 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] echo 23:11:36 [semverPrep] GIT_COMMIT: c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76, Commit Message: Merge pull request #288 from lenny-intel/update-sdk-for-2.1.1-fixes [Pipeline] echo 23:11:36 [semverPrep] This is not a build commit. [Pipeline] sh 23:11:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:11:36 + grep -v github /etc/ssh/ssh_known_hosts 23:11:36 + [ -e /tmp/ssh_known_hosts ] 23:11:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:11:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:11:36 + sudo tee -a /etc/ssh/ssh_known_hosts 23:11:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:11:37 23:11:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:11:37 latest: Pulling from edgex-devops/py-git-semver 23:11:37 1fe172e4850f: Pulling fs layer 23:11:37 caf521ccaac6: Pulling fs layer 23:11:37 3ead6fa29328: Pulling fs layer 23:11:37 5c2a1cbceb83: Pulling fs layer 23:11:37 a8d5f1318db7: Pulling fs layer 23:11:37 c427282e49a2: Pulling fs layer 23:11:37 1827001aaf11: Pulling fs layer 23:11:37 0714d37db230: Pulling fs layer 23:11:37 ac28cf19c067: Pulling fs layer 23:11:37 ca983d60f3e2: Pulling fs layer 23:11:37 9f894cec8388: Pulling fs layer 23:11:37 1827001aaf11: Waiting 23:11:37 ac28cf19c067: Waiting 23:11:37 ca983d60f3e2: Waiting 23:11:37 9f894cec8388: Waiting 23:11:37 5c2a1cbceb83: Waiting 23:11:37 a8d5f1318db7: Waiting 23:11:37 c427282e49a2: Waiting 23:11:37 0714d37db230: Waiting 23:11:37 caf521ccaac6: Verifying Checksum 23:11:37 caf521ccaac6: Download complete 23:11:37 5c2a1cbceb83: Download complete 23:11:37 a8d5f1318db7: Verifying Checksum 23:11:37 a8d5f1318db7: Download complete 23:11:37 c427282e49a2: Download complete 23:11:37 3ead6fa29328: Verifying Checksum 23:11:37 3ead6fa29328: Download complete 23:11:37 0714d37db230: Download complete 23:11:37 ac28cf19c067: Verifying Checksum 23:11:37 ac28cf19c067: Download complete 23:11:37 ca983d60f3e2: Verifying Checksum 23:11:37 ca983d60f3e2: Download complete 23:11:37 9f894cec8388: Verifying Checksum 23:11:37 9f894cec8388: Download complete 23:11:37 1fe172e4850f: Verifying Checksum 23:11:37 1fe172e4850f: Download complete 23:11:37 1827001aaf11: Verifying Checksum 23:11:37 1827001aaf11: Download complete 23:11:39 1fe172e4850f: Pull complete 23:11:39 caf521ccaac6: Pull complete 23:11:39 3ead6fa29328: Pull complete 23:11:39 5c2a1cbceb83: Pull complete 23:11:40 a8d5f1318db7: Pull complete 23:11:40 c427282e49a2: Pull complete 23:11:41 1827001aaf11: Pull complete 23:11:41 0714d37db230: Pull complete 23:11:42 ac28cf19c067: Pull complete 23:11:42 ca983d60f3e2: Pull complete 23:11:42 9f894cec8388: Pull complete 23:11:42 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:11:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:42 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:11:42 $ 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 23:11:44 $ docker top 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 -eo pid,comm 23:11:44 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). 23:11:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:11:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:44 [ssh-agent] Looking for ssh-agent implementation... 23:11:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:44 $ docker exec 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 ssh-agent 23:11:44 SSH_AUTH_SOCK=/tmp/ssh-boWq7ycWpShd/agent.32 23:11:44 SSH_AGENT_PID=38 23:11:44 Running ssh-add (command line suppressed) 23:11:44 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_2079432068745263057.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_2079432068745263057.key) 23:11:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:44 + git tag --points-at HEAD [Pipeline] } 23:11:44 $ docker exec --env ******** --env ******** 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 ssh-agent -k 23:11:45 unset SSH_AUTH_SOCK; 23:11:45 unset SSH_AGENT_PID; 23:11:45 echo Agent pid 38 killed; 23:11:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:11:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:45 [ssh-agent] Looking for ssh-agent implementation... 23:11:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:45 $ docker exec 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 ssh-agent 23:11:45 SSH_AUTH_SOCK=/tmp/ssh-VWnIT54aWHbL/agent.71 23:11:45 SSH_AGENT_PID=77 23:11:45 Running ssh-add (command line suppressed) 23:11:45 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4516612140701921062.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_4516612140701921062.key) 23:11:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:45 + git semver init 23:11:46 2022-06-01 23:11:46,016 [run_init] DEBUG init version:0.0.0 force:False 23:11:46 2022-06-01 23:11:46,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-virtual-go_jakarta/.semver 23:11:46 2022-06-01 23:11:46,017 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/oundry_device-virtual-go_jakarta/.semver 23:11:46 2022-06-01 23:11:46,017 [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) 23:11:47 2022-06-01 23:11:47,005 [append_file] DEBUG append to file:/w/workspace/oundry_device-virtual-go_jakarta/.git/info/exclude 23:11:47 2022-06-01 23:11:47,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta with force:False 23:11:47 2022-06-01 23:11:47,006 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:11:47 2022-06-01 23:11:47,006 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:11:47 2.1.1-dev.1 [Pipeline] } 23:11:47 $ docker exec --env ******** --env ******** 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 ssh-agent -k 23:11:47 unset SSH_AUTH_SOCK; 23:11:47 unset SSH_AGENT_PID; 23:11:47 echo Agent pid 77 killed; 23:11:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:11:47 + git semver [Pipeline] } 23:11:48 $ docker stop --time=1 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 23:11:49 $ docker rm -f 093c4db857463fea4ff2129e9ffaa60ac4cf25ca9ed1f5c23ca264e48b1b01b3 [Pipeline] // withDockerContainer [Pipeline] sh 23:11:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:11:50 Stashed 1 file(s) [Pipeline] echo 23:11:50 [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [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 23:11:50 provisioning config files... 23:11:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config767221355755176163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:50 ---> docker-login.sh 23:11:50 nexus3.edgexfoundry.org:10001 23:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:50 Configure a credential helper to remove this warning. See 23:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:50 23:11:50 Login Succeeded 23:11:50 nexus3.edgexfoundry.org:10002 23:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:50 Configure a credential helper to remove this warning. See 23:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:50 23:11:50 Login Succeeded 23:11:50 nexus3.edgexfoundry.org:10003 23:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:50 Configure a credential helper to remove this warning. See 23:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:50 23:11:50 Login Succeeded 23:11:50 nexus3.edgexfoundry.org:10004 23:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:51 Configure a credential helper to remove this warning. See 23:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:51 23:11:51 Login Succeeded 23:11:51 docker.io 23:11:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:51 Configure a credential helper to remove this warning. See 23:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:51 23:11:51 Login Succeeded 23:11:51 ---> docker-login.sh ends [Pipeline] } 23:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:51 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:51 ========================================================= 23:11:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:11:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:51 + 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 . 23:11:51 Sending build context to Docker daemon 37.42MB 23:11:51 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:11:51 Step 2/11 : FROM ${BASE} AS builder 23:11:51 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:11:51 59bf1c3509f3: Pulling fs layer 23:11:51 666ba61612fd: Pulling fs layer 23:11:51 8ed8ca486205: Pulling fs layer 23:11:51 4fe6c5a15a65: Pulling fs layer 23:11:51 22a0e8bec74d: Pulling fs layer 23:11:51 812f408151ee: Pulling fs layer 23:11:51 bab7bd504b26: Pulling fs layer 23:11:51 070449caade9: Pulling fs layer 23:11:51 8f1a5288e3a6: Pulling fs layer 23:11:51 bab7bd504b26: Waiting 23:11:51 4fe6c5a15a65: Waiting 23:11:51 070449caade9: Waiting 23:11:51 8f1a5288e3a6: Waiting 23:11:51 22a0e8bec74d: Waiting 23:11:51 812f408151ee: Waiting 23:11:51 8ed8ca486205: Verifying Checksum 23:11:51 8ed8ca486205: Download complete 23:11:51 666ba61612fd: Verifying Checksum 23:11:51 666ba61612fd: Download complete 23:11:51 22a0e8bec74d: Download complete 23:11:52 812f408151ee: Verifying Checksum 23:11:52 812f408151ee: Download complete 23:11:52 bab7bd504b26: Download complete 23:11:52 59bf1c3509f3: Download complete 23:11:52 070449caade9: Verifying Checksum 23:11:52 070449caade9: Download complete 23:11:52 59bf1c3509f3: Pull complete 23:11:52 666ba61612fd: Pull complete 23:11:52 8ed8ca486205: Pull complete 23:11:52 8f1a5288e3a6: Verifying Checksum 23:11:52 8f1a5288e3a6: Download complete 23:11:52 4fe6c5a15a65: Verifying Checksum 23:11:52 4fe6c5a15a65: Download complete 23:11:57 4fe6c5a15a65: Pull complete 23:11:57 22a0e8bec74d: Pull complete 23:11:57 812f408151ee: Pull complete 23:11:57 bab7bd504b26: Pull complete 23:11:57 070449caade9: Pull complete 23:11:59 8f1a5288e3a6: Pull complete 23:11:59 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:11:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:11:59 ---> c47586b81864 23:11:59 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:12:01 ---> Running in 4d49fa609312 23:12:01 Removing intermediate container 4d49fa609312 23:12:01 ---> 2f028d55d044 23:12:01 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:12:01 ---> Running in f9ec25662cd3 23:12:01 Removing intermediate container f9ec25662cd3 23:12:01 ---> eb149b587398 23:12:01 Step 5/11 : WORKDIR /device-virtual-go 23:12:01 ---> Running in 9784ac13fabf 23:12:01 Removing intermediate container 9784ac13fabf 23:12:01 ---> aad1c5eec782 23:12:01 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:01 ---> Running in 870e7f9c50b1 23:12:02 Removing intermediate container 870e7f9c50b1 23:12:02 ---> d92865fde3c3 23:12:02 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:02 ---> Running in ce48bbcbbb3b 23:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:12:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:12:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:12:03 (2/4) Installing libedit (20210910.3.1-r0) 23:12:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:12:03 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:12:03 Executing busybox-1.34.1-r3.trigger 23:12:03 OK: 224 MiB in 56 packages 23:12:04 Removing intermediate container ce48bbcbbb3b 23:12:04 ---> 0e9a66328e33 23:12:04 Step 8/11 : COPY . . 23:12:05 Still waiting to schedule task 23:12:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:12:05 ---> 3b93684e347b 23:12:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:05 ---> Running in 00c68e8004b1 23:12:06 skipping... 23:12:06 Removing intermediate container 00c68e8004b1 23:12:06 ---> cbcd81ecd853 23:12:06 Step 10/11 : ARG MAKE='make build' 23:12:06 ---> Running in d15bea6ab5bf 23:12:06 Removing intermediate container d15bea6ab5bf 23:12:06 ---> 169e31119300 23:12:06 Step 11/11 : RUN $MAKE 23:12:06 ---> Running in 5e4a440a57d5 23:12:06 noop 23:12:07 Removing intermediate container 5e4a440a57d5 23:12:07 ---> 2260761319fb 23:12:07 Successfully built 2260761319fb 23:12:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:07 + docker inspect -f . ci-base-image-x86_64 23:12:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:07 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:12:07 $ 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 23:12:08 $ docker top 0bb401394da4dfef0cae1795ce4e1d13c122a699ac0318ee41c0d6c4f644068f -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:08 + go version 23:12:08 go version go1.17.6 linux/amd64 [Pipeline] } 23:12:08 $ docker stop --time=1 0bb401394da4dfef0cae1795ce4e1d13c122a699ac0318ee41c0d6c4f644068f 23:12:09 $ docker rm -f 0bb401394da4dfef0cae1795ce4e1d13c122a699ac0318ee41c0d6c4f644068f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:10 + docker inspect -f . ci-base-image-x86_64 23:12:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:10 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:12:10 $ 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 23:12:10 $ docker top 899369b2050edc0c3230c836f28ae44ff34640c9d833535c80b4860f39e8c6c1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:12:11 + make test 23:12:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:12:11 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:12:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:12:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.284s coverage: 64.6% of statements 23:12:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:12:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:23 ./bin/test-attribution-txt.sh 23:12:23 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 23:12:23 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:12:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 23:12:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 23:12:23 go: downloading github.com/google/uuid v1.3.0 23:12:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 23:12:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:12:23 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:12:23 go: downloading modernc.org/ql v1.0.0 23:12:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:12:23 go: downloading github.com/pelletier/go-toml v1.9.4 23:12:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:12:23 go: downloading github.com/gorilla/mux v1.8.0 23:12:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:12:23 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 23:12:23 go: downloading github.com/hashicorp/consul/api v1.9.1 23:12:23 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:12:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:12:23 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:12:23 go: downloading github.com/go-kit/kit v0.11.0 23:12:23 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:12:23 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:12:23 go: downloading github.com/pebbe/zmq4 v1.2.7 23:12:23 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:12:23 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:12:23 go: downloading github.com/mitchellh/copystructure v1.0.0 23:12:23 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:12:23 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:12:23 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:12:23 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:12:23 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:12:23 go: downloading golang.org/x/text v0.3.6 23:12:23 go: downloading modernc.org/internal v1.0.2 23:12:24 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:12:24 go: downloading modernc.org/mathutil v1.4.1 23:12:24 go: downloading modernc.org/fileutil v1.0.0 23:12:24 go: downloading modernc.org/b v1.0.2 23:12:24 go: downloading modernc.org/db v1.0.3 23:12:24 go: downloading modernc.org/file v1.0.3 23:12:24 go: downloading modernc.org/golex v1.0.1 23:12:24 go: downloading modernc.org/lldb v1.0.2 23:12:24 go: downloading modernc.org/strutil v1.1.1 23:12:24 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:12:24 go: downloading github.com/hashicorp/errwrap v1.0.0 23:12:24 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:12:24 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:12:24 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:12:24 go: downloading github.com/hashicorp/serf v0.9.5 23:12:24 go: downloading github.com/x448/float16 v0.8.4 23:12:24 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:12:24 go: downloading github.com/gorilla/websocket v1.4.2 23:12:24 go: downloading github.com/go-playground/universal-translator v0.18.0 23:12:24 go: downloading github.com/leodido/go-urn v1.2.1 23:12:24 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:12:24 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 23:12:24 go: downloading modernc.org/sortutil v1.1.0 23:12:24 go: downloading modernc.org/zappy v1.0.3 23:12:24 go: downloading github.com/fatih/color v1.9.0 23:12:24 go: downloading github.com/mattn/go-colorable v0.1.6 23:12:24 go: downloading github.com/mattn/go-isatty v0.0.12 23:12:24 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:12:24 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:12:25 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:12:26 + go mod tidy 23:12:26 go: downloading github.com/stretchr/testify v1.7.0 23:12:26 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:12:26 go: downloading github.com/go-stack/stack v1.8.0 23:12:26 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:12:26 go: downloading github.com/golang/snappy v0.0.3 23:12:26 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:12:26 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:12:26 go: downloading github.com/onsi/ginkgo v1.10.1 23:12:26 go: downloading github.com/onsi/gomega v1.7.0 23:12:26 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:12:26 go: downloading github.com/hashicorp/memberlist v0.2.2 23:12:26 go: downloading github.com/pkg/errors v0.9.1 23:12:26 go: downloading github.com/kr/pretty v0.3.0 23:12:26 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:12:26 go: downloading github.com/davecgh/go-spew v1.1.1 23:12:26 go: downloading github.com/pmezard/go-difflib v1.0.0 23:12:26 go: downloading github.com/stretchr/objx v0.1.1 23:12:26 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:12:26 go: downloading github.com/kr/text v0.2.0 23:12:26 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:12:26 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:12:26 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:12:26 go: downloading github.com/miekg/dns v1.1.26 23:12:26 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:12:26 go: downloading gopkg.in/yaml.v2 v2.3.0 23:12:26 go: downloading github.com/hpcloud/tail v1.0.0 23:12:26 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:12:26 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:12:26 $ docker stop --time=1 899369b2050edc0c3230c836f28ae44ff34640c9d833535c80b4860f39e8c6c1 23:12:28 $ docker rm -f 899369b2050edc0c3230c836f28ae44ff34640c9d833535c80b4860f39e8c6c1 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:30 + ls -al . 23:12:30 total 208 23:12:30 drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 23:12 . 23:12:30 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:11 .. 23:12:30 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:11 .git 23:12:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:11 .github 23:12:30 -rw-rw-r-- 1 jenkins jenkins 262 Jun 1 23:11 .gitignore 23:12:30 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:11 .semver 23:12:30 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 1 23:11 Attribution.txt 23:12:30 -rw-rw-r-- 1 jenkins jenkins 6349 Jun 1 23:11 CHANGELOG.md 23:12:30 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 1 23:11 Dockerfile 23:12:30 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:11 GOVERNANCE.md 23:12:30 -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 23:11 Jenkinsfile 23:12:30 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 23:11 LICENSE 23:12:30 -rw-rw-r-- 1 jenkins jenkins 999 Jun 1 23:11 Makefile 23:12:30 -rw-rw-r-- 1 jenkins jenkins 623 Jun 1 23:11 OWNERS.md 23:12:30 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 1 23:11 README.md 23:12:30 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:11 VERSION 23:12:30 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:11 bin 23:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:11 cmd 23:12:30 -rw-r--r-- 1 jenkins jenkins 46339 Jun 1 23:12 coverage.out 23:12:30 -rw-rw-r-- 1 jenkins jenkins 350 Jun 1 23:12 go.mod 23:12:30 -rw-rw-r-- 1 jenkins jenkins 52347 Jun 1 23:11 go.sum 23:12:30 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:11 internal 23:12:30 drwxrwxr-x 7 jenkins jenkins 4096 Jun 1 23:11 vendor 23:12:30 -rw-rw-r-- 1 jenkins jenkins 235 Jun 1 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:30 + 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=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 --label arch=amd64 --label version=2.1.1-dev.1 . 23:12:30 Sending build context to Docker daemon 37.47MB 23:12:30 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:12:30 Step 2/25 : FROM ${BASE} AS builder 23:12:30 ---> 2260761319fb 23:12:30 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:12:31 ---> Running in b57bc35ca2f2 23:12:31 Removing intermediate container b57bc35ca2f2 23:12:31 ---> f22a7ab1a64f 23:12:31 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:12:31 ---> Running in c6259e8e999b 23:12:31 Removing intermediate container c6259e8e999b 23:12:31 ---> 383e2eb10f6c 23:12:31 Step 5/25 : WORKDIR /device-virtual-go 23:12:31 ---> Running in 241e57f0056a 23:12:31 Removing intermediate container 241e57f0056a 23:12:31 ---> 7e36378ffae7 23:12:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:31 ---> Running in 5062b5cb3cb6 23:12:32 Removing intermediate container 5062b5cb3cb6 23:12:32 ---> fe7119a1aa89 23:12:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:32 ---> Running in 4a1c852e10d3 23:12:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:12:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:12:33 OK: 224 MiB in 56 packages 23:12:34 Removing intermediate container 4a1c852e10d3 23:12:34 ---> b77facc25867 23:12:34 Step 8/25 : COPY . . 23:12:35 ---> 5c315e15ccab 23:12:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:35 ---> Running in a456d54862a1 23:12:35 skipping... 23:12:35 Removing intermediate container a456d54862a1 23:12:35 ---> 0d9db54812fd 23:12:35 Step 10/25 : ARG MAKE='make build' 23:12:35 ---> Running in fd9018ee08cb 23:12:36 Removing intermediate container fd9018ee08cb 23:12:36 ---> 947ef9ff1bc6 23:12:36 Step 11/25 : RUN $MAKE 23:12:36 ---> Running in a8cc742636bc 23:12:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.1.1-dev.1" -o cmd/device-virtual ./cmd 23:12:46 Removing intermediate container a8cc742636bc 23:12:46 ---> 58cbf8434799 23:12:46 Step 12/25 : FROM alpine:3.14 23:12:46 3.14: Pulling from library/alpine 23:12:46 8663204ce13b: Pulling fs layer 23:12:46 8663204ce13b: Verifying Checksum 23:12:46 8663204ce13b: Download complete 23:12:46 8663204ce13b: Pull complete 23:12:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:12:46 Status: Downloaded newer image for alpine:3.14 23:12:46 ---> e04c818066af 23:12:46 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:12:47 ---> Running in 63665c32cc77 23:12:47 Removing intermediate container 63665c32cc77 23:12:47 ---> beefb885ea89 23:12:47 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:47 ---> Running in 65b29c808599 23:12:48 Removing intermediate container 65b29c808599 23:12:48 ---> 9d708a70bc5d 23:12:48 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 23:12:48 ---> Running in 062d8d4ab182 23:12:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:12:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:12:49 (1/6) Installing dumb-init (1.2.5-r1) 23:12:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:12:49 (3/6) Installing libsodium (1.0.18-r0) 23:12:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:12:49 (5/6) Installing libzmq (4.3.4-r0) 23:12:49 (6/6) Installing zeromq (4.3.4-r0) 23:12:49 Executing busybox-1.33.1-r7.trigger 23:12:49 OK: 8 MiB in 20 packages 23:12:50 Removing intermediate container 062d8d4ab182 23:12:50 ---> a28dab7332b9 23:12:50 Step 16/25 : WORKDIR / 23:12:50 ---> Running in 431434c53e28 23:12:50 Removing intermediate container 431434c53e28 23:12:50 ---> a0e19a557663 23:12:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:12:50 ---> 0ce0042ca6b4 23:12:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:12:50 ---> 79fa7ad504af 23:12:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:12:51 ---> 3f71fccf3646 23:12:51 Step 20/25 : EXPOSE 59900 23:12:51 ---> Running in 3db5243035e0 23:12:51 Removing intermediate container 3db5243035e0 23:12:51 ---> 5ce610daeb91 23:12:51 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:12:51 ---> Running in 7e3383a774ce 23:12:51 Removing intermediate container 7e3383a774ce 23:12:51 ---> 27bb5bf47c8d 23:12:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:12:51 ---> Running in 1cca4ef21e13 23:12:51 Removing intermediate container 1cca4ef21e13 23:12:51 ---> 4ce64fab3262 23:12:51 Step 23/25 : LABEL arch=amd64 23:12:51 ---> Running in f445901b65f2 23:12:51 Removing intermediate container f445901b65f2 23:12:51 ---> 6ab6c6f49a43 23:12:51 Step 24/25 : LABEL git_sha=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:12:51 ---> Running in aeffea5e9bb0 23:12:51 Removing intermediate container aeffea5e9bb0 23:12:51 ---> c4191ec5cc6f 23:12:51 Step 25/25 : LABEL version=2.1.1-dev.1 23:12:51 ---> Running in 9f2a2de9dc01 23:12:52 Removing intermediate container 9f2a2de9dc01 23:12:52 ---> a3f6dbfded0d 23:12:52 [Warning] One or more build-args [ARCH] were not consumed 23:12:52 Successfully built a3f6dbfded0d 23:12:52 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:12:52 provisioning config files... 23:12:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config1875650426968891614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:52 ---> docker-login.sh 23:12:52 nexus3.edgexfoundry.org:10001 23:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:52 Configure a credential helper to remove this warning. See 23:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:52 23:12:52 Login Succeeded 23:12:52 nexus3.edgexfoundry.org:10002 23:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:52 Configure a credential helper to remove this warning. See 23:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:52 23:12:52 Login Succeeded 23:12:52 nexus3.edgexfoundry.org:10003 23:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:52 Configure a credential helper to remove this warning. See 23:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:52 23:12:52 Login Succeeded 23:12:52 nexus3.edgexfoundry.org:10004 23:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:52 Configure a credential helper to remove this warning. See 23:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:52 23:12:52 Login Succeeded 23:12:52 docker.io 23:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:12:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:12:53 Configure a credential helper to remove this warning. See 23:12:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:12:53 23:12:53 Login Succeeded 23:12:53 ---> docker-login.sh ends [Pipeline] } 23:12:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:12:53 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:12:53 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 23:12:53 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:12:53 2.1.1-dev.1 23:12:53 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:12:53 jakarta 23:12:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:12:53 f4d60b23e095: Preparing 23:12:53 8ba025c45954: Preparing 23:12:53 8ddbe19fc870: Preparing 23:12:53 ecf884a435c9: Preparing 23:12:53 c6d7dd8b443a: Preparing 23:12:53 b541d28bf3b4: Preparing 23:12:53 b541d28bf3b4: Waiting 23:12:53 8ddbe19fc870: Pushed 23:12:53 8ba025c45954: Pushed 23:12:53 c6d7dd8b443a: Pushed 23:12:53 b541d28bf3b4: Layer already exists 23:12:54 ecf884a435c9: Pushed 23:12:55 f4d60b23e095: Pushed 23:12:55 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76: digest: sha256:b7cedc7a33f9df3a120635d4ad9f0abf4b179fd4363b6ec91254311c54efb1b9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.1 23:12:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:12:56 f4d60b23e095: Preparing 23:12:56 8ba025c45954: Preparing 23:12:56 8ddbe19fc870: Preparing 23:12:56 ecf884a435c9: Preparing 23:12:56 c6d7dd8b443a: Preparing 23:12:56 b541d28bf3b4: Preparing 23:12:56 b541d28bf3b4: Waiting 23:12:56 8ba025c45954: Layer already exists 23:12:56 ecf884a435c9: Layer already exists 23:12:56 f4d60b23e095: Layer already exists 23:12:56 8ddbe19fc870: Layer already exists 23:12:56 c6d7dd8b443a: Layer already exists 23:12:56 b541d28bf3b4: Layer already exists 23:12:56 2.1.1-dev.1: digest: sha256:b7cedc7a33f9df3a120635d4ad9f0abf4b179fd4363b6ec91254311c54efb1b9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:12:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:12:56 f4d60b23e095: Preparing 23:12:56 8ba025c45954: Preparing 23:12:56 8ddbe19fc870: Preparing 23:12:56 ecf884a435c9: Preparing 23:12:56 c6d7dd8b443a: Preparing 23:12:56 b541d28bf3b4: Preparing 23:12:56 b541d28bf3b4: Waiting 23:12:56 ecf884a435c9: Layer already exists 23:12:56 c6d7dd8b443a: Layer already exists 23:12:56 f4d60b23e095: Layer already exists 23:12:56 8ba025c45954: Layer already exists 23:12:56 8ddbe19fc870: Layer already exists 23:12:56 b541d28bf3b4: Layer already exists 23:12:56 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1: digest: sha256:b7cedc7a33f9df3a120635d4ad9f0abf4b179fd4363b6ec91254311c54efb1b9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:jakarta 23:12:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 23:12:57 f4d60b23e095: Preparing 23:12:57 8ba025c45954: Preparing 23:12:57 8ddbe19fc870: Preparing 23:12:57 ecf884a435c9: Preparing 23:12:57 c6d7dd8b443a: Preparing 23:12:57 b541d28bf3b4: Preparing 23:12:57 b541d28bf3b4: Waiting 23:12:57 c6d7dd8b443a: Layer already exists 23:12:57 8ddbe19fc870: Layer already exists 23:12:57 8ba025c45954: Layer already exists 23:12:57 ecf884a435c9: Layer already exists 23:12:57 f4d60b23e095: Layer already exists 23:12:57 b541d28bf3b4: Layer already exists 23:12:57 jakarta: digest: sha256:b7cedc7a33f9df3a120635d4ad9f0abf4b179fd4363b6ec91254311c54efb1b9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:12:57 ===================================================== [Pipeline] echo 23:12:57 taggedImages: 23:12:57 - nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:12:57 - nexus3.edgexfoundry.org:10004/device-virtual:2.1.1-dev.1 23:12:57 - nexus3.edgexfoundry.org:10004/device-virtual:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:12:57 - 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 23:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:57 23:12:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:58 latest: Pulling from edgex-lftools-log-publisher 23:12:58 5eb5b503b376: Pulling fs layer 23:12:58 5c69ac0246d0: Pulling fs layer 23:12:58 ec43610c2a17: Pulling fs layer 23:12:58 3a2ae6a8a46f: Pulling fs layer 23:12:58 33b1e0a273af: Pulling fs layer 23:12:58 5d3b04190fa2: Pulling fs layer 23:12:58 2f39f015ded8: Pulling fs layer 23:12:58 33b1e0a273af: Waiting 23:12:58 2f39f015ded8: Waiting 23:12:58 3a2ae6a8a46f: Waiting 23:12:58 5c69ac0246d0: Verifying Checksum 23:12:58 5c69ac0246d0: Download complete 23:12:58 3a2ae6a8a46f: Verifying Checksum 23:12:58 33b1e0a273af: Verifying Checksum 23:12:58 33b1e0a273af: Download complete 23:12:58 5d3b04190fa2: Download complete 23:12:58 ec43610c2a17: Verifying Checksum 23:12:58 ec43610c2a17: Download complete 23:12:58 5eb5b503b376: Download complete 23:12:59 2f39f015ded8: Download complete 23:12:59 5eb5b503b376: Pull complete 23:12:59 5c69ac0246d0: Pull complete 23:13:00 ec43610c2a17: Pull complete 23:13:00 3a2ae6a8a46f: Pull complete 23:13:00 33b1e0a273af: Pull complete 23:13:00 5d3b04190fa2: Pull complete 23:13:04 2f39f015ded8: Pull complete 23:13:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:13:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:04 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:13:04 $ 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 23:13:07 $ docker top 29d13cfb54056e7da82a6eef05cf6a17c2134ce6a388cc9f23281d11e87fef68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:07 ---> job-cost.sh 23:13:07 lf-activate-venv: SKIPPING 23:13:07 INFO: No Stack... 23:13:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:08 INFO: Archiving Costs [Pipeline] sh 23:13:08 + cat /w/workspace/oundry_device-virtual-go_jakarta/archives/cost.csv 23:13:08 + cut -d, -f6 [Pipeline] lock 23:13:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] 23:13:08 Resource [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] did not exist. Created. 23:13:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:09 + echo total: 0.2199999988079071 [Pipeline] stash 23:13:09 Stashed 1 file(s) [Pipeline] } 23:13:09 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:09 $ docker stop --time=1 29d13cfb54056e7da82a6eef05cf6a17c2134ce6a388cc9f23281d11e87fef68 23:13:10 $ docker rm -f 29d13cfb54056e7da82a6eef05cf6a17c2134ce6a388cc9f23281d11e87fef68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:13:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-607 in /w/workspace/oundry_device-virtual-go_jakarta [Pipeline] { [Pipeline] ws 23:13:35 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 23:13:35 The recommended git tool is: git 23:13:42 using credential edgex-jenkins-ssh 23:13:42 Cloning the remote Git repository 23:13:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:13:42 > git init /w/workspace/device-virtual-go/3 # timeout=10 23:13:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:13:42 > git --version # timeout=10 23:13:42 > git --version # 'git version 2.25.1' 23:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 23:13:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:44 Avoid second fetch 23:13:44 Checking out Revision c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 (jakarta) 23:13:44 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:13:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:13:44 > git config core.sparsecheckout # timeout=10 23:13:44 > git checkout -f c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 # timeout=10 23:13:49 Commit message: "Merge pull request #288 from lenny-intel/update-sdk-for-2.1.1-fixes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:13:50 % Total % Received % Xferd Average Speed Time Time Time Current 23:13:50 Dload Upload Total Spent Left Speed 23:13:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 23:13:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:13:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:13:51 + sudo tee /etc/docker/daemon.new 23:13:51 { 23:13:51 "registry-mirrors": [ 23:13:51 "https://nexus3.edgexfoundry.org:10001" 23:13:51 ], 23:13:51 "bip": "10.250.0.254/24", 23:13:51 "hosts": [ 23:13:51 "tcp://0.0.0.0:5555", 23:13:51 "unix:///var/run/docker.sock" 23:13:51 ], 23:13:51 "mtu": 1458, 23:13:51 "selinux-enabled": true, 23:13:51 "seccomp-profile": "/etc/docker/seccomp.json" 23:13:51 } [Pipeline] sh 23:13:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:13:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:14:10 provisioning config files... 23:14:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config5553500660363041404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:10 ---> docker-login.sh 23:14:10 nexus3.edgexfoundry.org:10001 23:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:11 Configure a credential helper to remove this warning. See 23:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:11 23:14:11 Login Succeeded 23:14:11 nexus3.edgexfoundry.org:10002 23:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:12 Configure a credential helper to remove this warning. See 23:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:12 23:14:12 Login Succeeded 23:14:12 nexus3.edgexfoundry.org:10003 23:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:12 Configure a credential helper to remove this warning. See 23:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:12 23:14:12 Login Succeeded 23:14:12 nexus3.edgexfoundry.org:10004 23:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:13 Configure a credential helper to remove this warning. See 23:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:13 23:14:13 Login Succeeded 23:14:13 docker.io 23:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:14:13 Configure a credential helper to remove this warning. See 23:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:14:13 23:14:13 Login Succeeded 23:14:13 ---> docker-login.sh ends [Pipeline] } 23:14:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:14:14 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:14:14 ========================================================= 23:14:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:14:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:14 + 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 . 23:14:16 Sending build context to Docker daemon 26.08MB 23:14:16 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:14:16 Step 2/11 : FROM ${BASE} AS builder 23:14:16 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:14:16 9b3977197b4f: Pulling fs layer 23:14:16 1a89e8eeedd5: Pulling fs layer 23:14:16 94645a83ff95: Pulling fs layer 23:14:16 3f3a8bcf1eab: Pulling fs layer 23:14:16 0c92f367c5e7: Pulling fs layer 23:14:16 63b1bc5785f6: Pulling fs layer 23:14:16 626d30ff41c6: Pulling fs layer 23:14:16 de1d54c125be: Pulling fs layer 23:14:16 3f3a8bcf1eab: Waiting 23:14:16 0c92f367c5e7: Waiting 23:14:16 63b1bc5785f6: Waiting 23:14:16 626d30ff41c6: Waiting 23:14:16 de1d54c125be: Waiting 23:14:16 1a89e8eeedd5: Verifying Checksum 23:14:16 1a89e8eeedd5: Download complete 23:14:16 94645a83ff95: Verifying Checksum 23:14:16 94645a83ff95: Download complete 23:14:16 0c92f367c5e7: Verifying Checksum 23:14:16 0c92f367c5e7: Download complete 23:14:16 63b1bc5785f6: Verifying Checksum 23:14:16 63b1bc5785f6: Download complete 23:14:16 9b3977197b4f: Download complete 23:14:16 626d30ff41c6: Verifying Checksum 23:14:16 626d30ff41c6: Download complete 23:14:17 9b3977197b4f: Pull complete 23:14:17 1a89e8eeedd5: Pull complete 23:14:18 94645a83ff95: Pull complete 23:14:18 de1d54c125be: Verifying Checksum 23:14:18 de1d54c125be: Download complete 23:14:19 3f3a8bcf1eab: Verifying Checksum 23:14:19 3f3a8bcf1eab: Download complete 23:14:31 3f3a8bcf1eab: Pull complete 23:14:31 0c92f367c5e7: Pull complete 23:14:31 63b1bc5785f6: Pull complete 23:14:31 626d30ff41c6: Pull complete 23:14:38 de1d54c125be: Pull complete 23:14:38 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 23:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:14:38 ---> 5f011755c4a2 23:14:38 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:14:39 ---> Running in 8f3dc49cfa83 23:14:39 Removing intermediate container 8f3dc49cfa83 23:14:39 ---> 221b686b6dde 23:14:39 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:14:39 ---> Running in ef29b134d845 23:14:40 Removing intermediate container ef29b134d845 23:14:40 ---> 6c814969bbf5 23:14:40 Step 5/11 : WORKDIR /device-virtual-go 23:14:40 ---> Running in a1e66f3d3100 23:14:40 Removing intermediate container a1e66f3d3100 23:14:40 ---> 52943cbdc938 23:14:40 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:40 ---> Running in b8ec2b3f11e5 23:14:42 Removing intermediate container b8ec2b3f11e5 23:14:42 ---> 94e7d333ba76 23:14:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:14:42 ---> Running in fc707083a878 23:14:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:14:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:14:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:14:46 (2/4) Installing libedit (20210910.3.1-r0) 23:14:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:14:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:14:46 Executing busybox-1.34.1-r3.trigger 23:14:46 OK: 224 MiB in 56 packages 23:14:47 Removing intermediate container fc707083a878 23:14:47 ---> 3c1d524bafa3 23:14:47 Step 8/11 : COPY . . 23:14:51 ---> 9b594f80f539 23:14:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:51 ---> Running in f6b3db427f09 23:14:52 skipping... 23:14:53 Removing intermediate container f6b3db427f09 23:14:53 ---> 92d558c4bf91 23:14:53 Step 10/11 : ARG MAKE='make build' 23:14:53 ---> Running in 70b929ddf900 23:14:53 Removing intermediate container 70b929ddf900 23:14:53 ---> a95e838d6064 23:14:53 Step 11/11 : RUN $MAKE 23:14:53 ---> Running in 14de17ec4a73 23:14:54 noop 23:14:55 Removing intermediate container 14de17ec4a73 23:14:55 ---> 5bf023681213 23:14:55 Successfully built 5bf023681213 23:14:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:14:55 + docker inspect -f . ci-base-image-arm64 23:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:14:56 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 23:14:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:57 $ docker top ef96dfcb4974941ed97b3817925c2bf9cbce73a17ec3940ae7aa27d6bc235fb6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:58 + go version 23:14:58 go version go1.17.6 linux/arm64 [Pipeline] } 23:14:58 $ docker stop --time=1 ef96dfcb4974941ed97b3817925c2bf9cbce73a17ec3940ae7aa27d6bc235fb6 23:15:00 $ docker rm -f ef96dfcb4974941ed97b3817925c2bf9cbce73a17ec3940ae7aa27d6bc235fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:00 + docker inspect -f . ci-base-image-arm64 23:15:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:15:00 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 23:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:15:02 $ docker top 53d3879e68d0783ae1177de144d4549dde4ee6ac766863dd7aed48339af59ff8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:15:03 + make test 23:15:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:15:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:16:12 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:16:12 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.686s coverage: 64.6% of statements 23:16:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:16:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:16:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:16:34 ./bin/test-attribution-txt.sh 23:16:34 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1-dev.3 23:16:34 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 23:16:34 go: downloading modernc.org/ql v1.0.0 23:16:34 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:16:34 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 23:16:34 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:16:34 go: downloading github.com/google/uuid v1.3.0 23:16:34 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:16:34 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 23:16:34 go: downloading github.com/pelletier/go-toml v1.9.4 23:16:34 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:16:34 go: downloading github.com/gorilla/mux v1.8.0 23:16:34 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:16:34 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:16:34 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 23:16:34 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:16:34 go: downloading github.com/hashicorp/consul/api v1.9.1 23:16:34 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:16:34 go: downloading github.com/go-kit/kit v0.11.0 23:16:34 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:16:34 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:16:34 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:16:34 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:16:34 go: downloading github.com/pebbe/zmq4 v1.2.7 23:16:34 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:16:34 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:16:34 go: downloading github.com/mitchellh/copystructure v1.0.0 23:16:34 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:16:34 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:16:34 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:16:34 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:16:34 go: downloading golang.org/x/text v0.3.6 23:16:35 go: downloading modernc.org/internal v1.0.2 23:16:35 go: downloading github.com/edsrzf/mmap-go v1.0.0 23:16:35 go: downloading modernc.org/fileutil v1.0.0 23:16:35 go: downloading modernc.org/mathutil v1.4.1 23:16:35 go: downloading modernc.org/b v1.0.2 23:16:35 go: downloading modernc.org/db v1.0.3 23:16:35 go: downloading modernc.org/file v1.0.3 23:16:35 go: downloading modernc.org/golex v1.0.1 23:16:35 go: downloading modernc.org/lldb v1.0.2 23:16:35 go: downloading modernc.org/strutil v1.1.1 23:16:35 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:16:35 go: downloading github.com/hashicorp/errwrap v1.0.0 23:16:35 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:16:35 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:16:35 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:16:35 go: downloading github.com/hashicorp/serf v0.9.5 23:16:36 go: downloading github.com/x448/float16 v0.8.4 23:16:36 go: downloading github.com/go-playground/universal-translator v0.18.0 23:16:36 go: downloading github.com/leodido/go-urn v1.2.1 23:16:36 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:16:38 go: downloading github.com/gorilla/websocket v1.4.2 23:16:38 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:16:38 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 23:16:38 go: downloading modernc.org/sortutil v1.1.0 23:16:38 go: downloading modernc.org/zappy v1.0.3 23:16:38 go: downloading github.com/mattn/go-colorable v0.1.6 23:16:38 go: downloading github.com/fatih/color v1.9.0 23:16:38 go: downloading github.com/mattn/go-isatty v0.0.12 23:16:38 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:16:38 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:16:43 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:16:44 + go mod tidy 23:16:44 go: downloading github.com/stretchr/testify v1.7.0 23:16:44 go: downloading github.com/go-stack/stack v1.8.0 23:16:44 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:16:44 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:16:44 go: downloading github.com/davecgh/go-spew v1.1.1 23:16:44 go: downloading github.com/pmezard/go-difflib v1.0.0 23:16:44 go: downloading github.com/stretchr/objx v0.1.1 23:16:44 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:16:44 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:16:44 go: downloading github.com/kr/pretty v0.3.0 23:16:44 go: downloading github.com/golang/snappy v0.0.3 23:16:44 go: downloading github.com/onsi/ginkgo v1.10.1 23:16:44 go: downloading github.com/onsi/gomega v1.7.0 23:16:44 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:16:44 go: downloading github.com/hashicorp/memberlist v0.2.2 23:16:45 go: downloading github.com/pkg/errors v0.9.1 23:16:45 go: downloading github.com/kr/text v0.2.0 23:16:45 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:16:45 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:16:45 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:16:45 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:16:45 go: downloading github.com/miekg/dns v1.1.26 23:16:45 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:16:45 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:16:45 go: downloading gopkg.in/yaml.v2 v2.3.0 23:16:45 go: downloading github.com/hpcloud/tail v1.0.0 23:16:45 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:16:45 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:16:45 $ docker stop --time=1 53d3879e68d0783ae1177de144d4549dde4ee6ac766863dd7aed48339af59ff8 23:16:48 $ docker rm -f 53d3879e68d0783ae1177de144d4549dde4ee6ac766863dd7aed48339af59ff8 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:16:50 Warning: overwriting stash ‘coverage-report’ 23:16:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:16:52 + ls -al . 23:16:52 total 204 23:16:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:16 . 23:16:52 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 23:13 .. 23:16:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 23:13 .git 23:16:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:13 .github 23:16:52 -rw-rw-r-- 1 jenkins jenkins 262 Jun 1 23:13 .gitignore 23:16:52 -rw-rw-r-- 1 jenkins jenkins 8449 Jun 1 23:13 Attribution.txt 23:16:52 -rw-rw-r-- 1 jenkins jenkins 6349 Jun 1 23:13 CHANGELOG.md 23:16:52 -rw-rw-r-- 1 jenkins jenkins 1951 Jun 1 23:13 Dockerfile 23:16:52 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 23:13 GOVERNANCE.md 23:16:52 -rw-rw-r-- 1 jenkins jenkins 660 Jun 1 23:13 Jenkinsfile 23:16:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 23:13 LICENSE 23:16:52 -rw-rw-r-- 1 jenkins jenkins 999 Jun 1 23:13 Makefile 23:16:52 -rw-rw-r-- 1 jenkins jenkins 623 Jun 1 23:13 OWNERS.md 23:16:52 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 1 23:13 README.md 23:16:52 -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 23:11 VERSION 23:16:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 23:13 bin 23:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:13 cmd 23:16:52 -rw-r--r-- 1 jenkins jenkins 46339 Jun 1 23:16 coverage.out 23:16:52 -rw-rw-r-- 1 jenkins jenkins 350 Jun 1 23:16 go.mod 23:16:52 -rw-rw-r-- 1 jenkins jenkins 52347 Jun 1 23:13 go.sum 23:16:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 23:13 internal 23:16:52 drwxrwxr-x 7 jenkins jenkins 4096 Jun 1 23:13 vendor 23:16:52 -rw-rw-r-- 1 jenkins jenkins 235 Jun 1 23:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:52 + 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=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 --label arch=arm64 --label version=2.1.1-dev.1 . 23:16:54 Sending build context to Docker daemon 26.12MB 23:16:54 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 23:16:54 Step 2/25 : FROM ${BASE} AS builder 23:16:54 ---> 5bf023681213 23:16:54 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:16:54 ---> Running in 77e45462e65e 23:16:54 Removing intermediate container 77e45462e65e 23:16:54 ---> 8980ad8ea26f 23:16:54 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:16:55 ---> Running in 8d0398200e38 23:16:55 Removing intermediate container 8d0398200e38 23:16:55 ---> ecb62bc0c723 23:16:55 Step 5/25 : WORKDIR /device-virtual-go 23:16:55 ---> Running in 14000d2436e9 23:16:55 Removing intermediate container 14000d2436e9 23:16:55 ---> f29c11ad0d2a 23:16:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:16:55 ---> Running in 7d931fca489c 23:16:57 Removing intermediate container 7d931fca489c 23:16:57 ---> 8d06acda529c 23:16:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:57 ---> Running in db1156b5b160 23:16:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:16:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:17:00 OK: 224 MiB in 56 packages 23:17:01 Removing intermediate container db1156b5b160 23:17:01 ---> e9731d27741a 23:17:01 Step 8/25 : COPY . . 23:17:06 ---> 5cbb29578e5b 23:17:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:06 ---> Running in c1e5beeab821 23:17:06 skipping... 23:17:07 Removing intermediate container c1e5beeab821 23:17:07 ---> c90d97ad63f5 23:17:07 Step 10/25 : ARG MAKE='make build' 23:17:07 ---> Running in a8aeb22e97d0 23:17:07 Removing intermediate container a8aeb22e97d0 23:17:07 ---> 104d6a46f148 23:17:07 Step 11/25 : RUN $MAKE 23:17:08 ---> Running in 7deff8b6bdb6 23:17:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.1.1-dev.1" -o cmd/device-virtual ./cmd 23:18:17 Removing intermediate container 7deff8b6bdb6 23:18:17 ---> 5f819b811e94 23:18:17 Step 12/25 : FROM alpine:3.14 23:18:17 3.14: Pulling from library/alpine 23:18:17 455c02918c45: Pulling fs layer 23:18:17 455c02918c45: Verifying Checksum 23:18:17 455c02918c45: Download complete 23:18:17 455c02918c45: Pull complete 23:18:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:18:17 Status: Downloaded newer image for alpine:3.14 23:18:17 ---> ac73e934f311 23:18:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:18:17 ---> Running in 693fa426d85c 23:18:17 Removing intermediate container 693fa426d85c 23:18:17 ---> 419307516b28 23:18:17 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:18:17 ---> Running in 6d3f38465902 23:18:17 Removing intermediate container 6d3f38465902 23:18:17 ---> 8b9f825555ae 23:18:17 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 23:18:17 ---> Running in 9483bfb4a3a4 23:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:18:17 (1/6) Installing dumb-init (1.2.5-r1) 23:18:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:18:17 (3/6) Installing libsodium (1.0.18-r0) 23:18:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:18:17 (5/6) Installing libzmq (4.3.4-r0) 23:18:17 (6/6) Installing zeromq (4.3.4-r0) 23:18:17 Executing busybox-1.33.1-r7.trigger 23:18:17 OK: 8 MiB in 20 packages 23:18:17 Removing intermediate container 9483bfb4a3a4 23:18:17 ---> 2b6f63317feb 23:18:17 Step 16/25 : WORKDIR / 23:18:17 ---> Running in aa8814424ae2 23:18:17 Removing intermediate container aa8814424ae2 23:18:17 ---> 73b451bf005c 23:18:17 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:18:18 ---> 1730b64d21dd 23:18:18 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:18:19 ---> 645c5518070c 23:18:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:18:20 ---> 558ea1491bae 23:18:20 Step 20/25 : EXPOSE 59900 23:18:20 ---> Running in 450c4cc66599 23:18:20 Removing intermediate container 450c4cc66599 23:18:20 ---> bf1946170359 23:18:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:18:20 ---> Running in 03fda14d1a6b 23:18:21 Removing intermediate container 03fda14d1a6b 23:18:21 ---> d98c47d0cb28 23:18:21 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:18:21 ---> Running in 4b5a5cc2b99d 23:18:21 Removing intermediate container 4b5a5cc2b99d 23:18:21 ---> e25e1e92b72e 23:18:21 Step 23/25 : LABEL arch=arm64 23:18:21 ---> Running in 7c943c5ce029 23:18:21 Removing intermediate container 7c943c5ce029 23:18:21 ---> a11e86e7d04f 23:18:21 Step 24/25 : LABEL git_sha=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:18:22 ---> Running in 84d7222d59cb 23:18:22 Removing intermediate container 84d7222d59cb 23:18:22 ---> 5c04152f136c 23:18:22 Step 25/25 : LABEL version=2.1.1-dev.1 23:18:22 ---> Running in 999074a28532 23:18:22 Removing intermediate container 999074a28532 23:18:22 ---> a11d25d89936 23:18:22 [Warning] One or more build-args [ARCH] were not consumed 23:18:23 Successfully built a11d25d89936 23:18:23 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 23:18:23 provisioning config files... 23:18:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2752558247898790156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:23 ---> docker-login.sh 23:18:23 nexus3.edgexfoundry.org:10001 23:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:23 Configure a credential helper to remove this warning. See 23:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:23 23:18:23 Login Succeeded 23:18:23 nexus3.edgexfoundry.org:10002 23:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:24 Configure a credential helper to remove this warning. See 23:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:24 23:18:24 Login Succeeded 23:18:24 nexus3.edgexfoundry.org:10003 23:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:24 Configure a credential helper to remove this warning. See 23:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:24 23:18:24 Login Succeeded 23:18:24 nexus3.edgexfoundry.org:10004 23:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:25 Configure a credential helper to remove this warning. See 23:18:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:25 23:18:25 Login Succeeded 23:18:25 docker.io 23:18:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:26 Configure a credential helper to remove this warning. See 23:18:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:26 23:18:26 Login Succeeded 23:18:26 ---> docker-login.sh ends [Pipeline] } 23:18:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:18:26 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:26 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 23:18:26 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:18:26 2.1.1-dev.1 23:18:26 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:18:26 jakarta 23:18:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:18:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:18:26 8c7558a23af4: Preparing 23:18:26 35ba762b431b: Preparing 23:18:26 0706cd1064a7: Preparing 23:18:26 7b23e51ceb88: Preparing 23:18:26 b197aef50308: Preparing 23:18:26 f73e7dbfee58: Preparing 23:18:26 f73e7dbfee58: Waiting 23:18:27 b197aef50308: Pushed 23:18:27 35ba762b431b: Pushed 23:18:27 0706cd1064a7: Pushed 23:18:27 f73e7dbfee58: Layer already exists 23:18:27 7b23e51ceb88: Pushed 23:18:31 8c7558a23af4: Pushed 23:18:31 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76: digest: sha256:348734d94500960e7143062fd8c9a581c46a0343e6d14f9bcf03f769d8605af8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.1 23:18:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:18:31 8c7558a23af4: Preparing 23:18:31 35ba762b431b: Preparing 23:18:31 0706cd1064a7: Preparing 23:18:31 7b23e51ceb88: Preparing 23:18:31 b197aef50308: Preparing 23:18:31 f73e7dbfee58: Preparing 23:18:31 f73e7dbfee58: Waiting 23:18:31 0706cd1064a7: Layer already exists 23:18:31 b197aef50308: Layer already exists 23:18:31 35ba762b431b: Layer already exists 23:18:31 8c7558a23af4: Layer already exists 23:18:31 7b23e51ceb88: Layer already exists 23:18:31 f73e7dbfee58: Layer already exists 23:18:32 2.1.1-dev.1: digest: sha256:348734d94500960e7143062fd8c9a581c46a0343e6d14f9bcf03f769d8605af8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:18:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:18:32 8c7558a23af4: Preparing 23:18:32 35ba762b431b: Preparing 23:18:32 0706cd1064a7: Preparing 23:18:32 7b23e51ceb88: Preparing 23:18:32 b197aef50308: Preparing 23:18:32 f73e7dbfee58: Preparing 23:18:32 f73e7dbfee58: Waiting 23:18:32 7b23e51ceb88: Layer already exists 23:18:32 0706cd1064a7: Layer already exists 23:18:32 35ba762b431b: Layer already exists 23:18:32 8c7558a23af4: Layer already exists 23:18:32 b197aef50308: Layer already exists 23:18:33 f73e7dbfee58: Layer already exists 23:18:33 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1: digest: sha256:348734d94500960e7143062fd8c9a581c46a0343e6d14f9bcf03f769d8605af8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:33 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:jakarta 23:18:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 23:18:33 8c7558a23af4: Preparing 23:18:33 35ba762b431b: Preparing 23:18:33 0706cd1064a7: Preparing 23:18:33 7b23e51ceb88: Preparing 23:18:33 b197aef50308: Preparing 23:18:33 f73e7dbfee58: Preparing 23:18:33 f73e7dbfee58: Waiting 23:18:33 0706cd1064a7: Layer already exists 23:18:33 b197aef50308: Layer already exists 23:18:33 35ba762b431b: Layer already exists 23:18:33 8c7558a23af4: Layer already exists 23:18:33 7b23e51ceb88: Layer already exists 23:18:34 f73e7dbfee58: Layer already exists 23:18:34 jakarta: digest: sha256:348734d94500960e7143062fd8c9a581c46a0343e6d14f9bcf03f769d8605af8 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:18:34 ===================================================== [Pipeline] echo 23:18:34 taggedImages: 23:18:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 23:18:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.1.1-dev.1 23:18:34 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76-2.1.1-dev.1 23:18:34 - 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 23:18:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:18:34 23:18:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:18:35 arm64: Pulling from edgex-lftools-log-publisher 23:18:35 8998bd30e6a1: Pulling fs layer 23:18:35 04944245beec: Pulling fs layer 23:18:35 699f458cf7ca: Pulling fs layer 23:18:35 765212b225bb: Pulling fs layer 23:18:35 f23df028b6ca: Pulling fs layer 23:18:35 d65c8cfc05b1: Pulling fs layer 23:18:35 2437ff75d9bd: Pulling fs layer 23:18:35 f23df028b6ca: Waiting 23:18:35 d65c8cfc05b1: Waiting 23:18:35 2437ff75d9bd: Waiting 23:18:35 765212b225bb: Waiting 23:18:35 04944245beec: Verifying Checksum 23:18:35 04944245beec: Download complete 23:18:35 765212b225bb: Verifying Checksum 23:18:35 765212b225bb: Download complete 23:18:35 f23df028b6ca: Verifying Checksum 23:18:35 f23df028b6ca: Download complete 23:18:35 d65c8cfc05b1: Verifying Checksum 23:18:35 d65c8cfc05b1: Download complete 23:18:35 699f458cf7ca: Download complete 23:18:35 8998bd30e6a1: Verifying Checksum 23:18:35 8998bd30e6a1: Download complete 23:18:38 2437ff75d9bd: Verifying Checksum 23:18:38 2437ff75d9bd: Download complete 23:18:40 8998bd30e6a1: Pull complete 23:18:40 04944245beec: Pull complete 23:18:42 699f458cf7ca: Pull complete 23:18:42 765212b225bb: Pull complete 23:18:43 f23df028b6ca: Pull complete 23:18:43 d65c8cfc05b1: Pull complete 23:18:58 2437ff75d9bd: Pull complete 23:18:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:18:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:18:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:58 prd-ubuntu20.04-docker-arm64-4c-16g-607 does not seem to be running inside a container 23:18:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:19:01 $ docker top 754abf4fcb4c967dee8e6d23e9a68418b32f2c50d42ca230f16c36ec9b98a55f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:02 ---> job-cost.sh 23:19:02 lf-activate-venv: SKIPPING 23:19:02 INFO: No Stack... 23:19:02 INFO: Retrieving Pricing Info for: v3-standard-4 23:19:03 INFO: Archiving Costs [Pipeline] sh 23:19:04 + cut -d, -f6 23:19:04 + cat /w/workspace/device-virtual-go/3/archives/cost.csv [Pipeline] lock 23:19:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] 23:19:04 Resource [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] did not exist. Created. 23:19:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:05 /w/workspace/device-virtual-go/3@tmp/durable-51bc1ff4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:19:05 + echo total: 0.10999999940395355 [Pipeline] stash 23:19:05 Warning: overwriting stash ‘stack-cost’ 23:19:05 Stashed 1 file(s) [Pipeline] } 23:19:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-jakarta-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:06 $ docker stop --time=1 754abf4fcb4c967dee8e6d23e9a68418b32f2c50d42ca230f16c36ec9b98a55f 23:19:07 $ docker rm -f 754abf4fcb4c967dee8e6d23e9a68418b32f2c50d42ca230f16c36ec9b98a55f [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 23:19:08 provisioning config files... 23:19:08 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config886090948579742379tmp [Pipeline] { [Pipeline] sh 23:19:08 + set +x 23:19:08 + curl -s https://codecov.io/bash 23:19:08 + bash -s -- 23:19:08 23:19:08 _____ _ 23:19:08 / ____| | | 23:19:08 | | ___ __| | ___ ___ _____ __ 23:19:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:19:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:19:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:19:08 Bash-1.0.6 23:19:08 23:19:08 23:19:08 ==> git version 2.25.1 found 23:19:08 ==> 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 23:19:08 Release-Date: 2020-01-08 23:19:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:19:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:19:08 ==> Jenkins CI detected. 23:19:08 current dir:  /w/workspace/oundry_device-virtual-go_jakarta 23:19:08 project root: . 23:19:08 --> token set from env 23:19:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:19:08 ==> Running gcov in . (disable via -X gcov) 23:19:08 ==> Python coveragepy not found 23:19:08 ==> Searching for coverage reports in: 23:19:08 + . 23:19:08 -> Found 1 reports 23:19:08 ==> Detecting git/mercurial file structure 23:19:08 ==> Reading reports 23:19:08 + ./coverage.out bytes=46339 23:19:08 ==> Appending adjustments 23:19:08 https://docs.codecov.io/docs/fixing-reports 23:19:08 + Found adjustments 23:19:08 ==> Gzipping contents 23:19:08 16K /tmp/codecov.rJxqi9.gz 23:19:08 ==> Uploading reports 23:19:08 url: https://codecov.io 23:19:08 query: branch=jakarta&commit=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:19:08 -> Pinging Codecov 23:19:08 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=c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fjakarta%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:19:08 -> Uploading to 23:19:08 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/5E52B4B073DB2E39498172D8E973AA87/c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76/bc22e758-55bb-4b2a-82ff-23358a2d063f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T231908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=166971d1cec8a9cf2471313213c1571a7e5f185dec4774da4227944fbda9cdef 23:19:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:08 Dload Upload Total Spent Left Speed 23:19:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13251 0 0 100 13251 0 55443 --:--:-- --:--:-- --:--:-- 55443 23:19:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] } 23:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:19:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:19:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:19:09 23:19:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:19:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:19:09 df9b9388f04a: Pulling fs layer 23:19:09 52dc419b0ee2: Pulling fs layer 23:19:09 25bc292e5bac: Pulling fs layer 23:19:09 114826534d7a: Pulling fs layer 23:19:09 4657fd5d0bcf: Pulling fs layer 23:19:09 6ad1cebc031e: Pulling fs layer 23:19:09 8a3aa393b2d8: Pulling fs layer 23:19:09 4657fd5d0bcf: Waiting 23:19:09 8a3aa393b2d8: Waiting 23:19:09 6ad1cebc031e: Waiting 23:19:09 114826534d7a: Waiting 23:19:09 25bc292e5bac: Verifying Checksum 23:19:09 25bc292e5bac: Download complete 23:19:09 52dc419b0ee2: Verifying Checksum 23:19:09 52dc419b0ee2: Download complete 23:19:09 4657fd5d0bcf: Verifying Checksum 23:19:09 4657fd5d0bcf: Download complete 23:19:09 df9b9388f04a: Verifying Checksum 23:19:10 6ad1cebc031e: Verifying Checksum 23:19:10 6ad1cebc031e: Download complete 23:19:10 df9b9388f04a: Pull complete 23:19:10 52dc419b0ee2: Pull complete 23:19:10 25bc292e5bac: Pull complete 23:19:10 114826534d7a: Verifying Checksum 23:19:10 114826534d7a: Download complete 23:19:10 8a3aa393b2d8: Verifying Checksum 23:19:10 8a3aa393b2d8: Download complete 23:19:14 114826534d7a: Pull complete 23:19:14 4657fd5d0bcf: Pull complete 23:19:14 6ad1cebc031e: Pull complete 23:19:18 8a3aa393b2d8: Pull complete 23:19:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:19:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:19:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:18 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:19:18 $ 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 23:19:21 $ docker top 43b81e69682564821ef37f2f958e52e020463fa64b56157d5f7094cfe0574db7 -eo pid,comm [Pipeline] { [Pipeline] echo 23:19:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 23:19:21 + set -o pipefail 23:19:21 + snyk monitor '--org=edgex-jenkins' 23:19:23 23:19:23 Monitoring /w/workspace/oundry_device-virtual-go_jakarta (github.com/edgexfoundry/device-virtual-go)... 23:19:23 23:19:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/36ac72f4-1aeb-4e32-835b-c4c32154cfad/history/9ad8424a-55ef-4878-97b4-1ef32dfe9311 23:19:23 23:19:23 Tip: Detected multiple supported manifests (9), use --all-projects to scan all of them at once. 23:19:23 23:19:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:19:23 23:19:23 [Pipeline] } 23:19:23 $ docker stop --time=1 43b81e69682564821ef37f2f958e52e020463fa64b56157d5f7094cfe0574db7 23:19:25 $ docker rm -f 43b81e69682564821ef37f2f958e52e020463fa64b56157d5f7094cfe0574db7 [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 23:19:25 + git log --format=format:%s -1 c7bdd30c48e34a9bcba0c752998a7a0fbabe0c76 [Pipeline] sh 23:19:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:19:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:19:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:26 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:19:26 $ 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 23:19:26 $ docker top 91282fb821a6b7358846f1520d631d015838bad1dc7a951d27b8bd8868ce11e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:19:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:27 [ssh-agent] Looking for ssh-agent implementation... 23:19:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:27 $ docker exec 91282fb821a6b7358846f1520d631d015838bad1dc7a951d27b8bd8868ce11e7 ssh-agent 23:19:27 SSH_AUTH_SOCK=/tmp/ssh-6YLq5QHKZyWq/agent.33 23:19:27 SSH_AGENT_PID=39 23:19:27 Running ssh-add (command line suppressed) 23:19:27 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_8655644135520095161.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_8655644135520095161.key) 23:19:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:27 + git semver tag 23:19:28 2022-06-01 23:19:27,970 [run_tag] DEBUG tag force:False 23:19:28 2022-06-01 23:19:27,970 [check_head_tag] DEBUG check head tag 23:19:28 2022-06-01 23:19:27,970 [execute] INFO git cat-file --batch-check 23:19:28 2022-06-01 23:19:27,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=) 23:19:28 2022-06-01 23:19:27,974 [execute] INFO git cat-file --batch 23:19:28 2022-06-01 23:19:27,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=) 23:19:28 2022-06-01 23:19:27,983 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:28 2022-06-01 23:19:27,983 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 23:19:28 2022-06-01 23:19:27,983 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/oundry_device-virtual-go_jakarta, universal_newlines=False, shell=None, istream=None) 23:19:28 2022-06-01 23:19:27,988 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:28 2.1.1-dev.1 [Pipeline] } 23:19:28 $ docker exec --env ******** --env ******** 91282fb821a6b7358846f1520d631d015838bad1dc7a951d27b8bd8868ce11e7 ssh-agent -k 23:19:28 unset SSH_AUTH_SOCK; 23:19:28 unset SSH_AGENT_PID; 23:19:28 echo Agent pid 39 killed; 23:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:28 + git semver [Pipeline] } 23:19:28 $ docker stop --time=1 91282fb821a6b7358846f1520d631d015838bad1dc7a951d27b8bd8868ce11e7 23:19:30 $ docker rm -f 91282fb821a6b7358846f1520d631d015838bad1dc7a951d27b8bd8868ce11e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:19:30 23:19:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:19:30 0.23.1-centos7: Pulling from edgex-lftools 23:19:30 ab5ef0e58194: Pulling fs layer 23:19:30 9712f1f96733: Pulling fs layer 23:19:30 63f879dbbcfc: Pulling fs layer 23:19:30 0d9ebad4ef96: Pulling fs layer 23:19:30 e9a5061849ea: Pulling fs layer 23:19:30 d747dcd14b5f: Pulling fs layer 23:19:30 2de7ff778b66: Pulling fs layer 23:19:30 d747dcd14b5f: Waiting 23:19:30 0d9ebad4ef96: Waiting 23:19:30 e9a5061849ea: Waiting 23:19:30 9712f1f96733: Download complete 23:19:31 63f879dbbcfc: Verifying Checksum 23:19:31 63f879dbbcfc: Download complete 23:19:31 e9a5061849ea: Verifying Checksum 23:19:31 e9a5061849ea: Download complete 23:19:31 d747dcd14b5f: Verifying Checksum 23:19:31 d747dcd14b5f: Download complete 23:19:31 ab5ef0e58194: Verifying Checksum 23:19:31 ab5ef0e58194: Download complete 23:19:31 0d9ebad4ef96: Verifying Checksum 23:19:31 0d9ebad4ef96: Download complete 23:19:31 2de7ff778b66: Verifying Checksum 23:19:31 2de7ff778b66: Download complete 23:19:34 ab5ef0e58194: Pull complete 23:19:34 9712f1f96733: Pull complete 23:19:34 63f879dbbcfc: Pull complete 23:19:38 0d9ebad4ef96: Pull complete 23:19:38 e9a5061849ea: Pull complete 23:19:38 d747dcd14b5f: Pull complete 23:19:39 2de7ff778b66: Pull complete 23:19:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:19:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:39 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:19:39 $ 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 23:19:42 $ docker top 7d74b0fbb18d90179bfa5df3df72e6d10cde3028b5d76a434b9721df6a69a799 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:19:42 provisioning config files... 23:19:42 copy managed file [sigul-config] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config3682305598165302046tmp 23:19:42 copy managed file [sigul-password] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config5316610494289584198tmp 23:19:42 copy managed file [sigul-pki] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config2445089754895326612tmp [Pipeline] { [Pipeline] echo 23:19:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:19:42 ---> sigul-configuration.sh 23:19:42 gpg: directory `/root/.gnupg' created 23:19:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:19:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:19:42 gpg: keyring `/root/.gnupg/secring.gpg' created 23:19:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:19:42 gpg: CAST5 encrypted data 23:19:42 gpg: encrypted with 1 passphrase 23:19:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:19:43 + mkdir /home/jenkins 23:19:43 + mkdir /home/jenkins/sigul [Pipeline] sh 23:19:43 + 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 23:19:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:19:43 ---> sigul-install.sh 23:19:43 Sigul already installed; skipping installation. [Pipeline] sh 23:19:43 + git tag --list 23:19:43 v1.0.0 23:19:43 v1.1.0 23:19:43 v1.1.1 23:19:43 v1.2.1 23:19:43 v1.2.2 23:19:43 v1.2.3 23:19:43 v1.3.0 23:19:43 v1.3.1 23:19:43 v2.0.0 23:19:43 v2.1.0 23:19:43 v2.1.1-dev.1 23:19:43 v2.2.0 23:19:43 v2.2.1-dev.1 [Pipeline] sh 23:19:44 + lftools sign git-tag v2.1.1-dev.1 23:19:44 Signing Git tag with Sigul... 23:19:44 Signing v2.1.1-dev.1 [Pipeline] echo 23:19:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:19:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:19:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:19:45 $ docker stop --time=1 7d74b0fbb18d90179bfa5df3df72e6d10cde3028b5d76a434b9721df6a69a799 23:19:47 $ docker rm -f 7d74b0fbb18d90179bfa5df3df72e6d10cde3028b5d76a434b9721df6a69a799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:19:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:19:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:19:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:47 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:19:47 $ 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 23:19:48 $ docker top 0829aefc21cf40293e1ce1eb17b026f93d85f319178cae5c0dc36624960e6f57 -eo pid,comm 23:19:48 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). 23:19:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:19:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:48 [ssh-agent] Looking for ssh-agent implementation... 23:19:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:48 $ docker exec 0829aefc21cf40293e1ce1eb17b026f93d85f319178cae5c0dc36624960e6f57 ssh-agent 23:19:48 SSH_AUTH_SOCK=/tmp/ssh-7jMxASUhe6bb/agent.33 23:19:48 SSH_AGENT_PID=39 23:19:48 Running ssh-add (command line suppressed) 23:19:48 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_9202172922600503469.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_9202172922600503469.key) 23:19:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:49 + git semver bump pre 23:19:49 2022-06-01 23:19:49,278 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:49 2022-06-01 23:19:49,278 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev 23:19:49 2022-06-01 23:19:49,278 [bump_version] DEBUG bumped version:2.1.1-dev.2 23:19:49 2022-06-01 23:19:49,278 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta with force:True 23:19:49 2022-06-01 23:19:49,278 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:49 2022-06-01 23:19:49,278 [write_file] DEBUG write to file:/w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:49 2022-06-01 23:19:49,280 [execute] INFO git cat-file --batch-check 23:19:49 2022-06-01 23:19:49,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 23:19:49 2022-06-01 23:19:49,289 [execute] INFO git cat-file --batch 23:19:49 2022-06-01 23:19:49,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 23:19:49 2022-06-01 23:19:49,296 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:49 2.1.1-dev.2 [Pipeline] } 23:19:49 $ docker exec --env ******** --env ******** 0829aefc21cf40293e1ce1eb17b026f93d85f319178cae5c0dc36624960e6f57 ssh-agent -k 23:19:49 unset SSH_AUTH_SOCK; 23:19:49 unset SSH_AGENT_PID; 23:19:49 echo Agent pid 39 killed; 23:19:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:49 + git semver [Pipeline] } 23:19:50 $ docker stop --time=1 0829aefc21cf40293e1ce1eb17b026f93d85f319178cae5c0dc36624960e6f57 23:19:51 $ docker rm -f 0829aefc21cf40293e1ce1eb17b026f93d85f319178cae5c0dc36624960e6f57 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:19:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:19:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:52 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:19:52 $ 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 23:19:52 $ docker top b17b12b4b924bc4fae46c03a3dddfd203c57b8bebdfff3f100ed8bae21217522 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:19:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:52 [ssh-agent] Looking for ssh-agent implementation... 23:19:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:52 $ docker exec b17b12b4b924bc4fae46c03a3dddfd203c57b8bebdfff3f100ed8bae21217522 ssh-agent 23:19:52 SSH_AUTH_SOCK=/tmp/ssh-exizAvh9LUJn/agent.32 23:19:52 SSH_AGENT_PID=38 23:19:53 Running ssh-add (command line suppressed) 23:19:53 Identity added: /w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_5908123330536812947.key (/w/workspace/oundry_device-virtual-go_jakarta@tmp/private_key_5908123330536812947.key) 23:19:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:53 + git semver push 23:19:53 2022-06-01 23:19:53,612 [run_push] DEBUG push 23:19:53 2022-06-01 23:19:53,613 [execute] INFO git push origin semver 23:19:53 2022-06-01 23:19:53,613 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/oundry_device-virtual-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 23:19:54 2022-06-01 23:19:54,277 [run_push] DEBUG push all version tags 23:19:54 2022-06-01 23:19:54,277 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:19:54 2022-06-01 23:19:54,278 [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) 23:19:55 2022-06-01 23:19:54,909 [read_version] DEBUG read version from /w/workspace/oundry_device-virtual-go_jakarta/.semver/jakarta 23:19:55 2.1.1-dev.2 [Pipeline] } 23:19:55 $ docker exec --env ******** --env ******** b17b12b4b924bc4fae46c03a3dddfd203c57b8bebdfff3f100ed8bae21217522 ssh-agent -k 23:19:55 unset SSH_AUTH_SOCK; 23:19:55 unset SSH_AGENT_PID; 23:19:55 echo Agent pid 38 killed; 23:19:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:55 + git semver [Pipeline] } 23:19:55 $ docker stop --time=1 b17b12b4b924bc4fae46c03a3dddfd203c57b8bebdfff3f100ed8bae21217522 23:19:57 $ docker rm -f b17b12b4b924bc4fae46c03a3dddfd203c57b8bebdfff3f100ed8bae21217522 [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 23:19:57 + [ -d /w/workspace/oundry_device-virtual-go_jakarta/archives ] 23:19:57 + ls -al /w/workspace/oundry_device-virtual-go_jakarta/archives 23:19:57 total 16 23:19:57 drwxr-xr-x 3 root root 4096 Jun 1 23:13 . 23:19:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 23:19 .. 23:19:57 drwxr-xr-x 2 root root 4096 Jun 1 23:13 cost 23:19:57 -rw-r--r-- 1 root root 89 Jun 1 23:13 cost.csv 23:19:57 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-virtual-go_jakarta/archives 23:19:57 + ls -al /w/workspace/oundry_device-virtual-go_jakarta/archives 23:19:57 total 16 23:19:57 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 23:13 . 23:19:57 drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 23:19 .. 23:19:57 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 23:13 cost 23:19:57 -rw-r--r-- 1 jenkins jenkins 89 Jun 1 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:19:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:19:58 ---> package-listing.sh 23:19:58 ++ facter osfamily 23:19:58 ++ tr '[:upper:]' '[:lower:]' 23:19:59 + OS_FAMILY=debian 23:19:59 + workspace=/w/workspace/oundry_device-virtual-go_jakarta 23:19:59 + START_PACKAGES=/tmp/packages_start.txt 23:19:59 + END_PACKAGES=/tmp/packages_end.txt 23:19:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:19:59 + PACKAGES=/tmp/packages_start.txt 23:19:59 + '[' /w/workspace/oundry_device-virtual-go_jakarta ']' 23:19:59 + PACKAGES=/tmp/packages_end.txt 23:19:59 + case "${OS_FAMILY}" in 23:19:59 + dpkg -l 23:19:59 + grep '^ii' 23:19:59 + '[' -f /tmp/packages_start.txt ']' 23:19:59 + '[' -f /tmp/packages_end.txt ']' 23:19:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:19:59 + '[' /w/workspace/oundry_device-virtual-go_jakarta ']' 23:19:59 + mkdir -p /w/workspace/oundry_device-virtual-go_jakarta/archives/ 23:19:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-virtual-go_jakarta/archives/ [Pipeline] echo 23:19:59 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 23:19:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:00 prd-ubuntu20.04-docker-8c-8g-605 does not seem to be running inside a container 23:20:00 $ 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 23:20:00 $ docker top 4fa964a60ac4e14d44a555b80178fb7d815f34c9cb9c8109cb7dae39187c27f2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:20:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:20:01 + mkdir -p /var/log/sysstat [Pipeline] sh 23:20:01 + ls /var/log/sa-host 23:20:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:01 provisioning config files... 23:20:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-virtual-go_jakarta@tmp/config6542978694975497698tmp [Pipeline] { [Pipeline] echo 23:20:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:20:01 ---> create-netrc.sh [Pipeline] } 23:20:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:20:02 ---> python-tools-install.sh [Pipeline] echo 23:20:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:20:02 ---> sudo-logs.sh 23:20:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:20:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:20:02 ---> job-cost.sh 23:20:02 lf-activate-venv: SKIPPING 23:20:02 DEBUG: total: 0.2199999988079071 23:20:02 INFO: Retrieving Stack Cost... 23:20:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:03 INFO: Archiving Costs [Pipeline] echo 23:20:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:20:03 ---> logs-deploy.sh 23:20:03 lf-activate-venv: SKIPPING 23:20:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/jakarta/3 23:20:03 INFO: archiving workspace using pattern(s): 23:20:04 Archives upload complete. 23:20:04 INFO: archiving logs to Nexus