Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 511d52040eef7e00dec48ea5a3bfdec0745a4f08 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-ssh4457131217222945103.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-ssh1490575424943201513.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-ssh8958164670985363729.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-ssh18032477799813107732.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-ssh18396507012602602433.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-7784 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 511d52040eef7e00dec48ea5a3bfdec0745a4f08 (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 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 Commit message: "Merge pull request #1106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.14" > git rev-list --no-walk 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T05:13:50.470Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T05:13:50.513Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T05:13:50.532Z] ========================================================= [2022-03-17T05:13:50.532Z] EdgeX Global Pipelines Version Info [2022-03-17T05:13:50.532Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:13:51.307Z] ------------------- [2022-03-17T05:13:51.307Z] stable info: [2022-03-17T05:13:51.307Z] ------------------- [2022-03-17T05:13:51.307Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T05:13:51.307Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T05:13:51.307Z] Message: update stable to v1.0.221 [2022-03-17T05:13:51.883Z] ------------------- [2022-03-17T05:13:51.883Z] experimental info: [2022-03-17T05:13:51.883Z] ------------------- [2022-03-17T05:13:51.883Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T05:13:51.883Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T05:13:51.883Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T05:13:52.003Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-17T05:13:52.013Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-17T05:13:52.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T05:13:52.031Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T05:13:52.040Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T05:13:52.048Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T05:13:52.059Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T05:13:52.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-17T05:13:52.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T05:13:52.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T05:13:52.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T05:13:52.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-17T05:13:52.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T05:13:52.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T05:13:52.211Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T05:13:52.232Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:13:52.251Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:13:52.269Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T05:13:52.287Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T05:13:52.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T05:13:52.316Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-17T05:13:52.329Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-17T05:13:52.342Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T05:13:52.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T05:13:52.367Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T05:13:52.385Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T05:13:52.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T05:13:52.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T05:13:52.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T05:13:52.429Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] echo [2022-03-17T05:13:52.439Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 511d520 [Pipeline] echo [2022-03-17T05:13:52.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:13:52.496Z] provisioning config files... [2022-03-17T05:13:52.514Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8785993056588196816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:13:52.835Z] ---> docker-login.sh [2022-03-17T05:13:52.835Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:13:53.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:13:53.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:13:53.097Z] Configure a credential helper to remove this warning. See [2022-03-17T05:13:53.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:13:53.097Z] [2022-03-17T05:13:53.097Z] Login Succeeded [2022-03-17T05:13:53.097Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:13:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:13:53.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:13:53.377Z] Configure a credential helper to remove this warning. See [2022-03-17T05:13:53.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:13:53.377Z] [2022-03-17T05:13:53.377Z] Login Succeeded [2022-03-17T05:13:53.377Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:13:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:13:53.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:13:53.377Z] Configure a credential helper to remove this warning. See [2022-03-17T05:13:53.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:13:53.377Z] [2022-03-17T05:13:53.643Z] Login Succeeded [2022-03-17T05:13:53.643Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:13:53.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:13:53.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:13:53.643Z] Configure a credential helper to remove this warning. See [2022-03-17T05:13:53.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:13:53.643Z] [2022-03-17T05:13:53.643Z] Login Succeeded [2022-03-17T05:13:53.643Z] docker.io [2022-03-17T05:13:53.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:13:54.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:13:54.220Z] Configure a credential helper to remove this warning. See [2022-03-17T05:13:54.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:13:54.220Z] [2022-03-17T05:13:54.220Z] Login Succeeded [2022-03-17T05:13:54.220Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:13:54.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T05:13:54.598Z] + git rev-list -1 --merges 511d52040eef7e00dec48ea5a3bfdec0745a4f08~1..511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] echo [2022-03-17T05:13:54.696Z] -----------> git rev-list -1 --merges 511d52040eef7e00dec48ea5a3bfdec0745a4f08~1..511d52040eef7e00dec48ea5a3bfdec0745a4f08 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [2022-03-17T05:13:54.696Z] 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [false] [Pipeline] sh [2022-03-17T05:13:54.996Z] + git log --format=format:%s -1 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] echo [2022-03-17T05:13:55.012Z] ========================================================= [2022-03-17T05:13:55.012Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T05:13:55.012Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:13:55.349Z] + git log --format=format:%s -1 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] echo [2022-03-17T05:13:55.362Z] [semverPrep] GIT_COMMIT: 511d52040eef7e00dec48ea5a3bfdec0745a4f08, Commit Message: Merge pull request #1106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.14 [Pipeline] echo [2022-03-17T05:13:55.374Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T05:13:55.754Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:13:55.754Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T05:13:55.754Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T05:13:55.754Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T05:13:55.754Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T05:13:55.754Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T05:13:55.754Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:13:56.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:13:56.105Z] [2022-03-17T05:13:56.105Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:13:56.416Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:13:56.416Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T05:13:56.416Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T05:13:56.416Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T05:13:56.416Z] 4c7163046ea9: Pulling fs layer [2022-03-17T05:13:56.416Z] 0c2d73faf560: Pulling fs layer [2022-03-17T05:13:56.416Z] 0c2d73faf560: Waiting [2022-03-17T05:13:56.416Z] 3e5f54012d9b: Download complete [2022-03-17T05:13:56.416Z] a0d0a0d46f8b: Download complete [2022-03-17T05:13:56.416Z] 0c2d73faf560: Verifying Checksum [2022-03-17T05:13:56.416Z] 0c2d73faf560: Download complete [2022-03-17T05:13:56.416Z] 4c7163046ea9: Verifying Checksum [2022-03-17T05:13:56.416Z] 4c7163046ea9: Download complete [2022-03-17T05:13:56.677Z] a0d0a0d46f8b: Pull complete [2022-03-17T05:13:56.677Z] 3e5f54012d9b: Pull complete [2022-03-17T05:13:56.938Z] 4c7163046ea9: Pull complete [2022-03-17T05:13:57.200Z] 0c2d73faf560: Pull complete [2022-03-17T05:13:57.200Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T05:13:57.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:13:57.200Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T05:13:57.278Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:13:57.323Z] $ 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-17T05:13:57.960Z] $ docker top e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:13:58.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:13:58.061Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:13:58.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:13:58.191Z] $ docker exec e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 ssh-agent [2022-03-17T05:13:58.316Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLfEBPn/agent.15 [2022-03-17T05:13:58.316Z] SSH_AGENT_PID=21 [2022-03-17T05:13:58.325Z] Running ssh-add (command line suppressed) [2022-03-17T05:13:58.436Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6157484101780361051.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6157484101780361051.key) [2022-03-17T05:13:58.450Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:13:58.745Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T05:13:58.770Z] $ docker exec --env ******** --env ******** e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 ssh-agent -k [2022-03-17T05:13:58.883Z] unset SSH_AUTH_SOCK; [2022-03-17T05:13:58.884Z] unset SSH_AGENT_PID; [2022-03-17T05:13:58.884Z] echo Agent pid 21 killed; [2022-03-17T05:13:58.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T05:13:58.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:13:58.913Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:13:59.034Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:13:59.041Z] $ docker exec e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 ssh-agent [2022-03-17T05:13:59.158Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlifccJ/agent.53 [2022-03-17T05:13:59.158Z] SSH_AGENT_PID=59 [2022-03-17T05:13:59.163Z] Running ssh-add (command line suppressed) [2022-03-17T05:13:59.277Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6695393829343976660.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6695393829343976660.key) [2022-03-17T05:13:59.291Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:13:59.582Z] + git semver init [2022-03-17T05:13:59.582Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:13:59.582Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:13:59.582Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:13:59.582Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:13:59.582Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:13:59.582Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:13:59.582Z] # $SEMVER_BRANCH = main [2022-03-17T05:13:59.582Z] # $SEMVER_TEMP = /tmp/semver-940453249 [2022-03-17T05:13:59.582Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-17T05:14:00.527Z] # '/tmp/semver-940453249' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-03-17T05:14:00.527Z] # -> Force: false [2022-03-17T05:14:00.527Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T05:14:00.544Z] $ docker exec --env ******** --env ******** e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 ssh-agent -k [2022-03-17T05:14:00.655Z] unset SSH_AUTH_SOCK; [2022-03-17T05:14:00.655Z] unset SSH_AGENT_PID; [2022-03-17T05:14:00.655Z] echo Agent pid 59 killed; [2022-03-17T05:14:00.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:14:00.982Z] + git semver [Pipeline] } [2022-03-17T05:14:01.001Z] $ docker stop --time=1 e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 [2022-03-17T05:14:02.441Z] $ docker rm -f e1c27ffee96e621c9b5b56c3346de07d6350cdb77549823788d80ce4bef3c8e4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:14:02.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T05:14:03.061Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T05:14:03.065Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [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-17T05:14:03.195Z] provisioning config files... [2022-03-17T05:14:03.204Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4309184070976987281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:14:03.505Z] ---> docker-login.sh [2022-03-17T05:14:03.505Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:14:03.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:14:03.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:14:03.505Z] Configure a credential helper to remove this warning. See [2022-03-17T05:14:03.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:14:03.505Z] [2022-03-17T05:14:03.505Z] Login Succeeded [2022-03-17T05:14:03.505Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:14:03.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:14:03.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:14:03.766Z] Configure a credential helper to remove this warning. See [2022-03-17T05:14:03.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:14:03.766Z] [2022-03-17T05:14:03.766Z] Login Succeeded [2022-03-17T05:14:03.766Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:14:03.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:14:03.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:14:03.766Z] Configure a credential helper to remove this warning. See [2022-03-17T05:14:03.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:14:03.766Z] [2022-03-17T05:14:03.766Z] Login Succeeded [2022-03-17T05:14:03.766Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:14:03.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:14:04.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:14:04.026Z] Configure a credential helper to remove this warning. See [2022-03-17T05:14:04.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:14:04.026Z] [2022-03-17T05:14:04.026Z] Login Succeeded [2022-03-17T05:14:04.026Z] docker.io [2022-03-17T05:14:04.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:14:04.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:14:04.287Z] Configure a credential helper to remove this warning. See [2022-03-17T05:14:04.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:14:04.287Z] [2022-03-17T05:14:04.287Z] Login Succeeded [2022-03-17T05:14:04.287Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:14:04.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T05:14:04.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T05:14:04.383Z] ========================================================= [2022-03-17T05:14:04.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T05:14:04.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:14:04.694Z] + 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-17T05:14:04.694Z] Sending build context to Docker daemon 9.51MB [2022-03-17T05:14:04.694Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:14:04.694Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T05:14:04.694Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T05:14:04.694Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T05:14:04.694Z] 666ba61612fd: Pulling fs layer [2022-03-17T05:14:04.694Z] 8ed8ca486205: Pulling fs layer [2022-03-17T05:14:04.694Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T05:14:04.695Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T05:14:04.695Z] 640e595b4fbd: Pulling fs layer [2022-03-17T05:14:04.695Z] 763cafe07f6e: Pulling fs layer [2022-03-17T05:14:04.695Z] 0c0b528cf693: Pulling fs layer [2022-03-17T05:14:04.695Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T05:14:04.695Z] 4fe6c5a15a65: Waiting [2022-03-17T05:14:04.695Z] 22a0e8bec74d: Waiting [2022-03-17T05:14:04.695Z] 640e595b4fbd: Waiting [2022-03-17T05:14:04.695Z] 763cafe07f6e: Waiting [2022-03-17T05:14:04.695Z] 0c0b528cf693: Waiting [2022-03-17T05:14:04.695Z] 10935f4eaf8b: Waiting [2022-03-17T05:14:04.955Z] 8ed8ca486205: Download complete [2022-03-17T05:14:04.955Z] 666ba61612fd: Download complete [2022-03-17T05:14:04.955Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T05:14:04.955Z] 22a0e8bec74d: Download complete [2022-03-17T05:14:04.955Z] 640e595b4fbd: Verifying Checksum [2022-03-17T05:14:04.955Z] 640e595b4fbd: Download complete [2022-03-17T05:14:04.955Z] 59bf1c3509f3: Download complete [2022-03-17T05:14:04.955Z] 763cafe07f6e: Verifying Checksum [2022-03-17T05:14:04.955Z] 763cafe07f6e: Download complete [2022-03-17T05:14:04.955Z] 0c0b528cf693: Verifying Checksum [2022-03-17T05:14:04.955Z] 0c0b528cf693: Download complete [2022-03-17T05:14:04.955Z] 59bf1c3509f3: Pull complete [2022-03-17T05:14:05.214Z] 666ba61612fd: Pull complete [2022-03-17T05:14:05.214Z] 8ed8ca486205: Pull complete [2022-03-17T05:14:05.473Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T05:14:05.473Z] 10935f4eaf8b: Download complete [2022-03-17T05:14:05.473Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T05:14:05.473Z] 4fe6c5a15a65: Download complete [2022-03-17T05:14:09.673Z] 4fe6c5a15a65: Pull complete [2022-03-17T05:14:09.673Z] 22a0e8bec74d: Pull complete [2022-03-17T05:14:09.673Z] 640e595b4fbd: Pull complete [2022-03-17T05:14:09.673Z] 763cafe07f6e: Pull complete [2022-03-17T05:14:09.673Z] 0c0b528cf693: Pull complete [2022-03-17T05:14:12.229Z] 10935f4eaf8b: Pull complete [2022-03-17T05:14:12.229Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T05:14:12.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T05:14:12.229Z] ---> 99d49a6021b9 [2022-03-17T05:14:12.229Z] Step 3/11 : ARG MAKE=make build [2022-03-17T05:14:13.171Z] ---> Running in 880e8230da2f [2022-03-17T05:14:13.171Z] Removing intermediate container 880e8230da2f [2022-03-17T05:14:13.171Z] ---> 231ae222b7fe [2022-03-17T05:14:13.171Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T05:14:13.171Z] ---> Running in 39bb0d6c489f [2022-03-17T05:14:13.430Z] Removing intermediate container 39bb0d6c489f [2022-03-17T05:14:13.430Z] ---> 6f4a9f8e74d0 [2022-03-17T05:14:13.430Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:14:13.430Z] ---> Running in c2fa1f8495af [2022-03-17T05:14:13.430Z] Removing intermediate container c2fa1f8495af [2022-03-17T05:14:13.430Z] ---> 68a4d4cbb1c5 [2022-03-17T05:14:13.430Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:14:13.430Z] ---> Running in 079000479efc [2022-03-17T05:14:14.001Z] Removing intermediate container 079000479efc [2022-03-17T05:14:14.001Z] ---> 86d6ab5393f8 [2022-03-17T05:14:14.001Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:14:14.001Z] ---> Running in 9dbed23b7bf8 [2022-03-17T05:14:14.572Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:14:15.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:14:15.713Z] OK: 221 MiB in 52 packages [2022-03-17T05:14:15.974Z] Removing intermediate container 9dbed23b7bf8 [2022-03-17T05:14:15.974Z] ---> d6bb2ae98751 [2022-03-17T05:14:15.974Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T05:14:15.974Z] ---> cbda107a38ce [2022-03-17T05:14:15.974Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:14:15.974Z] ---> Running in af1b61945602 [2022-03-17T05:14:18.161Z] Still waiting to schedule task [2022-03-17T05:14:18.161Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-17T05:14:37.936Z] Removing intermediate container af1b61945602 [2022-03-17T05:14:37.936Z] ---> b7ef6bcd384b [2022-03-17T05:14:37.936Z] Step 10/11 : COPY . . [2022-03-17T05:14:37.936Z] ---> 9577719f7fa9 [2022-03-17T05:14:37.936Z] Step 11/11 : RUN ${MAKE} [2022-03-17T05:14:37.936Z] ---> Running in 09d6cf47df86 [2022-03-17T05:14:37.936Z] noop [2022-03-17T05:14:37.936Z] Removing intermediate container 09d6cf47df86 [2022-03-17T05:14:37.936Z] ---> a4dfaf17fad1 [2022-03-17T05:14:37.936Z] Successfully built a4dfaf17fad1 [2022-03-17T05:14:37.936Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:14:38.237Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T05:14:38.238Z] . [Pipeline] withDockerContainer [2022-03-17T05:14:38.306Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:14:38.349Z] $ 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-17T05:14:38.731Z] $ docker top 7aebddd0a3c0df998623e3454efa361db4c9fd1309d5ed5bf956cad324e2267b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:14:39.094Z] + go version [2022-03-17T05:14:39.094Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T05:14:39.111Z] $ docker stop --time=1 7aebddd0a3c0df998623e3454efa361db4c9fd1309d5ed5bf956cad324e2267b [2022-03-17T05:14:40.384Z] $ docker rm -f 7aebddd0a3c0df998623e3454efa361db4c9fd1309d5ed5bf956cad324e2267b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:14:40.803Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T05:14:40.803Z] . [Pipeline] withDockerContainer [2022-03-17T05:14:40.868Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:14:40.905Z] $ 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-17T05:14:41.316Z] $ docker top c33ef187c000843c662492672bbd57f821c152b57cee7f5482b503c45d7873ef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T05:14:41.687Z] + make test [2022-03-17T05:14:41.687Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T05:14:41.947Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T05:14:48.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T05:14:48.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T05:14:48.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T05:14:48.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.010s coverage: 23.3% of statements [2022-03-17T05:14:48.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T05:14:48.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-03-17T05:14:48.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-03-17T05:14:48.777Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.017s coverage: 10.8% of statements [2022-03-17T05:14:48.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T05:14:48.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T05:14:48.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T05:14:49.038Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.017s coverage: 33.2% of statements [2022-03-17T05:14:49.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T05:14:49.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.020s coverage: 86.1% of statements [2022-03-17T05:14:49.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T05:14:49.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T05:14:49.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements [2022-03-17T05:14:49.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.039s coverage: 89.2% of statements [2022-03-17T05:14:49.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T05:14:49.610Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements [2022-03-17T05:14:49.610Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T05:14:56.310Z] GO111MODULE=on go vet ./... [2022-03-17T05:14:58.850Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T05:14:58.850Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T05:14:58.850Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T05:14:59.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T05:14:59.451Z] $ docker stop --time=1 c33ef187c000843c662492672bbd57f821c152b57cee7f5482b503c45d7873ef [2022-03-17T05:15:01.114Z] $ docker rm -f c33ef187c000843c662492672bbd57f821c152b57cee7f5482b503c45d7873ef [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:15:01.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T05:15:01.605Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T05:15:02.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T05:15:02.520Z] + ls -al . [2022-03-17T05:15:02.520Z] total 312 [2022-03-17T05:15:02.520Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 05:14 . [2022-03-17T05:15:02.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:13 .. [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:13 .dockerignore [2022-03-17T05:15:02.520Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:13 .git [2022-03-17T05:15:02.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:13 .github [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:13 .gitignore [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:13 .golangci.yml [2022-03-17T05:15:02.520Z] drwx------ 3 jenkins jenkins 4096 Mar 17 05:14 .semver [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:13 CHANGELOG.md [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:13 GOVERNANCE.md [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:13 Jenkinsfile [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:13 LICENSE [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:13 Makefile [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:13 OWNERS.md [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:13 README.md [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 05:14 VERSION [2022-03-17T05:15:02.520Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:13 bin [2022-03-17T05:15:02.520Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:14 coverage.out [2022-03-17T05:15:02.520Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:13 example [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:13 go.mod [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:13 go.sum [2022-03-17T05:15:02.520Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:13 internal [2022-03-17T05:15:02.520Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:13 openapi [2022-03-17T05:15:02.520Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:13 pkg [2022-03-17T05:15:02.520Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:13 snap [2022-03-17T05:15:02.520Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:15:02.823Z] + 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=511d52040eef7e00dec48ea5a3bfdec0745a4f08 --label arch=amd64 --label version=2.2.0-dev.20 . [2022-03-17T05:15:02.823Z] Sending build context to Docker daemon 9.639MB [2022-03-17T05:15:02.823Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:15:02.823Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T05:15:02.823Z] ---> a4dfaf17fad1 [2022-03-17T05:15:02.823Z] Step 3/25 : ARG MAKE=make build [2022-03-17T05:15:03.082Z] ---> Running in cd3e43e5ebdb [2022-03-17T05:15:03.082Z] Removing intermediate container cd3e43e5ebdb [2022-03-17T05:15:03.082Z] ---> 68fcb0cd1999 [2022-03-17T05:15:03.082Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T05:15:03.082Z] ---> Running in a3f7f7f94ec5 [2022-03-17T05:15:03.082Z] Removing intermediate container a3f7f7f94ec5 [2022-03-17T05:15:03.082Z] ---> 045332bec823 [2022-03-17T05:15:03.082Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:15:03.342Z] ---> Running in 9416a30e213e [2022-03-17T05:15:03.343Z] Removing intermediate container 9416a30e213e [2022-03-17T05:15:03.343Z] ---> 95080916d879 [2022-03-17T05:15:03.343Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:15:03.343Z] ---> Running in 2ac0f13209ac [2022-03-17T05:15:03.912Z] Removing intermediate container 2ac0f13209ac [2022-03-17T05:15:03.912Z] ---> ad66d89291ab [2022-03-17T05:15:03.912Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:15:03.913Z] ---> Running in 49495d01e6d1 [2022-03-17T05:15:04.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:15:05.113Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:15:05.374Z] OK: 221 MiB in 52 packages [2022-03-17T05:15:05.634Z] Removing intermediate container 49495d01e6d1 [2022-03-17T05:15:05.634Z] ---> 9d7b9cd4e690 [2022-03-17T05:15:05.634Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T05:15:05.896Z] ---> fa3428ce0823 [2022-03-17T05:15:05.896Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:15:05.896Z] ---> Running in cb0f26269e11 [2022-03-17T05:15:06.466Z] Removing intermediate container cb0f26269e11 [2022-03-17T05:15:06.466Z] ---> 9c587082eeec [2022-03-17T05:15:06.466Z] Step 10/25 : COPY . . [2022-03-17T05:15:06.729Z] ---> 206a216e83d9 [2022-03-17T05:15:06.729Z] Step 11/25 : RUN ${MAKE} [2022-03-17T05:15:06.989Z] ---> Running in 4cdd89d1fe02 [2022-03-17T05:15:07.250Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T05:15:12.534Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T05:15:13.916Z] Removing intermediate container 4cdd89d1fe02 [2022-03-17T05:15:13.916Z] ---> 98283d0a87f4 [2022-03-17T05:15:13.916Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T05:15:14.486Z] 3.14: Pulling from library/alpine [2022-03-17T05:15:14.746Z] 97518928ae5f: Pulling fs layer [2022-03-17T05:15:14.746Z] 97518928ae5f: Download complete [2022-03-17T05:15:15.005Z] 97518928ae5f: Pull complete [2022-03-17T05:15:15.005Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T05:15:15.005Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T05:15:15.005Z] ---> 0a97eee8041e [2022-03-17T05:15:15.005Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:15:15.005Z] ---> Running in 67d707430d11 [2022-03-17T05:15:15.265Z] Removing intermediate container 67d707430d11 [2022-03-17T05:15:15.265Z] ---> 0004bdc8cc34 [2022-03-17T05:15:15.265Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:15:15.265Z] ---> Running in 5ed16ae16fae [2022-03-17T05:15:15.835Z] Removing intermediate container 5ed16ae16fae [2022-03-17T05:15:15.835Z] ---> a3d1993f3fb5 [2022-03-17T05:15:15.835Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T05:15:15.835Z] ---> Running in 0e722d288505 [2022-03-17T05:15:16.096Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T05:15:17.038Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T05:15:17.299Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T05:15:17.299Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T05:15:17.299Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T05:15:17.560Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T05:15:17.560Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T05:15:17.560Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T05:15:17.560Z] OK: 8 MiB in 19 packages [2022-03-17T05:15:18.132Z] Removing intermediate container 0e722d288505 [2022-03-17T05:15:18.132Z] ---> fca1e2ffca1b [2022-03-17T05:15:18.132Z] Step 16/25 : WORKDIR / [2022-03-17T05:15:18.132Z] ---> Running in 4732ccb74698 [2022-03-17T05:15:18.132Z] Removing intermediate container 4732ccb74698 [2022-03-17T05:15:18.132Z] ---> 08db36a0b42a [2022-03-17T05:15:18.132Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T05:15:18.393Z] ---> 06cdf8f0ac0c [2022-03-17T05:15:18.393Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T05:15:18.654Z] ---> 7817101d5a0b [2022-03-17T05:15:18.654Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T05:15:18.916Z] ---> 04037a27828d [2022-03-17T05:15:18.916Z] Step 20/25 : EXPOSE 59999 [2022-03-17T05:15:18.916Z] ---> Running in ef957c50a6ed [2022-03-17T05:15:18.916Z] Removing intermediate container ef957c50a6ed [2022-03-17T05:15:18.916Z] ---> 8918bf9d73a9 [2022-03-17T05:15:18.916Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T05:15:19.177Z] ---> Running in 1dda0df013e2 [2022-03-17T05:15:19.177Z] Removing intermediate container 1dda0df013e2 [2022-03-17T05:15:19.177Z] ---> aa73ba0a52db [2022-03-17T05:15:19.177Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T05:15:19.177Z] ---> Running in 7ad589b3d920 [2022-03-17T05:15:19.177Z] Removing intermediate container 7ad589b3d920 [2022-03-17T05:15:19.177Z] ---> 3588590bdaca [2022-03-17T05:15:19.177Z] Step 23/25 : LABEL arch=amd64 [2022-03-17T05:15:19.440Z] ---> Running in f4892cebe9f7 [2022-03-17T05:15:19.440Z] Removing intermediate container f4892cebe9f7 [2022-03-17T05:15:19.440Z] ---> a513ce9a2827 [2022-03-17T05:15:19.440Z] Step 24/25 : LABEL git_sha=511d52040eef7e00dec48ea5a3bfdec0745a4f08 [2022-03-17T05:15:19.440Z] ---> Running in 61f78bf02d48 [2022-03-17T05:15:19.440Z] Removing intermediate container 61f78bf02d48 [2022-03-17T05:15:19.440Z] ---> 51b4127c227c [2022-03-17T05:15:19.440Z] Step 25/25 : LABEL version=2.2.0-dev.20 [2022-03-17T05:15:19.702Z] ---> Running in f93748c3d68f [2022-03-17T05:15:19.702Z] Removing intermediate container f93748c3d68f [2022-03-17T05:15:19.702Z] ---> 8711e621020b [2022-03-17T05:15:19.702Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T05:15:19.702Z] Successfully built 8711e621020b [2022-03-17T05:15:19.702Z] 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-17T05:15:20.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:15:20.122Z] [2022-03-17T05:15:20.122Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:15:20.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:15:20.426Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T05:15:20.426Z] 5eb5b503b376: Pulling fs layer [2022-03-17T05:15:20.426Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T05:15:20.426Z] ec43610c2a17: Pulling fs layer [2022-03-17T05:15:20.426Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T05:15:20.426Z] 33b1e0a273af: Pulling fs layer [2022-03-17T05:15:20.426Z] 3a2ae6a8a46f: Waiting [2022-03-17T05:15:20.426Z] 33b1e0a273af: Waiting [2022-03-17T05:15:20.426Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T05:15:20.426Z] 2f39f015ded8: Pulling fs layer [2022-03-17T05:15:20.426Z] 5d3b04190fa2: Waiting [2022-03-17T05:15:20.426Z] 2f39f015ded8: Waiting [2022-03-17T05:15:20.426Z] 5c69ac0246d0: Verifying Checksum [2022-03-17T05:15:20.426Z] 5c69ac0246d0: Download complete [2022-03-17T05:15:20.426Z] 3a2ae6a8a46f: Download complete [2022-03-17T05:15:20.426Z] 33b1e0a273af: Verifying Checksum [2022-03-17T05:15:20.426Z] 33b1e0a273af: Download complete [2022-03-17T05:15:20.426Z] ec43610c2a17: Download complete [2022-03-17T05:15:20.426Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T05:15:20.426Z] 5d3b04190fa2: Download complete [2022-03-17T05:15:20.685Z] 5eb5b503b376: Download complete [2022-03-17T05:15:21.253Z] 2f39f015ded8: Download complete [2022-03-17T05:15:21.820Z] 5eb5b503b376: Pull complete [2022-03-17T05:15:22.079Z] 5c69ac0246d0: Pull complete [2022-03-17T05:15:22.646Z] ec43610c2a17: Pull complete [2022-03-17T05:15:22.646Z] 3a2ae6a8a46f: Pull complete [2022-03-17T05:15:22.906Z] 33b1e0a273af: Pull complete [2022-03-17T05:15:22.906Z] 5d3b04190fa2: Pull complete [2022-03-17T05:15:27.102Z] 2f39f015ded8: Pull complete [2022-03-17T05:15:27.102Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T05:15:27.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:15:27.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T05:15:27.164Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:15:27.201Z] $ 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-17T05:15:28.858Z] $ docker top 473f2fd5895209818309dfa47f4b7ca2dc05016b8dd763d39f611586e39862ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:15:29.380Z] ---> job-cost.sh [2022-03-17T05:15:29.380Z] lf-activate-venv: SKIPPING [2022-03-17T05:15:29.380Z] INFO: No Stack... [2022-03-17T05:15:29.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T05:15:30.217Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T05:15:30.514Z] + + cutcat -d, /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv -f6 [2022-03-17T05:15:30.514Z] [Pipeline] lock [2022-03-17T05:15:30.530Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [2022-03-17T05:15:30.538Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] did not exist. Created. [2022-03-17T05:15:30.538Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T05:15:30.849Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T05:15:30.874Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T05:15:30.880Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T05:15:30.902Z] $ docker stop --time=1 473f2fd5895209818309dfa47f4b7ca2dc05016b8dd763d39f611586e39862ce [2022-03-17T05:15:32.070Z] $ docker rm -f 473f2fd5895209818309dfa47f4b7ca2dc05016b8dd763d39f611586e39862ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T05:15:57.115Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7787 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-03-17T05:15:57.130Z] Running in /w/workspace/device-sdk-go/53 [Pipeline] { [Pipeline] checkout [2022-03-17T05:15:57.379Z] The recommended git tool is: git [2022-03-17T05:16:05.166Z] using credential edgex-jenkins-ssh [2022-03-17T05:16:05.193Z] Cloning the remote Git repository [2022-03-17T05:16:05.340Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:16:05.493Z] > git init /w/workspace/device-sdk-go/53 # timeout=10 [2022-03-17T05:16:05.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-17T05:16:05.720Z] > git --version # timeout=10 [2022-03-17T05:16:05.750Z] > git --version # 'git version 2.25.1' [2022-03-17T05:16:05.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T05:16:05.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:16:07.528Z] Avoid second fetch [2022-03-17T05:16:07.528Z] Checking out Revision 511d52040eef7e00dec48ea5a3bfdec0745a4f08 (main) [2022-03-17T05:16:07.476Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-17T05:16:07.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T05:16:07.555Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T05:16:07.577Z] > git checkout -f 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 [2022-03-17T05:16:12.066Z] Commit message: "Merge pull request #1106 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.2.0-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:16:12.995Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T05:16:12.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:16:12.995Z] Dload Upload Total Spent Left Speed [2022-03-17T05:16:12.995Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50395 0 --:--:-- --:--:-- --:--:-- 50611 [Pipeline] sh [2022-03-17T05:16:13.600Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T05:16:13.973Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T05:16:13.974Z] + sudo tee /etc/docker/daemon.new [2022-03-17T05:16:13.974Z] { [2022-03-17T05:16:13.974Z] "registry-mirrors": [ [2022-03-17T05:16:13.974Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T05:16:13.974Z] ], [2022-03-17T05:16:13.974Z] "bip": "10.250.0.254/24", [2022-03-17T05:16:13.974Z] "hosts": [ [2022-03-17T05:16:13.974Z] "tcp://0.0.0.0:5555", [2022-03-17T05:16:13.974Z] "unix:///var/run/docker.sock" [2022-03-17T05:16:13.974Z] ], [2022-03-17T05:16:13.974Z] "mtu": 1458, [2022-03-17T05:16:13.974Z] "selinux-enabled": true, [2022-03-17T05:16:13.974Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T05:16:13.974Z] } [Pipeline] sh [2022-03-17T05:16:14.359Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T05:16:14.707Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:16:33.059Z] provisioning config files... [2022-03-17T05:16:33.082Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/53@tmp/config3634800861660617639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:16:33.441Z] ---> docker-login.sh [2022-03-17T05:16:33.441Z] nexus3.edgexfoundry.org:10001 [2022-03-17T05:16:34.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:16:34.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:16:34.312Z] Configure a credential helper to remove this warning. See [2022-03-17T05:16:34.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:16:34.312Z] [2022-03-17T05:16:34.312Z] Login Succeeded [2022-03-17T05:16:34.312Z] nexus3.edgexfoundry.org:10002 [2022-03-17T05:16:34.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:16:34.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:16:34.586Z] Configure a credential helper to remove this warning. See [2022-03-17T05:16:34.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:16:34.586Z] [2022-03-17T05:16:34.586Z] Login Succeeded [2022-03-17T05:16:34.586Z] nexus3.edgexfoundry.org:10003 [2022-03-17T05:16:35.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:16:35.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:16:35.182Z] Configure a credential helper to remove this warning. See [2022-03-17T05:16:35.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:16:35.182Z] [2022-03-17T05:16:35.182Z] Login Succeeded [2022-03-17T05:16:35.182Z] nexus3.edgexfoundry.org:10004 [2022-03-17T05:16:35.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:16:35.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:16:35.463Z] Configure a credential helper to remove this warning. See [2022-03-17T05:16:35.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:16:35.463Z] [2022-03-17T05:16:35.463Z] Login Succeeded [2022-03-17T05:16:35.463Z] docker.io [2022-03-17T05:16:36.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T05:16:36.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T05:16:36.334Z] Configure a credential helper to remove this warning. See [2022-03-17T05:16:36.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T05:16:36.334Z] [2022-03-17T05:16:36.334Z] Login Succeeded [2022-03-17T05:16:36.334Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T05:16:36.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T05:16:36.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T05:16:36.918Z] ========================================================= [2022-03-17T05:16:36.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T05:16:36.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:16:37.388Z] + 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:16:37.669Z] Sending build context to Docker daemon 5.142MB [2022-03-17T05:16:37.669Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:16:37.669Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-17T05:16:37.942Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T05:16:37.942Z] 9b3977197b4f: Pulling fs layer [2022-03-17T05:16:37.942Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T05:16:37.942Z] 94645a83ff95: Pulling fs layer [2022-03-17T05:16:37.942Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T05:16:37.942Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T05:16:37.942Z] f7c0051592d6: Pulling fs layer [2022-03-17T05:16:37.942Z] a227ed2f7395: Pulling fs layer [2022-03-17T05:16:37.942Z] 7b1c46037f91: Pulling fs layer [2022-03-17T05:16:37.942Z] 0c92f367c5e7: Waiting [2022-03-17T05:16:37.942Z] f7c0051592d6: Waiting [2022-03-17T05:16:37.942Z] a227ed2f7395: Waiting [2022-03-17T05:16:37.942Z] 7b1c46037f91: Waiting [2022-03-17T05:16:37.942Z] 3f3a8bcf1eab: Waiting [2022-03-17T05:16:37.942Z] 94645a83ff95: Verifying Checksum [2022-03-17T05:16:37.942Z] 94645a83ff95: Download complete [2022-03-17T05:16:37.942Z] 1a89e8eeedd5: Download complete [2022-03-17T05:16:37.942Z] 0c92f367c5e7: Verifying Checksum [2022-03-17T05:16:37.942Z] 0c92f367c5e7: Download complete [2022-03-17T05:16:37.942Z] f7c0051592d6: Verifying Checksum [2022-03-17T05:16:37.942Z] f7c0051592d6: Download complete [2022-03-17T05:16:37.942Z] 9b3977197b4f: Verifying Checksum [2022-03-17T05:16:37.942Z] 9b3977197b4f: Download complete [2022-03-17T05:16:37.942Z] a227ed2f7395: Download complete [2022-03-17T05:16:38.940Z] 9b3977197b4f: Pull complete [2022-03-17T05:16:39.226Z] 1a89e8eeedd5: Pull complete [2022-03-17T05:16:39.829Z] 94645a83ff95: Pull complete [2022-03-17T05:16:40.103Z] 7b1c46037f91: Verifying Checksum [2022-03-17T05:16:40.103Z] 7b1c46037f91: Download complete [2022-03-17T05:16:40.700Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T05:16:40.700Z] 3f3a8bcf1eab: Download complete [2022-03-17T05:16:53.111Z] 3f3a8bcf1eab: Pull complete [2022-03-17T05:16:53.111Z] 0c92f367c5e7: Pull complete [2022-03-17T05:16:53.111Z] f7c0051592d6: Pull complete [2022-03-17T05:16:53.111Z] a227ed2f7395: Pull complete [2022-03-17T05:16:59.856Z] 7b1c46037f91: Pull complete [2022-03-17T05:16:59.856Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T05:16:59.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T05:16:59.856Z] ---> f79e39bc4007 [2022-03-17T05:16:59.856Z] Step 3/11 : ARG MAKE=make build [2022-03-17T05:17:00.842Z] ---> Running in d3997451d0fc [2022-03-17T05:17:01.127Z] Removing intermediate container d3997451d0fc [2022-03-17T05:17:01.127Z] ---> 40e4e6c207d2 [2022-03-17T05:17:01.127Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-17T05:17:01.401Z] ---> Running in 2d650287a0c4 [2022-03-17T05:17:01.674Z] Removing intermediate container 2d650287a0c4 [2022-03-17T05:17:01.674Z] ---> 7f345e5a31ea [2022-03-17T05:17:01.674Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:17:01.674Z] ---> Running in cb2d89aa0413 [2022-03-17T05:17:01.951Z] Removing intermediate container cb2d89aa0413 [2022-03-17T05:17:01.951Z] ---> 0409c5189686 [2022-03-17T05:17:01.951Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:17:02.228Z] ---> Running in ca345638f4c1 [2022-03-17T05:17:04.204Z] Removing intermediate container ca345638f4c1 [2022-03-17T05:17:04.204Z] ---> 525db82065ca [2022-03-17T05:17:04.204Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:17:04.204Z] ---> Running in 160957b785d4 [2022-03-17T05:17:04.798Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:17:05.781Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:17:06.765Z] OK: 220 MiB in 52 packages [2022-03-17T05:17:07.365Z] Removing intermediate container 160957b785d4 [2022-03-17T05:17:07.365Z] ---> 0832c4339f49 [2022-03-17T05:17:07.365Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-17T05:17:07.968Z] ---> 3819691376d4 [2022-03-17T05:17:07.968Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:17:07.968Z] ---> Running in 3e49b7be758c [2022-03-17T05:18:29.802Z] Removing intermediate container 3e49b7be758c [2022-03-17T05:18:29.803Z] ---> a8bb4e4e3c2c [2022-03-17T05:18:29.803Z] Step 10/11 : COPY . . [2022-03-17T05:18:29.803Z] ---> 365e1ed4b3ce [2022-03-17T05:18:29.803Z] Step 11/11 : RUN ${MAKE} [2022-03-17T05:18:29.803Z] ---> Running in ddc67c2b5ee5 [2022-03-17T05:18:29.803Z] noop [2022-03-17T05:18:29.803Z] Removing intermediate container ddc67c2b5ee5 [2022-03-17T05:18:29.803Z] ---> 793529089ae6 [2022-03-17T05:18:29.803Z] Successfully built 793529089ae6 [2022-03-17T05:18:29.803Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:18:30.157Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:18:30.157Z] . [Pipeline] withDockerContainer [2022-03-17T05:18:30.387Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-03-17T05:18:30.470Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/53 -v /w/workspace/device-sdk-go/53:/w/workspace/device-sdk-go/53:rw,z -v /w/workspace/device-sdk-go/53@tmp:/w/workspace/device-sdk-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T05:18:31.737Z] $ docker top 167fa1c2f44f9cfdee87f8ab0d11cfaaa94328543ea0138a6c3a17ea04076422 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:18:32.633Z] + go version [2022-03-17T05:18:32.633Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T05:18:32.661Z] $ docker stop --time=1 167fa1c2f44f9cfdee87f8ab0d11cfaaa94328543ea0138a6c3a17ea04076422 [2022-03-17T05:18:34.285Z] $ docker rm -f 167fa1c2f44f9cfdee87f8ab0d11cfaaa94328543ea0138a6c3a17ea04076422 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:18:34.893Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T05:18:34.893Z] . [Pipeline] withDockerContainer [2022-03-17T05:18:35.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-03-17T05:18:35.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/53 -v /w/workspace/device-sdk-go/53:/w/workspace/device-sdk-go/53:rw,z -v /w/workspace/device-sdk-go/53@tmp:/w/workspace/device-sdk-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-17T05:18:36.532Z] $ docker top 26f27d241f2af0d752ac5147944f57139f14ec8f43a563e2f8d12d36b3be51e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T05:18:37.471Z] + make test [2022-03-17T05:18:37.471Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-17T05:18:38.933Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-17T05:19:25.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-17T05:19:25.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-17T05:19:25.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-17T05:19:34.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.094s coverage: 23.3% of statements [2022-03-17T05:19:34.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-17T05:19:34.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2022-03-17T05:19:34.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-03-17T05:19:34.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.134s coverage: 10.8% of statements [2022-03-17T05:19:34.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-17T05:19:34.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-17T05:19:34.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-17T05:19:35.758Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.145s coverage: 33.2% of statements [2022-03-17T05:19:35.758Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-17T05:19:37.201Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.120s coverage: 86.1% of statements [2022-03-17T05:19:37.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-17T05:19:37.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-17T05:19:37.201Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.135s coverage: 57.4% of statements [2022-03-17T05:19:37.475Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.184s coverage: 89.2% of statements [2022-03-17T05:19:37.475Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-17T05:19:38.071Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.8% of statements [2022-03-17T05:19:38.071Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-17T05:19:38.343Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-17T05:19:38.343Z] GO111MODULE=on go vet ./... [2022-03-17T05:20:00.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T05:20:00.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T05:20:00.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T05:20:00.572Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T05:20:00.591Z] $ docker stop --time=1 26f27d241f2af0d752ac5147944f57139f14ec8f43a563e2f8d12d36b3be51e5 [2022-03-17T05:20:02.364Z] $ docker rm -f 26f27d241f2af0d752ac5147944f57139f14ec8f43a563e2f8d12d36b3be51e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:20:03.213Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T05:20:03.240Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T05:20:03.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T05:20:04.216Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T05:20:04.556Z] + ls -al . [2022-03-17T05:20:04.556Z] total 308 [2022-03-17T05:20:04.556Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:19 . [2022-03-17T05:20:04.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:16 .. [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:16 .dockerignore [2022-03-17T05:20:04.556Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:16 .git [2022-03-17T05:20:04.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:16 .github [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:16 .gitignore [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:16 .golangci.yml [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:16 CHANGELOG.md [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:16 GOVERNANCE.md [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:16 Jenkinsfile [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:16 LICENSE [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:16 Makefile [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:16 OWNERS.md [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:16 README.md [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 05:14 VERSION [2022-03-17T05:20:04.556Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:16 bin [2022-03-17T05:20:04.556Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:19 coverage.out [2022-03-17T05:20:04.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:16 example [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:16 go.mod [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:16 go.sum [2022-03-17T05:20:04.556Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:16 internal [2022-03-17T05:20:04.556Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:16 openapi [2022-03-17T05:20:04.556Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:16 pkg [2022-03-17T05:20:04.556Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:16 snap [2022-03-17T05:20:04.556Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:16 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:20:04.903Z] + 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=511d52040eef7e00dec48ea5a3bfdec0745a4f08 --label arch=arm64 --label version=2.2.0-dev.20 . [2022-03-17T05:20:05.500Z] Sending build context to Docker daemon 5.272MB [2022-03-17T05:20:05.500Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T05:20:05.500Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-17T05:20:05.500Z] ---> 793529089ae6 [2022-03-17T05:20:05.500Z] Step 3/25 : ARG MAKE=make build [2022-03-17T05:20:05.500Z] ---> Running in 00d3bcaebe90 [2022-03-17T05:20:05.774Z] Removing intermediate container 00d3bcaebe90 [2022-03-17T05:20:05.774Z] ---> cc1deb270ec5 [2022-03-17T05:20:05.774Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-17T05:20:05.774Z] ---> Running in 997c66423608 [2022-03-17T05:20:06.373Z] Removing intermediate container 997c66423608 [2022-03-17T05:20:06.373Z] ---> 591b04616e95 [2022-03-17T05:20:06.373Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:20:06.373Z] ---> Running in b080d9e76606 [2022-03-17T05:20:06.647Z] Removing intermediate container b080d9e76606 [2022-03-17T05:20:06.647Z] ---> 4a3d8ea3a67a [2022-03-17T05:20:06.647Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:20:06.647Z] ---> Running in 514fc2d33381 [2022-03-17T05:20:08.648Z] Removing intermediate container 514fc2d33381 [2022-03-17T05:20:08.648Z] ---> b826df07a5db [2022-03-17T05:20:08.648Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-17T05:20:08.648Z] ---> Running in ac307c8077ea [2022-03-17T05:20:09.244Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:20:10.222Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:20:11.205Z] OK: 220 MiB in 52 packages [2022-03-17T05:20:11.807Z] Removing intermediate container ac307c8077ea [2022-03-17T05:20:11.807Z] ---> 3f788aed65a8 [2022-03-17T05:20:11.807Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-17T05:20:12.400Z] ---> 75e1d86e1478 [2022-03-17T05:20:12.400Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T05:20:12.400Z] ---> Running in c60f5ec28b34 [2022-03-17T05:20:14.373Z] Removing intermediate container c60f5ec28b34 [2022-03-17T05:20:14.373Z] ---> 78c9b4203776 [2022-03-17T05:20:14.373Z] Step 10/25 : COPY . . [2022-03-17T05:20:15.352Z] ---> 6764a855ae86 [2022-03-17T05:20:15.352Z] Step 11/25 : RUN ${MAKE} [2022-03-17T05:20:15.633Z] ---> Running in 91cc90cdf71b [2022-03-17T05:20:16.628Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-17T05:20:55.684Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-17T05:20:55.962Z] Removing intermediate container 91cc90cdf71b [2022-03-17T05:20:55.962Z] ---> 0927fe5c4334 [2022-03-17T05:20:55.962Z] Step 12/25 : FROM alpine:3.14 [2022-03-17T05:20:56.560Z] 3.14: Pulling from library/alpine [2022-03-17T05:20:56.834Z] be307f383ecc: Pulling fs layer [2022-03-17T05:20:56.834Z] be307f383ecc: Verifying Checksum [2022-03-17T05:20:56.834Z] be307f383ecc: Download complete [2022-03-17T05:20:57.442Z] be307f383ecc: Pull complete [2022-03-17T05:20:57.442Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T05:20:57.442Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T05:20:57.442Z] ---> 5b8b7b635229 [2022-03-17T05:20:57.442Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-17T05:20:57.718Z] ---> Running in d800322690df [2022-03-17T05:20:57.991Z] Removing intermediate container d800322690df [2022-03-17T05:20:57.991Z] ---> 9b207417393e [2022-03-17T05:20:57.991Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T05:20:57.991Z] ---> Running in 4f03f4f625eb [2022-03-17T05:20:59.440Z] Removing intermediate container 4f03f4f625eb [2022-03-17T05:20:59.440Z] ---> 95bdf5fafcbb [2022-03-17T05:20:59.440Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-17T05:20:59.440Z] ---> Running in 9b1162af05ac [2022-03-17T05:21:00.425Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T05:21:01.415Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T05:21:02.394Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T05:21:02.394Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-17T05:21:02.394Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T05:21:02.394Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-17T05:21:02.669Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-17T05:21:02.670Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T05:21:02.670Z] OK: 8 MiB in 19 packages [2022-03-17T05:21:03.653Z] Removing intermediate container 9b1162af05ac [2022-03-17T05:21:03.653Z] ---> f1497721d309 [2022-03-17T05:21:03.653Z] Step 16/25 : WORKDIR / [2022-03-17T05:21:03.653Z] ---> Running in 6dca17b34cdd [2022-03-17T05:21:03.934Z] Removing intermediate container 6dca17b34cdd [2022-03-17T05:21:03.934Z] ---> 4abba8269785 [2022-03-17T05:21:03.934Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-17T05:21:04.534Z] ---> 7a0fd9e5f372 [2022-03-17T05:21:04.534Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-17T05:21:05.519Z] ---> 358b111988f1 [2022-03-17T05:21:05.519Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-17T05:21:06.117Z] ---> b18a7ebcdfcc [2022-03-17T05:21:06.117Z] Step 20/25 : EXPOSE 59999 [2022-03-17T05:21:06.117Z] ---> Running in 945fb23e68f2 [2022-03-17T05:21:06.392Z] Removing intermediate container 945fb23e68f2 [2022-03-17T05:21:06.392Z] ---> ffcf93a6cf2f [2022-03-17T05:21:06.392Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-17T05:21:06.392Z] ---> Running in c62fb99f6b16 [2022-03-17T05:21:06.669Z] Removing intermediate container c62fb99f6b16 [2022-03-17T05:21:06.669Z] ---> d79b61e72d8f [2022-03-17T05:21:06.669Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T05:21:06.968Z] ---> Running in 47f2d978639d [2022-03-17T05:21:07.244Z] Removing intermediate container 47f2d978639d [2022-03-17T05:21:07.244Z] ---> eebfdb1edcbb [2022-03-17T05:21:07.244Z] Step 23/25 : LABEL arch=arm64 [2022-03-17T05:21:07.244Z] ---> Running in 535b023ef2da [2022-03-17T05:21:07.518Z] Removing intermediate container 535b023ef2da [2022-03-17T05:21:07.518Z] ---> b45861bb486b [2022-03-17T05:21:07.518Z] Step 24/25 : LABEL git_sha=511d52040eef7e00dec48ea5a3bfdec0745a4f08 [2022-03-17T05:21:07.793Z] ---> Running in 7156e30cf281 [2022-03-17T05:21:08.069Z] Removing intermediate container 7156e30cf281 [2022-03-17T05:21:08.069Z] ---> 5b86cd4c73ca [2022-03-17T05:21:08.069Z] Step 25/25 : LABEL version=2.2.0-dev.20 [2022-03-17T05:21:08.069Z] ---> Running in ced6dde303aa [2022-03-17T05:21:08.344Z] Removing intermediate container ced6dde303aa [2022-03-17T05:21:08.344Z] ---> e31e5ae86f89 [2022-03-17T05:21:08.344Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T05:21:08.344Z] Successfully built e31e5ae86f89 [2022-03-17T05:21:08.344Z] 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:21:08.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:21:08.790Z] [2022-03-17T05:21:08.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:21:09.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:21:09.420Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T05:21:09.420Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T05:21:09.420Z] 04944245beec: Pulling fs layer [2022-03-17T05:21:09.420Z] 699f458cf7ca: Pulling fs layer [2022-03-17T05:21:09.420Z] 765212b225bb: Pulling fs layer [2022-03-17T05:21:09.420Z] f23df028b6ca: Pulling fs layer [2022-03-17T05:21:09.420Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T05:21:09.420Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T05:21:09.420Z] f23df028b6ca: Waiting [2022-03-17T05:21:09.420Z] 765212b225bb: Waiting [2022-03-17T05:21:09.420Z] d65c8cfc05b1: Waiting [2022-03-17T05:21:09.420Z] 2437ff75d9bd: Waiting [2022-03-17T05:21:09.420Z] 04944245beec: Download complete [2022-03-17T05:21:09.420Z] 765212b225bb: Download complete [2022-03-17T05:21:09.420Z] f23df028b6ca: Verifying Checksum [2022-03-17T05:21:09.420Z] f23df028b6ca: Download complete [2022-03-17T05:21:09.420Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T05:21:09.420Z] d65c8cfc05b1: Download complete [2022-03-17T05:21:09.701Z] 699f458cf7ca: Verifying Checksum [2022-03-17T05:21:09.701Z] 699f458cf7ca: Download complete [2022-03-17T05:21:09.979Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T05:21:09.979Z] 8998bd30e6a1: Download complete [2022-03-17T05:21:12.614Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T05:21:12.614Z] 2437ff75d9bd: Download complete [2022-03-17T05:21:14.602Z] 8998bd30e6a1: Pull complete [2022-03-17T05:21:14.882Z] 04944245beec: Pull complete [2022-03-17T05:21:16.338Z] 699f458cf7ca: Pull complete [2022-03-17T05:21:16.632Z] 765212b225bb: Pull complete [2022-03-17T05:21:17.619Z] f23df028b6ca: Pull complete [2022-03-17T05:21:17.619Z] d65c8cfc05b1: Pull complete [2022-03-17T05:21:32.728Z] 2437ff75d9bd: Pull complete [2022-03-17T05:21:32.728Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T05:21:32.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T05:21:32.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T05:21:32.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-7787 does not seem to be running inside a container [2022-03-17T05:21:33.053Z] $ 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/53 -v /w/workspace/device-sdk-go/53:/w/workspace/device-sdk-go/53:rw,z -v /w/workspace/device-sdk-go/53@tmp:/w/workspace/device-sdk-go/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-17T05:21:35.482Z] $ docker top 3005c927dba1f9c717c3740878df309dd9eb403fa4ebbe3fa919f6403b37552a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:21:36.400Z] ---> job-cost.sh [2022-03-17T05:21:36.400Z] lf-activate-venv: SKIPPING [2022-03-17T05:21:36.400Z] INFO: No Stack... [2022-03-17T05:21:36.673Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T05:21:37.651Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T05:21:38.319Z] + cat /w/workspace/device-sdk-go/53/archives/cost.csv [2022-03-17T05:21:38.320Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T05:21:38.390Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [2022-03-17T05:21:38.396Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] did not exist. Created. [2022-03-17T05:21:38.396Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T05:21:39.081Z] /w/workspace/device-sdk-go/53@tmp/durable-d1827896/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T05:21:39.766Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T05:21:39.793Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T05:21:39.857Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T05:21:39.864Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T05:21:39.890Z] $ docker stop --time=1 3005c927dba1f9c717c3740878df309dd9eb403fa4ebbe3fa919f6403b37552a [2022-03-17T05:21:41.402Z] $ docker rm -f 3005c927dba1f9c717c3740878df309dd9eb403fa4ebbe3fa919f6403b37552a [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:21:41.922Z] provisioning config files... [2022-03-17T05:21:41.930Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2915868436029857354tmp [Pipeline] { [Pipeline] sh [2022-03-17T05:21:42.265Z] + set +x [2022-03-17T05:21:42.265Z] + curl -s https://codecov.io/bash [2022-03-17T05:21:42.265Z] + bash -s -- [2022-03-17T05:21:42.265Z] [2022-03-17T05:21:42.265Z] _____ _ [2022-03-17T05:21:42.265Z] / ____| | | [2022-03-17T05:21:42.265Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T05:21:42.265Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T05:21:42.265Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T05:21:42.265Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T05:21:42.265Z] Bash-1.0.6 [2022-03-17T05:21:42.265Z] [2022-03-17T05:21:42.265Z] [2022-03-17T05:21:42.265Z] ==> git version 2.25.1 found [2022-03-17T05:21:42.266Z] ==> 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:21:42.266Z] Release-Date: 2020-01-08 [2022-03-17T05:21:42.266Z] 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:21:42.266Z] 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:21:42.266Z] ==> Jenkins CI detected. [2022-03-17T05:21:42.266Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:21:42.266Z] project root: . [2022-03-17T05:21:42.266Z] --> token set from env [2022-03-17T05:21:42.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T05:21:42.266Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T05:21:42.266Z] ==> Python coveragepy not found [2022-03-17T05:21:42.266Z] ==> Searching for coverage reports in: [2022-03-17T05:21:42.266Z] + . [2022-03-17T05:21:42.266Z] -> Found 1 reports [2022-03-17T05:21:42.266Z] ==> Detecting git/mercurial file structure [2022-03-17T05:21:42.266Z] ==> Reading reports [2022-03-17T05:21:42.266Z] + ./coverage.out bytes=129001 [2022-03-17T05:21:42.266Z] ==> Appending adjustments [2022-03-17T05:21:42.266Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T05:21:42.536Z] + Found adjustments [2022-03-17T05:21:42.536Z] ==> Gzipping contents [2022-03-17T05:21:42.536Z] 16K /tmp/codecov.lXSSBx.gz [2022-03-17T05:21:42.536Z] ==> Uploading reports [2022-03-17T05:21:42.536Z] url: https://codecov.io [2022-03-17T05:21:42.536Z] query: branch=main&commit=511d52040eef7e00dec48ea5a3bfdec0745a4f08&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T05:21:42.536Z] -> Pinging Codecov [2022-03-17T05:21:42.536Z] 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=511d52040eef7e00dec48ea5a3bfdec0745a4f08&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T05:21:42.814Z] -> Uploading to [2022-03-17T05:21:42.814Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/511d52040eef7e00dec48ea5a3bfdec0745a4f08/e27ac95c-1e58-4ac0-84f9-9a2bad76d239.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T052142Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94c3908cb9a292771fd1a888019b7d3a2574d34445424bf80db7e867248e1ca7 [2022-03-17T05:21:42.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:21:42.814Z] Dload Upload Total Spent Left Speed [2022-03-17T05:21:43.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16217 0 0 100 16217 0 67290 --:--:-- --:--:-- --:--:-- 67570 [2022-03-17T05:21:43.073Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] } [2022-03-17T05:21:43.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T05:21:43.364Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T05:21:43.373Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:21:43.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:21:43.671Z] [2022-03-17T05:21:43.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:21:43.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:21:43.971Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T05:21:43.971Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T05:21:43.971Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T05:21:43.971Z] de9db76c5a1d: Pulling fs layer [2022-03-17T05:21:43.971Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T05:21:43.971Z] 0d57e429df01: Pulling fs layer [2022-03-17T05:21:43.971Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T05:21:43.971Z] e1f770b5df2f: Pulling fs layer [2022-03-17T05:21:43.971Z] 85a0685a4137: Pulling fs layer [2022-03-17T05:21:43.971Z] 0d57e429df01: Waiting [2022-03-17T05:21:43.971Z] 4e4be7b47b0d: Waiting [2022-03-17T05:21:43.971Z] 85a0685a4137: Waiting [2022-03-17T05:21:43.971Z] 0eba1c9be4d2: Waiting [2022-03-17T05:21:43.971Z] de9db76c5a1d: Verifying Checksum [2022-03-17T05:21:43.971Z] de9db76c5a1d: Download complete [2022-03-17T05:21:43.971Z] 0ef7d3d256c8: Download complete [2022-03-17T05:21:43.971Z] 0d57e429df01: Download complete [2022-03-17T05:21:43.971Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T05:21:43.971Z] 4e4be7b47b0d: Download complete [2022-03-17T05:21:43.971Z] 188c0c94c7c5: Verifying Checksum [2022-03-17T05:21:43.971Z] 188c0c94c7c5: Download complete [2022-03-17T05:21:44.231Z] 188c0c94c7c5: Pull complete [2022-03-17T05:21:44.231Z] e1f770b5df2f: Verifying Checksum [2022-03-17T05:21:44.231Z] e1f770b5df2f: Download complete [2022-03-17T05:21:44.231Z] 0ef7d3d256c8: Pull complete [2022-03-17T05:21:44.231Z] de9db76c5a1d: Pull complete [2022-03-17T05:21:44.800Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T05:21:44.800Z] 0eba1c9be4d2: Download complete [2022-03-17T05:21:44.800Z] 85a0685a4137: Verifying Checksum [2022-03-17T05:21:44.800Z] 85a0685a4137: Download complete [2022-03-17T05:21:48.095Z] 0eba1c9be4d2: Pull complete [2022-03-17T05:21:48.095Z] 0d57e429df01: Pull complete [2022-03-17T05:21:48.095Z] 4e4be7b47b0d: Pull complete [2022-03-17T05:21:48.356Z] e1f770b5df2f: Pull complete [2022-03-17T05:21:51.653Z] 85a0685a4137: Pull complete [2022-03-17T05:21:51.653Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T05:21:51.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T05:21:51.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T05:21:51.988Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:21:52.028Z] $ 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:21:53.524Z] $ docker top f3ecc43e5fea19ec1dd3dce1c37952a54e5e9b27ad06c7789597ef5caa3e7af5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T05:21:53.613Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T05:21:53.896Z] + set -o pipefail [2022-03-17T05:21:53.896Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T05:21:58.102Z] [2022-03-17T05:21:58.102Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-03-17T05:21:58.102Z] [2022-03-17T05:21:58.103Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6cf4c5ad-3e90-4aa2-9813-f9d490aa0e87 [2022-03-17T05:21:58.103Z] [2022-03-17T05:21:58.103Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T05:21:58.103Z] [2022-03-17T05:21:58.103Z] [Pipeline] } [2022-03-17T05:21:58.117Z] $ docker stop --time=1 f3ecc43e5fea19ec1dd3dce1c37952a54e5e9b27ad06c7789597ef5caa3e7af5 [2022-03-17T05:21:59.795Z] $ docker rm -f f3ecc43e5fea19ec1dd3dce1c37952a54e5e9b27ad06c7789597ef5caa3e7af5 [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:22:00.132Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:22:00.143Z] provisioning config files... [2022-03-17T05:22:00.153Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8594879965191565634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:00.451Z] --> edgex-publish-swagger.sh [2022-03-17T05:22:00.451Z] === Publish openapi/v2 API === [2022-03-17T05:22:00.451Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-03-17T05:22:00.451Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-03-17T05:22:00.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T05:22:00.451Z] Dload Upload Total Spent Left Speed [2022-03-17T05:22:01.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 88655 --:--:-- --:--:-- --:--:-- 88508 [2022-03-17T05:22:01.022Z] [2022-03-17T05:22:01.022Z] [Pipeline] } [2022-03-17T05:22:01.029Z] 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:22:01.431Z] + git log --format=format:%s -1 511d52040eef7e00dec48ea5a3bfdec0745a4f08 [Pipeline] sh [2022-03-17T05:22:01.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:22:01.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:02.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:22:02.028Z] . [Pipeline] withDockerContainer [2022-03-17T05:22:02.091Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:22:02.128Z] $ 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:22:02.514Z] $ docker top c2eeb84b954a46fce643f42c21445f57239b54c82472e7f1dca28991ce8fc548 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:22:02.604Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:22:02.604Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:22:02.720Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:22:02.725Z] $ docker exec c2eeb84b954a46fce643f42c21445f57239b54c82472e7f1dca28991ce8fc548 ssh-agent [2022-03-17T05:22:02.838Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcpKkgA/agent.14 [2022-03-17T05:22:02.838Z] SSH_AGENT_PID=20 [2022-03-17T05:22:02.844Z] Running ssh-add (command line suppressed) [2022-03-17T05:22:02.951Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4119372149833731124.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4119372149833731124.key) [2022-03-17T05:22:02.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:22:03.252Z] + git semver tag [2022-03-17T05:22:03.252Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:22:03.252Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:22:03.253Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:22:03.253Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:22:03.253Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:22:03.253Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:22:03.253Z] # $SEMVER_BRANCH = main [2022-03-17T05:22:03.253Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T05:22:03.253Z] # 511d52040eef7e00dec48ea5a3bfdec0745a4f08 HEAD [2022-03-17T05:22:03.253Z] # -> Force: false [2022-03-17T05:22:03.253Z] # 08669d2069e7cb185b624eb2cbc87293f8cdbbb6 refs/tags/v2.2.0-dev.20 [Pipeline] } [2022-03-17T05:22:03.265Z] $ docker exec --env ******** --env ******** c2eeb84b954a46fce643f42c21445f57239b54c82472e7f1dca28991ce8fc548 ssh-agent -k [2022-03-17T05:22:03.385Z] unset SSH_AUTH_SOCK; [2022-03-17T05:22:03.386Z] unset SSH_AGENT_PID; [2022-03-17T05:22:03.386Z] echo Agent pid 20 killed; [2022-03-17T05:22:03.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:22:03.707Z] + git semver [Pipeline] } [2022-03-17T05:22:03.725Z] $ docker stop --time=1 c2eeb84b954a46fce643f42c21445f57239b54c82472e7f1dca28991ce8fc548 [2022-03-17T05:22:05.002Z] $ docker rm -f c2eeb84b954a46fce643f42c21445f57239b54c82472e7f1dca28991ce8fc548 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:05.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:22:05.412Z] [2022-03-17T05:22:05.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:05.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:22:05.715Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T05:22:05.715Z] ab5ef0e58194: Pulling fs layer [2022-03-17T05:22:05.715Z] 9712f1f96733: Pulling fs layer [2022-03-17T05:22:05.715Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T05:22:05.715Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T05:22:05.715Z] e9a5061849ea: Pulling fs layer [2022-03-17T05:22:05.715Z] d747dcd14b5f: Pulling fs layer [2022-03-17T05:22:05.715Z] 2de7ff778b66: Pulling fs layer [2022-03-17T05:22:05.715Z] e9a5061849ea: Waiting [2022-03-17T05:22:05.715Z] 2de7ff778b66: Waiting [2022-03-17T05:22:05.715Z] d747dcd14b5f: Waiting [2022-03-17T05:22:05.715Z] 0d9ebad4ef96: Waiting [2022-03-17T05:22:05.715Z] 9712f1f96733: Verifying Checksum [2022-03-17T05:22:05.715Z] 9712f1f96733: Download complete [2022-03-17T05:22:05.976Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T05:22:05.976Z] 63f879dbbcfc: Download complete [2022-03-17T05:22:05.976Z] e9a5061849ea: Verifying Checksum [2022-03-17T05:22:05.976Z] e9a5061849ea: Download complete [2022-03-17T05:22:06.235Z] d747dcd14b5f: Download complete [2022-03-17T05:22:06.235Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T05:22:06.235Z] 0d9ebad4ef96: Download complete [2022-03-17T05:22:06.235Z] ab5ef0e58194: Verifying Checksum [2022-03-17T05:22:06.235Z] ab5ef0e58194: Download complete [2022-03-17T05:22:06.235Z] 2de7ff778b66: Verifying Checksum [2022-03-17T05:22:06.235Z] 2de7ff778b66: Download complete [2022-03-17T05:22:08.774Z] ab5ef0e58194: Pull complete [2022-03-17T05:22:08.774Z] 9712f1f96733: Pull complete [2022-03-17T05:22:09.711Z] 63f879dbbcfc: Pull complete [2022-03-17T05:22:13.002Z] 0d9ebad4ef96: Pull complete [2022-03-17T05:22:13.262Z] e9a5061849ea: Pull complete [2022-03-17T05:22:13.262Z] d747dcd14b5f: Pull complete [2022-03-17T05:22:14.201Z] 2de7ff778b66: Pull complete [2022-03-17T05:22:14.201Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T05:22:14.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T05:22:14.201Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T05:22:14.269Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:22:14.309Z] $ 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:22:16.564Z] $ docker top 097f8b4fa9062478ba6f40828a3307a1a9b919fb30ffe91fd357656d4e2e7d4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:22:16.641Z] provisioning config files... [2022-03-17T05:22:16.650Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2342469786173835596tmp [2022-03-17T05:22:16.660Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config438797685055736899tmp [2022-03-17T05:22:16.674Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config395075290734064342tmp [Pipeline] { [Pipeline] echo [2022-03-17T05:22:16.690Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:16.975Z] ---> sigul-configuration.sh [2022-03-17T05:22:16.975Z] gpg: directory `/root/.gnupg' created [2022-03-17T05:22:16.975Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T05:22:16.975Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T05:22:16.975Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T05:22:16.975Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T05:22:16.975Z] gpg: CAST5 encrypted data [2022-03-17T05:22:16.975Z] gpg: encrypted with 1 passphrase [2022-03-17T05:22:16.975Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T05:22:17.266Z] + mkdir /home/jenkins [2022-03-17T05:22:17.266Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T05:22:17.556Z] + 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:22:17.567Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:17.888Z] ---> sigul-install.sh [2022-03-17T05:22:17.888Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T05:22:18.201Z] + git tag --list [2022-03-17T05:22:18.202Z] 0.7.1 [2022-03-17T05:22:18.202Z] delhi-tag [2022-03-17T05:22:18.202Z] v1.0.0 [2022-03-17T05:22:18.202Z] v1.1.0 [2022-03-17T05:22:18.202Z] v1.1.1 [2022-03-17T05:22:18.202Z] v1.1.2 [2022-03-17T05:22:18.202Z] v1.2.0 [2022-03-17T05:22:18.202Z] v1.2.1 [2022-03-17T05:22:18.202Z] v1.2.2 [2022-03-17T05:22:18.202Z] v1.2.3 [2022-03-17T05:22:18.202Z] v1.3.0 [2022-03-17T05:22:18.202Z] v1.4.0 [2022-03-17T05:22:18.202Z] v2.0.0 [2022-03-17T05:22:18.202Z] v2.0.1-dev.1 [2022-03-17T05:22:18.202Z] v2.0.1-dev.10 [2022-03-17T05:22:18.202Z] v2.0.1-dev.11 [2022-03-17T05:22:18.202Z] v2.0.1-dev.12 [2022-03-17T05:22:18.202Z] v2.0.1-dev.13 [2022-03-17T05:22:18.202Z] v2.0.1-dev.14 [2022-03-17T05:22:18.202Z] v2.0.1-dev.15 [2022-03-17T05:22:18.202Z] v2.0.1-dev.16 [2022-03-17T05:22:18.202Z] v2.0.1-dev.17 [2022-03-17T05:22:18.202Z] v2.0.1-dev.18 [2022-03-17T05:22:18.202Z] v2.0.1-dev.19 [2022-03-17T05:22:18.202Z] v2.0.1-dev.2 [2022-03-17T05:22:18.202Z] v2.0.1-dev.20 [2022-03-17T05:22:18.202Z] v2.0.1-dev.21 [2022-03-17T05:22:18.202Z] v2.0.1-dev.22 [2022-03-17T05:22:18.202Z] v2.0.1-dev.23 [2022-03-17T05:22:18.202Z] v2.0.1-dev.24 [2022-03-17T05:22:18.202Z] v2.0.1-dev.25 [2022-03-17T05:22:18.202Z] v2.0.1-dev.26 [2022-03-17T05:22:18.202Z] v2.0.1-dev.27 [2022-03-17T05:22:18.202Z] v2.0.1-dev.28 [2022-03-17T05:22:18.202Z] v2.0.1-dev.29 [2022-03-17T05:22:18.202Z] v2.0.1-dev.3 [2022-03-17T05:22:18.202Z] v2.0.1-dev.30 [2022-03-17T05:22:18.202Z] v2.0.1-dev.31 [2022-03-17T05:22:18.202Z] v2.0.1-dev.32 [2022-03-17T05:22:18.202Z] v2.0.1-dev.33 [2022-03-17T05:22:18.202Z] v2.0.1-dev.4 [2022-03-17T05:22:18.202Z] v2.0.1-dev.5 [2022-03-17T05:22:18.202Z] v2.0.1-dev.6 [2022-03-17T05:22:18.202Z] v2.0.1-dev.7 [2022-03-17T05:22:18.202Z] v2.0.1-dev.8 [2022-03-17T05:22:18.202Z] v2.0.1-dev.9 [2022-03-17T05:22:18.202Z] v2.1.0 [2022-03-17T05:22:18.202Z] v2.1.1-dev.1 [2022-03-17T05:22:18.202Z] v2.2.0-dev.1 [2022-03-17T05:22:18.202Z] v2.2.0-dev.10 [2022-03-17T05:22:18.202Z] v2.2.0-dev.11 [2022-03-17T05:22:18.202Z] v2.2.0-dev.12 [2022-03-17T05:22:18.202Z] v2.2.0-dev.13 [2022-03-17T05:22:18.202Z] v2.2.0-dev.14 [2022-03-17T05:22:18.202Z] v2.2.0-dev.15 [2022-03-17T05:22:18.202Z] v2.2.0-dev.16 [2022-03-17T05:22:18.202Z] v2.2.0-dev.17 [2022-03-17T05:22:18.202Z] v2.2.0-dev.18 [2022-03-17T05:22:18.202Z] v2.2.0-dev.19 [2022-03-17T05:22:18.202Z] v2.2.0-dev.2 [2022-03-17T05:22:18.202Z] v2.2.0-dev.20 [2022-03-17T05:22:18.202Z] v2.2.0-dev.3 [2022-03-17T05:22:18.202Z] v2.2.0-dev.4 [2022-03-17T05:22:18.202Z] v2.2.0-dev.5 [2022-03-17T05:22:18.202Z] v2.2.0-dev.6 [2022-03-17T05:22:18.202Z] v2.2.0-dev.7 [2022-03-17T05:22:18.202Z] v2.2.0-dev.8 [2022-03-17T05:22:18.202Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-17T05:22:18.491Z] + lftools sign git-tag v2.2.0-dev.20 [2022-03-17T05:22:19.062Z] Signing Git tag with Sigul... [2022-03-17T05:22:19.062Z] Signing v2.2.0-dev.20 [Pipeline] echo [2022-03-17T05:22:19.334Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:19.624Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T05:22:19.632Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T05:22:19.653Z] $ docker stop --time=1 097f8b4fa9062478ba6f40828a3307a1a9b919fb30ffe91fd357656d4e2e7d4a [2022-03-17T05:22:20.964Z] $ docker rm -f 097f8b4fa9062478ba6f40828a3307a1a9b919fb30ffe91fd357656d4e2e7d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T05:22:21.369Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:22:21.370Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:21.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:22:21.669Z] . [Pipeline] withDockerContainer [2022-03-17T05:22:21.739Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:22:21.779Z] $ 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:22:22.154Z] $ docker top 7e78ae259a48b09a4839f363676268414cbceb630d499ff8b243a7763cf0438e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:22:22.268Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:22:22.268Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:22:22.403Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:22:22.408Z] $ docker exec 7e78ae259a48b09a4839f363676268414cbceb630d499ff8b243a7763cf0438e ssh-agent [2022-03-17T05:22:22.550Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXENBgLi/agent.13 [2022-03-17T05:22:22.550Z] SSH_AGENT_PID=19 [2022-03-17T05:22:22.555Z] Running ssh-add (command line suppressed) [2022-03-17T05:22:22.705Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1894434237412425675.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1894434237412425675.key) [2022-03-17T05:22:22.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:22:23.005Z] + git semver bump pre [2022-03-17T05:22:23.005Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:22:23.005Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:22:23.005Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:22:23.005Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:22:23.005Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:22:23.005Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:22:23.005Z] # $SEMVER_BRANCH = main [2022-03-17T05:22:23.005Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-17T05:22:23.005Z] 2.2.0-dev.21 [Pipeline] } [2022-03-17T05:22:23.019Z] $ docker exec --env ******** --env ******** 7e78ae259a48b09a4839f363676268414cbceb630d499ff8b243a7763cf0438e ssh-agent -k [2022-03-17T05:22:23.129Z] unset SSH_AUTH_SOCK; [2022-03-17T05:22:23.129Z] unset SSH_AGENT_PID; [2022-03-17T05:22:23.129Z] echo Agent pid 19 killed; [2022-03-17T05:22:23.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:22:23.447Z] + git semver [Pipeline] } [2022-03-17T05:22:23.468Z] $ docker stop --time=1 7e78ae259a48b09a4839f363676268414cbceb630d499ff8b243a7763cf0438e [2022-03-17T05:22:24.772Z] $ docker rm -f 7e78ae259a48b09a4839f363676268414cbceb630d499ff8b243a7763cf0438e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T05:22:25.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T05:22:25.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:25.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T05:22:25.425Z] . [Pipeline] withDockerContainer [2022-03-17T05:22:25.487Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:22:25.522Z] $ 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:22:25.916Z] $ docker top 0e8ca0fff79694fc16f23f5904ceddd8149fcd4e28e7d8195a976a47761f3199 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T05:22:26.013Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T05:22:26.013Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T05:22:26.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T05:22:26.155Z] $ docker exec 0e8ca0fff79694fc16f23f5904ceddd8149fcd4e28e7d8195a976a47761f3199 ssh-agent [2022-03-17T05:22:26.305Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMaajf/agent.13 [2022-03-17T05:22:26.305Z] SSH_AGENT_PID=20 [2022-03-17T05:22:26.311Z] Running ssh-add (command line suppressed) [2022-03-17T05:22:26.437Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2525012479476507352.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2525012479476507352.key) [2022-03-17T05:22:26.448Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T05:22:26.736Z] + git semver push [2022-03-17T05:22:26.736Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T05:22:26.736Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-17T05:22:26.736Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:22:26.736Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T05:22:26.736Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T05:22:26.736Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T05:22:26.736Z] # $SEMVER_BRANCH = main [2022-03-17T05:22:26.736Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-17T05:22:28.664Z] $ docker exec --env ******** --env ******** 0e8ca0fff79694fc16f23f5904ceddd8149fcd4e28e7d8195a976a47761f3199 ssh-agent -k [2022-03-17T05:22:28.763Z] unset SSH_AUTH_SOCK; [2022-03-17T05:22:28.763Z] unset SSH_AGENT_PID; [2022-03-17T05:22:28.763Z] echo Agent pid 20 killed; [2022-03-17T05:22:28.770Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T05:22:29.081Z] + git semver [Pipeline] } [2022-03-17T05:22:29.098Z] $ docker stop --time=1 0e8ca0fff79694fc16f23f5904ceddd8149fcd4e28e7d8195a976a47761f3199 [2022-03-17T05:22:30.396Z] $ docker rm -f 0e8ca0fff79694fc16f23f5904ceddd8149fcd4e28e7d8195a976a47761f3199 [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:22:30.968Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-03-17T05:22:30.968Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:22:30.968Z] total 16 [2022-03-17T05:22:30.968Z] drwxr-xr-x 3 root root 4096 Mar 17 05:15 . [2022-03-17T05:22:30.968Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:22 .. [2022-03-17T05:22:30.968Z] drwxr-xr-x 2 root root 4096 Mar 17 05:15 cost [2022-03-17T05:22:30.968Z] -rw-r--r-- 1 root root 83 Mar 17 05:15 cost.csv [2022-03-17T05:22:30.968Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:22:30.968Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-17T05:22:30.968Z] total 16 [2022-03-17T05:22:30.968Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 05:15 . [2022-03-17T05:22:30.968Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:22 .. [2022-03-17T05:22:30.968Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 05:15 cost [2022-03-17T05:22:30.968Z] -rw-r--r-- 1 jenkins jenkins 83 Mar 17 05:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:31.264Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:32.132Z] ---> package-listing.sh [2022-03-17T05:22:32.132Z] ++ facter osfamily [2022-03-17T05:22:32.132Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T05:22:32.393Z] + OS_FAMILY=debian [2022-03-17T05:22:32.393Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-03-17T05:22:32.393Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T05:22:32.393Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T05:22:32.393Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T05:22:32.393Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T05:22:32.393Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T05:22:32.393Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T05:22:32.393Z] + case "${OS_FAMILY}" in [2022-03-17T05:22:32.393Z] + dpkg -l [2022-03-17T05:22:32.393Z] + grep '^ii' [2022-03-17T05:22:32.393Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T05:22:32.393Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T05:22:32.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T05:22:32.393Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-17T05:22:32.393Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-03-17T05:22:32.393Z] + 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:22:32.405Z] 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:22:32.685Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T05:22:33.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T05:22:33.242Z] . [Pipeline] withDockerContainer [2022-03-17T05:22:33.311Z] prd-ubuntu20.04-docker-8c-8g-7784 does not seem to be running inside a container [2022-03-17T05:22:33.347Z] $ 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:22:33.591Z] $ docker top 52b1d63ff077775140b9349220ffe204ae23950b4a02d42bbeba6cda4dcccf44 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T05:22:33.935Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T05:22:34.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T05:22:34.588Z] + ls /var/log/sa-host [2022-03-17T05:22:34.588Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T05:22:34.794Z] provisioning config files... [2022-03-17T05:22:34.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3059911290256538550tmp [Pipeline] { [Pipeline] echo [2022-03-17T05:22:34.810Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:35.095Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T05:22:35.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:35.438Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T05:22:35.446Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:35.733Z] ---> sudo-logs.sh [2022-03-17T05:22:35.733Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T05:22:35.754Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:36.040Z] ---> job-cost.sh [2022-03-17T05:22:36.041Z] lf-activate-venv: SKIPPING [2022-03-17T05:22:36.041Z] DEBUG: total: 0.2199999988079071 [2022-03-17T05:22:36.041Z] INFO: Retrieving Stack Cost... [2022-03-17T05:22:36.301Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T05:22:36.872Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T05:22:36.885Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T05:22:37.170Z] ---> logs-deploy.sh [2022-03-17T05:22:37.170Z] lf-activate-venv: SKIPPING [2022-03-17T05:22:37.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/53 [2022-03-17T05:22:37.170Z] INFO: archiving workspace using pattern(s): [2022-03-17T05:22:38.109Z] Archives upload complete. [2022-03-17T05:22:38.109Z] INFO: archiving logs to Nexus