Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 940e3e0006af72bcfe711ffd8de496c555aa02b6 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2203114215185607915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh2699833396089380697.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh7053020281163019380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh4446181553433290628.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh7112574932183721618.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-751’ Running on prd-centos7-docker-4c-2g-754 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.24.4' 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 /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh2989581489326467636.key > 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 940e3e0006af72bcfe711ffd8de496c555aa02b6 (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 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" > git rev-list --no-walk 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-30T05:11:34.281Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-30T05:11:34.312Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-30T05:11:34.324Z] ========================================================= [2021-11-30T05:11:34.324Z] EdgeX Global Pipelines Version Info [2021-11-30T05:11:34.324Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:11:35.457Z] ------------------- [2021-11-30T05:11:35.457Z] stable info: [2021-11-30T05:11:35.457Z] ------------------- [2021-11-30T05:11:35.457Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-30T05:11:35.457Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-30T05:11:35.457Z] Message: update stable to v1.0.217 [2021-11-30T05:11:36.027Z] ------------------- [2021-11-30T05:11:36.027Z] experimental info: [2021-11-30T05:11:36.027Z] ------------------- [2021-11-30T05:11:36.027Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-30T05:11:36.027Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-30T05:11:36.027Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-30T05:11:36.146Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-30T05:11:36.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-30T05:11:36.171Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-30T05:11:36.186Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-30T05:11:36.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-30T05:11:36.209Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-30T05:11:36.223Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-30T05:11:36.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-30T05:11:36.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-30T05:11:36.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-30T05:11:36.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-30T05:11:36.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-30T05:11:36.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-30T05:11:36.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-30T05:11:36.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-30T05:11:36.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-30T05:11:36.326Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-30T05:11:36.336Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-30T05:11:36.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-30T05:11:36.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-30T05:11:36.374Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-30T05:11:36.386Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-30T05:11:36.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-30T05:11:36.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-30T05:11:36.417Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-30T05:11:36.429Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-30T05:11:36.439Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-30T05:11:36.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-30T05:11:36.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-30T05:11:36.469Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo [2021-11-30T05:11:36.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 940e3e0 [Pipeline] echo [2021-11-30T05:11:36.521Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:11:36.559Z] provisioning config files... [2021-11-30T05:11:36.571Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5046556569767352170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:11:36.876Z] ---> docker-login.sh [2021-11-30T05:11:36.876Z] nexus3.edgexfoundry.org:10001 [2021-11-30T05:11:36.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:11:37.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:11:37.138Z] Configure a credential helper to remove this warning. See [2021-11-30T05:11:37.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:11:37.138Z] [2021-11-30T05:11:37.138Z] Login Succeeded [2021-11-30T05:11:37.138Z] nexus3.edgexfoundry.org:10002 [2021-11-30T05:11:37.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:11:37.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:11:37.138Z] Configure a credential helper to remove this warning. See [2021-11-30T05:11:37.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:11:37.138Z] [2021-11-30T05:11:37.138Z] Login Succeeded [2021-11-30T05:11:37.138Z] nexus3.edgexfoundry.org:10003 [2021-11-30T05:11:37.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:11:37.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:11:37.138Z] Configure a credential helper to remove this warning. See [2021-11-30T05:11:37.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:11:37.138Z] [2021-11-30T05:11:37.138Z] Login Succeeded [2021-11-30T05:11:37.138Z] nexus3.edgexfoundry.org:10004 [2021-11-30T05:11:37.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:11:37.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:11:37.402Z] Configure a credential helper to remove this warning. See [2021-11-30T05:11:37.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:11:37.402Z] [2021-11-30T05:11:37.402Z] Login Succeeded [2021-11-30T05:11:37.402Z] docker.io [2021-11-30T05:11:37.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:11:37.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:11:37.664Z] Configure a credential helper to remove this warning. See [2021-11-30T05:11:37.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:11:37.664Z] [2021-11-30T05:11:37.664Z] Login Succeeded [2021-11-30T05:11:37.664Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T05:11:37.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-30T05:11:38.118Z] + git rev-list -1 --merges 940e3e0006af72bcfe711ffd8de496c555aa02b6~1..940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo [2021-11-30T05:11:38.153Z] -----------> git rev-list -1 --merges 940e3e0006af72bcfe711ffd8de496c555aa02b6~1..940e3e0006af72bcfe711ffd8de496c555aa02b6 940e3e0006af72bcfe711ffd8de496c555aa02b6 [2021-11-30T05:11:38.153Z] 940e3e0006af72bcfe711ffd8de496c555aa02b6 [false] [Pipeline] sh [2021-11-30T05:11:38.451Z] + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo [2021-11-30T05:11:38.464Z] ========================================================= [2021-11-30T05:11:38.464Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-30T05:11:38.464Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T05:11:38.806Z] + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo [2021-11-30T05:11:38.821Z] [semverPrep] GIT_COMMIT: 940e3e0006af72bcfe711ffd8de496c555aa02b6, Commit Message: Merge pull request #1072 from lenny-intel/no-win-zmq [Pipeline] echo [2021-11-30T05:11:38.828Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-11-30T05:11:39.323Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-30T05:11:39.323Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-11-30T05:11:39.323Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-11-30T05:11:39.323Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-11-30T05:11:39.323Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-11-30T05:11:39.323Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-11-30T05:11:39.323Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:11:39.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:11:39.672Z] [2021-11-30T05:11:39.672Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:11:39.982Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:11:39.982Z] latest: Pulling from edgex-devops/git-semver [2021-11-30T05:11:39.982Z] a0d0a0d46f8b: Pulling fs layer [2021-11-30T05:11:39.982Z] 3e5f54012d9b: Pulling fs layer [2021-11-30T05:11:39.982Z] 4c7163046ea9: Pulling fs layer [2021-11-30T05:11:39.982Z] 0c2d73faf560: Pulling fs layer [2021-11-30T05:11:39.982Z] 0c2d73faf560: Waiting [2021-11-30T05:11:39.982Z] 3e5f54012d9b: Verifying Checksum [2021-11-30T05:11:39.982Z] 3e5f54012d9b: Download complete [2021-11-30T05:11:39.982Z] a0d0a0d46f8b: Verifying Checksum [2021-11-30T05:11:39.982Z] a0d0a0d46f8b: Download complete [2021-11-30T05:11:39.982Z] 4c7163046ea9: Verifying Checksum [2021-11-30T05:11:39.982Z] 4c7163046ea9: Download complete [2021-11-30T05:11:39.982Z] 0c2d73faf560: Verifying Checksum [2021-11-30T05:11:39.982Z] 0c2d73faf560: Download complete [2021-11-30T05:11:40.255Z] a0d0a0d46f8b: Pull complete [2021-11-30T05:11:40.255Z] 3e5f54012d9b: Pull complete [2021-11-30T05:11:40.515Z] 4c7163046ea9: Pull complete [2021-11-30T05:11:40.777Z] 0c2d73faf560: Pull complete [2021-11-30T05:11:40.777Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-30T05:11:40.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:11:40.777Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-30T05:11:40.848Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:11:40.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-30T05:11:41.413Z] $ docker top ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-30T05:11:41.516Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T05:11:41.516Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T05:11:41.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T05:11:41.623Z] $ docker exec ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent [2021-11-30T05:11:41.713Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdOgNDO/agent.13 [2021-11-30T05:11:41.713Z] SSH_AGENT_PID=19 [2021-11-30T05:11:41.720Z] Running ssh-add (command line suppressed) [2021-11-30T05:11:41.809Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9006513713671693097.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9006513713671693097.key) [2021-11-30T05:11:41.821Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T05:11:42.127Z] + git tag --points-at HEAD [Pipeline] } [2021-11-30T05:11:42.142Z] $ docker exec --env ******** --env ******** ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent -k [2021-11-30T05:11:42.222Z] unset SSH_AUTH_SOCK; [2021-11-30T05:11:42.222Z] unset SSH_AGENT_PID; [2021-11-30T05:11:42.222Z] echo Agent pid 19 killed; [2021-11-30T05:11:42.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-30T05:11:42.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T05:11:42.256Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T05:11:42.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T05:11:42.363Z] $ docker exec ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent [2021-11-30T05:11:42.458Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDcNjj/agent.53 [2021-11-30T05:11:42.458Z] SSH_AGENT_PID=60 [2021-11-30T05:11:42.463Z] Running ssh-add (command line suppressed) [2021-11-30T05:11:42.550Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2331905532980854398.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2331905532980854398.key) [2021-11-30T05:11:42.569Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T05:11:42.861Z] + git semver init [2021-11-30T05:11:42.862Z] # -> Open(): unable to determine branch for HEAD [2021-11-30T05:11:42.862Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-30T05:11:42.862Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:11:42.862Z] # $SEMVER_REMOTE_NAME = origin [2021-11-30T05:11:42.862Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-30T05:11:42.862Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-30T05:11:42.862Z] # $SEMVER_BRANCH = main [2021-11-30T05:11:42.862Z] # $SEMVER_TEMP = /tmp/semver-761151502 [2021-11-30T05:11:42.862Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-30T05:11:46.168Z] # '/tmp/semver-761151502' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-30T05:11:46.168Z] # -> Force: false [2021-11-30T05:11:46.168Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-30T05:11:46.179Z] $ docker exec --env ******** --env ******** ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent -k [2021-11-30T05:11:46.261Z] unset SSH_AUTH_SOCK; [2021-11-30T05:11:46.262Z] unset SSH_AGENT_PID; [2021-11-30T05:11:46.262Z] echo Agent pid 60 killed; [2021-11-30T05:11:46.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-30T05:11:46.572Z] + git semver [Pipeline] } [2021-11-30T05:11:46.587Z] $ docker stop --time=1 ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf [2021-11-30T05:11:47.806Z] $ docker rm -f ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T05:11:48.145Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-30T05:11:48.361Z] Stashed 1 file(s) [Pipeline] echo [2021-11-30T05:11:48.364Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [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] node [Pipeline] node [2021-11-30T05:12:03.490Z] Still waiting to schedule task [2021-11-30T05:12:03.491Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-30T05:12:03.493Z] Still waiting to schedule task [2021-11-30T05:12:03.494Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-753’ [2021-11-30T05:14:15.423Z] Running on prd-centos7-docker-4c-2g-755 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-30T05:14:15.434Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-11-30T05:14:15.528Z] The recommended git tool is: git [2021-11-30T05:14:17.455Z] using credential edgex-jenkins-ssh [2021-11-30T05:14:17.468Z] Cloning the remote Git repository [2021-11-30T05:14:17.118Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-30T05:14:17.173Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2021-11-30T05:14:17.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-30T05:14:17.211Z] > git --version # timeout=10 [2021-11-30T05:14:17.221Z] > git --version # 'git version 2.24.4' [2021-11-30T05:14:17.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T05:14:17.244Z] [INFO] Currently running in a labeled security context [2021-11-30T05:14:17.244Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-30T05:14:17.244Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/34@tmp/jenkins-gitclient-ssh1581115505683197636.key [2021-11-30T05:14:17.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T05:14:22.346Z] Avoid second fetch [2021-11-30T05:14:22.347Z] Checking out Revision 940e3e0006af72bcfe711ffd8de496c555aa02b6 (main) [2021-11-30T05:14:21.889Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-30T05:14:21.894Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T05:14:21.913Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T05:14:21.921Z] > git checkout -f 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 [2021-11-30T05:14:25.884Z] Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:14:26.349Z] provisioning config files... [2021-11-30T05:14:26.364Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config333862976596247672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:14:26.749Z] ---> docker-login.sh [2021-11-30T05:14:26.749Z] nexus3.edgexfoundry.org:10001 [2021-11-30T05:14:26.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:14:27.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:14:27.009Z] Configure a credential helper to remove this warning. See [2021-11-30T05:14:27.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:14:27.009Z] [2021-11-30T05:14:27.009Z] Login Succeeded [2021-11-30T05:14:27.009Z] nexus3.edgexfoundry.org:10002 [2021-11-30T05:14:27.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:14:27.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:14:27.009Z] Configure a credential helper to remove this warning. See [2021-11-30T05:14:27.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:14:27.009Z] [2021-11-30T05:14:27.009Z] Login Succeeded [2021-11-30T05:14:27.009Z] nexus3.edgexfoundry.org:10003 [2021-11-30T05:14:27.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:14:27.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:14:27.268Z] Configure a credential helper to remove this warning. See [2021-11-30T05:14:27.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:14:27.268Z] [2021-11-30T05:14:27.268Z] Login Succeeded [2021-11-30T05:14:27.268Z] nexus3.edgexfoundry.org:10004 [2021-11-30T05:14:27.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:14:27.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:14:27.268Z] Configure a credential helper to remove this warning. See [2021-11-30T05:14:27.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:14:27.268Z] [2021-11-30T05:14:27.268Z] Login Succeeded [2021-11-30T05:14:27.268Z] docker.io [2021-11-30T05:14:27.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:14:27.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:14:27.839Z] Configure a credential helper to remove this warning. See [2021-11-30T05:14:27.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:14:27.839Z] [2021-11-30T05:14:27.839Z] Login Succeeded [2021-11-30T05:14:27.839Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T05:14:27.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-30T05:14:28.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-30T05:14:28.023Z] ========================================================= [2021-11-30T05:14:28.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-30T05:14:28.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:14:28.340Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-30T05:14:28.340Z] Sending build context to Docker daemon 4.964MB [2021-11-30T05:14:28.340Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T05:14:28.340Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-30T05:14:28.340Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-30T05:14:28.340Z] a0d0a0d46f8b: Pulling fs layer [2021-11-30T05:14:28.340Z] 31adcdaf11c8: Pulling fs layer [2021-11-30T05:14:28.340Z] b8b176561691: Pulling fs layer [2021-11-30T05:14:28.340Z] 4527c011a84f: Pulling fs layer [2021-11-30T05:14:28.340Z] 5d74067f8e1e: Pulling fs layer [2021-11-30T05:14:28.340Z] e0aca202a116: Pulling fs layer [2021-11-30T05:14:28.340Z] 3a43be97a3b4: Pulling fs layer [2021-11-30T05:14:28.340Z] 34cad66bf833: Pulling fs layer [2021-11-30T05:14:28.340Z] b4e3c513aaa6: Pulling fs layer [2021-11-30T05:14:28.340Z] 4527c011a84f: Waiting [2021-11-30T05:14:28.340Z] 5d74067f8e1e: Waiting [2021-11-30T05:14:28.340Z] e0aca202a116: Waiting [2021-11-30T05:14:28.340Z] 3a43be97a3b4: Waiting [2021-11-30T05:14:28.340Z] 34cad66bf833: Waiting [2021-11-30T05:14:28.340Z] b4e3c513aaa6: Waiting [2021-11-30T05:14:28.340Z] b8b176561691: Verifying Checksum [2021-11-30T05:14:28.340Z] b8b176561691: Download complete [2021-11-30T05:14:28.340Z] 31adcdaf11c8: Verifying Checksum [2021-11-30T05:14:28.340Z] 31adcdaf11c8: Download complete [2021-11-30T05:14:28.340Z] 5d74067f8e1e: Verifying Checksum [2021-11-30T05:14:28.341Z] 5d74067f8e1e: Download complete [2021-11-30T05:14:28.341Z] e0aca202a116: Verifying Checksum [2021-11-30T05:14:28.341Z] e0aca202a116: Download complete [2021-11-30T05:14:28.603Z] a0d0a0d46f8b: Verifying Checksum [2021-11-30T05:14:28.603Z] a0d0a0d46f8b: Download complete [2021-11-30T05:14:28.603Z] 3a43be97a3b4: Verifying Checksum [2021-11-30T05:14:28.603Z] 3a43be97a3b4: Download complete [2021-11-30T05:14:28.603Z] 34cad66bf833: Verifying Checksum [2021-11-30T05:14:28.603Z] 34cad66bf833: Download complete [2021-11-30T05:14:28.870Z] a0d0a0d46f8b: Pull complete [2021-11-30T05:14:28.870Z] 31adcdaf11c8: Pull complete [2021-11-30T05:14:29.134Z] b8b176561691: Pull complete [2021-11-30T05:14:29.134Z] 4527c011a84f: Verifying Checksum [2021-11-30T05:14:29.134Z] 4527c011a84f: Download complete [2021-11-30T05:14:29.397Z] b4e3c513aaa6: Verifying Checksum [2021-11-30T05:14:29.397Z] b4e3c513aaa6: Download complete [2021-11-30T05:14:33.626Z] 4527c011a84f: Pull complete [2021-11-30T05:14:33.626Z] 5d74067f8e1e: Pull complete [2021-11-30T05:14:33.626Z] e0aca202a116: Pull complete [2021-11-30T05:14:33.626Z] 3a43be97a3b4: Pull complete [2021-11-30T05:14:33.626Z] 34cad66bf833: Pull complete [2021-11-30T05:14:35.567Z] b4e3c513aaa6: Pull complete [2021-11-30T05:14:35.567Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-30T05:14:35.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-30T05:14:35.567Z] ---> 9f6097aaca64 [2021-11-30T05:14:35.567Z] Step 3/10 : ARG MAKE=make build [2021-11-30T05:14:37.481Z] ---> Running in fadd7d8cfb9c [2021-11-30T05:14:37.744Z] Removing intermediate container fadd7d8cfb9c [2021-11-30T05:14:37.744Z] ---> fbe81a134843 [2021-11-30T05:14:37.744Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-30T05:14:37.744Z] ---> Running in 1c036bfed730 [2021-11-30T05:14:37.744Z] Removing intermediate container 1c036bfed730 [2021-11-30T05:14:37.744Z] ---> 7100a22bf619 [2021-11-30T05:14:37.744Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:14:37.744Z] ---> Running in fdc1b9ccb02f [2021-11-30T05:14:37.744Z] Removing intermediate container fdc1b9ccb02f [2021-11-30T05:14:37.744Z] ---> d4a1024458b6 [2021-11-30T05:14:37.744Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:14:38.012Z] ---> Running in f2e16781edeb [2021-11-30T05:14:38.280Z] Removing intermediate container f2e16781edeb [2021-11-30T05:14:38.280Z] ---> 41cf07e3e34c [2021-11-30T05:14:38.280Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-30T05:14:38.280Z] ---> Running in ede4d2cf8bfb [2021-11-30T05:14:38.541Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T05:14:39.484Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T05:14:39.746Z] OK: 220 MiB in 52 packages [2021-11-30T05:14:40.012Z] Removing intermediate container ede4d2cf8bfb [2021-11-30T05:14:40.012Z] ---> 3d1a4a2f8a32 [2021-11-30T05:14:40.012Z] Step 8/10 : COPY . . [2021-11-30T05:14:40.274Z] ---> 258c52f466e4 [2021-11-30T05:14:40.274Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T05:14:40.539Z] ---> Running in fad4236a907c [2021-11-30T05:15:12.711Z] Removing intermediate container fad4236a907c [2021-11-30T05:15:12.711Z] ---> cb0b6cc53306 [2021-11-30T05:15:12.711Z] Step 10/10 : RUN ${MAKE} [2021-11-30T05:15:12.711Z] ---> Running in dd46c07ec856 [2021-11-30T05:15:12.711Z] noop [2021-11-30T05:15:12.711Z] Removing intermediate container dd46c07ec856 [2021-11-30T05:15:12.711Z] ---> bb20208ffd60 [2021-11-30T05:15:12.711Z] Successfully built bb20208ffd60 [2021-11-30T05:15:12.711Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:15:13.018Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-30T05:15:13.018Z] . [Pipeline] withDockerContainer [2021-11-30T05:15:13.084Z] prd-centos7-docker-4c-2g-755 does not seem to be running inside a container [2021-11-30T05:15:13.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-30T05:15:13.468Z] $ docker top dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T05:15:13.861Z] + go version [2021-11-30T05:15:13.861Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-30T05:15:13.874Z] $ docker stop --time=1 dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 [2021-11-30T05:15:15.062Z] $ docker rm -f dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:15:15.567Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-30T05:15:15.568Z] . [Pipeline] withDockerContainer [2021-11-30T05:15:15.629Z] prd-centos7-docker-4c-2g-755 does not seem to be running inside a container [2021-11-30T05:15:15.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-30T05:15:16.000Z] $ docker top 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-30T05:15:16.362Z] + make test [2021-11-30T05:15:16.362Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-30T05:15:21.714Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-30T05:15:43.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-30T05:15:43.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-30T05:15:43.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-30T05:15:44.005Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-756 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-30T05:15:44.016Z] Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout [2021-11-30T05:15:44.227Z] The recommended git tool is: git [2021-11-30T05:15:45.158Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.3% of statements [2021-11-30T05:15:45.158Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-30T05:15:45.158Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2021-11-30T05:15:45.425Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-11-30T05:15:45.686Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-11-30T05:15:45.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-30T05:15:45.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-30T05:15:45.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-30T05:15:46.262Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements [2021-11-30T05:15:46.262Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-30T05:15:47.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-11-30T05:15:47.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-30T05:15:47.651Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-30T05:15:47.651Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-11-30T05:15:48.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.808s coverage: 89.2% of statements [2021-11-30T05:15:48.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-30T05:15:48.607Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements [2021-11-30T05:15:48.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-30T05:15:48.607Z] GO111MODULE=on go vet ./... [2021-11-30T05:15:50.146Z] using credential edgex-jenkins-ssh [2021-11-30T05:15:50.167Z] Cloning the remote Git repository [2021-11-30T05:15:50.228Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-30T05:15:50.337Z] > git init /w/workspace/device-sdk-go/34 # timeout=10 [2021-11-30T05:15:50.440Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-30T05:15:50.441Z] > git --version # timeout=10 [2021-11-30T05:15:50.465Z] > git --version # 'git version 2.17.1' [2021-11-30T05:15:50.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-30T05:15:50.592Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T05:15:55.136Z] Avoid second fetch [2021-11-30T05:15:55.136Z] Checking out Revision 940e3e0006af72bcfe711ffd8de496c555aa02b6 (main) [2021-11-30T05:15:55.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-30T05:15:55.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-30T05:15:55.160Z] > git config core.sparsecheckout # timeout=10 [2021-11-30T05:15:55.176Z] > git checkout -f 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 [2021-11-30T05:15:59.463Z] Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T05:16:00.295Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-30T05:16:00.296Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-30T05:16:00.296Z] Dload Upload Total Spent Left Speed [2021-11-30T05:16:00.296Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 40632 0 --:--:-- --:--:-- --:--:-- 40632 [Pipeline] sh [2021-11-30T05:16:00.721Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-30T05:16:01.075Z] + sudo tee /etc/docker/daemon.new [2021-11-30T05:16:01.075Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-30T05:16:01.075Z] { [2021-11-30T05:16:01.075Z] "registry-mirrors": [ [2021-11-30T05:16:01.075Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-30T05:16:01.075Z] ], [2021-11-30T05:16:01.075Z] "bip": "10.250.0.254/24", [2021-11-30T05:16:01.075Z] "hosts": [ [2021-11-30T05:16:01.075Z] "tcp://0.0.0.0:5555", [2021-11-30T05:16:01.075Z] "unix:///var/run/docker.sock" [2021-11-30T05:16:01.075Z] ], [2021-11-30T05:16:01.075Z] "mtu": 1458, [2021-11-30T05:16:01.075Z] "selinux-enabled": true, [2021-11-30T05:16:01.075Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-30T05:16:01.075Z] } [Pipeline] sh [2021-11-30T05:16:01.441Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-30T05:16:01.805Z] + sudo service docker restart [2021-11-30T05:16:06.818Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-30T05:16:06.818Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-30T05:16:06.818Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-30T05:16:06.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-30T05:16:06.845Z] $ docker stop --time=1 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec [2021-11-30T05:16:08.399Z] $ docker rm -f 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T05:16:08.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-30T05:16:09.007Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-30T05:16:10.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-30T05:16:10.385Z] + ls -al . [2021-11-30T05:16:10.385Z] total 268 [2021-11-30T05:16:10.385Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 30 05:16 . [2021-11-30T05:16:10.385Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 30 05:14 .. [2021-11-30T05:16:10.385Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 30 05:14 bin [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 30 05:14 CHANGELOG.md [2021-11-30T05:16:10.385Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 30 05:15 coverage.out [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 05:14 .dockerignore [2021-11-30T05:16:10.385Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 30 05:14 example [2021-11-30T05:16:10.385Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 30 05:14 .git [2021-11-30T05:16:10.385Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 30 05:14 .github [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 30 05:14 .gitignore [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 582 Nov 30 05:14 go.mod [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 49492 Nov 30 05:14 go.sum [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 30 05:14 GOVERNANCE.md [2021-11-30T05:16:10.385Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 30 05:14 internal [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 30 05:14 Jenkinsfile [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 30 05:14 LICENSE [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 30 05:14 Makefile [2021-11-30T05:16:10.385Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 30 05:14 openapi [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 30 05:14 OWNERS.md [2021-11-30T05:16:10.385Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 30 05:14 pkg [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 4881 Nov 30 05:14 README.md [2021-11-30T05:16:10.385Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 05:14 snap [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 30 05:11 VERSION [2021-11-30T05:16:10.385Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 30 05:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:16:10.690Z] + 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=940e3e0006af72bcfe711ffd8de496c555aa02b6 --label arch=amd64 --label version=2.2.0-dev.2 . [2021-11-30T05:16:10.690Z] Sending build context to Docker daemon 5.093MB [2021-11-30T05:16:10.690Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T05:16:10.690Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-30T05:16:10.690Z] ---> bb20208ffd60 [2021-11-30T05:16:10.690Z] Step 3/24 : ARG MAKE=make build [2021-11-30T05:16:10.690Z] ---> Running in 4b803c4c1dc2 [2021-11-30T05:16:10.950Z] Removing intermediate container 4b803c4c1dc2 [2021-11-30T05:16:10.950Z] ---> 8d12f3ba131e [2021-11-30T05:16:10.950Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-30T05:16:10.950Z] ---> Running in ddebb3e991f9 [2021-11-30T05:16:10.950Z] Removing intermediate container ddebb3e991f9 [2021-11-30T05:16:10.950Z] ---> 9ca93bf4c965 [2021-11-30T05:16:10.950Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:16:10.950Z] ---> Running in 040acebfae9a [2021-11-30T05:16:11.211Z] Removing intermediate container 040acebfae9a [2021-11-30T05:16:11.212Z] ---> 6bcdbb9ffd0b [2021-11-30T05:16:11.212Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:16:11.212Z] ---> Running in 670c722af201 [2021-11-30T05:16:11.476Z] Removing intermediate container 670c722af201 [2021-11-30T05:16:11.476Z] ---> 0ab1fa1d9acd [2021-11-30T05:16:11.476Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-30T05:16:11.476Z] ---> Running in 26cfe557a284 [2021-11-30T05:16:11.737Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T05:16:12.680Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T05:16:12.940Z] OK: 220 MiB in 52 packages [2021-11-30T05:16:13.206Z] Removing intermediate container 26cfe557a284 [2021-11-30T05:16:13.206Z] ---> 4b60051651fc [2021-11-30T05:16:13.206Z] Step 8/24 : COPY . . [2021-11-30T05:16:13.467Z] ---> 530afa92f44e [2021-11-30T05:16:13.467Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T05:16:13.467Z] ---> Running in 320e5c69195c [2021-11-30T05:16:14.041Z] Removing intermediate container 320e5c69195c [2021-11-30T05:16:14.041Z] ---> 00e542cead44 [2021-11-30T05:16:14.041Z] Step 10/24 : RUN ${MAKE} [2021-11-30T05:16:14.041Z] ---> Running in fd399a827989 [2021-11-30T05:16:14.306Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:16:20.164Z] provisioning config files... [2021-11-30T05:16:20.190Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config6499243163941144402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:16:20.563Z] ---> docker-login.sh [2021-11-30T05:16:20.563Z] nexus3.edgexfoundry.org:10001 [2021-11-30T05:16:21.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:16:21.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:16:21.503Z] Configure a credential helper to remove this warning. See [2021-11-30T05:16:21.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:16:21.503Z] [2021-11-30T05:16:21.503Z] Login Succeeded [2021-11-30T05:16:21.776Z] nexus3.edgexfoundry.org:10002 [2021-11-30T05:16:22.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:16:22.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:16:22.049Z] Configure a credential helper to remove this warning. See [2021-11-30T05:16:22.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:16:22.049Z] [2021-11-30T05:16:22.049Z] Login Succeeded [2021-11-30T05:16:22.327Z] nexus3.edgexfoundry.org:10003 [2021-11-30T05:16:22.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:16:22.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:16:22.612Z] Configure a credential helper to remove this warning. See [2021-11-30T05:16:22.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:16:22.612Z] [2021-11-30T05:16:22.612Z] Login Succeeded [2021-11-30T05:16:22.889Z] nexus3.edgexfoundry.org:10004 [2021-11-30T05:16:23.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:16:23.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:16:23.439Z] Configure a credential helper to remove this warning. See [2021-11-30T05:16:23.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:16:23.439Z] [2021-11-30T05:16:23.439Z] Login Succeeded [2021-11-30T05:16:23.439Z] docker.io [2021-11-30T05:16:23.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-30T05:16:24.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-30T05:16:24.308Z] Configure a credential helper to remove this warning. See [2021-11-30T05:16:24.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-30T05:16:24.308Z] [2021-11-30T05:16:24.308Z] Login Succeeded [2021-11-30T05:16:24.308Z] ---> docker-login.sh ends [Pipeline] } [2021-11-30T05:16:24.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2021-11-30T05:16:24.355Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] unstash [Pipeline] echo [2021-11-30T05:16:24.619Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-30T05:16:24.629Z] ========================================================= [2021-11-30T05:16:24.629Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-30T05:16:24.629Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:16:24.975Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-30T05:16:25.316Z] Removing intermediate container fd399a827989 [2021-11-30T05:16:25.316Z] ---> 443681ca613a [2021-11-30T05:16:25.316Z] Step 11/24 : FROM alpine:3.14 [2021-11-30T05:16:25.584Z] Sending build context to Docker daemon 4.953MB [2021-11-30T05:16:25.584Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T05:16:25.584Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-30T05:16:25.584Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-30T05:16:25.584Z] 552d1f2373af: Pulling fs layer [2021-11-30T05:16:25.584Z] ea3f2d53f512: Pulling fs layer [2021-11-30T05:16:25.584Z] 9e70ebbbe112: Pulling fs layer [2021-11-30T05:16:25.584Z] 7a9cfe048b4a: Pulling fs layer [2021-11-30T05:16:25.584Z] 72dc09318566: Pulling fs layer [2021-11-30T05:16:25.584Z] f4f7b4309257: Pulling fs layer [2021-11-30T05:16:25.584Z] 0ac9a79272e3: Pulling fs layer [2021-11-30T05:16:25.584Z] b78e95d17946: Pulling fs layer [2021-11-30T05:16:25.584Z] 7a9cfe048b4a: Waiting [2021-11-30T05:16:25.584Z] 72dc09318566: Waiting [2021-11-30T05:16:25.584Z] f4f7b4309257: Waiting [2021-11-30T05:16:25.584Z] 0ac9a79272e3: Waiting [2021-11-30T05:16:25.584Z] b78e95d17946: Waiting [2021-11-30T05:16:25.584Z] 9e70ebbbe112: Verifying Checksum [2021-11-30T05:16:25.584Z] 9e70ebbbe112: Download complete [2021-11-30T05:16:25.876Z] ea3f2d53f512: Download complete [2021-11-30T05:16:25.876Z] 72dc09318566: Verifying Checksum [2021-11-30T05:16:25.876Z] 72dc09318566: Download complete [2021-11-30T05:16:25.876Z] f4f7b4309257: Verifying Checksum [2021-11-30T05:16:25.876Z] f4f7b4309257: Download complete [2021-11-30T05:16:25.876Z] 552d1f2373af: Verifying Checksum [2021-11-30T05:16:25.876Z] 552d1f2373af: Download complete [2021-11-30T05:16:25.876Z] 0ac9a79272e3: Verifying Checksum [2021-11-30T05:16:25.876Z] 0ac9a79272e3: Download complete [2021-11-30T05:16:25.887Z] 3.14: Pulling from library/alpine [2021-11-30T05:16:26.147Z] 97518928ae5f: Pulling fs layer [2021-11-30T05:16:26.407Z] 97518928ae5f: Verifying Checksum [2021-11-30T05:16:26.407Z] 97518928ae5f: Download complete [2021-11-30T05:16:26.407Z] 97518928ae5f: Pull complete [2021-11-30T05:16:26.407Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-30T05:16:26.407Z] Status: Downloaded newer image for alpine:3.14 [2021-11-30T05:16:26.407Z] ---> 0a97eee8041e [2021-11-30T05:16:26.407Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:16:26.479Z] 552d1f2373af: Pull complete [2021-11-30T05:16:26.674Z] ---> Running in 6460066c2844 [2021-11-30T05:16:26.674Z] Removing intermediate container 6460066c2844 [2021-11-30T05:16:26.674Z] ---> d8ffa6ff537b [2021-11-30T05:16:26.674Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:16:26.674Z] ---> Running in 3b9fa3a01a09 [2021-11-30T05:16:27.251Z] Removing intermediate container 3b9fa3a01a09 [2021-11-30T05:16:27.251Z] ---> 24c44996eeec [2021-11-30T05:16:27.251Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-30T05:16:27.251Z] ---> Running in 5417c93f2feb [2021-11-30T05:16:27.475Z] ea3f2d53f512: Pull complete [2021-11-30T05:16:27.512Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-30T05:16:27.754Z] 9e70ebbbe112: Pull complete [2021-11-30T05:16:27.754Z] b78e95d17946: Verifying Checksum [2021-11-30T05:16:27.754Z] b78e95d17946: Download complete [2021-11-30T05:16:28.355Z] 7a9cfe048b4a: Verifying Checksum [2021-11-30T05:16:28.355Z] 7a9cfe048b4a: Download complete [2021-11-30T05:16:28.453Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-30T05:16:28.453Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-30T05:16:28.712Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-30T05:16:28.712Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-30T05:16:28.973Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-30T05:16:28.973Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-30T05:16:28.973Z] Executing busybox-1.33.1-r6.trigger [2021-11-30T05:16:28.973Z] OK: 8 MiB in 19 packages [2021-11-30T05:16:29.233Z] Removing intermediate container 5417c93f2feb [2021-11-30T05:16:29.233Z] ---> 9c58e1b2ddb2 [2021-11-30T05:16:29.233Z] Step 15/24 : WORKDIR / [2021-11-30T05:16:29.499Z] ---> Running in 3b034fe0bead [2021-11-30T05:16:29.499Z] Removing intermediate container 3b034fe0bead [2021-11-30T05:16:29.499Z] ---> cd4a9a652c19 [2021-11-30T05:16:29.499Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-30T05:16:29.499Z] ---> ce4228ff3a5d [2021-11-30T05:16:29.499Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-30T05:16:30.069Z] ---> 10df04ffffdb [2021-11-30T05:16:30.069Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-30T05:16:30.069Z] ---> 6b66850c33fe [2021-11-30T05:16:30.069Z] Step 19/24 : EXPOSE 59999 [2021-11-30T05:16:30.069Z] ---> Running in 39a9b4d7f3de [2021-11-30T05:16:30.334Z] Removing intermediate container 39a9b4d7f3de [2021-11-30T05:16:30.334Z] ---> a98d9820d4a0 [2021-11-30T05:16:30.334Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-30T05:16:30.334Z] ---> Running in 8d99efc0a9fb [2021-11-30T05:16:30.334Z] Removing intermediate container 8d99efc0a9fb [2021-11-30T05:16:30.334Z] ---> abbf8cf13e08 [2021-11-30T05:16:30.334Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-30T05:16:30.334Z] ---> Running in 3be8fdf11f1d [2021-11-30T05:16:30.334Z] Removing intermediate container 3be8fdf11f1d [2021-11-30T05:16:30.334Z] ---> bc37997fc9d0 [2021-11-30T05:16:30.334Z] Step 22/24 : LABEL arch=amd64 [2021-11-30T05:16:30.334Z] ---> Running in bb5ccff4529f [2021-11-30T05:16:30.598Z] Removing intermediate container bb5ccff4529f [2021-11-30T05:16:30.598Z] ---> 30901052f8cb [2021-11-30T05:16:30.598Z] Step 23/24 : LABEL git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 [2021-11-30T05:16:30.598Z] ---> Running in aa1823049a4f [2021-11-30T05:16:30.598Z] Removing intermediate container aa1823049a4f [2021-11-30T05:16:30.598Z] ---> 25ee6a0dea2f [2021-11-30T05:16:30.598Z] Step 24/24 : LABEL version=2.2.0-dev.2 [2021-11-30T05:16:30.598Z] ---> Running in 5fbc3935faca [2021-11-30T05:16:30.860Z] Removing intermediate container 5fbc3935faca [2021-11-30T05:16:30.860Z] ---> 25436b012154 [2021-11-30T05:16:30.860Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-30T05:16:30.860Z] Successfully built 25436b012154 [2021-11-30T05:16:30.860Z] 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 [2021-11-30T05:16:31.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:16:31.577Z] [2021-11-30T05:16:31.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:16:31.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:16:31.883Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-30T05:16:31.883Z] b4d181a07f80: Pulling fs layer [2021-11-30T05:16:31.883Z] a1111a8f2ec3: Pulling fs layer [2021-11-30T05:16:31.883Z] ed53099fbce6: Pulling fs layer [2021-11-30T05:16:31.883Z] dc539afda2c1: Pulling fs layer [2021-11-30T05:16:31.883Z] 77bc0d833cb6: Pulling fs layer [2021-11-30T05:16:31.883Z] 9065ff56babe: Pulling fs layer [2021-11-30T05:16:31.883Z] d287ab97295c: Pulling fs layer [2021-11-30T05:16:31.883Z] dc539afda2c1: Waiting [2021-11-30T05:16:31.883Z] 77bc0d833cb6: Waiting [2021-11-30T05:16:31.883Z] 9065ff56babe: Waiting [2021-11-30T05:16:31.883Z] d287ab97295c: Waiting [2021-11-30T05:16:31.883Z] a1111a8f2ec3: Verifying Checksum [2021-11-30T05:16:31.883Z] a1111a8f2ec3: Download complete [2021-11-30T05:16:31.883Z] dc539afda2c1: Verifying Checksum [2021-11-30T05:16:31.883Z] dc539afda2c1: Download complete [2021-11-30T05:16:32.144Z] 77bc0d833cb6: Verifying Checksum [2021-11-30T05:16:32.144Z] 77bc0d833cb6: Download complete [2021-11-30T05:16:32.144Z] 9065ff56babe: Verifying Checksum [2021-11-30T05:16:32.144Z] 9065ff56babe: Download complete [2021-11-30T05:16:32.144Z] ed53099fbce6: Verifying Checksum [2021-11-30T05:16:32.144Z] ed53099fbce6: Download complete [2021-11-30T05:16:32.144Z] b4d181a07f80: Verifying Checksum [2021-11-30T05:16:32.144Z] b4d181a07f80: Download complete [2021-11-30T05:16:32.727Z] d287ab97295c: Verifying Checksum [2021-11-30T05:16:32.727Z] d287ab97295c: Download complete [2021-11-30T05:16:33.679Z] b4d181a07f80: Pull complete [2021-11-30T05:16:33.680Z] a1111a8f2ec3: Pull complete [2021-11-30T05:16:34.251Z] ed53099fbce6: Pull complete [2021-11-30T05:16:34.251Z] dc539afda2c1: Pull complete [2021-11-30T05:16:34.825Z] 77bc0d833cb6: Pull complete [2021-11-30T05:16:34.825Z] 9065ff56babe: Pull complete [2021-11-30T05:16:38.535Z] 7a9cfe048b4a: Pull complete [2021-11-30T05:16:38.812Z] 72dc09318566: Pull complete [2021-11-30T05:16:39.087Z] f4f7b4309257: Pull complete [2021-11-30T05:16:39.364Z] 0ac9a79272e3: Pull complete [2021-11-30T05:16:40.169Z] d287ab97295c: Pull complete [2021-11-30T05:16:40.169Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-30T05:16:40.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:16:40.169Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-30T05:16:40.243Z] prd-centos7-docker-4c-2g-755 does not seem to be running inside a container [2021-11-30T05:16:40.280Z] $ 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/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-30T05:16:43.012Z] $ docker top c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:16:43.503Z] ---> job-cost.sh [2021-11-30T05:16:43.503Z] lf-activate-venv: SKIPPING [2021-11-30T05:16:43.503Z] INFO: No Stack... [2021-11-30T05:16:43.763Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-30T05:16:44.025Z] INFO: Archiving Costs [Pipeline] sh [2021-11-30T05:16:44.317Z] + cat /w/workspace/device-sdk-go/34/archives/cost.csv [2021-11-30T05:16:44.317Z] + cut -d, -f6 [Pipeline] lock [2021-11-30T05:16:44.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [2021-11-30T05:16:44.353Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] did not exist. Created. [2021-11-30T05:16:44.353Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-30T05:16:44.670Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-30T05:16:44.703Z] Stashed 1 file(s) [Pipeline] } [2021-11-30T05:16:44.708Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-30T05:16:44.725Z] $ docker stop --time=1 c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 [2021-11-30T05:16:45.865Z] $ docker rm -f c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-11-30T05:16:46.116Z] b78e95d17946: Pull complete [2021-11-30T05:16:46.116Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-30T05:16:46.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-30T05:16:46.116Z] ---> 8b459fc5aaf0 [2021-11-30T05:16:46.116Z] Step 3/10 : ARG MAKE=make build [Pipeline] // stage [Pipeline] } [2021-11-30T05:16:47.101Z] ---> Running in 3073e2dea70f [2021-11-30T05:16:47.700Z] Removing intermediate container 3073e2dea70f [2021-11-30T05:16:47.700Z] ---> f29f2e11cfdc [2021-11-30T05:16:47.700Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-30T05:16:47.700Z] ---> Running in 9c6d2d0171c4 [2021-11-30T05:16:48.302Z] Removing intermediate container 9c6d2d0171c4 [2021-11-30T05:16:48.302Z] ---> 23006c7013f5 [2021-11-30T05:16:48.302Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:16:48.302Z] ---> Running in a970c6fac3ad [2021-11-30T05:16:48.901Z] Removing intermediate container a970c6fac3ad [2021-11-30T05:16:48.901Z] ---> eb995c3ac8c2 [2021-11-30T05:16:48.901Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:16:48.901Z] ---> Running in 2023586e8a37 [2021-11-30T05:16:50.891Z] Removing intermediate container 2023586e8a37 [2021-11-30T05:16:50.891Z] ---> c507687f6183 [2021-11-30T05:16:50.891Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-30T05:16:51.164Z] ---> Running in 4eaa4000ab6b [2021-11-30T05:16:52.146Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T05:16:53.129Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T05:16:54.114Z] OK: 219 MiB in 52 packages [2021-11-30T05:16:55.098Z] Removing intermediate container 4eaa4000ab6b [2021-11-30T05:16:55.098Z] ---> 1143f389ff18 [2021-11-30T05:16:55.098Z] Step 8/10 : COPY . . [2021-11-30T05:16:56.083Z] ---> aa260cca15e8 [2021-11-30T05:16:56.083Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T05:16:56.364Z] ---> Running in 1d6da76e491b [2021-11-30T05:18:18.151Z] Removing intermediate container 1d6da76e491b [2021-11-30T05:18:18.151Z] ---> 8cea88d0be25 [2021-11-30T05:18:18.151Z] Step 10/10 : RUN ${MAKE} [2021-11-30T05:18:18.151Z] ---> Running in bdd9cb91de34 [2021-11-30T05:18:18.151Z] noop [2021-11-30T05:18:18.151Z] Removing intermediate container bdd9cb91de34 [2021-11-30T05:18:18.151Z] ---> 30aa81a411e6 [2021-11-30T05:18:18.151Z] Successfully built 30aa81a411e6 [2021-11-30T05:18:18.151Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:18:18.506Z] + docker inspect -f . ci-base-image-arm64 [2021-11-30T05:18:18.506Z] . [Pipeline] withDockerContainer [2021-11-30T05:18:18.778Z] prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container [2021-11-30T05:18:18.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-30T05:18:20.418Z] $ docker top abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T05:18:21.413Z] + go version [2021-11-30T05:18:21.413Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-30T05:18:21.437Z] $ docker stop --time=1 abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 [2021-11-30T05:18:23.156Z] $ docker rm -f abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:18:23.924Z] + docker inspect -f . ci-base-image-arm64 [2021-11-30T05:18:23.924Z] . [Pipeline] withDockerContainer [2021-11-30T05:18:24.176Z] prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container [2021-11-30T05:18:24.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-30T05:18:25.724Z] $ docker top 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-30T05:18:26.713Z] + make test [2021-11-30T05:18:26.713Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-30T05:18:53.522Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-30T05:20:01.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-30T05:20:01.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-30T05:20:01.568Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-30T05:20:08.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.333s coverage: 23.3% of statements [2021-11-30T05:20:08.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-30T05:20:08.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.225s coverage: 27.6% of statements [2021-11-30T05:20:08.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.247s coverage: 78.9% of statements [2021-11-30T05:20:08.351Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.200s coverage: 9.0% of statements [2021-11-30T05:20:08.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-30T05:20:08.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-30T05:20:08.351Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-30T05:20:08.629Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 28.7% of statements [2021-11-30T05:20:08.629Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-30T05:20:12.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 83.3% of statements [2021-11-30T05:20:12.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-30T05:20:12.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-30T05:20:12.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.376s coverage: 57.8% of statements [2021-11-30T05:20:13.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.290s coverage: 89.2% of statements [2021-11-30T05:20:13.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-30T05:20:13.293Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 4.8% of statements [2021-11-30T05:20:13.293Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-30T05:20:13.890Z] GO111MODULE=on go vet ./... [2021-11-30T05:21:10.469Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-30T05:21:10.469Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-30T05:21:10.469Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-30T05:21:11.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-30T05:21:11.932Z] $ docker stop --time=1 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 [2021-11-30T05:21:13.795Z] $ docker rm -f 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T05:21:14.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-30T05:21:14.907Z] Warning: overwriting stash ‘coverage-report’ [2021-11-30T05:21:15.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-30T05:21:15.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-30T05:21:16.237Z] + ls -al . [2021-11-30T05:21:16.237Z] total 304 [2021-11-30T05:21:16.237Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 05:21 . [2021-11-30T05:21:16.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 05:15 .. [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 05:15 .dockerignore [2021-11-30T05:21:16.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 05:15 .git [2021-11-30T05:21:16.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 05:15 .github [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 30 05:15 .gitignore [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 30 05:15 CHANGELOG.md [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 30 05:15 GOVERNANCE.md [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 30 05:15 Jenkinsfile [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 30 05:15 LICENSE [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 30 05:15 Makefile [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 30 05:15 OWNERS.md [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 30 05:15 README.md [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 30 05:11 VERSION [2021-11-30T05:21:16.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 05:15 bin [2021-11-30T05:21:16.237Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 30 05:20 coverage.out [2021-11-30T05:21:16.237Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 05:15 example [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 582 Nov 30 05:15 go.mod [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 49492 Nov 30 05:15 go.sum [2021-11-30T05:21:16.237Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 30 05:15 internal [2021-11-30T05:21:16.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 05:15 openapi [2021-11-30T05:21:16.237Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 05:15 pkg [2021-11-30T05:21:16.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 05:15 snap [2021-11-30T05:21:16.237Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 30 05:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:21:16.619Z] + 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=940e3e0006af72bcfe711ffd8de496c555aa02b6 --label arch=arm64 --label version=2.2.0-dev.2 . [2021-11-30T05:21:17.262Z] Sending build context to Docker daemon 5.082MB [2021-11-30T05:21:17.262Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-30T05:21:17.262Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-30T05:21:17.262Z] ---> 30aa81a411e6 [2021-11-30T05:21:17.262Z] Step 3/24 : ARG MAKE=make build [2021-11-30T05:21:17.262Z] ---> Running in cc74fbf80232 [2021-11-30T05:21:17.895Z] Removing intermediate container cc74fbf80232 [2021-11-30T05:21:17.895Z] ---> 9d138ef3ac39 [2021-11-30T05:21:17.895Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-30T05:21:17.895Z] ---> Running in f14be30ed71e [2021-11-30T05:21:18.514Z] Removing intermediate container f14be30ed71e [2021-11-30T05:21:18.514Z] ---> 949b60835135 [2021-11-30T05:21:18.514Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:21:18.514Z] ---> Running in fc64565c58ce [2021-11-30T05:21:18.792Z] Removing intermediate container fc64565c58ce [2021-11-30T05:21:18.792Z] ---> 675b8c082c6d [2021-11-30T05:21:18.792Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:21:19.073Z] ---> Running in b64841402c62 [2021-11-30T05:21:21.053Z] Removing intermediate container b64841402c62 [2021-11-30T05:21:21.053Z] ---> f331f739d91e [2021-11-30T05:21:21.053Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-30T05:21:21.053Z] ---> Running in 75f5a118c3ef [2021-11-30T05:21:22.026Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T05:21:23.000Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T05:21:23.974Z] OK: 219 MiB in 52 packages [2021-11-30T05:21:24.572Z] Removing intermediate container 75f5a118c3ef [2021-11-30T05:21:24.572Z] ---> cc61659cb51a [2021-11-30T05:21:24.572Z] Step 8/24 : COPY . . [2021-11-30T05:21:25.999Z] ---> cc8343249644 [2021-11-30T05:21:26.000Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-30T05:21:26.000Z] ---> Running in 4b3874199434 [2021-11-30T05:21:27.987Z] Removing intermediate container 4b3874199434 [2021-11-30T05:21:27.987Z] ---> 195511f7325b [2021-11-30T05:21:27.987Z] Step 10/24 : RUN ${MAKE} [2021-11-30T05:21:28.265Z] ---> Running in 0c3eda3b4833 [2021-11-30T05:21:29.244Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-30T05:22:01.614Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-30T05:22:04.235Z] Removing intermediate container 0c3eda3b4833 [2021-11-30T05:22:04.235Z] ---> 60d9fbd8ead8 [2021-11-30T05:22:04.235Z] Step 11/24 : FROM alpine:3.14 [2021-11-30T05:22:04.830Z] 3.14: Pulling from library/alpine [2021-11-30T05:22:04.830Z] be307f383ecc: Pulling fs layer [2021-11-30T05:22:05.102Z] be307f383ecc: Download complete [2021-11-30T05:22:06.078Z] be307f383ecc: Pull complete [2021-11-30T05:22:06.078Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-30T05:22:06.078Z] Status: Downloaded newer image for alpine:3.14 [2021-11-30T05:22:06.078Z] ---> 5b8b7b635229 [2021-11-30T05:22:06.078Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-30T05:22:06.078Z] ---> Running in 7df0e5bcab62 [2021-11-30T05:22:06.351Z] Removing intermediate container 7df0e5bcab62 [2021-11-30T05:22:06.351Z] ---> 9536c5b7a824 [2021-11-30T05:22:06.351Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-30T05:22:06.626Z] ---> Running in c6b0ce429400 [2021-11-30T05:22:08.603Z] Removing intermediate container c6b0ce429400 [2021-11-30T05:22:08.603Z] ---> 37e1ae1b0aea [2021-11-30T05:22:08.603Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-30T05:22:08.603Z] ---> Running in a2b97fd64199 [2021-11-30T05:22:09.579Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-30T05:22:10.557Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-30T05:22:11.151Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-30T05:22:11.151Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-30T05:22:11.422Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-30T05:22:11.422Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-30T05:22:11.694Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-30T05:22:11.694Z] Executing busybox-1.33.1-r6.trigger [2021-11-30T05:22:11.694Z] OK: 8 MiB in 19 packages [2021-11-30T05:22:12.669Z] Removing intermediate container a2b97fd64199 [2021-11-30T05:22:12.669Z] ---> 87fe4fbe1fa6 [2021-11-30T05:22:12.669Z] Step 15/24 : WORKDIR / [2021-11-30T05:22:12.669Z] ---> Running in fbc0a364d08d [2021-11-30T05:22:13.264Z] Removing intermediate container fbc0a364d08d [2021-11-30T05:22:13.264Z] ---> 5b7ad594c755 [2021-11-30T05:22:13.264Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-30T05:22:13.858Z] ---> 253acd52d08b [2021-11-30T05:22:13.858Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-30T05:22:14.839Z] ---> 031ee7ac5390 [2021-11-30T05:22:14.839Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-30T05:22:15.813Z] ---> 3b6e324d380e [2021-11-30T05:22:15.813Z] Step 19/24 : EXPOSE 59999 [2021-11-30T05:22:15.813Z] ---> Running in 1a1a04753060 [2021-11-30T05:22:16.087Z] Removing intermediate container 1a1a04753060 [2021-11-30T05:22:16.087Z] ---> 56c9ff1d59dd [2021-11-30T05:22:16.087Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-30T05:22:16.358Z] ---> Running in 7a6d07605a67 [2021-11-30T05:22:16.631Z] Removing intermediate container 7a6d07605a67 [2021-11-30T05:22:16.631Z] ---> 964c6c294145 [2021-11-30T05:22:16.631Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-30T05:22:16.631Z] ---> Running in 2db44a146320 [2021-11-30T05:22:17.231Z] Removing intermediate container 2db44a146320 [2021-11-30T05:22:17.231Z] ---> 432e43d13b20 [2021-11-30T05:22:17.231Z] Step 22/24 : LABEL arch=arm64 [2021-11-30T05:22:17.231Z] ---> Running in 63b8792b7481 [2021-11-30T05:22:17.824Z] Removing intermediate container 63b8792b7481 [2021-11-30T05:22:17.824Z] ---> 401ce2f5afc7 [2021-11-30T05:22:17.824Z] Step 23/24 : LABEL git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 [2021-11-30T05:22:17.824Z] ---> Running in f819e788258d [2021-11-30T05:22:18.100Z] Removing intermediate container f819e788258d [2021-11-30T05:22:18.100Z] ---> dde25313eeca [2021-11-30T05:22:18.100Z] Step 24/24 : LABEL version=2.2.0-dev.2 [2021-11-30T05:22:18.100Z] ---> Running in 1d5f97f6ae28 [2021-11-30T05:22:18.697Z] Removing intermediate container 1d5f97f6ae28 [2021-11-30T05:22:18.698Z] ---> 8bad71594e96 [2021-11-30T05:22:18.698Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-30T05:22:18.698Z] Successfully built 8bad71594e96 [2021-11-30T05:22:18.698Z] 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 [2021-11-30T05:22:19.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T05:22:19.296Z] [2021-11-30T05:22:19.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:22:19.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T05:22:19.916Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-30T05:22:19.916Z] 448f6bf000e3: Pulling fs layer [2021-11-30T05:22:19.916Z] f757da607395: Pulling fs layer [2021-11-30T05:22:19.916Z] 05883995daec: Pulling fs layer [2021-11-30T05:22:19.916Z] 8603b9c90790: Pulling fs layer [2021-11-30T05:22:19.916Z] 1560dd03e051: Pulling fs layer [2021-11-30T05:22:19.916Z] 27f5ce0e4adf: Pulling fs layer [2021-11-30T05:22:19.916Z] c2d8d7efcc4b: Pulling fs layer [2021-11-30T05:22:19.916Z] 8603b9c90790: Waiting [2021-11-30T05:22:19.916Z] 1560dd03e051: Waiting [2021-11-30T05:22:19.916Z] 27f5ce0e4adf: Waiting [2021-11-30T05:22:19.916Z] c2d8d7efcc4b: Waiting [2021-11-30T05:22:19.916Z] f757da607395: Verifying Checksum [2021-11-30T05:22:19.916Z] f757da607395: Download complete [2021-11-30T05:22:19.916Z] 8603b9c90790: Verifying Checksum [2021-11-30T05:22:19.916Z] 8603b9c90790: Download complete [2021-11-30T05:22:20.190Z] 1560dd03e051: Verifying Checksum [2021-11-30T05:22:20.190Z] 1560dd03e051: Download complete [2021-11-30T05:22:20.190Z] 27f5ce0e4adf: Verifying Checksum [2021-11-30T05:22:20.190Z] 27f5ce0e4adf: Download complete [2021-11-30T05:22:20.190Z] 05883995daec: Verifying Checksum [2021-11-30T05:22:20.190Z] 05883995daec: Download complete [2021-11-30T05:22:20.465Z] 448f6bf000e3: Download complete [2021-11-30T05:22:23.088Z] c2d8d7efcc4b: Verifying Checksum [2021-11-30T05:22:23.088Z] c2d8d7efcc4b: Download complete [2021-11-30T05:22:24.068Z] 448f6bf000e3: Pull complete [2021-11-30T05:22:24.667Z] f757da607395: Pull complete [2021-11-30T05:22:26.112Z] 05883995daec: Pull complete [2021-11-30T05:22:26.384Z] 8603b9c90790: Pull complete [2021-11-30T05:22:27.363Z] 1560dd03e051: Pull complete [2021-11-30T05:22:27.636Z] 27f5ce0e4adf: Pull complete [2021-11-30T05:22:42.722Z] c2d8d7efcc4b: Pull complete [2021-11-30T05:22:42.722Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-30T05:22:42.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-30T05:22:42.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-30T05:22:42.964Z] prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container [2021-11-30T05:22:43.036Z] $ 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/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-30T05:22:45.680Z] $ docker top 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:22:46.641Z] ---> job-cost.sh [2021-11-30T05:22:46.641Z] lf-activate-venv: SKIPPING [2021-11-30T05:22:46.641Z] INFO: No Stack... [2021-11-30T05:22:46.910Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-30T05:22:47.181Z] INFO: Archiving Costs [Pipeline] sh [2021-11-30T05:22:47.841Z] + cat /w/workspace/device-sdk-go/34/archives/cost.csv [2021-11-30T05:22:47.841Z] + cut -d, -f6 [Pipeline] lock [2021-11-30T05:22:47.951Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [2021-11-30T05:22:47.959Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] did not exist. Created. [2021-11-30T05:22:47.959Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-30T05:22:48.668Z] /w/workspace/device-sdk-go/34@tmp/durable-367ad2c4/script.sh: 1: /w/workspace/device-sdk-go/34@tmp/durable-367ad2c4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-30T05:22:49.351Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-30T05:22:49.375Z] Warning: overwriting stash ‘stack-cost’ [2021-11-30T05:22:49.455Z] Stashed 1 file(s) [Pipeline] } [2021-11-30T05:22:49.463Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-30T05:22:49.469Z] $ docker stop --time=1 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 [2021-11-30T05:22:51.039Z] $ docker rm -f 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 [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 [2021-11-30T05:22:51.682Z] provisioning config files... [2021-11-30T05:22:51.692Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1609345019221753732tmp [Pipeline] { [Pipeline] sh [2021-11-30T05:22:52.002Z] + set +x [2021-11-30T05:22:52.002Z] + curl -s https://codecov.io/bash [2021-11-30T05:22:52.002Z] + bash -s -- [2021-11-30T05:22:52.002Z] [2021-11-30T05:22:52.002Z] _____ _ [2021-11-30T05:22:52.002Z] / ____| | | [2021-11-30T05:22:52.002Z] | | ___ __| | ___ ___ _____ __ [2021-11-30T05:22:52.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-30T05:22:52.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-30T05:22:52.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-30T05:22:52.002Z] Bash-1.0.6 [2021-11-30T05:22:52.002Z] [2021-11-30T05:22:52.002Z] [2021-11-30T05:22:52.002Z] ==> git version 2.24.4 found [2021-11-30T05:22:52.002Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-30T05:22:52.002Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-30T05:22:52.002Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-30T05:22:52.002Z] ==> Jenkins CI detected. [2021-11-30T05:22:52.002Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:22:52.002Z] project root: . [2021-11-30T05:22:52.002Z] --> token set from env [2021-11-30T05:22:52.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-30T05:22:52.002Z] ==> Running gcov in . (disable via -X gcov) [2021-11-30T05:22:52.002Z] ==> Python coveragepy not found [2021-11-30T05:22:52.002Z] ==> Searching for coverage reports in: [2021-11-30T05:22:52.002Z] + . [2021-11-30T05:22:52.002Z] -> Found 1 reports [2021-11-30T05:22:52.002Z] ==> Detecting git/mercurial file structure [2021-11-30T05:22:52.002Z] ==> Reading reports [2021-11-30T05:22:52.002Z] + ./coverage.out bytes=128369 [2021-11-30T05:22:52.002Z] ==> Appending adjustments [2021-11-30T05:22:52.002Z] https://docs.codecov.io/docs/fixing-reports [2021-11-30T05:22:52.264Z] + Found adjustments [2021-11-30T05:22:52.264Z] ==> Gzipping contents [2021-11-30T05:22:52.264Z] 16K /tmp/codecov.92f2fF.gz [2021-11-30T05:22:52.264Z] ==> Uploading reports [2021-11-30T05:22:52.264Z] url: https://codecov.io [2021-11-30T05:22:52.264Z] query: branch=main&commit=940e3e0006af72bcfe711ffd8de496c555aa02b6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-30T05:22:52.264Z] -> Pinging Codecov [2021-11-30T05:22:52.264Z] 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=940e3e0006af72bcfe711ffd8de496c555aa02b6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-30T05:22:52.839Z] -> Uploading to [2021-11-30T05:22:52.839Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-30/7E55EF52A471D76F132DFD9A03CDDE97/940e3e0006af72bcfe711ffd8de496c555aa02b6/5b01dbc5-ff9e-4f50-918a-30dd1f306413.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211130T052252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcb0a5740ed36a5045986f63089211395b0999a318bfb6330ce0bce951d7d891 [2021-11-30T05:22:52.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-30T05:22:52.839Z] Dload Upload Total Spent Left Speed [2021-11-30T05:22:53.100Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16324 0 0 100 16324 0 49373 --:--:-- --:--:-- --:--:-- 49466 [2021-11-30T05:22:53.100Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] } [2021-11-30T05:22:53.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-30T05:22:53.264Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-30T05:22:53.273Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:22:53.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-30T05:22:53.570Z] [2021-11-30T05:22:53.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:22:53.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-30T05:22:53.875Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-30T05:22:53.875Z] 188c0c94c7c5: Pulling fs layer [2021-11-30T05:22:53.875Z] 0ef7d3d256c8: Pulling fs layer [2021-11-30T05:22:53.875Z] de9db76c5a1d: Pulling fs layer [2021-11-30T05:22:53.875Z] 0eba1c9be4d2: Pulling fs layer [2021-11-30T05:22:53.875Z] 0d57e429df01: Pulling fs layer [2021-11-30T05:22:53.875Z] 4e4be7b47b0d: Pulling fs layer [2021-11-30T05:22:53.875Z] e1f770b5df2f: Pulling fs layer [2021-11-30T05:22:53.875Z] 85a0685a4137: Pulling fs layer [2021-11-30T05:22:53.875Z] 0eba1c9be4d2: Waiting [2021-11-30T05:22:53.875Z] 0d57e429df01: Waiting [2021-11-30T05:22:53.875Z] 4e4be7b47b0d: Waiting [2021-11-30T05:22:53.875Z] e1f770b5df2f: Waiting [2021-11-30T05:22:53.875Z] 85a0685a4137: Waiting [2021-11-30T05:22:53.875Z] de9db76c5a1d: Verifying Checksum [2021-11-30T05:22:53.875Z] de9db76c5a1d: Download complete [2021-11-30T05:22:53.875Z] 0ef7d3d256c8: Download complete [2021-11-30T05:22:53.875Z] 0d57e429df01: Verifying Checksum [2021-11-30T05:22:53.875Z] 0d57e429df01: Download complete [2021-11-30T05:22:53.875Z] 4e4be7b47b0d: Verifying Checksum [2021-11-30T05:22:53.875Z] 4e4be7b47b0d: Download complete [2021-11-30T05:22:53.875Z] 188c0c94c7c5: Verifying Checksum [2021-11-30T05:22:53.875Z] 188c0c94c7c5: Download complete [2021-11-30T05:22:54.144Z] e1f770b5df2f: Verifying Checksum [2021-11-30T05:22:54.144Z] e1f770b5df2f: Download complete [2021-11-30T05:22:54.417Z] 188c0c94c7c5: Pull complete [2021-11-30T05:22:54.417Z] 0eba1c9be4d2: Verifying Checksum [2021-11-30T05:22:54.417Z] 0eba1c9be4d2: Download complete [2021-11-30T05:22:54.689Z] 0ef7d3d256c8: Pull complete [2021-11-30T05:22:54.689Z] de9db76c5a1d: Pull complete [2021-11-30T05:22:54.689Z] 85a0685a4137: Verifying Checksum [2021-11-30T05:22:54.689Z] 85a0685a4137: Download complete [2021-11-30T05:22:58.964Z] 0eba1c9be4d2: Pull complete [2021-11-30T05:22:58.964Z] 0d57e429df01: Pull complete [2021-11-30T05:22:58.964Z] 4e4be7b47b0d: Pull complete [2021-11-30T05:22:59.536Z] e1f770b5df2f: Pull complete [2021-11-30T05:23:02.884Z] 85a0685a4137: Pull complete [2021-11-30T05:23:02.884Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-30T05:23:02.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-30T05:23:02.884Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-30T05:23:02.956Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:03.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-30T05:23:04.897Z] $ docker top 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-30T05:23:04.982Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-30T05:23:05.279Z] + set -o pipefail [2021-11-30T05:23:05.279Z] + snyk monitor '--org=edgex-jenkins' [2021-11-30T05:23:09.501Z] [2021-11-30T05:23:09.501Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-30T05:23:09.501Z] [2021-11-30T05:23:09.501Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/d97a2259-c9fa-4a3b-ba08-da0dadbd9b2e [2021-11-30T05:23:09.501Z] [2021-11-30T05:23:09.501Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-30T05:23:09.501Z] [2021-11-30T05:23:09.761Z] [Pipeline] } [2021-11-30T05:23:09.773Z] $ docker stop --time=1 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 [2021-11-30T05:23:11.603Z] $ docker rm -f 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 [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 [2021-11-30T05:23:12.098Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:23:12.107Z] provisioning config files... [2021-11-30T05:23:12.117Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2669823414075715786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:12.414Z] --> edgex-publish-swagger.sh [2021-11-30T05:23:12.414Z] === Publish openapi/v2 API === [2021-11-30T05:23:12.414Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-30T05:23:12.414Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-30T05:23:12.414Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-30T05:23:12.414Z] Dload Upload Total Spent Left Speed [2021-11-30T05:23:13.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 198k --:--:-- --:--:-- --:--:-- 198k 100 51659 0 0 100 51659 0 64789 --:--:-- --:--:-- --:--:-- 64816 [2021-11-30T05:23:13.246Z] [2021-11-30T05:23:13.246Z] [Pipeline] } [2021-11-30T05:23:13.255Z] 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 [2021-11-30T05:23:13.689Z] + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] sh [2021-11-30T05:23:13.990Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-30T05:23:13.990Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:14.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:23:14.292Z] . [Pipeline] withDockerContainer [2021-11-30T05:23:14.355Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:14.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-30T05:23:14.777Z] $ docker top 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-30T05:23:14.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T05:23:14.866Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T05:23:14.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T05:23:14.980Z] $ docker exec 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 ssh-agent [2021-11-30T05:23:15.084Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcejFB/agent.13 [2021-11-30T05:23:15.084Z] SSH_AGENT_PID=19 [2021-11-30T05:23:15.090Z] Running ssh-add (command line suppressed) [2021-11-30T05:23:15.183Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4331791222037289134.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4331791222037289134.key) [2021-11-30T05:23:15.195Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T05:23:15.506Z] + git semver tag [2021-11-30T05:23:15.506Z] # -> Open(): unable to determine branch for HEAD [2021-11-30T05:23:15.506Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-30T05:23:15.506Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:23:15.506Z] # $SEMVER_REMOTE_NAME = origin [2021-11-30T05:23:15.506Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-30T05:23:15.506Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-30T05:23:15.506Z] # $SEMVER_BRANCH = main [2021-11-30T05:23:15.506Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-30T05:23:15.506Z] # 940e3e0006af72bcfe711ffd8de496c555aa02b6 HEAD [2021-11-30T05:23:15.506Z] # -> Force: false [2021-11-30T05:23:15.506Z] # b386cb75c522eddc42adf95a13a753ae787e4029 refs/tags/v2.2.0-dev.2 [Pipeline] } [2021-11-30T05:23:15.518Z] $ docker exec --env ******** --env ******** 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 ssh-agent -k [2021-11-30T05:23:15.605Z] unset SSH_AUTH_SOCK; [2021-11-30T05:23:15.605Z] unset SSH_AGENT_PID; [2021-11-30T05:23:15.605Z] echo Agent pid 19 killed; [2021-11-30T05:23:15.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-30T05:23:15.919Z] + git semver [Pipeline] } [2021-11-30T05:23:15.932Z] $ docker stop --time=1 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 [2021-11-30T05:23:17.099Z] $ docker rm -f 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:17.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-30T05:23:17.484Z] [2021-11-30T05:23:17.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:17.791Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-30T05:23:17.791Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-30T05:23:17.791Z] ab5ef0e58194: Pulling fs layer [2021-11-30T05:23:17.791Z] 9712f1f96733: Pulling fs layer [2021-11-30T05:23:17.791Z] 63f879dbbcfc: Pulling fs layer [2021-11-30T05:23:17.791Z] 0d9ebad4ef96: Pulling fs layer [2021-11-30T05:23:17.791Z] e9a5061849ea: Pulling fs layer [2021-11-30T05:23:17.791Z] d747dcd14b5f: Pulling fs layer [2021-11-30T05:23:17.791Z] 2de7ff778b66: Pulling fs layer [2021-11-30T05:23:17.791Z] e9a5061849ea: Waiting [2021-11-30T05:23:17.791Z] d747dcd14b5f: Waiting [2021-11-30T05:23:17.791Z] 0d9ebad4ef96: Waiting [2021-11-30T05:23:17.791Z] 2de7ff778b66: Waiting [2021-11-30T05:23:17.791Z] 9712f1f96733: Verifying Checksum [2021-11-30T05:23:17.791Z] 9712f1f96733: Download complete [2021-11-30T05:23:18.065Z] 63f879dbbcfc: Verifying Checksum [2021-11-30T05:23:18.065Z] 63f879dbbcfc: Download complete [2021-11-30T05:23:18.342Z] ab5ef0e58194: Verifying Checksum [2021-11-30T05:23:18.342Z] ab5ef0e58194: Download complete [2021-11-30T05:23:18.342Z] d747dcd14b5f: Verifying Checksum [2021-11-30T05:23:18.342Z] d747dcd14b5f: Download complete [2021-11-30T05:23:18.342Z] 0d9ebad4ef96: Verifying Checksum [2021-11-30T05:23:18.342Z] 0d9ebad4ef96: Download complete [2021-11-30T05:23:18.342Z] e9a5061849ea: Verifying Checksum [2021-11-30T05:23:18.342Z] e9a5061849ea: Download complete [2021-11-30T05:23:18.342Z] 2de7ff778b66: Verifying Checksum [2021-11-30T05:23:18.342Z] 2de7ff778b66: Download complete [2021-11-30T05:23:21.676Z] ab5ef0e58194: Pull complete [2021-11-30T05:23:21.676Z] 9712f1f96733: Pull complete [2021-11-30T05:23:21.938Z] 63f879dbbcfc: Pull complete [2021-11-30T05:23:26.232Z] 0d9ebad4ef96: Pull complete [2021-11-30T05:23:26.232Z] e9a5061849ea: Pull complete [2021-11-30T05:23:26.232Z] d747dcd14b5f: Pull complete [2021-11-30T05:23:27.640Z] 2de7ff778b66: Pull complete [2021-11-30T05:23:27.640Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-30T05:23:27.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-30T05:23:27.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-30T05:23:27.705Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:27.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-30T05:23:30.911Z] $ docker top 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:23:30.989Z] provisioning config files... [2021-11-30T05:23:30.999Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2369004776806239437tmp [2021-11-30T05:23:31.010Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6558986130806265393tmp [2021-11-30T05:23:31.022Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3345441640582594440tmp [Pipeline] { [Pipeline] echo [2021-11-30T05:23:31.033Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:31.318Z] ---> sigul-configuration.sh [2021-11-30T05:23:31.318Z] gpg: directory `/root/.gnupg' created [2021-11-30T05:23:31.318Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-30T05:23:31.318Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-30T05:23:31.318Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-30T05:23:31.318Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-30T05:23:31.318Z] gpg: CAST5 encrypted data [2021-11-30T05:23:31.318Z] gpg: encrypted with 1 passphrase [2021-11-30T05:23:31.318Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-30T05:23:31.613Z] + mkdir /home/jenkins [2021-11-30T05:23:31.613Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-30T05:23:31.907Z] + 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 [2021-11-30T05:23:31.918Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:32.208Z] ---> sigul-install.sh [2021-11-30T05:23:32.208Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-30T05:23:32.506Z] + git tag --list [2021-11-30T05:23:32.506Z] 0.7.1 [2021-11-30T05:23:32.506Z] delhi-tag [2021-11-30T05:23:32.506Z] v1.0.0 [2021-11-30T05:23:32.506Z] v1.1.0 [2021-11-30T05:23:32.506Z] v1.1.1 [2021-11-30T05:23:32.506Z] v1.1.2 [2021-11-30T05:23:32.506Z] v1.2.0 [2021-11-30T05:23:32.506Z] v1.2.1 [2021-11-30T05:23:32.506Z] v1.2.2 [2021-11-30T05:23:32.506Z] v1.2.3 [2021-11-30T05:23:32.506Z] v1.3.0 [2021-11-30T05:23:32.506Z] v1.4.0 [2021-11-30T05:23:32.506Z] v2.0.0 [2021-11-30T05:23:32.506Z] v2.0.1-dev.1 [2021-11-30T05:23:32.506Z] v2.0.1-dev.10 [2021-11-30T05:23:32.506Z] v2.0.1-dev.11 [2021-11-30T05:23:32.506Z] v2.0.1-dev.12 [2021-11-30T05:23:32.506Z] v2.0.1-dev.13 [2021-11-30T05:23:32.506Z] v2.0.1-dev.14 [2021-11-30T05:23:32.506Z] v2.0.1-dev.15 [2021-11-30T05:23:32.506Z] v2.0.1-dev.16 [2021-11-30T05:23:32.506Z] v2.0.1-dev.17 [2021-11-30T05:23:32.506Z] v2.0.1-dev.18 [2021-11-30T05:23:32.506Z] v2.0.1-dev.19 [2021-11-30T05:23:32.506Z] v2.0.1-dev.2 [2021-11-30T05:23:32.506Z] v2.0.1-dev.20 [2021-11-30T05:23:32.506Z] v2.0.1-dev.21 [2021-11-30T05:23:32.506Z] v2.0.1-dev.22 [2021-11-30T05:23:32.506Z] v2.0.1-dev.23 [2021-11-30T05:23:32.506Z] v2.0.1-dev.24 [2021-11-30T05:23:32.506Z] v2.0.1-dev.25 [2021-11-30T05:23:32.506Z] v2.0.1-dev.26 [2021-11-30T05:23:32.506Z] v2.0.1-dev.27 [2021-11-30T05:23:32.506Z] v2.0.1-dev.28 [2021-11-30T05:23:32.506Z] v2.0.1-dev.29 [2021-11-30T05:23:32.506Z] v2.0.1-dev.3 [2021-11-30T05:23:32.506Z] v2.0.1-dev.30 [2021-11-30T05:23:32.506Z] v2.0.1-dev.31 [2021-11-30T05:23:32.506Z] v2.0.1-dev.32 [2021-11-30T05:23:32.506Z] v2.0.1-dev.33 [2021-11-30T05:23:32.506Z] v2.0.1-dev.4 [2021-11-30T05:23:32.506Z] v2.0.1-dev.5 [2021-11-30T05:23:32.506Z] v2.0.1-dev.6 [2021-11-30T05:23:32.506Z] v2.0.1-dev.7 [2021-11-30T05:23:32.506Z] v2.0.1-dev.8 [2021-11-30T05:23:32.506Z] v2.0.1-dev.9 [2021-11-30T05:23:32.506Z] v2.1.0 [2021-11-30T05:23:32.506Z] v2.2.0-dev.1 [2021-11-30T05:23:32.506Z] v2.2.0-dev.2 [Pipeline] sh [2021-11-30T05:23:32.808Z] + lftools sign git-tag v2.2.0-dev.2 [2021-11-30T05:23:33.382Z] Signing Git tag with Sigul... [2021-11-30T05:23:33.382Z] Signing v2.2.0-dev.2 [Pipeline] echo [2021-11-30T05:23:34.334Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:34.627Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-30T05:23:34.636Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-30T05:23:34.660Z] $ docker stop --time=1 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 [2021-11-30T05:23:35.872Z] $ docker rm -f 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-11-30T05:23:36.494Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-30T05:23:36.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:36.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:23:36.802Z] . [Pipeline] withDockerContainer [2021-11-30T05:23:36.869Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:36.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-30T05:23:37.293Z] $ docker top 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-30T05:23:37.407Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T05:23:37.407Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T05:23:37.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T05:23:37.519Z] $ docker exec 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c ssh-agent [2021-11-30T05:23:37.640Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIPGdaO/agent.14 [2021-11-30T05:23:37.640Z] SSH_AGENT_PID=21 [2021-11-30T05:23:37.645Z] Running ssh-add (command line suppressed) [2021-11-30T05:23:37.742Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3392810501203327295.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3392810501203327295.key) [2021-11-30T05:23:37.753Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T05:23:38.117Z] + git semver bump pre [2021-11-30T05:23:38.117Z] # -> Open(): unable to determine branch for HEAD [2021-11-30T05:23:38.117Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-30T05:23:38.117Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:23:38.117Z] # $SEMVER_REMOTE_NAME = origin [2021-11-30T05:23:38.117Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-30T05:23:38.117Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-30T05:23:38.117Z] # $SEMVER_BRANCH = main [2021-11-30T05:23:38.117Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-30T05:23:38.117Z] 2.2.0-dev.3 [Pipeline] } [2021-11-30T05:23:38.148Z] $ docker exec --env ******** --env ******** 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c ssh-agent -k [2021-11-30T05:23:38.273Z] unset SSH_AUTH_SOCK; [2021-11-30T05:23:38.273Z] unset SSH_AGENT_PID; [2021-11-30T05:23:38.273Z] echo Agent pid 21 killed; [2021-11-30T05:23:38.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-30T05:23:38.686Z] + git semver [Pipeline] } [2021-11-30T05:23:38.700Z] $ docker stop --time=1 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c [2021-11-30T05:23:39.889Z] $ docker rm -f 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-30T05:23:40.242Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-30T05:23:40.242Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:40.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-30T05:23:40.546Z] . [Pipeline] withDockerContainer [2021-11-30T05:23:40.609Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:40.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-30T05:23:41.029Z] $ docker top d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-30T05:23:41.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-30T05:23:41.118Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-30T05:23:41.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-30T05:23:41.229Z] $ docker exec d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb ssh-agent [2021-11-30T05:23:41.328Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXABggHf/agent.15 [2021-11-30T05:23:41.328Z] SSH_AGENT_PID=22 [2021-11-30T05:23:41.333Z] Running ssh-add (command line suppressed) [2021-11-30T05:23:41.427Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_649433535381171613.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_649433535381171613.key) [2021-11-30T05:23:41.436Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-30T05:23:41.725Z] + git semver push [2021-11-30T05:23:41.725Z] # -> Open(): unable to determine branch for HEAD [2021-11-30T05:23:41.725Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-30T05:23:41.725Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:23:41.726Z] # $SEMVER_REMOTE_NAME = origin [2021-11-30T05:23:41.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-30T05:23:41.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-30T05:23:41.726Z] # $SEMVER_BRANCH = main [2021-11-30T05:23:41.726Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-30T05:23:43.650Z] $ docker exec --env ******** --env ******** d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb ssh-agent -k [2021-11-30T05:23:43.737Z] unset SSH_AUTH_SOCK; [2021-11-30T05:23:43.737Z] unset SSH_AGENT_PID; [2021-11-30T05:23:43.737Z] echo Agent pid 22 killed; [2021-11-30T05:23:43.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-30T05:23:44.067Z] + git semver [Pipeline] } [2021-11-30T05:23:44.081Z] $ docker stop --time=1 d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb [2021-11-30T05:23:45.256Z] $ docker rm -f d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb [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 [2021-11-30T05:23:46.108Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:46.407Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:23:46.971Z] ---> package-listing.sh [2021-11-30T05:23:46.971Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-30T05:23:46.971Z] ++ facter osfamily [2021-11-30T05:23:47.232Z] + OS_FAMILY=redhat [2021-11-30T05:23:47.232Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-30T05:23:47.232Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-30T05:23:47.232Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-30T05:23:47.232Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-30T05:23:47.232Z] + PACKAGES=/tmp/packages_start.txt [2021-11-30T05:23:47.232Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-30T05:23:47.232Z] + PACKAGES=/tmp/packages_end.txt [2021-11-30T05:23:47.232Z] + case "${OS_FAMILY}" in [2021-11-30T05:23:47.232Z] + sort [2021-11-30T05:23:47.232Z] + rpm -qa [2021-11-30T05:23:47.801Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-30T05:23:47.801Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-30T05:23:47.801Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-30T05:23:47.801Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-30T05:23:47.801Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-30T05:23:47.801Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-11-30T05:23:47.813Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2021-11-30T05:23:48.114Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:48.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:23:48.667Z] [2021-11-30T05:23:48.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-30T05:23:48.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:23:48.968Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-30T05:23:48.968Z] b4d181a07f80: Pulling fs layer [2021-11-30T05:23:48.968Z] a1111a8f2ec3: Pulling fs layer [2021-11-30T05:23:48.968Z] ed53099fbce6: Pulling fs layer [2021-11-30T05:23:48.968Z] dc539afda2c1: Pulling fs layer [2021-11-30T05:23:48.968Z] 77bc0d833cb6: Pulling fs layer [2021-11-30T05:23:48.968Z] 9065ff56babe: Pulling fs layer [2021-11-30T05:23:48.968Z] d287ab97295c: Pulling fs layer [2021-11-30T05:23:48.968Z] 77bc0d833cb6: Waiting [2021-11-30T05:23:48.968Z] 9065ff56babe: Waiting [2021-11-30T05:23:48.968Z] d287ab97295c: Waiting [2021-11-30T05:23:48.968Z] dc539afda2c1: Waiting [2021-11-30T05:23:48.968Z] a1111a8f2ec3: Verifying Checksum [2021-11-30T05:23:48.968Z] a1111a8f2ec3: Download complete [2021-11-30T05:23:48.968Z] dc539afda2c1: Verifying Checksum [2021-11-30T05:23:48.968Z] dc539afda2c1: Download complete [2021-11-30T05:23:49.229Z] ed53099fbce6: Verifying Checksum [2021-11-30T05:23:49.229Z] ed53099fbce6: Download complete [2021-11-30T05:23:49.229Z] 9065ff56babe: Verifying Checksum [2021-11-30T05:23:49.229Z] 9065ff56babe: Download complete [2021-11-30T05:23:49.229Z] 77bc0d833cb6: Verifying Checksum [2021-11-30T05:23:49.229Z] 77bc0d833cb6: Download complete [2021-11-30T05:23:49.229Z] b4d181a07f80: Verifying Checksum [2021-11-30T05:23:49.229Z] b4d181a07f80: Download complete [2021-11-30T05:23:49.811Z] d287ab97295c: Verifying Checksum [2021-11-30T05:23:49.812Z] d287ab97295c: Download complete [2021-11-30T05:23:50.762Z] b4d181a07f80: Pull complete [2021-11-30T05:23:51.022Z] a1111a8f2ec3: Pull complete [2021-11-30T05:23:51.969Z] ed53099fbce6: Pull complete [2021-11-30T05:23:51.970Z] dc539afda2c1: Pull complete [2021-11-30T05:23:52.546Z] 77bc0d833cb6: Pull complete [2021-11-30T05:23:52.546Z] 9065ff56babe: Pull complete [2021-11-30T05:23:57.874Z] d287ab97295c: Pull complete [2021-11-30T05:23:57.874Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-30T05:23:57.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-30T05:23:57.875Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-30T05:23:57.936Z] prd-centos7-docker-4c-2g-754 does not seem to be running inside a container [2021-11-30T05:23:57.966Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-30T05:24:00.330Z] $ docker top be528fa1d28e8aed4d04d8cb60625be5b3455df36e0d7b2aadd0e24380ffedcd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-30T05:24:00.689Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-30T05:24:00.975Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-30T05:24:01.264Z] + ls /var/log/sa-host [2021-11-30T05:24:01.264Z] + sadf -c /var/log/sa-host/sa30 [2021-11-30T05:24:01.264Z] file_magic: OK [2021-11-30T05:24:01.264Z] HZ: Using current value: 100 [2021-11-30T05:24:01.264Z] file_header: OK [2021-11-30T05:24:01.264Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-30T05:24:01.264Z] Statistics: [2021-11-30T05:24:01.264Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-30T05:24:01.264Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-30T05:24:01.337Z] provisioning config files... [2021-11-30T05:24:01.347Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5258194773053665824tmp [Pipeline] { [Pipeline] echo [2021-11-30T05:24:01.361Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:24:01.645Z] ---> create-netrc.sh [Pipeline] } [2021-11-30T05:24:01.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:24:01.994Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-30T05:24:02.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:24:02.305Z] ---> sudo-logs.sh [2021-11-30T05:24:02.305Z] Archiving 'sudo' log.. [2021-11-30T05:24:02.305Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-754.novalocal: Name or service not known [2021-11-30T05:24:02.305Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-754.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-30T05:24:02.329Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:24:02.617Z] ---> job-cost.sh [2021-11-30T05:24:02.617Z] lf-activate-venv: SKIPPING [2021-11-30T05:24:02.617Z] DEBUG: total: 0.10999999940395355 [2021-11-30T05:24:02.617Z] INFO: Retrieving Stack Cost... [2021-11-30T05:24:02.878Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-30T05:24:03.449Z] INFO: Archiving Costs [Pipeline] echo [2021-11-30T05:24:03.462Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-30T05:24:03.752Z] ---> logs-deploy.sh [2021-11-30T05:24:03.753Z] lf-activate-venv: SKIPPING [2021-11-30T05:24:03.753Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/34 [2021-11-30T05:24:03.753Z] INFO: archiving workspace using pattern(s): [2021-11-30T05:24:04.323Z] Archives upload complete. [2021-11-30T05:24:04.584Z] INFO: archiving logs to Nexus