Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 633449dbefca29cf62edd9030bbe74b52352fb22 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-ssh10413546128377505159.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-ssh10887098130333047152.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-ssh16892336583278153126.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-ssh2891722097213225527.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-ssh13426926605275793784.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1128 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-ssh8038596749112098460.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 633449dbefca29cf62edd9030bbe74b52352fb22 (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 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 Commit message: "Merge pull request #1076 from bnevis-i/issue-1029" > git rev-list --no-walk 2c9dfba109846ec6e3a71fe827451a179e021c5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-10T15:12:50.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-10T15:12:50.795Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-10T15:12:50.818Z] ========================================================= [2022-01-10T15:12:50.818Z] EdgeX Global Pipelines Version Info [2022-01-10T15:12:50.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:12:51.950Z] ------------------- [2022-01-10T15:12:51.951Z] stable info: [2022-01-10T15:12:51.951Z] ------------------- [2022-01-10T15:12:51.951Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-10T15:12:51.951Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-10T15:12:51.951Z] Message: update stable to v1.0.217 [2022-01-10T15:12:52.526Z] ------------------- [2022-01-10T15:12:52.526Z] experimental info: [2022-01-10T15:12:52.526Z] ------------------- [2022-01-10T15:12:52.526Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-10T15:12:52.526Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-10T15:12:52.526Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-10T15:12:52.677Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-10T15:12:52.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-10T15:12:52.702Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-10T15:12:52.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-10T15:12:52.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-10T15:12:52.745Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-10T15:12:52.760Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-10T15:12:52.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-10T15:12:52.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-10T15:12:52.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-10T15:12:52.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-10T15:12:52.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-10T15:12:52.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-10T15:12:52.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-10T15:12:52.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-10T15:12:52.903Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:12:52.913Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:12:52.923Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T15:12:52.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-10T15:12:52.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-10T15:12:52.967Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-10T15:12:52.977Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-10T15:12:52.987Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-10T15:12:52.997Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-10T15:12:53.007Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-10T15:12:53.017Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-10T15:12:53.027Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-10T15:12:53.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-10T15:12:53.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-10T15:12:53.063Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] echo [2022-01-10T15:12:53.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 633449d [Pipeline] echo [2022-01-10T15:12:53.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:12:53.138Z] provisioning config files... [2022-01-10T15:12:53.155Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8785530073633276545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:12:53.467Z] ---> docker-login.sh [2022-01-10T15:12:53.467Z] nexus3.edgexfoundry.org:10001 [2022-01-10T15:12:53.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:12:53.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:12:53.729Z] Configure a credential helper to remove this warning. See [2022-01-10T15:12:53.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:12:53.729Z] [2022-01-10T15:12:53.729Z] Login Succeeded [2022-01-10T15:12:53.729Z] nexus3.edgexfoundry.org:10002 [2022-01-10T15:12:53.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:12:53.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:12:53.729Z] Configure a credential helper to remove this warning. See [2022-01-10T15:12:53.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:12:53.729Z] [2022-01-10T15:12:53.729Z] Login Succeeded [2022-01-10T15:12:53.729Z] nexus3.edgexfoundry.org:10003 [2022-01-10T15:12:53.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:12:53.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:12:53.992Z] Configure a credential helper to remove this warning. See [2022-01-10T15:12:53.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:12:53.992Z] [2022-01-10T15:12:53.992Z] Login Succeeded [2022-01-10T15:12:53.992Z] nexus3.edgexfoundry.org:10004 [2022-01-10T15:12:53.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:12:53.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:12:53.992Z] Configure a credential helper to remove this warning. See [2022-01-10T15:12:53.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:12:53.992Z] [2022-01-10T15:12:53.992Z] Login Succeeded [2022-01-10T15:12:53.992Z] docker.io [2022-01-10T15:12:53.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:12:54.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:12:54.572Z] Configure a credential helper to remove this warning. See [2022-01-10T15:12:54.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:12:54.572Z] [2022-01-10T15:12:54.572Z] Login Succeeded [2022-01-10T15:12:54.572Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T15:12:54.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-10T15:12:54.975Z] + git rev-list -1 --merges 633449dbefca29cf62edd9030bbe74b52352fb22~1..633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] echo [2022-01-10T15:12:55.008Z] -----------> git rev-list -1 --merges 633449dbefca29cf62edd9030bbe74b52352fb22~1..633449dbefca29cf62edd9030bbe74b52352fb22 633449dbefca29cf62edd9030bbe74b52352fb22 [2022-01-10T15:12:55.008Z] 633449dbefca29cf62edd9030bbe74b52352fb22 [false] [Pipeline] sh [2022-01-10T15:12:55.317Z] + git log --format=format:%s -1 633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] echo [2022-01-10T15:12:55.336Z] ========================================================= [2022-01-10T15:12:55.336Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-10T15:12:55.336Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T15:12:55.666Z] + git log --format=format:%s -1 633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] echo [2022-01-10T15:12:55.679Z] [semverPrep] GIT_COMMIT: 633449dbefca29cf62edd9030bbe74b52352fb22, Commit Message: Merge pull request #1076 from bnevis-i/issue-1029 [Pipeline] echo [2022-01-10T15:12:55.687Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-10T15:12:56.131Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T15:12:56.131Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-10T15:12:56.131Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-10T15:12:56.131Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-10T15:12:56.131Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-10T15:12:56.131Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-10T15:12:56.131Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:12:56.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:12:56.560Z] [2022-01-10T15:12:56.560Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:12:56.873Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:12:56.873Z] latest: Pulling from edgex-devops/git-semver [2022-01-10T15:12:56.873Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T15:12:56.873Z] 3e5f54012d9b: Pulling fs layer [2022-01-10T15:12:56.873Z] 4c7163046ea9: Pulling fs layer [2022-01-10T15:12:56.873Z] 0c2d73faf560: Pulling fs layer [2022-01-10T15:12:56.873Z] 0c2d73faf560: Waiting [2022-01-10T15:12:56.873Z] 3e5f54012d9b: Verifying Checksum [2022-01-10T15:12:56.873Z] 3e5f54012d9b: Download complete [2022-01-10T15:12:56.873Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T15:12:56.873Z] a0d0a0d46f8b: Download complete [2022-01-10T15:12:57.142Z] 4c7163046ea9: Verifying Checksum [2022-01-10T15:12:57.142Z] 4c7163046ea9: Download complete [2022-01-10T15:12:57.142Z] 0c2d73faf560: Verifying Checksum [2022-01-10T15:12:57.142Z] 0c2d73faf560: Download complete [2022-01-10T15:12:57.142Z] a0d0a0d46f8b: Pull complete [2022-01-10T15:12:57.142Z] 3e5f54012d9b: Pull complete [2022-01-10T15:12:57.409Z] 4c7163046ea9: Pull complete [2022-01-10T15:12:57.673Z] 0c2d73faf560: Pull complete [2022-01-10T15:12:57.673Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-10T15:12:57.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:12:57.673Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-10T15:12:57.770Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:12:57.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T15:12:58.371Z] $ docker top 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T15:12:58.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:12:58.473Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:12:58.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:12:58.582Z] $ docker exec 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 ssh-agent [2022-01-10T15:12:58.683Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBmemjE/agent.14 [2022-01-10T15:12:58.683Z] SSH_AGENT_PID=20 [2022-01-10T15:12:58.691Z] Running ssh-add (command line suppressed) [2022-01-10T15:12:58.789Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2379136351607812420.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2379136351607812420.key) [2022-01-10T15:12:58.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:12:59.098Z] + git tag --points-at HEAD [Pipeline] } [2022-01-10T15:12:59.118Z] $ docker exec --env ******** --env ******** 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 ssh-agent -k [2022-01-10T15:12:59.218Z] unset SSH_AUTH_SOCK; [2022-01-10T15:12:59.218Z] unset SSH_AGENT_PID; [2022-01-10T15:12:59.218Z] echo Agent pid 20 killed; [2022-01-10T15:12:59.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-10T15:12:59.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:12:59.255Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:12:59.367Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:12:59.369Z] $ docker exec 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 ssh-agent [2022-01-10T15:12:59.468Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeEahbl/agent.52 [2022-01-10T15:12:59.468Z] SSH_AGENT_PID=58 [2022-01-10T15:12:59.474Z] Running ssh-add (command line suppressed) [2022-01-10T15:12:59.589Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1395506073158089018.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1395506073158089018.key) [2022-01-10T15:12:59.609Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:12:59.909Z] + git semver init [2022-01-10T15:12:59.909Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T15:12:59.909Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-10T15:12:59.909Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:12:59.909Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T15:12:59.909Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T15:12:59.909Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T15:12:59.909Z] # $SEMVER_BRANCH = main [2022-01-10T15:12:59.909Z] # $SEMVER_TEMP = /tmp/semver-511654158 [2022-01-10T15:12:59.909Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-10T15:13:00.861Z] # '/tmp/semver-511654158' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-10T15:13:00.861Z] # -> Force: false [2022-01-10T15:13:00.861Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-10T15:13:00.874Z] $ docker exec --env ******** --env ******** 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 ssh-agent -k [2022-01-10T15:13:00.974Z] unset SSH_AUTH_SOCK; [2022-01-10T15:13:00.974Z] unset SSH_AGENT_PID; [2022-01-10T15:13:00.974Z] echo Agent pid 58 killed; [2022-01-10T15:13:00.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T15:13:01.309Z] + git semver [Pipeline] } [2022-01-10T15:13:01.323Z] $ docker stop --time=1 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 [2022-01-10T15:13:02.551Z] $ docker rm -f 7e5bd15c704ebe7d42a28f80e073ef92718da0b9ad47ec63a0d9d049226e2104 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:13:02.918Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-10T15:13:03.167Z] Stashed 1 file(s) [Pipeline] echo [2022-01-10T15:13:03.171Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.4 [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 [2022-01-10T15:13:18.263Z] Still waiting to schedule task [2022-01-10T15:13:18.263Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1128’ [2022-01-10T15:13:18.266Z] Still waiting to schedule task [2022-01-10T15:13:18.267Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-10T15:14:43.715Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1129 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-10T15:14:43.727Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2022-01-10T15:14:43.944Z] The recommended git tool is: git [2022-01-10T15:14:48.435Z] using credential edgex-jenkins-ssh [2022-01-10T15:14:48.451Z] Cloning the remote Git repository [2022-01-10T15:14:48.501Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T15:14:48.574Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2022-01-10T15:14:48.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T15:14:48.638Z] > git --version # timeout=10 [2022-01-10T15:14:48.658Z] > git --version # 'git version 2.17.1' [2022-01-10T15:14:48.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:14:48.738Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:14:54.390Z] Avoid second fetch [2022-01-10T15:14:54.391Z] Checking out Revision 633449dbefca29cf62edd9030bbe74b52352fb22 (main) [2022-01-10T15:14:54.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T15:14:54.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:14:54.409Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:14:54.429Z] > git checkout -f 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T15:14:58.778Z] Commit message: "Merge pull request #1076 from bnevis-i/issue-1029" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T15:14:59.815Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-10T15:14:59.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T15:14:59.816Z] Dload Upload Total Spent Left Speed [2022-01-10T15:14:59.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 55083 0 --:--:-- --:--:-- --:--:-- 55083 [Pipeline] sh [2022-01-10T15:15:00.346Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-10T15:15:00.698Z] + + sudo tee /etc/docker/daemon.new [2022-01-10T15:15:00.698Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-10T15:15:00.698Z] { [2022-01-10T15:15:00.698Z] "registry-mirrors": [ [2022-01-10T15:15:00.698Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-10T15:15:00.698Z] ], [2022-01-10T15:15:00.698Z] "bip": "10.250.0.254/24", [2022-01-10T15:15:00.698Z] "hosts": [ [2022-01-10T15:15:00.698Z] "tcp://0.0.0.0:5555", [2022-01-10T15:15:00.698Z] "unix:///var/run/docker.sock" [2022-01-10T15:15:00.698Z] ], [2022-01-10T15:15:00.698Z] "mtu": 1458, [2022-01-10T15:15:00.698Z] "selinux-enabled": true, [2022-01-10T15:15:00.698Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-10T15:15:00.698Z] } [Pipeline] sh [2022-01-10T15:15:01.046Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-10T15:15:01.391Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:15:19.727Z] provisioning config files... [2022-01-10T15:15:19.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config3027178467421807351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:15:20.113Z] ---> docker-login.sh [2022-01-10T15:15:20.114Z] nexus3.edgexfoundry.org:10001 [2022-01-10T15:15:20.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:15:20.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:15:20.982Z] Configure a credential helper to remove this warning. See [2022-01-10T15:15:20.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:15:20.982Z] [2022-01-10T15:15:20.982Z] Login Succeeded [2022-01-10T15:15:20.982Z] nexus3.edgexfoundry.org:10002 [2022-01-10T15:15:21.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:15:21.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:15:21.262Z] Configure a credential helper to remove this warning. See [2022-01-10T15:15:21.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:15:21.262Z] [2022-01-10T15:15:21.262Z] Login Succeeded [2022-01-10T15:15:21.262Z] nexus3.edgexfoundry.org:10003 [2022-01-10T15:15:21.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:15:21.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:15:21.811Z] Configure a credential helper to remove this warning. See [2022-01-10T15:15:21.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:15:21.811Z] [2022-01-10T15:15:21.811Z] Login Succeeded [2022-01-10T15:15:21.811Z] nexus3.edgexfoundry.org:10004 [2022-01-10T15:15:22.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:15:22.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:15:22.091Z] Configure a credential helper to remove this warning. See [2022-01-10T15:15:22.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:15:22.091Z] [2022-01-10T15:15:22.091Z] Login Succeeded [2022-01-10T15:15:22.091Z] docker.io [2022-01-10T15:15:22.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:15:22.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:15:22.958Z] Configure a credential helper to remove this warning. See [2022-01-10T15:15:22.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:15:22.958Z] [2022-01-10T15:15:22.958Z] Login Succeeded [2022-01-10T15:15:22.958Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T15:15:22.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T15:15:23.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T15:15:23.391Z] ========================================================= [2022-01-10T15:15:23.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-10T15:15:23.391Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:15:23.750Z] + 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 . [2022-01-10T15:15:24.028Z] Sending build context to Docker daemon 5.022MB [2022-01-10T15:15:24.028Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T15:15:24.028Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T15:15:24.302Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-10T15:15:24.302Z] 552d1f2373af: Pulling fs layer [2022-01-10T15:15:24.302Z] ea3f2d53f512: Pulling fs layer [2022-01-10T15:15:24.302Z] 9e70ebbbe112: Pulling fs layer [2022-01-10T15:15:24.302Z] 7a9cfe048b4a: Pulling fs layer [2022-01-10T15:15:24.302Z] 72dc09318566: Pulling fs layer [2022-01-10T15:15:24.302Z] f4f7b4309257: Pulling fs layer [2022-01-10T15:15:24.302Z] 0ac9a79272e3: Pulling fs layer [2022-01-10T15:15:24.302Z] b78e95d17946: Pulling fs layer [2022-01-10T15:15:24.302Z] 7a9cfe048b4a: Waiting [2022-01-10T15:15:24.302Z] 72dc09318566: Waiting [2022-01-10T15:15:24.302Z] f4f7b4309257: Waiting [2022-01-10T15:15:24.302Z] b78e95d17946: Waiting [2022-01-10T15:15:24.302Z] 0ac9a79272e3: Waiting [2022-01-10T15:15:24.302Z] 9e70ebbbe112: Verifying Checksum [2022-01-10T15:15:24.302Z] 9e70ebbbe112: Download complete [2022-01-10T15:15:24.302Z] ea3f2d53f512: Download complete [2022-01-10T15:15:24.302Z] 72dc09318566: Verifying Checksum [2022-01-10T15:15:24.302Z] 72dc09318566: Download complete [2022-01-10T15:15:24.302Z] f4f7b4309257: Download complete [2022-01-10T15:15:24.302Z] 0ac9a79272e3: Verifying Checksum [2022-01-10T15:15:24.302Z] 0ac9a79272e3: Download complete [2022-01-10T15:15:24.302Z] 552d1f2373af: Verifying Checksum [2022-01-10T15:15:24.302Z] 552d1f2373af: Download complete [2022-01-10T15:15:25.291Z] 552d1f2373af: Pull complete [2022-01-10T15:15:25.894Z] ea3f2d53f512: Pull complete [2022-01-10T15:15:26.169Z] 9e70ebbbe112: Pull complete [2022-01-10T15:15:26.169Z] b78e95d17946: Verifying Checksum [2022-01-10T15:15:26.169Z] b78e95d17946: Download complete [2022-01-10T15:15:26.764Z] 7a9cfe048b4a: Verifying Checksum [2022-01-10T15:15:26.764Z] 7a9cfe048b4a: Download complete [2022-01-10T15:15:39.159Z] 7a9cfe048b4a: Pull complete [2022-01-10T15:15:39.159Z] 72dc09318566: Pull complete [2022-01-10T15:15:39.159Z] f4f7b4309257: Pull complete [2022-01-10T15:15:39.159Z] 0ac9a79272e3: Pull complete [2022-01-10T15:15:44.560Z] b78e95d17946: Pull complete [2022-01-10T15:15:44.560Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-10T15:15:44.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T15:15:44.560Z] ---> 8b459fc5aaf0 [2022-01-10T15:15:44.560Z] Step 3/10 : ARG MAKE=make build [2022-01-10T15:15:45.532Z] ---> Running in 8d45ebd67cf5 [2022-01-10T15:15:45.804Z] Removing intermediate container 8d45ebd67cf5 [2022-01-10T15:15:45.804Z] ---> 2e4a71659922 [2022-01-10T15:15:45.804Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T15:15:45.804Z] ---> Running in 10b32bb96842 [2022-01-10T15:15:46.405Z] Removing intermediate container 10b32bb96842 [2022-01-10T15:15:46.405Z] ---> 06910eb39b9b [2022-01-10T15:15:46.405Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:15:46.405Z] ---> Running in 2d1d7b0b8833 [2022-01-10T15:15:46.677Z] Removing intermediate container 2d1d7b0b8833 [2022-01-10T15:15:46.677Z] ---> f1235ba83eba [2022-01-10T15:15:46.678Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:15:46.951Z] ---> Running in e20204744710 [2022-01-10T15:15:48.924Z] Removing intermediate container e20204744710 [2022-01-10T15:15:48.925Z] ---> 62da40f62965 [2022-01-10T15:15:48.925Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T15:15:48.925Z] ---> Running in 755971a849f5 [2022-01-10T15:15:49.899Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T15:15:50.872Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T15:15:51.470Z] OK: 219 MiB in 52 packages [2022-01-10T15:15:52.067Z] Removing intermediate container 755971a849f5 [2022-01-10T15:15:52.067Z] ---> 2ebe49532c64 [2022-01-10T15:15:52.067Z] Step 8/10 : COPY . . [2022-01-10T15:15:53.499Z] ---> 438a64b3e45a [2022-01-10T15:15:53.499Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T15:15:53.499Z] ---> Running in a6045e1ff8d1 [2022-01-10T15:15:56.675Z] Running on prd-centos7-docker-4c-2g-1130 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-10T15:15:56.689Z] Running in /w/workspace/device-sdk-go/36 [Pipeline] { [Pipeline] checkout [2022-01-10T15:15:56.758Z] The recommended git tool is: git [2022-01-10T15:15:58.409Z] using credential edgex-jenkins-ssh [2022-01-10T15:15:58.423Z] Cloning the remote Git repository [2022-01-10T15:15:58.339Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T15:15:58.378Z] > git init /w/workspace/device-sdk-go/36 # timeout=10 [2022-01-10T15:15:58.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T15:15:58.408Z] > git --version # timeout=10 [2022-01-10T15:15:58.417Z] > git --version # 'git version 2.24.4' [2022-01-10T15:15:58.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T15:15:58.438Z] [INFO] Currently running in a labeled security context [2022-01-10T15:15:58.440Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T15:15:58.440Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/36@tmp/jenkins-gitclient-ssh804188310668043804.key [2022-01-10T15:15:58.464Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:15:59.498Z] Avoid second fetch [2022-01-10T15:15:59.498Z] Checking out Revision 633449dbefca29cf62edd9030bbe74b52352fb22 (main) [2022-01-10T15:15:59.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T15:15:59.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T15:15:59.405Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T15:15:59.414Z] > git checkout -f 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T15:16:02.998Z] Commit message: "Merge pull request #1076 from bnevis-i/issue-1029" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:16:04.022Z] provisioning config files... [2022-01-10T15:16:04.038Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/36@tmp/config6176388669658839471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:16:04.445Z] ---> docker-login.sh [2022-01-10T15:16:04.445Z] nexus3.edgexfoundry.org:10001 [2022-01-10T15:16:04.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:16:04.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:16:04.445Z] Configure a credential helper to remove this warning. See [2022-01-10T15:16:04.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:16:04.445Z] [2022-01-10T15:16:04.445Z] Login Succeeded [2022-01-10T15:16:04.708Z] nexus3.edgexfoundry.org:10002 [2022-01-10T15:16:04.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:16:04.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:16:04.708Z] Configure a credential helper to remove this warning. See [2022-01-10T15:16:04.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:16:04.708Z] [2022-01-10T15:16:04.708Z] Login Succeeded [2022-01-10T15:16:04.708Z] nexus3.edgexfoundry.org:10003 [2022-01-10T15:16:04.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:16:04.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:16:04.708Z] Configure a credential helper to remove this warning. See [2022-01-10T15:16:04.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:16:04.708Z] [2022-01-10T15:16:04.708Z] Login Succeeded [2022-01-10T15:16:04.708Z] nexus3.edgexfoundry.org:10004 [2022-01-10T15:16:04.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:16:04.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:16:04.971Z] Configure a credential helper to remove this warning. See [2022-01-10T15:16:04.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:16:04.971Z] [2022-01-10T15:16:04.971Z] Login Succeeded [2022-01-10T15:16:04.971Z] docker.io [2022-01-10T15:16:04.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T15:16:05.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T15:16:05.233Z] Configure a credential helper to remove this warning. See [2022-01-10T15:16:05.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T15:16:05.233Z] [2022-01-10T15:16:05.233Z] Login Succeeded [2022-01-10T15:16:05.233Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T15:16:05.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T15:16:05.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T15:16:05.466Z] ========================================================= [2022-01-10T15:16:05.466Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-10T15:16:05.466Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:16:05.792Z] + 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 . [2022-01-10T15:16:05.793Z] Sending build context to Docker daemon 5.022MB [2022-01-10T15:16:05.793Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T15:16:05.793Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T15:16:05.793Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-10T15:16:05.793Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T15:16:05.793Z] 31adcdaf11c8: Pulling fs layer [2022-01-10T15:16:05.793Z] b8b176561691: Pulling fs layer [2022-01-10T15:16:05.793Z] 4527c011a84f: Pulling fs layer [2022-01-10T15:16:05.793Z] 5d74067f8e1e: Pulling fs layer [2022-01-10T15:16:05.793Z] e0aca202a116: Pulling fs layer [2022-01-10T15:16:05.793Z] 3a43be97a3b4: Pulling fs layer [2022-01-10T15:16:05.793Z] 34cad66bf833: Pulling fs layer [2022-01-10T15:16:05.793Z] b4e3c513aaa6: Pulling fs layer [2022-01-10T15:16:05.793Z] 4527c011a84f: Waiting [2022-01-10T15:16:05.793Z] 5d74067f8e1e: Waiting [2022-01-10T15:16:05.793Z] 3a43be97a3b4: Waiting [2022-01-10T15:16:05.793Z] e0aca202a116: Waiting [2022-01-10T15:16:05.793Z] 34cad66bf833: Waiting [2022-01-10T15:16:05.793Z] b4e3c513aaa6: Waiting [2022-01-10T15:16:05.793Z] b8b176561691: Verifying Checksum [2022-01-10T15:16:05.793Z] b8b176561691: Download complete [2022-01-10T15:16:05.793Z] 31adcdaf11c8: Verifying Checksum [2022-01-10T15:16:05.793Z] 31adcdaf11c8: Download complete [2022-01-10T15:16:06.058Z] 5d74067f8e1e: Verifying Checksum [2022-01-10T15:16:06.059Z] 5d74067f8e1e: Download complete [2022-01-10T15:16:06.059Z] e0aca202a116: Verifying Checksum [2022-01-10T15:16:06.059Z] e0aca202a116: Download complete [2022-01-10T15:16:06.059Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T15:16:06.059Z] a0d0a0d46f8b: Download complete [2022-01-10T15:16:06.059Z] 3a43be97a3b4: Verifying Checksum [2022-01-10T15:16:06.059Z] 3a43be97a3b4: Download complete [2022-01-10T15:16:06.059Z] 34cad66bf833: Verifying Checksum [2022-01-10T15:16:06.059Z] 34cad66bf833: Download complete [2022-01-10T15:16:06.323Z] a0d0a0d46f8b: Pull complete [2022-01-10T15:16:06.591Z] 31adcdaf11c8: Pull complete [2022-01-10T15:16:06.591Z] b4e3c513aaa6: Verifying Checksum [2022-01-10T15:16:06.591Z] b4e3c513aaa6: Download complete [2022-01-10T15:16:06.591Z] b8b176561691: Pull complete [2022-01-10T15:16:06.591Z] 4527c011a84f: Download complete [2022-01-10T15:16:10.835Z] 4527c011a84f: Pull complete [2022-01-10T15:16:10.835Z] 5d74067f8e1e: Pull complete [2022-01-10T15:16:10.835Z] e0aca202a116: Pull complete [2022-01-10T15:16:10.835Z] 3a43be97a3b4: Pull complete [2022-01-10T15:16:10.835Z] 34cad66bf833: Pull complete [2022-01-10T15:16:13.407Z] b4e3c513aaa6: Pull complete [2022-01-10T15:16:13.407Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-10T15:16:13.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T15:16:13.407Z] ---> 9f6097aaca64 [2022-01-10T15:16:13.407Z] Step 3/10 : ARG MAKE=make build [2022-01-10T15:16:15.333Z] ---> Running in bc2d6c976f02 [2022-01-10T15:16:15.333Z] Removing intermediate container bc2d6c976f02 [2022-01-10T15:16:15.333Z] ---> 33798d98cdb6 [2022-01-10T15:16:15.333Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T15:16:15.333Z] ---> Running in af2271fcbfc9 [2022-01-10T15:16:15.600Z] Removing intermediate container af2271fcbfc9 [2022-01-10T15:16:15.600Z] ---> 237390625c6e [2022-01-10T15:16:15.600Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:16:15.600Z] ---> Running in 2c8c4a56eb66 [2022-01-10T15:16:15.600Z] Removing intermediate container 2c8c4a56eb66 [2022-01-10T15:16:15.600Z] ---> f260e4ded5b5 [2022-01-10T15:16:15.600Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:16:15.600Z] ---> Running in 6d7131ce6902 [2022-01-10T15:16:16.181Z] Removing intermediate container 6d7131ce6902 [2022-01-10T15:16:16.181Z] ---> 0d3d41e735e5 [2022-01-10T15:16:16.181Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T15:16:16.181Z] ---> Running in 7de82ce6db65 [2022-01-10T15:16:16.441Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T15:16:17.384Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T15:16:17.653Z] OK: 220 MiB in 52 packages [2022-01-10T15:16:17.653Z] Removing intermediate container 7de82ce6db65 [2022-01-10T15:16:17.653Z] ---> 7ce0241931e4 [2022-01-10T15:16:17.653Z] Step 8/10 : COPY . . [2022-01-10T15:16:18.228Z] ---> e73312f09caa [2022-01-10T15:16:18.228Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T15:16:18.228Z] ---> Running in e44d5ede511d [2022-01-10T15:16:50.409Z] Removing intermediate container e44d5ede511d [2022-01-10T15:16:50.409Z] ---> 12f585f51dae [2022-01-10T15:16:50.409Z] Step 10/10 : RUN ${MAKE} [2022-01-10T15:16:50.409Z] ---> Running in e2eb1210eabf [2022-01-10T15:16:50.409Z] noop [2022-01-10T15:16:50.409Z] Removing intermediate container e2eb1210eabf [2022-01-10T15:16:50.409Z] ---> bd90f2c52c43 [2022-01-10T15:16:50.409Z] Successfully built bd90f2c52c43 [2022-01-10T15:16:50.409Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:16:50.720Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T15:16:50.720Z] . [Pipeline] withDockerContainer [2022-01-10T15:16:50.790Z] prd-centos7-docker-4c-2g-1130 does not seem to be running inside a container [2022-01-10T15:16:50.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T15:16:51.203Z] $ docker top 23460a99ab2002f8adb26925d6fc8bfd647240f0a50babe3b38f12f6e1a72a98 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T15:16:51.565Z] + go version [2022-01-10T15:16:51.565Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-10T15:16:51.579Z] $ docker stop --time=1 23460a99ab2002f8adb26925d6fc8bfd647240f0a50babe3b38f12f6e1a72a98 [2022-01-10T15:16:52.745Z] $ docker rm -f 23460a99ab2002f8adb26925d6fc8bfd647240f0a50babe3b38f12f6e1a72a98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:16:53.164Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T15:16:53.164Z] . [Pipeline] withDockerContainer [2022-01-10T15:16:53.230Z] prd-centos7-docker-4c-2g-1130 does not seem to be running inside a container [2022-01-10T15:16:53.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T15:16:53.593Z] $ docker top ca4d08b08db10102da0d1fdec69e7f6eb34a28ed6ae44675508e77a8cafffb7f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:16:53.968Z] + make test [2022-01-10T15:16:53.968Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T15:16:59.320Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-10T15:17:15.294Z] Removing intermediate container a6045e1ff8d1 [2022-01-10T15:17:15.294Z] ---> 72f434ad2964 [2022-01-10T15:17:15.294Z] Step 10/10 : RUN ${MAKE} [2022-01-10T15:17:15.294Z] ---> Running in f19273e1bd13 [2022-01-10T15:17:15.294Z] noop [2022-01-10T15:17:15.294Z] Removing intermediate container f19273e1bd13 [2022-01-10T15:17:15.294Z] ---> da375566a6b6 [2022-01-10T15:17:15.294Z] Successfully built da375566a6b6 [2022-01-10T15:17:15.294Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:17:15.642Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T15:17:15.642Z] . [Pipeline] withDockerContainer [2022-01-10T15:17:15.870Z] prd-ubuntu18.04-docker-arm64-4c-16g-1129 does not seem to be running inside a container [2022-01-10T15:17:15.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T15:17:17.252Z] $ docker top 5637263bc1c3e54c3c2ff9920658515e721a61f1d168b5dae59ce5beb686c1e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T15:17:18.132Z] + go version [2022-01-10T15:17:18.132Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-10T15:17:18.154Z] $ docker stop --time=1 5637263bc1c3e54c3c2ff9920658515e721a61f1d168b5dae59ce5beb686c1e5 [2022-01-10T15:17:19.808Z] $ docker rm -f 5637263bc1c3e54c3c2ff9920658515e721a61f1d168b5dae59ce5beb686c1e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:17:20.412Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T15:17:20.412Z] . [Pipeline] withDockerContainer [2022-01-10T15:17:20.637Z] prd-ubuntu18.04-docker-arm64-4c-16g-1129 does not seem to be running inside a container [2022-01-10T15:17:20.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T15:17:21.989Z] $ docker top 65e790f99ee7d46854f9eda71b25a1c1f95843c9cc69b8fc2e250a95273e38b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T15:17:22.888Z] + make test [2022-01-10T15:17:22.888Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-10T15:17:26.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 23.3% of statements [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-10T15:17:26.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 27.6% of statements [2022-01-10T15:17:26.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2022-01-10T15:17:26.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-10T15:17:26.066Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.055s coverage: 28.7% of statements [2022-01-10T15:17:26.066Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-10T15:17:26.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 86.1% of statements [2022-01-10T15:17:26.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-10T15:17:26.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-10T15:17:26.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.4% of statements [2022-01-10T15:17:27.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.824s coverage: 89.2% of statements [2022-01-10T15:17:27.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-10T15:17:27.638Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.8% of statements [2022-01-10T15:17:27.638Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-10T15:17:49.666Z] GO111MODULE=on go vet ./... [2022-01-10T15:17:49.690Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-10T15:17:57.902Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T15:17:57.902Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T15:17:57.902Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T15:17:57.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T15:17:57.931Z] $ docker stop --time=1 ca4d08b08db10102da0d1fdec69e7f6eb34a28ed6ae44675508e77a8cafffb7f [2022-01-10T15:17:59.439Z] $ docker rm -f ca4d08b08db10102da0d1fdec69e7f6eb34a28ed6ae44675508e77a8cafffb7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:17:59.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T15:18:00.147Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-10T15:18:01.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T15:18:01.508Z] + ls -al . [2022-01-10T15:18:01.508Z] total 272 [2022-01-10T15:18:01.508Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 10 15:17 . [2022-01-10T15:18:01.508Z] drwxrwxr-x. 4 jenkins jenkins 30 Jan 10 15:15 .. [2022-01-10T15:18:01.508Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 10 15:15 bin [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 10 15:15 CHANGELOG.md [2022-01-10T15:18:01.508Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 10 15:17 coverage.out [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 10 15:15 .dockerignore [2022-01-10T15:18:01.508Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 10 15:15 example [2022-01-10T15:18:01.508Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 10 15:16 .git [2022-01-10T15:18:01.508Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 10 15:15 .github [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 10 15:15 .gitignore [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 10 15:15 .golangci.yml [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 10 15:15 go.mod [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 49492 Jan 10 15:15 go.sum [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 10 15:15 GOVERNANCE.md [2022-01-10T15:18:01.508Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 10 15:15 internal [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 10 15:15 Jenkinsfile [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 10 15:15 LICENSE [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 1590 Jan 10 15:15 Makefile [2022-01-10T15:18:01.508Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 10 15:15 openapi [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 10 15:15 OWNERS.md [2022-01-10T15:18:01.508Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 10 15:15 pkg [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 10 15:15 README.md [2022-01-10T15:18:01.508Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 10 15:15 snap [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 10 15:13 VERSION [2022-01-10T15:18:01.508Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 10 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:18:01.812Z] + 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=633449dbefca29cf62edd9030bbe74b52352fb22 --label arch=amd64 --label version=2.2.0-dev.4 . [2022-01-10T15:18:01.812Z] Sending build context to Docker daemon 5.151MB [2022-01-10T15:18:01.812Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T15:18:01.812Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T15:18:01.812Z] ---> bd90f2c52c43 [2022-01-10T15:18:01.812Z] Step 3/24 : ARG MAKE=make build [2022-01-10T15:18:01.812Z] ---> Running in b2a802bfdc9b [2022-01-10T15:18:02.075Z] Removing intermediate container b2a802bfdc9b [2022-01-10T15:18:02.075Z] ---> c50677e7eaa8 [2022-01-10T15:18:02.075Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-10T15:18:02.075Z] ---> Running in 2443c3b57cf1 [2022-01-10T15:18:02.075Z] Removing intermediate container 2443c3b57cf1 [2022-01-10T15:18:02.075Z] ---> a2874b0c6c9c [2022-01-10T15:18:02.075Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:18:02.075Z] ---> Running in 0023ceb17ead [2022-01-10T15:18:02.334Z] Removing intermediate container 0023ceb17ead [2022-01-10T15:18:02.334Z] ---> 363399521f63 [2022-01-10T15:18:02.334Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:18:02.334Z] ---> Running in eff653a27718 [2022-01-10T15:18:02.598Z] Removing intermediate container eff653a27718 [2022-01-10T15:18:02.598Z] ---> 8897afdda51e [2022-01-10T15:18:02.598Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T15:18:02.598Z] ---> Running in 18b86977744e [2022-01-10T15:18:02.858Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T15:18:03.805Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T15:18:04.070Z] OK: 220 MiB in 52 packages [2022-01-10T15:18:04.332Z] Removing intermediate container 18b86977744e [2022-01-10T15:18:04.332Z] ---> 8497ebd63f89 [2022-01-10T15:18:04.332Z] Step 8/24 : COPY . . [2022-01-10T15:18:04.609Z] ---> 9300a6223baa [2022-01-10T15:18:04.609Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T15:18:04.609Z] ---> Running in 8ac640e3bd7d [2022-01-10T15:18:05.182Z] Removing intermediate container 8ac640e3bd7d [2022-01-10T15:18:05.182Z] ---> 72c5084258c2 [2022-01-10T15:18:05.182Z] Step 10/24 : RUN ${MAKE} [2022-01-10T15:18:05.182Z] ---> Running in 10e6ff2a6ec9 [2022-01-10T15:18:05.446Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-10T15:18:17.725Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-10T15:18:17.725Z] Removing intermediate container 10e6ff2a6ec9 [2022-01-10T15:18:17.725Z] ---> f86f71b332da [2022-01-10T15:18:17.725Z] Step 11/24 : FROM alpine:3.14 [2022-01-10T15:18:17.725Z] 3.14: Pulling from library/alpine [2022-01-10T15:18:17.992Z] 97518928ae5f: Pulling fs layer [2022-01-10T15:18:17.992Z] 97518928ae5f: Download complete [2022-01-10T15:18:18.251Z] 97518928ae5f: Pull complete [2022-01-10T15:18:18.251Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T15:18:18.251Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T15:18:18.251Z] ---> 0a97eee8041e [2022-01-10T15:18:18.251Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:18:18.251Z] ---> Running in e03e95a3129f [2022-01-10T15:18:18.514Z] Removing intermediate container e03e95a3129f [2022-01-10T15:18:18.514Z] ---> cc58563cc580 [2022-01-10T15:18:18.514Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:18:18.514Z] ---> Running in d94f335ca001 [2022-01-10T15:18:18.783Z] Removing intermediate container d94f335ca001 [2022-01-10T15:18:18.783Z] ---> 1e3b0b9b177f [2022-01-10T15:18:18.783Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-10T15:18:18.783Z] ---> Running in 3a2fd72e2fa8 [2022-01-10T15:18:19.044Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T15:18:19.997Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T15:18:20.257Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T15:18:20.257Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-10T15:18:20.516Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T15:18:20.516Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-10T15:18:20.516Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-10T15:18:20.781Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T15:18:20.781Z] OK: 8 MiB in 19 packages [2022-01-10T15:18:21.049Z] Removing intermediate container 3a2fd72e2fa8 [2022-01-10T15:18:21.049Z] ---> 10edda21a59f [2022-01-10T15:18:21.049Z] Step 15/24 : WORKDIR / [2022-01-10T15:18:21.049Z] ---> Running in c5f5d937d477 [2022-01-10T15:18:21.049Z] Removing intermediate container c5f5d937d477 [2022-01-10T15:18:21.049Z] ---> 8a3621a27aed [2022-01-10T15:18:21.049Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-10T15:18:21.308Z] ---> a6cc168f49c8 [2022-01-10T15:18:21.308Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-10T15:18:21.568Z] ---> b7036aaf1f44 [2022-01-10T15:18:21.568Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-10T15:18:21.828Z] ---> f435ddf77f2b [2022-01-10T15:18:21.828Z] Step 19/24 : EXPOSE 59999 [2022-01-10T15:18:21.828Z] ---> Running in a46fb4bf4d16 [2022-01-10T15:18:21.828Z] Removing intermediate container a46fb4bf4d16 [2022-01-10T15:18:21.828Z] ---> 5baa6f393207 [2022-01-10T15:18:21.828Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-10T15:18:21.828Z] ---> Running in 23e2901a111f [2022-01-10T15:18:22.087Z] Removing intermediate container 23e2901a111f [2022-01-10T15:18:22.087Z] ---> d3be23cfae3f [2022-01-10T15:18:22.087Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-10T15:18:22.087Z] ---> Running in 911a7059fa63 [2022-01-10T15:18:22.087Z] Removing intermediate container 911a7059fa63 [2022-01-10T15:18:22.087Z] ---> 55e92783542f [2022-01-10T15:18:22.087Z] Step 22/24 : LABEL arch=amd64 [2022-01-10T15:18:22.087Z] ---> Running in 00ca28609d10 [2022-01-10T15:18:22.087Z] Removing intermediate container 00ca28609d10 [2022-01-10T15:18:22.087Z] ---> 24e34d6738eb [2022-01-10T15:18:22.087Z] Step 23/24 : LABEL git_sha=633449dbefca29cf62edd9030bbe74b52352fb22 [2022-01-10T15:18:22.347Z] ---> Running in c42bb05b18ae [2022-01-10T15:18:22.347Z] Removing intermediate container c42bb05b18ae [2022-01-10T15:18:22.347Z] ---> 18e71f990b01 [2022-01-10T15:18:22.347Z] Step 24/24 : LABEL version=2.2.0-dev.4 [2022-01-10T15:18:22.347Z] ---> Running in c0a6f203a283 [2022-01-10T15:18:22.347Z] Removing intermediate container c0a6f203a283 [2022-01-10T15:18:22.347Z] ---> 225a4c25b6c8 [2022-01-10T15:18:22.347Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T15:18:22.347Z] Successfully built 225a4c25b6c8 [2022-01-10T15:18:22.347Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:18:22.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:18:22.785Z] [2022-01-10T15:18:22.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:18:23.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:18:23.090Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T15:18:23.090Z] b4d181a07f80: Pulling fs layer [2022-01-10T15:18:23.090Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T15:18:23.090Z] ed53099fbce6: Pulling fs layer [2022-01-10T15:18:23.090Z] dc539afda2c1: Pulling fs layer [2022-01-10T15:18:23.090Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T15:18:23.090Z] 9065ff56babe: Pulling fs layer [2022-01-10T15:18:23.090Z] d287ab97295c: Pulling fs layer [2022-01-10T15:18:23.090Z] dc539afda2c1: Waiting [2022-01-10T15:18:23.090Z] 77bc0d833cb6: Waiting [2022-01-10T15:18:23.090Z] 9065ff56babe: Waiting [2022-01-10T15:18:23.090Z] d287ab97295c: Waiting [2022-01-10T15:18:23.090Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T15:18:23.090Z] a1111a8f2ec3: Download complete [2022-01-10T15:18:23.090Z] dc539afda2c1: Verifying Checksum [2022-01-10T15:18:23.090Z] dc539afda2c1: Download complete [2022-01-10T15:18:23.357Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T15:18:23.357Z] 77bc0d833cb6: Download complete [2022-01-10T15:18:23.357Z] ed53099fbce6: Verifying Checksum [2022-01-10T15:18:23.357Z] ed53099fbce6: Download complete [2022-01-10T15:18:23.357Z] 9065ff56babe: Verifying Checksum [2022-01-10T15:18:23.357Z] 9065ff56babe: Download complete [2022-01-10T15:18:23.357Z] b4d181a07f80: Verifying Checksum [2022-01-10T15:18:23.357Z] b4d181a07f80: Download complete [2022-01-10T15:18:23.926Z] d287ab97295c: Verifying Checksum [2022-01-10T15:18:23.926Z] d287ab97295c: Download complete [2022-01-10T15:18:24.881Z] b4d181a07f80: Pull complete [2022-01-10T15:18:24.881Z] a1111a8f2ec3: Pull complete [2022-01-10T15:18:25.460Z] ed53099fbce6: Pull complete [2022-01-10T15:18:25.460Z] dc539afda2c1: Pull complete [2022-01-10T15:18:25.723Z] 77bc0d833cb6: Pull complete [2022-01-10T15:18:25.990Z] 9065ff56babe: Pull complete [2022-01-10T15:18:31.329Z] d287ab97295c: Pull complete [2022-01-10T15:18:31.329Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T15:18:31.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:18:31.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T15:18:31.396Z] prd-centos7-docker-4c-2g-1130 does not seem to be running inside a container [2022-01-10T15:18:31.438Z] $ 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/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T15:18:33.884Z] $ docker top cd8893eaba6603b1b51e09d8b9aa5310f8f937bdd1c10cd77534a951ef71b132 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:18:34.349Z] ---> job-cost.sh [2022-01-10T15:18:34.349Z] lf-activate-venv: SKIPPING [2022-01-10T15:18:34.349Z] INFO: No Stack... [2022-01-10T15:18:34.610Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T15:18:35.181Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T15:18:35.484Z] + cat /w/workspace/device-sdk-go/36/archives/cost.csv [2022-01-10T15:18:35.484Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T15:18:35.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [2022-01-10T15:18:35.526Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] did not exist. Created. [2022-01-10T15:18:35.526Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T15:18:35.862Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-10T15:18:35.899Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T15:18:35.907Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T15:18:35.929Z] $ docker stop --time=1 cd8893eaba6603b1b51e09d8b9aa5310f8f937bdd1c10cd77534a951ef71b132 [2022-01-10T15:18:37.054Z] $ docker rm -f cd8893eaba6603b1b51e09d8b9aa5310f8f937bdd1c10cd77534a951ef71b132 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T15:18:57.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-10T15:18:57.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-10T15:18:57.769Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-10T15:18:58.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.276s coverage: 23.3% of statements [2022-01-10T15:18:58.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-10T15:18:58.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 27.6% of statements [2022-01-10T15:18:58.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.245s coverage: 78.9% of statements [2022-01-10T15:18:58.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.222s coverage: 9.0% of statements [2022-01-10T15:18:58.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-10T15:18:58.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-10T15:18:58.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-10T15:19:00.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.296s coverage: 28.7% of statements [2022-01-10T15:19:00.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-10T15:19:02.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.212s coverage: 86.1% of statements [2022-01-10T15:19:02.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-10T15:19:02.353Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-10T15:19:02.353Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.463s coverage: 57.4% of statements [2022-01-10T15:19:04.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.203s coverage: 89.2% of statements [2022-01-10T15:19:04.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-10T15:19:04.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.188s coverage: 4.8% of statements [2022-01-10T15:19:04.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-10T15:19:04.945Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-10T15:19:04.945Z] GO111MODULE=on go vet ./... [2022-01-10T15:20:01.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-10T15:20:01.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-10T15:20:01.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-10T15:20:01.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-10T15:20:01.534Z] $ docker stop --time=1 65e790f99ee7d46854f9eda71b25a1c1f95843c9cc69b8fc2e250a95273e38b5 [2022-01-10T15:20:03.299Z] $ docker rm -f 65e790f99ee7d46854f9eda71b25a1c1f95843c9cc69b8fc2e250a95273e38b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:20:04.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-10T15:20:04.320Z] Warning: overwriting stash ‘coverage-report’ [2022-01-10T15:20:04.845Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T15:20:05.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-10T15:20:05.580Z] + ls -al . [2022-01-10T15:20:05.580Z] total 308 [2022-01-10T15:20:05.580Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 15:20 . [2022-01-10T15:20:05.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 15:14 .. [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 15:14 .dockerignore [2022-01-10T15:20:05.580Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 15:14 .git [2022-01-10T15:20:05.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 15:14 .github [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 15:14 .gitignore [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 15:14 .golangci.yml [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 10 15:14 CHANGELOG.md [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 15:14 GOVERNANCE.md [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 15:14 Jenkinsfile [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 15:14 LICENSE [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 1590 Jan 10 15:14 Makefile [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 15:14 OWNERS.md [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 10 15:14 README.md [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 15:13 VERSION [2022-01-10T15:20:05.580Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 15:14 bin [2022-01-10T15:20:05.580Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 10 15:19 coverage.out [2022-01-10T15:20:05.580Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 15:14 example [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 10 15:14 go.mod [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 49492 Jan 10 15:14 go.sum [2022-01-10T15:20:05.580Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 10 15:14 internal [2022-01-10T15:20:05.580Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 15:14 openapi [2022-01-10T15:20:05.580Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 15:14 pkg [2022-01-10T15:20:05.580Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 15:14 snap [2022-01-10T15:20:05.580Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:20:05.930Z] + 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=633449dbefca29cf62edd9030bbe74b52352fb22 --label arch=arm64 --label version=2.2.0-dev.4 . [2022-01-10T15:20:06.203Z] Sending build context to Docker daemon 5.151MB [2022-01-10T15:20:06.478Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T15:20:06.478Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-10T15:20:06.478Z] ---> da375566a6b6 [2022-01-10T15:20:06.478Z] Step 3/24 : ARG MAKE=make build [2022-01-10T15:20:06.478Z] ---> Running in 4a3e7b6c9317 [2022-01-10T15:20:06.750Z] Removing intermediate container 4a3e7b6c9317 [2022-01-10T15:20:06.750Z] ---> b0e95e0f841d [2022-01-10T15:20:06.750Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-10T15:20:07.024Z] ---> Running in cd550825ec71 [2022-01-10T15:20:07.296Z] Removing intermediate container cd550825ec71 [2022-01-10T15:20:07.296Z] ---> b19f156b94fa [2022-01-10T15:20:07.296Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:20:07.296Z] ---> Running in 90e5041660d0 [2022-01-10T15:20:07.892Z] Removing intermediate container 90e5041660d0 [2022-01-10T15:20:07.892Z] ---> 5ed392f8975b [2022-01-10T15:20:07.892Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:20:07.892Z] ---> Running in 7d57a03f6fda [2022-01-10T15:20:09.861Z] Removing intermediate container 7d57a03f6fda [2022-01-10T15:20:09.861Z] ---> 102aeeaf97d0 [2022-01-10T15:20:09.861Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T15:20:09.861Z] ---> Running in d01cda5f5e71 [2022-01-10T15:20:10.456Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T15:20:11.430Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T15:20:12.415Z] OK: 219 MiB in 52 packages [2022-01-10T15:20:13.013Z] Removing intermediate container d01cda5f5e71 [2022-01-10T15:20:13.013Z] ---> 2a6d30e8a119 [2022-01-10T15:20:13.013Z] Step 8/24 : COPY . . [2022-01-10T15:20:14.450Z] ---> f0010ab35a51 [2022-01-10T15:20:14.450Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T15:20:14.450Z] ---> Running in 993bc9cf7309 [2022-01-10T15:20:16.435Z] Removing intermediate container 993bc9cf7309 [2022-01-10T15:20:16.435Z] ---> a218a0e0e59e [2022-01-10T15:20:16.435Z] Step 10/24 : RUN ${MAKE} [2022-01-10T15:20:16.435Z] ---> Running in 93ad65c255f7 [2022-01-10T15:20:17.412Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.4" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-10T15:20:49.791Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-10T15:20:51.765Z] Removing intermediate container 93ad65c255f7 [2022-01-10T15:20:51.765Z] ---> b32cfe2552f3 [2022-01-10T15:20:51.765Z] Step 11/24 : FROM alpine:3.14 [2022-01-10T15:20:52.740Z] 3.14: Pulling from library/alpine [2022-01-10T15:20:52.740Z] be307f383ecc: Pulling fs layer [2022-01-10T15:20:52.740Z] be307f383ecc: Verifying Checksum [2022-01-10T15:20:52.740Z] be307f383ecc: Download complete [2022-01-10T15:20:53.337Z] be307f383ecc: Pull complete [2022-01-10T15:20:53.337Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-10T15:20:53.337Z] Status: Downloaded newer image for alpine:3.14 [2022-01-10T15:20:53.337Z] ---> 5b8b7b635229 [2022-01-10T15:20:53.337Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T15:20:53.609Z] ---> Running in fb8ae0afe41d [2022-01-10T15:20:53.884Z] Removing intermediate container fb8ae0afe41d [2022-01-10T15:20:53.884Z] ---> 868700cf3851 [2022-01-10T15:20:53.884Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T15:20:53.884Z] ---> Running in e74a59427336 [2022-01-10T15:20:55.857Z] Removing intermediate container e74a59427336 [2022-01-10T15:20:55.857Z] ---> 9ece095cbc58 [2022-01-10T15:20:55.857Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-10T15:20:55.857Z] ---> Running in 4dc8b17867ea [2022-01-10T15:20:56.451Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T15:20:57.424Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T15:20:58.016Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-10T15:20:58.286Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-10T15:20:58.286Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-10T15:20:58.286Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-10T15:20:58.557Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-10T15:20:58.557Z] Executing busybox-1.33.1-r6.trigger [2022-01-10T15:20:58.557Z] OK: 8 MiB in 19 packages [2022-01-10T15:20:59.534Z] Removing intermediate container 4dc8b17867ea [2022-01-10T15:20:59.534Z] ---> b54ec5dd394d [2022-01-10T15:20:59.534Z] Step 15/24 : WORKDIR / [2022-01-10T15:20:59.534Z] ---> Running in a5b53b52dde5 [2022-01-10T15:20:59.805Z] Removing intermediate container a5b53b52dde5 [2022-01-10T15:20:59.805Z] ---> dd262c4f793e [2022-01-10T15:20:59.805Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-10T15:21:00.400Z] ---> 7353c58280a9 [2022-01-10T15:21:00.400Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-10T15:21:01.374Z] ---> f57b7878c345 [2022-01-10T15:21:01.374Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-10T15:21:01.965Z] ---> a52c7d2d7add [2022-01-10T15:21:01.965Z] Step 19/24 : EXPOSE 59999 [2022-01-10T15:21:01.965Z] ---> Running in bad001695571 [2022-01-10T15:21:02.242Z] Removing intermediate container bad001695571 [2022-01-10T15:21:02.242Z] ---> 2ea0b8d503ea [2022-01-10T15:21:02.242Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-10T15:21:02.515Z] ---> Running in 9538d5bb1f71 [2022-01-10T15:21:02.787Z] Removing intermediate container 9538d5bb1f71 [2022-01-10T15:21:02.787Z] ---> 1871057e4cf5 [2022-01-10T15:21:02.787Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-10T15:21:02.787Z] ---> Running in 47831c21d084 [2022-01-10T15:21:03.382Z] Removing intermediate container 47831c21d084 [2022-01-10T15:21:03.383Z] ---> 44e0721096f8 [2022-01-10T15:21:03.383Z] Step 22/24 : LABEL arch=arm64 [2022-01-10T15:21:03.383Z] ---> Running in 19e74a9c4b04 [2022-01-10T15:21:03.655Z] Removing intermediate container 19e74a9c4b04 [2022-01-10T15:21:03.655Z] ---> 09bcee190308 [2022-01-10T15:21:03.655Z] Step 23/24 : LABEL git_sha=633449dbefca29cf62edd9030bbe74b52352fb22 [2022-01-10T15:21:03.655Z] ---> Running in 0c4440012fc9 [2022-01-10T15:21:03.930Z] Removing intermediate container 0c4440012fc9 [2022-01-10T15:21:03.930Z] ---> cee780e978dd [2022-01-10T15:21:03.930Z] Step 24/24 : LABEL version=2.2.0-dev.4 [2022-01-10T15:21:04.202Z] ---> Running in 4add255804e8 [2022-01-10T15:21:04.473Z] Removing intermediate container 4add255804e8 [2022-01-10T15:21:04.473Z] ---> 7e43a2e0d05d [2022-01-10T15:21:04.473Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-10T15:21:04.473Z] Successfully built 7e43a2e0d05d [2022-01-10T15:21:04.473Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:21:05.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:21:05.007Z] [2022-01-10T15:21:05.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:21:05.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:21:05.364Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-10T15:21:05.364Z] 448f6bf000e3: Pulling fs layer [2022-01-10T15:21:05.364Z] f757da607395: Pulling fs layer [2022-01-10T15:21:05.364Z] 05883995daec: Pulling fs layer [2022-01-10T15:21:05.364Z] 8603b9c90790: Pulling fs layer [2022-01-10T15:21:05.364Z] 1560dd03e051: Pulling fs layer [2022-01-10T15:21:05.364Z] 27f5ce0e4adf: Pulling fs layer [2022-01-10T15:21:05.364Z] c2d8d7efcc4b: Pulling fs layer [2022-01-10T15:21:05.364Z] 8603b9c90790: Waiting [2022-01-10T15:21:05.364Z] 1560dd03e051: Waiting [2022-01-10T15:21:05.364Z] 27f5ce0e4adf: Waiting [2022-01-10T15:21:05.364Z] c2d8d7efcc4b: Waiting [2022-01-10T15:21:05.641Z] f757da607395: Verifying Checksum [2022-01-10T15:21:05.642Z] f757da607395: Download complete [2022-01-10T15:21:05.642Z] 8603b9c90790: Verifying Checksum [2022-01-10T15:21:05.642Z] 8603b9c90790: Download complete [2022-01-10T15:21:05.642Z] 1560dd03e051: Verifying Checksum [2022-01-10T15:21:05.642Z] 1560dd03e051: Download complete [2022-01-10T15:21:05.642Z] 27f5ce0e4adf: Verifying Checksum [2022-01-10T15:21:05.642Z] 27f5ce0e4adf: Download complete [2022-01-10T15:21:05.642Z] 05883995daec: Verifying Checksum [2022-01-10T15:21:05.642Z] 05883995daec: Download complete [2022-01-10T15:21:05.917Z] 448f6bf000e3: Download complete [2022-01-10T15:21:08.547Z] c2d8d7efcc4b: Verifying Checksum [2022-01-10T15:21:08.547Z] c2d8d7efcc4b: Download complete [2022-01-10T15:21:09.979Z] 448f6bf000e3: Pull complete [2022-01-10T15:21:10.254Z] f757da607395: Pull complete [2022-01-10T15:21:11.689Z] 05883995daec: Pull complete [2022-01-10T15:21:11.962Z] 8603b9c90790: Pull complete [2022-01-10T15:21:12.948Z] 1560dd03e051: Pull complete [2022-01-10T15:21:13.222Z] 27f5ce0e4adf: Pull complete [2022-01-10T15:21:28.297Z] c2d8d7efcc4b: Pull complete [2022-01-10T15:21:28.297Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-10T15:21:28.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T15:21:28.297Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-10T15:21:28.516Z] prd-ubuntu18.04-docker-arm64-4c-16g-1129 does not seem to be running inside a container [2022-01-10T15:21:28.603Z] $ 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/36 -v /w/workspace/device-sdk-go/36:/w/workspace/device-sdk-go/36:rw,z -v /w/workspace/device-sdk-go/36@tmp:/w/workspace/device-sdk-go/36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-10T15:21:31.189Z] $ docker top 47d399f9902a21a2a27fb705a33ff789273d02b4fdf28ecabdf6087a232bcb0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:21:32.106Z] ---> job-cost.sh [2022-01-10T15:21:32.107Z] lf-activate-venv: SKIPPING [2022-01-10T15:21:32.107Z] INFO: No Stack... [2022-01-10T15:21:32.378Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-10T15:21:32.651Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T15:21:33.319Z] + cat /w/workspace/device-sdk-go/36/archives/cost.csv [2022-01-10T15:21:33.319Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T15:21:33.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [2022-01-10T15:21:33.395Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] did not exist. Created. [2022-01-10T15:21:33.395Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T15:21:34.082Z] /w/workspace/device-sdk-go/36@tmp/durable-246d90fa/script.sh: 1: /w/workspace/device-sdk-go/36@tmp/durable-246d90fa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-10T15:21:34.758Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-10T15:21:34.778Z] Warning: overwriting stash ‘stack-cost’ [2022-01-10T15:21:34.837Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T15:21:34.845Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-36-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T15:21:34.856Z] $ docker stop --time=1 47d399f9902a21a2a27fb705a33ff789273d02b4fdf28ecabdf6087a232bcb0b [2022-01-10T15:21:36.334Z] $ docker rm -f 47d399f9902a21a2a27fb705a33ff789273d02b4fdf28ecabdf6087a232bcb0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-10T15:21:36.846Z] provisioning config files... [2022-01-10T15:21:36.857Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3777593498954236009tmp [Pipeline] { [Pipeline] sh [2022-01-10T15:21:37.167Z] + set +x [2022-01-10T15:21:37.167Z] + curl -s https://codecov.io/bash [2022-01-10T15:21:37.167Z] + bash -s -- [2022-01-10T15:21:37.167Z] [2022-01-10T15:21:37.167Z] _____ _ [2022-01-10T15:21:37.167Z] / ____| | | [2022-01-10T15:21:37.167Z] | | ___ __| | ___ ___ _____ __ [2022-01-10T15:21:37.167Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-10T15:21:37.167Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-10T15:21:37.167Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-10T15:21:37.167Z] Bash-1.0.6 [2022-01-10T15:21:37.167Z] [2022-01-10T15:21:37.167Z] [2022-01-10T15:21:37.167Z] ==> git version 2.24.4 found [2022-01-10T15:21:37.167Z] ==> 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 [2022-01-10T15:21:37.167Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-10T15:21:37.167Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-10T15:21:37.167Z] ==> Jenkins CI detected. [2022-01-10T15:21:37.167Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:21:37.167Z] project root: . [2022-01-10T15:21:37.167Z] --> token set from env [2022-01-10T15:21:37.167Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-10T15:21:37.433Z] ==> Running gcov in . (disable via -X gcov) [2022-01-10T15:21:37.433Z] ==> Python coveragepy not found [2022-01-10T15:21:37.433Z] ==> Searching for coverage reports in: [2022-01-10T15:21:37.433Z] + . [2022-01-10T15:21:37.433Z] -> Found 1 reports [2022-01-10T15:21:37.433Z] ==> Detecting git/mercurial file structure [2022-01-10T15:21:37.433Z] ==> Reading reports [2022-01-10T15:21:37.433Z] + ./coverage.out bytes=128667 [2022-01-10T15:21:37.433Z] ==> Appending adjustments [2022-01-10T15:21:37.433Z] https://docs.codecov.io/docs/fixing-reports [2022-01-10T15:21:37.694Z] + Found adjustments [2022-01-10T15:21:37.694Z] ==> Gzipping contents [2022-01-10T15:21:37.694Z] 16K /tmp/codecov.hrXPa0.gz [2022-01-10T15:21:37.694Z] ==> Uploading reports [2022-01-10T15:21:37.694Z] url: https://codecov.io [2022-01-10T15:21:37.694Z] query: branch=main&commit=633449dbefca29cf62edd9030bbe74b52352fb22&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-10T15:21:37.694Z] -> Pinging Codecov [2022-01-10T15:21:37.694Z] 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=633449dbefca29cf62edd9030bbe74b52352fb22&build=36&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F36%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-10T15:21:37.955Z] -> Uploading to [2022-01-10T15:21:37.955Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-10/7E55EF52A471D76F132DFD9A03CDDE97/633449dbefca29cf62edd9030bbe74b52352fb22/3ea48e3c-6934-4e4b-bdd6-fb9d0f4de744.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220110T152137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=000a122d034bc2e7043080f43a907c5a5c0f408e429b166c19bbcd9336566ce7 [2022-01-10T15:21:38.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T15:21:38.217Z] Dload Upload Total Spent Left Speed [2022-01-10T15:21:38.479Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16357 0 0 100 16357 0 47477 --:--:-- --:--:-- --:--:-- 47549 [2022-01-10T15:21:38.479Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] } [2022-01-10T15:21:38.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-10T15:21:38.752Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-10T15:21:38.763Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:21:39.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-10T15:21:39.062Z] [2022-01-10T15:21:39.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:21:39.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-10T15:21:39.376Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-10T15:21:39.376Z] 188c0c94c7c5: Pulling fs layer [2022-01-10T15:21:39.376Z] 0ef7d3d256c8: Pulling fs layer [2022-01-10T15:21:39.376Z] de9db76c5a1d: Pulling fs layer [2022-01-10T15:21:39.376Z] 0eba1c9be4d2: Pulling fs layer [2022-01-10T15:21:39.376Z] 0d57e429df01: Pulling fs layer [2022-01-10T15:21:39.376Z] 4e4be7b47b0d: Pulling fs layer [2022-01-10T15:21:39.376Z] e1f770b5df2f: Pulling fs layer [2022-01-10T15:21:39.376Z] 85a0685a4137: Pulling fs layer [2022-01-10T15:21:39.376Z] 0eba1c9be4d2: Waiting [2022-01-10T15:21:39.376Z] 0d57e429df01: Waiting [2022-01-10T15:21:39.376Z] 4e4be7b47b0d: Waiting [2022-01-10T15:21:39.376Z] e1f770b5df2f: Waiting [2022-01-10T15:21:39.376Z] 85a0685a4137: Waiting [2022-01-10T15:21:39.376Z] de9db76c5a1d: Verifying Checksum [2022-01-10T15:21:39.376Z] de9db76c5a1d: Download complete [2022-01-10T15:21:39.376Z] 0ef7d3d256c8: Verifying Checksum [2022-01-10T15:21:39.376Z] 0ef7d3d256c8: Download complete [2022-01-10T15:21:39.376Z] 0d57e429df01: Verifying Checksum [2022-01-10T15:21:39.376Z] 0d57e429df01: Download complete [2022-01-10T15:21:39.376Z] 4e4be7b47b0d: Verifying Checksum [2022-01-10T15:21:39.376Z] 4e4be7b47b0d: Download complete [2022-01-10T15:21:39.376Z] 188c0c94c7c5: Verifying Checksum [2022-01-10T15:21:39.376Z] 188c0c94c7c5: Download complete [2022-01-10T15:21:39.639Z] e1f770b5df2f: Verifying Checksum [2022-01-10T15:21:39.639Z] e1f770b5df2f: Download complete [2022-01-10T15:21:39.906Z] 188c0c94c7c5: Pull complete [2022-01-10T15:21:39.906Z] 0eba1c9be4d2: Verifying Checksum [2022-01-10T15:21:39.906Z] 0eba1c9be4d2: Download complete [2022-01-10T15:21:40.169Z] 0ef7d3d256c8: Pull complete [2022-01-10T15:21:40.169Z] de9db76c5a1d: Pull complete [2022-01-10T15:21:40.169Z] 85a0685a4137: Verifying Checksum [2022-01-10T15:21:40.169Z] 85a0685a4137: Download complete [2022-01-10T15:21:44.439Z] 0eba1c9be4d2: Pull complete [2022-01-10T15:21:44.439Z] 0d57e429df01: Pull complete [2022-01-10T15:21:44.439Z] 4e4be7b47b0d: Pull complete [2022-01-10T15:21:44.439Z] e1f770b5df2f: Pull complete [2022-01-10T15:21:48.683Z] 85a0685a4137: Pull complete [2022-01-10T15:21:48.683Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-10T15:21:48.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-10T15:21:48.683Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-10T15:21:48.749Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:21:48.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-10T15:21:50.441Z] $ docker top 564829509ab4c64f49eca1f50d3ca37ceab740e7ebb303a0084f45fbecac84a5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-10T15:21:50.518Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-10T15:21:50.811Z] + set -o pipefail [2022-01-10T15:21:50.811Z] + snyk monitor '--org=edgex-jenkins' [2022-01-10T15:22:05.737Z] [2022-01-10T15:22:05.737Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-10T15:22:05.737Z] [2022-01-10T15:22:05.737Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/d7d5d930-eeca-4896-90b5-355972fd0da2 [2022-01-10T15:22:05.737Z] [2022-01-10T15:22:05.737Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-10T15:22:05.737Z] [2022-01-10T15:22:05.997Z] [Pipeline] } [2022-01-10T15:22:06.008Z] $ docker stop --time=1 564829509ab4c64f49eca1f50d3ca37ceab740e7ebb303a0084f45fbecac84a5 [2022-01-10T15:22:07.821Z] $ docker rm -f 564829509ab4c64f49eca1f50d3ca37ceab740e7ebb303a0084f45fbecac84a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-01-10T15:22:08.204Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:22:08.217Z] provisioning config files... [2022-01-10T15:22:08.226Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1067815325014698135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:08.533Z] --> edgex-publish-swagger.sh [2022-01-10T15:22:08.533Z] === Publish openapi/v2 API === [2022-01-10T15:22:08.533Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-10T15:22:08.533Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-10T15:22:08.533Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T15:22:08.533Z] Dload Upload Total Spent Left Speed [2022-01-10T15:22:09.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 60628 --:--:-- --:--:-- --:--:-- 60632 [2022-01-10T15:22:09.478Z] [2022-01-10T15:22:09.478Z] [Pipeline] } [2022-01-10T15:22:09.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T15:22:09.892Z] + git log --format=format:%s -1 633449dbefca29cf62edd9030bbe74b52352fb22 [Pipeline] sh [2022-01-10T15:22:10.192Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T15:22:10.192Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:10.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:22:10.497Z] . [Pipeline] withDockerContainer [2022-01-10T15:22:10.563Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:22:10.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T15:22:10.919Z] $ docker top 12e11509375006be652e775a4891f027ecf00fe7e05b89d24b6af7160979b483 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T15:22:11.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:22:11.017Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:22:11.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:22:11.131Z] $ docker exec 12e11509375006be652e775a4891f027ecf00fe7e05b89d24b6af7160979b483 ssh-agent [2022-01-10T15:22:11.242Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIKkEPF/agent.13 [2022-01-10T15:22:11.242Z] SSH_AGENT_PID=20 [2022-01-10T15:22:11.249Z] Running ssh-add (command line suppressed) [2022-01-10T15:22:11.345Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1834131673819157282.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1834131673819157282.key) [2022-01-10T15:22:11.361Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:22:11.653Z] + git semver tag [2022-01-10T15:22:11.653Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T15:22:11.653Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-10T15:22:11.653Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:22:11.653Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T15:22:11.653Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T15:22:11.653Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T15:22:11.653Z] # $SEMVER_BRANCH = main [2022-01-10T15:22:11.653Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-10T15:22:11.653Z] # 633449dbefca29cf62edd9030bbe74b52352fb22 HEAD [2022-01-10T15:22:11.653Z] # -> Force: false [2022-01-10T15:22:11.653Z] # fc5b0523a177459a0ef84a155bfc4c71fab86283 refs/tags/v2.2.0-dev.4 [Pipeline] } [2022-01-10T15:22:11.663Z] $ docker exec --env ******** --env ******** 12e11509375006be652e775a4891f027ecf00fe7e05b89d24b6af7160979b483 ssh-agent -k [2022-01-10T15:22:11.766Z] unset SSH_AUTH_SOCK; [2022-01-10T15:22:11.766Z] unset SSH_AGENT_PID; [2022-01-10T15:22:11.766Z] echo Agent pid 20 killed; [2022-01-10T15:22:11.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T15:22:12.100Z] + git semver [Pipeline] } [2022-01-10T15:22:12.112Z] $ docker stop --time=1 12e11509375006be652e775a4891f027ecf00fe7e05b89d24b6af7160979b483 [2022-01-10T15:22:13.291Z] $ docker rm -f 12e11509375006be652e775a4891f027ecf00fe7e05b89d24b6af7160979b483 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:13.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-10T15:22:13.700Z] [2022-01-10T15:22:13.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:14.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-10T15:22:14.040Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-10T15:22:14.040Z] ab5ef0e58194: Pulling fs layer [2022-01-10T15:22:14.040Z] 9712f1f96733: Pulling fs layer [2022-01-10T15:22:14.040Z] 63f879dbbcfc: Pulling fs layer [2022-01-10T15:22:14.040Z] 0d9ebad4ef96: Pulling fs layer [2022-01-10T15:22:14.040Z] e9a5061849ea: Pulling fs layer [2022-01-10T15:22:14.040Z] d747dcd14b5f: Pulling fs layer [2022-01-10T15:22:14.040Z] 2de7ff778b66: Pulling fs layer [2022-01-10T15:22:14.040Z] 0d9ebad4ef96: Waiting [2022-01-10T15:22:14.040Z] e9a5061849ea: Waiting [2022-01-10T15:22:14.040Z] d747dcd14b5f: Waiting [2022-01-10T15:22:14.040Z] 2de7ff778b66: Waiting [2022-01-10T15:22:14.040Z] 9712f1f96733: Verifying Checksum [2022-01-10T15:22:14.040Z] 9712f1f96733: Download complete [2022-01-10T15:22:14.316Z] 63f879dbbcfc: Verifying Checksum [2022-01-10T15:22:14.316Z] 63f879dbbcfc: Download complete [2022-01-10T15:22:14.586Z] ab5ef0e58194: Download complete [2022-01-10T15:22:14.586Z] 0d9ebad4ef96: Verifying Checksum [2022-01-10T15:22:14.586Z] 0d9ebad4ef96: Download complete [2022-01-10T15:22:14.586Z] d747dcd14b5f: Verifying Checksum [2022-01-10T15:22:14.586Z] d747dcd14b5f: Download complete [2022-01-10T15:22:14.586Z] e9a5061849ea: Verifying Checksum [2022-01-10T15:22:14.586Z] e9a5061849ea: Download complete [2022-01-10T15:22:14.845Z] 2de7ff778b66: Verifying Checksum [2022-01-10T15:22:14.845Z] 2de7ff778b66: Download complete [2022-01-10T15:22:17.424Z] ab5ef0e58194: Pull complete [2022-01-10T15:22:17.424Z] 9712f1f96733: Pull complete [2022-01-10T15:22:18.003Z] 63f879dbbcfc: Pull complete [2022-01-10T15:22:22.231Z] 0d9ebad4ef96: Pull complete [2022-01-10T15:22:22.231Z] e9a5061849ea: Pull complete [2022-01-10T15:22:22.231Z] d747dcd14b5f: Pull complete [2022-01-10T15:22:23.187Z] 2de7ff778b66: Pull complete [2022-01-10T15:22:23.187Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-10T15:22:23.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-10T15:22:23.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-10T15:22:23.258Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:22:23.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-10T15:22:26.312Z] $ docker top 0a71a68875892acb40300f7b8d4c4b6740a165a0a822a558916e48e055645d06 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:22:26.403Z] provisioning config files... [2022-01-10T15:22:26.413Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3842611202717311070tmp [2022-01-10T15:22:26.426Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5500369727020000681tmp [2022-01-10T15:22:26.439Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3795023851112466420tmp [Pipeline] { [Pipeline] echo [2022-01-10T15:22:26.458Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:26.750Z] ---> sigul-configuration.sh [2022-01-10T15:22:26.750Z] gpg: directory `/root/.gnupg' created [2022-01-10T15:22:26.750Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-10T15:22:26.750Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-10T15:22:26.750Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-10T15:22:26.750Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-10T15:22:26.750Z] gpg: CAST5 encrypted data [2022-01-10T15:22:26.750Z] gpg: encrypted with 1 passphrase [2022-01-10T15:22:26.750Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-10T15:22:27.044Z] + mkdir /home/jenkins [2022-01-10T15:22:27.044Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-10T15:22:27.335Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-10T15:22:27.346Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:27.642Z] ---> sigul-install.sh [2022-01-10T15:22:27.642Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-10T15:22:27.937Z] + git tag --list [2022-01-10T15:22:27.937Z] 0.7.1 [2022-01-10T15:22:27.937Z] delhi-tag [2022-01-10T15:22:27.937Z] v1.0.0 [2022-01-10T15:22:27.937Z] v1.1.0 [2022-01-10T15:22:27.937Z] v1.1.1 [2022-01-10T15:22:27.937Z] v1.1.2 [2022-01-10T15:22:27.937Z] v1.2.0 [2022-01-10T15:22:27.937Z] v1.2.1 [2022-01-10T15:22:27.937Z] v1.2.2 [2022-01-10T15:22:27.937Z] v1.2.3 [2022-01-10T15:22:27.937Z] v1.3.0 [2022-01-10T15:22:27.937Z] v1.4.0 [2022-01-10T15:22:27.937Z] v2.0.0 [2022-01-10T15:22:27.937Z] v2.0.1-dev.1 [2022-01-10T15:22:27.937Z] v2.0.1-dev.10 [2022-01-10T15:22:27.937Z] v2.0.1-dev.11 [2022-01-10T15:22:27.937Z] v2.0.1-dev.12 [2022-01-10T15:22:27.937Z] v2.0.1-dev.13 [2022-01-10T15:22:27.937Z] v2.0.1-dev.14 [2022-01-10T15:22:27.937Z] v2.0.1-dev.15 [2022-01-10T15:22:27.937Z] v2.0.1-dev.16 [2022-01-10T15:22:27.937Z] v2.0.1-dev.17 [2022-01-10T15:22:27.937Z] v2.0.1-dev.18 [2022-01-10T15:22:27.937Z] v2.0.1-dev.19 [2022-01-10T15:22:27.937Z] v2.0.1-dev.2 [2022-01-10T15:22:27.937Z] v2.0.1-dev.20 [2022-01-10T15:22:27.937Z] v2.0.1-dev.21 [2022-01-10T15:22:27.937Z] v2.0.1-dev.22 [2022-01-10T15:22:27.937Z] v2.0.1-dev.23 [2022-01-10T15:22:27.937Z] v2.0.1-dev.24 [2022-01-10T15:22:27.937Z] v2.0.1-dev.25 [2022-01-10T15:22:27.937Z] v2.0.1-dev.26 [2022-01-10T15:22:27.937Z] v2.0.1-dev.27 [2022-01-10T15:22:27.937Z] v2.0.1-dev.28 [2022-01-10T15:22:27.937Z] v2.0.1-dev.29 [2022-01-10T15:22:27.937Z] v2.0.1-dev.3 [2022-01-10T15:22:27.937Z] v2.0.1-dev.30 [2022-01-10T15:22:27.937Z] v2.0.1-dev.31 [2022-01-10T15:22:27.937Z] v2.0.1-dev.32 [2022-01-10T15:22:27.937Z] v2.0.1-dev.33 [2022-01-10T15:22:27.937Z] v2.0.1-dev.4 [2022-01-10T15:22:27.937Z] v2.0.1-dev.5 [2022-01-10T15:22:27.937Z] v2.0.1-dev.6 [2022-01-10T15:22:27.937Z] v2.0.1-dev.7 [2022-01-10T15:22:27.937Z] v2.0.1-dev.8 [2022-01-10T15:22:27.937Z] v2.0.1-dev.9 [2022-01-10T15:22:27.937Z] v2.1.0 [2022-01-10T15:22:27.937Z] v2.2.0-dev.1 [2022-01-10T15:22:27.937Z] v2.2.0-dev.2 [2022-01-10T15:22:27.937Z] v2.2.0-dev.3 [2022-01-10T15:22:27.937Z] v2.2.0-dev.4 [Pipeline] sh [2022-01-10T15:22:28.236Z] + lftools sign git-tag v2.2.0-dev.4 [2022-01-10T15:22:28.810Z] Signing Git tag with Sigul... [2022-01-10T15:22:28.810Z] Signing v2.2.0-dev.4 [Pipeline] echo [2022-01-10T15:22:29.082Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:29.375Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-10T15:22:29.382Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-10T15:22:29.402Z] $ docker stop --time=1 0a71a68875892acb40300f7b8d4c4b6740a165a0a822a558916e48e055645d06 [2022-01-10T15:22:30.596Z] $ docker rm -f 0a71a68875892acb40300f7b8d4c4b6740a165a0a822a558916e48e055645d06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-10T15:22:31.023Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T15:22:31.023Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:31.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:22:31.330Z] . [Pipeline] withDockerContainer [2022-01-10T15:22:31.392Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:22:31.431Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T15:22:31.800Z] $ docker top 20b35baa72369c245b925d1a7de47aa21a672a1ba6f6f695d38e9138803a2227 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T15:22:31.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:22:31.901Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:22:32.020Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:22:32.021Z] $ docker exec 20b35baa72369c245b925d1a7de47aa21a672a1ba6f6f695d38e9138803a2227 ssh-agent [2022-01-10T15:22:32.202Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIkkDOE/agent.13 [2022-01-10T15:22:32.202Z] SSH_AGENT_PID=18 [2022-01-10T15:22:32.207Z] Running ssh-add (command line suppressed) [2022-01-10T15:22:32.329Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8325704705772453286.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8325704705772453286.key) [2022-01-10T15:22:32.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:22:32.644Z] + git semver bump pre [2022-01-10T15:22:32.644Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T15:22:32.644Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-10T15:22:32.644Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:22:32.644Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T15:22:32.644Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T15:22:32.644Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T15:22:32.644Z] # $SEMVER_BRANCH = main [2022-01-10T15:22:32.644Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-10T15:22:32.644Z] 2.2.0-dev.5 [Pipeline] } [2022-01-10T15:22:32.653Z] $ docker exec --env ******** --env ******** 20b35baa72369c245b925d1a7de47aa21a672a1ba6f6f695d38e9138803a2227 ssh-agent -k [2022-01-10T15:22:32.763Z] unset SSH_AUTH_SOCK; [2022-01-10T15:22:32.764Z] unset SSH_AGENT_PID; [2022-01-10T15:22:32.764Z] echo Agent pid 18 killed; [2022-01-10T15:22:32.773Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T15:22:33.095Z] + git semver [Pipeline] } [2022-01-10T15:22:33.114Z] $ docker stop --time=1 20b35baa72369c245b925d1a7de47aa21a672a1ba6f6f695d38e9138803a2227 [2022-01-10T15:22:34.300Z] $ docker rm -f 20b35baa72369c245b925d1a7de47aa21a672a1ba6f6f695d38e9138803a2227 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T15:22:34.653Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T15:22:34.653Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:34.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T15:22:34.959Z] . [Pipeline] withDockerContainer [2022-01-10T15:22:35.027Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:22:35.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T15:22:35.396Z] $ docker top 4f67498cc9ebd83cf018e48aaa261a953f2d662673199b6c109da00473592d69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T15:22:35.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T15:22:35.485Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T15:22:35.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T15:22:35.588Z] $ docker exec 4f67498cc9ebd83cf018e48aaa261a953f2d662673199b6c109da00473592d69 ssh-agent [2022-01-10T15:22:35.689Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPFnbIP/agent.14 [2022-01-10T15:22:35.689Z] SSH_AGENT_PID=20 [2022-01-10T15:22:35.694Z] Running ssh-add (command line suppressed) [2022-01-10T15:22:35.777Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6462696384476308689.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6462696384476308689.key) [2022-01-10T15:22:35.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T15:22:36.081Z] + git semver push [2022-01-10T15:22:36.081Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T15:22:36.081Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-10T15:22:36.081Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:22:36.081Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T15:22:36.081Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T15:22:36.081Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T15:22:36.081Z] # $SEMVER_BRANCH = main [2022-01-10T15:22:36.081Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-10T15:22:38.007Z] $ docker exec --env ******** --env ******** 4f67498cc9ebd83cf018e48aaa261a953f2d662673199b6c109da00473592d69 ssh-agent -k [2022-01-10T15:22:38.089Z] unset SSH_AUTH_SOCK; [2022-01-10T15:22:38.089Z] unset SSH_AGENT_PID; [2022-01-10T15:22:38.089Z] echo Agent pid 20 killed; [2022-01-10T15:22:38.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T15:22:38.409Z] + git semver [Pipeline] } [2022-01-10T15:22:38.422Z] $ docker stop --time=1 4f67498cc9ebd83cf018e48aaa261a953f2d662673199b6c109da00473592d69 [2022-01-10T15:22:39.606Z] $ docker rm -f 4f67498cc9ebd83cf018e48aaa261a953f2d662673199b6c109da00473592d69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-10T15:22:40.224Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:40.519Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:41.089Z] ---> package-listing.sh [2022-01-10T15:22:41.089Z] ++ facter osfamily [2022-01-10T15:22:41.089Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-10T15:22:41.350Z] + OS_FAMILY=redhat [2022-01-10T15:22:41.350Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-10T15:22:41.350Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-10T15:22:41.350Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-10T15:22:41.350Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-10T15:22:41.350Z] + PACKAGES=/tmp/packages_start.txt [2022-01-10T15:22:41.350Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-10T15:22:41.350Z] + PACKAGES=/tmp/packages_end.txt [2022-01-10T15:22:41.350Z] + case "${OS_FAMILY}" in [2022-01-10T15:22:41.350Z] + rpm -qa [2022-01-10T15:22:41.350Z] + sort [2022-01-10T15:22:41.921Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-10T15:22:41.921Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-10T15:22:41.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-10T15:22:41.921Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-10T15:22:41.921Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-10T15:22:41.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-01-10T15:22:41.933Z] 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 [2022-01-10T15:22:42.215Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:42.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:22:42.771Z] [2022-01-10T15:22:42.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T15:22:43.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:22:43.079Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T15:22:43.079Z] b4d181a07f80: Pulling fs layer [2022-01-10T15:22:43.079Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T15:22:43.079Z] ed53099fbce6: Pulling fs layer [2022-01-10T15:22:43.079Z] dc539afda2c1: Pulling fs layer [2022-01-10T15:22:43.079Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T15:22:43.079Z] 9065ff56babe: Pulling fs layer [2022-01-10T15:22:43.079Z] d287ab97295c: Pulling fs layer [2022-01-10T15:22:43.079Z] 77bc0d833cb6: Waiting [2022-01-10T15:22:43.079Z] 9065ff56babe: Waiting [2022-01-10T15:22:43.079Z] d287ab97295c: Waiting [2022-01-10T15:22:43.079Z] dc539afda2c1: Waiting [2022-01-10T15:22:43.079Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T15:22:43.079Z] a1111a8f2ec3: Download complete [2022-01-10T15:22:43.079Z] dc539afda2c1: Verifying Checksum [2022-01-10T15:22:43.079Z] dc539afda2c1: Download complete [2022-01-10T15:22:43.079Z] ed53099fbce6: Verifying Checksum [2022-01-10T15:22:43.079Z] ed53099fbce6: Download complete [2022-01-10T15:22:43.079Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T15:22:43.079Z] 77bc0d833cb6: Download complete [2022-01-10T15:22:43.079Z] 9065ff56babe: Verifying Checksum [2022-01-10T15:22:43.079Z] 9065ff56babe: Download complete [2022-01-10T15:22:43.349Z] b4d181a07f80: Verifying Checksum [2022-01-10T15:22:43.349Z] b4d181a07f80: Download complete [2022-01-10T15:22:43.938Z] d287ab97295c: Verifying Checksum [2022-01-10T15:22:43.938Z] d287ab97295c: Download complete [2022-01-10T15:22:44.896Z] b4d181a07f80: Pull complete [2022-01-10T15:22:44.896Z] a1111a8f2ec3: Pull complete [2022-01-10T15:22:45.472Z] ed53099fbce6: Pull complete [2022-01-10T15:22:45.472Z] dc539afda2c1: Pull complete [2022-01-10T15:22:45.739Z] 77bc0d833cb6: Pull complete [2022-01-10T15:22:45.739Z] 9065ff56babe: Pull complete [2022-01-10T15:22:51.075Z] d287ab97295c: Pull complete [2022-01-10T15:22:51.075Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T15:22:51.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T15:22:51.075Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T15:22:51.144Z] prd-centos7-docker-4c-2g-1128 does not seem to be running inside a container [2022-01-10T15:22:51.176Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T15:22:53.201Z] $ docker top 545fd976347f8f9704b55f6d9e9ccb5015b6b352093434777bd29ba90ba0d199 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T15:22:53.559Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-10T15:22:53.857Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-10T15:22:54.157Z] + ls /var/log/sa-host [2022-01-10T15:22:54.157Z] + sadf -c /var/log/sa-host/sa10 [2022-01-10T15:22:54.157Z] file_magic: OK [2022-01-10T15:22:54.157Z] HZ: Using current value: 100 [2022-01-10T15:22:54.157Z] file_header: OK [2022-01-10T15:22:54.157Z] 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 [2022-01-10T15:22:54.157Z] Statistics: [2022-01-10T15:22:54.157Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T15:22:54.157Z] File successfully converted to sysstat format version 12.0.3 [2022-01-10T15:22:54.157Z] + sadf -c /var/log/sa-host/sa17 [2022-01-10T15:22:54.157Z] file_magic: OK [2022-01-10T15:22:54.157Z] HZ: Using current value: 100 [2022-01-10T15:22:54.157Z] file_header: OK [2022-01-10T15:22:54.157Z] 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 [2022-01-10T15:22:54.157Z] Statistics: [2022-01-10T15:22:54.157Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T15:22:54.157Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T15:22:54.420Z] provisioning config files... [2022-01-10T15:22:54.432Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1800104611742375536tmp [Pipeline] { [Pipeline] echo [2022-01-10T15:22:54.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:54.744Z] ---> create-netrc.sh [Pipeline] } [2022-01-10T15:22:54.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:55.096Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-10T15:22:55.107Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:55.407Z] ---> sudo-logs.sh [2022-01-10T15:22:55.407Z] Archiving 'sudo' log.. [2022-01-10T15:22:55.407Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1128.novalocal: Name or service not known [2022-01-10T15:22:55.407Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1128.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-10T15:22:55.429Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:55.741Z] ---> job-cost.sh [2022-01-10T15:22:55.741Z] lf-activate-venv: SKIPPING [2022-01-10T15:22:55.741Z] DEBUG: total: 0.10999999940395355 [2022-01-10T15:22:55.741Z] INFO: Retrieving Stack Cost... [2022-01-10T15:22:56.002Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T15:22:56.263Z] INFO: Archiving Costs [Pipeline] echo [2022-01-10T15:22:56.277Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T15:22:56.569Z] ---> logs-deploy.sh [2022-01-10T15:22:56.569Z] lf-activate-venv: SKIPPING [2022-01-10T15:22:56.569Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/36 [2022-01-10T15:22:56.569Z] INFO: archiving workspace using pattern(s): [2022-01-10T15:22:57.142Z] Archives upload complete. [2022-01-10T15:22:57.403Z] INFO: archiving logs to Nexus