Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3d39a6b1d7806654871acffae4a42b12e3fa230c 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-ssh5132957160147841801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6797027870885814662.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11063237452847958913.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh866353855146723492.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-ssh18018681348391998860.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 Running on prd-ubuntu20.04-docker-8c-8g-7777 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 3d39a6b1d7806654871acffae4a42b12e3fa230c (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 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 Commit message: "Merge pull request #1107 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1" > git rev-list --no-walk 8ece66f1c570f367a2f406d94221d9aee4294f1c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T04:58:04.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T04:58:04.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T04:58:04.981Z] ========================================================= [2022-03-17T04:58:04.981Z] EdgeX Global Pipelines Version Info [2022-03-17T04:58:04.981Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:58:05.722Z] ------------------- [2022-03-17T04:58:05.722Z] stable info: [2022-03-17T04:58:05.722Z] ------------------- [2022-03-17T04:58:05.722Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T04:58:05.722Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:58:05.722Z] Message: update stable to v1.0.221 [2022-03-17T04:58:06.295Z] ------------------- [2022-03-17T04:58:06.295Z] experimental info: [2022-03-17T04:58:06.295Z] ------------------- [2022-03-17T04:58:06.295Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T04:58:06.295Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T04:58:06.295Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T04:58:06.437Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-17T04:58:06.456Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-17T04:58:06.471Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T04:58:06.485Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T04:58:06.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T04:58:06.515Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T04:58:06.529Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T04:58:06.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-17T04:58:06.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T04:58:06.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T04:58:06.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T04:58:06.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-17T04:58:06.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T04:58:06.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T04:58:06.674Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T04:58:06.689Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:58:06.700Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:58:06.718Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T04:58:06.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T04:58:06.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T04:58:06.756Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T04:58:06.774Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T04:58:06.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T04:58:06.807Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T04:58:06.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T04:58:06.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T04:58:06.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T04:58:06.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T04:58:06.885Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T04:58:06.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] echo [2022-03-17T04:58:06.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d39a6b [Pipeline] echo [2022-03-17T04:58:06.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T04:58:06.976Z] provisioning config files... [2022-03-17T04:58:06.990Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8530218899645671737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:58:07.302Z] ---> docker-login.sh [2022-03-17T04:58:07.302Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:58:07.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:07.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:07.825Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:07.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:07.825Z] [2022-03-17T04:58:07.825Z] Login Succeeded [2022-03-17T04:58:07.825Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:58:07.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:07.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:07.825Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:07.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:07.825Z] [2022-03-17T04:58:07.825Z] Login Succeeded [2022-03-17T04:58:07.825Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:58:08.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:08.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:08.087Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:08.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:08.087Z] [2022-03-17T04:58:08.087Z] Login Succeeded [2022-03-17T04:58:08.087Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:58:08.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:08.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:08.087Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:08.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:08.087Z] [2022-03-17T04:58:08.087Z] Login Succeeded [2022-03-17T04:58:08.087Z] docker.io [2022-03-17T04:58:08.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:08.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:08.609Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:08.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:08.609Z] [2022-03-17T04:58:08.609Z] Login Succeeded [2022-03-17T04:58:08.609Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:58:08.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T04:58:08.996Z] + git rev-list -1 --merges 3d39a6b1d7806654871acffae4a42b12e3fa230c~1..3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] echo [2022-03-17T04:58:09.026Z] -----------> git rev-list -1 --merges 3d39a6b1d7806654871acffae4a42b12e3fa230c~1..3d39a6b1d7806654871acffae4a42b12e3fa230c 3d39a6b1d7806654871acffae4a42b12e3fa230c [2022-03-17T04:58:09.026Z] 3d39a6b1d7806654871acffae4a42b12e3fa230c [false] [Pipeline] sh [2022-03-17T04:58:09.325Z] + git log --format=format:%s -1 3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] echo [2022-03-17T04:58:09.343Z] ========================================================= [2022-03-17T04:58:09.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T04:58:09.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T04:58:09.686Z] + git log --format=format:%s -1 3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] echo [2022-03-17T04:58:09.699Z] [semverPrep] GIT_COMMIT: 3d39a6b1d7806654871acffae4a42b12e3fa230c, Commit Message: Merge pull request #1107 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1 [Pipeline] echo [2022-03-17T04:58:09.709Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T04:58:10.099Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T04:58:10.099Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T04:58:10.099Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T04:58:10.099Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T04:58:10.099Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T04:58:10.099Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T04:58:10.099Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:58:10.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:58:10.461Z] [2022-03-17T04:58:10.461Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:58:10.776Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:58:10.776Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T04:58:10.776Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T04:58:10.776Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T04:58:10.776Z] 4c7163046ea9: Pulling fs layer [2022-03-17T04:58:10.776Z] 0c2d73faf560: Pulling fs layer [2022-03-17T04:58:10.776Z] 0c2d73faf560: Waiting [2022-03-17T04:58:10.776Z] 3e5f54012d9b: Verifying Checksum [2022-03-17T04:58:10.776Z] 3e5f54012d9b: Download complete [2022-03-17T04:58:10.776Z] a0d0a0d46f8b: Download complete [2022-03-17T04:58:10.776Z] 0c2d73faf560: Verifying Checksum [2022-03-17T04:58:10.776Z] 0c2d73faf560: Download complete [2022-03-17T04:58:10.776Z] 4c7163046ea9: Verifying Checksum [2022-03-17T04:58:10.776Z] 4c7163046ea9: Download complete [2022-03-17T04:58:11.038Z] a0d0a0d46f8b: Pull complete [2022-03-17T04:58:11.038Z] 3e5f54012d9b: Pull complete [2022-03-17T04:58:11.612Z] 4c7163046ea9: Pull complete [2022-03-17T04:58:11.612Z] 0c2d73faf560: Pull complete [2022-03-17T04:58:11.612Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T04:58:11.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T04:58:11.613Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T04:58:11.691Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T04:58:11.734Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T04:58:12.654Z] $ docker top 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T04:58:12.755Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:58:12.755Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:58:12.896Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:58:12.904Z] $ docker exec 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed ssh-agent [2022-03-17T04:58:13.020Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoPndHn/agent.14 [2022-03-17T04:58:13.020Z] SSH_AGENT_PID=20 [2022-03-17T04:58:13.038Z] Running ssh-add (command line suppressed) [2022-03-17T04:58:13.167Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7023045879663600347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7023045879663600347.key) [2022-03-17T04:58:13.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:58:13.473Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T04:58:13.496Z] $ docker exec --env ******** --env ******** 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed ssh-agent -k [2022-03-17T04:58:13.627Z] unset SSH_AUTH_SOCK; [2022-03-17T04:58:13.628Z] unset SSH_AGENT_PID; [2022-03-17T04:58:13.628Z] echo Agent pid 20 killed; [2022-03-17T04:58:13.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T04:58:13.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T04:58:13.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T04:58:13.786Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T04:58:13.794Z] $ docker exec 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed ssh-agent [2022-03-17T04:58:13.915Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjIeapE/agent.53 [2022-03-17T04:58:13.915Z] SSH_AGENT_PID=60 [2022-03-17T04:58:13.920Z] Running ssh-add (command line suppressed) [2022-03-17T04:58:14.043Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7067812402438210635.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7067812402438210635.key) [2022-03-17T04:58:14.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T04:58:14.349Z] + git semver init [2022-03-17T04:58:14.349Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T04:58:14.349Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T04:58:14.349Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T04:58:14.349Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T04:58:14.349Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T04:58:14.349Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T04:58:14.349Z] # $SEMVER_BRANCH = main [2022-03-17T04:58:14.349Z] # $SEMVER_TEMP = /tmp/semver-145194814 [2022-03-17T04:58:14.349Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-17T04:58:15.735Z] # '/tmp/semver-145194814' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-03-17T04:58:15.735Z] # -> Force: false [2022-03-17T04:58:15.735Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T04:58:15.750Z] $ docker exec --env ******** --env ******** 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed ssh-agent -k [2022-03-17T04:58:15.866Z] unset SSH_AUTH_SOCK; [2022-03-17T04:58:15.866Z] unset SSH_AGENT_PID; [2022-03-17T04:58:15.866Z] echo Agent pid 60 killed; [2022-03-17T04:58:15.874Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T04:58:16.179Z] + git semver [Pipeline] } [2022-03-17T04:58:16.201Z] $ docker stop --time=1 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed [2022-03-17T04:58:17.612Z] $ docker rm -f 5810bb2a22d1267f2e84cae4326cb6661e149e9755ebf51e9f2a08be65d482ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:58:17.983Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T04:58:18.230Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T04:58:18.234Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.19 [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 [2022-03-17T04:58:18.351Z] provisioning config files... [2022-03-17T04:58:18.361Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config459009891505795266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:58:18.664Z] ---> docker-login.sh [2022-03-17T04:58:18.664Z] nexus3.edgexfoundry.org:10001 [2022-03-17T04:58:18.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:18.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:18.664Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:18.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:18.664Z] [2022-03-17T04:58:18.664Z] Login Succeeded [2022-03-17T04:58:18.664Z] nexus3.edgexfoundry.org:10002 [2022-03-17T04:58:18.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:18.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:18.925Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:18.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:18.925Z] [2022-03-17T04:58:18.925Z] Login Succeeded [2022-03-17T04:58:18.925Z] nexus3.edgexfoundry.org:10003 [2022-03-17T04:58:18.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:18.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:18.925Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:18.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:18.925Z] [2022-03-17T04:58:18.925Z] Login Succeeded [2022-03-17T04:58:18.925Z] nexus3.edgexfoundry.org:10004 [2022-03-17T04:58:19.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:19.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:19.185Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:19.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:19.185Z] [2022-03-17T04:58:19.185Z] Login Succeeded [2022-03-17T04:58:19.185Z] docker.io [2022-03-17T04:58:19.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T04:58:19.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T04:58:19.446Z] Configure a credential helper to remove this warning. See [2022-03-17T04:58:19.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T04:58:19.446Z] [2022-03-17T04:58:19.446Z] Login Succeeded [2022-03-17T04:58:19.446Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T04:58:19.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T04:58:19.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T04:58:19.538Z] ========================================================= [2022-03-17T04:58:19.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T04:58:19.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:58:19.847Z] + 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 . [2022-03-17T04:58:19.847Z] Sending build context to Docker daemon 9.51MB [2022-03-17T04:58:19.847Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:58:19.847Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T04:58:20.108Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T04:58:20.108Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T04:58:20.108Z] 666ba61612fd: Pulling fs layer [2022-03-17T04:58:20.108Z] 8ed8ca486205: Pulling fs layer [2022-03-17T04:58:20.108Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T04:58:20.108Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T04:58:20.108Z] 640e595b4fbd: Pulling fs layer [2022-03-17T04:58:20.108Z] 763cafe07f6e: Pulling fs layer [2022-03-17T04:58:20.108Z] 0c0b528cf693: Pulling fs layer [2022-03-17T04:58:20.108Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T04:58:20.108Z] 22a0e8bec74d: Waiting [2022-03-17T04:58:20.108Z] 640e595b4fbd: Waiting [2022-03-17T04:58:20.108Z] 763cafe07f6e: Waiting [2022-03-17T04:58:20.108Z] 0c0b528cf693: Waiting [2022-03-17T04:58:20.108Z] 10935f4eaf8b: Waiting [2022-03-17T04:58:20.108Z] 4fe6c5a15a65: Waiting [2022-03-17T04:58:20.108Z] 8ed8ca486205: Verifying Checksum [2022-03-17T04:58:20.108Z] 8ed8ca486205: Download complete [2022-03-17T04:58:20.108Z] 666ba61612fd: Download complete [2022-03-17T04:58:20.108Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T04:58:20.108Z] 22a0e8bec74d: Download complete [2022-03-17T04:58:20.108Z] 640e595b4fbd: Download complete [2022-03-17T04:58:20.108Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T04:58:20.108Z] 763cafe07f6e: Verifying Checksum [2022-03-17T04:58:20.108Z] 763cafe07f6e: Download complete [2022-03-17T04:58:20.108Z] 0c0b528cf693: Verifying Checksum [2022-03-17T04:58:20.108Z] 0c0b528cf693: Download complete [2022-03-17T04:58:20.108Z] 59bf1c3509f3: Pull complete [2022-03-17T04:58:20.366Z] 666ba61612fd: Pull complete [2022-03-17T04:58:20.366Z] 8ed8ca486205: Pull complete [2022-03-17T04:58:20.627Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T04:58:20.627Z] 10935f4eaf8b: Download complete [2022-03-17T04:58:20.884Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T04:58:20.884Z] 4fe6c5a15a65: Download complete [2022-03-17T04:58:25.075Z] 4fe6c5a15a65: Pull complete [2022-03-17T04:58:25.075Z] 22a0e8bec74d: Pull complete [2022-03-17T04:58:25.075Z] 640e595b4fbd: Pull complete [2022-03-17T04:58:25.075Z] 763cafe07f6e: Pull complete [2022-03-17T04:58:25.075Z] 0c0b528cf693: Pull complete [2022-03-17T04:58:26.982Z] 10935f4eaf8b: Pull complete [2022-03-17T04:58:26.982Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T04:58:26.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T04:58:26.982Z] ---> 99d49a6021b9 [2022-03-17T04:58:26.982Z] Step 3/11 : ARG MAKE=make build [2022-03-17T04:58:29.532Z] ---> Running in 15cbd5ce866b [2022-03-17T04:58:29.795Z] Removing intermediate container 15cbd5ce866b [2022-03-17T04:58:29.795Z] ---> 2ad5bba662a6 [2022-03-17T04:58:29.795Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T04:58:30.055Z] ---> Running in 813c14dcf34f [2022-03-17T04:58:30.315Z] Removing intermediate container 813c14dcf34f [2022-03-17T04:58:30.315Z] ---> cf0717b8dfcc [2022-03-17T04:58:30.315Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:58:30.616Z] ---> Running in c35b59ca2d8c [2022-03-17T04:58:30.616Z] Removing intermediate container c35b59ca2d8c [2022-03-17T04:58:30.616Z] ---> 62f87667426c [2022-03-17T04:58:30.616Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:58:30.878Z] ---> Running in 6883ae6351c8 [2022-03-17T04:58:31.819Z] Removing intermediate container 6883ae6351c8 [2022-03-17T04:58:31.819Z] ---> 2cc61300a2b3 [2022-03-17T04:58:31.819Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:58:31.819Z] ---> Running in 77debfa8482e [2022-03-17T04:58:31.819Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:58:32.761Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:58:33.021Z] OK: 221 MiB in 52 packages [2022-03-17T04:58:33.281Z] Removing intermediate container 77debfa8482e [2022-03-17T04:58:33.281Z] ---> 4dadfe17664b [2022-03-17T04:58:33.281Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T04:58:33.315Z] Still waiting to schedule task [2022-03-17T04:58:33.316Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T04:58:33.541Z] ---> 7ea353bbf0df [2022-03-17T04:58:33.541Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:58:33.541Z] ---> Running in 6fdb935300fd [2022-03-17T04:59:00.106Z] Removing intermediate container 6fdb935300fd [2022-03-17T04:59:00.106Z] ---> ebbdfb70b966 [2022-03-17T04:59:00.106Z] Step 10/11 : COPY . . [2022-03-17T04:59:00.106Z] ---> 81f939e65774 [2022-03-17T04:59:00.106Z] Step 11/11 : RUN ${MAKE} [2022-03-17T04:59:00.106Z] ---> Running in b723e9c50fd4 [2022-03-17T04:59:00.106Z] noop [2022-03-17T04:59:00.106Z] Removing intermediate container b723e9c50fd4 [2022-03-17T04:59:00.106Z] ---> aab5454b0433 [2022-03-17T04:59:00.106Z] Successfully built aab5454b0433 [2022-03-17T04:59:00.106Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:59:00.416Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:59:00.416Z] . [Pipeline] withDockerContainer [2022-03-17T04:59:00.485Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T04:59:00.526Z] $ 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 [2022-03-17T04:59:01.037Z] $ docker top 853e94aa7513af88128819ee8d4faaf0026309a5d4843959da30f2e495d46812 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T04:59:01.410Z] + go version [2022-03-17T04:59:01.411Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T04:59:01.430Z] $ docker stop --time=1 853e94aa7513af88128819ee8d4faaf0026309a5d4843959da30f2e495d46812 [2022-03-17T04:59:02.747Z] $ docker rm -f 853e94aa7513af88128819ee8d4faaf0026309a5d4843959da30f2e495d46812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:59:03.184Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T04:59:03.184Z] . [Pipeline] withDockerContainer [2022-03-17T04:59:03.263Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T04:59:03.303Z] $ 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 [2022-03-17T04:59:03.700Z] $ docker top 5d28b8356b0d52dbe59babe1f90bed8a9437f1f7445c3be6b356da6614c21a7c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T04:59:04.124Z] + make test [2022-03-17T04:59:04.124Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T04:59:04.389Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T04:59:10.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T04:59:10.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T04:59:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T04:59:10.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.015s coverage: 23.3% of statements [2022-03-17T04:59:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T04:59:10.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.013s coverage: 27.6% of statements [2022-03-17T04:59:10.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.015s coverage: 78.9% of statements [2022-03-17T04:59:10.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.023s coverage: 10.8% of statements [2022-03-17T04:59:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T04:59:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T04:59:10.967Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T04:59:11.230Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.018s coverage: 33.2% of statements [2022-03-17T04:59:11.230Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T04:59:11.802Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 86.1% of statements [2022-03-17T04:59:11.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T04:59:11.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T04:59:11.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements [2022-03-17T04:59:11.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.038s coverage: 89.2% of statements [2022-03-17T04:59:11.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T04:59:11.803Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.013s coverage: 4.8% of statements [2022-03-17T04:59:11.803Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T04:59:18.388Z] GO111MODULE=on go vet ./... [2022-03-17T04:59:20.299Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T04:59:20.299Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T04:59:20.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T04:59:20.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T04:59:20.851Z] $ docker stop --time=1 5d28b8356b0d52dbe59babe1f90bed8a9437f1f7445c3be6b356da6614c21a7c [2022-03-17T04:59:22.716Z] $ docker rm -f 5d28b8356b0d52dbe59babe1f90bed8a9437f1f7445c3be6b356da6614c21a7c [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T04:59:23.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T04:59:23.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T04:59:23.870Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T04:59:24.164Z] + ls -al . [2022-03-17T04:59:24.164Z] total 312 [2022-03-17T04:59:24.164Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:59 . [2022-03-17T04:59:24.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:58 .. [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 04:58 .dockerignore [2022-03-17T04:59:24.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 04:58 .git [2022-03-17T04:59:24.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:58 .github [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 04:58 .gitignore [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 04:58 .golangci.yml [2022-03-17T04:59:24.164Z] drwx------ 3 jenkins jenkins 4096 Mar 17 04:58 .semver [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 04:58 CHANGELOG.md [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 04:58 GOVERNANCE.md [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 04:58 Jenkinsfile [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 04:58 LICENSE [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 04:58 Makefile [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 04:58 OWNERS.md [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 04:58 README.md [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 04:58 VERSION [2022-03-17T04:59:24.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 04:58 bin [2022-03-17T04:59:24.164Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 04:59 coverage.out [2022-03-17T04:59:24.164Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:58 example [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 04:58 go.mod [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 04:58 go.sum [2022-03-17T04:59:24.164Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 04:58 internal [2022-03-17T04:59:24.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 04:58 openapi [2022-03-17T04:59:24.164Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 04:58 pkg [2022-03-17T04:59:24.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 04:58 snap [2022-03-17T04:59:24.164Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 04:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:59:24.469Z] + 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=3d39a6b1d7806654871acffae4a42b12e3fa230c --label arch=amd64 --label version=2.2.0-dev.19 . [2022-03-17T04:59:24.469Z] Sending build context to Docker daemon 9.639MB [2022-03-17T04:59:24.469Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T04:59:24.469Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T04:59:24.469Z] ---> aab5454b0433 [2022-03-17T04:59:24.469Z] Step 3/25 : ARG MAKE=make build [2022-03-17T04:59:24.730Z] ---> Running in 4e7b3affd227 [2022-03-17T04:59:24.730Z] Removing intermediate container 4e7b3affd227 [2022-03-17T04:59:24.730Z] ---> a5b27cc1ae20 [2022-03-17T04:59:24.730Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T04:59:24.730Z] ---> Running in d1917768146c [2022-03-17T04:59:24.730Z] Removing intermediate container d1917768146c [2022-03-17T04:59:24.730Z] ---> 8a8ca5af8ca0 [2022-03-17T04:59:24.730Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:59:24.991Z] ---> Running in 93f3830b93b9 [2022-03-17T04:59:24.991Z] Removing intermediate container 93f3830b93b9 [2022-03-17T04:59:24.991Z] ---> d41440302a74 [2022-03-17T04:59:24.991Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:59:24.991Z] ---> Running in b801a69c06bd [2022-03-17T04:59:25.563Z] Removing intermediate container b801a69c06bd [2022-03-17T04:59:25.563Z] ---> eb6895f08197 [2022-03-17T04:59:25.563Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T04:59:25.822Z] ---> Running in a4428b466999 [2022-03-17T04:59:26.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:59:27.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:59:27.285Z] OK: 221 MiB in 52 packages [2022-03-17T04:59:27.545Z] Removing intermediate container a4428b466999 [2022-03-17T04:59:27.545Z] ---> bfd33651e776 [2022-03-17T04:59:27.545Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T04:59:27.805Z] ---> c9d56409b58f [2022-03-17T04:59:27.805Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T04:59:27.805Z] ---> Running in f64668ea38e6 [2022-03-17T04:59:28.816Z] Removing intermediate container f64668ea38e6 [2022-03-17T04:59:28.816Z] ---> e6e7176c7ba4 [2022-03-17T04:59:28.816Z] Step 10/25 : COPY . . [2022-03-17T04:59:29.077Z] ---> 4ef023eff5ff [2022-03-17T04:59:29.077Z] Step 11/25 : RUN ${MAKE} [2022-03-17T04:59:29.077Z] ---> Running in bad2ee97f185 [2022-03-17T04:59:29.337Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T04:59:35.913Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T04:59:36.856Z] Removing intermediate container bad2ee97f185 [2022-03-17T04:59:36.856Z] ---> 7dd961ec037c [2022-03-17T04:59:36.856Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T04:59:37.426Z] 3.14: Pulling from library/alpine [2022-03-17T04:59:37.426Z] 97518928ae5f: Pulling fs layer [2022-03-17T04:59:37.686Z] 97518928ae5f: Download complete [2022-03-17T04:59:37.686Z] 97518928ae5f: Pull complete [2022-03-17T04:59:37.686Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T04:59:37.686Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T04:59:37.686Z] ---> 0a97eee8041e [2022-03-17T04:59:37.686Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T04:59:37.949Z] ---> Running in ba742ccdc5be [2022-03-17T04:59:37.949Z] Removing intermediate container ba742ccdc5be [2022-03-17T04:59:37.949Z] ---> 7f6c399c3a92 [2022-03-17T04:59:37.949Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T04:59:37.949Z] ---> Running in e94f12031d43 [2022-03-17T04:59:38.893Z] Removing intermediate container e94f12031d43 [2022-03-17T04:59:38.893Z] ---> 065597168037 [2022-03-17T04:59:38.893Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T04:59:38.893Z] ---> Running in 4016cdbc0b34 [2022-03-17T04:59:39.153Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T04:59:39.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T04:59:39.991Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T04:59:40.252Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T04:59:40.252Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T04:59:40.513Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T04:59:40.513Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T04:59:40.513Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T04:59:40.513Z] OK: 8 MiB in 19 packages [2022-03-17T04:59:41.083Z] Removing intermediate container 4016cdbc0b34 [2022-03-17T04:59:41.083Z] ---> e64b3f8d6c98 [2022-03-17T04:59:41.083Z] Step 16/25 : WORKDIR / [2022-03-17T04:59:41.083Z] ---> Running in 6adf024a0e6b [2022-03-17T04:59:41.083Z] Removing intermediate container 6adf024a0e6b [2022-03-17T04:59:41.083Z] ---> 95aa37d55873 [2022-03-17T04:59:41.083Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T04:59:41.342Z] ---> df131f23ba67 [2022-03-17T04:59:41.342Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T04:59:41.602Z] ---> c5c00df2639b [2022-03-17T04:59:41.602Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T04:59:41.862Z] ---> 28690f6b78a9 [2022-03-17T04:59:41.862Z] Step 20/25 : EXPOSE 59999 [2022-03-17T04:59:41.862Z] ---> Running in 653787103c41 [2022-03-17T04:59:41.862Z] Removing intermediate container 653787103c41 [2022-03-17T04:59:41.862Z] ---> 280ddf808526 [2022-03-17T04:59:41.862Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T04:59:42.125Z] ---> Running in e9e063223b80 [2022-03-17T04:59:42.125Z] Removing intermediate container e9e063223b80 [2022-03-17T04:59:42.125Z] ---> a645e7941800 [2022-03-17T04:59:42.125Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T04:59:42.125Z] ---> Running in ea0bbcc09d11 [2022-03-17T04:59:42.386Z] Removing intermediate container ea0bbcc09d11 [2022-03-17T04:59:42.386Z] ---> 3ddf65cb5d6b [2022-03-17T04:59:42.386Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T04:59:42.386Z] ---> Running in 56e705dcecca [2022-03-17T04:59:42.386Z] Removing intermediate container 56e705dcecca [2022-03-17T04:59:42.386Z] ---> 1ea123a95dbf [2022-03-17T04:59:42.386Z] Step 24/25 : LABEL git_sha=3d39a6b1d7806654871acffae4a42b12e3fa230c [2022-03-17T04:59:42.647Z] ---> Running in 97c3bb45c36a [2022-03-17T04:59:42.647Z] Removing intermediate container 97c3bb45c36a [2022-03-17T04:59:42.647Z] ---> f7d69215a844 [2022-03-17T04:59:42.647Z] Step 25/25 : LABEL version=2.2.0-dev.19 [2022-03-17T04:59:42.647Z] ---> Running in 83bfb10528f3 [2022-03-17T04:59:42.647Z] Removing intermediate container 83bfb10528f3 [2022-03-17T04:59:42.647Z] ---> f345127a54e5 [2022-03-17T04:59:42.647Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T04:59:42.647Z] Successfully built f345127a54e5 [2022-03-17T04:59:42.647Z] 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 [2022-03-17T04:59:43.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:59:43.070Z] [2022-03-17T04:59:43.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T04:59:43.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:59:43.372Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T04:59:43.372Z] 5eb5b503b376: Pulling fs layer [2022-03-17T04:59:43.372Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T04:59:43.372Z] ec43610c2a17: Pulling fs layer [2022-03-17T04:59:43.372Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T04:59:43.372Z] 33b1e0a273af: Pulling fs layer [2022-03-17T04:59:43.372Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T04:59:43.372Z] 2f39f015ded8: Pulling fs layer [2022-03-17T04:59:43.372Z] 33b1e0a273af: Waiting [2022-03-17T04:59:43.372Z] 5d3b04190fa2: Waiting [2022-03-17T04:59:43.372Z] 2f39f015ded8: Waiting [2022-03-17T04:59:43.372Z] 3a2ae6a8a46f: Waiting [2022-03-17T04:59:43.372Z] 5c69ac0246d0: Download complete [2022-03-17T04:59:43.372Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T04:59:43.372Z] 3a2ae6a8a46f: Download complete [2022-03-17T04:59:43.372Z] 33b1e0a273af: Verifying Checksum [2022-03-17T04:59:43.372Z] 33b1e0a273af: Download complete [2022-03-17T04:59:43.631Z] 5d3b04190fa2: Download complete [2022-03-17T04:59:43.631Z] ec43610c2a17: Verifying Checksum [2022-03-17T04:59:43.631Z] ec43610c2a17: Download complete [2022-03-17T04:59:43.631Z] 5eb5b503b376: Verifying Checksum [2022-03-17T04:59:43.631Z] 5eb5b503b376: Download complete [2022-03-17T04:59:44.198Z] 2f39f015ded8: Download complete [2022-03-17T04:59:45.136Z] 5eb5b503b376: Pull complete [2022-03-17T04:59:45.136Z] 5c69ac0246d0: Pull complete [2022-03-17T04:59:45.706Z] ec43610c2a17: Pull complete [2022-03-17T04:59:45.706Z] 3a2ae6a8a46f: Pull complete [2022-03-17T04:59:45.966Z] 33b1e0a273af: Pull complete [2022-03-17T04:59:45.966Z] 5d3b04190fa2: Pull complete [2022-03-17T04:59:51.254Z] 2f39f015ded8: Pull complete [2022-03-17T04:59:51.254Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T04:59:51.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T04:59:51.254Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T04:59:51.320Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T04:59:51.364Z] $ 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 [2022-03-17T04:59:53.487Z] $ docker top 99339024c89c27013f79d386b5e7d7c4da248542767663e6db6fae365a7424bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T04:59:53.926Z] ---> job-cost.sh [2022-03-17T04:59:53.926Z] lf-activate-venv: SKIPPING [2022-03-17T04:59:53.926Z] INFO: No Stack... [2022-03-17T04:59:54.186Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T04:59:54.760Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T04:59:55.060Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-03-17T04:59:55.060Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T04:59:55.078Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [2022-03-17T04:59:55.088Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] did not exist. Created. [2022-03-17T04:59:55.088Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T04:59:55.554Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T04:59:55.586Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T04:59:55.592Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T04:59:55.620Z] $ docker stop --time=1 99339024c89c27013f79d386b5e7d7c4da248542767663e6db6fae365a7424bc [2022-03-17T04:59:56.911Z] $ docker rm -f 99339024c89c27013f79d386b5e7d7c4da248542767663e6db6fae365a7424bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T05:00:10.427Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7781 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-03-17T05:00:10.443Z] Running in /w/workspace/device-sdk-go/52 [Pipeline] { [Pipeline] checkout [2022-03-17T05:00:10.690Z] The recommended git tool is: git [2022-03-17T05:00:18.071Z] using credential edgex-jenkins-ssh [2022-03-17T05:00:18.088Z] Cloning the remote Git repository [2022-03-17T05:00:18.161Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:00:18.256Z] > git init /w/workspace/device-sdk-go/52 # timeout=10 [2022-03-17T05:00:18.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:00:18.371Z] > git --version # timeout=10 [2022-03-17T05:00:18.409Z] > git --version # 'git version 2.25.1' [2022-03-17T05:00:18.411Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T05:00:18.564Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:00:20.361Z] Avoid second fetch [2022-03-17T05:00:20.362Z] Checking out Revision 3d39a6b1d7806654871acffae4a42b12e3fa230c (main) [2022-03-17T05:00:20.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T05:00:20.325Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:00:20.390Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T05:00:20.435Z] > git checkout -f 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 [2022-03-17T05:00:25.444Z] Commit message: "Merge pull request #1107 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:00:26.407Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T05:00:26.407Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:00:26.408Z] Dload Upload Total Spent Left Speed [2022-03-17T05:00:26.408Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47562 [Pipeline] sh [2022-03-17T05:00:26.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T05:00:27.292Z] + sudo tee /etc/docker/daemon.new [2022-03-17T05:00:27.292Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T05:00:27.292Z] { [2022-03-17T05:00:27.292Z] "registry-mirrors": [ [2022-03-17T05:00:27.292Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T05:00:27.292Z] ], [2022-03-17T05:00:27.292Z] "bip": "10.250.0.254/24", [2022-03-17T05:00:27.292Z] "hosts": [ [2022-03-17T05:00:27.292Z] "tcp://0.0.0.0:5555", [2022-03-17T05:00:27.292Z] "unix:///var/run/docker.sock" [2022-03-17T05:00:27.292Z] ], [2022-03-17T05:00:27.292Z] "mtu": 1458, [2022-03-17T05:00:27.292Z] "selinux-enabled": true, [2022-03-17T05:00:27.292Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T05:00:27.292Z] } [Pipeline] sh [2022-03-17T05:00:27.652Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T05:00:28.001Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:00:46.367Z] provisioning config files... [2022-03-17T05:00:46.392Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/52@tmp/config8537270087531375802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:00:46.762Z] ---> docker-login.sh [2022-03-17T05:00:46.762Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:00:47.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:00:47.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:00:47.645Z] Configure a credential helper to remove this warning. See [2022-03-17T05:00:47.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:00:47.645Z] [2022-03-17T05:00:47.645Z] Login Succeeded [2022-03-17T05:00:47.645Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:00:47.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:00:48.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:00:48.196Z] Configure a credential helper to remove this warning. See [2022-03-17T05:00:48.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:00:48.196Z] [2022-03-17T05:00:48.196Z] Login Succeeded [2022-03-17T05:00:48.196Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:00:48.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:00:48.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:00:48.475Z] Configure a credential helper to remove this warning. See [2022-03-17T05:00:48.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:00:48.475Z] [2022-03-17T05:00:48.475Z] Login Succeeded [2022-03-17T05:00:48.475Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:00:49.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:00:49.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:00:49.080Z] Configure a credential helper to remove this warning. See [2022-03-17T05:00:49.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:00:49.080Z] [2022-03-17T05:00:49.080Z] Login Succeeded [2022-03-17T05:00:49.080Z] docker.io [2022-03-17T05:00:49.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:00:49.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:00:49.951Z] Configure a credential helper to remove this warning. See [2022-03-17T05:00:49.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:00:49.951Z] [2022-03-17T05:00:49.951Z] Login Succeeded [2022-03-17T05:00:49.951Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:00:49.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T05:00:50.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T05:00:50.536Z] ========================================================= [2022-03-17T05:00:50.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T05:00:50.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:00:50.903Z] + 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 . [2022-03-17T05:00:51.531Z] Sending build context to Docker daemon 5.139MB [2022-03-17T05:00:51.531Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:00:51.531Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T05:00:51.532Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T05:00:51.532Z] 9b3977197b4f: Pulling fs layer [2022-03-17T05:00:51.532Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T05:00:51.532Z] 94645a83ff95: Pulling fs layer [2022-03-17T05:00:51.532Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T05:00:51.532Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T05:00:51.532Z] f7c0051592d6: Pulling fs layer [2022-03-17T05:00:51.532Z] a227ed2f7395: Pulling fs layer [2022-03-17T05:00:51.532Z] 7b1c46037f91: Pulling fs layer [2022-03-17T05:00:51.532Z] 0c92f367c5e7: Waiting [2022-03-17T05:00:51.532Z] f7c0051592d6: Waiting [2022-03-17T05:00:51.532Z] a227ed2f7395: Waiting [2022-03-17T05:00:51.532Z] 7b1c46037f91: Waiting [2022-03-17T05:00:51.532Z] 3f3a8bcf1eab: Waiting [2022-03-17T05:00:51.532Z] 94645a83ff95: Verifying Checksum [2022-03-17T05:00:51.532Z] 94645a83ff95: Download complete [2022-03-17T05:00:51.532Z] 1a89e8eeedd5: Verifying Checksum [2022-03-17T05:00:51.532Z] 1a89e8eeedd5: Download complete [2022-03-17T05:00:51.532Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T05:00:51.532Z] 0c92f367c5e7: Download complete [2022-03-17T05:00:51.532Z] f7c0051592d6: Verifying Checksum [2022-03-17T05:00:51.532Z] f7c0051592d6: Download complete [2022-03-17T05:00:51.813Z] 9b3977197b4f: Download complete [2022-03-17T05:00:51.813Z] a227ed2f7395: Download complete [2022-03-17T05:00:52.431Z] 9b3977197b4f: Pull complete [2022-03-17T05:00:53.034Z] 1a89e8eeedd5: Pull complete [2022-03-17T05:00:53.313Z] 94645a83ff95: Pull complete [2022-03-17T05:00:53.914Z] 7b1c46037f91: Verifying Checksum [2022-03-17T05:00:54.521Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T05:00:54.521Z] 3f3a8bcf1eab: Download complete [2022-03-17T05:01:06.941Z] 3f3a8bcf1eab: Pull complete [2022-03-17T05:01:06.941Z] 0c92f367c5e7: Pull complete [2022-03-17T05:01:06.941Z] f7c0051592d6: Pull complete [2022-03-17T05:01:07.221Z] a227ed2f7395: Pull complete [2022-03-17T05:01:13.997Z] 7b1c46037f91: Pull complete [2022-03-17T05:01:13.997Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T05:01:13.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T05:01:13.997Z] ---> f79e39bc4007 [2022-03-17T05:01:13.997Z] Step 3/11 : ARG MAKE=make build [2022-03-17T05:01:14.274Z] ---> Running in 4933e6a5bc79 [2022-03-17T05:01:14.557Z] Removing intermediate container 4933e6a5bc79 [2022-03-17T05:01:14.557Z] ---> d99f2c47a693 [2022-03-17T05:01:14.557Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T05:01:14.557Z] ---> Running in ce5dbb14e899 [2022-03-17T05:01:14.831Z] Removing intermediate container ce5dbb14e899 [2022-03-17T05:01:14.831Z] ---> abb6b5781909 [2022-03-17T05:01:14.831Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:01:15.115Z] ---> Running in 657785e33106 [2022-03-17T05:01:15.395Z] Removing intermediate container 657785e33106 [2022-03-17T05:01:15.395Z] ---> ded97b6e42fa [2022-03-17T05:01:15.395Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:01:15.395Z] ---> Running in 5cf31116399c [2022-03-17T05:01:17.381Z] Removing intermediate container 5cf31116399c [2022-03-17T05:01:17.381Z] ---> f4a398d3a2be [2022-03-17T05:01:17.381Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:01:17.381Z] ---> Running in 392812c4eff0 [2022-03-17T05:01:18.369Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:01:18.964Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:01:19.943Z] OK: 220 MiB in 52 packages [2022-03-17T05:01:20.551Z] Removing intermediate container 392812c4eff0 [2022-03-17T05:01:20.551Z] ---> 35dfecd8b5f9 [2022-03-17T05:01:20.551Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T05:01:21.166Z] ---> 871eae388c73 [2022-03-17T05:01:21.166Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:01:21.166Z] ---> Running in 556e5874cdab [2022-03-17T05:02:42.988Z] Removing intermediate container 556e5874cdab [2022-03-17T05:02:42.988Z] ---> 9bb7523474ec [2022-03-17T05:02:42.988Z] Step 10/11 : COPY . . [2022-03-17T05:02:42.988Z] ---> 2bfd2b3dff65 [2022-03-17T05:02:42.988Z] Step 11/11 : RUN ${MAKE} [2022-03-17T05:02:42.988Z] ---> Running in 8335f272d1cd [2022-03-17T05:02:42.988Z] noop [2022-03-17T05:02:42.988Z] Removing intermediate container 8335f272d1cd [2022-03-17T05:02:42.988Z] ---> 260e3911547a [2022-03-17T05:02:42.988Z] Successfully built 260e3911547a [2022-03-17T05:02:42.988Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:02:43.335Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:02:43.335Z] . [Pipeline] withDockerContainer [2022-03-17T05:02:43.584Z] prd-ubuntu20.04-docker-arm64-4c-16g-7781 does not seem to be running inside a container [2022-03-17T05:02:43.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/52 -v /w/workspace/device-sdk-go/52:/w/workspace/device-sdk-go/52:rw,z -v /w/workspace/device-sdk-go/52@tmp:/w/workspace/device-sdk-go/52@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-arm64 cat [2022-03-17T05:02:44.876Z] $ docker top d514db7b39af55e0db2594b78c1274f615f3a0428b160e79b0d731bf701a2d47 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:02:45.789Z] + go version [2022-03-17T05:02:45.789Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T05:02:45.816Z] $ docker stop --time=1 d514db7b39af55e0db2594b78c1274f615f3a0428b160e79b0d731bf701a2d47 [2022-03-17T05:02:47.446Z] $ docker rm -f d514db7b39af55e0db2594b78c1274f615f3a0428b160e79b0d731bf701a2d47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:02:48.038Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:02:48.038Z] . [Pipeline] withDockerContainer [2022-03-17T05:02:48.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-7781 does not seem to be running inside a container [2022-03-17T05:02:48.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/52 -v /w/workspace/device-sdk-go/52:/w/workspace/device-sdk-go/52:rw,z -v /w/workspace/device-sdk-go/52@tmp:/w/workspace/device-sdk-go/52@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-arm64 cat [2022-03-17T05:02:49.598Z] $ docker top 6f34477e46f6125bf209de278f10c066c30f859e38e6b27caa65b2702325234b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T05:02:50.591Z] + make test [2022-03-17T05:02:50.591Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T05:02:52.038Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T05:03:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T05:03:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T05:03:39.107Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T05:03:47.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.081s coverage: 23.3% of statements [2022-03-17T05:03:47.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T05:03:47.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.071s coverage: 27.6% of statements [2022-03-17T05:03:47.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-03-17T05:03:47.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.095s coverage: 10.8% of statements [2022-03-17T05:03:47.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T05:03:47.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T05:03:47.425Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T05:03:48.420Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 33.2% of statements [2022-03-17T05:03:48.420Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T05:03:49.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.132s coverage: 86.1% of statements [2022-03-17T05:03:49.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T05:03:49.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T05:03:49.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.4% of statements [2022-03-17T05:03:50.032Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.175s coverage: 89.2% of statements [2022-03-17T05:03:50.032Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T05:03:52.008Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements [2022-03-17T05:03:52.008Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T05:03:52.008Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T05:03:52.008Z] GO111MODULE=on go vet ./... [2022-03-17T05:04:14.209Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T05:04:14.209Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T05:04:14.209Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T05:04:14.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T05:04:14.246Z] $ docker stop --time=1 6f34477e46f6125bf209de278f10c066c30f859e38e6b27caa65b2702325234b [2022-03-17T05:04:15.994Z] $ docker rm -f 6f34477e46f6125bf209de278f10c066c30f859e38e6b27caa65b2702325234b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:04:16.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T05:04:16.879Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T05:04:17.654Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:04:18.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T05:04:18.440Z] + ls -al . [2022-03-17T05:04:18.440Z] total 308 [2022-03-17T05:04:18.440Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:04 . [2022-03-17T05:04:18.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:00 .. [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:00 .dockerignore [2022-03-17T05:04:18.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:00 .git [2022-03-17T05:04:18.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:00 .github [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:00 .gitignore [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:00 .golangci.yml [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:00 CHANGELOG.md [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:00 GOVERNANCE.md [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:00 Jenkinsfile [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:00 LICENSE [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:00 Makefile [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:00 OWNERS.md [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:00 README.md [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 04:58 VERSION [2022-03-17T05:04:18.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:00 bin [2022-03-17T05:04:18.440Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:03 coverage.out [2022-03-17T05:04:18.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:00 example [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:00 go.mod [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 49866 Mar 17 05:00 go.sum [2022-03-17T05:04:18.440Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:00 internal [2022-03-17T05:04:18.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:00 openapi [2022-03-17T05:04:18.440Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:00 pkg [2022-03-17T05:04:18.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:00 snap [2022-03-17T05:04:18.440Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:00 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:04:18.822Z] + 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=3d39a6b1d7806654871acffae4a42b12e3fa230c --label arch=arm64 --label version=2.2.0-dev.19 . [2022-03-17T05:04:19.482Z] Sending build context to Docker daemon 5.269MB [2022-03-17T05:04:19.482Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:04:19.482Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T05:04:19.482Z] ---> 260e3911547a [2022-03-17T05:04:19.482Z] Step 3/25 : ARG MAKE=make build [2022-03-17T05:04:19.482Z] ---> Running in d670a173dadc [2022-03-17T05:04:19.759Z] Removing intermediate container d670a173dadc [2022-03-17T05:04:19.759Z] ---> 2e5b2b505141 [2022-03-17T05:04:19.759Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T05:04:20.034Z] ---> Running in 573668ba0f30 [2022-03-17T05:04:20.307Z] Removing intermediate container 573668ba0f30 [2022-03-17T05:04:20.307Z] ---> a3e83e805149 [2022-03-17T05:04:20.307Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:04:20.307Z] ---> Running in 28715e5e890b [2022-03-17T05:04:20.585Z] Removing intermediate container 28715e5e890b [2022-03-17T05:04:20.585Z] ---> 6b9dedefcaa6 [2022-03-17T05:04:20.585Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:04:20.859Z] ---> Running in cd414fe537ac [2022-03-17T05:04:22.848Z] Removing intermediate container cd414fe537ac [2022-03-17T05:04:22.848Z] ---> 7973eab01e62 [2022-03-17T05:04:22.848Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:04:22.848Z] ---> Running in 8bb43bc0bf3a [2022-03-17T05:04:23.444Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:04:24.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:04:25.405Z] OK: 220 MiB in 52 packages [2022-03-17T05:04:26.004Z] Removing intermediate container 8bb43bc0bf3a [2022-03-17T05:04:26.004Z] ---> e895c1bfe8b8 [2022-03-17T05:04:26.004Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T05:04:26.608Z] ---> 71948c1bbda6 [2022-03-17T05:04:26.608Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:04:26.886Z] ---> Running in 12f11b359c94 [2022-03-17T05:04:28.873Z] Removing intermediate container 12f11b359c94 [2022-03-17T05:04:28.873Z] ---> de18739f14e6 [2022-03-17T05:04:28.873Z] Step 10/25 : COPY . . [2022-03-17T05:04:30.307Z] ---> d45be6418d63 [2022-03-17T05:04:30.307Z] Step 11/25 : RUN ${MAKE} [2022-03-17T05:04:30.307Z] ---> Running in 0aef2b4ceaf3 [2022-03-17T05:04:31.296Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.19" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T05:05:10.333Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T05:05:10.333Z] Removing intermediate container 0aef2b4ceaf3 [2022-03-17T05:05:10.333Z] ---> 6cd4d061a9d1 [2022-03-17T05:05:10.333Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T05:05:10.604Z] 3.14: Pulling from library/alpine [2022-03-17T05:05:10.604Z] be307f383ecc: Pulling fs layer [2022-03-17T05:05:10.878Z] be307f383ecc: Verifying Checksum [2022-03-17T05:05:10.878Z] be307f383ecc: Download complete [2022-03-17T05:05:11.476Z] be307f383ecc: Pull complete [2022-03-17T05:05:11.476Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T05:05:11.476Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T05:05:11.476Z] ---> 5b8b7b635229 [2022-03-17T05:05:11.476Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:05:11.476Z] ---> Running in 0f8240d66c4c [2022-03-17T05:05:11.750Z] Removing intermediate container 0f8240d66c4c [2022-03-17T05:05:11.750Z] ---> de934d8895b3 [2022-03-17T05:05:11.750Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:05:12.030Z] ---> Running in 3337b4908f7b [2022-03-17T05:05:13.479Z] Removing intermediate container 3337b4908f7b [2022-03-17T05:05:13.479Z] ---> f5c59f5a4e2f [2022-03-17T05:05:13.479Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T05:05:13.479Z] ---> Running in 57e1f5583252 [2022-03-17T05:05:14.915Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:05:15.509Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:05:16.495Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T05:05:16.495Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T05:05:16.495Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T05:05:16.495Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T05:05:16.769Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T05:05:16.769Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T05:05:16.769Z] OK: 8 MiB in 19 packages [2022-03-17T05:05:17.755Z] Removing intermediate container 57e1f5583252 [2022-03-17T05:05:17.755Z] ---> 5d9a2c4881e4 [2022-03-17T05:05:17.755Z] Step 16/25 : WORKDIR / [2022-03-17T05:05:17.755Z] ---> Running in 14db4c8eb773 [2022-03-17T05:05:18.029Z] Removing intermediate container 14db4c8eb773 [2022-03-17T05:05:18.029Z] ---> 91c1b4fec50d [2022-03-17T05:05:18.029Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T05:05:18.626Z] ---> ca0fc9d0d98f [2022-03-17T05:05:18.626Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T05:05:19.606Z] ---> c883ff77e112 [2022-03-17T05:05:19.606Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T05:05:20.586Z] ---> fca700787fa7 [2022-03-17T05:05:20.586Z] Step 20/25 : EXPOSE 59999 [2022-03-17T05:05:20.586Z] ---> Running in bd9bd85160a2 [2022-03-17T05:05:20.858Z] Removing intermediate container bd9bd85160a2 [2022-03-17T05:05:20.858Z] ---> d4d2bbcda5a9 [2022-03-17T05:05:20.858Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T05:05:20.858Z] ---> Running in aca7539add25 [2022-03-17T05:05:21.135Z] Removing intermediate container aca7539add25 [2022-03-17T05:05:21.135Z] ---> f2f7e4ee5c87 [2022-03-17T05:05:21.135Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T05:05:21.135Z] ---> Running in 78420645f179 [2022-03-17T05:05:21.417Z] Removing intermediate container 78420645f179 [2022-03-17T05:05:21.417Z] ---> 4fc74f1b6c55 [2022-03-17T05:05:21.417Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T05:05:21.691Z] ---> Running in e7cee964006a [2022-03-17T05:05:21.966Z] Removing intermediate container e7cee964006a [2022-03-17T05:05:21.966Z] ---> 93926010f75f [2022-03-17T05:05:21.966Z] Step 24/25 : LABEL git_sha=3d39a6b1d7806654871acffae4a42b12e3fa230c [2022-03-17T05:05:21.966Z] ---> Running in 8c38564f1dc2 [2022-03-17T05:05:22.245Z] Removing intermediate container 8c38564f1dc2 [2022-03-17T05:05:22.245Z] ---> 566c1cca54ce [2022-03-17T05:05:22.245Z] Step 25/25 : LABEL version=2.2.0-dev.19 [2022-03-17T05:05:22.532Z] ---> Running in 066d3b100614 [2022-03-17T05:05:22.811Z] Removing intermediate container 066d3b100614 [2022-03-17T05:05:22.811Z] ---> d76758bdb72e [2022-03-17T05:05:22.811Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T05:05:22.811Z] Successfully built d76758bdb72e [2022-03-17T05:05:22.811Z] 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 [2022-03-17T05:05:23.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:05:23.246Z] [2022-03-17T05:05:23.246Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:05:23.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:05:23.866Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T05:05:23.866Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T05:05:23.866Z] 04944245beec: Pulling fs layer [2022-03-17T05:05:23.866Z] 699f458cf7ca: Pulling fs layer [2022-03-17T05:05:23.866Z] 765212b225bb: Pulling fs layer [2022-03-17T05:05:23.866Z] f23df028b6ca: Pulling fs layer [2022-03-17T05:05:23.866Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T05:05:23.866Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T05:05:23.866Z] 765212b225bb: Waiting [2022-03-17T05:05:23.866Z] d65c8cfc05b1: Waiting [2022-03-17T05:05:23.866Z] 2437ff75d9bd: Waiting [2022-03-17T05:05:23.866Z] f23df028b6ca: Waiting [2022-03-17T05:05:23.866Z] 04944245beec: Verifying Checksum [2022-03-17T05:05:23.866Z] 04944245beec: Download complete [2022-03-17T05:05:23.866Z] 765212b225bb: Verifying Checksum [2022-03-17T05:05:23.866Z] 765212b225bb: Download complete [2022-03-17T05:05:23.866Z] f23df028b6ca: Download complete [2022-03-17T05:05:24.139Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T05:05:24.139Z] d65c8cfc05b1: Download complete [2022-03-17T05:05:24.139Z] 699f458cf7ca: Verifying Checksum [2022-03-17T05:05:24.139Z] 699f458cf7ca: Download complete [2022-03-17T05:05:24.412Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T05:05:24.413Z] 8998bd30e6a1: Download complete [2022-03-17T05:05:27.039Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T05:05:27.039Z] 2437ff75d9bd: Download complete [2022-03-17T05:05:29.015Z] 8998bd30e6a1: Pull complete [2022-03-17T05:05:29.287Z] 04944245beec: Pull complete [2022-03-17T05:05:30.730Z] 699f458cf7ca: Pull complete [2022-03-17T05:05:31.003Z] 765212b225bb: Pull complete [2022-03-17T05:05:31.599Z] f23df028b6ca: Pull complete [2022-03-17T05:05:31.871Z] d65c8cfc05b1: Pull complete [2022-03-17T05:05:46.966Z] 2437ff75d9bd: Pull complete [2022-03-17T05:05:46.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T05:05:46.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:05:46.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T05:05:47.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-7781 does not seem to be running inside a container [2022-03-17T05:05:47.308Z] $ 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/52 -v /w/workspace/device-sdk-go/52:/w/workspace/device-sdk-go/52:rw,z -v /w/workspace/device-sdk-go/52@tmp:/w/workspace/device-sdk-go/52@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:arm64 cat [2022-03-17T05:05:50.027Z] $ docker top d8b699784318bf0709b5a952b60a5f0e1e6d69b6a246b94c9319691ce807049f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:05:50.969Z] ---> job-cost.sh [2022-03-17T05:05:50.969Z] lf-activate-venv: SKIPPING [2022-03-17T05:05:50.969Z] INFO: No Stack... [2022-03-17T05:05:51.560Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T05:05:52.537Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T05:05:53.209Z] + + cat /w/workspace/device-sdk-go/52/archives/cost.csvcut [2022-03-17T05:05:53.209Z] -d, -f6 [Pipeline] lock [2022-03-17T05:05:53.271Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [2022-03-17T05:05:53.277Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] did not exist. Created. [2022-03-17T05:05:53.277Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T05:05:53.958Z] /w/workspace/device-sdk-go/52@tmp/durable-e6eb579d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T05:05:54.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T05:05:54.716Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T05:05:54.800Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T05:05:54.806Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T05:05:54.825Z] $ docker stop --time=1 d8b699784318bf0709b5a952b60a5f0e1e6d69b6a246b94c9319691ce807049f [2022-03-17T05:05:56.401Z] $ docker rm -f d8b699784318bf0709b5a952b60a5f0e1e6d69b6a246b94c9319691ce807049f [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 [2022-03-17T05:05:56.937Z] provisioning config files... [2022-03-17T05:05:56.944Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8522222857834678725tmp [Pipeline] { [Pipeline] sh [2022-03-17T05:05:57.235Z] + set +x [2022-03-17T05:05:57.235Z] + bash -s -- [2022-03-17T05:05:57.235Z] + curl -s https://codecov.io/bash [2022-03-17T05:05:57.235Z] [2022-03-17T05:05:57.235Z] _____ _ [2022-03-17T05:05:57.235Z] / ____| | | [2022-03-17T05:05:57.235Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T05:05:57.235Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T05:05:57.235Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T05:05:57.235Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T05:05:57.235Z] Bash-1.0.6 [2022-03-17T05:05:57.235Z] [2022-03-17T05:05:57.235Z] [2022-03-17T05:05:57.235Z] ==> git version 2.25.1 found [2022-03-17T05:05:57.235Z] ==> 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 [2022-03-17T05:05:57.235Z] Release-Date: 2020-01-08 [2022-03-17T05:05:57.235Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-17T05:05:57.235Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T05:05:57.235Z] ==> Jenkins CI detected. [2022-03-17T05:05:57.235Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:05:57.235Z] project root: . [2022-03-17T05:05:57.235Z] --> token set from env [2022-03-17T05:05:57.235Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T05:05:57.235Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T05:05:57.235Z] ==> Python coveragepy not found [2022-03-17T05:05:57.235Z] ==> Searching for coverage reports in: [2022-03-17T05:05:57.235Z] + . [2022-03-17T05:05:57.235Z] -> Found 1 reports [2022-03-17T05:05:57.235Z] ==> Detecting git/mercurial file structure [2022-03-17T05:05:57.235Z] ==> Reading reports [2022-03-17T05:05:57.235Z] + ./coverage.out bytes=129001 [2022-03-17T05:05:57.235Z] ==> Appending adjustments [2022-03-17T05:05:57.235Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T05:05:57.496Z] + Found adjustments [2022-03-17T05:05:57.757Z] ==> Gzipping contents [2022-03-17T05:05:57.757Z] 16K /tmp/codecov.7aW0TU.gz [2022-03-17T05:05:57.757Z] ==> Uploading reports [2022-03-17T05:05:57.757Z] url: https://codecov.io [2022-03-17T05:05:57.757Z] query: branch=main&commit=3d39a6b1d7806654871acffae4a42b12e3fa230c&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T05:05:57.757Z] -> Pinging Codecov [2022-03-17T05:05:57.757Z] 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=3d39a6b1d7806654871acffae4a42b12e3fa230c&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T05:05:58.017Z] -> Uploading to [2022-03-17T05:05:58.017Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/3d39a6b1d7806654871acffae4a42b12e3fa230c/50bee5ed-4c66-4774-85ce-319d367898fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T050557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f60d11d7e4c85cb7675211c2ad6ce261c6e1d54b43b0dd56af94b45f087f6c81 [2022-03-17T05:05:58.277Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:05:58.277Z] Dload Upload Total Spent Left Speed [2022-03-17T05:05:58.277Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16237 0 0 100 16237 0 79985 --:--:-- --:--:-- --:--:-- 79985 100 16237 0 0 100 16237 0 72164 --:--:-- --:--:-- --:--:-- 71845 [2022-03-17T05:05:58.277Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] } [2022-03-17T05:05:58.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T05:05:58.559Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T05:05:58.566Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:05:58.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:05:58.854Z] [2022-03-17T05:05:58.854Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:05:59.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:05:59.170Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T05:05:59.170Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T05:05:59.170Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T05:05:59.170Z] de9db76c5a1d: Pulling fs layer [2022-03-17T05:05:59.170Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T05:05:59.170Z] 0d57e429df01: Pulling fs layer [2022-03-17T05:05:59.170Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T05:05:59.170Z] e1f770b5df2f: Pulling fs layer [2022-03-17T05:05:59.170Z] 85a0685a4137: Pulling fs layer [2022-03-17T05:05:59.170Z] 0eba1c9be4d2: Waiting [2022-03-17T05:05:59.170Z] 0d57e429df01: Waiting [2022-03-17T05:05:59.170Z] 4e4be7b47b0d: Waiting [2022-03-17T05:05:59.170Z] e1f770b5df2f: Waiting [2022-03-17T05:05:59.170Z] 85a0685a4137: Waiting [2022-03-17T05:05:59.170Z] de9db76c5a1d: Verifying Checksum [2022-03-17T05:05:59.170Z] de9db76c5a1d: Download complete [2022-03-17T05:05:59.170Z] 0ef7d3d256c8: Verifying Checksum [2022-03-17T05:05:59.170Z] 0ef7d3d256c8: Download complete [2022-03-17T05:05:59.170Z] 0d57e429df01: Verifying Checksum [2022-03-17T05:05:59.170Z] 0d57e429df01: Download complete [2022-03-17T05:05:59.170Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T05:05:59.170Z] 4e4be7b47b0d: Download complete [2022-03-17T05:05:59.170Z] 188c0c94c7c5: Verifying Checksum [2022-03-17T05:05:59.170Z] 188c0c94c7c5: Download complete [2022-03-17T05:05:59.430Z] 188c0c94c7c5: Pull complete [2022-03-17T05:05:59.430Z] 0ef7d3d256c8: Pull complete [2022-03-17T05:05:59.430Z] e1f770b5df2f: Verifying Checksum [2022-03-17T05:05:59.430Z] e1f770b5df2f: Download complete [2022-03-17T05:05:59.430Z] de9db76c5a1d: Pull complete [2022-03-17T05:05:59.997Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T05:05:59.997Z] 0eba1c9be4d2: Download complete [2022-03-17T05:05:59.997Z] 85a0685a4137: Verifying Checksum [2022-03-17T05:05:59.997Z] 85a0685a4137: Download complete [2022-03-17T05:06:03.283Z] 0eba1c9be4d2: Pull complete [2022-03-17T05:06:03.283Z] 0d57e429df01: Pull complete [2022-03-17T05:06:03.283Z] 4e4be7b47b0d: Pull complete [2022-03-17T05:06:03.541Z] e1f770b5df2f: Pull complete [2022-03-17T05:06:06.833Z] 85a0685a4137: Pull complete [2022-03-17T05:06:06.833Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T05:06:06.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:06:06.833Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T05:06:06.898Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:06.943Z] $ 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 [2022-03-17T05:06:09.183Z] $ docker top ab1d7f2ebffdb89bb4b8e0c4a21a83ac9cc9f6a8d331a38ef1e92980b81f7785 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T05:06:09.258Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T05:06:09.541Z] + set -o pipefail [2022-03-17T05:06:09.541Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T05:06:14.825Z] [2022-03-17T05:06:14.825Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-03-17T05:06:14.825Z] [2022-03-17T05:06:14.825Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/15c308c4-9ff2-4280-8f45-b7d7f663daf3 [2022-03-17T05:06:14.825Z] [2022-03-17T05:06:14.825Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T05:06:14.825Z] [2022-03-17T05:06:15.085Z] [Pipeline] } [2022-03-17T05:06:15.101Z] $ docker stop --time=1 ab1d7f2ebffdb89bb4b8e0c4a21a83ac9cc9f6a8d331a38ef1e92980b81f7785 [2022-03-17T05:06:16.837Z] $ docker rm -f ab1d7f2ebffdb89bb4b8e0c4a21a83ac9cc9f6a8d331a38ef1e92980b81f7785 [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 [2022-03-17T05:06:17.174Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:06:17.185Z] provisioning config files... [2022-03-17T05:06:17.194Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5112423673982496573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:17.498Z] --> edgex-publish-swagger.sh [2022-03-17T05:06:17.498Z] === Publish openapi/v2 API === [2022-03-17T05:06:17.498Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-03-17T05:06:17.498Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-03-17T05:06:17.498Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:06:17.498Z] Dload Upload Total Spent Left Speed [2022-03-17T05:06:18.442Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 53228 0:00:01 0:00:01 --:--:-- 53228 100 53282 0 0 100 53282 0 53175 0:00:01 0:00:01 --:--:-- 53228 [2022-03-17T05:06:18.442Z] [2022-03-17T05:06:18.442Z] [Pipeline] } [2022-03-17T05:06:18.451Z] 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 [2022-03-17T05:06:18.865Z] + git log --format=format:%s -1 3d39a6b1d7806654871acffae4a42b12e3fa230c [Pipeline] sh [2022-03-17T05:06:19.160Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:06:19.160Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:19.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:06:19.456Z] . [Pipeline] withDockerContainer [2022-03-17T05:06:19.530Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:19.570Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T05:06:20.035Z] $ docker top c4b77f854e322b2c2fc7a8289ec1899e9c228a64c08daa8fa732b344c401f181 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:06:20.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:06:20.139Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:06:20.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:06:20.276Z] $ docker exec c4b77f854e322b2c2fc7a8289ec1899e9c228a64c08daa8fa732b344c401f181 ssh-agent [2022-03-17T05:06:20.395Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXofIAjl/agent.13 [2022-03-17T05:06:20.395Z] SSH_AGENT_PID=19 [2022-03-17T05:06:20.401Z] Running ssh-add (command line suppressed) [2022-03-17T05:06:20.536Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2423848419206005979.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2423848419206005979.key) [2022-03-17T05:06:20.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:06:20.842Z] + git semver tag [2022-03-17T05:06:20.842Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:06:20.842Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:06:20.842Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:06:20.842Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:06:20.842Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:06:20.842Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:06:20.842Z] # $SEMVER_BRANCH = main [2022-03-17T05:06:20.842Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T05:06:20.842Z] # 3d39a6b1d7806654871acffae4a42b12e3fa230c HEAD [2022-03-17T05:06:20.842Z] # -> Force: false [2022-03-17T05:06:20.842Z] # b7511f0ae1928116168e00dd81d57d0e90d93dd9 refs/tags/v2.2.0-dev.19 [Pipeline] } [2022-03-17T05:06:20.855Z] $ docker exec --env ******** --env ******** c4b77f854e322b2c2fc7a8289ec1899e9c228a64c08daa8fa732b344c401f181 ssh-agent -k [2022-03-17T05:06:20.970Z] unset SSH_AUTH_SOCK; [2022-03-17T05:06:20.971Z] unset SSH_AGENT_PID; [2022-03-17T05:06:20.971Z] echo Agent pid 19 killed; [2022-03-17T05:06:20.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:06:21.297Z] + git semver [Pipeline] } [2022-03-17T05:06:21.315Z] $ docker stop --time=1 c4b77f854e322b2c2fc7a8289ec1899e9c228a64c08daa8fa732b344c401f181 [2022-03-17T05:06:22.641Z] $ docker rm -f c4b77f854e322b2c2fc7a8289ec1899e9c228a64c08daa8fa732b344c401f181 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:23.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:06:23.045Z] [2022-03-17T05:06:23.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:23.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:06:23.350Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T05:06:23.350Z] ab5ef0e58194: Pulling fs layer [2022-03-17T05:06:23.350Z] 9712f1f96733: Pulling fs layer [2022-03-17T05:06:23.350Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T05:06:23.350Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T05:06:23.350Z] e9a5061849ea: Pulling fs layer [2022-03-17T05:06:23.350Z] d747dcd14b5f: Pulling fs layer [2022-03-17T05:06:23.350Z] 2de7ff778b66: Pulling fs layer [2022-03-17T05:06:23.350Z] 0d9ebad4ef96: Waiting [2022-03-17T05:06:23.350Z] e9a5061849ea: Waiting [2022-03-17T05:06:23.350Z] d747dcd14b5f: Waiting [2022-03-17T05:06:23.350Z] 2de7ff778b66: Waiting [2022-03-17T05:06:23.350Z] 9712f1f96733: Download complete [2022-03-17T05:06:23.610Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T05:06:23.610Z] 63f879dbbcfc: Download complete [2022-03-17T05:06:23.870Z] e9a5061849ea: Verifying Checksum [2022-03-17T05:06:23.870Z] e9a5061849ea: Download complete [2022-03-17T05:06:23.870Z] d747dcd14b5f: Download complete [2022-03-17T05:06:23.870Z] ab5ef0e58194: Verifying Checksum [2022-03-17T05:06:23.870Z] ab5ef0e58194: Download complete [2022-03-17T05:06:23.870Z] 2de7ff778b66: Verifying Checksum [2022-03-17T05:06:23.870Z] 2de7ff778b66: Download complete [2022-03-17T05:06:23.870Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T05:06:23.870Z] 0d9ebad4ef96: Download complete [2022-03-17T05:06:27.166Z] ab5ef0e58194: Pull complete [2022-03-17T05:06:27.166Z] 9712f1f96733: Pull complete [2022-03-17T05:06:28.106Z] 63f879dbbcfc: Pull complete [2022-03-17T05:06:32.306Z] 0d9ebad4ef96: Pull complete [2022-03-17T05:06:32.566Z] e9a5061849ea: Pull complete [2022-03-17T05:06:32.566Z] d747dcd14b5f: Pull complete [2022-03-17T05:06:33.944Z] 2de7ff778b66: Pull complete [2022-03-17T05:06:33.944Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T05:06:33.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:06:33.944Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T05:06:34.021Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:34.059Z] $ 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 [2022-03-17T05:06:36.422Z] $ docker top d35d1f5714018821483389763dc82b98ca5ef877572fc15031dbe90671e1db91 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:06:36.527Z] provisioning config files... [2022-03-17T05:06:36.534Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4110078631616497529tmp [2022-03-17T05:06:36.543Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2763700257237483120tmp [2022-03-17T05:06:36.553Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2901727965105681137tmp [Pipeline] { [Pipeline] echo [2022-03-17T05:06:36.570Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:36.851Z] ---> sigul-configuration.sh [2022-03-17T05:06:36.851Z] gpg: directory `/root/.gnupg' created [2022-03-17T05:06:36.851Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T05:06:36.851Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T05:06:36.851Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T05:06:36.851Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T05:06:36.851Z] gpg: CAST5 encrypted data [2022-03-17T05:06:36.851Z] gpg: encrypted with 1 passphrase [2022-03-17T05:06:36.851Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T05:06:37.141Z] + mkdir /home/jenkins [2022-03-17T05:06:37.141Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T05:06:37.428Z] + 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 [2022-03-17T05:06:37.437Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:37.725Z] ---> sigul-install.sh [2022-03-17T05:06:37.725Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T05:06:38.016Z] + git tag --list [2022-03-17T05:06:38.016Z] 0.7.1 [2022-03-17T05:06:38.016Z] delhi-tag [2022-03-17T05:06:38.016Z] v1.0.0 [2022-03-17T05:06:38.016Z] v1.1.0 [2022-03-17T05:06:38.016Z] v1.1.1 [2022-03-17T05:06:38.016Z] v1.1.2 [2022-03-17T05:06:38.016Z] v1.2.0 [2022-03-17T05:06:38.016Z] v1.2.1 [2022-03-17T05:06:38.016Z] v1.2.2 [2022-03-17T05:06:38.016Z] v1.2.3 [2022-03-17T05:06:38.016Z] v1.3.0 [2022-03-17T05:06:38.016Z] v1.4.0 [2022-03-17T05:06:38.016Z] v2.0.0 [2022-03-17T05:06:38.016Z] v2.0.1-dev.1 [2022-03-17T05:06:38.016Z] v2.0.1-dev.10 [2022-03-17T05:06:38.016Z] v2.0.1-dev.11 [2022-03-17T05:06:38.016Z] v2.0.1-dev.12 [2022-03-17T05:06:38.016Z] v2.0.1-dev.13 [2022-03-17T05:06:38.016Z] v2.0.1-dev.14 [2022-03-17T05:06:38.016Z] v2.0.1-dev.15 [2022-03-17T05:06:38.016Z] v2.0.1-dev.16 [2022-03-17T05:06:38.016Z] v2.0.1-dev.17 [2022-03-17T05:06:38.016Z] v2.0.1-dev.18 [2022-03-17T05:06:38.016Z] v2.0.1-dev.19 [2022-03-17T05:06:38.016Z] v2.0.1-dev.2 [2022-03-17T05:06:38.016Z] v2.0.1-dev.20 [2022-03-17T05:06:38.016Z] v2.0.1-dev.21 [2022-03-17T05:06:38.016Z] v2.0.1-dev.22 [2022-03-17T05:06:38.016Z] v2.0.1-dev.23 [2022-03-17T05:06:38.016Z] v2.0.1-dev.24 [2022-03-17T05:06:38.016Z] v2.0.1-dev.25 [2022-03-17T05:06:38.016Z] v2.0.1-dev.26 [2022-03-17T05:06:38.016Z] v2.0.1-dev.27 [2022-03-17T05:06:38.016Z] v2.0.1-dev.28 [2022-03-17T05:06:38.016Z] v2.0.1-dev.29 [2022-03-17T05:06:38.016Z] v2.0.1-dev.3 [2022-03-17T05:06:38.016Z] v2.0.1-dev.30 [2022-03-17T05:06:38.016Z] v2.0.1-dev.31 [2022-03-17T05:06:38.016Z] v2.0.1-dev.32 [2022-03-17T05:06:38.016Z] v2.0.1-dev.33 [2022-03-17T05:06:38.016Z] v2.0.1-dev.4 [2022-03-17T05:06:38.016Z] v2.0.1-dev.5 [2022-03-17T05:06:38.016Z] v2.0.1-dev.6 [2022-03-17T05:06:38.016Z] v2.0.1-dev.7 [2022-03-17T05:06:38.016Z] v2.0.1-dev.8 [2022-03-17T05:06:38.016Z] v2.0.1-dev.9 [2022-03-17T05:06:38.016Z] v2.1.0 [2022-03-17T05:06:38.016Z] v2.1.1-dev.1 [2022-03-17T05:06:38.016Z] v2.2.0-dev.1 [2022-03-17T05:06:38.016Z] v2.2.0-dev.10 [2022-03-17T05:06:38.016Z] v2.2.0-dev.11 [2022-03-17T05:06:38.016Z] v2.2.0-dev.12 [2022-03-17T05:06:38.016Z] v2.2.0-dev.13 [2022-03-17T05:06:38.016Z] v2.2.0-dev.14 [2022-03-17T05:06:38.016Z] v2.2.0-dev.15 [2022-03-17T05:06:38.016Z] v2.2.0-dev.16 [2022-03-17T05:06:38.016Z] v2.2.0-dev.17 [2022-03-17T05:06:38.016Z] v2.2.0-dev.18 [2022-03-17T05:06:38.016Z] v2.2.0-dev.19 [2022-03-17T05:06:38.016Z] v2.2.0-dev.2 [2022-03-17T05:06:38.016Z] v2.2.0-dev.3 [2022-03-17T05:06:38.016Z] v2.2.0-dev.4 [2022-03-17T05:06:38.016Z] v2.2.0-dev.5 [2022-03-17T05:06:38.016Z] v2.2.0-dev.6 [2022-03-17T05:06:38.016Z] v2.2.0-dev.7 [2022-03-17T05:06:38.016Z] v2.2.0-dev.8 [2022-03-17T05:06:38.016Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-17T05:06:38.304Z] + lftools sign git-tag v2.2.0-dev.19 [2022-03-17T05:06:38.874Z] Signing Git tag with Sigul... [2022-03-17T05:06:38.874Z] Signing v2.2.0-dev.19 [Pipeline] echo [2022-03-17T05:06:39.144Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:39.431Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T05:06:39.439Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T05:06:39.459Z] $ docker stop --time=1 d35d1f5714018821483389763dc82b98ca5ef877572fc15031dbe90671e1db91 [2022-03-17T05:06:40.800Z] $ docker rm -f d35d1f5714018821483389763dc82b98ca5ef877572fc15031dbe90671e1db91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T05:06:41.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:06:41.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:41.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:06:41.521Z] . [Pipeline] withDockerContainer [2022-03-17T05:06:41.590Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:41.627Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T05:06:42.045Z] $ docker top 917b8b79078c32f5995f3f009768ff971e5a17c87e70b98d68b0f600ed0d81b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:06:42.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:06:42.145Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:06:42.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:06:42.288Z] $ docker exec 917b8b79078c32f5995f3f009768ff971e5a17c87e70b98d68b0f600ed0d81b1 ssh-agent [2022-03-17T05:06:42.425Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIAgJCP/agent.14 [2022-03-17T05:06:42.425Z] SSH_AGENT_PID=20 [2022-03-17T05:06:42.431Z] Running ssh-add (command line suppressed) [2022-03-17T05:06:42.551Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1826882570128123324.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1826882570128123324.key) [2022-03-17T05:06:42.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:06:42.858Z] + git semver bump pre [2022-03-17T05:06:42.858Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:06:42.858Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:06:42.858Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:06:42.858Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:06:42.858Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:06:42.858Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:06:42.858Z] # $SEMVER_BRANCH = main [2022-03-17T05:06:42.858Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T05:06:42.858Z] 2.2.0-dev.20 [Pipeline] } [2022-03-17T05:06:42.873Z] $ docker exec --env ******** --env ******** 917b8b79078c32f5995f3f009768ff971e5a17c87e70b98d68b0f600ed0d81b1 ssh-agent -k [2022-03-17T05:06:42.991Z] unset SSH_AUTH_SOCK; [2022-03-17T05:06:42.991Z] unset SSH_AGENT_PID; [2022-03-17T05:06:42.992Z] echo Agent pid 20 killed; [2022-03-17T05:06:43.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:06:43.322Z] + git semver [Pipeline] } [2022-03-17T05:06:43.340Z] $ docker stop --time=1 917b8b79078c32f5995f3f009768ff971e5a17c87e70b98d68b0f600ed0d81b1 [2022-03-17T05:06:44.658Z] $ docker rm -f 917b8b79078c32f5995f3f009768ff971e5a17c87e70b98d68b0f600ed0d81b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:06:45.012Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:06:45.012Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:45.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:06:45.308Z] . [Pipeline] withDockerContainer [2022-03-17T05:06:45.380Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:45.421Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T05:06:45.829Z] $ docker top d9a761e3e4759ecb3ad8092376dc2e9331751acde7ae6e91ba1f405b3a466e9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:06:45.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:06:45.936Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:06:46.074Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:06:46.081Z] $ docker exec d9a761e3e4759ecb3ad8092376dc2e9331751acde7ae6e91ba1f405b3a466e9f ssh-agent [2022-03-17T05:06:46.205Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGJOFJ/agent.13 [2022-03-17T05:06:46.205Z] SSH_AGENT_PID=20 [2022-03-17T05:06:46.211Z] Running ssh-add (command line suppressed) [2022-03-17T05:06:46.330Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7143361510400748633.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7143361510400748633.key) [2022-03-17T05:06:46.342Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:06:46.632Z] + git semver push [2022-03-17T05:06:46.632Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:06:46.632Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:06:46.632Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:06:46.632Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:06:46.632Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:06:46.632Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:06:46.632Z] # $SEMVER_BRANCH = main [2022-03-17T05:06:46.632Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T05:06:48.558Z] $ docker exec --env ******** --env ******** d9a761e3e4759ecb3ad8092376dc2e9331751acde7ae6e91ba1f405b3a466e9f ssh-agent -k [2022-03-17T05:06:48.681Z] unset SSH_AUTH_SOCK; [2022-03-17T05:06:48.682Z] unset SSH_AGENT_PID; [2022-03-17T05:06:48.682Z] echo Agent pid 20 killed; [2022-03-17T05:06:48.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:06:49.002Z] + git semver [Pipeline] } [2022-03-17T05:06:49.021Z] $ docker stop --time=1 d9a761e3e4759ecb3ad8092376dc2e9331751acde7ae6e91ba1f405b3a466e9f [2022-03-17T05:06:50.316Z] $ docker rm -f d9a761e3e4759ecb3ad8092376dc2e9331751acde7ae6e91ba1f405b3a466e9f [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 [2022-03-17T05:06:50.932Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-03-17T05:06:50.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:06:50.932Z] total 16 [2022-03-17T05:06:50.932Z] drwxr-xr-x 3 root root 4096 Mar 17 04:59 . [2022-03-17T05:06:50.932Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:06 .. [2022-03-17T05:06:50.932Z] drwxr-xr-x 2 root root 4096 Mar 17 04:59 cost [2022-03-17T05:06:50.932Z] -rw-r--r-- 1 root root 83 Mar 17 04:59 cost.csv [2022-03-17T05:06:50.932Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:06:50.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:06:50.932Z] total 16 [2022-03-17T05:06:50.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:59 . [2022-03-17T05:06:50.932Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:06 .. [2022-03-17T05:06:50.932Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:59 cost [2022-03-17T05:06:50.932Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 17 04:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:51.230Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:52.100Z] ---> package-listing.sh [2022-03-17T05:06:52.101Z] ++ facter osfamily [2022-03-17T05:06:52.101Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T05:06:52.361Z] + OS_FAMILY=debian [2022-03-17T05:06:52.361Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:06:52.361Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T05:06:52.361Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T05:06:52.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T05:06:52.361Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T05:06:52.361Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T05:06:52.361Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T05:06:52.361Z] + case "${OS_FAMILY}" in [2022-03-17T05:06:52.361Z] + dpkg -l [2022-03-17T05:06:52.361Z] + grep '^ii' [2022-03-17T05:06:52.361Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T05:06:52.361Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T05:06:52.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T05:06:52.361Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T05:06:52.361Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-03-17T05:06:52.361Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-03-17T05:06:52.376Z] 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 [2022-03-17T05:06:52.657Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:06:53.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:06:53.217Z] . [Pipeline] withDockerContainer [2022-03-17T05:06:53.320Z] prd-ubuntu20.04-docker-8c-8g-7777 does not seem to be running inside a container [2022-03-17T05:06:53.400Z] $ 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 [2022-03-17T05:06:53.662Z] $ docker top 62a44c3ab5435854d29e4f03aceb3eda3465293c86efc0759b8fcaa18ecfa410 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:06:54.018Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T05:06:54.310Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T05:06:54.599Z] + ls /var/log/sa-host [2022-03-17T05:06:54.599Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:06:54.823Z] provisioning config files... [2022-03-17T05:06:54.834Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7263121616215136221tmp [Pipeline] { [Pipeline] echo [2022-03-17T05:06:54.855Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:55.145Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T05:06:55.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:55.506Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T05:06:55.516Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:55.808Z] ---> sudo-logs.sh [2022-03-17T05:06:55.808Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T05:06:55.835Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:56.120Z] ---> job-cost.sh [2022-03-17T05:06:56.121Z] lf-activate-venv: SKIPPING [2022-03-17T05:06:56.121Z] DEBUG: total: 0.2199999988079071 [2022-03-17T05:06:56.121Z] INFO: Retrieving Stack Cost... [2022-03-17T05:06:56.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T05:06:56.954Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T05:06:56.969Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:06:57.254Z] ---> logs-deploy.sh [2022-03-17T05:06:57.254Z] lf-activate-venv: SKIPPING [2022-03-17T05:06:57.254Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/52 [2022-03-17T05:06:57.254Z] INFO: archiving workspace using pattern(s): [2022-03-17T05:06:58.205Z] Archives upload complete. [2022-03-17T05:06:58.205Z] INFO: archiving logs to Nexus