Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 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-ssh3411731132445184814.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-ssh5505502955061130083.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-ssh5565721582974243983.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-ssh13121359914954470697.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-ssh5926117825049078949.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-47781 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 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 (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 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 # timeout=10 Commit message: "Merge pull request #1161 from lenny-intel/remove-data-from-map" > git rev-list --no-walk 95cc41607fa0e7e8234cfcf8f734ea02839e59f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:21:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:21:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:21:10 ========================================================= 15:21:10 EdgeX Global Pipelines Version Info 15:21:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:21:11 ------------------- 15:21:11 stable info: 15:21:11 ------------------- 15:21:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:21:11 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 15:21:11 Message: update stable to v1.0.227 15:21:12 ------------------- 15:21:12 experimental info: 15:21:12 ------------------- 15:21:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:21:12 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 15:21:12 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a42dac2 [Pipeline] echo 15:21:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:12 provisioning config files... 15:21:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1037986087604659495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:13 ---> docker-login.sh 15:21:13 nexus3.edgexfoundry.org:10001 15:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:13 Configure a credential helper to remove this warning. See 15:21:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:13 15:21:13 Login Succeeded 15:21:13 nexus3.edgexfoundry.org:10002 15:21:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:14 Configure a credential helper to remove this warning. See 15:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:14 15:21:14 Login Succeeded 15:21:14 nexus3.edgexfoundry.org:10003 15:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:14 Configure a credential helper to remove this warning. See 15:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:14 15:21:14 Login Succeeded 15:21:14 nexus3.edgexfoundry.org:10004 15:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:14 Configure a credential helper to remove this warning. See 15:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:14 15:21:14 Login Succeeded 15:21:14 docker.io 15:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:14 Configure a credential helper to remove this warning. See 15:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:14 15:21:14 Login Succeeded 15:21:14 ---> docker-login.sh ends [Pipeline] } 15:21:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:21:15 + git rev-list -1 --merges a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96~1..a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] echo 15:21:15 -----------> git rev-list -1 --merges a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96~1..a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 15:21:15 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [false] [Pipeline] sh 15:21:15 + git log --format=format:%s -1 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] echo 15:21:15 ========================================================= 15:21:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:21:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:16 + git log --format=format:%s -1 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] echo 15:21:16 [semverPrep] GIT_COMMIT: a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96, Commit Message: Merge pull request #1161 from lenny-intel/remove-data-from-map [Pipeline] echo 15:21:16 [semverPrep] This is not a build commit. [Pipeline] sh 15:21:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:21:16 + grep -v github /etc/ssh/ssh_known_hosts 15:21:16 + [ -e /tmp/ssh_known_hosts ] 15:21:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:21:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:21:16 + sudo tee -a /etc/ssh/ssh_known_hosts 15:21:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:21:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:21:16 15:21:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:21:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:21:17 latest: Pulling from edgex-devops/py-git-semver 15:21:17 1fe172e4850f: Pulling fs layer 15:21:17 caf521ccaac6: Pulling fs layer 15:21:17 3ead6fa29328: Pulling fs layer 15:21:17 5c2a1cbceb83: Pulling fs layer 15:21:17 a8d5f1318db7: Pulling fs layer 15:21:17 c427282e49a2: Pulling fs layer 15:21:17 1827001aaf11: Pulling fs layer 15:21:17 0714d37db230: Pulling fs layer 15:21:17 ac28cf19c067: Pulling fs layer 15:21:17 ca983d60f3e2: Pulling fs layer 15:21:17 9f894cec8388: Pulling fs layer 15:21:17 5c2a1cbceb83: Waiting 15:21:17 a8d5f1318db7: Waiting 15:21:17 1827001aaf11: Waiting 15:21:17 c427282e49a2: Waiting 15:21:17 0714d37db230: Waiting 15:21:17 ac28cf19c067: Waiting 15:21:17 9f894cec8388: Waiting 15:21:17 ca983d60f3e2: Waiting 15:21:17 caf521ccaac6: Verifying Checksum 15:21:17 caf521ccaac6: Download complete 15:21:17 5c2a1cbceb83: Verifying Checksum 15:21:17 5c2a1cbceb83: Download complete 15:21:17 a8d5f1318db7: Verifying Checksum 15:21:17 a8d5f1318db7: Download complete 15:21:17 3ead6fa29328: Verifying Checksum 15:21:17 3ead6fa29328: Download complete 15:21:17 c427282e49a2: Verifying Checksum 15:21:17 c427282e49a2: Download complete 15:21:17 0714d37db230: Download complete 15:21:17 ac28cf19c067: Verifying Checksum 15:21:17 ac28cf19c067: Download complete 15:21:17 ca983d60f3e2: Verifying Checksum 15:21:17 ca983d60f3e2: Download complete 15:21:17 9f894cec8388: Verifying Checksum 15:21:17 9f894cec8388: Download complete 15:21:17 1fe172e4850f: Verifying Checksum 15:21:17 1fe172e4850f: Download complete 15:21:17 1827001aaf11: Verifying Checksum 15:21:17 1827001aaf11: Download complete 15:21:19 1fe172e4850f: Pull complete 15:21:19 caf521ccaac6: Pull complete 15:21:19 3ead6fa29328: Pull complete 15:21:19 5c2a1cbceb83: Pull complete 15:21:19 a8d5f1318db7: Pull complete 15:21:19 c427282e49a2: Pull complete 15:21:21 1827001aaf11: Pull complete 15:21:21 0714d37db230: Pull complete 15:21:21 ac28cf19c067: Pull complete 15:21:21 ca983d60f3e2: Pull complete 15:21:21 9f894cec8388: Pull complete 15:21:22 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:21:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:21:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:21:22 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:21:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:21:24 $ docker top a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f -eo pid,comm 15:21:24 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). 15:21:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:21:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:24 [ssh-agent] Looking for ssh-agent implementation... 15:21:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:24 $ docker exec a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f ssh-agent 15:21:24 SSH_AUTH_SOCK=/tmp/ssh-ixTySSZ57S8Y/agent.32 15:21:24 SSH_AGENT_PID=38 15:21:24 Running ssh-add (command line suppressed) 15:21:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1343548782720020107.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1343548782720020107.key) 15:21:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:24 + git tag --points-at HEAD [Pipeline] } 15:21:24 $ docker exec --env ******** --env ******** a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f ssh-agent -k 15:21:24 unset SSH_AUTH_SOCK; 15:21:24 unset SSH_AGENT_PID; 15:21:24 echo Agent pid 38 killed; 15:21:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:21:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:21:24 [ssh-agent] Looking for ssh-agent implementation... 15:21:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:21:25 $ docker exec a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f ssh-agent 15:21:25 SSH_AUTH_SOCK=/tmp/ssh-RGazn5192YPd/agent.73 15:21:25 SSH_AGENT_PID=80 15:21:25 Running ssh-add (command line suppressed) 15:21:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_862326345017464096.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_862326345017464096.key) 15:21:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:21:25 + git semver init 15:21:25 2022-05-10 15:21:25,869 [run_init] DEBUG init version:0.0.0 force:False 15:21:25 2022-05-10 15:21:25,871 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:21:25 2022-05-10 15:21:25,872 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:21:25 2022-05-10 15:21:25,872 [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) 15:21:26 2022-05-10 15:21:26,737 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:21:26 2022-05-10 15:21:26,737 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:21:26 2022-05-10 15:21:26,737 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:21:26 2022-05-10 15:21:26,738 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:21:26 2.2.0-dev.39 [Pipeline] } 15:21:26 $ docker exec --env ******** --env ******** a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f ssh-agent -k 15:21:27 unset SSH_AUTH_SOCK; 15:21:27 unset SSH_AGENT_PID; 15:21:27 echo Agent pid 80 killed; 15:21:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:21:27 + git semver [Pipeline] } 15:21:27 $ docker stop --time=1 a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f 15:21:28 $ docker rm -f a1646422cb0aa15e87ed8ea7300a8aa82fe05f4e124473e147ed765c744d069f [Pipeline] // withDockerContainer [Pipeline] sh 15:21:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:21:29 Stashed 1 file(s) [Pipeline] echo 15:21:29 [edgeXSemver]: initialized semver on version 2.2.0-dev.39 [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 15:21:29 provisioning config files... 15:21:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1048502269180425256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:30 ---> docker-login.sh 15:21:30 nexus3.edgexfoundry.org:10001 15:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:30 Configure a credential helper to remove this warning. See 15:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:30 15:21:30 Login Succeeded 15:21:30 nexus3.edgexfoundry.org:10002 15:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:30 Configure a credential helper to remove this warning. See 15:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:30 15:21:30 Login Succeeded 15:21:30 nexus3.edgexfoundry.org:10003 15:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:30 Configure a credential helper to remove this warning. See 15:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:30 15:21:30 Login Succeeded 15:21:30 nexus3.edgexfoundry.org:10004 15:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:30 Configure a credential helper to remove this warning. See 15:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:30 15:21:30 Login Succeeded 15:21:30 docker.io 15:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:30 Configure a credential helper to remove this warning. See 15:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:30 15:21:30 Login Succeeded 15:21:30 ---> docker-login.sh ends [Pipeline] } 15:21:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:30 ========================================================= 15:21:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:21:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:21:31 + 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 . 15:21:31 Sending build context to Docker daemon 9.705MB 15:21:31 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:21:31 Step 2/11 : FROM ${BASE} AS builder 15:21:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:21:31 59bf1c3509f3: Pulling fs layer 15:21:31 666ba61612fd: Pulling fs layer 15:21:31 8ed8ca486205: Pulling fs layer 15:21:31 4fe6c5a15a65: Pulling fs layer 15:21:31 22a0e8bec74d: Pulling fs layer 15:21:31 ca2b28591e48: Pulling fs layer 15:21:31 a51346096db8: Pulling fs layer 15:21:31 daebc70d1ce1: Pulling fs layer 15:21:31 0e18a0eac166: Pulling fs layer 15:21:31 ca2b28591e48: Waiting 15:21:31 a51346096db8: Waiting 15:21:31 4fe6c5a15a65: Waiting 15:21:31 daebc70d1ce1: Waiting 15:21:31 22a0e8bec74d: Waiting 15:21:31 0e18a0eac166: Waiting 15:21:31 8ed8ca486205: Download complete 15:21:31 666ba61612fd: Verifying Checksum 15:21:31 666ba61612fd: Download complete 15:21:31 22a0e8bec74d: Verifying Checksum 15:21:31 22a0e8bec74d: Download complete 15:21:31 ca2b28591e48: Verifying Checksum 15:21:31 ca2b28591e48: Download complete 15:21:31 59bf1c3509f3: Download complete 15:21:31 a51346096db8: Verifying Checksum 15:21:31 a51346096db8: Download complete 15:21:31 daebc70d1ce1: Verifying Checksum 15:21:31 daebc70d1ce1: Download complete 15:21:31 59bf1c3509f3: Pull complete 15:21:31 666ba61612fd: Pull complete 15:21:32 8ed8ca486205: Pull complete 15:21:32 0e18a0eac166: Verifying Checksum 15:21:32 0e18a0eac166: Download complete 15:21:32 4fe6c5a15a65: Verifying Checksum 15:21:32 4fe6c5a15a65: Download complete 15:21:36 4fe6c5a15a65: Pull complete 15:21:36 22a0e8bec74d: Pull complete 15:21:36 ca2b28591e48: Pull complete 15:21:36 a51346096db8: Pull complete 15:21:36 daebc70d1ce1: Pull complete 15:21:38 0e18a0eac166: Pull complete 15:21:38 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:21:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:21:38 ---> f018257e8ee9 15:21:38 Step 3/11 : ARG MAKE=make build 15:21:40 ---> Running in 473cf0d13467 15:21:41 Removing intermediate container 473cf0d13467 15:21:41 ---> bfdbb57f3135 15:21:41 Step 4/11 : WORKDIR /device-sdk-go 15:21:41 ---> Running in 1fad0e791ee9 15:21:41 Removing intermediate container 1fad0e791ee9 15:21:41 ---> db6e3106bea1 15:21:41 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:21:41 ---> Running in 4a0eedb39437 15:21:41 Removing intermediate container 4a0eedb39437 15:21:41 ---> a9cf43e68a3b 15:21:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:41 ---> Running in 0fa1a839d023 15:21:42 Removing intermediate container 0fa1a839d023 15:21:42 ---> c8460baea4bb 15:21:42 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:21:42 ---> Running in 0cb15fa077e0 15:21:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:21:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:21:43 OK: 221 MiB in 52 packages 15:21:44 Removing intermediate container 0cb15fa077e0 15:21:44 ---> 6748f5f979ae 15:21:44 Step 8/11 : COPY go.mod vendor* ./ 15:21:44 ---> def360328061 15:21:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:21:44 ---> Running in 169ac2c6892f 15:21:44 Still waiting to schedule task 15:21:44 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:21:59 Removing intermediate container 169ac2c6892f 15:21:59 ---> af371046dd9d 15:21:59 Step 10/11 : COPY . . 15:21:59 ---> 6b002f27d00f 15:21:59 Step 11/11 : RUN ${MAKE} 15:21:59 ---> Running in 847b511add92 15:22:00 noop 15:22:00 Removing intermediate container 847b511add92 15:22:00 ---> 1530ed40a19d 15:22:00 Successfully built 1530ed40a19d 15:22:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:22:00 + docker inspect -f . ci-base-image-x86_64 15:22:00 . [Pipeline] withDockerContainer 15:22:00 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:22:00 $ 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 ******** ci-base-image-x86_64 cat 15:22:01 $ docker top ef5708acb57f7f28e649b315c5b9fff4fc6da065c3784a4460b26bd840a25242 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:01 + go version 15:22:01 go version go1.17.6 linux/amd64 [Pipeline] } 15:22:01 $ docker stop --time=1 ef5708acb57f7f28e649b315c5b9fff4fc6da065c3784a4460b26bd840a25242 15:22:02 $ docker rm -f ef5708acb57f7f28e649b315c5b9fff4fc6da065c3784a4460b26bd840a25242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:03 + docker inspect -f . ci-base-image-x86_64 15:22:03 . [Pipeline] withDockerContainer 15:22:03 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:22:03 $ 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 ******** ci-base-image-x86_64 cat 15:22:03 $ docker top 407e543ee1d1ec9da045b3c6c572cc0b9569426367c9ee70aff142490ccd7cd7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:22:04 + make test 15:22:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:22:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:22:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 23.3% of statements 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:22:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.099s coverage: 27.6% of statements 15:22:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 15:22:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 10.8% of statements 15:22:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.081s coverage: 60.0% of statements 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:22:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:22:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 34.8% of statements 15:22:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:22:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 86.5% of statements 15:22:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:22:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:22:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 65.1% of statements 15:22:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 89.2% of statements 15:22:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:22:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 15:22:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:22:37 GO111MODULE=on go vet ./... 15:22:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:22:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:22:42 ./bin/test-attribution-txt.sh [Pipeline] echo 15:22:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:22:42 $ docker stop --time=1 407e543ee1d1ec9da045b3c6c572cc0b9569426367c9ee70aff142490ccd7cd7 15:22:44 $ docker rm -f 407e543ee1d1ec9da045b3c6c572cc0b9569426367c9ee70aff142490ccd7cd7 [Pipeline] // withDockerContainer [Pipeline] sh 15:22:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:22:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:22:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:22:46 + ls -al . 15:22:46 total 296 15:22:46 drwxrwxr-x 11 jenkins jenkins 4096 May 10 15:22 . 15:22:46 drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:21 .. 15:22:46 -rw-rw-r-- 1 jenkins jenkins 140 May 10 15:21 .dockerignore 15:22:46 drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:21 .git 15:22:46 drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:21 .github 15:22:46 -rw-rw-r-- 1 jenkins jenkins 131 May 10 15:21 .gitignore 15:22:46 -rw-rw-r-- 1 jenkins jenkins 42 May 10 15:21 .golangci.yml 15:22:46 drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:21 .semver 15:22:46 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 15:21 CHANGELOG.md 15:22:46 -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:21 GOVERNANCE.md 15:22:46 -rw-rw-r-- 1 jenkins jenkins 880 May 10 15:21 Jenkinsfile 15:22:46 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 15:21 LICENSE 15:22:46 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 15:21 Makefile 15:22:46 -rw-rw-r-- 1 jenkins jenkins 619 May 10 15:21 OWNERS.md 15:22:46 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 15:21 README.md 15:22:46 -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:21 VERSION 15:22:46 drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:21 bin 15:22:46 -rw-r--r-- 1 jenkins jenkins 130739 May 10 15:22 coverage.out 15:22:46 drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:21 example 15:22:46 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 15:21 go.mod 15:22:46 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 15:21 go.sum 15:22:46 drwxrwxr-x 15 jenkins jenkins 4096 May 10 15:21 internal 15:22:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:21 openapi 15:22:46 drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:21 pkg 15:22:46 drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:21 snap 15:22:46 -rw-rw-r-- 1 jenkins jenkins 222 May 10 15:21 version.go [Pipeline] isUnix [Pipeline] sh 15:22:46 + 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=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 --label arch=amd64 --label version=2.2.0-dev.39 . 15:22:46 Sending build context to Docker daemon 9.837MB 15:22:46 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:22:46 Step 2/25 : FROM ${BASE} AS builder 15:22:46 ---> 1530ed40a19d 15:22:46 Step 3/25 : ARG MAKE=make build 15:22:46 ---> Running in 6928a2ea80f7 15:22:47 Removing intermediate container 6928a2ea80f7 15:22:47 ---> fd3f9caaa8ab 15:22:47 Step 4/25 : WORKDIR /device-sdk-go 15:22:47 ---> Running in ad549944536a 15:22:47 Removing intermediate container ad549944536a 15:22:47 ---> ab054fc99426 15:22:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:22:47 ---> Running in 6b519f02be62 15:22:47 Removing intermediate container 6b519f02be62 15:22:47 ---> 47f022d589d9 15:22:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:22:47 ---> Running in 959718f92290 15:22:48 Removing intermediate container 959718f92290 15:22:48 ---> 8f5940caeb52 15:22:48 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:22:48 ---> Running in 216fbd043d11 15:22:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:22:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:22:49 OK: 221 MiB in 52 packages 15:22:50 Removing intermediate container 216fbd043d11 15:22:50 ---> 95042db1ee99 15:22:50 Step 8/25 : COPY go.mod vendor* ./ 15:22:50 ---> fcc44d32914b 15:22:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:50 ---> Running in a91fc845f8d4 15:22:51 Removing intermediate container a91fc845f8d4 15:22:51 ---> 4e53831c578c 15:22:51 Step 10/25 : COPY . . 15:22:51 ---> d74db7ea2c5c 15:22:51 Step 11/25 : RUN ${MAKE} 15:22:51 ---> Running in 9b174e31767d 15:22:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.39" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:23:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:23:10 Removing intermediate container 9b174e31767d 15:23:10 ---> b3372a22342d 15:23:10 Step 12/25 : FROM alpine:3.14 15:23:11 3.14: Pulling from library/alpine 15:23:11 8663204ce13b: Pulling fs layer 15:23:11 8663204ce13b: Verifying Checksum 15:23:11 8663204ce13b: Download complete 15:23:11 8663204ce13b: Pull complete 15:23:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:23:11 Status: Downloaded newer image for alpine:3.14 15:23:11 ---> e04c818066af 15:23:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:23:11 ---> Running in 1e468c7036f4 15:23:11 Removing intermediate container 1e468c7036f4 15:23:11 ---> 756e1754e626 15:23:11 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:23:11 ---> Running in aa366525de0f 15:23:12 Removing intermediate container aa366525de0f 15:23:12 ---> 62d4618784a3 15:23:12 Step 15/25 : RUN apk add --update --no-cache zeromq 15:23:12 ---> Running in 0f7f695a7291 15:23:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:23:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:23:14 (1/5) Installing libgcc (10.3.1_git20210424-r2) 15:23:14 (2/5) Installing libsodium (1.0.18-r0) 15:23:14 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 15:23:14 (4/5) Installing libzmq (4.3.4-r0) 15:23:14 (5/5) Installing zeromq (4.3.4-r0) 15:23:14 Executing busybox-1.33.1-r7.trigger 15:23:14 OK: 8 MiB in 19 packages 15:23:14 Removing intermediate container 0f7f695a7291 15:23:14 ---> f669ceb5b346 15:23:14 Step 16/25 : WORKDIR / 15:23:15 ---> Running in c9c374e0ad38 15:23:15 Removing intermediate container c9c374e0ad38 15:23:15 ---> 1d268a9de0f7 15:23:15 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:23:15 ---> d57b6f78dd3f 15:23:15 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:23:15 ---> b519abc0cd22 15:23:15 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:23:15 ---> b1de919b1515 15:23:15 Step 20/25 : EXPOSE 59999 15:23:16 ---> Running in 492774b26099 15:23:16 Removing intermediate container 492774b26099 15:23:16 ---> c2b760213fd6 15:23:16 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:23:16 ---> Running in 720edd3ba1ab 15:23:16 Removing intermediate container 720edd3ba1ab 15:23:16 ---> 90a53daa2158 15:23:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:23:16 ---> Running in be4bd9d4d4af 15:23:16 Removing intermediate container be4bd9d4d4af 15:23:16 ---> bb3054433944 15:23:16 Step 23/25 : LABEL arch=amd64 15:23:16 ---> Running in b7927294c507 15:23:17 Removing intermediate container b7927294c507 15:23:17 ---> 7d348fab2753 15:23:17 Step 24/25 : LABEL git_sha=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 15:23:17 ---> Running in 6f6dee7f4385 15:23:17 Removing intermediate container 6f6dee7f4385 15:23:17 ---> cc75c77d3c5b 15:23:17 Step 25/25 : LABEL version=2.2.0-dev.39 15:23:17 ---> Running in d346d165d6a3 15:23:17 Removing intermediate container d346d165d6a3 15:23:17 ---> fdbfc655af44 15:23:17 [Warning] One or more build-args [ARCH] were not consumed 15:23:17 Successfully built fdbfc655af44 15:23:17 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 15:23:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:18 15:23:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:23:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:18 latest: Pulling from edgex-lftools-log-publisher 15:23:18 5eb5b503b376: Pulling fs layer 15:23:18 5c69ac0246d0: Pulling fs layer 15:23:18 ec43610c2a17: Pulling fs layer 15:23:18 3a2ae6a8a46f: Pulling fs layer 15:23:18 33b1e0a273af: Pulling fs layer 15:23:18 5d3b04190fa2: Pulling fs layer 15:23:18 2f39f015ded8: Pulling fs layer 15:23:18 3a2ae6a8a46f: Waiting 15:23:18 33b1e0a273af: Waiting 15:23:18 5d3b04190fa2: Waiting 15:23:18 2f39f015ded8: Waiting 15:23:18 5c69ac0246d0: Download complete 15:23:18 3a2ae6a8a46f: Verifying Checksum 15:23:18 3a2ae6a8a46f: Download complete 15:23:18 ec43610c2a17: Verifying Checksum 15:23:18 ec43610c2a17: Download complete 15:23:18 33b1e0a273af: Verifying Checksum 15:23:18 33b1e0a273af: Download complete 15:23:18 5d3b04190fa2: Verifying Checksum 15:23:18 5d3b04190fa2: Download complete 15:23:18 5eb5b503b376: Verifying Checksum 15:23:19 2f39f015ded8: Download complete 15:23:19 5eb5b503b376: Pull complete 15:23:19 5c69ac0246d0: Pull complete 15:23:20 ec43610c2a17: Pull complete 15:23:20 3a2ae6a8a46f: Pull complete 15:23:20 33b1e0a273af: Pull complete 15:23:20 5d3b04190fa2: Pull complete 15:23:24 2f39f015ded8: Pull complete 15:23:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:23:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:23:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:23:25 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:23:25 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:23:27 $ docker top 7a8e934b2343c516a57d5c8e4ba59c29bd8eee557dd972d049706a5c608bf427 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:27 ---> job-cost.sh 15:23:27 lf-activate-venv: SKIPPING 15:23:27 INFO: No Stack... 15:23:28 INFO: Retrieving Pricing Info for: v3-standard-8 15:23:28 INFO: Archiving Costs [Pipeline] sh 15:23:28 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:23:28 + cut -d, -f6 [Pipeline] lock 15:23:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] 15:23:28 Resource [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] did not exist. Created. 15:23:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:23:29 + echo total: 0.2199999988079071 [Pipeline] stash 15:23:29 Stashed 1 file(s) [Pipeline] } 15:23:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 15:23:29 $ docker stop --time=1 7a8e934b2343c516a57d5c8e4ba59c29bd8eee557dd972d049706a5c608bf427 15:23:30 $ docker rm -f 7a8e934b2343c516a57d5c8e4ba59c29bd8eee557dd972d049706a5c608bf427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:24:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47783 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:24:37 Running in /w/workspace/device-sdk-go/73 [Pipeline] { [Pipeline] checkout 15:24:37 The recommended git tool is: git 15:24:43 using credential edgex-jenkins-ssh 15:24:43 Cloning the remote Git repository 15:24:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:24:43 > git init /w/workspace/device-sdk-go/73 # timeout=10 15:24:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:24:44 > git --version # timeout=10 15:24:44 > git --version # 'git version 2.25.1' 15:24:44 using GIT_SSH to set credentials SSH Credentials for GitHub 15:24:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:45 Avoid second fetch 15:24:45 Checking out Revision a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 (main) 15:24:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:24:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:24:45 > git config core.sparsecheckout # timeout=10 15:24:45 > git checkout -f a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 # timeout=10 15:24:50 Commit message: "Merge pull request #1161 from lenny-intel/remove-data-from-map" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:24:51 % Total % Received % Xferd Average Speed Time Time Time Current 15:24:51 Dload Upload Total Spent Left Speed 15:24:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 53831 0 --:--:-- --:--:-- --:--:-- 53831 [Pipeline] sh 15:24:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:24:52 + sudo tee /etc/docker/daemon.new 15:24:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:24:52 { 15:24:52 "registry-mirrors": [ 15:24:52 "https://nexus3.edgexfoundry.org:10001" 15:24:52 ], 15:24:52 "bip": "10.250.0.254/24", 15:24:52 "hosts": [ 15:24:52 "tcp://0.0.0.0:5555", 15:24:52 "unix:///var/run/docker.sock" 15:24:52 ], 15:24:52 "mtu": 1458, 15:24:52 "selinux-enabled": true, 15:24:52 "seccomp-profile": "/etc/docker/seccomp.json" 15:24:52 } [Pipeline] sh 15:24:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:24:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:25:11 provisioning config files... 15:25:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/73@tmp/config8434772107019887787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:25:11 ---> docker-login.sh 15:25:11 nexus3.edgexfoundry.org:10001 15:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:12 Configure a credential helper to remove this warning. See 15:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:12 15:25:12 Login Succeeded 15:25:12 nexus3.edgexfoundry.org:10002 15:25:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:13 Configure a credential helper to remove this warning. See 15:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:13 15:25:13 Login Succeeded 15:25:13 nexus3.edgexfoundry.org:10003 15:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:13 Configure a credential helper to remove this warning. See 15:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:13 15:25:13 Login Succeeded 15:25:13 nexus3.edgexfoundry.org:10004 15:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:13 Configure a credential helper to remove this warning. See 15:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:13 15:25:13 Login Succeeded 15:25:13 docker.io 15:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:25:14 Configure a credential helper to remove this warning. See 15:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:25:14 15:25:14 Login Succeeded 15:25:14 ---> docker-login.sh ends [Pipeline] } 15:25:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:25:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:25:15 ========================================================= 15:25:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:25:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:25:15 + 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 . 15:25:16 Sending build context to Docker daemon 5.229MB 15:25:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:25:16 Step 2/11 : FROM ${BASE} AS builder 15:25:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:25:16 9b3977197b4f: Pulling fs layer 15:25:16 1a89e8eeedd5: Pulling fs layer 15:25:16 94645a83ff95: Pulling fs layer 15:25:16 3f3a8bcf1eab: Pulling fs layer 15:25:16 0c92f367c5e7: Pulling fs layer 15:25:16 3096ccb668a1: Pulling fs layer 15:25:16 e8cf19c19ddd: Pulling fs layer 15:25:16 a4caa8a26152: Pulling fs layer 15:25:16 0c92f367c5e7: Waiting 15:25:16 3096ccb668a1: Waiting 15:25:16 e8cf19c19ddd: Waiting 15:25:16 a4caa8a26152: Waiting 15:25:16 3f3a8bcf1eab: Waiting 15:25:16 94645a83ff95: Verifying Checksum 15:25:16 94645a83ff95: Download complete 15:25:16 1a89e8eeedd5: Download complete 15:25:16 0c92f367c5e7: Verifying Checksum 15:25:16 0c92f367c5e7: Download complete 15:25:16 3096ccb668a1: Verifying Checksum 15:25:16 3096ccb668a1: Download complete 15:25:16 9b3977197b4f: Verifying Checksum 15:25:16 9b3977197b4f: Download complete 15:25:16 e8cf19c19ddd: Verifying Checksum 15:25:16 e8cf19c19ddd: Download complete 15:25:17 9b3977197b4f: Pull complete 15:25:18 1a89e8eeedd5: Pull complete 15:25:18 94645a83ff95: Pull complete 15:25:18 a4caa8a26152: Verifying Checksum 15:25:18 a4caa8a26152: Download complete 15:25:19 3f3a8bcf1eab: Verifying Checksum 15:25:19 3f3a8bcf1eab: Download complete 15:25:31 3f3a8bcf1eab: Pull complete 15:25:32 0c92f367c5e7: Pull complete 15:25:32 3096ccb668a1: Pull complete 15:25:33 e8cf19c19ddd: Pull complete 15:25:39 a4caa8a26152: Pull complete 15:25:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:25:39 ---> 725f1c02e7f9 15:25:39 Step 3/11 : ARG MAKE=make build 15:25:41 ---> Running in 01b9cabc6538 15:25:41 Removing intermediate container 01b9cabc6538 15:25:41 ---> 41191fd29250 15:25:41 Step 4/11 : WORKDIR /device-sdk-go 15:25:41 ---> Running in 55e4df4c33f0 15:25:41 Removing intermediate container 55e4df4c33f0 15:25:41 ---> 24a86379cc83 15:25:41 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:25:41 ---> Running in 44a5b1c0e524 15:25:42 Removing intermediate container 44a5b1c0e524 15:25:42 ---> 71ac12d5652a 15:25:42 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:42 ---> Running in 616a14fc0409 15:25:45 Removing intermediate container 616a14fc0409 15:25:45 ---> 163978c65d2b 15:25:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:25:45 ---> Running in d27bdf97ed89 15:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:25:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:25:48 OK: 220 MiB in 52 packages 15:25:49 Removing intermediate container d27bdf97ed89 15:25:49 ---> aa0e26b6442c 15:25:49 Step 8/11 : COPY go.mod vendor* ./ 15:25:49 ---> aa4cc746798f 15:25:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:49 ---> Running in 83318e7f28bc 15:26:36 Removing intermediate container 83318e7f28bc 15:26:36 ---> 03e69f606aff 15:26:36 Step 10/11 : COPY . . 15:26:36 ---> e722c91b2941 15:26:36 Step 11/11 : RUN ${MAKE} 15:26:36 ---> Running in dced1d042538 15:26:37 noop 15:26:37 Removing intermediate container dced1d042538 15:26:37 ---> 3497789bdeda 15:26:37 Successfully built 3497789bdeda 15:26:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:26:38 + docker inspect -f . ci-base-image-arm64 15:26:38 . [Pipeline] withDockerContainer 15:26:38 prd-ubuntu20.04-docker-arm64-4c-16g-47783 does not seem to be running inside a container 15:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/73 -v /w/workspace/device-sdk-go/73:/w/workspace/device-sdk-go/73:rw,z -v /w/workspace/device-sdk-go/73@tmp:/w/workspace/device-sdk-go/73@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 15:26:39 $ docker top 005f74110179688568a51684da3e953cb220eaf9214207ab11d9604fbcdc3dbc -eo pid,comm [Pipeline] { [Pipeline] sh 15:26:40 + go version 15:26:40 go version go1.17.6 linux/arm64 [Pipeline] } 15:26:40 $ docker stop --time=1 005f74110179688568a51684da3e953cb220eaf9214207ab11d9604fbcdc3dbc 15:26:42 $ docker rm -f 005f74110179688568a51684da3e953cb220eaf9214207ab11d9604fbcdc3dbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:26:43 + docker inspect -f . ci-base-image-arm64 15:26:43 . [Pipeline] withDockerContainer 15:26:43 prd-ubuntu20.04-docker-arm64-4c-16g-47783 does not seem to be running inside a container 15:26:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/73 -v /w/workspace/device-sdk-go/73:/w/workspace/device-sdk-go/73:rw,z -v /w/workspace/device-sdk-go/73@tmp:/w/workspace/device-sdk-go/73@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 15:26:44 $ docker top 490602d74e566dd3480d0bee05cc49b8fe428c2574cbedbb141dbd90d309bd29 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:26:45 + make test 15:26:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:27:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:29:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:29:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:29:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:29:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.359s coverage: 23.3% of statements 15:29:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:29:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements 15:29:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.362s coverage: 78.9% of statements 15:29:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.251s coverage: 10.8% of statements 15:29:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.362s coverage: 60.0% of statements 15:29:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:29:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:29:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.478s coverage: 34.8% of statements 15:29:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:29:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.282s coverage: 86.5% of statements 15:29:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:29:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:29:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.448s coverage: 65.1% of statements 15:29:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.316s coverage: 89.2% of statements 15:29:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:29:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements 15:29:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:29:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:29:29 GO111MODULE=on go vet ./... 15:31:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:31:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:31:06 ./bin/test-attribution-txt.sh [Pipeline] echo 15:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:31:06 $ docker stop --time=1 490602d74e566dd3480d0bee05cc49b8fe428c2574cbedbb141dbd90d309bd29 15:31:08 $ docker rm -f 490602d74e566dd3480d0bee05cc49b8fe428c2574cbedbb141dbd90d309bd29 [Pipeline] // withDockerContainer [Pipeline] sh 15:31:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:31:09 Warning: overwriting stash ‘coverage-report’ 15:31:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:31:11 + ls -al . 15:31:11 total 292 15:31:11 drwxrwxr-x 10 jenkins jenkins 4096 May 10 15:31 . 15:31:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:24 .. 15:31:11 -rw-rw-r-- 1 jenkins jenkins 140 May 10 15:24 .dockerignore 15:31:11 drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:24 .git 15:31:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:24 .github 15:31:11 -rw-rw-r-- 1 jenkins jenkins 131 May 10 15:24 .gitignore 15:31:11 -rw-rw-r-- 1 jenkins jenkins 42 May 10 15:24 .golangci.yml 15:31:11 -rw-rw-r-- 1 jenkins jenkins 26321 May 10 15:24 CHANGELOG.md 15:31:11 -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:24 GOVERNANCE.md 15:31:11 -rw-rw-r-- 1 jenkins jenkins 880 May 10 15:24 Jenkinsfile 15:31:11 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 15:24 LICENSE 15:31:11 -rw-rw-r-- 1 jenkins jenkins 2015 May 10 15:24 Makefile 15:31:11 -rw-rw-r-- 1 jenkins jenkins 619 May 10 15:24 OWNERS.md 15:31:11 -rw-rw-r-- 1 jenkins jenkins 4881 May 10 15:24 README.md 15:31:11 -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:21 VERSION 15:31:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:24 bin 15:31:11 -rw-r--r-- 1 jenkins jenkins 130739 May 10 15:29 coverage.out 15:31:11 drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:24 example 15:31:11 -rw-rw-r-- 1 jenkins jenkins 3159 May 10 15:24 go.mod 15:31:11 -rw-rw-r-- 1 jenkins jenkins 34529 May 10 15:24 go.sum 15:31:11 drwxrwxr-x 15 jenkins jenkins 4096 May 10 15:24 internal 15:31:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:24 openapi 15:31:11 drwxrwxr-x 5 jenkins jenkins 4096 May 10 15:24 pkg 15:31:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:24 snap 15:31:11 -rw-rw-r-- 1 jenkins jenkins 222 May 10 15:24 version.go [Pipeline] isUnix [Pipeline] sh 15:31:11 + 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=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 --label arch=arm64 --label version=2.2.0-dev.39 . 15:31:12 Sending build context to Docker daemon 5.36MB 15:31:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:31:12 Step 2/25 : FROM ${BASE} AS builder 15:31:12 ---> 3497789bdeda 15:31:12 Step 3/25 : ARG MAKE=make build 15:31:12 ---> Running in 43d273fe00e5 15:31:12 Removing intermediate container 43d273fe00e5 15:31:12 ---> 5a89d4f78976 15:31:12 Step 4/25 : WORKDIR /device-sdk-go 15:31:12 ---> Running in f0d4eb4fdbf1 15:31:13 Removing intermediate container f0d4eb4fdbf1 15:31:13 ---> 0ce2d14ac63e 15:31:13 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:31:13 ---> Running in b3cede8106c3 15:31:13 Removing intermediate container b3cede8106c3 15:31:13 ---> 9fa98ca5c9fa 15:31:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:31:13 ---> Running in 161dd7afe0ab 15:31:15 Removing intermediate container 161dd7afe0ab 15:31:15 ---> ef3b83850076 15:31:15 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:31:15 ---> Running in d1d068a33872 15:31:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:31:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:31:18 OK: 220 MiB in 52 packages 15:31:19 Removing intermediate container d1d068a33872 15:31:19 ---> 8f421da21c2e 15:31:19 Step 8/25 : COPY go.mod vendor* ./ 15:31:19 ---> 1f2e317951cb 15:31:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:20 ---> Running in 74b97b17e675 15:31:22 Removing intermediate container 74b97b17e675 15:31:22 ---> 53caf924d537 15:31:22 Step 10/25 : COPY . . 15:31:23 ---> d84281d41531 15:31:23 Step 11/25 : RUN ${MAKE} 15:31:23 ---> Running in 04f64b029feb 15:31:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.39" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:33:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:33:36 Removing intermediate container 04f64b029feb 15:33:36 ---> 5dec056f0c47 15:33:36 Step 12/25 : FROM alpine:3.14 15:33:37 3.14: Pulling from library/alpine 15:33:37 455c02918c45: Pulling fs layer 15:33:37 455c02918c45: Verifying Checksum 15:33:37 455c02918c45: Download complete 15:33:38 455c02918c45: Pull complete 15:33:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:33:38 Status: Downloaded newer image for alpine:3.14 15:33:38 ---> ac73e934f311 15:33:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:33:38 ---> Running in aa353acc9ff8 15:33:38 Removing intermediate container aa353acc9ff8 15:33:38 ---> 642fa7be2136 15:33:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:33:38 ---> Running in bb9ce4eeaa51 15:33:40 Removing intermediate container bb9ce4eeaa51 15:33:40 ---> caf1d76cf8eb 15:33:40 Step 15/25 : RUN apk add --update --no-cache zeromq 15:33:40 ---> Running in 798f20828e8f 15:33:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:33:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:33:43 (1/5) Installing libgcc (10.3.1_git20210424-r2) 15:33:43 (2/5) Installing libsodium (1.0.18-r0) 15:33:43 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 15:33:43 (4/5) Installing libzmq (4.3.4-r0) 15:33:43 (5/5) Installing zeromq (4.3.4-r0) 15:33:43 Executing busybox-1.33.1-r7.trigger 15:33:43 OK: 8 MiB in 19 packages 15:33:44 Removing intermediate container 798f20828e8f 15:33:44 ---> 64ff63311159 15:33:44 Step 16/25 : WORKDIR / 15:33:44 ---> Running in be11a01298c7 15:33:45 Removing intermediate container be11a01298c7 15:33:45 ---> 3badf30d412c 15:33:45 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:33:45 ---> 306ae82c1f48 15:33:45 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:33:47 ---> c2eb69fb9bc0 15:33:47 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:33:47 ---> fb5c47de7bd4 15:33:47 Step 20/25 : EXPOSE 59999 15:33:47 ---> Running in 45baf4e5a56b 15:33:48 Removing intermediate container 45baf4e5a56b 15:33:48 ---> 33b3dd030d01 15:33:48 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:33:48 ---> Running in c9e37e0d93df 15:33:48 Removing intermediate container c9e37e0d93df 15:33:48 ---> aa294a3531e3 15:33:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:33:48 ---> Running in ec8a36ff8055 15:33:49 Removing intermediate container ec8a36ff8055 15:33:49 ---> 0bef070fca18 15:33:49 Step 23/25 : LABEL arch=arm64 15:33:49 ---> Running in fea864f6d968 15:33:49 Removing intermediate container fea864f6d968 15:33:49 ---> 64b27308b07c 15:33:49 Step 24/25 : LABEL git_sha=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 15:33:49 ---> Running in 87b5ac1279b4 15:33:49 Removing intermediate container 87b5ac1279b4 15:33:49 ---> ed81d178c2cd 15:33:49 Step 25/25 : LABEL version=2.2.0-dev.39 15:33:50 ---> Running in 9c829eace23b 15:33:50 Removing intermediate container 9c829eace23b 15:33:50 ---> 49959ce0b311 15:33:50 [Warning] One or more build-args [ARCH] were not consumed 15:33:50 Successfully built 49959ce0b311 15:33:50 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 15:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:50 15:33:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:33:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:51 arm64: Pulling from edgex-lftools-log-publisher 15:33:51 8998bd30e6a1: Pulling fs layer 15:33:51 04944245beec: Pulling fs layer 15:33:51 699f458cf7ca: Pulling fs layer 15:33:51 765212b225bb: Pulling fs layer 15:33:51 f23df028b6ca: Pulling fs layer 15:33:51 d65c8cfc05b1: Pulling fs layer 15:33:51 2437ff75d9bd: Pulling fs layer 15:33:51 765212b225bb: Waiting 15:33:51 f23df028b6ca: Waiting 15:33:51 d65c8cfc05b1: Waiting 15:33:51 2437ff75d9bd: Waiting 15:33:51 04944245beec: Verifying Checksum 15:33:51 04944245beec: Download complete 15:33:51 765212b225bb: Verifying Checksum 15:33:51 765212b225bb: Download complete 15:33:51 f23df028b6ca: Verifying Checksum 15:33:51 f23df028b6ca: Download complete 15:33:51 d65c8cfc05b1: Verifying Checksum 15:33:51 d65c8cfc05b1: Download complete 15:33:51 699f458cf7ca: Verifying Checksum 15:33:51 699f458cf7ca: Download complete 15:33:52 8998bd30e6a1: Download complete 15:33:54 2437ff75d9bd: Verifying Checksum 15:33:54 2437ff75d9bd: Download complete 15:33:56 8998bd30e6a1: Pull complete 15:33:56 04944245beec: Pull complete 15:33:58 699f458cf7ca: Pull complete 15:33:58 765212b225bb: Pull complete 15:33:59 f23df028b6ca: Pull complete 15:33:59 d65c8cfc05b1: Pull complete 15:34:14 2437ff75d9bd: Pull complete 15:34:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:34:14 prd-ubuntu20.04-docker-arm64-4c-16g-47783 does not seem to be running inside a container 15:34:14 $ 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/73 -v /w/workspace/device-sdk-go/73:/w/workspace/device-sdk-go/73:rw,z -v /w/workspace/device-sdk-go/73@tmp:/w/workspace/device-sdk-go/73@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 15:34:17 $ docker top 01cf03b6a50f6fcfe9a2f9e82dad941f30d8aa41055d478bd46f956e4482c3e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:18 ---> job-cost.sh 15:34:18 lf-activate-venv: SKIPPING 15:34:18 INFO: No Stack... 15:34:19 INFO: Retrieving Pricing Info for: v3-standard-4 15:34:20 INFO: Archiving Costs [Pipeline] sh 15:34:20 + cat /w/workspace/device-sdk-go/73/archives/cost.csv 15:34:20 + cut -d, -f6 [Pipeline] lock 15:34:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] 15:34:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] did not exist. Created. 15:34:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:34:21 /w/workspace/device-sdk-go/73@tmp/durable-8bf45d0b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:34:22 + echo total: 0.10999999940395355 [Pipeline] stash 15:34:22 Warning: overwriting stash ‘stack-cost’ 15:34:22 Stashed 1 file(s) [Pipeline] } 15:34:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 15:34:22 $ docker stop --time=1 01cf03b6a50f6fcfe9a2f9e82dad941f30d8aa41055d478bd46f956e4482c3e4 15:34:24 $ docker rm -f 01cf03b6a50f6fcfe9a2f9e82dad941f30d8aa41055d478bd46f956e4482c3e4 [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 15:34:24 provisioning config files... 15:34:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8443514304580065617tmp [Pipeline] { [Pipeline] sh 15:34:25 + set +x 15:34:25 + curl -s https://codecov.io/bash 15:34:25 + bash -s -- 15:34:25 15:34:25 _____ _ 15:34:25 / ____| | | 15:34:25 | | ___ __| | ___ ___ _____ __ 15:34:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:34:25 | |___| (_) | (_| | __/ (_| (_) \ V / 15:34:25 \_____\___/ \__,_|\___|\___\___/ \_/ 15:34:25 Bash-1.0.6 15:34:25 15:34:25 15:34:25 ==> git version 2.25.1 found 15:34:25 ==> 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 15:34:25 Release-Date: 2020-01-08 15:34:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:34:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:34:25 ==> Jenkins CI detected. 15:34:25 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:34:25 project root: . 15:34:25 --> token set from env 15:34:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:34:25 ==> Running gcov in . (disable via -X gcov) 15:34:25 ==> Python coveragepy not found 15:34:25 ==> Searching for coverage reports in: 15:34:25 + . 15:34:25 -> Found 1 reports 15:34:25 ==> Detecting git/mercurial file structure 15:34:25 ==> Reading reports 15:34:25 + ./coverage.out bytes=130739 15:34:25 ==> Appending adjustments 15:34:25 https://docs.codecov.io/docs/fixing-reports 15:34:25 + Found adjustments 15:34:25 ==> Gzipping contents 15:34:25 20K /tmp/codecov.yTxo7C.gz 15:34:25 ==> Uploading reports 15:34:25 url: https://codecov.io 15:34:25 query: branch=main&commit=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:25 -> Pinging Codecov 15:34:25 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=a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96&build=73&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F73%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:25 -> Uploading to 15:34:25 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7E55EF52A471D76F132DFD9A03CDDE97/a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96/a8c11c02-ee7a-49b3-9d29-4a5c9bb0694b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T153425Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1bab286561d73ea06694ae76c208014ecafe74a6a2ce180c50b9918827976ba9 15:34:25 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:25 Dload Upload Total Spent Left Speed 15:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16836 0 0 100 16836 0 71948 --:--:-- --:--:-- --:--:-- 71948 15:34:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] } 15:34:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:34:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:34:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:34:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:26 15:34:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:34:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:34:27 188c0c94c7c5: Pulling fs layer 15:34:27 0ef7d3d256c8: Pulling fs layer 15:34:27 de9db76c5a1d: Pulling fs layer 15:34:27 0eba1c9be4d2: Pulling fs layer 15:34:27 0d57e429df01: Pulling fs layer 15:34:27 4e4be7b47b0d: Pulling fs layer 15:34:27 e1f770b5df2f: Pulling fs layer 15:34:27 85a0685a4137: Pulling fs layer 15:34:27 0eba1c9be4d2: Waiting 15:34:27 0d57e429df01: Waiting 15:34:27 4e4be7b47b0d: Waiting 15:34:27 e1f770b5df2f: Waiting 15:34:27 85a0685a4137: Waiting 15:34:27 de9db76c5a1d: Download complete 15:34:27 0ef7d3d256c8: Download complete 15:34:27 0d57e429df01: Verifying Checksum 15:34:27 0d57e429df01: Download complete 15:34:27 4e4be7b47b0d: Verifying Checksum 15:34:27 188c0c94c7c5: Verifying Checksum 15:34:27 188c0c94c7c5: Download complete 15:34:27 188c0c94c7c5: Pull complete 15:34:27 e1f770b5df2f: Verifying Checksum 15:34:27 e1f770b5df2f: Download complete 15:34:27 0ef7d3d256c8: Pull complete 15:34:27 de9db76c5a1d: Pull complete 15:34:27 0eba1c9be4d2: Verifying Checksum 15:34:27 0eba1c9be4d2: Download complete 15:34:28 85a0685a4137: Verifying Checksum 15:34:28 85a0685a4137: Download complete 15:34:31 0eba1c9be4d2: Pull complete 15:34:31 0d57e429df01: Pull complete 15:34:31 4e4be7b47b0d: Pull complete 15:34:31 e1f770b5df2f: Pull complete 15:34:34 85a0685a4137: Pull complete 15:34:34 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:34:34 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:34:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:34:37 $ docker top d1825953ca4ac432cda0bda96034abde2db1d91bb4e202b6abd2bf4a464806f8 -eo pid,comm [Pipeline] { [Pipeline] echo 15:34:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:34:38 + set -o pipefail 15:34:38 + snyk monitor '--org=edgex-jenkins' 15:34:43 15:34:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 15:34:43 15:34:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6d448975-82a9-4b87-88a8-888b4ef3a194 15:34:43 15:34:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:34:43 15:34:43 [Pipeline] } 15:34:43 $ docker stop --time=1 d1825953ca4ac432cda0bda96034abde2db1d91bb4e202b6abd2bf4a464806f8 15:34:45 $ docker rm -f d1825953ca4ac432cda0bda96034abde2db1d91bb4e202b6abd2bf4a464806f8 [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 15:34:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:34:46 provisioning config files... 15:34:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6626191912454793505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:46 --> edgex-publish-swagger.sh 15:34:46 === Publish openapi/v2 API === 15:34:46 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:34:46 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 15:34:46 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:46 Dload Upload Total Spent Left Speed 15:34:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 333k --:--:-- --:--:-- --:--:-- 331k 100 53282 0 0 100 53282 0 75792 --:--:-- --:--:-- --:--:-- 75684 15:34:46 15:34:46 [Pipeline] } 15:34:47 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 15:34:47 + git log --format=format:%s -1 a42dac25d44a6c2ff7b69fdd484e9bf4bbdbbd96 [Pipeline] sh 15:34:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:34:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:34:48 . [Pipeline] withDockerContainer 15:34:48 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:34:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:34:48 $ docker top d7b0ed57353c9cc580b23d3e7a107761072cedbd45a991ff2e37b22c445e2a24 -eo pid,comm 15:34:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:34:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:34:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:34:48 [ssh-agent] Looking for ssh-agent implementation... 15:34:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:34:48 $ docker exec d7b0ed57353c9cc580b23d3e7a107761072cedbd45a991ff2e37b22c445e2a24 ssh-agent 15:34:48 SSH_AUTH_SOCK=/tmp/ssh-k2JZ3BkeW0tP/agent.32 15:34:48 SSH_AGENT_PID=38 15:34:48 Running ssh-add (command line suppressed) 15:34:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7237095340625628627.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7237095340625628627.key) 15:34:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:34:49 + git semver tag 15:34:49 2022-05-10 15:34:49,493 [run_tag] DEBUG tag force:False 15:34:49 2022-05-10 15:34:49,494 [check_head_tag] DEBUG check head tag 15:34:49 2022-05-10 15:34:49,495 [execute] INFO git cat-file --batch-check 15:34:49 2022-05-10 15:34:49,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:34:49 2022-05-10 15:34:49,498 [execute] INFO git cat-file --batch 15:34:49 2022-05-10 15:34:49,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:34:49 2022-05-10 15:34:49,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:34:49 2022-05-10 15:34:49,523 [execute] INFO git tag -a v2.2.0-dev.39 -m v2.2.0-dev.39 15:34:49 2022-05-10 15:34:49,523 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.39', '-m', 'v2.2.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:34:49 2022-05-10 15:34:49,527 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:34:49 2.2.0-dev.39 [Pipeline] } 15:34:49 $ docker exec --env ******** --env ******** d7b0ed57353c9cc580b23d3e7a107761072cedbd45a991ff2e37b22c445e2a24 ssh-agent -k 15:34:49 unset SSH_AUTH_SOCK; 15:34:49 unset SSH_AGENT_PID; 15:34:49 echo Agent pid 38 killed; 15:34:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:34:50 + git semver [Pipeline] } 15:34:50 $ docker stop --time=1 d7b0ed57353c9cc580b23d3e7a107761072cedbd45a991ff2e37b22c445e2a24 15:34:51 $ docker rm -f d7b0ed57353c9cc580b23d3e7a107761072cedbd45a991ff2e37b22c445e2a24 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:34:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:34:51 15:34:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:34:52 0.23.1-centos7: Pulling from edgex-lftools 15:34:52 ab5ef0e58194: Pulling fs layer 15:34:52 9712f1f96733: Pulling fs layer 15:34:52 63f879dbbcfc: Pulling fs layer 15:34:52 0d9ebad4ef96: Pulling fs layer 15:34:52 e9a5061849ea: Pulling fs layer 15:34:52 d747dcd14b5f: Pulling fs layer 15:34:52 2de7ff778b66: Pulling fs layer 15:34:52 0d9ebad4ef96: Waiting 15:34:52 e9a5061849ea: Waiting 15:34:52 d747dcd14b5f: Waiting 15:34:52 2de7ff778b66: Waiting 15:34:52 9712f1f96733: Verifying Checksum 15:34:52 9712f1f96733: Download complete 15:34:52 63f879dbbcfc: Verifying Checksum 15:34:52 63f879dbbcfc: Download complete 15:34:52 e9a5061849ea: Verifying Checksum 15:34:52 e9a5061849ea: Download complete 15:34:52 d747dcd14b5f: Download complete 15:34:52 ab5ef0e58194: Verifying Checksum 15:34:52 ab5ef0e58194: Download complete 15:34:52 0d9ebad4ef96: Verifying Checksum 15:34:52 0d9ebad4ef96: Download complete 15:34:52 2de7ff778b66: Verifying Checksum 15:34:52 2de7ff778b66: Download complete 15:34:56 ab5ef0e58194: Pull complete 15:34:56 9712f1f96733: Pull complete 15:34:56 63f879dbbcfc: Pull complete 15:35:00 0d9ebad4ef96: Pull complete 15:35:00 e9a5061849ea: Pull complete 15:35:00 d747dcd14b5f: Pull complete 15:35:01 2de7ff778b66: Pull complete 15:35:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:35:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:35:01 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:35:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:35:04 $ docker top 35e0d9ee4ba45ab7fa82ad17f94c4270a5bec030ba15aea07f5414039d73d5d2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:35:04 provisioning config files... 15:35:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7786332373803729606tmp 15:35:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4312089643760688951tmp 15:35:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6950000436759643631tmp [Pipeline] { [Pipeline] echo 15:35:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:35:04 ---> sigul-configuration.sh 15:35:04 gpg: directory `/root/.gnupg' created 15:35:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:35:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:35:04 gpg: keyring `/root/.gnupg/secring.gpg' created 15:35:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:35:04 gpg: CAST5 encrypted data 15:35:04 gpg: encrypted with 1 passphrase 15:35:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:35:04 + mkdir /home/jenkins 15:35:04 + mkdir /home/jenkins/sigul [Pipeline] sh 15:35:05 + 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 15:35:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:35:05 ---> sigul-install.sh 15:35:05 Sigul already installed; skipping installation. [Pipeline] sh 15:35:05 + git tag --list 15:35:05 0.7.1 15:35:05 delhi-tag 15:35:05 v1.0.0 15:35:05 v1.1.0 15:35:05 v1.1.1 15:35:05 v1.1.2 15:35:05 v1.2.0 15:35:05 v1.2.1 15:35:05 v1.2.2 15:35:05 v1.2.3 15:35:05 v1.3.0 15:35:05 v1.4.0 15:35:05 v2.0.0 15:35:05 v2.0.1-dev.1 15:35:05 v2.0.1-dev.10 15:35:05 v2.0.1-dev.11 15:35:05 v2.0.1-dev.12 15:35:05 v2.0.1-dev.13 15:35:05 v2.0.1-dev.14 15:35:05 v2.0.1-dev.15 15:35:05 v2.0.1-dev.16 15:35:05 v2.0.1-dev.17 15:35:05 v2.0.1-dev.18 15:35:05 v2.0.1-dev.19 15:35:05 v2.0.1-dev.2 15:35:05 v2.0.1-dev.20 15:35:05 v2.0.1-dev.21 15:35:05 v2.0.1-dev.22 15:35:05 v2.0.1-dev.23 15:35:05 v2.0.1-dev.24 15:35:05 v2.0.1-dev.25 15:35:05 v2.0.1-dev.26 15:35:05 v2.0.1-dev.27 15:35:05 v2.0.1-dev.28 15:35:05 v2.0.1-dev.29 15:35:05 v2.0.1-dev.3 15:35:05 v2.0.1-dev.30 15:35:05 v2.0.1-dev.31 15:35:05 v2.0.1-dev.32 15:35:05 v2.0.1-dev.33 15:35:05 v2.0.1-dev.4 15:35:05 v2.0.1-dev.5 15:35:05 v2.0.1-dev.6 15:35:05 v2.0.1-dev.7 15:35:05 v2.0.1-dev.8 15:35:05 v2.0.1-dev.9 15:35:05 v2.1.0 15:35:05 v2.1.1-dev.1 15:35:05 v2.2.0-dev.1 15:35:05 v2.2.0-dev.10 15:35:05 v2.2.0-dev.11 15:35:05 v2.2.0-dev.12 15:35:05 v2.2.0-dev.13 15:35:05 v2.2.0-dev.14 15:35:05 v2.2.0-dev.15 15:35:05 v2.2.0-dev.16 15:35:05 v2.2.0-dev.17 15:35:05 v2.2.0-dev.18 15:35:05 v2.2.0-dev.19 15:35:05 v2.2.0-dev.2 15:35:05 v2.2.0-dev.20 15:35:05 v2.2.0-dev.21 15:35:05 v2.2.0-dev.22 15:35:05 v2.2.0-dev.23 15:35:05 v2.2.0-dev.24 15:35:05 v2.2.0-dev.25 15:35:05 v2.2.0-dev.26 15:35:05 v2.2.0-dev.27 15:35:05 v2.2.0-dev.28 15:35:05 v2.2.0-dev.29 15:35:05 v2.2.0-dev.3 15:35:05 v2.2.0-dev.30 15:35:05 v2.2.0-dev.31 15:35:05 v2.2.0-dev.32 15:35:05 v2.2.0-dev.33 15:35:05 v2.2.0-dev.34 15:35:05 v2.2.0-dev.35 15:35:05 v2.2.0-dev.36 15:35:05 v2.2.0-dev.37 15:35:05 v2.2.0-dev.38 15:35:05 v2.2.0-dev.39 15:35:05 v2.2.0-dev.4 15:35:05 v2.2.0-dev.5 15:35:05 v2.2.0-dev.6 15:35:05 v2.2.0-dev.7 15:35:05 v2.2.0-dev.8 15:35:05 v2.2.0-dev.9 [Pipeline] sh 15:35:06 + lftools sign git-tag v2.2.0-dev.39 15:35:06 Signing Git tag with Sigul... 15:35:06 Signing v2.2.0-dev.39 [Pipeline] echo 15:35:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:35:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:35:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:35:07 $ docker stop --time=1 35e0d9ee4ba45ab7fa82ad17f94c4270a5bec030ba15aea07f5414039d73d5d2 15:35:08 $ docker rm -f 35e0d9ee4ba45ab7fa82ad17f94c4270a5bec030ba15aea07f5414039d73d5d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:35:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:35:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:35:09 . [Pipeline] withDockerContainer 15:35:09 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:35:09 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:35:09 $ docker top 672876cf1cd5d2ff78e71fc389ecd76a931887ff01bc7835569df8b1a0d1d27c -eo pid,comm 15:35:09 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). 15:35:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:09 [ssh-agent] Looking for ssh-agent implementation... 15:35:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:09 $ docker exec 672876cf1cd5d2ff78e71fc389ecd76a931887ff01bc7835569df8b1a0d1d27c ssh-agent 15:35:10 SSH_AUTH_SOCK=/tmp/ssh-Kj4LAInXfrx9/agent.32 15:35:10 SSH_AGENT_PID=39 15:35:10 Running ssh-add (command line suppressed) 15:35:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4503300345823533683.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4503300345823533683.key) 15:35:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:10 + git semver bump pre 15:35:10 2022-05-10 15:35:10,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:10 2022-05-10 15:35:10,669 [bump_version] DEBUG bumping version:2.2.0-dev.39 on axis:pre with prefix:dev 15:35:10 2022-05-10 15:35:10,670 [bump_version] DEBUG bumped version:2.2.0-dev.40 15:35:10 2022-05-10 15:35:10,670 [write_version] DEBUG write version:2.2.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:35:10 2022-05-10 15:35:10,670 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:10 2022-05-10 15:35:10,670 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:10 2022-05-10 15:35:10,672 [execute] INFO git cat-file --batch-check 15:35:10 2022-05-10 15:35:10,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:10 2022-05-10 15:35:10,677 [execute] INFO git cat-file --batch 15:35:10 2022-05-10 15:35:10,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:10 2022-05-10 15:35:10,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:10 2.2.0-dev.40 [Pipeline] } 15:35:10 $ docker exec --env ******** --env ******** 672876cf1cd5d2ff78e71fc389ecd76a931887ff01bc7835569df8b1a0d1d27c ssh-agent -k 15:35:10 unset SSH_AUTH_SOCK; 15:35:10 unset SSH_AGENT_PID; 15:35:10 echo Agent pid 39 killed; 15:35:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:11 + git semver [Pipeline] } 15:35:11 $ docker stop --time=1 672876cf1cd5d2ff78e71fc389ecd76a931887ff01bc7835569df8b1a0d1d27c 15:35:12 $ docker rm -f 672876cf1cd5d2ff78e71fc389ecd76a931887ff01bc7835569df8b1a0d1d27c [Pipeline] // withDockerContainer [Pipeline] sh 15:35:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:35:13 . [Pipeline] withDockerContainer 15:35:13 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:35:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:35:13 $ docker top 491829b71bac573428d3bea417efaf67328209dd6ec286ce131c263e898d09aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:14 [ssh-agent] Looking for ssh-agent implementation... 15:35:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:14 $ docker exec 491829b71bac573428d3bea417efaf67328209dd6ec286ce131c263e898d09aa ssh-agent 15:35:14 SSH_AUTH_SOCK=/tmp/ssh-DU2qi9X0EJuA/agent.34 15:35:14 SSH_AGENT_PID=40 15:35:14 Running ssh-add (command line suppressed) 15:35:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8792940272682314719.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8792940272682314719.key) 15:35:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:14 + git semver push 15:35:14 2022-05-10 15:35:14,918 [run_push] DEBUG push 15:35:14 2022-05-10 15:35:14,918 [execute] INFO git push origin semver 15:35:14 2022-05-10 15:35:14,918 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:35:15 2022-05-10 15:35:15,807 [run_push] DEBUG push all version tags 15:35:15 2022-05-10 15:35:15,808 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:35:15 2022-05-10 15:35:15,808 [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) 15:35:16 2022-05-10 15:35:16,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:16 2.2.0-dev.40 [Pipeline] } 15:35:16 $ docker exec --env ******** --env ******** 491829b71bac573428d3bea417efaf67328209dd6ec286ce131c263e898d09aa ssh-agent -k 15:35:17 unset SSH_AUTH_SOCK; 15:35:17 unset SSH_AGENT_PID; 15:35:17 echo Agent pid 40 killed; 15:35:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:17 + git semver [Pipeline] } 15:35:17 $ docker stop --time=1 491829b71bac573428d3bea417efaf67328209dd6ec286ce131c263e898d09aa 15:35:18 $ docker rm -f 491829b71bac573428d3bea417efaf67328209dd6ec286ce131c263e898d09aa [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 15:35:19 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:35:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:19 total 16 15:35:19 drwxr-xr-x 3 root root 4096 May 10 15:23 . 15:35:19 drwxrwxr-x 12 jenkins jenkins 4096 May 10 15:35 .. 15:35:19 drwxr-xr-x 2 root root 4096 May 10 15:23 cost 15:35:19 -rw-r--r-- 1 root root 83 May 10 15:23 cost.csv 15:35:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:19 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:19 total 16 15:35:19 drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:23 . 15:35:19 drwxrwxr-x 12 jenkins jenkins 4096 May 10 15:35 .. 15:35:19 drwxr-xr-x 2 jenkins jenkins 4096 May 10 15:23 cost 15:35:19 -rw-r--r-- 1 jenkins jenkins 83 May 10 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:35:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:35:20 ---> package-listing.sh 15:35:20 ++ facter osfamily 15:35:20 ++ tr '[:upper:]' '[:lower:]' 15:35:21 + OS_FAMILY=debian 15:35:21 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:35:21 + START_PACKAGES=/tmp/packages_start.txt 15:35:21 + END_PACKAGES=/tmp/packages_end.txt 15:35:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:35:21 + PACKAGES=/tmp/packages_start.txt 15:35:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:35:21 + PACKAGES=/tmp/packages_end.txt 15:35:21 + case "${OS_FAMILY}" in 15:35:21 + dpkg -l 15:35:21 + grep '^ii' 15:35:21 + '[' -f /tmp/packages_start.txt ']' 15:35:21 + '[' -f /tmp/packages_end.txt ']' 15:35:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:35:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:35:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:35:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:35:21 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 15:35:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:35:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:21 . [Pipeline] withDockerContainer 15:35:21 prd-ubuntu20.04-docker-8c-8g-47781 does not seem to be running inside a container 15:35:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:35:22 $ docker top 097f32251a8cec75b73edcc575c84f620be0182d43dfdc125f8d05041bee1253 -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:22 + touch /tmp/pre-build-complete [Pipeline] sh 15:35:22 + mkdir -p /var/log/sysstat [Pipeline] sh 15:35:23 + ls /var/log/sa-host 15:35:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:23 provisioning config files... 15:35:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5273329619933884555tmp [Pipeline] { [Pipeline] echo 15:35:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:35:23 ---> create-netrc.sh [Pipeline] } 15:35:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:35:23 ---> python-tools-install.sh [Pipeline] echo 15:35:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:35:24 ---> sudo-logs.sh 15:35:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:35:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:35:24 ---> job-cost.sh 15:35:24 lf-activate-venv: SKIPPING 15:35:24 DEBUG: total: 0.2199999988079071 15:35:24 INFO: Retrieving Stack Cost... 15:35:25 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:25 INFO: Archiving Costs [Pipeline] echo 15:35:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:35:26 ---> logs-deploy.sh 15:35:26 lf-activate-venv: SKIPPING 15:35:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/73 15:35:26 INFO: archiving workspace using pattern(s): 15:35:27 Archives upload complete. 15:35:27 INFO: archiving logs to Nexus