Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3c8352dddffb55a33ce15791a32ab0061559949 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-ssh11578083782719892395.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-ssh5241054207270967587.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-ssh3040409594822664871.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-ssh17224946391230378811.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-ssh13557951031612388062.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-ubuntu20.04-docker-8c-8g-41800’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41802 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 b3c8352dddffb55a33ce15791a32ab0061559949 (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 b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 Commit message: "Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:18:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:18:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:18:45 ========================================================= 11:18:45 EdgeX Global Pipelines Version Info 11:18:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:18:46 ------------------- 11:18:46 stable info: 11:18:46 ------------------- 11:18:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:18:46 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:18:46 Message: update stable to v1.0.227 11:18:46 ------------------- 11:18:46 experimental info: 11:18:46 ------------------- 11:18:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:18:46 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 11:18:46 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:18:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3c8352 [Pipeline] echo 11:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:47 provisioning config files... 11:18:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2875131618066447645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:47 ---> docker-login.sh 11:18:47 nexus3.edgexfoundry.org:10001 11:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:48 Configure a credential helper to remove this warning. See 11:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:48 11:18:48 Login Succeeded 11:18:48 nexus3.edgexfoundry.org:10002 11:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:48 Configure a credential helper to remove this warning. See 11:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:48 11:18:48 Login Succeeded 11:18:48 nexus3.edgexfoundry.org:10003 11:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:48 Configure a credential helper to remove this warning. See 11:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:48 11:18:48 Login Succeeded 11:18:48 nexus3.edgexfoundry.org:10004 11:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:48 Configure a credential helper to remove this warning. See 11:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:48 11:18:48 Login Succeeded 11:18:48 docker.io 11:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:18:49 Configure a credential helper to remove this warning. See 11:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:18:49 11:18:49 Login Succeeded 11:18:49 ---> docker-login.sh ends [Pipeline] } 11:18:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:18:49 + git rev-list -1 --merges b3c8352dddffb55a33ce15791a32ab0061559949~1..b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo 11:18:49 -----------> git rev-list -1 --merges b3c8352dddffb55a33ce15791a32ab0061559949~1..b3c8352dddffb55a33ce15791a32ab0061559949 b3c8352dddffb55a33ce15791a32ab0061559949 11:18:49 b3c8352dddffb55a33ce15791a32ab0061559949 [false] [Pipeline] sh 11:18:50 + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo 11:18:50 ========================================================= 11:18:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:18:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:18:50 + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] echo 11:18:50 [semverPrep] GIT_COMMIT: b3c8352dddffb55a33ce15791a32ab0061559949, Commit Message: Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo 11:18:50 [semverPrep] This is not a build commit. [Pipeline] sh 11:18:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:50 + grep -v github /etc/ssh/ssh_known_hosts 11:18:50 + [ -e /tmp/ssh_known_hosts ] 11:18:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:18:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:18:50 + sudo tee -a /etc/ssh/ssh_known_hosts 11:18:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:18:51 11:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:18:51 latest: Pulling from edgex-devops/py-git-semver 11:18:51 1fe172e4850f: Pulling fs layer 11:18:51 caf521ccaac6: Pulling fs layer 11:18:51 3ead6fa29328: Pulling fs layer 11:18:51 5c2a1cbceb83: Pulling fs layer 11:18:51 a8d5f1318db7: Pulling fs layer 11:18:51 c427282e49a2: Pulling fs layer 11:18:51 1827001aaf11: Pulling fs layer 11:18:51 0714d37db230: Pulling fs layer 11:18:51 ac28cf19c067: Pulling fs layer 11:18:51 ca983d60f3e2: Pulling fs layer 11:18:51 9f894cec8388: Pulling fs layer 11:18:51 5c2a1cbceb83: Waiting 11:18:51 a8d5f1318db7: Waiting 11:18:51 ac28cf19c067: Waiting 11:18:51 c427282e49a2: Waiting 11:18:51 1827001aaf11: Waiting 11:18:51 ca983d60f3e2: Waiting 11:18:51 0714d37db230: Waiting 11:18:51 9f894cec8388: Waiting 11:18:51 caf521ccaac6: Download complete 11:18:51 5c2a1cbceb83: Verifying Checksum 11:18:51 5c2a1cbceb83: Download complete 11:18:51 a8d5f1318db7: Verifying Checksum 11:18:51 a8d5f1318db7: Download complete 11:18:51 3ead6fa29328: Verifying Checksum 11:18:51 3ead6fa29328: Download complete 11:18:51 c427282e49a2: Verifying Checksum 11:18:51 c427282e49a2: Download complete 11:18:51 0714d37db230: Verifying Checksum 11:18:51 0714d37db230: Download complete 11:18:51 ac28cf19c067: Download complete 11:18:51 ca983d60f3e2: Download complete 11:18:51 9f894cec8388: Download complete 11:18:51 1fe172e4850f: Download complete 11:18:52 1827001aaf11: Verifying Checksum 11:18:52 1827001aaf11: Download complete 11:18:53 1fe172e4850f: Pull complete 11:18:53 caf521ccaac6: Pull complete 11:18:54 3ead6fa29328: Pull complete 11:18:54 5c2a1cbceb83: Pull complete 11:18:54 a8d5f1318db7: Pull complete 11:18:54 c427282e49a2: Pull complete 11:18:57 1827001aaf11: Pull complete 11:18:57 0714d37db230: Pull complete 11:18:57 ac28cf19c067: Pull complete 11:18:57 ca983d60f3e2: Pull complete 11:18:57 9f894cec8388: Pull complete 11:18:57 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 11:18:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:18:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 11:18:57 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:18:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:18:59 $ docker top c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 -eo pid,comm 11:18:59 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). 11:18:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:59 [ssh-agent] Looking for ssh-agent implementation... 11:18:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:19:00 $ docker exec c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent 11:19:00 SSH_AUTH_SOCK=/tmp/ssh-UNk9lIYSnGXK/agent.33 11:19:00 SSH_AGENT_PID=39 11:19:00 Running ssh-add (command line suppressed) 11:19:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3531522599533622082.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3531522599533622082.key) 11:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:19:00 + git tag --points-at HEAD [Pipeline] } 11:19:00 $ docker exec --env ******** --env ******** c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent -k 11:19:00 unset SSH_AUTH_SOCK; 11:19:00 unset SSH_AGENT_PID; 11:19:00 echo Agent pid 39 killed; 11:19:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:19:00 [ssh-agent] Looking for ssh-agent implementation... 11:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:19:00 $ docker exec c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent 11:19:01 SSH_AUTH_SOCK=/tmp/ssh-LzAr5gQuefT0/agent.71 11:19:01 SSH_AGENT_PID=78 11:19:01 Running ssh-add (command line suppressed) 11:19:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7682588690200637001.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7682588690200637001.key) 11:19:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:19:01 + git semver init 11:19:01 2022-05-09 11:19:01,658 [run_init] DEBUG init version:0.0.0 force:False 11:19:01 2022-05-09 11:19:01,659 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:19:01 2022-05-09 11:19:01,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:19:01 2022-05-09 11:19:01,660 [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) 11:19:03 2022-05-09 11:19:02,739 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:19:03 2022-05-09 11:19:02,739 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:19:03 2022-05-09 11:19:02,739 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:19:03 2022-05-09 11:19:02,739 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:19:03 2.2.0-dev.16 [Pipeline] } 11:19:03 $ docker exec --env ******** --env ******** c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 ssh-agent -k 11:19:03 unset SSH_AUTH_SOCK; 11:19:03 unset SSH_AGENT_PID; 11:19:03 echo Agent pid 78 killed; 11:19:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:19:03 + git semver [Pipeline] } 11:19:03 $ docker stop --time=1 c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 11:19:05 $ docker rm -f c6290c868f5ccb33eff849876452dd061098fdc5bc3f381b55dd4af1fae28af9 [Pipeline] // withDockerContainer [Pipeline] sh 11:19:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:19:05 Stashed 1 file(s) [Pipeline] echo 11:19:05 [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [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 11:19:06 provisioning config files... 11:19:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4542244293866118192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:19:06 ---> docker-login.sh 11:19:06 nexus3.edgexfoundry.org:10001 11:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:06 Configure a credential helper to remove this warning. See 11:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:06 11:19:06 Login Succeeded 11:19:06 nexus3.edgexfoundry.org:10002 11:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:06 Configure a credential helper to remove this warning. See 11:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:06 11:19:06 Login Succeeded 11:19:06 nexus3.edgexfoundry.org:10003 11:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:06 Configure a credential helper to remove this warning. See 11:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:06 11:19:06 Login Succeeded 11:19:06 nexus3.edgexfoundry.org:10004 11:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:06 Configure a credential helper to remove this warning. See 11:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:06 11:19:06 Login Succeeded 11:19:06 docker.io 11:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:07 Configure a credential helper to remove this warning. See 11:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:07 11:19:07 Login Succeeded 11:19:07 ---> docker-login.sh ends [Pipeline] } 11:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:19:07 ========================================================= 11:19:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:19:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:19:07 + 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 . 11:19:07 Sending build context to Docker daemon 22.91MB 11:19:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:19:07 Step 2/12 : FROM ${BASE} AS builder 11:19:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:19:07 59bf1c3509f3: Pulling fs layer 11:19:07 666ba61612fd: Pulling fs layer 11:19:07 8ed8ca486205: Pulling fs layer 11:19:07 4fe6c5a15a65: Pulling fs layer 11:19:07 22a0e8bec74d: Pulling fs layer 11:19:07 ca2b28591e48: Pulling fs layer 11:19:07 a51346096db8: Pulling fs layer 11:19:07 daebc70d1ce1: Pulling fs layer 11:19:07 0e18a0eac166: Pulling fs layer 11:19:07 ca2b28591e48: Waiting 11:19:07 a51346096db8: Waiting 11:19:07 daebc70d1ce1: Waiting 11:19:07 22a0e8bec74d: Waiting 11:19:07 4fe6c5a15a65: Waiting 11:19:07 8ed8ca486205: Verifying Checksum 11:19:07 8ed8ca486205: Download complete 11:19:07 666ba61612fd: Verifying Checksum 11:19:07 666ba61612fd: Download complete 11:19:07 22a0e8bec74d: Verifying Checksum 11:19:07 22a0e8bec74d: Download complete 11:19:07 ca2b28591e48: Verifying Checksum 11:19:07 ca2b28591e48: Download complete 11:19:07 59bf1c3509f3: Verifying Checksum 11:19:07 59bf1c3509f3: Download complete 11:19:07 a51346096db8: Verifying Checksum 11:19:07 a51346096db8: Download complete 11:19:07 daebc70d1ce1: Verifying Checksum 11:19:07 daebc70d1ce1: Download complete 11:19:08 59bf1c3509f3: Pull complete 11:19:08 666ba61612fd: Pull complete 11:19:08 8ed8ca486205: Pull complete 11:19:08 0e18a0eac166: Verifying Checksum 11:19:08 0e18a0eac166: Download complete 11:19:08 4fe6c5a15a65: Verifying Checksum 11:19:08 4fe6c5a15a65: Download complete 11:19:12 4fe6c5a15a65: Pull complete 11:19:12 22a0e8bec74d: Pull complete 11:19:12 ca2b28591e48: Pull complete 11:19:12 a51346096db8: Pull complete 11:19:12 daebc70d1ce1: Pull complete 11:19:15 0e18a0eac166: Pull complete 11:19:15 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:19:15 ---> f018257e8ee9 11:19:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:19:16 ---> Running in b9df0afadb65 11:19:16 Removing intermediate container b9df0afadb65 11:19:16 ---> fed474874d58 11:19:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:19:16 ---> Running in c32061ca982b 11:19:16 Removing intermediate container c32061ca982b 11:19:16 ---> 0782cbb78c35 11:19:16 Step 5/12 : WORKDIR /device-virtual-go 11:19:16 ---> Running in 3d240246d6b5 11:19:16 Removing intermediate container 3d240246d6b5 11:19:16 ---> 61e652670dc8 11:19:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:19:16 ---> Running in 331f8b7ebecc 11:19:17 Removing intermediate container 331f8b7ebecc 11:19:17 ---> d5a51fade568 11:19:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:19:17 ---> Running in 7963d74377df 11:19:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:19:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:19:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:19:19 (2/4) Installing libedit (20210910.3.1-r0) 11:19:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:19:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:19:19 Executing busybox-1.34.1-r3.trigger 11:19:19 OK: 224 MiB in 56 packages 11:19:19 Removing intermediate container 7963d74377df 11:19:19 ---> 3c2d377a2bc4 11:19:19 Step 8/12 : COPY go.mod vendor* ./ 11:19:19 ---> 9f4539bebe3b 11:19:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:19:20 ---> Running in 3869531d4695 11:19:20 Still waiting to schedule task 11:19:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41801’ is offline 11:19:38 Removing intermediate container 3869531d4695 11:19:38 ---> 3158d4fd5a52 11:19:38 Step 10/12 : COPY . . 11:19:38 ---> 36e7e15e0c4b 11:19:38 Step 11/12 : ARG MAKE='make build' 11:19:38 ---> Running in 5cf06141db8d 11:19:38 Removing intermediate container 5cf06141db8d 11:19:38 ---> 598e0eafdfc3 11:19:38 Step 12/12 : RUN $MAKE 11:19:38 ---> Running in 7a0f66ed5c43 11:19:38 noop 11:19:39 Removing intermediate container 7a0f66ed5c43 11:19:39 ---> 66d575c6a5b4 11:19:39 Successfully built 66d575c6a5b4 11:19:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:19:39 + docker inspect -f . ci-base-image-x86_64 11:19:39 . [Pipeline] withDockerContainer 11:19:39 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:19:39 $ 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 ******** -e ******** ci-base-image-x86_64 cat 11:19:39 $ docker top 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 -eo pid,comm [Pipeline] { [Pipeline] sh 11:19:40 + go version 11:19:40 go version go1.17.6 linux/amd64 [Pipeline] } 11:19:40 $ docker stop --time=1 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 11:19:41 $ docker rm -f 9345715464c7021d87145b004c4a4fd30c75f4e429e00e2f11c1c3a8d2546e70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:19:41 + docker inspect -f . ci-base-image-x86_64 11:19:41 . [Pipeline] withDockerContainer 11:19:42 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:19:42 $ 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 ******** -e ******** ci-base-image-x86_64 cat 11:19:42 $ docker top 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:19:42 + make test 11:19:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:19:43 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:19:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:19:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 11:19:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:20:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:20:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:20:02 ./bin/test-attribution-txt.sh [Pipeline] echo 11:20:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:20:02 $ docker stop --time=1 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 11:20:04 $ docker rm -f 9cfcf9d2d4b299165b0d6b4dc28bdde223700c897baf9bfe075864b7c8798057 [Pipeline] // withDockerContainer [Pipeline] sh 11:20:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:20:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:20:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:20:06 + ls -al . 11:20:06 total 184 11:20:06 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:20 . 11:20:06 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:18 .. 11:20:06 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:19 .git 11:20:06 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:18 .github 11:20:06 -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:18 .gitignore 11:20:06 -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:18 .golangci.yml 11:20:06 drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:19 .semver 11:20:06 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:18 Attribution.txt 11:20:06 -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:18 CHANGELOG.md 11:20:06 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:18 Dockerfile 11:20:06 -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:18 GOVERNANCE.md 11:20:06 -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:18 Jenkinsfile 11:20:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:18 LICENSE 11:20:06 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:18 Makefile 11:20:06 -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:18 OWNERS.md 11:20:06 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:18 README.md 11:20:06 -rw-rw-r-- 1 jenkins jenkins 12 May 9 11:19 VERSION 11:20:06 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:18 bin 11:20:06 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:18 cmd 11:20:06 -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:19 coverage.out 11:20:06 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:18 go.mod 11:20:06 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:18 go.sum 11:20:06 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:18 internal 11:20:06 -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:18 version.go [Pipeline] isUnix [Pipeline] sh 11:20:06 + 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=b3c8352dddffb55a33ce15791a32ab0061559949 --label arch=amd64 --label version=2.2.0-dev.16 . 11:20:06 Sending build context to Docker daemon 22.96MB 11:20:06 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:20:06 Step 2/26 : FROM ${BASE} AS builder 11:20:06 ---> 66d575c6a5b4 11:20:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:20:06 ---> Running in a4ee22a28864 11:20:06 Removing intermediate container a4ee22a28864 11:20:06 ---> b4896142c0a7 11:20:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:20:07 ---> Running in 8121315ae37f 11:20:07 Removing intermediate container 8121315ae37f 11:20:07 ---> fe6748d58fb5 11:20:07 Step 5/26 : WORKDIR /device-virtual-go 11:20:07 ---> Running in 1a1e009c404a 11:20:07 Removing intermediate container 1a1e009c404a 11:20:07 ---> 0ac6f5d90ca1 11:20:07 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:20:07 ---> Running in 82cc62485614 11:20:07 Removing intermediate container 82cc62485614 11:20:07 ---> 58af45c566b1 11:20:07 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:20:08 ---> Running in 768f94aa2118 11:20:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:20:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:20:09 OK: 224 MiB in 56 packages 11:20:10 Removing intermediate container 768f94aa2118 11:20:10 ---> 56d34fef0223 11:20:10 Step 8/26 : COPY go.mod vendor* ./ 11:20:10 ---> 7d497a4a4f74 11:20:10 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:20:10 ---> Running in 9762a44fb2b0 11:20:11 Removing intermediate container 9762a44fb2b0 11:20:11 ---> 56f897f85e88 11:20:11 Step 10/26 : COPY . . 11:20:11 ---> 3cc845941b77 11:20:11 Step 11/26 : ARG MAKE='make build' 11:20:11 ---> Running in 9a780505ca86 11:20:11 Removing intermediate container 9a780505ca86 11:20:11 ---> df3d8d075da3 11:20:11 Step 12/26 : RUN $MAKE 11:20:11 ---> Running in 83e3068aa7a2 11:20:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:20:33 Removing intermediate container 83e3068aa7a2 11:20:33 ---> 6d3815b8f6fd 11:20:33 Step 13/26 : FROM alpine:3.14 11:20:33 3.14: Pulling from library/alpine 11:20:33 8663204ce13b: Pulling fs layer 11:20:33 8663204ce13b: Verifying Checksum 11:20:33 8663204ce13b: Download complete 11:20:33 8663204ce13b: Pull complete 11:20:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:20:33 Status: Downloaded newer image for alpine:3.14 11:20:33 ---> e04c818066af 11:20:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:20:33 ---> Running in 3c5a498195ec 11:20:33 Removing intermediate container 3c5a498195ec 11:20:33 ---> afb4e00f48dd 11:20:33 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:20:33 ---> Running in d41bf28505ef 11:20:33 Removing intermediate container d41bf28505ef 11:20:33 ---> 8abf02a81f47 11:20:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:20:33 ---> Running in 18233d31ee02 11:20:33 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:20:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:20:34 (1/6) Installing dumb-init (1.2.5-r1) 11:20:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:20:34 (3/6) Installing libsodium (1.0.18-r0) 11:20:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:20:35 (5/6) Installing libzmq (4.3.4-r0) 11:20:35 (6/6) Installing zeromq (4.3.4-r0) 11:20:35 Executing busybox-1.33.1-r7.trigger 11:20:35 OK: 8 MiB in 20 packages 11:20:35 Removing intermediate container 18233d31ee02 11:20:35 ---> a71a764d11df 11:20:35 Step 17/26 : WORKDIR / 11:20:35 ---> Running in ce35c7556510 11:20:35 Removing intermediate container ce35c7556510 11:20:35 ---> 59aafcf14522 11:20:35 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:20:35 ---> 4f83bdae25d3 11:20:35 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:20:36 ---> ace5567ea34a 11:20:36 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:20:36 ---> 43066529a740 11:20:36 Step 21/26 : EXPOSE 59900 11:20:36 ---> Running in c4ad24da0ea5 11:20:36 Removing intermediate container c4ad24da0ea5 11:20:36 ---> e8b7baec39d8 11:20:36 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:20:36 ---> Running in b04ba937257e 11:20:36 Removing intermediate container b04ba937257e 11:20:36 ---> 0ffc1dce4649 11:20:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:20:36 ---> Running in 7f939f8e5ac5 11:20:37 Removing intermediate container 7f939f8e5ac5 11:20:37 ---> 1eec4ac3a12a 11:20:37 Step 24/26 : LABEL arch=amd64 11:20:37 ---> Running in 41f749189f24 11:20:37 Removing intermediate container 41f749189f24 11:20:37 ---> 1ba9d7d92c1d 11:20:37 Step 25/26 : LABEL git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 11:20:37 ---> Running in d4d6f11666b0 11:20:37 Removing intermediate container d4d6f11666b0 11:20:37 ---> 4ab3268e6988 11:20:37 Step 26/26 : LABEL version=2.2.0-dev.16 11:20:37 ---> Running in e5a14a04cf1e 11:20:37 Removing intermediate container e5a14a04cf1e 11:20:37 ---> d0fac38f03cb 11:20:37 [Warning] One or more build-args [ARCH] were not consumed 11:20:37 Successfully built d0fac38f03cb 11:20:37 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:38 provisioning config files... 11:20:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3918964578232370747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:38 ---> docker-login.sh 11:20:38 nexus3.edgexfoundry.org:10001 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10002 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10003 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 nexus3.edgexfoundry.org:10004 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:38 Configure a credential helper to remove this warning. See 11:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:38 11:20:38 Login Succeeded 11:20:38 docker.io 11:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:20:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:20:39 Configure a credential helper to remove this warning. See 11:20:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:20:39 11:20:39 Login Succeeded 11:20:39 ---> docker-login.sh ends [Pipeline] } 11:20:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:20:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:20:39 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:20:39 b3c8352dddffb55a33ce15791a32ab0061559949 11:20:39 latest 11:20:39 2.2.0-dev.16 11:20:39 b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:20:39 main 11:20:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:20:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] isUnix [Pipeline] sh 11:20:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 11:20:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:20:39 94fb45607103: Preparing 11:20:39 11e23ab68968: Preparing 11:20:39 e6499d21ab49: Preparing 11:20:39 91b555db991b: Preparing 11:20:39 f1bcea10058a: Preparing 11:20:39 b541d28bf3b4: Preparing 11:20:39 b541d28bf3b4: Waiting 11:20:39 11e23ab68968: Pushed 11:20:39 e6499d21ab49: Pushed 11:20:39 f1bcea10058a: Pushed 11:20:39 b541d28bf3b4: Layer already exists 11:20:40 91b555db991b: Pushed 11:20:42 94fb45607103: Pushed 11:20:42 b3c8352dddffb55a33ce15791a32ab0061559949: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh 11:20:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 11:20:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:20:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:20:43 94fb45607103: Preparing 11:20:43 11e23ab68968: Preparing 11:20:43 e6499d21ab49: Preparing 11:20:43 91b555db991b: Preparing 11:20:43 f1bcea10058a: Preparing 11:20:43 b541d28bf3b4: Preparing 11:20:43 b541d28bf3b4: Waiting 11:20:43 91b555db991b: Layer already exists 11:20:43 f1bcea10058a: Layer already exists 11:20:43 e6499d21ab49: Layer already exists 11:20:43 11e23ab68968: Layer already exists 11:20:43 94fb45607103: Layer already exists 11:20:43 b541d28bf3b4: Layer already exists 11:20:43 latest: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh 11:20:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 11:20:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 11:20:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:20:43 94fb45607103: Preparing 11:20:43 11e23ab68968: Preparing 11:20:43 e6499d21ab49: Preparing 11:20:43 91b555db991b: Preparing 11:20:43 f1bcea10058a: Preparing 11:20:43 b541d28bf3b4: Preparing 11:20:43 b541d28bf3b4: Waiting 11:20:43 94fb45607103: Layer already exists 11:20:43 11e23ab68968: Layer already exists 11:20:43 91b555db991b: Layer already exists 11:20:43 e6499d21ab49: Layer already exists 11:20:43 f1bcea10058a: Layer already exists 11:20:43 b541d28bf3b4: Layer already exists 11:20:43 2.2.0-dev.16: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh 11:20:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 11:20:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:20:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:20:44 94fb45607103: Preparing 11:20:44 11e23ab68968: Preparing 11:20:44 e6499d21ab49: Preparing 11:20:44 91b555db991b: Preparing 11:20:44 f1bcea10058a: Preparing 11:20:44 b541d28bf3b4: Preparing 11:20:44 b541d28bf3b4: Waiting 11:20:44 91b555db991b: Layer already exists 11:20:44 94fb45607103: Layer already exists 11:20:44 11e23ab68968: Layer already exists 11:20:44 f1bcea10058a: Layer already exists 11:20:44 e6499d21ab49: Layer already exists 11:20:44 b541d28bf3b4: Layer already exists 11:20:44 b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] isUnix [Pipeline] sh 11:20:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 11:20:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:20:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:20:45 94fb45607103: Preparing 11:20:45 11e23ab68968: Preparing 11:20:45 e6499d21ab49: Preparing 11:20:45 91b555db991b: Preparing 11:20:45 f1bcea10058a: Preparing 11:20:45 b541d28bf3b4: Preparing 11:20:45 b541d28bf3b4: Waiting 11:20:45 f1bcea10058a: Layer already exists 11:20:45 91b555db991b: Layer already exists 11:20:45 94fb45607103: Layer already exists 11:20:45 e6499d21ab49: Layer already exists 11:20:45 11e23ab68968: Layer already exists 11:20:45 b541d28bf3b4: Layer already exists 11:20:45 main: digest: sha256:85f47e5887da2c201d6f8c6c15a3a0ebe0b171222ab07b38e7e631822e77ef1f size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:20:45 ===================================================== [Pipeline] echo 11:20:45 taggedImages: 11:20:45 - nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949 11:20:45 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:20:45 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.16 11:20:45 - nexus3.edgexfoundry.org:10004/device-virtual:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:20:45 - 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 11:20:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:45 11:20:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:20:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:45 latest: Pulling from edgex-lftools-log-publisher 11:20:45 5eb5b503b376: Pulling fs layer 11:20:45 5c69ac0246d0: Pulling fs layer 11:20:45 ec43610c2a17: Pulling fs layer 11:20:45 3a2ae6a8a46f: Pulling fs layer 11:20:45 33b1e0a273af: Pulling fs layer 11:20:45 5d3b04190fa2: Pulling fs layer 11:20:45 2f39f015ded8: Pulling fs layer 11:20:45 33b1e0a273af: Waiting 11:20:45 5d3b04190fa2: Waiting 11:20:45 2f39f015ded8: Waiting 11:20:45 3a2ae6a8a46f: Waiting 11:20:45 5c69ac0246d0: Verifying Checksum 11:20:45 5c69ac0246d0: Download complete 11:20:45 3a2ae6a8a46f: Verifying Checksum 11:20:45 3a2ae6a8a46f: Download complete 11:20:45 33b1e0a273af: Verifying Checksum 11:20:45 33b1e0a273af: Download complete 11:20:45 5d3b04190fa2: Verifying Checksum 11:20:45 5d3b04190fa2: Download complete 11:20:45 ec43610c2a17: Download complete 11:20:46 5eb5b503b376: Verifying Checksum 11:20:46 5eb5b503b376: Download complete 11:20:46 2f39f015ded8: Download complete 11:20:47 5eb5b503b376: Pull complete 11:20:47 5c69ac0246d0: Pull complete 11:20:48 ec43610c2a17: Pull complete 11:20:48 3a2ae6a8a46f: Pull complete 11:20:48 33b1e0a273af: Pull complete 11:20:48 5d3b04190fa2: Pull complete 11:20:52 2f39f015ded8: Pull complete 11:20:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:20:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:20:52 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:20:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:20:54 $ docker top 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:20:54 ---> job-cost.sh 11:20:54 lf-activate-venv: SKIPPING 11:20:54 INFO: No Stack... 11:20:55 INFO: Retrieving Pricing Info for: v3-standard-8 11:20:55 INFO: Archiving Costs [Pipeline] sh 11:20:55 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:20:55 + cut -d, -f6 [Pipeline] lock 11:20:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] 11:20:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] did not exist. Created. 11:20:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:20:56 + echo total: 0.2199999988079071 [Pipeline] stash 11:20:56 Stashed 1 file(s) [Pipeline] } 11:20:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 11:20:56 $ docker stop --time=1 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e 11:20:57 $ docker rm -f 5f853c0c7d90e3971f317d12016a8e63cf42b30679cc29505f823f7091f6296e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:20:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41803 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:20:59 Running in /w/workspace/device-virtual-go/32 [Pipeline] { [Pipeline] checkout 11:21:00 The recommended git tool is: git 11:21:06 using credential edgex-jenkins-ssh 11:21:06 Cloning the remote Git repository 11:21:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:21:06 > git init /w/workspace/device-virtual-go/32 # timeout=10 11:21:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:21:06 > git --version # timeout=10 11:21:06 > git --version # 'git version 2.25.1' 11:21:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:21:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:21:09 Avoid second fetch 11:21:09 Checking out Revision b3c8352dddffb55a33ce15791a32ab0061559949 (main) 11:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:21:09 > git config core.sparsecheckout # timeout=10 11:21:09 > git checkout -f b3c8352dddffb55a33ce15791a32ab0061559949 # timeout=10 11:21:13 Commit message: "Merge pull request #284 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:21:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:21:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:21:14 Dload Upload Total Spent Left Speed 11:21:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10504 0 0 85398 0 --:--:-- --:--:-- --:--:-- 84709 100 11843 100 11843 0 0 94744 0 --:--:-- --:--:-- --:--:-- 94744 [Pipeline] sh 11:21:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:21:15 + sudo tee /etc/docker/daemon.new 11:21:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:21:15 { 11:21:15 "registry-mirrors": [ 11:21:15 "https://nexus3.edgexfoundry.org:10001" 11:21:15 ], 11:21:15 "bip": "10.250.0.254/24", 11:21:15 "hosts": [ 11:21:15 "tcp://0.0.0.0:5555", 11:21:15 "unix:///var/run/docker.sock" 11:21:15 ], 11:21:15 "mtu": 1458, 11:21:15 "selinux-enabled": true, 11:21:15 "seccomp-profile": "/etc/docker/seccomp.json" 11:21:15 } [Pipeline] sh 11:21:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:21:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:21:34 provisioning config files... 11:21:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config5337334052940960715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:21:34 ---> docker-login.sh 11:21:34 nexus3.edgexfoundry.org:10001 11:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:35 Configure a credential helper to remove this warning. See 11:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:35 11:21:35 Login Succeeded 11:21:35 nexus3.edgexfoundry.org:10002 11:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:35 Configure a credential helper to remove this warning. See 11:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:35 11:21:35 Login Succeeded 11:21:35 nexus3.edgexfoundry.org:10003 11:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:36 Configure a credential helper to remove this warning. See 11:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:36 11:21:36 Login Succeeded 11:21:36 nexus3.edgexfoundry.org:10004 11:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:36 Configure a credential helper to remove this warning. See 11:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:36 11:21:36 Login Succeeded 11:21:36 docker.io 11:21:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:21:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:21:37 Configure a credential helper to remove this warning. See 11:21:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:21:37 11:21:37 Login Succeeded 11:21:37 ---> docker-login.sh ends [Pipeline] } 11:21:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:21:38 ========================================================= 11:21:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:21:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:21:38 + 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 . 11:21:39 Sending build context to Docker daemon 11.58MB 11:21:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:21:39 Step 2/12 : FROM ${BASE} AS builder 11:21:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:21:39 9b3977197b4f: Pulling fs layer 11:21:39 1a89e8eeedd5: Pulling fs layer 11:21:39 94645a83ff95: Pulling fs layer 11:21:39 3f3a8bcf1eab: Pulling fs layer 11:21:39 0c92f367c5e7: Pulling fs layer 11:21:39 3096ccb668a1: Pulling fs layer 11:21:39 e8cf19c19ddd: Pulling fs layer 11:21:39 a4caa8a26152: Pulling fs layer 11:21:39 0c92f367c5e7: Waiting 11:21:39 3096ccb668a1: Waiting 11:21:39 e8cf19c19ddd: Waiting 11:21:39 3f3a8bcf1eab: Waiting 11:21:39 a4caa8a26152: Waiting 11:21:39 94645a83ff95: Verifying Checksum 11:21:39 94645a83ff95: Download complete 11:21:39 1a89e8eeedd5: Verifying Checksum 11:21:39 1a89e8eeedd5: Download complete 11:21:39 0c92f367c5e7: Verifying Checksum 11:21:39 0c92f367c5e7: Download complete 11:21:39 3096ccb668a1: Download complete 11:21:39 9b3977197b4f: Verifying Checksum 11:21:39 9b3977197b4f: Download complete 11:21:39 e8cf19c19ddd: Verifying Checksum 11:21:39 e8cf19c19ddd: Download complete 11:21:40 9b3977197b4f: Pull complete 11:21:40 1a89e8eeedd5: Pull complete 11:21:40 94645a83ff95: Pull complete 11:21:41 a4caa8a26152: Verifying Checksum 11:21:41 a4caa8a26152: Download complete 11:21:41 3f3a8bcf1eab: Verifying Checksum 11:21:41 3f3a8bcf1eab: Download complete 11:21:54 3f3a8bcf1eab: Pull complete 11:21:54 0c92f367c5e7: Pull complete 11:21:54 3096ccb668a1: Pull complete 11:21:54 e8cf19c19ddd: Pull complete 11:22:00 a4caa8a26152: Pull complete 11:22:00 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:22:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:22:00 ---> 725f1c02e7f9 11:22:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:22:01 ---> Running in 43465c234234 11:22:01 Removing intermediate container 43465c234234 11:22:01 ---> cd52a442cc49 11:22:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:22:01 ---> Running in 1b22ace3ab7e 11:22:01 Removing intermediate container 1b22ace3ab7e 11:22:01 ---> e1329ce65349 11:22:01 Step 5/12 : WORKDIR /device-virtual-go 11:22:01 ---> Running in 21a86bfdba8d 11:22:02 Removing intermediate container 21a86bfdba8d 11:22:02 ---> b0575ce895b1 11:22:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:22:02 ---> Running in 2e22ac0d1737 11:22:04 Removing intermediate container 2e22ac0d1737 11:22:04 ---> e46532ceee13 11:22:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:22:04 ---> Running in 84d920e96704 11:22:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:22:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:22:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:22:06 (2/4) Installing libedit (20210910.3.1-r0) 11:22:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:22:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:22:07 Executing busybox-1.34.1-r3.trigger 11:22:07 OK: 224 MiB in 56 packages 11:22:08 Removing intermediate container 84d920e96704 11:22:08 ---> 2bd12385cf9d 11:22:08 Step 8/12 : COPY go.mod vendor* ./ 11:22:08 ---> ae06a6ee8452 11:22:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:22:08 ---> Running in eb68b00d633c 11:22:55 Removing intermediate container eb68b00d633c 11:22:55 ---> f90d5050caa0 11:22:55 Step 10/12 : COPY . . 11:22:55 ---> 5ebecd1318c3 11:22:55 Step 11/12 : ARG MAKE='make build' 11:22:55 ---> Running in cc8a4722dec2 11:22:55 Removing intermediate container cc8a4722dec2 11:22:55 ---> 6b902b8a8905 11:22:55 Step 12/12 : RUN $MAKE 11:22:55 ---> Running in 117b8df587cc 11:22:55 noop 11:22:55 Removing intermediate container 117b8df587cc 11:22:55 ---> f848b328929b 11:22:55 Successfully built f848b328929b 11:22:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:22:56 + docker inspect -f . ci-base-image-arm64 11:22:56 . [Pipeline] withDockerContainer 11:22:56 prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container 11:22:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 11:22:57 $ docker top a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad -eo pid,comm [Pipeline] { [Pipeline] sh 11:22:58 + go version 11:22:58 go version go1.17.6 linux/arm64 [Pipeline] } 11:22:58 $ docker stop --time=1 a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad 11:23:00 $ docker rm -f a180b5ee5cd928b2ca556edf0888a2fe08ddd977e121b83639d7c48c9a6df7ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:23:00 + docker inspect -f . ci-base-image-arm64 11:23:00 . [Pipeline] withDockerContainer 11:23:01 prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container 11:23:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 11:23:02 $ docker top 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:23:03 + make test 11:23:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:23:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:24:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:24:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements 11:24:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:24:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:24:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:24:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:24:44 ./bin/test-attribution-txt.sh [Pipeline] echo 11:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:24:46 $ docker stop --time=1 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc 11:24:48 $ docker rm -f 7cb1be2bbd8f7de512fe5c51f387260367008875688c4a2a5659fd7d666b49cc [Pipeline] // withDockerContainer [Pipeline] sh 11:24:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:24:49 Warning: overwriting stash ‘coverage-report’ 11:24:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:24:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:24:50 + ls -al . 11:24:50 total 180 11:24:50 drwxrwxr-x 7 jenkins jenkins 4096 May 9 11:24 . 11:24:50 drwxrwxr-x 4 jenkins jenkins 4096 May 9 11:21 .. 11:24:50 drwxrwxr-x 8 jenkins jenkins 4096 May 9 11:21 .git 11:24:50 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:21 .github 11:24:50 -rw-rw-r-- 1 jenkins jenkins 270 May 9 11:21 .gitignore 11:24:50 -rw-rw-r-- 1 jenkins jenkins 41 May 9 11:21 .golangci.yml 11:24:50 -rw-rw-r-- 1 jenkins jenkins 7893 May 9 11:21 Attribution.txt 11:24:50 -rw-rw-r-- 1 jenkins jenkins 6349 May 9 11:21 CHANGELOG.md 11:24:50 -rw-rw-r-- 1 jenkins jenkins 1974 May 9 11:21 Dockerfile 11:24:50 -rw-rw-r-- 1 jenkins jenkins 677 May 9 11:21 GOVERNANCE.md 11:24:50 -rw-rw-r-- 1 jenkins jenkins 660 May 9 11:21 Jenkinsfile 11:24:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 11:21 LICENSE 11:24:50 -rw-rw-r-- 1 jenkins jenkins 2248 May 9 11:21 Makefile 11:24:50 -rw-rw-r-- 1 jenkins jenkins 623 May 9 11:21 OWNERS.md 11:24:50 -rw-rw-r-- 1 jenkins jenkins 2914 May 9 11:21 README.md 11:24:50 -rw-rw-r-- 1 jenkins jenkins 12 May 9 11:19 VERSION 11:24:50 drwxrwxr-x 2 jenkins jenkins 4096 May 9 11:21 bin 11:24:50 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:21 cmd 11:24:50 -rw-r--r-- 1 jenkins jenkins 44128 May 9 11:24 coverage.out 11:24:50 -rw-rw-r-- 1 jenkins jenkins 3185 May 9 11:21 go.mod 11:24:50 -rw-rw-r-- 1 jenkins jenkins 35216 May 9 11:21 go.sum 11:24:50 drwxrwxr-x 3 jenkins jenkins 4096 May 9 11:21 internal 11:24:50 -rw-rw-r-- 1 jenkins jenkins 235 May 9 11:21 version.go [Pipeline] isUnix [Pipeline] sh 11:24:50 + 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=b3c8352dddffb55a33ce15791a32ab0061559949 --label arch=arm64 --label version=2.2.0-dev.16 . 11:24:51 Sending build context to Docker daemon 11.63MB 11:24:51 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 11:24:51 Step 2/26 : FROM ${BASE} AS builder 11:24:51 ---> f848b328929b 11:24:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:24:51 ---> Running in d4e97ed64685 11:24:51 Removing intermediate container d4e97ed64685 11:24:51 ---> 91c0affb1c66 11:24:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:24:51 ---> Running in 9066cd6711fd 11:24:51 Removing intermediate container 9066cd6711fd 11:24:51 ---> a1daedeaacf6 11:24:51 Step 5/26 : WORKDIR /device-virtual-go 11:24:52 ---> Running in e3d950d14472 11:24:52 Removing intermediate container e3d950d14472 11:24:52 ---> ada30eee23a5 11:24:52 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:24:52 ---> Running in 3c48cd7c8b7f 11:24:54 Removing intermediate container 3c48cd7c8b7f 11:24:54 ---> 5adae6c85f3a 11:24:54 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:24:54 ---> Running in 2c91027eb75a 11:24:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:24:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:24:56 OK: 224 MiB in 56 packages 11:24:57 Removing intermediate container 2c91027eb75a 11:24:57 ---> ecaa2c0e2b37 11:24:57 Step 8/26 : COPY go.mod vendor* ./ 11:24:58 ---> a05494de150f 11:24:58 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:24:58 ---> Running in 7c11a0b3b8a9 11:25:00 Removing intermediate container 7c11a0b3b8a9 11:25:00 ---> d98a21a17a75 11:25:00 Step 10/26 : COPY . . 11:25:01 ---> 4aea9653c7b8 11:25:01 Step 11/26 : ARG MAKE='make build' 11:25:01 ---> Running in e779ea10888b 11:25:01 Removing intermediate container e779ea10888b 11:25:01 ---> e5f023ce71a9 11:25:01 Step 12/26 : RUN $MAKE 11:25:01 ---> Running in ab77934efcfd 11:25:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:27:09 Removing intermediate container ab77934efcfd 11:27:09 ---> f6491acb753c 11:27:09 Step 13/26 : FROM alpine:3.14 11:27:09 3.14: Pulling from library/alpine 11:27:09 455c02918c45: Pulling fs layer 11:27:09 455c02918c45: Verifying Checksum 11:27:09 455c02918c45: Download complete 11:27:09 455c02918c45: Pull complete 11:27:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:27:09 Status: Downloaded newer image for alpine:3.14 11:27:09 ---> ac73e934f311 11:27:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:27:09 ---> Running in 02b5b9d0d7dd 11:27:09 Removing intermediate container 02b5b9d0d7dd 11:27:09 ---> d1a61b8fb1b9 11:27:09 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:27:09 ---> Running in f3b6d05a8a5c 11:27:09 Removing intermediate container f3b6d05a8a5c 11:27:09 ---> 6291685653cd 11:27:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 11:27:09 ---> Running in 6c7730ce289f 11:27:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:27:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:27:09 (1/6) Installing dumb-init (1.2.5-r1) 11:27:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:27:09 (3/6) Installing libsodium (1.0.18-r0) 11:27:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:27:09 (5/6) Installing libzmq (4.3.4-r0) 11:27:09 (6/6) Installing zeromq (4.3.4-r0) 11:27:09 Executing busybox-1.33.1-r7.trigger 11:27:09 OK: 8 MiB in 20 packages 11:27:09 Removing intermediate container 6c7730ce289f 11:27:09 ---> 987345e597fb 11:27:09 Step 17/26 : WORKDIR / 11:27:09 ---> Running in f231c45a2cd1 11:27:09 Removing intermediate container f231c45a2cd1 11:27:09 ---> db5ba9bf6170 11:27:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:27:09 ---> 76437a08b812 11:27:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:27:09 ---> 046c94b474b4 11:27:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:27:09 ---> 5bcb9acdbe08 11:27:09 Step 21/26 : EXPOSE 59900 11:27:09 ---> Running in 8eb72cb42c74 11:27:09 Removing intermediate container 8eb72cb42c74 11:27:09 ---> 4871cc39e588 11:27:09 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:27:09 ---> Running in 29147b03fd61 11:27:09 Removing intermediate container 29147b03fd61 11:27:09 ---> 20a10fe2db05 11:27:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:27:09 ---> Running in 6d356b0dccaf 11:27:09 Removing intermediate container 6d356b0dccaf 11:27:09 ---> 4677f6ec0758 11:27:09 Step 24/26 : LABEL arch=arm64 11:27:09 ---> Running in d8fa620c2417 11:27:09 Removing intermediate container d8fa620c2417 11:27:09 ---> 443625842510 11:27:09 Step 25/26 : LABEL git_sha=b3c8352dddffb55a33ce15791a32ab0061559949 11:27:09 ---> Running in a002bec1ff3a 11:27:10 Removing intermediate container a002bec1ff3a 11:27:10 ---> c332406dfe78 11:27:10 Step 26/26 : LABEL version=2.2.0-dev.16 11:27:10 ---> Running in a27c8f57ebac 11:27:10 Removing intermediate container a27c8f57ebac 11:27:10 ---> f415e3d0cf86 11:27:10 [Warning] One or more build-args [ARCH] were not consumed 11:27:10 Successfully built f415e3d0cf86 11:27:10 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 11:27:10 provisioning config files... 11:27:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/32@tmp/config2416598811570538993tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:10 ---> docker-login.sh 11:27:10 nexus3.edgexfoundry.org:10001 11:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:27:11 Configure a credential helper to remove this warning. See 11:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:27:11 11:27:11 Login Succeeded 11:27:11 nexus3.edgexfoundry.org:10002 11:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:27:11 Configure a credential helper to remove this warning. See 11:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:27:11 11:27:11 Login Succeeded 11:27:11 nexus3.edgexfoundry.org:10003 11:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:27:12 Configure a credential helper to remove this warning. See 11:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:27:12 11:27:12 Login Succeeded 11:27:12 nexus3.edgexfoundry.org:10004 11:27:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:27:12 Configure a credential helper to remove this warning. See 11:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:27:12 11:27:12 Login Succeeded 11:27:12 docker.io 11:27:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:27:13 Configure a credential helper to remove this warning. See 11:27:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:27:13 11:27:13 Login Succeeded 11:27:13 ---> docker-login.sh ends [Pipeline] } 11:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:27:13 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:27:13 b3c8352dddffb55a33ce15791a32ab0061559949 11:27:13 latest 11:27:13 2.2.0-dev.16 11:27:13 b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:27:13 main 11:27:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:27:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] isUnix [Pipeline] sh 11:27:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 11:27:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:27:14 cc169eec87db: Preparing 11:27:14 63048e2a54d5: Preparing 11:27:14 fcc68663c8ac: Preparing 11:27:14 8b70f07ac5f9: Preparing 11:27:14 6e749f092cbc: Preparing 11:27:14 f73e7dbfee58: Preparing 11:27:14 f73e7dbfee58: Waiting 11:27:14 fcc68663c8ac: Pushed 11:27:14 6e749f092cbc: Pushed 11:27:14 63048e2a54d5: Pushed 11:27:14 f73e7dbfee58: Layer already exists 11:27:15 8b70f07ac5f9: Pushed 11:27:20 cc169eec87db: Pushed 11:27:20 b3c8352dddffb55a33ce15791a32ab0061559949: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh 11:27:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:27:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:27:21 cc169eec87db: Preparing 11:27:21 63048e2a54d5: Preparing 11:27:21 fcc68663c8ac: Preparing 11:27:21 8b70f07ac5f9: Preparing 11:27:21 6e749f092cbc: Preparing 11:27:21 f73e7dbfee58: Preparing 11:27:21 f73e7dbfee58: Waiting 11:27:21 cc169eec87db: Layer already exists 11:27:21 8b70f07ac5f9: Layer already exists 11:27:21 63048e2a54d5: Layer already exists 11:27:21 6e749f092cbc: Layer already exists 11:27:21 fcc68663c8ac: Layer already exists 11:27:21 f73e7dbfee58: Layer already exists 11:27:21 latest: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh 11:27:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 11:27:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 11:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:27:22 cc169eec87db: Preparing 11:27:22 63048e2a54d5: Preparing 11:27:22 fcc68663c8ac: Preparing 11:27:22 8b70f07ac5f9: Preparing 11:27:22 6e749f092cbc: Preparing 11:27:22 f73e7dbfee58: Preparing 11:27:22 f73e7dbfee58: Waiting 11:27:22 63048e2a54d5: Layer already exists 11:27:22 8b70f07ac5f9: Layer already exists 11:27:22 fcc68663c8ac: Layer already exists 11:27:22 cc169eec87db: Layer already exists 11:27:22 6e749f092cbc: Layer already exists 11:27:22 f73e7dbfee58: Layer already exists 11:27:22 2.2.0-dev.16: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh 11:27:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 11:27:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:27:23 cc169eec87db: Preparing 11:27:23 63048e2a54d5: Preparing 11:27:23 fcc68663c8ac: Preparing 11:27:23 8b70f07ac5f9: Preparing 11:27:23 6e749f092cbc: Preparing 11:27:23 f73e7dbfee58: Preparing 11:27:23 f73e7dbfee58: Waiting 11:27:23 8b70f07ac5f9: Layer already exists 11:27:23 fcc68663c8ac: Layer already exists 11:27:23 63048e2a54d5: Layer already exists 11:27:23 6e749f092cbc: Layer already exists 11:27:23 cc169eec87db: Layer already exists 11:27:23 f73e7dbfee58: Layer already exists 11:27:23 b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] isUnix [Pipeline] sh 11:27:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 11:27:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:27:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:27:24 cc169eec87db: Preparing 11:27:24 63048e2a54d5: Preparing 11:27:24 fcc68663c8ac: Preparing 11:27:24 8b70f07ac5f9: Preparing 11:27:24 6e749f092cbc: Preparing 11:27:24 f73e7dbfee58: Preparing 11:27:24 f73e7dbfee58: Waiting 11:27:24 8b70f07ac5f9: Layer already exists 11:27:24 cc169eec87db: Layer already exists 11:27:24 6e749f092cbc: Layer already exists 11:27:24 fcc68663c8ac: Layer already exists 11:27:24 63048e2a54d5: Layer already exists 11:27:24 f73e7dbfee58: Layer already exists 11:27:24 main: digest: sha256:610b4ea98bbb3f8f371a25236f50fe150bf37e5d0080a4a775391bbfd87912ab size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:27:24 ===================================================== [Pipeline] echo 11:27:24 taggedImages: 11:27:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949 11:27:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:27:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.16 11:27:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b3c8352dddffb55a33ce15791a32ab0061559949-2.2.0-dev.16 11:27:24 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:25 11:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:25 arm64: Pulling from edgex-lftools-log-publisher 11:27:25 8998bd30e6a1: Pulling fs layer 11:27:25 04944245beec: Pulling fs layer 11:27:25 699f458cf7ca: Pulling fs layer 11:27:25 765212b225bb: Pulling fs layer 11:27:25 f23df028b6ca: Pulling fs layer 11:27:25 d65c8cfc05b1: Pulling fs layer 11:27:25 2437ff75d9bd: Pulling fs layer 11:27:25 765212b225bb: Waiting 11:27:25 f23df028b6ca: Waiting 11:27:25 d65c8cfc05b1: Waiting 11:27:25 2437ff75d9bd: Waiting 11:27:25 04944245beec: Verifying Checksum 11:27:25 04944245beec: Download complete 11:27:25 765212b225bb: Verifying Checksum 11:27:25 765212b225bb: Download complete 11:27:25 f23df028b6ca: Verifying Checksum 11:27:25 f23df028b6ca: Download complete 11:27:25 d65c8cfc05b1: Verifying Checksum 11:27:25 d65c8cfc05b1: Download complete 11:27:25 699f458cf7ca: Verifying Checksum 11:27:25 699f458cf7ca: Download complete 11:27:26 8998bd30e6a1: Verifying Checksum 11:27:26 8998bd30e6a1: Download complete 11:27:28 2437ff75d9bd: Verifying Checksum 11:27:30 8998bd30e6a1: Pull complete 11:27:30 04944245beec: Pull complete 11:27:32 699f458cf7ca: Pull complete 11:27:32 765212b225bb: Pull complete 11:27:33 f23df028b6ca: Pull complete 11:27:33 d65c8cfc05b1: Pull complete 11:27:48 2437ff75d9bd: Pull complete 11:27:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:27:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:27:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-41803 does not seem to be running inside a container 11:27:48 $ 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/32 -v /w/workspace/device-virtual-go/32:/w/workspace/device-virtual-go/32:rw,z -v /w/workspace/device-virtual-go/32@tmp:/w/workspace/device-virtual-go/32@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 11:27:51 $ docker top 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:52 ---> job-cost.sh 11:27:52 lf-activate-venv: SKIPPING 11:27:52 INFO: No Stack... 11:27:52 INFO: Retrieving Pricing Info for: v3-standard-4 11:27:53 INFO: Archiving Costs [Pipeline] sh 11:27:54 + cat /w/workspace/device-virtual-go/32/archives/cost.csv 11:27:54 + cut -d, -f6 [Pipeline] lock 11:27:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] 11:27:54 Resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] did not exist. Created. 11:27:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:27:54 /w/workspace/device-virtual-go/32@tmp/durable-16998e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:27:55 + echo total: 0.10999999940395355 [Pipeline] stash 11:27:55 Warning: overwriting stash ‘stack-cost’ 11:27:55 Stashed 1 file(s) [Pipeline] } 11:27:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 11:27:55 $ docker stop --time=1 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c 11:27:57 $ docker rm -f 076245516b1bdc555ce6143f9615c1535044a86c2b2895a0094da311a7c9b37c [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 11:27:57 provisioning config files... 11:27:57 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4425321648541641686tmp [Pipeline] { [Pipeline] sh 11:27:57 + set +x 11:27:57 + curl -s+ https://codecov.io/bash 11:27:57 bash -s -- 11:27:57 11:27:57 _____ _ 11:27:57 / ____| | | 11:27:57 | | ___ __| | ___ ___ _____ __ 11:27:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:27:57 | |___| (_) | (_| | __/ (_| (_) \ V / 11:27:57 \_____\___/ \__,_|\___|\___\___/ \_/ 11:27:57 Bash-1.0.6 11:27:57 11:27:57 11:27:57 ==> git version 2.25.1 found 11:27:57 ==> 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 11:27:57 Release-Date: 2020-01-08 11:27:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:27:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:27:57 ==> Jenkins CI detected. 11:27:57 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:27:57 project root: . 11:27:57 --> token set from env 11:27:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:27:57 ==> Running gcov in . (disable via -X gcov) 11:27:58 ==> Python coveragepy not found 11:27:58 ==> Searching for coverage reports in: 11:27:58 + . 11:27:58 -> Found 1 reports 11:27:58 ==> Detecting git/mercurial file structure 11:27:58 ==> Reading reports 11:27:58 + ./coverage.out bytes=44128 11:27:58 ==> Appending adjustments 11:27:58 https://docs.codecov.io/docs/fixing-reports 11:27:58 + Found adjustments 11:27:58 ==> Gzipping contents 11:27:58 8.0K /tmp/codecov.fPKfmD.gz 11:27:58 ==> Uploading reports 11:27:58 url: https://codecov.io 11:27:58 query: branch=main&commit=b3c8352dddffb55a33ce15791a32ab0061559949&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:27:58 -> Pinging Codecov 11:27:58 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=b3c8352dddffb55a33ce15791a32ab0061559949&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:27:58 -> Uploading to 11:27:58 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/5E52B4B073DB2E39498172D8E973AA87/b3c8352dddffb55a33ce15791a32ab0061559949/d55eb88e-9f9f-46e5-a789-924da1d3abfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T112758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8540e13081ecda61453346547b4f7f6dcd39d29086a78dfe7e56f5b444a2a32b 11:27:58 % Total % Received % Xferd Average Speed Time Time Time Current 11:27:58 Dload Upload Total Spent Left Speed 11:27:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5268 0 0 100 5268 0 23729 --:--:-- --:--:-- --:--:-- 23729 100 5268 0 0 100 5268 0 18614 --:--:-- --:--:-- --:--:-- 18549 11:27:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] } 11:27:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:27:58 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:27:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:27:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:27:59 11:27:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:27:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:27:59 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:27:59 188c0c94c7c5: Pulling fs layer 11:27:59 0ef7d3d256c8: Pulling fs layer 11:27:59 de9db76c5a1d: Pulling fs layer 11:27:59 0eba1c9be4d2: Pulling fs layer 11:27:59 0d57e429df01: Pulling fs layer 11:27:59 4e4be7b47b0d: Pulling fs layer 11:27:59 e1f770b5df2f: Pulling fs layer 11:27:59 85a0685a4137: Pulling fs layer 11:27:59 0d57e429df01: Waiting 11:27:59 4e4be7b47b0d: Waiting 11:27:59 e1f770b5df2f: Waiting 11:27:59 85a0685a4137: Waiting 11:27:59 0eba1c9be4d2: Waiting 11:27:59 de9db76c5a1d: Download complete 11:27:59 0ef7d3d256c8: Download complete 11:27:59 0d57e429df01: Verifying Checksum 11:27:59 0d57e429df01: Download complete 11:27:59 4e4be7b47b0d: Download complete 11:27:59 188c0c94c7c5: Verifying Checksum 11:27:59 188c0c94c7c5: Download complete 11:27:59 188c0c94c7c5: Pull complete 11:27:59 e1f770b5df2f: Verifying Checksum 11:27:59 e1f770b5df2f: Download complete 11:27:59 0ef7d3d256c8: Pull complete 11:27:59 de9db76c5a1d: Pull complete 11:28:00 0eba1c9be4d2: Verifying Checksum 11:28:00 0eba1c9be4d2: Download complete 11:28:00 85a0685a4137: Verifying Checksum 11:28:00 85a0685a4137: Download complete 11:28:03 0eba1c9be4d2: Pull complete 11:28:03 0d57e429df01: Pull complete 11:28:03 4e4be7b47b0d: Pull complete 11:28:03 e1f770b5df2f: Pull complete 11:28:07 85a0685a4137: Pull complete 11:28:07 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:28:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:28:07 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:07 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:28:09 $ docker top 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 -eo pid,comm [Pipeline] { [Pipeline] echo 11:28:09 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:28:09 + set -o pipefail 11:28:09 + snyk monitor '--org=edgex-jenkins' 11:28:15 11:28:15 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:28:15 11:28:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/118fe051-5cde-48a9-af4f-82cff5e01084 11:28:15 11:28:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:28:15 11:28:15 [Pipeline] } 11:28:15 $ docker stop --time=1 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 11:28:17 $ docker rm -f 106e2fc5052db13f488c4ed20494db776d360eff70856372c14340089974c936 [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 11:28:18 + git log --format=format:%s -1 b3c8352dddffb55a33ce15791a32ab0061559949 [Pipeline] sh 11:28:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:28:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:28:18 . [Pipeline] withDockerContainer 11:28:18 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:18 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:28:19 $ docker top 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:19 [ssh-agent] Looking for ssh-agent implementation... 11:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:19 $ docker exec 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 ssh-agent 11:28:19 SSH_AUTH_SOCK=/tmp/ssh-8cnStSdTFk4F/agent.33 11:28:19 SSH_AGENT_PID=39 11:28:19 Running ssh-add (command line suppressed) 11:28:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4785099575369582581.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4785099575369582581.key) 11:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:19 + git semver tag 11:28:20 2022-05-09 11:28:20,135 [run_tag] DEBUG tag force:False 11:28:20 2022-05-09 11:28:20,136 [check_head_tag] DEBUG check head tag 11:28:20 2022-05-09 11:28:20,136 [execute] INFO git cat-file --batch-check 11:28:20 2022-05-09 11:28:20,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:28:20 2022-05-09 11:28:20,140 [execute] INFO git cat-file --batch 11:28:20 2022-05-09 11:28:20,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:28:20 2022-05-09 11:28:20,155 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:20 2022-05-09 11:28:20,155 [execute] INFO git tag -a v2.2.0-dev.16 -m v2.2.0-dev.16 11:28:20 2022-05-09 11:28:20,156 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.16', '-m', 'v2.2.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:28:20 2022-05-09 11:28:20,159 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:20 2.2.0-dev.16 [Pipeline] } 11:28:20 $ docker exec --env ******** --env ******** 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 ssh-agent -k 11:28:20 unset SSH_AUTH_SOCK; 11:28:20 unset SSH_AGENT_PID; 11:28:20 echo Agent pid 39 killed; 11:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:20 + git semver [Pipeline] } 11:28:20 $ docker stop --time=1 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 11:28:22 $ docker rm -f 0f349d80967dc1a5b6b95af23bba9f65703b611938e8fb3a2c62efd5675ed3e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:28:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:22 11:28:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:23 0.23.1-centos7: Pulling from edgex-lftools 11:28:23 ab5ef0e58194: Pulling fs layer 11:28:23 9712f1f96733: Pulling fs layer 11:28:23 63f879dbbcfc: Pulling fs layer 11:28:23 0d9ebad4ef96: Pulling fs layer 11:28:23 e9a5061849ea: Pulling fs layer 11:28:23 d747dcd14b5f: Pulling fs layer 11:28:23 2de7ff778b66: Pulling fs layer 11:28:23 e9a5061849ea: Waiting 11:28:23 d747dcd14b5f: Waiting 11:28:23 0d9ebad4ef96: Waiting 11:28:23 2de7ff778b66: Waiting 11:28:23 9712f1f96733: Download complete 11:28:23 63f879dbbcfc: Verifying Checksum 11:28:23 63f879dbbcfc: Download complete 11:28:23 0d9ebad4ef96: Verifying Checksum 11:28:23 0d9ebad4ef96: Download complete 11:28:23 d747dcd14b5f: Verifying Checksum 11:28:23 d747dcd14b5f: Download complete 11:28:23 ab5ef0e58194: Verifying Checksum 11:28:23 ab5ef0e58194: Download complete 11:28:23 e9a5061849ea: Verifying Checksum 11:28:23 e9a5061849ea: Download complete 11:28:23 2de7ff778b66: Verifying Checksum 11:28:23 2de7ff778b66: Download complete 11:28:26 ab5ef0e58194: Pull complete 11:28:26 9712f1f96733: Pull complete 11:28:27 63f879dbbcfc: Pull complete 11:28:31 0d9ebad4ef96: Pull complete 11:28:31 e9a5061849ea: Pull complete 11:28:31 d747dcd14b5f: Pull complete 11:28:31 2de7ff778b66: Pull complete 11:28:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:28:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:28:31 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:28:34 $ docker top 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:28:34 provisioning config files... 11:28:34 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7570052026363255688tmp 11:28:34 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3467125765117296786tmp 11:28:34 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3799473392070243209tmp [Pipeline] { [Pipeline] echo 11:28:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:28:34 ---> sigul-configuration.sh 11:28:34 gpg: directory `/root/.gnupg' created 11:28:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:28:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:28:34 gpg: keyring `/root/.gnupg/secring.gpg' created 11:28:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:28:34 gpg: CAST5 encrypted data 11:28:34 gpg: encrypted with 1 passphrase 11:28:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:28:34 + mkdir /home/jenkins 11:28:34 + mkdir /home/jenkins/sigul [Pipeline] sh 11:28:35 + 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 11:28:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:28:35 ---> sigul-install.sh 11:28:35 Sigul already installed; skipping installation. [Pipeline] sh 11:28:35 + git tag --list 11:28:35 v1.0.0 11:28:35 v1.1.0 11:28:35 v1.1.1 11:28:35 v1.2.1 11:28:35 v1.2.2 11:28:35 v1.2.3 11:28:35 v1.3.0 11:28:35 v1.3.1 11:28:35 v2.0.0 11:28:35 v2.0.1-dev.1 11:28:35 v2.0.1-dev.10 11:28:35 v2.0.1-dev.11 11:28:35 v2.0.1-dev.12 11:28:35 v2.0.1-dev.13 11:28:35 v2.0.1-dev.14 11:28:35 v2.0.1-dev.15 11:28:35 v2.0.1-dev.2 11:28:35 v2.0.1-dev.3 11:28:35 v2.0.1-dev.4 11:28:35 v2.0.1-dev.5 11:28:35 v2.0.1-dev.6 11:28:35 v2.0.1-dev.7 11:28:35 v2.0.1-dev.8 11:28:35 v2.0.1-dev.9 11:28:35 v2.1.0 11:28:35 v2.2.0-dev.1 11:28:35 v2.2.0-dev.10 11:28:35 v2.2.0-dev.11 11:28:35 v2.2.0-dev.12 11:28:35 v2.2.0-dev.13 11:28:35 v2.2.0-dev.14 11:28:35 v2.2.0-dev.15 11:28:35 v2.2.0-dev.16 11:28:35 v2.2.0-dev.2 11:28:35 v2.2.0-dev.3 11:28:35 v2.2.0-dev.4 11:28:35 v2.2.0-dev.5 11:28:35 v2.2.0-dev.6 11:28:35 v2.2.0-dev.7 11:28:35 v2.2.0-dev.8 11:28:35 v2.2.0-dev.9 [Pipeline] sh 11:28:36 + lftools sign git-tag v2.2.0-dev.16 11:28:36 Signing Git tag with Sigul... 11:28:36 Signing v2.2.0-dev.16 [Pipeline] echo 11:28:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:28:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:28:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:28:37 $ docker stop --time=1 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b 11:28:38 $ docker rm -f 964e11d4b21343d2056949431bcc79253be4ac998958f3305af13b4005d0da3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:28:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:28:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:28:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:28:39 . [Pipeline] withDockerContainer 11:28:39 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:28:39 $ docker top f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:39 [ssh-agent] Looking for ssh-agent implementation... 11:28:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:40 $ docker exec f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 ssh-agent 11:28:40 SSH_AUTH_SOCK=/tmp/ssh-sqC2Tk5LhmYH/agent.33 11:28:40 SSH_AGENT_PID=39 11:28:40 Running ssh-add (command line suppressed) 11:28:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5501971836120321014.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5501971836120321014.key) 11:28:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:40 + git semver bump pre 11:28:40 2022-05-09 11:28:40,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:40 2022-05-09 11:28:40,792 [bump_version] DEBUG bumping version:2.2.0-dev.16 on axis:pre with prefix:dev 11:28:40 2022-05-09 11:28:40,792 [bump_version] DEBUG bumped version:2.2.0-dev.17 11:28:40 2022-05-09 11:28:40,792 [write_version] DEBUG write version:2.2.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:28:40 2022-05-09 11:28:40,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:40 2022-05-09 11:28:40,792 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:40 2022-05-09 11:28:40,794 [execute] INFO git cat-file --batch-check 11:28:40 2022-05-09 11:28:40,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:28:40 2022-05-09 11:28:40,798 [execute] INFO git cat-file --batch 11:28:40 2022-05-09 11:28:40,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:28:40 2022-05-09 11:28:40,804 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:40 2.2.0-dev.17 [Pipeline] } 11:28:40 $ docker exec --env ******** --env ******** f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 ssh-agent -k 11:28:40 unset SSH_AUTH_SOCK; 11:28:40 unset SSH_AGENT_PID; 11:28:40 echo Agent pid 39 killed; 11:28:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:41 + git semver [Pipeline] } 11:28:41 $ docker stop --time=1 f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 11:28:42 $ docker rm -f f6dcaf6d0b2eb225d035c7e7a8808664a7d6a49d3167dc856a32bc053dd69920 [Pipeline] // withDockerContainer [Pipeline] sh 11:28:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:28:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:28:43 . [Pipeline] withDockerContainer 11:28:43 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 11:28:44 $ docker top 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:44 [ssh-agent] Looking for ssh-agent implementation... 11:28:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:44 $ docker exec 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 ssh-agent 11:28:44 SSH_AUTH_SOCK=/tmp/ssh-nt3ROYpYpSl0/agent.35 11:28:44 SSH_AGENT_PID=42 11:28:44 Running ssh-add (command line suppressed) 11:28:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2850955404948503643.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2850955404948503643.key) 11:28:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:44 + git semver push 11:28:45 2022-05-09 11:28:45,095 [run_push] DEBUG push 11:28:45 2022-05-09 11:28:45,096 [execute] INFO git push origin semver 11:28:45 2022-05-09 11:28:45,096 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:28:46 2022-05-09 11:28:46,034 [run_push] DEBUG push all version tags 11:28:46 2022-05-09 11:28:46,034 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:28:46 2022-05-09 11:28:46,035 [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) 11:28:47 2022-05-09 11:28:46,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:28:47 2.2.0-dev.17 [Pipeline] } 11:28:47 $ docker exec --env ******** --env ******** 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 ssh-agent -k 11:28:47 unset SSH_AUTH_SOCK; 11:28:47 unset SSH_AGENT_PID; 11:28:47 echo Agent pid 42 killed; 11:28:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:47 + git semver [Pipeline] } 11:28:47 $ docker stop --time=1 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 11:28:49 $ docker rm -f 282e549049424027772eff8435312d1da83787ba181964dcfccf665189eb04b7 [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 11:28:49 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:28:49 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:28:49 total 16 11:28:49 drwxr-xr-x 3 root root 4096 May 9 11:20 . 11:28:49 drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:28 .. 11:28:49 drwxr-xr-x 2 root root 4096 May 9 11:20 cost 11:28:49 -rw-r--r-- 1 root root 87 May 9 11:20 cost.csv 11:28:49 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:28:49 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:28:49 total 16 11:28:49 drwxr-xr-x 3 jenkins jenkins 4096 May 9 11:20 . 11:28:49 drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:28 .. 11:28:49 drwxr-xr-x 2 jenkins jenkins 4096 May 9 11:20 cost 11:28:49 -rw-r--r-- 1 jenkins jenkins 87 May 9 11:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:28:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:28:50 ---> package-listing.sh 11:28:50 ++ facter osfamily 11:28:50 ++ tr '[:upper:]' '[:lower:]' 11:28:51 + OS_FAMILY=debian 11:28:51 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:28:51 + START_PACKAGES=/tmp/packages_start.txt 11:28:51 + END_PACKAGES=/tmp/packages_end.txt 11:28:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:28:51 + PACKAGES=/tmp/packages_start.txt 11:28:51 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:28:51 + PACKAGES=/tmp/packages_end.txt 11:28:51 + case "${OS_FAMILY}" in 11:28:51 + dpkg -l 11:28:51 + grep '^ii' 11:28:51 + '[' -f /tmp/packages_start.txt ']' 11:28:51 + '[' -f /tmp/packages_end.txt ']' 11:28:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:28:51 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:28:51 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:28:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:28:51 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 11:28:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:28:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:52 . [Pipeline] withDockerContainer 11:28:52 prd-ubuntu20.04-docker-8c-8g-41802 does not seem to be running inside a container 11:28:52 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:28:52 $ docker top 2e61f290283fc78510ac9492efa2a29f463a9cee9d5de1b85f11bb08b6f0084e -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:52 + touch /tmp/pre-build-complete [Pipeline] sh 11:28:53 + mkdir -p /var/log/sysstat [Pipeline] sh 11:28:53 + ls /var/log/sa-host 11:28:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:28:53 provisioning config files... 11:28:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1197258062482370903tmp [Pipeline] { [Pipeline] echo 11:28:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:28:53 ---> create-netrc.sh [Pipeline] } 11:28:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:28:54 ---> python-tools-install.sh [Pipeline] echo 11:28:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:28:54 ---> sudo-logs.sh 11:28:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:28:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:28:54 ---> job-cost.sh 11:28:54 lf-activate-venv: SKIPPING 11:28:54 DEBUG: total: 0.2199999988079071 11:28:54 INFO: Retrieving Stack Cost... 11:28:55 INFO: Retrieving Pricing Info for: v3-standard-8 11:28:55 INFO: Archiving Costs [Pipeline] echo 11:28:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:28:55 ---> logs-deploy.sh 11:28:55 lf-activate-venv: SKIPPING 11:28:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/32 11:28:55 INFO: archiving workspace using pattern(s): 11:28:56 Archives upload complete. 11:28:56 INFO: archiving logs to Nexus