Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96006ed2597d0332e2f213be0d58e636152471aa 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-ssh3507925789564623823.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh5047831284561226985.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15185757871020755958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh14007867688066120496.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15599927791619953828.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-45620’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-45616’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45617’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-45618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45620 in /w/workspace/exfoundry_device-virtual-go_main [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/exfoundry_device-virtual-go_main # 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 96006ed2597d0332e2f213be0d58e636152471aa (main) > 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 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 Commit message: "Merge pull request #283 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:04:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:04:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:04:26 ========================================================= 07:04:26 EdgeX Global Pipelines Version Info 07:04:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:04:27 ------------------- 07:04:27 stable info: 07:04:27 ------------------- 07:04:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:04:27 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 07:04:27 Message: update stable to v1.0.227 07:04:27 ------------------- 07:04:27 experimental info: 07:04:27 ------------------- 07:04:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:04:27 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 07:04:27 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96006ed [Pipeline] echo 07:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:04:28 provisioning config files... 07:04:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3960073281121810281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:28 ---> docker-login.sh 07:04:28 nexus3.edgexfoundry.org:10001 07:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:29 Configure a credential helper to remove this warning. See 07:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:29 07:04:29 Login Succeeded 07:04:29 nexus3.edgexfoundry.org:10002 07:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:29 Configure a credential helper to remove this warning. See 07:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:29 07:04:29 Login Succeeded 07:04:29 nexus3.edgexfoundry.org:10003 07:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:29 Configure a credential helper to remove this warning. See 07:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:29 07:04:29 Login Succeeded 07:04:29 nexus3.edgexfoundry.org:10004 07:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:29 Configure a credential helper to remove this warning. See 07:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:29 07:04:29 Login Succeeded 07:04:29 docker.io 07:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:29 Configure a credential helper to remove this warning. See 07:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:29 07:04:29 Login Succeeded 07:04:29 ---> docker-login.sh ends [Pipeline] } 07:04:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:04:30 + git rev-list -1 --merges 96006ed2597d0332e2f213be0d58e636152471aa~1..96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo 07:04:30 -----------> git rev-list -1 --merges 96006ed2597d0332e2f213be0d58e636152471aa~1..96006ed2597d0332e2f213be0d58e636152471aa 96006ed2597d0332e2f213be0d58e636152471aa 07:04:30 96006ed2597d0332e2f213be0d58e636152471aa [false] [Pipeline] sh 07:04:30 + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo 07:04:30 ========================================================= 07:04:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:04:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:04:31 + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] echo 07:04:31 [semverPrep] GIT_COMMIT: 96006ed2597d0332e2f213be0d58e636152471aa, Commit Message: Merge pull request #283 from jpwhitemn/kamakura-rls-notes [Pipeline] echo 07:04:31 [semverPrep] This is not a build commit. [Pipeline] sh 07:04:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:04:31 + grep -v github /etc/ssh/ssh_known_hosts 07:04:31 + [ -e /tmp/ssh_known_hosts ] 07:04:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:04:31 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:04:31 sudo tee -a /etc/ssh/ssh_known_hosts 07:04:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:31 07:04:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:04:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:32 latest: Pulling from edgex-devops/py-git-semver 07:04:32 1fe172e4850f: Pulling fs layer 07:04:32 caf521ccaac6: Pulling fs layer 07:04:32 3ead6fa29328: Pulling fs layer 07:04:32 5c2a1cbceb83: Pulling fs layer 07:04:32 a8d5f1318db7: Pulling fs layer 07:04:32 c427282e49a2: Pulling fs layer 07:04:32 1827001aaf11: Pulling fs layer 07:04:32 0714d37db230: Pulling fs layer 07:04:32 ac28cf19c067: Pulling fs layer 07:04:32 ca983d60f3e2: Pulling fs layer 07:04:32 9f894cec8388: Pulling fs layer 07:04:32 0714d37db230: Waiting 07:04:32 ac28cf19c067: Waiting 07:04:32 ca983d60f3e2: Waiting 07:04:32 c427282e49a2: Waiting 07:04:32 9f894cec8388: Waiting 07:04:32 5c2a1cbceb83: Waiting 07:04:32 1827001aaf11: Waiting 07:04:32 a8d5f1318db7: Waiting 07:04:32 caf521ccaac6: Verifying Checksum 07:04:32 caf521ccaac6: Download complete 07:04:32 5c2a1cbceb83: Download complete 07:04:32 a8d5f1318db7: Verifying Checksum 07:04:32 a8d5f1318db7: Download complete 07:04:32 c427282e49a2: Verifying Checksum 07:04:32 c427282e49a2: Download complete 07:04:32 3ead6fa29328: Verifying Checksum 07:04:32 3ead6fa29328: Download complete 07:04:32 0714d37db230: Verifying Checksum 07:04:32 0714d37db230: Download complete 07:04:32 ac28cf19c067: Verifying Checksum 07:04:32 ac28cf19c067: Download complete 07:04:32 ca983d60f3e2: Verifying Checksum 07:04:32 ca983d60f3e2: Download complete 07:04:32 9f894cec8388: Verifying Checksum 07:04:32 9f894cec8388: Download complete 07:04:32 1fe172e4850f: Verifying Checksum 07:04:32 1fe172e4850f: Download complete 07:04:32 1827001aaf11: Verifying Checksum 07:04:32 1827001aaf11: Download complete 07:04:34 1fe172e4850f: Pull complete 07:04:34 caf521ccaac6: Pull complete 07:04:34 3ead6fa29328: Pull complete 07:04:34 5c2a1cbceb83: Pull complete 07:04:34 a8d5f1318db7: Pull complete 07:04:35 c427282e49a2: Pull complete 07:04:37 1827001aaf11: Pull complete 07:04:37 0714d37db230: Pull complete 07:04:37 ac28cf19c067: Pull complete 07:04:37 ca983d60f3e2: Pull complete 07:04:37 9f894cec8388: Pull complete 07:04:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 07:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:04:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 07:04:37 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 07:04:39 $ docker top 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 -eo pid,comm 07:04:39 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). 07:04:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:04:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:39 [ssh-agent] Looking for ssh-agent implementation... 07:04:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:39 $ docker exec 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent 07:04:39 SSH_AUTH_SOCK=/tmp/ssh-RHGraehFMYx6/agent.33 07:04:39 SSH_AGENT_PID=39 07:04:39 Running ssh-add (command line suppressed) 07:04:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4131083467769886333.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4131083467769886333.key) 07:04:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:39 + git tag --points-at HEAD [Pipeline] } 07:04:39 $ docker exec --env ******** --env ******** 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent -k 07:04:40 unset SSH_AUTH_SOCK; 07:04:40 unset SSH_AGENT_PID; 07:04:40 echo Agent pid 39 killed; 07:04:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:04:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:04:40 [ssh-agent] Looking for ssh-agent implementation... 07:04:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:04:40 $ docker exec 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent 07:04:40 SSH_AUTH_SOCK=/tmp/ssh-eStRvz8ABPRd/agent.71 07:04:40 SSH_AGENT_PID=77 07:04:40 Running ssh-add (command line suppressed) 07:04:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1711083597740614390.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1711083597740614390.key) 07:04:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:04:40 + git semver init 07:04:41 2022-05-10 07:04:40,974 [run_init] DEBUG init version:0.0.0 force:False 07:04:41 2022-05-10 07:04:40,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 07:04:41 2022-05-10 07:04:40,976 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 07:04:41 2022-05-10 07:04:40,977 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:04:42 2022-05-10 07:04:42,262 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 07:04:42 2022-05-10 07:04:42,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 07:04:42 2022-05-10 07:04:42,262 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:04:42 2022-05-10 07:04:42,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:04:42 2.2.0-dev.17 [Pipeline] } 07:04:42 $ docker exec --env ******** --env ******** 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 ssh-agent -k 07:04:42 unset SSH_AUTH_SOCK; 07:04:42 unset SSH_AGENT_PID; 07:04:42 echo Agent pid 77 killed; 07:04:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:04:43 + git semver [Pipeline] } 07:04:43 $ docker stop --time=1 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 07:04:44 $ docker rm -f 7b2ba627b679766e1838b9725c5daede3a8553154e7ee45955aeba456e979bc5 [Pipeline] // withDockerContainer [Pipeline] sh 07:04:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:04:45 Stashed 1 file(s) [Pipeline] echo 07:04:45 [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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 07:04:45 provisioning config files... 07:04:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2250945737489393052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:04:45 ---> docker-login.sh 07:04:45 nexus3.edgexfoundry.org:10001 07:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:45 Configure a credential helper to remove this warning. See 07:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:45 07:04:45 Login Succeeded 07:04:45 nexus3.edgexfoundry.org:10002 07:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:46 Configure a credential helper to remove this warning. See 07:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:46 07:04:46 Login Succeeded 07:04:46 nexus3.edgexfoundry.org:10003 07:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:46 Configure a credential helper to remove this warning. See 07:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:46 07:04:46 Login Succeeded 07:04:46 nexus3.edgexfoundry.org:10004 07:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:46 Configure a credential helper to remove this warning. See 07:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:46 07:04:46 Login Succeeded 07:04:46 docker.io 07:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:04:46 Configure a credential helper to remove this warning. See 07:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:04:46 07:04:46 Login Succeeded 07:04:46 ---> docker-login.sh ends [Pipeline] } 07:04:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:04:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:04:47 ========================================================= 07:04:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:04:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:04:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:04:47 Sending build context to Docker daemon 22.92MB 07:04:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:04:47 Step 2/12 : FROM ${BASE} AS builder 07:04:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:04:47 59bf1c3509f3: Pulling fs layer 07:04:47 666ba61612fd: Pulling fs layer 07:04:47 8ed8ca486205: Pulling fs layer 07:04:47 4fe6c5a15a65: Pulling fs layer 07:04:47 22a0e8bec74d: Pulling fs layer 07:04:47 ca2b28591e48: Pulling fs layer 07:04:47 4fe6c5a15a65: Waiting 07:04:47 22a0e8bec74d: Waiting 07:04:47 a51346096db8: Pulling fs layer 07:04:47 ca2b28591e48: Waiting 07:04:47 a51346096db8: Waiting 07:04:47 daebc70d1ce1: Pulling fs layer 07:04:47 0e18a0eac166: Pulling fs layer 07:04:47 daebc70d1ce1: Waiting 07:04:47 8ed8ca486205: Verifying Checksum 07:04:47 8ed8ca486205: Download complete 07:04:47 666ba61612fd: Download complete 07:04:47 22a0e8bec74d: Download complete 07:04:47 ca2b28591e48: Download complete 07:04:47 59bf1c3509f3: Verifying Checksum 07:04:47 a51346096db8: Verifying Checksum 07:04:47 a51346096db8: Download complete 07:04:47 daebc70d1ce1: Verifying Checksum 07:04:47 daebc70d1ce1: Download complete 07:04:47 59bf1c3509f3: Pull complete 07:04:47 666ba61612fd: Pull complete 07:04:48 8ed8ca486205: Pull complete 07:04:48 0e18a0eac166: Verifying Checksum 07:04:48 0e18a0eac166: Download complete 07:04:48 4fe6c5a15a65: Verifying Checksum 07:04:48 4fe6c5a15a65: Download complete 07:04:52 4fe6c5a15a65: Pull complete 07:04:52 22a0e8bec74d: Pull complete 07:04:52 ca2b28591e48: Pull complete 07:04:52 a51346096db8: Pull complete 07:04:52 daebc70d1ce1: Pull complete 07:04:55 0e18a0eac166: Pull complete 07:04:55 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 07:04:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:04:55 ---> f018257e8ee9 07:04:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:04:57 ---> Running in 151ef66e2ea1 07:04:57 Removing intermediate container 151ef66e2ea1 07:04:57 ---> 8455374ec277 07:04:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:04:57 ---> Running in 5ef3fd62e74b 07:04:57 Removing intermediate container 5ef3fd62e74b 07:04:57 ---> 171fd4aa79a1 07:04:57 Step 5/12 : WORKDIR /device-virtual-go 07:04:57 ---> Running in d4dd86e0692c 07:04:57 Removing intermediate container d4dd86e0692c 07:04:57 ---> 2d448c4c96e6 07:04:57 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:04:57 ---> Running in c4d641c92f66 07:04:58 Removing intermediate container c4d641c92f66 07:04:58 ---> d47bef1b8764 07:04:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:04:58 ---> Running in 754aa2f2a2a5 07:04:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:04:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:04:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:04:59 (2/4) Installing libedit (20210910.3.1-r0) 07:04:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:04:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:05:00 Executing busybox-1.34.1-r3.trigger 07:05:00 OK: 224 MiB in 56 packages 07:05:00 Still waiting to schedule task 07:05:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:05:00 Removing intermediate container 754aa2f2a2a5 07:05:00 ---> 35e08e2b31bd 07:05:00 Step 8/12 : COPY go.mod vendor* ./ 07:05:00 ---> 01928456d81b 07:05:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:00 ---> Running in f0364f80f0a0 07:05:16 Removing intermediate container f0364f80f0a0 07:05:16 ---> be618dd5036a 07:05:16 Step 10/12 : COPY . . 07:05:16 ---> cc372f569333 07:05:16 Step 11/12 : ARG MAKE='make build' 07:05:16 ---> Running in 5115723f9f36 07:05:16 Removing intermediate container 5115723f9f36 07:05:16 ---> c4eec955c71e 07:05:16 Step 12/12 : RUN $MAKE 07:05:16 ---> Running in 52469b5fa441 07:05:16 noop 07:05:16 Removing intermediate container 52469b5fa441 07:05:16 ---> de861982619c 07:05:16 Successfully built de861982619c 07:05:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:05:16 + docker inspect -f . ci-base-image-x86_64 07:05:16 . [Pipeline] withDockerContainer 07:05:17 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:05:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:05:17 $ docker top fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 -eo pid,comm [Pipeline] { [Pipeline] sh 07:05:17 + go version 07:05:17 go version go1.17.6 linux/amd64 [Pipeline] } 07:05:17 $ docker stop --time=1 fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 07:05:19 $ docker rm -f fe833bf2234a6713aa0cbc85a0f53c0bcb04d1d846257e750b274a0b113010d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:05:19 + docker inspect -f . ci-base-image-x86_64 07:05:19 . [Pipeline] withDockerContainer 07:05:19 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:05:20 $ docker top 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:05:20 + make test 07:05:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:05:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:05:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:05:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements 07:05:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:05:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:05:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:05:40 ./bin/test-attribution-txt.sh [Pipeline] echo 07:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:05:40 $ docker stop --time=1 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 07:05:42 $ docker rm -f 9bf163093ce2198916241cb9096a07d916f823363054c705461f855da0a504b9 [Pipeline] // withDockerContainer [Pipeline] sh 07:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:43 + ls -al . 07:05:43 total 188 07:05:43 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:05 . 07:05:43 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:04 .. 07:05:43 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:04 .git 07:05:43 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 .github 07:05:43 -rw-rw-r-- 1 jenkins jenkins 270 May 10 07:04 .gitignore 07:05:43 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:04 .golangci.yml 07:05:43 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:04 .semver 07:05:43 -rw-rw-r-- 1 jenkins jenkins 7893 May 10 07:04 Attribution.txt 07:05:43 -rw-rw-r-- 1 jenkins jenkins 9649 May 10 07:04 CHANGELOG.md 07:05:43 -rw-rw-r-- 1 jenkins jenkins 1974 May 10 07:04 Dockerfile 07:05:43 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:04 GOVERNANCE.md 07:05:43 -rw-rw-r-- 1 jenkins jenkins 660 May 10 07:04 Jenkinsfile 07:05:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:04 LICENSE 07:05:43 -rw-rw-r-- 1 jenkins jenkins 2248 May 10 07:04 Makefile 07:05:43 -rw-rw-r-- 1 jenkins jenkins 623 May 10 07:04 OWNERS.md 07:05:43 -rw-rw-r-- 1 jenkins jenkins 2914 May 10 07:04 README.md 07:05:43 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:04 VERSION 07:05:43 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 bin 07:05:43 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 cmd 07:05:43 -rw-r--r-- 1 jenkins jenkins 44128 May 10 07:05 coverage.out 07:05:43 -rw-rw-r-- 1 jenkins jenkins 3185 May 10 07:04 go.mod 07:05:43 -rw-rw-r-- 1 jenkins jenkins 35216 May 10 07:04 go.sum 07:05:43 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 internal 07:05:43 -rw-rw-r-- 1 jenkins jenkins 235 May 10 07:04 version.go [Pipeline] isUnix [Pipeline] sh 07:05:43 + 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=96006ed2597d0332e2f213be0d58e636152471aa --label arch=amd64 --label version=2.2.0-dev.17 . 07:05:43 Sending build context to Docker daemon 22.97MB 07:05:43 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:05:43 Step 2/26 : FROM ${BASE} AS builder 07:05:43 ---> de861982619c 07:05:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:05:44 ---> Running in bc67b7abce67 07:05:44 Removing intermediate container bc67b7abce67 07:05:44 ---> d7efce3ca74e 07:05:44 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:05:44 ---> Running in 516a9aa1ccd0 07:05:44 Removing intermediate container 516a9aa1ccd0 07:05:44 ---> 9f855b2a9b6e 07:05:44 Step 5/26 : WORKDIR /device-virtual-go 07:05:44 ---> Running in ee1e087e9804 07:05:44 Removing intermediate container ee1e087e9804 07:05:44 ---> 0fa9bcb2e563 07:05:44 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:05:44 ---> Running in b4c526b84985 07:05:44 Removing intermediate container b4c526b84985 07:05:44 ---> 83efcd7f1c3a 07:05:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:05:44 ---> Running in 614496b4bee1 07:05:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:05:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:05:46 OK: 224 MiB in 56 packages 07:05:46 Removing intermediate container 614496b4bee1 07:05:46 ---> 85657a9ddd02 07:05:46 Step 8/26 : COPY go.mod vendor* ./ 07:05:46 ---> d61f1a27efe8 07:05:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:47 ---> Running in a6966c9094f8 07:05:47 Removing intermediate container a6966c9094f8 07:05:47 ---> 93132e2ef217 07:05:47 Step 10/26 : COPY . . 07:05:48 ---> 4b788038ff3e 07:05:48 Step 11/26 : ARG MAKE='make build' 07:05:48 ---> Running in a29464b4874e 07:05:48 Removing intermediate container a29464b4874e 07:05:48 ---> c1f36a624afc 07:05:48 Step 12/26 : RUN $MAKE 07:05:48 ---> Running in 6a2677b5fedd 07:05:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 07:06:10 Removing intermediate container 6a2677b5fedd 07:06:10 ---> db850457d547 07:06:10 Step 13/26 : FROM alpine:3.14 07:06:10 3.14: Pulling from library/alpine 07:06:10 8663204ce13b: Pulling fs layer 07:06:10 8663204ce13b: Download complete 07:06:10 8663204ce13b: Pull complete 07:06:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:06:10 Status: Downloaded newer image for alpine:3.14 07:06:10 ---> e04c818066af 07:06:10 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:06:10 ---> Running in 1d74bbac6a7f 07:06:10 Removing intermediate container 1d74bbac6a7f 07:06:10 ---> ad3b4a504854 07:06:10 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:06:10 ---> Running in dd6be19ade7c 07:06:10 Removing intermediate container dd6be19ade7c 07:06:10 ---> 7281bc3b9fd3 07:06:10 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:06:10 ---> Running in d659175c8893 07:06:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:06:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:06:11 (1/6) Installing dumb-init (1.2.5-r1) 07:06:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:06:12 (3/6) Installing libsodium (1.0.18-r0) 07:06:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:06:12 (5/6) Installing libzmq (4.3.4-r0) 07:06:12 (6/6) Installing zeromq (4.3.4-r0) 07:06:12 Executing busybox-1.33.1-r7.trigger 07:06:12 OK: 8 MiB in 20 packages 07:06:13 Removing intermediate container d659175c8893 07:06:13 ---> 72f729445b63 07:06:13 Step 17/26 : WORKDIR / 07:06:13 ---> Running in c28324043ff6 07:06:13 Removing intermediate container c28324043ff6 07:06:13 ---> cb4f88df1ce4 07:06:13 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:06:13 ---> 51ae007c31ba 07:06:13 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:06:13 ---> be0cc646dbf0 07:06:13 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:06:14 ---> 3a46e5ab5caf 07:06:14 Step 21/26 : EXPOSE 59900 07:06:14 ---> Running in 052d23e58c6e 07:06:14 Removing intermediate container 052d23e58c6e 07:06:14 ---> 12e8db8d9432 07:06:14 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:06:14 ---> Running in daaedcbe7c2a 07:06:14 Removing intermediate container daaedcbe7c2a 07:06:14 ---> 9260e20ec4f4 07:06:14 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:06:14 ---> Running in 62dabc307131 07:06:14 Removing intermediate container 62dabc307131 07:06:14 ---> 731b79e35625 07:06:14 Step 24/26 : LABEL arch=amd64 07:06:14 ---> Running in ae2ee3b6d294 07:06:14 Removing intermediate container ae2ee3b6d294 07:06:14 ---> 80f62e7a71d8 07:06:14 Step 25/26 : LABEL git_sha=96006ed2597d0332e2f213be0d58e636152471aa 07:06:14 ---> Running in e129b64aae25 07:06:14 Removing intermediate container e129b64aae25 07:06:14 ---> 33dcccc08eb1 07:06:14 Step 26/26 : LABEL version=2.2.0-dev.17 07:06:14 ---> Running in a20c82828b2a 07:06:14 Removing intermediate container a20c82828b2a 07:06:14 ---> f40454e216c4 07:06:14 [Warning] One or more build-args [ARCH] were not consumed 07:06:14 Successfully built f40454e216c4 07:06:14 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:06:15 provisioning config files... 07:06:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5597946499972690776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:15 ---> docker-login.sh 07:06:15 nexus3.edgexfoundry.org:10001 07:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:15 Configure a credential helper to remove this warning. See 07:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:15 07:06:15 Login Succeeded 07:06:15 nexus3.edgexfoundry.org:10002 07:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:15 Configure a credential helper to remove this warning. See 07:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:15 07:06:15 Login Succeeded 07:06:15 nexus3.edgexfoundry.org:10003 07:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:15 Configure a credential helper to remove this warning. See 07:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:15 07:06:15 Login Succeeded 07:06:15 nexus3.edgexfoundry.org:10004 07:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:15 Configure a credential helper to remove this warning. See 07:06:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:15 07:06:15 Login Succeeded 07:06:15 docker.io 07:06:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:06:16 Configure a credential helper to remove this warning. See 07:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:06:16 07:06:16 Login Succeeded 07:06:16 ---> docker-login.sh ends [Pipeline] } 07:06:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:06:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:06:16 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:06:16 96006ed2597d0332e2f213be0d58e636152471aa 07:06:16 latest 07:06:16 2.2.0-dev.17 07:06:16 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:06:16 main 07:06:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:06:16 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] isUnix [Pipeline] sh 07:06:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa 07:06:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:06:16 60849c7fe012: Preparing 07:06:16 7d18113f9ecf: Preparing 07:06:16 c8f7e6b78b69: Preparing 07:06:16 c8c0d910b223: Preparing 07:06:16 ab709650c4b7: Preparing 07:06:16 b541d28bf3b4: Preparing 07:06:16 b541d28bf3b4: Waiting 07:06:16 c8f7e6b78b69: Pushed 07:06:16 7d18113f9ecf: Pushed 07:06:16 ab709650c4b7: Pushed 07:06:16 b541d28bf3b4: Layer already exists 07:06:17 c8c0d910b223: Pushed 07:06:19 60849c7fe012: Pushed 07:06:19 96006ed2597d0332e2f213be0d58e636152471aa: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:06:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 07:06:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 07:06:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:06:20 60849c7fe012: Preparing 07:06:20 7d18113f9ecf: Preparing 07:06:20 c8f7e6b78b69: Preparing 07:06:20 c8c0d910b223: Preparing 07:06:20 ab709650c4b7: Preparing 07:06:20 b541d28bf3b4: Preparing 07:06:20 b541d28bf3b4: Waiting 07:06:20 7d18113f9ecf: Layer already exists 07:06:20 60849c7fe012: Layer already exists 07:06:20 c8c0d910b223: Layer already exists 07:06:20 c8f7e6b78b69: Layer already exists 07:06:20 ab709650c4b7: Layer already exists 07:06:20 b541d28bf3b4: Layer already exists 07:06:20 latest: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:06:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 07:06:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 07:06:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:06:20 60849c7fe012: Preparing 07:06:20 7d18113f9ecf: Preparing 07:06:20 c8f7e6b78b69: Preparing 07:06:20 c8c0d910b223: Preparing 07:06:20 ab709650c4b7: Preparing 07:06:20 b541d28bf3b4: Preparing 07:06:20 b541d28bf3b4: Waiting 07:06:20 c8c0d910b223: Layer already exists 07:06:20 60849c7fe012: Layer already exists 07:06:20 7d18113f9ecf: Layer already exists 07:06:20 ab709650c4b7: Layer already exists 07:06:20 c8f7e6b78b69: Layer already exists 07:06:20 b541d28bf3b4: Layer already exists 07:06:20 2.2.0-dev.17: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:06:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 07:06:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:06:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:06:21 60849c7fe012: Preparing 07:06:21 7d18113f9ecf: Preparing 07:06:21 c8f7e6b78b69: Preparing 07:06:21 c8c0d910b223: Preparing 07:06:21 ab709650c4b7: Preparing 07:06:21 b541d28bf3b4: Preparing 07:06:21 b541d28bf3b4: Waiting 07:06:21 c8c0d910b223: Layer already exists 07:06:21 ab709650c4b7: Layer already exists 07:06:21 c8f7e6b78b69: Layer already exists 07:06:21 60849c7fe012: Layer already exists 07:06:21 7d18113f9ecf: Layer already exists 07:06:21 b541d28bf3b4: Layer already exists 07:06:21 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] isUnix [Pipeline] sh 07:06:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 07:06:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 07:06:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:06:21 60849c7fe012: Preparing 07:06:21 7d18113f9ecf: Preparing 07:06:21 c8f7e6b78b69: Preparing 07:06:21 c8c0d910b223: Preparing 07:06:21 ab709650c4b7: Preparing 07:06:21 b541d28bf3b4: Preparing 07:06:21 b541d28bf3b4: Waiting 07:06:21 60849c7fe012: Layer already exists 07:06:21 7d18113f9ecf: Layer already exists 07:06:21 c8f7e6b78b69: Layer already exists 07:06:21 c8c0d910b223: Layer already exists 07:06:21 ab709650c4b7: Layer already exists 07:06:21 b541d28bf3b4: Layer already exists 07:06:21 main: digest: sha256:29ad8f74cf067b4946c7867d766701f8d534846677080a6b716b73776de3ec45 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:06:21 ===================================================== [Pipeline] echo 07:06:21 taggedImages: 07:06:21 - nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa 07:06:21 - nexus3.edgexfoundry.org:10004/device-virtual:latest 07:06:21 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.17 07:06:21 - nexus3.edgexfoundry.org:10004/device-virtual:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:06:21 - nexus3.edgexfoundry.org:10004/device-virtual:main [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] sh 07:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:22 07:06:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:06:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:22 latest: Pulling from edgex-lftools-log-publisher 07:06:22 5eb5b503b376: Pulling fs layer 07:06:22 5c69ac0246d0: Pulling fs layer 07:06:22 ec43610c2a17: Pulling fs layer 07:06:22 3a2ae6a8a46f: Pulling fs layer 07:06:22 33b1e0a273af: Pulling fs layer 07:06:22 5d3b04190fa2: Pulling fs layer 07:06:22 2f39f015ded8: Pulling fs layer 07:06:22 3a2ae6a8a46f: Waiting 07:06:22 33b1e0a273af: Waiting 07:06:22 5d3b04190fa2: Waiting 07:06:22 2f39f015ded8: Waiting 07:06:22 5c69ac0246d0: Verifying Checksum 07:06:22 5c69ac0246d0: Download complete 07:06:22 3a2ae6a8a46f: Verifying Checksum 07:06:22 3a2ae6a8a46f: Download complete 07:06:22 33b1e0a273af: Verifying Checksum 07:06:22 33b1e0a273af: Download complete 07:06:22 ec43610c2a17: Verifying Checksum 07:06:22 ec43610c2a17: Download complete 07:06:22 5d3b04190fa2: Verifying Checksum 07:06:22 5d3b04190fa2: Download complete 07:06:22 5eb5b503b376: Verifying Checksum 07:06:22 5eb5b503b376: Download complete 07:06:23 2f39f015ded8: Download complete 07:06:24 5eb5b503b376: Pull complete 07:06:24 5c69ac0246d0: Pull complete 07:06:24 ec43610c2a17: Pull complete 07:06:24 3a2ae6a8a46f: Pull complete 07:06:25 33b1e0a273af: Pull complete 07:06:25 5d3b04190fa2: Pull complete 07:06:29 2f39f015ded8: Pull complete 07:06:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:06:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:06:29 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:06:29 $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:06:31 $ docker top 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:06:31 ---> job-cost.sh 07:06:31 lf-activate-venv: SKIPPING 07:06:31 INFO: No Stack... 07:06:32 INFO: Retrieving Pricing Info for: v3-standard-8 07:06:32 INFO: Archiving Costs [Pipeline] sh 07:06:33 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 07:06:33 + cut -d, -f6 [Pipeline] lock 07:06:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] 07:06:33 Resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] did not exist. Created. 07:06:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:06:33 + echo total: 0.2199999988079071 [Pipeline] stash 07:06:33 Stashed 1 file(s) [Pipeline] } 07:06:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 07:06:33 $ docker stop --time=1 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 07:06:34 $ docker rm -f 13edc0d3825978bf6603c51cfadd147cb6863b10a6f6ac9cec34747e33239ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:15:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45837 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 07:15:00 Running in /w/workspace/device-virtual-go/33 [Pipeline] { [Pipeline] checkout 07:15:01 The recommended git tool is: git 07:15:09 using credential edgex-jenkins-ssh 07:15:09 Cloning the remote Git repository 07:15:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:15:10 > git init /w/workspace/device-virtual-go/33 # timeout=10 07:15:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:15:10 > git --version # timeout=10 07:15:10 > git --version # 'git version 2.25.1' 07:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 07:15:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:12 Avoid second fetch 07:15:12 Checking out Revision 96006ed2597d0332e2f213be0d58e636152471aa (main) 07:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:15:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:15:12 > git config core.sparsecheckout # timeout=10 07:15:12 > git checkout -f 96006ed2597d0332e2f213be0d58e636152471aa # timeout=10 07:15:17 Commit message: "Merge pull request #283 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:15:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:15:18 Dload Upload Total Spent Left Speed 07:15:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 07:15:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:15:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:15:19 + sudo tee /etc/docker/daemon.new 07:15:19 { 07:15:19 "registry-mirrors": [ 07:15:19 "https://nexus3.edgexfoundry.org:10001" 07:15:19 ], 07:15:19 "bip": "10.250.0.254/24", 07:15:19 "hosts": [ 07:15:19 "tcp://0.0.0.0:5555", 07:15:19 "unix:///var/run/docker.sock" 07:15:19 ], 07:15:19 "mtu": 1458, 07:15:19 "selinux-enabled": true, 07:15:19 "seccomp-profile": "/etc/docker/seccomp.json" 07:15:19 } [Pipeline] sh 07:15:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:15:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:38 provisioning config files... 07:15:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/33@tmp/config8164757322420198850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:38 ---> docker-login.sh 07:15:38 nexus3.edgexfoundry.org:10001 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:40 Configure a credential helper to remove this warning. See 07:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:40 07:15:40 Login Succeeded 07:15:40 nexus3.edgexfoundry.org:10002 07:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:40 Configure a credential helper to remove this warning. See 07:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:40 07:15:40 Login Succeeded 07:15:40 nexus3.edgexfoundry.org:10003 07:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:41 Configure a credential helper to remove this warning. See 07:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:41 07:15:41 Login Succeeded 07:15:41 nexus3.edgexfoundry.org:10004 07:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:42 Configure a credential helper to remove this warning. See 07:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:42 07:15:42 Login Succeeded 07:15:42 docker.io 07:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:42 Configure a credential helper to remove this warning. See 07:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:42 07:15:42 Login Succeeded 07:15:42 ---> docker-login.sh ends [Pipeline] } 07:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:43 ========================================================= 07:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:15:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 07:15:44 Sending build context to Docker daemon 11.59MB 07:15:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 07:15:44 Step 2/12 : FROM ${BASE} AS builder 07:15:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:15:44 9b3977197b4f: Pulling fs layer 07:15:44 1a89e8eeedd5: Pulling fs layer 07:15:44 94645a83ff95: Pulling fs layer 07:15:44 3f3a8bcf1eab: Pulling fs layer 07:15:44 0c92f367c5e7: Pulling fs layer 07:15:44 3096ccb668a1: Pulling fs layer 07:15:44 e8cf19c19ddd: Pulling fs layer 07:15:44 a4caa8a26152: Pulling fs layer 07:15:44 3096ccb668a1: Waiting 07:15:44 e8cf19c19ddd: Waiting 07:15:44 3f3a8bcf1eab: Waiting 07:15:44 a4caa8a26152: Waiting 07:15:44 0c92f367c5e7: Waiting 07:15:44 94645a83ff95: Verifying Checksum 07:15:44 94645a83ff95: Download complete 07:15:44 1a89e8eeedd5: Verifying Checksum 07:15:44 1a89e8eeedd5: Download complete 07:15:44 0c92f367c5e7: Verifying Checksum 07:15:44 0c92f367c5e7: Download complete 07:15:44 3096ccb668a1: Verifying Checksum 07:15:44 3096ccb668a1: Download complete 07:15:44 e8cf19c19ddd: Verifying Checksum 07:15:44 e8cf19c19ddd: Download complete 07:15:44 9b3977197b4f: Verifying Checksum 07:15:44 9b3977197b4f: Download complete 07:15:45 9b3977197b4f: Pull complete 07:15:46 1a89e8eeedd5: Pull complete 07:15:46 94645a83ff95: Pull complete 07:15:46 a4caa8a26152: Verifying Checksum 07:15:46 a4caa8a26152: Download complete 07:15:47 3f3a8bcf1eab: Download complete 07:15:59 3f3a8bcf1eab: Pull complete 07:16:00 0c92f367c5e7: Pull complete 07:16:00 3096ccb668a1: Pull complete 07:16:01 e8cf19c19ddd: Pull complete 07:16:07 a4caa8a26152: Pull complete 07:16:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 07:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:16:07 ---> 725f1c02e7f9 07:16:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:16:08 ---> Running in 1758cef2a73a 07:16:09 Removing intermediate container 1758cef2a73a 07:16:09 ---> e48ffd1e318c 07:16:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:16:09 ---> Running in 92f9528a160b 07:16:09 Removing intermediate container 92f9528a160b 07:16:09 ---> b948126dab38 07:16:09 Step 5/12 : WORKDIR /device-virtual-go 07:16:09 ---> Running in d4975ee559ab 07:16:09 Removing intermediate container d4975ee559ab 07:16:09 ---> 4ec6bece1cad 07:16:09 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:09 ---> Running in 4bb88a7ab92b 07:16:11 Removing intermediate container 4bb88a7ab92b 07:16:11 ---> 5825414bdb2d 07:16:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:11 ---> Running in a895557ebe41 07:16:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:16:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:16:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 07:16:15 (2/4) Installing libedit (20210910.3.1-r0) 07:16:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 07:16:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 07:16:15 Executing busybox-1.34.1-r3.trigger 07:16:15 OK: 224 MiB in 56 packages 07:16:16 Removing intermediate container a895557ebe41 07:16:16 ---> b2912fb41033 07:16:16 Step 8/12 : COPY go.mod vendor* ./ 07:16:17 ---> b532332672a1 07:16:17 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:17 ---> Running in 431b0e0a1aa4 07:17:04 Removing intermediate container 431b0e0a1aa4 07:17:04 ---> c1d5e0a6c5a8 07:17:04 Step 10/12 : COPY . . 07:17:04 ---> 9d28bf587e54 07:17:04 Step 11/12 : ARG MAKE='make build' 07:17:04 ---> Running in 890b2d36e66c 07:17:05 Removing intermediate container 890b2d36e66c 07:17:05 ---> 17454cc57015 07:17:05 Step 12/12 : RUN $MAKE 07:17:05 ---> Running in e5df0da9acf5 07:17:06 noop 07:17:07 Removing intermediate container e5df0da9acf5 07:17:07 ---> a48563d65a6d 07:17:07 Successfully built a48563d65a6d 07:17:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:17:07 + docker inspect -f . ci-base-image-arm64 07:17:07 . [Pipeline] withDockerContainer 07:17:07 prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container 07:17:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:17:09 $ docker top 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 -eo pid,comm [Pipeline] { [Pipeline] sh 07:17:10 + go version 07:17:10 go version go1.17.6 linux/arm64 [Pipeline] } 07:17:10 $ docker stop --time=1 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 07:17:12 $ docker rm -f 3ca15409cea7aaa14ada0ae7785495de12407a8bdab62706e02d75ffbf8f7676 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:17:12 + docker inspect -f . ci-base-image-arm64 07:17:12 . [Pipeline] withDockerContainer 07:17:13 prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container 07:17:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:17:14 $ docker top de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:17:15 + make test 07:17:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:17:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:18:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:18:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.160s coverage: 65.7% of statements 07:18:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:18:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:19:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:19:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:19:26 ./bin/test-attribution-txt.sh [Pipeline] echo 07:19:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:19:27 $ docker stop --time=1 de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db 07:19:29 $ docker rm -f de1c7d58211a787a8ee0aaaaad2ee1c9862e451f237bbf02083935ecde8eb7db [Pipeline] // withDockerContainer [Pipeline] sh 07:19:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:19:30 Warning: overwriting stash ‘coverage-report’ 07:19:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:19:32 + ls -al . 07:19:32 total 184 07:19:32 drwxrwxr-x 7 jenkins jenkins 4096 May 10 07:19 . 07:19:32 drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:15 .. 07:19:32 drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:15 .git 07:19:32 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 .github 07:19:32 -rw-rw-r-- 1 jenkins jenkins 270 May 10 07:15 .gitignore 07:19:32 -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:15 .golangci.yml 07:19:32 -rw-rw-r-- 1 jenkins jenkins 7893 May 10 07:15 Attribution.txt 07:19:32 -rw-rw-r-- 1 jenkins jenkins 9649 May 10 07:15 CHANGELOG.md 07:19:32 -rw-rw-r-- 1 jenkins jenkins 1974 May 10 07:15 Dockerfile 07:19:32 -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:15 GOVERNANCE.md 07:19:32 -rw-rw-r-- 1 jenkins jenkins 660 May 10 07:15 Jenkinsfile 07:19:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:15 LICENSE 07:19:32 -rw-rw-r-- 1 jenkins jenkins 2248 May 10 07:15 Makefile 07:19:32 -rw-rw-r-- 1 jenkins jenkins 623 May 10 07:15 OWNERS.md 07:19:32 -rw-rw-r-- 1 jenkins jenkins 2914 May 10 07:15 README.md 07:19:32 -rw-rw-r-- 1 jenkins jenkins 12 May 10 07:04 VERSION 07:19:32 drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 bin 07:19:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 cmd 07:19:32 -rw-r--r-- 1 jenkins jenkins 44128 May 10 07:18 coverage.out 07:19:32 -rw-rw-r-- 1 jenkins jenkins 3185 May 10 07:15 go.mod 07:19:32 -rw-rw-r-- 1 jenkins jenkins 35216 May 10 07:15 go.sum 07:19:32 drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 internal 07:19:32 -rw-rw-r-- 1 jenkins jenkins 235 May 10 07:15 version.go [Pipeline] isUnix [Pipeline] sh 07:19:32 + 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=96006ed2597d0332e2f213be0d58e636152471aa --label arch=arm64 --label version=2.2.0-dev.17 . 07:19:33 Sending build context to Docker daemon 11.63MB 07:19:33 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 07:19:33 Step 2/26 : FROM ${BASE} AS builder 07:19:33 ---> a48563d65a6d 07:19:33 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:19:33 ---> Running in da6cbe433df4 07:19:33 Removing intermediate container da6cbe433df4 07:19:33 ---> fec8f195a3f6 07:19:33 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:19:33 ---> Running in 2589bb9b4c8f 07:19:34 Removing intermediate container 2589bb9b4c8f 07:19:34 ---> fb881feab487 07:19:34 Step 5/26 : WORKDIR /device-virtual-go 07:19:34 ---> Running in 91dc9961a8fb 07:19:34 Removing intermediate container 91dc9961a8fb 07:19:34 ---> 18af8f62dac7 07:19:34 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:19:34 ---> Running in 06036ee6f08a 07:19:36 Removing intermediate container 06036ee6f08a 07:19:36 ---> e72aed0b4804 07:19:36 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:19:36 ---> Running in d7dc1def1066 07:19:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:19:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:19:39 OK: 224 MiB in 56 packages 07:19:40 Removing intermediate container d7dc1def1066 07:19:40 ---> bf1c6bb75771 07:19:40 Step 8/26 : COPY go.mod vendor* ./ 07:19:40 ---> 64dcd35b84bf 07:19:40 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:19:40 ---> Running in ac123da7bdf1 07:19:42 Removing intermediate container ac123da7bdf1 07:19:42 ---> 30282a736550 07:19:42 Step 10/26 : COPY . . 07:19:44 ---> 9920b4ade45a 07:19:44 Step 11/26 : ARG MAKE='make build' 07:19:44 ---> Running in 6739c3dce170 07:19:44 Removing intermediate container 6739c3dce170 07:19:44 ---> a420272ed065 07:19:44 Step 12/26 : RUN $MAKE 07:19:44 ---> Running in 56aa967bef4b 07:19:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 07:22:07 Removing intermediate container 56aa967bef4b 07:22:07 ---> ca85c12745e3 07:22:07 Step 13/26 : FROM alpine:3.14 07:22:07 3.14: Pulling from library/alpine 07:22:07 455c02918c45: Pulling fs layer 07:22:07 455c02918c45: Verifying Checksum 07:22:07 455c02918c45: Download complete 07:22:07 455c02918c45: Pull complete 07:22:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:22:07 Status: Downloaded newer image for alpine:3.14 07:22:07 ---> ac73e934f311 07:22:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:22:07 ---> Running in 31985262ab72 07:22:07 Removing intermediate container 31985262ab72 07:22:07 ---> a872deadb465 07:22:07 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:22:07 ---> Running in 0fcca975998a 07:22:07 Removing intermediate container 0fcca975998a 07:22:07 ---> 0f3fa8921d7a 07:22:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 07:22:07 ---> Running in 38c94507c7b7 07:22:07 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 07:22:07 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 07:22:07 (1/6) Installing dumb-init (1.2.5-r1) 07:22:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 07:22:07 (3/6) Installing libsodium (1.0.18-r0) 07:22:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 07:22:07 (5/6) Installing libzmq (4.3.4-r0) 07:22:08 (6/6) Installing zeromq (4.3.4-r0) 07:22:08 Executing busybox-1.33.1-r7.trigger 07:22:08 OK: 8 MiB in 20 packages 07:22:09 Removing intermediate container 38c94507c7b7 07:22:09 ---> 1c8f73cc810b 07:22:09 Step 17/26 : WORKDIR / 07:22:09 ---> Running in 89c9d4bc9085 07:22:09 Removing intermediate container 89c9d4bc9085 07:22:09 ---> 01a1da19db99 07:22:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:22:10 ---> dcdc1d1a3a1a 07:22:10 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:22:10 ---> 9f6bc6024ccb 07:22:10 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:22:12 ---> 1b5d05a7d0c0 07:22:12 Step 21/26 : EXPOSE 59900 07:22:12 ---> Running in d2362c4361b7 07:22:12 Removing intermediate container d2362c4361b7 07:22:12 ---> ec0c038462a8 07:22:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:22:12 ---> Running in feb8592954f4 07:22:12 Removing intermediate container feb8592954f4 07:22:12 ---> c60d425e47dd 07:22:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:22:12 ---> Running in 60dc84b4fb6c 07:22:13 Removing intermediate container 60dc84b4fb6c 07:22:13 ---> beb56bbe9e93 07:22:13 Step 24/26 : LABEL arch=arm64 07:22:13 ---> Running in 3276ff55c94d 07:22:13 Removing intermediate container 3276ff55c94d 07:22:13 ---> 8e32819c76ac 07:22:13 Step 25/26 : LABEL git_sha=96006ed2597d0332e2f213be0d58e636152471aa 07:22:13 ---> Running in db90f3a7c4cc 07:22:14 Removing intermediate container db90f3a7c4cc 07:22:14 ---> 4ee32b465f13 07:22:14 Step 26/26 : LABEL version=2.2.0-dev.17 07:22:14 ---> Running in f7d3bdba515c 07:22:14 Removing intermediate container f7d3bdba515c 07:22:14 ---> 0ac1c5ae7ead 07:22:14 [Warning] One or more build-args [ARCH] were not consumed 07:22:14 Successfully built 0ac1c5ae7ead 07:22:14 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:22:14 provisioning config files... 07:22:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/33@tmp/config4663969473875928036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:15 ---> docker-login.sh 07:22:15 nexus3.edgexfoundry.org:10001 07:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:15 Configure a credential helper to remove this warning. See 07:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:15 07:22:15 Login Succeeded 07:22:15 nexus3.edgexfoundry.org:10002 07:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:15 Configure a credential helper to remove this warning. See 07:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:15 07:22:15 Login Succeeded 07:22:15 nexus3.edgexfoundry.org:10003 07:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:16 Configure a credential helper to remove this warning. See 07:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:16 07:22:16 Login Succeeded 07:22:16 nexus3.edgexfoundry.org:10004 07:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:16 Configure a credential helper to remove this warning. See 07:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:16 07:22:16 Login Succeeded 07:22:16 docker.io 07:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:22:17 Configure a credential helper to remove this warning. See 07:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:22:17 07:22:17 Login Succeeded 07:22:17 ---> docker-login.sh ends [Pipeline] } 07:22:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:22:17 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:22:17 96006ed2597d0332e2f213be0d58e636152471aa 07:22:17 latest 07:22:17 2.2.0-dev.17 07:22:17 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:22:17 main 07:22:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:22:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] isUnix [Pipeline] sh 07:22:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa 07:22:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:22:18 6d2128d05168: Preparing 07:22:18 b2d26f73839e: Preparing 07:22:18 c2fe77c0ab68: Preparing 07:22:18 53cea977a40e: Preparing 07:22:18 816a387e3b6a: Preparing 07:22:18 f73e7dbfee58: Preparing 07:22:18 f73e7dbfee58: Waiting 07:22:18 b2d26f73839e: Pushed 07:22:18 816a387e3b6a: Pushed 07:22:18 c2fe77c0ab68: Pushed 07:22:18 f73e7dbfee58: Layer already exists 07:22:19 53cea977a40e: Pushed 07:22:24 6d2128d05168: Pushed 07:22:24 96006ed2597d0332e2f213be0d58e636152471aa: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh 07:22:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:22:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:22:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:22:25 6d2128d05168: Preparing 07:22:25 b2d26f73839e: Preparing 07:22:25 c2fe77c0ab68: Preparing 07:22:25 53cea977a40e: Preparing 07:22:25 816a387e3b6a: Preparing 07:22:25 f73e7dbfee58: Preparing 07:22:25 f73e7dbfee58: Waiting 07:22:25 816a387e3b6a: Layer already exists 07:22:25 53cea977a40e: Layer already exists 07:22:25 b2d26f73839e: Layer already exists 07:22:25 6d2128d05168: Layer already exists 07:22:25 c2fe77c0ab68: Layer already exists 07:22:25 f73e7dbfee58: Layer already exists 07:22:25 latest: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh 07:22:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 07:22:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 07:22:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:22:26 6d2128d05168: Preparing 07:22:26 b2d26f73839e: Preparing 07:22:26 c2fe77c0ab68: Preparing 07:22:26 53cea977a40e: Preparing 07:22:26 816a387e3b6a: Preparing 07:22:26 f73e7dbfee58: Preparing 07:22:26 f73e7dbfee58: Waiting 07:22:26 6d2128d05168: Layer already exists 07:22:26 816a387e3b6a: Layer already exists 07:22:26 c2fe77c0ab68: Layer already exists 07:22:26 53cea977a40e: Layer already exists 07:22:26 b2d26f73839e: Layer already exists 07:22:26 f73e7dbfee58: Layer already exists 07:22:26 2.2.0-dev.17: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh 07:22:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 07:22:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:22:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:22:27 6d2128d05168: Preparing 07:22:27 b2d26f73839e: Preparing 07:22:27 c2fe77c0ab68: Preparing 07:22:27 53cea977a40e: Preparing 07:22:27 816a387e3b6a: Preparing 07:22:27 f73e7dbfee58: Preparing 07:22:27 f73e7dbfee58: Waiting 07:22:27 53cea977a40e: Layer already exists 07:22:27 b2d26f73839e: Layer already exists 07:22:27 c2fe77c0ab68: Layer already exists 07:22:27 6d2128d05168: Layer already exists 07:22:27 816a387e3b6a: Layer already exists 07:22:27 f73e7dbfee58: Layer already exists 07:22:27 96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] isUnix [Pipeline] sh 07:22:28 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 07:22:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 07:22:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:22:28 6d2128d05168: Preparing 07:22:28 b2d26f73839e: Preparing 07:22:28 c2fe77c0ab68: Preparing 07:22:28 53cea977a40e: Preparing 07:22:28 816a387e3b6a: Preparing 07:22:28 f73e7dbfee58: Preparing 07:22:28 f73e7dbfee58: Waiting 07:22:28 b2d26f73839e: Layer already exists 07:22:28 6d2128d05168: Layer already exists 07:22:28 816a387e3b6a: Layer already exists 07:22:28 53cea977a40e: Layer already exists 07:22:28 c2fe77c0ab68: Layer already exists 07:22:28 f73e7dbfee58: Layer already exists 07:22:28 main: digest: sha256:05e7258ca657dd8b765f0df041c1da29e2ff74a53197ef255c6f70adf4ba1bcb size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:22:28 ===================================================== [Pipeline] echo 07:22:28 taggedImages: 07:22:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa 07:22:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:22:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.17 07:22:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:96006ed2597d0332e2f213be0d58e636152471aa-2.2.0-dev.17 07:22:28 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:22:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:29 07:22:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 07:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:29 arm64: Pulling from edgex-lftools-log-publisher 07:22:29 8998bd30e6a1: Pulling fs layer 07:22:29 04944245beec: Pulling fs layer 07:22:29 699f458cf7ca: Pulling fs layer 07:22:29 765212b225bb: Pulling fs layer 07:22:29 f23df028b6ca: Pulling fs layer 07:22:29 d65c8cfc05b1: Pulling fs layer 07:22:29 2437ff75d9bd: Pulling fs layer 07:22:29 f23df028b6ca: Waiting 07:22:29 d65c8cfc05b1: Waiting 07:22:29 765212b225bb: Waiting 07:22:29 2437ff75d9bd: Waiting 07:22:29 04944245beec: Verifying Checksum 07:22:29 04944245beec: Download complete 07:22:29 765212b225bb: Verifying Checksum 07:22:29 765212b225bb: Download complete 07:22:29 f23df028b6ca: Verifying Checksum 07:22:29 f23df028b6ca: Download complete 07:22:30 d65c8cfc05b1: Download complete 07:22:30 699f458cf7ca: Verifying Checksum 07:22:30 699f458cf7ca: Download complete 07:22:30 8998bd30e6a1: Verifying Checksum 07:22:30 8998bd30e6a1: Download complete 07:22:32 2437ff75d9bd: Verifying Checksum 07:22:32 2437ff75d9bd: Download complete 07:22:34 8998bd30e6a1: Pull complete 07:22:35 04944245beec: Pull complete 07:22:37 699f458cf7ca: Pull complete 07:22:37 765212b225bb: Pull complete 07:22:38 f23df028b6ca: Pull complete 07:22:38 d65c8cfc05b1: Pull complete 07:22:53 2437ff75d9bd: Pull complete 07:22:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:22:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 07:22:53 prd-ubuntu20.04-docker-arm64-4c-16g-45837 does not seem to be running inside a container 07:22:54 $ 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/33 -v /w/workspace/device-virtual-go/33:/w/workspace/device-virtual-go/33:rw,z -v /w/workspace/device-virtual-go/33@tmp:/w/workspace/device-virtual-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:22:57 $ docker top 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:22:57 ---> job-cost.sh 07:22:57 lf-activate-venv: SKIPPING 07:22:57 INFO: No Stack... 07:22:58 INFO: Retrieving Pricing Info for: v3-standard-4 07:22:59 INFO: Archiving Costs [Pipeline] sh 07:22:59 + cat /w/workspace/device-virtual-go/33/archives/cost.csv 07:22:59 + cut -d, -f6 [Pipeline] lock 07:23:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] 07:23:00 Resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] did not exist. Created. 07:23:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:23:00 /w/workspace/device-virtual-go/33@tmp/durable-2950f414/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:23:01 + echo total: 0.10999999940395355 [Pipeline] stash 07:23:01 Warning: overwriting stash ‘stack-cost’ 07:23:01 Stashed 1 file(s) [Pipeline] } 07:23:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } 07:23:01 $ docker stop --time=1 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef 07:23:03 $ docker rm -f 2433c15b9fb6752d7f29606107561fba09c2a4582973d8d7a3959ed8c7b480ef [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 07:23:03 provisioning config files... 07:23:03 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config577255187371043685tmp [Pipeline] { [Pipeline] sh 07:23:04 + set +x 07:23:04 + curl -s https://codecov.io/bash 07:23:04 + bash -s -- 07:23:04 07:23:04 _____ _ 07:23:04 / ____| | | 07:23:04 | | ___ __| | ___ ___ _____ __ 07:23:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:23:04 | |___| (_) | (_| | __/ (_| (_) \ V / 07:23:04 \_____\___/ \__,_|\___|\___\___/ \_/ 07:23:04 Bash-1.0.6 07:23:04 07:23:04 07:23:04 ==> git version 2.25.1 found 07:23:04 ==> 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 07:23:04 Release-Date: 2020-01-08 07:23:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:23:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:23:04 ==> Jenkins CI detected. 07:23:04 current dir:  /w/workspace/exfoundry_device-virtual-go_main 07:23:04 project root: . 07:23:04 --> token set from env 07:23:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:23:04 ==> Running gcov in . (disable via -X gcov) 07:23:04 ==> Python coveragepy not found 07:23:04 ==> Searching for coverage reports in: 07:23:04 + . 07:23:04 -> Found 1 reports 07:23:04 ==> Detecting git/mercurial file structure 07:23:04 ==> Reading reports 07:23:04 + ./coverage.out bytes=44128 07:23:04 ==> Appending adjustments 07:23:04 https://docs.codecov.io/docs/fixing-reports 07:23:04 + Found adjustments 07:23:04 ==> Gzipping contents 07:23:04 8.0K /tmp/codecov.b77G74.gz 07:23:04 ==> Uploading reports 07:23:04 url: https://codecov.io 07:23:04 query: branch=main&commit=96006ed2597d0332e2f213be0d58e636152471aa&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:23:04 -> Pinging Codecov 07:23:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=96006ed2597d0332e2f213be0d58e636152471aa&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:23:04 -> Uploading to 07:23:04 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/5E52B4B073DB2E39498172D8E973AA87/96006ed2597d0332e2f213be0d58e636152471aa/70f44bb8-6a8e-4598-92ad-ed7f2027da69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddcb260aa1dd5123ede0590b2a7553244bdad5c8a44311efe6e671551c1663ae 07:23:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:23:04 Dload Upload Total Spent Left Speed 07:23:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5282 0 0 100 5282 0 26019 --:--:-- --:--:-- --:--:-- 26019 100 5282 0 0 100 5282 0 24798 --:--:-- --:--:-- --:--:-- 24682 07:23:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] } 07:23:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:23:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:23:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:23:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:23:05 07:23:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 07:23:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:23:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:23:05 188c0c94c7c5: Pulling fs layer 07:23:05 0ef7d3d256c8: Pulling fs layer 07:23:05 de9db76c5a1d: Pulling fs layer 07:23:05 0eba1c9be4d2: Pulling fs layer 07:23:05 0d57e429df01: Pulling fs layer 07:23:05 4e4be7b47b0d: Pulling fs layer 07:23:05 e1f770b5df2f: Pulling fs layer 07:23:05 85a0685a4137: Pulling fs layer 07:23:05 0d57e429df01: Waiting 07:23:05 4e4be7b47b0d: Waiting 07:23:05 e1f770b5df2f: Waiting 07:23:05 85a0685a4137: Waiting 07:23:05 0eba1c9be4d2: Waiting 07:23:05 de9db76c5a1d: Download complete 07:23:05 0ef7d3d256c8: Download complete 07:23:05 0d57e429df01: Verifying Checksum 07:23:05 0d57e429df01: Download complete 07:23:05 4e4be7b47b0d: Download complete 07:23:05 188c0c94c7c5: Download complete 07:23:05 188c0c94c7c5: Pull complete 07:23:05 e1f770b5df2f: Verifying Checksum 07:23:05 e1f770b5df2f: Download complete 07:23:06 0ef7d3d256c8: Pull complete 07:23:06 de9db76c5a1d: Pull complete 07:23:06 0eba1c9be4d2: Download complete 07:23:06 85a0685a4137: Verifying Checksum 07:23:06 85a0685a4137: Download complete 07:23:09 0eba1c9be4d2: Pull complete 07:23:09 0d57e429df01: Pull complete 07:23:09 4e4be7b47b0d: Pull complete 07:23:10 e1f770b5df2f: Pull complete 07:23:13 85a0685a4137: Pull complete 07:23:13 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 07:23:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:23:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 07:23:13 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:23:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:23:16 $ docker top 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db -eo pid,comm [Pipeline] { [Pipeline] echo 07:23:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 07:23:16 + set -o pipefail 07:23:16 + snyk monitor '--org=edgex-jenkins' 07:23:22 07:23:22 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 07:23:22 07:23:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/e4efc9d1-e883-4551-90a7-04fe8e1440f0 07:23:22 07:23:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:23:22 07:23:22 [Pipeline] } 07:23:22 $ docker stop --time=1 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db 07:23:25 $ docker rm -f 1fb3491e07fb7da1e93bb9bb1b205dcbc07b7be91821965ba5fca462dbb9c4db [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 07:23:25 + git log --format=format:%s -1 96006ed2597d0332e2f213be0d58e636152471aa [Pipeline] sh 07:23:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:23:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:23:26 . [Pipeline] withDockerContainer 07:23:26 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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/py-git-semver:latest cat 07:23:26 $ docker top 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 -eo pid,comm 07:23:27 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). 07:23:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:27 [ssh-agent] Looking for ssh-agent implementation... 07:23:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:27 $ docker exec 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 ssh-agent 07:23:27 SSH_AUTH_SOCK=/tmp/ssh-WoU8yMp7f7SH/agent.32 07:23:27 SSH_AGENT_PID=38 07:23:27 Running ssh-add (command line suppressed) 07:23:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8170427618837953486.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8170427618837953486.key) 07:23:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:27 + git semver tag 07:23:28 2022-05-10 07:23:28,050 [run_tag] DEBUG tag force:False 07:23:28 2022-05-10 07:23:28,050 [check_head_tag] DEBUG check head tag 07:23:28 2022-05-10 07:23:28,051 [execute] INFO git cat-file --batch-check 07:23:28 2022-05-10 07:23:28,051 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:23:28 2022-05-10 07:23:28,055 [execute] INFO git cat-file --batch 07:23:28 2022-05-10 07:23:28,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:23:28 2022-05-10 07:23:28,070 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:28 2022-05-10 07:23:28,070 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 07:23:28 2022-05-10 07:23:28,070 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:23:28 2022-05-10 07:23:28,076 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:28 2.2.0-dev.17 [Pipeline] } 07:23:28 $ docker exec --env ******** --env ******** 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 ssh-agent -k 07:23:28 unset SSH_AUTH_SOCK; 07:23:28 unset SSH_AGENT_PID; 07:23:28 echo Agent pid 38 killed; 07:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:28 + git semver [Pipeline] } 07:23:28 $ docker stop --time=1 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 07:23:30 $ docker rm -f 8e30818f59d1f82a01fd80d5df26342fb42670aca1adfc8202fc4f2e5a1da383 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 07:23:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:30 07:23:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 07:23:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:30 0.23.1-centos7: Pulling from edgex-lftools 07:23:30 ab5ef0e58194: Pulling fs layer 07:23:30 9712f1f96733: Pulling fs layer 07:23:30 63f879dbbcfc: Pulling fs layer 07:23:30 0d9ebad4ef96: Pulling fs layer 07:23:30 e9a5061849ea: Pulling fs layer 07:23:30 d747dcd14b5f: Pulling fs layer 07:23:30 2de7ff778b66: Pulling fs layer 07:23:30 0d9ebad4ef96: Waiting 07:23:30 e9a5061849ea: Waiting 07:23:30 d747dcd14b5f: Waiting 07:23:30 9712f1f96733: Verifying Checksum 07:23:30 9712f1f96733: Download complete 07:23:31 63f879dbbcfc: Verifying Checksum 07:23:31 63f879dbbcfc: Download complete 07:23:31 e9a5061849ea: Verifying Checksum 07:23:31 e9a5061849ea: Download complete 07:23:31 d747dcd14b5f: Verifying Checksum 07:23:31 d747dcd14b5f: Download complete 07:23:31 0d9ebad4ef96: Verifying Checksum 07:23:31 0d9ebad4ef96: Download complete 07:23:31 ab5ef0e58194: Verifying Checksum 07:23:31 ab5ef0e58194: Download complete 07:23:31 2de7ff778b66: Verifying Checksum 07:23:31 2de7ff778b66: Download complete 07:23:34 ab5ef0e58194: Pull complete 07:23:34 9712f1f96733: Pull complete 07:23:35 63f879dbbcfc: Pull complete 07:23:39 0d9ebad4ef96: Pull complete 07:23:39 e9a5061849ea: Pull complete 07:23:39 d747dcd14b5f: Pull complete 07:23:40 2de7ff778b66: Pull complete 07:23:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:23:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 07:23:40 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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:0.23.1-centos7 cat 07:23:45 $ docker top bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:23:45 provisioning config files... 07:23:45 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9151426438023558498tmp 07:23:45 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4305644801739677764tmp 07:23:45 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4507295279090599043tmp [Pipeline] { [Pipeline] echo 07:23:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:23:45 ---> sigul-configuration.sh 07:23:45 gpg: directory `/root/.gnupg' created 07:23:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:23:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:23:45 gpg: keyring `/root/.gnupg/secring.gpg' created 07:23:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:23:45 gpg: CAST5 encrypted data 07:23:45 gpg: encrypted with 1 passphrase 07:23:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:23:45 + mkdir /home/jenkins 07:23:45 + mkdir /home/jenkins/sigul [Pipeline] sh 07:23:45 + 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 07:23:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:23:46 ---> sigul-install.sh 07:23:46 Sigul already installed; skipping installation. [Pipeline] sh 07:23:46 + git tag --list 07:23:46 v1.0.0 07:23:46 v1.1.0 07:23:46 v1.1.1 07:23:46 v1.2.1 07:23:46 v1.2.2 07:23:46 v1.2.3 07:23:46 v1.3.0 07:23:46 v1.3.1 07:23:46 v2.0.0 07:23:46 v2.0.1-dev.1 07:23:46 v2.0.1-dev.10 07:23:46 v2.0.1-dev.11 07:23:46 v2.0.1-dev.12 07:23:46 v2.0.1-dev.13 07:23:46 v2.0.1-dev.14 07:23:46 v2.0.1-dev.15 07:23:46 v2.0.1-dev.2 07:23:46 v2.0.1-dev.3 07:23:46 v2.0.1-dev.4 07:23:46 v2.0.1-dev.5 07:23:46 v2.0.1-dev.6 07:23:46 v2.0.1-dev.7 07:23:46 v2.0.1-dev.8 07:23:46 v2.0.1-dev.9 07:23:46 v2.1.0 07:23:46 v2.2.0-dev.1 07:23:46 v2.2.0-dev.10 07:23:46 v2.2.0-dev.11 07:23:46 v2.2.0-dev.12 07:23:46 v2.2.0-dev.13 07:23:46 v2.2.0-dev.14 07:23:46 v2.2.0-dev.15 07:23:46 v2.2.0-dev.16 07:23:46 v2.2.0-dev.17 07:23:46 v2.2.0-dev.2 07:23:46 v2.2.0-dev.3 07:23:46 v2.2.0-dev.4 07:23:46 v2.2.0-dev.5 07:23:46 v2.2.0-dev.6 07:23:46 v2.2.0-dev.7 07:23:46 v2.2.0-dev.8 07:23:46 v2.2.0-dev.9 [Pipeline] sh 07:23:46 + lftools sign git-tag v2.2.0-dev.17 07:23:47 Signing Git tag with Sigul... 07:23:47 Signing v2.2.0-dev.17 [Pipeline] echo 07:23:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:23:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:23:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:23:48 $ docker stop --time=1 bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 07:23:49 $ docker rm -f bcbbed653b1f489262204760b2bd78823cd7ea7dcf8122af417e95db36e17792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:23:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:23:50 . [Pipeline] withDockerContainer 07:23:50 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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/py-git-semver:latest cat 07:23:50 $ docker top 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:50 [ssh-agent] Looking for ssh-agent implementation... 07:23:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:50 $ docker exec 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e ssh-agent 07:23:50 SSH_AUTH_SOCK=/tmp/ssh-jw16h2BFUANf/agent.32 07:23:50 SSH_AGENT_PID=38 07:23:50 Running ssh-add (command line suppressed) 07:23:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2476125418035733252.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2476125418035733252.key) 07:23:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:51 + git semver bump pre 07:23:51 2022-05-10 07:23:51,593 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:51 2022-05-10 07:23:51,594 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev 07:23:51 2022-05-10 07:23:51,594 [bump_version] DEBUG bumped version:2.2.0-dev.18 07:23:51 2022-05-10 07:23:51,594 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 07:23:51 2022-05-10 07:23:51,594 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:51 2022-05-10 07:23:51,594 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:51 2022-05-10 07:23:51,596 [execute] INFO git cat-file --batch-check 07:23:51 2022-05-10 07:23:51,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:51 2022-05-10 07:23:51,602 [execute] INFO git cat-file --batch 07:23:51 2022-05-10 07:23:51,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:23:51 2022-05-10 07:23:51,608 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:51 2.2.0-dev.18 [Pipeline] } 07:23:51 $ docker exec --env ******** --env ******** 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e ssh-agent -k 07:23:51 unset SSH_AUTH_SOCK; 07:23:51 unset SSH_AGENT_PID; 07:23:51 echo Agent pid 38 killed; 07:23:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:52 + git semver [Pipeline] } 07:23:52 $ docker stop --time=1 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e 07:23:53 $ docker rm -f 10ab0b7602ba5310bc9f0ef2ddefea915f6b22d4c91132c7058162f65bfdd95e [Pipeline] // withDockerContainer [Pipeline] sh 07:23:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 07:23:54 . [Pipeline] withDockerContainer 07:23:54 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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/py-git-semver:latest cat 07:23:54 $ docker top 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:54 [ssh-agent] Looking for ssh-agent implementation... 07:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:55 $ docker exec 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 ssh-agent 07:23:55 SSH_AUTH_SOCK=/tmp/ssh-EMmdWPseVaJl/agent.34 07:23:55 SSH_AGENT_PID=40 07:23:55 Running ssh-add (command line suppressed) 07:23:55 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2399699788762239884.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2399699788762239884.key) 07:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:23:55 + git semver push 07:23:55 2022-05-10 07:23:55,912 [run_push] DEBUG push 07:23:55 2022-05-10 07:23:55,913 [execute] INFO git push origin semver 07:23:55 2022-05-10 07:23:55,913 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:23:56 2022-05-10 07:23:56,671 [run_push] DEBUG push all version tags 07:23:56 2022-05-10 07:23:56,672 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:23:56 2022-05-10 07:23:56,672 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:23:57 2022-05-10 07:23:57,398 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:23:57 2.2.0-dev.18 [Pipeline] } 07:23:57 $ docker exec --env ******** --env ******** 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 ssh-agent -k 07:23:57 unset SSH_AUTH_SOCK; 07:23:57 unset SSH_AGENT_PID; 07:23:57 echo Agent pid 40 killed; 07:23:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:23:57 + git semver [Pipeline] } 07:23:58 $ docker stop --time=1 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 07:23:59 $ docker rm -f 1efbd6fafc504986cefbe07fc05073accb842a3f068a8ede892688cee2f4fd03 [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 07:24:00 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 07:24:00 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:24:00 total 16 07:24:00 drwxr-xr-x 3 root root 4096 May 10 07:06 . 07:24:00 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:23 .. 07:24:00 drwxr-xr-x 2 root root 4096 May 10 07:06 cost 07:24:00 -rw-r--r-- 1 root root 87 May 10 07:06 cost.csv 07:24:00 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 07:24:00 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:24:00 total 16 07:24:00 drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:06 . 07:24:00 drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:23 .. 07:24:00 drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:06 cost 07:24:00 -rw-r--r-- 1 jenkins jenkins 87 May 10 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:24:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:24:01 ---> package-listing.sh 07:24:01 ++ facter osfamily 07:24:01 ++ tr '[:upper:]' '[:lower:]' 07:24:01 + OS_FAMILY=debian 07:24:01 + workspace=/w/workspace/exfoundry_device-virtual-go_main 07:24:01 + START_PACKAGES=/tmp/packages_start.txt 07:24:01 + END_PACKAGES=/tmp/packages_end.txt 07:24:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:24:01 + PACKAGES=/tmp/packages_start.txt 07:24:01 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:24:01 + PACKAGES=/tmp/packages_end.txt 07:24:01 + case "${OS_FAMILY}" in 07:24:01 + dpkg -l 07:24:01 + grep '^ii' 07:24:01 + '[' -f /tmp/packages_start.txt ']' 07:24:01 + '[' -f /tmp/packages_end.txt ']' 07:24:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:24:01 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:24:01 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 07:24:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 07:24:01 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:24:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:02 . [Pipeline] withDockerContainer 07:24:02 prd-ubuntu20.04-docker-8c-8g-45620 does not seem to be running inside a container 07:24:02 $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 07:24:02 $ docker top 4cdbd33112cfd795f47e17aad6bb344c0ed8388ad882ab1f4180ced7dfc82475 -eo pid,comm [Pipeline] { [Pipeline] sh 07:24:03 + touch /tmp/pre-build-complete [Pipeline] sh 07:24:03 + mkdir -p /var/log/sysstat [Pipeline] sh 07:24:03 + ls /var/log/sa-host 07:24:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:24:03 provisioning config files... 07:24:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8328608775679873589tmp [Pipeline] { [Pipeline] echo 07:24:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:24:04 ---> create-netrc.sh [Pipeline] } 07:24:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:24:04 ---> python-tools-install.sh [Pipeline] echo 07:24:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:24:04 ---> sudo-logs.sh 07:24:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:24:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:24:04 ---> job-cost.sh 07:24:04 lf-activate-venv: SKIPPING 07:24:04 DEBUG: total: 0.2199999988079071 07:24:04 INFO: Retrieving Stack Cost... 07:24:05 INFO: Retrieving Pricing Info for: v3-standard-8 07:24:05 INFO: Archiving Costs [Pipeline] echo 07:24:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:24:06 ---> logs-deploy.sh 07:24:06 lf-activate-venv: SKIPPING 07:24:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/33 07:24:06 INFO: archiving workspace using pattern(s): 07:24:07 Archives upload complete. 07:24:07 INFO: archiving logs to Nexus