Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a64f10ec129da673bd1db63a6bd52868e2c80f4f 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-ssh16897247296435121476.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-ssh1024388567375272402.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-sdk-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-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8193119259002029318.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-ssh11498377746036188158.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-sdk-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-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14549166843937616557.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33728 in /w/workspace/edgexfoundry_device-sdk-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-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a64f10ec129da673bd1db63a6bd52868e2c80f4f (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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 a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 Commit message: "Merge pull request #1152 from lenny-intel/latest-go-mods" > git rev-list --no-walk b2d7386986501f8c504e256bc873431da18a2db4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:21:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:21:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:21:49 ========================================================= 21:21:49 EdgeX Global Pipelines Version Info 21:21:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:21:50 ------------------- 21:21:50 stable info: 21:21:50 ------------------- 21:21:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:21:50 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:21:50 Message: update stable to v1.0.227 21:21:51 ------------------- 21:21:51 experimental info: 21:21:51 ------------------- 21:21:51 Commited By: **** collab-it+edgex@linuxfoundation.org 21:21:51 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 21:21:51 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:21:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a64f10e [Pipeline] echo 21:21:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:52 provisioning config files... 21:21:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8231737779505292230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:52 ---> docker-login.sh 21:21:52 nexus3.edgexfoundry.org:10001 21:21:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 nexus3.edgexfoundry.org:10002 21:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 nexus3.edgexfoundry.org:10003 21:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 nexus3.edgexfoundry.org:10004 21:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 docker.io 21:21:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:53 Configure a credential helper to remove this warning. See 21:21:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:53 21:21:53 Login Succeeded 21:21:53 ---> docker-login.sh ends [Pipeline] } 21:21:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:21:54 + git rev-list -1 --merges a64f10ec129da673bd1db63a6bd52868e2c80f4f~1..a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] echo 21:21:54 -----------> git rev-list -1 --merges a64f10ec129da673bd1db63a6bd52868e2c80f4f~1..a64f10ec129da673bd1db63a6bd52868e2c80f4f a64f10ec129da673bd1db63a6bd52868e2c80f4f 21:21:54 a64f10ec129da673bd1db63a6bd52868e2c80f4f [false] [Pipeline] sh 21:21:54 + git log --format=format:%s -1 a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] echo 21:21:54 ========================================================= 21:21:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:21:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:55 + git log --format=format:%s -1 a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] echo 21:21:55 [semverPrep] GIT_COMMIT: a64f10ec129da673bd1db63a6bd52868e2c80f4f, Commit Message: Merge pull request #1152 from lenny-intel/latest-go-mods [Pipeline] echo 21:21:55 [semverPrep] This is not a build commit. [Pipeline] sh 21:21:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:21:55 + grep -v github /etc/ssh/ssh_known_hosts 21:21:55 + [ -e /tmp/ssh_known_hosts ] 21:21:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:21:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:21:55 + sudo tee -a /etc/ssh/ssh_known_hosts 21:21:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:21:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:21:55 21:21:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:21:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:21:56 latest: Pulling from edgex-devops/py-git-semver 21:21:56 1fe172e4850f: Pulling fs layer 21:21:56 caf521ccaac6: Pulling fs layer 21:21:56 3ead6fa29328: Pulling fs layer 21:21:56 5c2a1cbceb83: Pulling fs layer 21:21:56 a8d5f1318db7: Pulling fs layer 21:21:56 c427282e49a2: Pulling fs layer 21:21:56 1827001aaf11: Pulling fs layer 21:21:56 0714d37db230: Pulling fs layer 21:21:56 ac28cf19c067: Pulling fs layer 21:21:56 ca983d60f3e2: Pulling fs layer 21:21:56 9f894cec8388: Pulling fs layer 21:21:56 0714d37db230: Waiting 21:21:56 ac28cf19c067: Waiting 21:21:56 1827001aaf11: Waiting 21:21:56 ca983d60f3e2: Waiting 21:21:56 c427282e49a2: Waiting 21:21:56 5c2a1cbceb83: Waiting 21:21:56 9f894cec8388: Waiting 21:21:56 caf521ccaac6: Download complete 21:21:56 5c2a1cbceb83: Verifying Checksum 21:21:56 5c2a1cbceb83: Download complete 21:21:56 a8d5f1318db7: Verifying Checksum 21:21:56 a8d5f1318db7: Download complete 21:21:56 c427282e49a2: Verifying Checksum 21:21:56 c427282e49a2: Download complete 21:21:56 3ead6fa29328: Verifying Checksum 21:21:56 3ead6fa29328: Download complete 21:21:56 0714d37db230: Verifying Checksum 21:21:56 0714d37db230: Download complete 21:21:56 ac28cf19c067: Download complete 21:21:56 ca983d60f3e2: Verifying Checksum 21:21:56 ca983d60f3e2: Download complete 21:21:56 9f894cec8388: Verifying Checksum 21:21:56 9f894cec8388: Download complete 21:21:57 1827001aaf11: Verifying Checksum 21:21:57 1827001aaf11: Download complete 21:21:58 1fe172e4850f: Verifying Checksum 21:21:58 1fe172e4850f: Download complete 21:21:59 1fe172e4850f: Pull complete 21:21:59 caf521ccaac6: Pull complete 21:21:59 3ead6fa29328: Pull complete 21:21:59 5c2a1cbceb83: Pull complete 21:22:00 a8d5f1318db7: Pull complete 21:22:00 c427282e49a2: Pull complete 21:22:02 1827001aaf11: Pull complete 21:22:02 0714d37db230: Pull complete 21:22:02 ac28cf19c067: Pull complete 21:22:02 ca983d60f3e2: Pull complete 21:22:02 9f894cec8388: Pull complete 21:22:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:22:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:22:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:22:02 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:22:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:22:04 $ docker top e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b -eo pid,comm 21:22:05 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). 21:22:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:05 [ssh-agent] Looking for ssh-agent implementation... 21:22:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:05 $ docker exec e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b ssh-agent 21:22:05 SSH_AUTH_SOCK=/tmp/ssh-I2D6AEWcmuvV/agent.34 21:22:05 SSH_AGENT_PID=40 21:22:05 Running ssh-add (command line suppressed) 21:22:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7065444890367053739.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7065444890367053739.key) 21:22:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:05 + git tag --points-at HEAD [Pipeline] } 21:22:05 $ docker exec --env ******** --env ******** e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b ssh-agent -k 21:22:05 unset SSH_AUTH_SOCK; 21:22:05 unset SSH_AGENT_PID; 21:22:05 echo Agent pid 40 killed; 21:22:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:22:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:06 [ssh-agent] Looking for ssh-agent implementation... 21:22:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:06 $ docker exec e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b ssh-agent 21:22:06 SSH_AUTH_SOCK=/tmp/ssh-61e9dEUh9nHw/agent.74 21:22:06 SSH_AGENT_PID=80 21:22:06 Running ssh-add (command line suppressed) 21:22:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4765435168850066371.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4765435168850066371.key) 21:22:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:06 + git semver init 21:22:07 2022-04-28 21:22:07,020 [run_init] DEBUG init version:0.0.0 force:False 21:22:07 2022-04-28 21:22:07,021 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:22:07 2022-04-28 21:22:07,022 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:22:07 2022-04-28 21:22:07,022 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:22:10 2022-04-28 21:22:10,323 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:22:10 2022-04-28 21:22:10,324 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:22:10 2022-04-28 21:22:10,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:10 2022-04-28 21:22:10,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:22:10 2.2.0-dev.35 [Pipeline] } 21:22:10 $ docker exec --env ******** --env ******** e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b ssh-agent -k 21:22:10 unset SSH_AUTH_SOCK; 21:22:10 unset SSH_AGENT_PID; 21:22:10 echo Agent pid 80 killed; 21:22:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:10 + git semver [Pipeline] } 21:22:11 $ docker stop --time=1 e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b 21:22:12 $ docker rm -f e8ebe0c2c9006e645eb7d104ce81a75bb48c552a384d44a5bedfaafffaf2e45b [Pipeline] // withDockerContainer [Pipeline] sh 21:22:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:22:14 Stashed 1 file(s) [Pipeline] echo 21:22:14 [edgeXSemver]: initialized semver on version 2.2.0-dev.35 [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 21:22:14 provisioning config files... 21:22:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4642504177744098554tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:14 ---> docker-login.sh 21:22:14 nexus3.edgexfoundry.org:10001 21:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:14 Configure a credential helper to remove this warning. See 21:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:14 21:22:14 Login Succeeded 21:22:14 nexus3.edgexfoundry.org:10002 21:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:14 Configure a credential helper to remove this warning. See 21:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:14 21:22:14 Login Succeeded 21:22:14 nexus3.edgexfoundry.org:10003 21:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:14 Configure a credential helper to remove this warning. See 21:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:14 21:22:14 Login Succeeded 21:22:14 nexus3.edgexfoundry.org:10004 21:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:15 Configure a credential helper to remove this warning. See 21:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:15 21:22:15 Login Succeeded 21:22:15 docker.io 21:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:15 Configure a credential helper to remove this warning. See 21:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:15 21:22:15 Login Succeeded 21:22:15 ---> docker-login.sh ends [Pipeline] } 21:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:22:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:15 ========================================================= 21:22:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:22:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:22:16 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:22:16 Sending build context to Docker daemon 9.672MB 21:22:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:22:16 Step 2/11 : FROM ${BASE} AS builder 21:22:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:22:16 59bf1c3509f3: Pulling fs layer 21:22:16 666ba61612fd: Pulling fs layer 21:22:16 8ed8ca486205: Pulling fs layer 21:22:16 4fe6c5a15a65: Pulling fs layer 21:22:16 22a0e8bec74d: Pulling fs layer 21:22:16 ca2b28591e48: Pulling fs layer 21:22:16 a51346096db8: Pulling fs layer 21:22:16 daebc70d1ce1: Pulling fs layer 21:22:16 0e18a0eac166: Pulling fs layer 21:22:16 22a0e8bec74d: Waiting 21:22:16 ca2b28591e48: Waiting 21:22:16 a51346096db8: Waiting 21:22:16 daebc70d1ce1: Waiting 21:22:16 0e18a0eac166: Waiting 21:22:16 4fe6c5a15a65: Waiting 21:22:16 8ed8ca486205: Verifying Checksum 21:22:16 8ed8ca486205: Download complete 21:22:16 666ba61612fd: Verifying Checksum 21:22:16 666ba61612fd: Download complete 21:22:16 22a0e8bec74d: Verifying Checksum 21:22:16 22a0e8bec74d: Download complete 21:22:16 ca2b28591e48: Verifying Checksum 21:22:16 ca2b28591e48: Download complete 21:22:16 a51346096db8: Verifying Checksum 21:22:16 a51346096db8: Download complete 21:22:16 59bf1c3509f3: Verifying Checksum 21:22:16 59bf1c3509f3: Download complete 21:22:16 59bf1c3509f3: Pull complete 21:22:16 daebc70d1ce1: Verifying Checksum 21:22:16 daebc70d1ce1: Download complete 21:22:16 666ba61612fd: Pull complete 21:22:16 8ed8ca486205: Pull complete 21:22:17 0e18a0eac166: Verifying Checksum 21:22:17 0e18a0eac166: Download complete 21:22:18 4fe6c5a15a65: Verifying Checksum 21:22:18 4fe6c5a15a65: Download complete 21:22:23 4fe6c5a15a65: Pull complete 21:22:23 22a0e8bec74d: Pull complete 21:22:23 ca2b28591e48: Pull complete 21:22:23 a51346096db8: Pull complete 21:22:23 daebc70d1ce1: Pull complete 21:22:25 0e18a0eac166: Pull complete 21:22:25 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 21:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:22:25 ---> f018257e8ee9 21:22:25 Step 3/11 : ARG MAKE=make build 21:22:27 ---> Running in 7f65fed80781 21:22:27 Removing intermediate container 7f65fed80781 21:22:27 ---> de90b952e239 21:22:27 Step 4/11 : WORKDIR /device-sdk-go 21:22:27 ---> Running in dfa585c9c711 21:22:28 Removing intermediate container dfa585c9c711 21:22:28 ---> 0dd2c75a70ae 21:22:28 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:22:28 ---> Running in ff35ca40cdf0 21:22:28 Removing intermediate container ff35ca40cdf0 21:22:28 ---> 17cd3022a8d8 21:22:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:28 ---> Running in 0c2c4cb19e00 21:22:28 Removing intermediate container 0c2c4cb19e00 21:22:28 ---> f885ab3b5986 21:22:28 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:22:29 Still waiting to schedule task 21:22:29 ‘prd-ubuntu20.04-docker-8c-8g-33721’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:22:29 ‘prd-ubuntu20.04-docker-8c-8g-33722’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:22:29 ‘prd-ubuntu20.04-docker-8c-8g-33723’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 21:22:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33720’ is offline 21:22:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33725’ is offline 21:22:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33726’ is offline 21:22:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33729’ is offline 21:22:29 ---> Running in f14ea7b3af18 21:22:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:22:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:22:32 OK: 221 MiB in 52 packages 21:22:32 Removing intermediate container f14ea7b3af18 21:22:32 ---> 95a7081e8648 21:22:32 Step 8/11 : COPY go.mod vendor* ./ 21:22:32 ---> 6269beeaf2d2 21:22:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:33 ---> Running in cdf3baeba332 21:22:51 Removing intermediate container cdf3baeba332 21:22:51 ---> acd6d06d7eb4 21:22:51 Step 10/11 : COPY . . 21:22:51 ---> 5cf9dcb96424 21:22:51 Step 11/11 : RUN ${MAKE} 21:22:51 ---> Running in 217fa4885d98 21:22:51 noop 21:22:51 Removing intermediate container 217fa4885d98 21:22:51 ---> 4fb45853379a 21:22:51 Successfully built 4fb45853379a 21:22:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:22:51 + docker inspect -f . ci-base-image-x86_64 21:22:51 . [Pipeline] withDockerContainer 21:22:51 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:22:52 $ docker top 938e653eec9ec487b91998723eea2d0239d2034658d31e594010f586d9668b88 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:52 + go version 21:22:52 go version go1.17.6 linux/amd64 [Pipeline] } 21:22:52 $ docker stop --time=1 938e653eec9ec487b91998723eea2d0239d2034658d31e594010f586d9668b88 21:22:54 $ docker rm -f 938e653eec9ec487b91998723eea2d0239d2034658d31e594010f586d9668b88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:22:54 + docker inspect -f . ci-base-image-x86_64 21:22:54 . [Pipeline] withDockerContainer 21:22:54 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:22:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:22:55 $ docker top d3a57237d5eb1c562f0b30f2f8a9f8f6e6ef7ea7ccbbfe89def9f53b6fb3bf75 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:22:55 + make test 21:22:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:23:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.103s coverage: 23.3% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 10.8% of statements 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.159s coverage: 60.0% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.117s coverage: 34.8% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.073s coverage: 86.1% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.102s coverage: 65.1% of statements 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.858s coverage: 89.2% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:23:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 21:23:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:23:31 GO111MODULE=on go vet ./... 21:23:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:23:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:23:35 ./bin/test-attribution-txt.sh [Pipeline] echo 21:23:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:23:35 $ docker stop --time=1 d3a57237d5eb1c562f0b30f2f8a9f8f6e6ef7ea7ccbbfe89def9f53b6fb3bf75 21:23:38 $ docker rm -f d3a57237d5eb1c562f0b30f2f8a9f8f6e6ef7ea7ccbbfe89def9f53b6fb3bf75 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:23:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:23:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:23:40 + ls -al . 21:23:40 total 296 21:23:40 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 21:23 . 21:23:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:21 .. 21:23:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:21 .dockerignore 21:23:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:22 .git 21:23:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:21 .github 21:23:40 -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:21 .gitignore 21:23:40 -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:21 .golangci.yml 21:23:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:22 .semver 21:23:40 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:21 CHANGELOG.md 21:23:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:21 GOVERNANCE.md 21:23:40 -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:21 Jenkinsfile 21:23:40 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:21 LICENSE 21:23:40 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:21 Makefile 21:23:40 -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:21 OWNERS.md 21:23:40 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:21 README.md 21:23:40 -rw-rw-r-- 1 jenkins jenkins 12 Apr 28 21:22 VERSION 21:23:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:21 bin 21:23:40 -rw-r--r-- 1 jenkins jenkins 130820 Apr 28 21:23 coverage.out 21:23:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:21 example 21:23:40 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:21 go.mod 21:23:40 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 28 21:21 go.sum 21:23:40 drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:21 internal 21:23:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:21 openapi 21:23:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:21 pkg 21:23:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:21 snap 21:23:40 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:21 version.go [Pipeline] isUnix [Pipeline] sh 21:23:40 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a64f10ec129da673bd1db63a6bd52868e2c80f4f --label arch=amd64 --label version=2.2.0-dev.35 . 21:23:40 Sending build context to Docker daemon 9.804MB 21:23:40 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:23:40 Step 2/25 : FROM ${BASE} AS builder 21:23:40 ---> 4fb45853379a 21:23:40 Step 3/25 : ARG MAKE=make build 21:23:40 ---> Running in 2101fb09ace5 21:23:40 Removing intermediate container 2101fb09ace5 21:23:40 ---> 771e90ed7773 21:23:40 Step 4/25 : WORKDIR /device-sdk-go 21:23:40 ---> Running in 7bdf2ebc853c 21:23:41 Removing intermediate container 7bdf2ebc853c 21:23:41 ---> 0cd1071efffc 21:23:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:23:41 ---> Running in 7b188f68b794 21:23:41 Removing intermediate container 7b188f68b794 21:23:41 ---> fbb083a682c1 21:23:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:41 ---> Running in 53eae0b2409e 21:23:43 Removing intermediate container 53eae0b2409e 21:23:43 ---> 2349702eb297 21:23:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:23:43 ---> Running in 0ce514ebc97a 21:23:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:23:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:23:44 OK: 221 MiB in 52 packages 21:23:45 Removing intermediate container 0ce514ebc97a 21:23:45 ---> 5e8c72f31911 21:23:45 Step 8/25 : COPY go.mod vendor* ./ 21:23:45 ---> a3a50bfa78e7 21:23:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:45 ---> Running in 02b2c58a3f16 21:23:46 Removing intermediate container 02b2c58a3f16 21:23:46 ---> c53769a522e4 21:23:46 Step 10/25 : COPY . . 21:23:47 ---> 5479805e348b 21:23:47 Step 11/25 : RUN ${MAKE} 21:23:47 ---> Running in 3f2859f6be4c 21:23:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:24:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:24:10 Removing intermediate container 3f2859f6be4c 21:24:10 ---> d0793e330f1f 21:24:10 Step 12/25 : FROM alpine:3.14 21:24:11 3.14: Pulling from library/alpine 21:24:11 8663204ce13b: Pulling fs layer 21:24:11 8663204ce13b: Verifying Checksum 21:24:11 8663204ce13b: Download complete 21:24:11 8663204ce13b: Pull complete 21:24:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:24:11 Status: Downloaded newer image for alpine:3.14 21:24:11 ---> e04c818066af 21:24:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:24:12 ---> Running in dce960bbfbe6 21:24:12 Removing intermediate container dce960bbfbe6 21:24:12 ---> cf57c8b33a62 21:24:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:24:12 ---> Running in edc1cd12e37a 21:24:13 Removing intermediate container edc1cd12e37a 21:24:13 ---> fbdacb045361 21:24:13 Step 15/25 : RUN apk add --update --no-cache zeromq 21:24:13 ---> Running in 432c88b65616 21:24:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:24:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:24:15 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:24:15 (2/5) Installing libsodium (1.0.18-r0) 21:24:15 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:24:15 (4/5) Installing libzmq (4.3.4-r0) 21:24:15 (5/5) Installing zeromq (4.3.4-r0) 21:24:15 Executing busybox-1.33.1-r7.trigger 21:24:15 OK: 8 MiB in 19 packages 21:24:16 Removing intermediate container 432c88b65616 21:24:16 ---> 7a3bc7908eac 21:24:16 Step 16/25 : WORKDIR / 21:24:16 ---> Running in 6da63532fb7f 21:24:17 Removing intermediate container 6da63532fb7f 21:24:17 ---> 31aabf671f88 21:24:17 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:24:17 ---> 9643e6a785e4 21:24:17 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:24:18 ---> 3ec3b4c71877 21:24:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:24:18 ---> 9467d4d40657 21:24:18 Step 20/25 : EXPOSE 59999 21:24:19 ---> Running in c49816b95f64 21:24:19 Removing intermediate container c49816b95f64 21:24:19 ---> 88c9eb3774f2 21:24:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:24:19 ---> Running in 0db194a5cde5 21:24:19 Removing intermediate container 0db194a5cde5 21:24:19 ---> c59c6bb977ef 21:24:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:24:19 ---> Running in 587c0593681f 21:24:19 Removing intermediate container 587c0593681f 21:24:19 ---> 15c3b5fb4616 21:24:19 Step 23/25 : LABEL arch=amd64 21:24:20 ---> Running in 8f2bacadc728 21:24:20 Removing intermediate container 8f2bacadc728 21:24:20 ---> 7293c19fc8a4 21:24:20 Step 24/25 : LABEL git_sha=a64f10ec129da673bd1db63a6bd52868e2c80f4f 21:24:20 ---> Running in 8d5c03ff9258 21:24:21 Removing intermediate container 8d5c03ff9258 21:24:21 ---> a4fc5ed181cb 21:24:21 Step 25/25 : LABEL version=2.2.0-dev.35 21:24:21 ---> Running in 868fedcf700e 21:24:21 Removing intermediate container 868fedcf700e 21:24:21 ---> 483a32555bf9 21:24:21 [Warning] One or more build-args [ARCH] were not consumed 21:24:21 Successfully built 483a32555bf9 21:24:21 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 21:24:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:22 21:24:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:24:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:23 latest: Pulling from edgex-lftools-log-publisher 21:24:23 5eb5b503b376: Pulling fs layer 21:24:23 5c69ac0246d0: Pulling fs layer 21:24:23 ec43610c2a17: Pulling fs layer 21:24:23 3a2ae6a8a46f: Pulling fs layer 21:24:23 33b1e0a273af: Pulling fs layer 21:24:23 5d3b04190fa2: Pulling fs layer 21:24:23 2f39f015ded8: Pulling fs layer 21:24:23 33b1e0a273af: Waiting 21:24:23 5d3b04190fa2: Waiting 21:24:23 2f39f015ded8: Waiting 21:24:23 3a2ae6a8a46f: Waiting 21:24:23 5c69ac0246d0: Verifying Checksum 21:24:23 5c69ac0246d0: Download complete 21:24:23 3a2ae6a8a46f: Verifying Checksum 21:24:23 3a2ae6a8a46f: Download complete 21:24:23 33b1e0a273af: Verifying Checksum 21:24:23 33b1e0a273af: Download complete 21:24:23 5d3b04190fa2: Verifying Checksum 21:24:23 5d3b04190fa2: Download complete 21:24:23 ec43610c2a17: Verifying Checksum 21:24:23 ec43610c2a17: Download complete 21:24:23 5eb5b503b376: Verifying Checksum 21:24:23 5eb5b503b376: Download complete 21:24:25 2f39f015ded8: Verifying Checksum 21:24:25 2f39f015ded8: Download complete 21:24:27 5eb5b503b376: Pull complete 21:24:27 5c69ac0246d0: Pull complete 21:24:28 ec43610c2a17: Pull complete 21:24:28 3a2ae6a8a46f: Pull complete 21:24:29 33b1e0a273af: Pull complete 21:24:29 5d3b04190fa2: Pull complete 21:24:34 2f39f015ded8: Pull complete 21:24:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:24:34 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:24:34 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:24:38 $ docker top 89d0a80d805f49bad396f5788ae6f91ee632873f9d767ff6b76cddb8a9ad0320 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:24:38 ---> job-cost.sh 21:24:38 lf-activate-venv: SKIPPING 21:24:38 INFO: No Stack... 21:24:39 INFO: Retrieving Pricing Info for: v3-standard-8 21:24:39 INFO: Archiving Costs [Pipeline] sh 21:24:40 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:24:40 + cut -d, -f6 [Pipeline] lock 21:24:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] 21:24:40 Resource [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] did not exist. Created. 21:24:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:24:40 + echo total: 0.2199999988079071 [Pipeline] stash 21:24:40 Stashed 1 file(s) [Pipeline] } 21:24:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 21:24:40 $ docker stop --time=1 89d0a80d805f49bad396f5788ae6f91ee632873f9d767ff6b76cddb8a9ad0320 21:24:41 $ docker rm -f 89d0a80d805f49bad396f5788ae6f91ee632873f9d767ff6b76cddb8a9ad0320 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:25:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33750 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:25:22 Running in /w/workspace/device-sdk-go/68 [Pipeline] { [Pipeline] checkout 21:25:23 The recommended git tool is: git 21:25:30 using credential edgex-jenkins-ssh 21:25:30 Cloning the remote Git repository 21:25:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:25:30 > git init /w/workspace/device-sdk-go/68 # timeout=10 21:25:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:25:30 > git --version # timeout=10 21:25:30 > git --version # 'git version 2.25.1' 21:25:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:32 Avoid second fetch 21:25:32 Checking out Revision a64f10ec129da673bd1db63a6bd52868e2c80f4f (main) 21:25:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:25:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:32 > git config core.sparsecheckout # timeout=10 21:25:32 > git checkout -f a64f10ec129da673bd1db63a6bd52868e2c80f4f # timeout=10 21:25:37 Commit message: "Merge pull request #1152 from lenny-intel/latest-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:25:38 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:38 Dload Upload Total Spent Left Speed 21:25:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 21:25:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:25:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 21:25:39 sudo tee /etc/docker/daemon.new 21:25:39 { 21:25:39 "registry-mirrors": [ 21:25:39 "https://nexus3.edgexfoundry.org:10001" 21:25:39 ], 21:25:39 "bip": "10.250.0.254/24", 21:25:39 "hosts": [ 21:25:39 "tcp://0.0.0.0:5555", 21:25:39 "unix:///var/run/docker.sock" 21:25:39 ], 21:25:39 "mtu": 1458, 21:25:39 "selinux-enabled": true, 21:25:39 "seccomp-profile": "/etc/docker/seccomp.json" 21:25:39 } [Pipeline] sh 21:25:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:25:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:58 provisioning config files... 21:25:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/68@tmp/config7036467688090436487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:58 ---> docker-login.sh 21:25:58 nexus3.edgexfoundry.org:10001 21:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:00 Configure a credential helper to remove this warning. See 21:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:00 21:26:00 Login Succeeded 21:26:00 nexus3.edgexfoundry.org:10002 21:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:00 Configure a credential helper to remove this warning. See 21:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:00 21:26:00 Login Succeeded 21:26:00 nexus3.edgexfoundry.org:10003 21:26:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:01 Configure a credential helper to remove this warning. See 21:26:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:01 21:26:01 Login Succeeded 21:26:01 nexus3.edgexfoundry.org:10004 21:26:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:01 Configure a credential helper to remove this warning. See 21:26:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:01 21:26:01 Login Succeeded 21:26:01 docker.io 21:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:02 Configure a credential helper to remove this warning. See 21:26:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:02 21:26:02 Login Succeeded 21:26:02 ---> docker-login.sh ends [Pipeline] } 21:26:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:26:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:26:03 ========================================================= 21:26:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:26:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:26:03 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:26:04 Sending build context to Docker daemon 5.209MB 21:26:04 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:26:04 Step 2/11 : FROM ${BASE} AS builder 21:26:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:26:04 9b3977197b4f: Pulling fs layer 21:26:04 1a89e8eeedd5: Pulling fs layer 21:26:04 94645a83ff95: Pulling fs layer 21:26:04 3f3a8bcf1eab: Pulling fs layer 21:26:04 0c92f367c5e7: Pulling fs layer 21:26:04 3096ccb668a1: Pulling fs layer 21:26:04 e8cf19c19ddd: Pulling fs layer 21:26:04 a4caa8a26152: Pulling fs layer 21:26:04 3f3a8bcf1eab: Waiting 21:26:04 0c92f367c5e7: Waiting 21:26:04 3096ccb668a1: Waiting 21:26:04 e8cf19c19ddd: Waiting 21:26:04 a4caa8a26152: Waiting 21:26:04 94645a83ff95: Verifying Checksum 21:26:04 94645a83ff95: Download complete 21:26:04 1a89e8eeedd5: Download complete 21:26:04 0c92f367c5e7: Verifying Checksum 21:26:04 0c92f367c5e7: Download complete 21:26:04 3096ccb668a1: Verifying Checksum 21:26:04 3096ccb668a1: Download complete 21:26:04 9b3977197b4f: Verifying Checksum 21:26:04 9b3977197b4f: Download complete 21:26:04 e8cf19c19ddd: Verifying Checksum 21:26:04 e8cf19c19ddd: Download complete 21:26:05 9b3977197b4f: Pull complete 21:26:06 1a89e8eeedd5: Pull complete 21:26:06 94645a83ff95: Pull complete 21:26:06 a4caa8a26152: Verifying Checksum 21:26:06 a4caa8a26152: Download complete 21:26:07 3f3a8bcf1eab: Verifying Checksum 21:26:07 3f3a8bcf1eab: Download complete 21:26:19 3f3a8bcf1eab: Pull complete 21:26:19 0c92f367c5e7: Pull complete 21:26:19 3096ccb668a1: Pull complete 21:26:20 e8cf19c19ddd: Pull complete 21:26:26 a4caa8a26152: Pull complete 21:26:26 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:26:26 ---> 725f1c02e7f9 21:26:26 Step 3/11 : ARG MAKE=make build 21:26:27 ---> Running in 75719daa6a69 21:26:27 Removing intermediate container 75719daa6a69 21:26:27 ---> 6714f108cfb0 21:26:27 Step 4/11 : WORKDIR /device-sdk-go 21:26:27 ---> Running in 2ce6d9475aa9 21:26:27 Removing intermediate container 2ce6d9475aa9 21:26:27 ---> 8ba29c55fe9f 21:26:27 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:26:27 ---> Running in e143ba6cd6e3 21:26:28 Removing intermediate container e143ba6cd6e3 21:26:28 ---> b5f3e7139b11 21:26:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:26:28 ---> Running in 60cbbb85f9e5 21:26:32 Removing intermediate container 60cbbb85f9e5 21:26:32 ---> 27b34943bc6d 21:26:32 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:26:32 ---> Running in 36df682b55d4 21:26:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:26:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:26:35 OK: 220 MiB in 52 packages 21:26:36 Removing intermediate container 36df682b55d4 21:26:36 ---> 749c24c9b197 21:26:36 Step 8/11 : COPY go.mod vendor* ./ 21:26:36 ---> c2035cd767af 21:26:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:37 ---> Running in 673fe8a047f5 21:27:33 Removing intermediate container 673fe8a047f5 21:27:33 ---> 682e8ea09d84 21:27:33 Step 10/11 : COPY . . 21:27:33 ---> 2c8afcd59c7d 21:27:33 Step 11/11 : RUN ${MAKE} 21:27:33 ---> Running in a1118c3e4d39 21:27:33 noop 21:27:33 Removing intermediate container a1118c3e4d39 21:27:33 ---> 2a676a114d22 21:27:33 Successfully built 2a676a114d22 21:27:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:27:34 + docker inspect -f . ci-base-image-arm64 21:27:34 . [Pipeline] withDockerContainer 21:27:34 prd-ubuntu20.04-docker-arm64-4c-16g-33750 does not seem to be running inside a container 21:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/68 -v /w/workspace/device-sdk-go/68:/w/workspace/device-sdk-go/68:rw,z -v /w/workspace/device-sdk-go/68@tmp:/w/workspace/device-sdk-go/68@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 21:27:35 $ docker top a6f93093e4af06457750ca5999d1be38db8a021d1a414d874a222b8506cfa026 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:36 + go version 21:27:36 go version go1.17.6 linux/arm64 [Pipeline] } 21:27:37 $ docker stop --time=1 a6f93093e4af06457750ca5999d1be38db8a021d1a414d874a222b8506cfa026 21:27:38 $ docker rm -f a6f93093e4af06457750ca5999d1be38db8a021d1a414d874a222b8506cfa026 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:27:47 + docker inspect -f . ci-base-image-arm64 21:27:47 . [Pipeline] withDockerContainer 21:27:48 prd-ubuntu20.04-docker-arm64-4c-16g-33750 does not seem to be running inside a container 21:27:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/68 -v /w/workspace/device-sdk-go/68:/w/workspace/device-sdk-go/68:rw,z -v /w/workspace/device-sdk-go/68@tmp:/w/workspace/device-sdk-go/68@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 21:27:49 $ docker top ed49e90245f4e467f335dcc700454684d6109b01d57bd9c5c07f267f0860d583 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:27:50 + make test 21:27:50 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:28:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:30:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.431s coverage: 23.3% of statements 21:30:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:30:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.319s coverage: 27.6% of statements 21:30:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.315s coverage: 78.9% of statements 21:30:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.255s coverage: 10.8% of statements 21:30:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.485s coverage: 60.0% of statements 21:30:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:30:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:30:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.578s coverage: 34.8% of statements 21:30:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:30:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.256s coverage: 86.1% of statements 21:30:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:30:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:30:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.513s coverage: 65.1% of statements 21:30:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.282s coverage: 89.2% of statements 21:30:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:30:54 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements 21:30:54 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:30:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:30:55 GO111MODULE=on go vet ./... 21:32:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:32:32 ./bin/test-attribution-txt.sh [Pipeline] echo 21:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:32:32 $ docker stop --time=1 ed49e90245f4e467f335dcc700454684d6109b01d57bd9c5c07f267f0860d583 21:32:34 $ docker rm -f ed49e90245f4e467f335dcc700454684d6109b01d57bd9c5c07f267f0860d583 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:35 Warning: overwriting stash ‘coverage-report’ 21:32:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:37 + ls -al . 21:32:37 total 292 21:32:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 21:32 . 21:32:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:25 .. 21:32:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 21:25 .dockerignore 21:32:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 21:25 .git 21:32:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:25 .github 21:32:37 -rw-rw-r-- 1 jenkins jenkins 131 Apr 28 21:25 .gitignore 21:32:37 -rw-rw-r-- 1 jenkins jenkins 42 Apr 28 21:25 .golangci.yml 21:32:37 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 28 21:25 CHANGELOG.md 21:32:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 21:25 GOVERNANCE.md 21:32:37 -rw-rw-r-- 1 jenkins jenkins 880 Apr 28 21:25 Jenkinsfile 21:32:37 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 21:25 LICENSE 21:32:37 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 28 21:25 Makefile 21:32:37 -rw-rw-r-- 1 jenkins jenkins 619 Apr 28 21:25 OWNERS.md 21:32:37 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 28 21:25 README.md 21:32:37 -rw-rw-r-- 1 jenkins jenkins 12 Apr 28 21:22 VERSION 21:32:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 21:25 bin 21:32:37 -rw-r--r-- 1 jenkins jenkins 130819 Apr 28 21:30 coverage.out 21:32:37 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:25 example 21:32:37 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 28 21:25 go.mod 21:32:37 -rw-rw-r-- 1 jenkins jenkins 34607 Apr 28 21:25 go.sum 21:32:37 drwxrwxr-x 15 jenkins jenkins 4096 Apr 28 21:25 internal 21:32:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 21:25 openapi 21:32:37 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 21:25 pkg 21:32:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 21:25 snap 21:32:37 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 21:25 version.go [Pipeline] isUnix [Pipeline] sh 21:32:37 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a64f10ec129da673bd1db63a6bd52868e2c80f4f --label arch=arm64 --label version=2.2.0-dev.35 . 21:32:38 Sending build context to Docker daemon 5.34MB 21:32:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:32:38 Step 2/25 : FROM ${BASE} AS builder 21:32:38 ---> 2a676a114d22 21:32:38 Step 3/25 : ARG MAKE=make build 21:32:38 ---> Running in 9fa2c2ffa1bb 21:32:38 Removing intermediate container 9fa2c2ffa1bb 21:32:38 ---> 940bcc9a1cbd 21:32:38 Step 4/25 : WORKDIR /device-sdk-go 21:32:38 ---> Running in c21a98278147 21:32:39 Removing intermediate container c21a98278147 21:32:39 ---> 95063869f18f 21:32:39 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:32:39 ---> Running in 3976397df930 21:32:39 Removing intermediate container 3976397df930 21:32:39 ---> 479c8c11c8dd 21:32:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:39 ---> Running in 9a52e68e1d68 21:32:41 Removing intermediate container 9a52e68e1d68 21:32:41 ---> 0c607ddde470 21:32:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:32:41 ---> Running in ec96a273e3b5 21:32:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:32:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:32:44 OK: 220 MiB in 52 packages 21:32:45 Removing intermediate container ec96a273e3b5 21:32:45 ---> cd5976f34a0d 21:32:45 Step 8/25 : COPY go.mod vendor* ./ 21:32:45 ---> 53246a72abd6 21:32:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:46 ---> Running in 7257687a4ba2 21:32:48 Removing intermediate container 7257687a4ba2 21:32:48 ---> 0f9f28ce69b7 21:32:48 Step 10/25 : COPY . . 21:32:49 ---> 9785f054c949 21:32:49 Step 11/25 : RUN ${MAKE} 21:32:49 ---> Running in 0422fef8cc02 21:32:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.35" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:35:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:35:12 Removing intermediate container 0422fef8cc02 21:35:12 ---> f335e9f3f126 21:35:12 Step 12/25 : FROM alpine:3.14 21:35:12 3.14: Pulling from library/alpine 21:35:12 455c02918c45: Pulling fs layer 21:35:12 455c02918c45: Verifying Checksum 21:35:12 455c02918c45: Download complete 21:35:12 455c02918c45: Pull complete 21:35:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:35:12 Status: Downloaded newer image for alpine:3.14 21:35:12 ---> ac73e934f311 21:35:12 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:35:12 ---> Running in f7c016143e8f 21:35:12 Removing intermediate container f7c016143e8f 21:35:12 ---> b6aa35b1ee14 21:35:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:12 ---> Running in 231760b07f91 21:35:13 Removing intermediate container 231760b07f91 21:35:13 ---> 136d5e6338a4 21:35:13 Step 15/25 : RUN apk add --update --no-cache zeromq 21:35:13 ---> Running in 908eac7491d0 21:35:14 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:35:15 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:35:16 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:35:16 (2/5) Installing libsodium (1.0.18-r0) 21:35:16 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:35:16 (4/5) Installing libzmq (4.3.4-r0) 21:35:16 (5/5) Installing zeromq (4.3.4-r0) 21:35:16 Executing busybox-1.33.1-r7.trigger 21:35:17 OK: 8 MiB in 19 packages 21:35:18 Removing intermediate container 908eac7491d0 21:35:18 ---> 50ddc1bea212 21:35:18 Step 16/25 : WORKDIR / 21:35:18 ---> Running in 5b5a17f87390 21:35:18 Removing intermediate container 5b5a17f87390 21:35:18 ---> 6d7f1de794d8 21:35:18 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:35:18 ---> ac9004697219 21:35:18 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:35:20 ---> b2b37216d52d 21:35:20 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:35:21 ---> 87915215540e 21:35:21 Step 20/25 : EXPOSE 59999 21:35:21 ---> Running in 399165f3fef1 21:35:21 Removing intermediate container 399165f3fef1 21:35:21 ---> a0a2de8bac8d 21:35:21 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:35:21 ---> Running in 92dc0c89cc75 21:35:22 Removing intermediate container 92dc0c89cc75 21:35:22 ---> 8ee85c6cb94b 21:35:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:35:22 ---> Running in 43658a735de1 21:35:22 Removing intermediate container 43658a735de1 21:35:22 ---> cb9508b11c8e 21:35:22 Step 23/25 : LABEL arch=arm64 21:35:22 ---> Running in 6511c4894d03 21:35:22 Removing intermediate container 6511c4894d03 21:35:22 ---> f1621a72af56 21:35:22 Step 24/25 : LABEL git_sha=a64f10ec129da673bd1db63a6bd52868e2c80f4f 21:35:22 ---> Running in c74547b181f6 21:35:23 Removing intermediate container c74547b181f6 21:35:23 ---> 005746e0bcec 21:35:23 Step 25/25 : LABEL version=2.2.0-dev.35 21:35:23 ---> Running in 24adcda6a58a 21:35:23 Removing intermediate container 24adcda6a58a 21:35:23 ---> 7922f550233c 21:35:23 [Warning] One or more build-args [ARCH] were not consumed 21:35:23 Successfully built 7922f550233c 21:35:23 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:24 21:35:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:35:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:24 arm64: Pulling from edgex-lftools-log-publisher 21:35:24 8998bd30e6a1: Pulling fs layer 21:35:24 04944245beec: Pulling fs layer 21:35:24 699f458cf7ca: Pulling fs layer 21:35:24 765212b225bb: Pulling fs layer 21:35:24 f23df028b6ca: Pulling fs layer 21:35:24 d65c8cfc05b1: Pulling fs layer 21:35:24 2437ff75d9bd: Pulling fs layer 21:35:24 f23df028b6ca: Waiting 21:35:24 d65c8cfc05b1: Waiting 21:35:24 2437ff75d9bd: Waiting 21:35:24 765212b225bb: Waiting 21:35:24 04944245beec: Verifying Checksum 21:35:24 04944245beec: Download complete 21:35:24 765212b225bb: Verifying Checksum 21:35:24 765212b225bb: Download complete 21:35:24 f23df028b6ca: Verifying Checksum 21:35:24 f23df028b6ca: Download complete 21:35:24 d65c8cfc05b1: Verifying Checksum 21:35:24 d65c8cfc05b1: Download complete 21:35:25 699f458cf7ca: Verifying Checksum 21:35:25 699f458cf7ca: Download complete 21:35:25 8998bd30e6a1: Verifying Checksum 21:35:25 8998bd30e6a1: Download complete 21:35:28 2437ff75d9bd: Verifying Checksum 21:35:28 2437ff75d9bd: Download complete 21:35:30 8998bd30e6a1: Pull complete 21:35:30 04944245beec: Pull complete 21:35:32 699f458cf7ca: Pull complete 21:35:32 765212b225bb: Pull complete 21:35:33 f23df028b6ca: Pull complete 21:35:33 d65c8cfc05b1: Pull complete 21:35:48 2437ff75d9bd: Pull complete 21:35:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:35:49 prd-ubuntu20.04-docker-arm64-4c-16g-33750 does not seem to be running inside a container 21:35:49 $ 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-sdk-go/68 -v /w/workspace/device-sdk-go/68:/w/workspace/device-sdk-go/68:rw,z -v /w/workspace/device-sdk-go/68@tmp:/w/workspace/device-sdk-go/68@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 21:35:52 $ docker top 50069d55322915154ab2be19946c98bef1ec20d3873c304ceb96dd513a3462a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:53 ---> job-cost.sh 21:35:53 lf-activate-venv: SKIPPING 21:35:53 INFO: No Stack... 21:35:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:35:54 INFO: Archiving Costs [Pipeline] sh 21:35:55 + cat /w/workspace/device-sdk-go/68/archives/cost.csv 21:35:55 + cut -d, -f6 [Pipeline] lock 21:35:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] 21:35:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] did not exist. Created. 21:35:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:35:56 /w/workspace/device-sdk-go/68@tmp/durable-0ed52e04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:35:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:35:57 Warning: overwriting stash ‘stack-cost’ 21:35:57 Stashed 1 file(s) [Pipeline] } 21:35:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-68-stack-cost] [Pipeline] // lock [Pipeline] } 21:35:57 $ docker stop --time=1 50069d55322915154ab2be19946c98bef1ec20d3873c304ceb96dd513a3462a4 21:35:58 $ docker rm -f 50069d55322915154ab2be19946c98bef1ec20d3873c304ceb96dd513a3462a4 [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 21:35:59 provisioning config files... 21:35:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3531921467880133271tmp [Pipeline] { [Pipeline] sh 21:35:59 + set +x 21:35:59 + curl+ -s https://codecov.io/bash 21:35:59 bash -s -- 21:35:59 21:35:59 _____ _ 21:35:59 / ____| | | 21:35:59 | | ___ __| | ___ ___ _____ __ 21:35:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:35:59 | |___| (_) | (_| | __/ (_| (_) \ V / 21:35:59 \_____\___/ \__,_|\___|\___\___/ \_/ 21:35:59 Bash-1.0.6 21:35:59 21:35:59 21:35:59 ==> git version 2.25.1 found 21:35:59 ==> 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 21:35:59 Release-Date: 2020-01-08 21:35:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:35:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:35:59 ==> Jenkins CI detected. 21:35:59 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:35:59 project root: . 21:35:59 --> token set from env 21:35:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:35:59 ==> Running gcov in . (disable via -X gcov) 21:35:59 ==> Python coveragepy not found 21:35:59 ==> Searching for coverage reports in: 21:35:59 + . 21:35:59 -> Found 1 reports 21:35:59 ==> Detecting git/mercurial file structure 21:35:59 ==> Reading reports 21:35:59 + ./coverage.out bytes=130819 21:35:59 ==> Appending adjustments 21:35:59 https://docs.codecov.io/docs/fixing-reports 21:36:00 + Found adjustments 21:36:00 ==> Gzipping contents 21:36:00 20K /tmp/codecov.4fPjJl.gz 21:36:00 ==> Uploading reports 21:36:00 url: https://codecov.io 21:36:00 query: branch=main&commit=a64f10ec129da673bd1db63a6bd52868e2c80f4f&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:36:00 -> Pinging Codecov 21:36:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=a64f10ec129da673bd1db63a6bd52868e2c80f4f&build=68&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F68%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:36:00 -> Uploading to 21:36:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/7E55EF52A471D76F132DFD9A03CDDE97/a64f10ec129da673bd1db63a6bd52868e2c80f4f/7005b3d5-e1e8-48fa-b805-58573b8a6543.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T213600Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53dd2d3f512011bc977930bab0c27543824c1b600a0e209b9d3a8776f19a752b 21:36:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:00 Dload Upload Total Spent Left Speed 21:36:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16798 0 0 100 16798 0 79611 --:--:-- --:--:-- --:--:-- 81543 100 16798 0 0 100 16798 0 74000 --:--:-- --:--:-- --:--:-- 75666 21:36:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] } 21:36:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:36:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:36:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:36:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:36:01 21:36:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:36:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:36:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:36:01 188c0c94c7c5: Pulling fs layer 21:36:01 0ef7d3d256c8: Pulling fs layer 21:36:01 de9db76c5a1d: Pulling fs layer 21:36:01 0eba1c9be4d2: Pulling fs layer 21:36:01 0d57e429df01: Pulling fs layer 21:36:01 4e4be7b47b0d: Pulling fs layer 21:36:01 e1f770b5df2f: Pulling fs layer 21:36:01 85a0685a4137: Pulling fs layer 21:36:01 e1f770b5df2f: Waiting 21:36:01 4e4be7b47b0d: Waiting 21:36:01 0d57e429df01: Waiting 21:36:01 85a0685a4137: Waiting 21:36:01 0eba1c9be4d2: Waiting 21:36:01 de9db76c5a1d: Verifying Checksum 21:36:01 de9db76c5a1d: Download complete 21:36:01 0ef7d3d256c8: Verifying Checksum 21:36:01 0ef7d3d256c8: Download complete 21:36:01 0d57e429df01: Verifying Checksum 21:36:01 0d57e429df01: Download complete 21:36:01 4e4be7b47b0d: Verifying Checksum 21:36:01 4e4be7b47b0d: Download complete 21:36:01 188c0c94c7c5: Verifying Checksum 21:36:01 188c0c94c7c5: Download complete 21:36:01 188c0c94c7c5: Pull complete 21:36:01 e1f770b5df2f: Verifying Checksum 21:36:01 e1f770b5df2f: Download complete 21:36:01 0ef7d3d256c8: Pull complete 21:36:02 de9db76c5a1d: Pull complete 21:36:02 0eba1c9be4d2: Verifying Checksum 21:36:02 0eba1c9be4d2: Download complete 21:36:02 85a0685a4137: Verifying Checksum 21:36:02 85a0685a4137: Download complete 21:36:07 0eba1c9be4d2: Pull complete 21:36:07 0d57e429df01: Pull complete 21:36:07 4e4be7b47b0d: Pull complete 21:36:07 e1f770b5df2f: Pull complete 21:36:12 85a0685a4137: Pull complete 21:36:12 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:36:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:36:13 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:36:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:36:15 $ docker top 1ce9260024e7b633e12e060bb4ae9e19c166b0568f7cb840cc2c1f0f0b453cc4 -eo pid,comm [Pipeline] { [Pipeline] echo 21:36:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:36:16 + set -o pipefail 21:36:16 + snyk monitor '--org=edgex-jenkins' 21:36:22 21:36:22 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 21:36:22 21:36:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/f21d50bd-d72c-46af-bb8a-e14bcc86a451 21:36:22 21:36:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:36:22 21:36:22 [Pipeline] } 21:36:22 $ docker stop --time=1 1ce9260024e7b633e12e060bb4ae9e19c166b0568f7cb840cc2c1f0f0b453cc4 21:36:25 $ docker rm -f 1ce9260024e7b633e12e060bb4ae9e19c166b0568f7cb840cc2c1f0f0b453cc4 [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) [Pipeline] echo 21:36:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:26 provisioning config files... 21:36:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6817385203030450074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:26 --> edgex-publish-swagger.sh 21:36:26 === Publish openapi/v2 API === 21:36:26 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:36:26 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 21:36:26 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:26 Dload Upload Total Spent Left Speed 21:36:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 79763 --:--:-- --:--:-- --:--:-- 79644 100 53282 0 0 100 53282 0 79644 --:--:-- --:--:-- --:--:-- 79525 21:36:27 21:36:27 [Pipeline] } 21:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:27 + git log --format=format:%s -1 a64f10ec129da673bd1db63a6bd52868e2c80f4f [Pipeline] sh 21:36:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:36:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:36:28 . [Pipeline] withDockerContainer 21:36:28 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:36:29 $ docker top 0986591528c236aaa639ef125849eee964d4da52150f12abc536a3360832f7af -eo pid,comm 21:36:29 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). 21:36:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:29 [ssh-agent] Looking for ssh-agent implementation... 21:36:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:29 $ docker exec 0986591528c236aaa639ef125849eee964d4da52150f12abc536a3360832f7af ssh-agent 21:36:29 SSH_AUTH_SOCK=/tmp/ssh-8IZ9hqpUP8Qe/agent.34 21:36:29 SSH_AGENT_PID=40 21:36:29 Running ssh-add (command line suppressed) 21:36:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4119365386506449240.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4119365386506449240.key) 21:36:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:30 + git semver tag 21:36:30 2022-04-28 21:36:30,458 [run_tag] DEBUG tag force:False 21:36:30 2022-04-28 21:36:30,459 [check_head_tag] DEBUG check head tag 21:36:30 2022-04-28 21:36:30,460 [execute] INFO git cat-file --batch-check 21:36:30 2022-04-28 21:36:30,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:36:30 2022-04-28 21:36:30,465 [execute] INFO git cat-file --batch 21:36:30 2022-04-28 21:36:30,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:36:30 2022-04-28 21:36:30,502 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:30 2022-04-28 21:36:30,503 [execute] INFO git tag -a v2.2.0-dev.35 -m v2.2.0-dev.35 21:36:30 2022-04-28 21:36:30,503 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.35', '-m', 'v2.2.0-dev.35'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:36:30 2022-04-28 21:36:30,510 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:30 2.2.0-dev.35 [Pipeline] } 21:36:30 $ docker exec --env ******** --env ******** 0986591528c236aaa639ef125849eee964d4da52150f12abc536a3360832f7af ssh-agent -k 21:36:30 unset SSH_AUTH_SOCK; 21:36:30 unset SSH_AGENT_PID; 21:36:30 echo Agent pid 40 killed; 21:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:31 + git semver [Pipeline] } 21:36:31 $ docker stop --time=1 0986591528c236aaa639ef125849eee964d4da52150f12abc536a3360832f7af 21:36:33 $ docker rm -f 0986591528c236aaa639ef125849eee964d4da52150f12abc536a3360832f7af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:36:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:36:33 21:36:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:36:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:36:33 0.23.1-centos7: Pulling from edgex-lftools 21:36:33 ab5ef0e58194: Pulling fs layer 21:36:33 9712f1f96733: Pulling fs layer 21:36:33 63f879dbbcfc: Pulling fs layer 21:36:33 0d9ebad4ef96: Pulling fs layer 21:36:33 e9a5061849ea: Pulling fs layer 21:36:33 d747dcd14b5f: Pulling fs layer 21:36:33 2de7ff778b66: Pulling fs layer 21:36:33 e9a5061849ea: Waiting 21:36:33 d747dcd14b5f: Waiting 21:36:33 2de7ff778b66: Waiting 21:36:33 0d9ebad4ef96: Waiting 21:36:33 9712f1f96733: Verifying Checksum 21:36:33 9712f1f96733: Download complete 21:36:34 63f879dbbcfc: Verifying Checksum 21:36:34 63f879dbbcfc: Download complete 21:36:34 0d9ebad4ef96: Verifying Checksum 21:36:34 0d9ebad4ef96: Download complete 21:36:34 d747dcd14b5f: Download complete 21:36:34 e9a5061849ea: Verifying Checksum 21:36:34 e9a5061849ea: Download complete 21:36:34 2de7ff778b66: Verifying Checksum 21:36:34 2de7ff778b66: Download complete 21:36:34 ab5ef0e58194: Download complete 21:36:38 ab5ef0e58194: Pull complete 21:36:38 9712f1f96733: Pull complete 21:36:39 63f879dbbcfc: Pull complete 21:36:43 0d9ebad4ef96: Pull complete 21:36:43 e9a5061849ea: Pull complete 21:36:43 d747dcd14b5f: Pull complete 21:36:44 2de7ff778b66: Pull complete 21:36:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:36:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:36:44 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:36:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:36:47 $ docker top 807e3002c83fbd394aa58d7260193ece42e70b30f3f6d76794e01c83d987b060 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:36:47 provisioning config files... 21:36:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4746846352218325330tmp 21:36:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3147808654280171296tmp 21:36:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7933352818889705155tmp [Pipeline] { [Pipeline] echo 21:36:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:36:48 ---> sigul-configuration.sh 21:36:48 gpg: directory `/root/.gnupg' created 21:36:48 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:36:48 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:36:48 gpg: keyring `/root/.gnupg/secring.gpg' created 21:36:48 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:36:48 gpg: CAST5 encrypted data 21:36:48 gpg: encrypted with 1 passphrase 21:36:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:36:48 + mkdir /home/jenkins 21:36:48 + mkdir /home/jenkins/sigul [Pipeline] sh 21:36:48 + 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 21:36:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:36:49 ---> sigul-install.sh 21:36:49 Sigul already installed; skipping installation. [Pipeline] sh 21:36:49 + git tag --list 21:36:49 0.7.1 21:36:49 delhi-tag 21:36:49 v1.0.0 21:36:49 v1.1.0 21:36:49 v1.1.1 21:36:49 v1.1.2 21:36:49 v1.2.0 21:36:49 v1.2.1 21:36:49 v1.2.2 21:36:49 v1.2.3 21:36:49 v1.3.0 21:36:49 v1.4.0 21:36:49 v2.0.0 21:36:49 v2.0.1-dev.1 21:36:49 v2.0.1-dev.10 21:36:49 v2.0.1-dev.11 21:36:49 v2.0.1-dev.12 21:36:49 v2.0.1-dev.13 21:36:49 v2.0.1-dev.14 21:36:49 v2.0.1-dev.15 21:36:49 v2.0.1-dev.16 21:36:49 v2.0.1-dev.17 21:36:49 v2.0.1-dev.18 21:36:49 v2.0.1-dev.19 21:36:49 v2.0.1-dev.2 21:36:49 v2.0.1-dev.20 21:36:49 v2.0.1-dev.21 21:36:49 v2.0.1-dev.22 21:36:49 v2.0.1-dev.23 21:36:49 v2.0.1-dev.24 21:36:49 v2.0.1-dev.25 21:36:49 v2.0.1-dev.26 21:36:49 v2.0.1-dev.27 21:36:49 v2.0.1-dev.28 21:36:49 v2.0.1-dev.29 21:36:49 v2.0.1-dev.3 21:36:49 v2.0.1-dev.30 21:36:49 v2.0.1-dev.31 21:36:49 v2.0.1-dev.32 21:36:49 v2.0.1-dev.33 21:36:49 v2.0.1-dev.4 21:36:49 v2.0.1-dev.5 21:36:49 v2.0.1-dev.6 21:36:49 v2.0.1-dev.7 21:36:49 v2.0.1-dev.8 21:36:49 v2.0.1-dev.9 21:36:49 v2.1.0 21:36:49 v2.1.1-dev.1 21:36:49 v2.2.0-dev.1 21:36:49 v2.2.0-dev.10 21:36:49 v2.2.0-dev.11 21:36:49 v2.2.0-dev.12 21:36:49 v2.2.0-dev.13 21:36:49 v2.2.0-dev.14 21:36:49 v2.2.0-dev.15 21:36:49 v2.2.0-dev.16 21:36:49 v2.2.0-dev.17 21:36:49 v2.2.0-dev.18 21:36:49 v2.2.0-dev.19 21:36:49 v2.2.0-dev.2 21:36:49 v2.2.0-dev.20 21:36:49 v2.2.0-dev.21 21:36:49 v2.2.0-dev.22 21:36:49 v2.2.0-dev.23 21:36:49 v2.2.0-dev.24 21:36:49 v2.2.0-dev.25 21:36:49 v2.2.0-dev.26 21:36:49 v2.2.0-dev.27 21:36:49 v2.2.0-dev.28 21:36:49 v2.2.0-dev.29 21:36:49 v2.2.0-dev.3 21:36:49 v2.2.0-dev.30 21:36:49 v2.2.0-dev.31 21:36:49 v2.2.0-dev.32 21:36:49 v2.2.0-dev.33 21:36:49 v2.2.0-dev.34 21:36:49 v2.2.0-dev.35 21:36:49 v2.2.0-dev.4 21:36:49 v2.2.0-dev.5 21:36:49 v2.2.0-dev.6 21:36:49 v2.2.0-dev.7 21:36:49 v2.2.0-dev.8 21:36:49 v2.2.0-dev.9 [Pipeline] sh 21:36:49 + lftools sign git-tag v2.2.0-dev.35 21:36:50 Signing Git tag with Sigul... 21:36:50 Signing v2.2.0-dev.35 [Pipeline] echo 21:36:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:36:51 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:36:51 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:36:51 $ docker stop --time=1 807e3002c83fbd394aa58d7260193ece42e70b30f3f6d76794e01c83d987b060 21:36:52 $ docker rm -f 807e3002c83fbd394aa58d7260193ece42e70b30f3f6d76794e01c83d987b060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:36:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:36:53 . [Pipeline] withDockerContainer 21:36:53 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:36:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:36:53 $ docker top 6b98dcc3ea668cecaa55454b7323ce59cd723e2c701da177bdc11c7f3d2829e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:54 [ssh-agent] Looking for ssh-agent implementation... 21:36:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:54 $ docker exec 6b98dcc3ea668cecaa55454b7323ce59cd723e2c701da177bdc11c7f3d2829e2 ssh-agent 21:36:54 SSH_AUTH_SOCK=/tmp/ssh-XIlzhNtbNMSH/agent.33 21:36:54 SSH_AGENT_PID=40 21:36:54 Running ssh-add (command line suppressed) 21:36:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2737696475833836808.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2737696475833836808.key) 21:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:54 + git semver bump pre 21:36:55 2022-04-28 21:36:55,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:55 2022-04-28 21:36:55,162 [bump_version] DEBUG bumping version:2.2.0-dev.35 on axis:pre with prefix:dev 21:36:55 2022-04-28 21:36:55,162 [bump_version] DEBUG bumped version:2.2.0-dev.36 21:36:55 2022-04-28 21:36:55,162 [write_version] DEBUG write version:2.2.0-dev.36 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:36:55 2022-04-28 21:36:55,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:55 2022-04-28 21:36:55,163 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:55 2022-04-28 21:36:55,165 [execute] INFO git cat-file --batch-check 21:36:55 2022-04-28 21:36:55,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:36:55 2022-04-28 21:36:55,170 [execute] INFO git cat-file --batch 21:36:55 2022-04-28 21:36:55,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:36:55 2022-04-28 21:36:55,174 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:36:55 2.2.0-dev.36 [Pipeline] } 21:36:55 $ docker exec --env ******** --env ******** 6b98dcc3ea668cecaa55454b7323ce59cd723e2c701da177bdc11c7f3d2829e2 ssh-agent -k 21:36:55 unset SSH_AUTH_SOCK; 21:36:55 unset SSH_AGENT_PID; 21:36:55 echo Agent pid 40 killed; 21:36:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:55 + git semver [Pipeline] } 21:36:56 $ docker stop --time=1 6b98dcc3ea668cecaa55454b7323ce59cd723e2c701da177bdc11c7f3d2829e2 21:36:57 $ docker rm -f 6b98dcc3ea668cecaa55454b7323ce59cd723e2c701da177bdc11c7f3d2829e2 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:36:58 . [Pipeline] withDockerContainer 21:36:58 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:36:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:36:59 $ docker top 8cba299702b073e7120719899d4fcd9117ab581c57b0f67b8aa3e2fe2cca99e1 -eo pid,comm 21:36: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). 21:36:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:59 [ssh-agent] Looking for ssh-agent implementation... 21:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:59 $ docker exec 8cba299702b073e7120719899d4fcd9117ab581c57b0f67b8aa3e2fe2cca99e1 ssh-agent 21:36:59 SSH_AUTH_SOCK=/tmp/ssh-POJEJTbGGNYS/agent.32 21:36:59 SSH_AGENT_PID=39 21:36:59 Running ssh-add (command line suppressed) 21:36:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1035131295383361859.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1035131295383361859.key) 21:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:59 + git semver push 21:37:00 2022-04-28 21:37:00,140 [run_push] DEBUG push 21:37:00 2022-04-28 21:37:00,141 [execute] INFO git push origin semver 21:37:00 2022-04-28 21:37:00,141 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:37:01 2022-04-28 21:37:00,961 [run_push] DEBUG push all version tags 21:37:01 2022-04-28 21:37:00,961 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:37:01 2022-04-28 21:37:00,962 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:37:02 2022-04-28 21:37:01,743 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:37:02 2.2.0-dev.36 [Pipeline] } 21:37:02 $ docker exec --env ******** --env ******** 8cba299702b073e7120719899d4fcd9117ab581c57b0f67b8aa3e2fe2cca99e1 ssh-agent -k 21:37:02 unset SSH_AUTH_SOCK; 21:37:02 unset SSH_AGENT_PID; 21:37:02 echo Agent pid 39 killed; 21:37:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:02 + git semver [Pipeline] } 21:37:02 $ docker stop --time=1 8cba299702b073e7120719899d4fcd9117ab581c57b0f67b8aa3e2fe2cca99e1 21:37:04 $ docker rm -f 8cba299702b073e7120719899d4fcd9117ab581c57b0f67b8aa3e2fe2cca99e1 [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 21:37:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:37:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:37:04 total 16 21:37:04 drwxr-xr-x 3 root root 4096 Apr 28 21:24 . 21:37:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:36 .. 21:37:04 drwxr-xr-x 2 root root 4096 Apr 28 21:24 cost 21:37:04 -rw-r--r-- 1 root root 83 Apr 28 21:24 cost.csv 21:37:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:37:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:37:04 total 16 21:37:04 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 21:24 . 21:37:04 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 21:36 .. 21:37:04 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 21:24 cost 21:37:04 -rw-r--r-- 1 jenkins jenkins 83 Apr 28 21:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:37:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:37:06 ---> package-listing.sh 21:37:06 ++ facter osfamily 21:37:06 ++ tr '[:upper:]' '[:lower:]' 21:37:06 + OS_FAMILY=debian 21:37:06 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:37:06 + START_PACKAGES=/tmp/packages_start.txt 21:37:06 + END_PACKAGES=/tmp/packages_end.txt 21:37:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:37:06 + PACKAGES=/tmp/packages_start.txt 21:37:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:37:06 + PACKAGES=/tmp/packages_end.txt 21:37:06 + case "${OS_FAMILY}" in 21:37:06 + dpkg -l 21:37:06 + grep '^ii' 21:37:06 + '[' -f /tmp/packages_start.txt ']' 21:37:06 + '[' -f /tmp/packages_end.txt ']' 21:37:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:37:06 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:37:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:37:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:37:06 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:37:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:37:07 . [Pipeline] withDockerContainer 21:37:07 prd-ubuntu20.04-docker-8c-8g-33728 does not seem to be running inside a container 21:37:07 $ 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/edgexfoundry_device-sdk-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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-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 21:37:07 $ docker top 556ee73695e3d77db2218f527318a8a059755ebf5c2906cabdcecc8195af2a89 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:08 + touch /tmp/pre-build-complete [Pipeline] sh 21:37:08 + mkdir -p /var/log/sysstat [Pipeline] sh 21:37:08 + ls /var/log/sa-host 21:37:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:37:08 provisioning config files... 21:37:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config989875117598057712tmp [Pipeline] { [Pipeline] echo 21:37:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:37:09 ---> create-netrc.sh [Pipeline] } 21:37:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:37:09 ---> python-tools-install.sh [Pipeline] echo 21:37:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:37:09 ---> sudo-logs.sh 21:37:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:37:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:37:10 ---> job-cost.sh 21:37:10 lf-activate-venv: SKIPPING 21:37:10 DEBUG: total: 0.2199999988079071 21:37:10 INFO: Retrieving Stack Cost... 21:37:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:37:11 INFO: Archiving Costs [Pipeline] echo 21:37:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:37:11 ---> logs-deploy.sh 21:37:11 lf-activate-venv: SKIPPING 21:37:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/68 21:37:11 INFO: archiving workspace using pattern(s): 21:37:12 Archives upload complete. 21:37:12 INFO: archiving logs to Nexus