Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 940e3e0006af72bcfe711ffd8de496c555aa02b6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2203114215185607915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2699833396089380697.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7053020281163019380.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4446181553433290628.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7112574932183721618.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-751’ Running on prd-centos7-docker-4c-2g-754 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh2989581489326467636.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 940e3e0006af72bcfe711ffd8de496c555aa02b6 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" > git rev-list --no-walk 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:11:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:11:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:11:34 ========================================================= 05:11:34 EdgeX Global Pipelines Version Info 05:11:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:11:35 ------------------- 05:11:35 stable info: 05:11:35 ------------------- 05:11:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:11:35 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 05:11:35 Message: update stable to v1.0.217 05:11:36 ------------------- 05:11:36 experimental info: 05:11:36 ------------------- 05:11:36 Commited By: **** collab-it+edgex@linuxfoundation.org 05:11:36 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 05:11:36 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 940e3e0 [Pipeline] echo 05:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:36 provisioning config files... 05:11:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5046556569767352170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:36 ---> docker-login.sh 05:11:36 nexus3.edgexfoundry.org:10001 05:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:37 Configure a credential helper to remove this warning. See 05:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:37 05:11:37 Login Succeeded 05:11:37 nexus3.edgexfoundry.org:10002 05:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:37 Configure a credential helper to remove this warning. See 05:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:37 05:11:37 Login Succeeded 05:11:37 nexus3.edgexfoundry.org:10003 05:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:37 Configure a credential helper to remove this warning. See 05:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:37 05:11:37 Login Succeeded 05:11:37 nexus3.edgexfoundry.org:10004 05:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:37 Configure a credential helper to remove this warning. See 05:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:37 05:11:37 Login Succeeded 05:11:37 docker.io 05:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:37 Configure a credential helper to remove this warning. See 05:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:37 05:11:37 Login Succeeded 05:11:37 ---> docker-login.sh ends [Pipeline] } 05:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:11:38 + git rev-list -1 --merges 940e3e0006af72bcfe711ffd8de496c555aa02b6~1..940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo 05:11:38 -----------> git rev-list -1 --merges 940e3e0006af72bcfe711ffd8de496c555aa02b6~1..940e3e0006af72bcfe711ffd8de496c555aa02b6 940e3e0006af72bcfe711ffd8de496c555aa02b6 05:11:38 940e3e0006af72bcfe711ffd8de496c555aa02b6 [false] [Pipeline] sh 05:11:38 + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo 05:11:38 ========================================================= 05:11:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:11:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:38 + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] echo 05:11:38 [semverPrep] GIT_COMMIT: 940e3e0006af72bcfe711ffd8de496c555aa02b6, Commit Message: Merge pull request #1072 from lenny-intel/no-win-zmq [Pipeline] echo 05:11:38 [semverPrep] This is not a build commit. [Pipeline] sh 05:11:39 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:11:39 + grep -v github /etc/ssh/ssh_known_hosts 05:11:39 + '[' -e /tmp/ssh_known_hosts ']' 05:11:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:11:39 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 05:11:39 + sudo tee -a /etc/ssh/ssh_known_hosts 05:11:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:11:39 05:11:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:11:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:11:39 latest: Pulling from edgex-devops/git-semver 05:11:39 a0d0a0d46f8b: Pulling fs layer 05:11:39 3e5f54012d9b: Pulling fs layer 05:11:39 4c7163046ea9: Pulling fs layer 05:11:39 0c2d73faf560: Pulling fs layer 05:11:39 0c2d73faf560: Waiting 05:11:39 3e5f54012d9b: Verifying Checksum 05:11:39 3e5f54012d9b: Download complete 05:11:39 a0d0a0d46f8b: Verifying Checksum 05:11:39 a0d0a0d46f8b: Download complete 05:11:39 4c7163046ea9: Verifying Checksum 05:11:39 4c7163046ea9: Download complete 05:11:39 0c2d73faf560: Verifying Checksum 05:11:39 0c2d73faf560: Download complete 05:11:40 a0d0a0d46f8b: Pull complete 05:11:40 3e5f54012d9b: Pull complete 05:11:40 4c7163046ea9: Pull complete 05:11:40 0c2d73faf560: Pull complete 05:11:40 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:11:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:11:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:11:40 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:11:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:11:41 $ docker top ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:11:41 [ssh-agent] Looking for ssh-agent implementation... 05:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:11:41 $ docker exec ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent 05:11:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdOgNDO/agent.13 05:11:41 SSH_AGENT_PID=19 05:11:41 Running ssh-add (command line suppressed) 05:11:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9006513713671693097.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9006513713671693097.key) 05:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:11:42 + git tag --points-at HEAD [Pipeline] } 05:11:42 $ docker exec --env ******** --env ******** ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent -k 05:11:42 unset SSH_AUTH_SOCK; 05:11:42 unset SSH_AGENT_PID; 05:11:42 echo Agent pid 19 killed; 05:11:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:11:42 [ssh-agent] Looking for ssh-agent implementation... 05:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:11:42 $ docker exec ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent 05:11:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDcNjj/agent.53 05:11:42 SSH_AGENT_PID=60 05:11:42 Running ssh-add (command line suppressed) 05:11:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2331905532980854398.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2331905532980854398.key) 05:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:11:42 + git semver init 05:11:42 # -> Open(): unable to determine branch for HEAD 05:11:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 05:11:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 05:11:42 # $SEMVER_REMOTE_NAME = origin 05:11:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:11:42 # $SEMVER_USER_NAME = edgex-jenkins 05:11:42 # $SEMVER_BRANCH = main 05:11:42 # $SEMVER_TEMP = /tmp/semver-761151502 05:11:42 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:11:46 # '/tmp/semver-761151502' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 05:11:46 # -> Force: false 05:11:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 05:11:46 $ docker exec --env ******** --env ******** ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf ssh-agent -k 05:11:46 unset SSH_AUTH_SOCK; 05:11:46 unset SSH_AGENT_PID; 05:11:46 echo Agent pid 60 killed; 05:11:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:11:46 + git semver [Pipeline] } 05:11:46 $ docker stop --time=1 ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf 05:11:47 $ docker rm -f ab9c719909e2f19323529623ef1c5dac067cbb7b1e4346509274203ff65c45bf [Pipeline] // withDockerContainer [Pipeline] sh 05:11:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:11:48 Stashed 1 file(s) [Pipeline] echo 05:11:48 [edgeXSemver]: initialized semver on version 2.2.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 05:12:03 Still waiting to schedule task 05:12:03 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:12:03 Still waiting to schedule task 05:12:03 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-753’ 05:14:15 Running on prd-centos7-docker-4c-2g-755 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:14:15 Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout 05:14:15 The recommended git tool is: git 05:14:17 using credential edgex-jenkins-ssh 05:14:17 Cloning the remote Git repository 05:14:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:14:17 > git init /w/workspace/device-sdk-go/34 # timeout=10 05:14:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:14:17 > git --version # timeout=10 05:14:17 > git --version # 'git version 2.24.4' 05:14:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:14:17 [INFO] Currently running in a labeled security context 05:14:17 [INFO] Currently SELinux is 'enforcing' on the host 05:14:17 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/34@tmp/jenkins-gitclient-ssh1581115505683197636.key 05:14:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:22 Avoid second fetch 05:14:22 Checking out Revision 940e3e0006af72bcfe711ffd8de496c555aa02b6 (main) 05:14:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:14:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:14:21 > git config core.sparsecheckout # timeout=10 05:14:21 > git checkout -f 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 05:14:25 Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:14:26 provisioning config files... 05:14:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config333862976596247672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:14:26 ---> docker-login.sh 05:14:26 nexus3.edgexfoundry.org:10001 05:14:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:27 Configure a credential helper to remove this warning. See 05:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:27 05:14:27 Login Succeeded 05:14:27 nexus3.edgexfoundry.org:10002 05:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:27 Configure a credential helper to remove this warning. See 05:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:27 05:14:27 Login Succeeded 05:14:27 nexus3.edgexfoundry.org:10003 05:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:27 Configure a credential helper to remove this warning. See 05:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:27 05:14:27 Login Succeeded 05:14:27 nexus3.edgexfoundry.org:10004 05:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:27 Configure a credential helper to remove this warning. See 05:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:27 05:14:27 Login Succeeded 05:14:27 docker.io 05:14:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:14:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:14:27 Configure a credential helper to remove this warning. See 05:14:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:14:27 05:14:27 Login Succeeded 05:14:27 ---> docker-login.sh ends [Pipeline] } 05:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:14:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:14:28 ========================================================= 05:14:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:14:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:14:28 + 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 . 05:14:28 Sending build context to Docker daemon 4.964MB 05:14:28 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 05:14:28 Step 2/10 : FROM ${BASE} AS builder 05:14:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:14:28 a0d0a0d46f8b: Pulling fs layer 05:14:28 31adcdaf11c8: Pulling fs layer 05:14:28 b8b176561691: Pulling fs layer 05:14:28 4527c011a84f: Pulling fs layer 05:14:28 5d74067f8e1e: Pulling fs layer 05:14:28 e0aca202a116: Pulling fs layer 05:14:28 3a43be97a3b4: Pulling fs layer 05:14:28 34cad66bf833: Pulling fs layer 05:14:28 b4e3c513aaa6: Pulling fs layer 05:14:28 4527c011a84f: Waiting 05:14:28 5d74067f8e1e: Waiting 05:14:28 e0aca202a116: Waiting 05:14:28 3a43be97a3b4: Waiting 05:14:28 34cad66bf833: Waiting 05:14:28 b4e3c513aaa6: Waiting 05:14:28 b8b176561691: Verifying Checksum 05:14:28 b8b176561691: Download complete 05:14:28 31adcdaf11c8: Verifying Checksum 05:14:28 31adcdaf11c8: Download complete 05:14:28 5d74067f8e1e: Verifying Checksum 05:14:28 5d74067f8e1e: Download complete 05:14:28 e0aca202a116: Verifying Checksum 05:14:28 e0aca202a116: Download complete 05:14:28 a0d0a0d46f8b: Verifying Checksum 05:14:28 a0d0a0d46f8b: Download complete 05:14:28 3a43be97a3b4: Verifying Checksum 05:14:28 3a43be97a3b4: Download complete 05:14:28 34cad66bf833: Verifying Checksum 05:14:28 34cad66bf833: Download complete 05:14:28 a0d0a0d46f8b: Pull complete 05:14:28 31adcdaf11c8: Pull complete 05:14:29 b8b176561691: Pull complete 05:14:29 4527c011a84f: Verifying Checksum 05:14:29 4527c011a84f: Download complete 05:14:29 b4e3c513aaa6: Verifying Checksum 05:14:29 b4e3c513aaa6: Download complete 05:14:33 4527c011a84f: Pull complete 05:14:33 5d74067f8e1e: Pull complete 05:14:33 e0aca202a116: Pull complete 05:14:33 3a43be97a3b4: Pull complete 05:14:33 34cad66bf833: Pull complete 05:14:35 b4e3c513aaa6: Pull complete 05:14:35 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 05:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:14:35 ---> 9f6097aaca64 05:14:35 Step 3/10 : ARG MAKE=make build 05:14:37 ---> Running in fadd7d8cfb9c 05:14:37 Removing intermediate container fadd7d8cfb9c 05:14:37 ---> fbe81a134843 05:14:37 Step 4/10 : WORKDIR /device-sdk-go 05:14:37 ---> Running in 1c036bfed730 05:14:37 Removing intermediate container 1c036bfed730 05:14:37 ---> 7100a22bf619 05:14:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:14:37 ---> Running in fdc1b9ccb02f 05:14:37 Removing intermediate container fdc1b9ccb02f 05:14:37 ---> d4a1024458b6 05:14:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:14:38 ---> Running in f2e16781edeb 05:14:38 Removing intermediate container f2e16781edeb 05:14:38 ---> 41cf07e3e34c 05:14:38 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:14:38 ---> Running in ede4d2cf8bfb 05:14:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:14:39 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:14:39 OK: 220 MiB in 52 packages 05:14:40 Removing intermediate container ede4d2cf8bfb 05:14:40 ---> 3d1a4a2f8a32 05:14:40 Step 8/10 : COPY . . 05:14:40 ---> 258c52f466e4 05:14:40 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:14:40 ---> Running in fad4236a907c 05:15:12 Removing intermediate container fad4236a907c 05:15:12 ---> cb0b6cc53306 05:15:12 Step 10/10 : RUN ${MAKE} 05:15:12 ---> Running in dd46c07ec856 05:15:12 noop 05:15:12 Removing intermediate container dd46c07ec856 05:15:12 ---> bb20208ffd60 05:15:12 Successfully built bb20208ffd60 05:15:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:15:13 + docker inspect -f . ci-base-image-x86_64 05:15:13 . [Pipeline] withDockerContainer 05:15:13 prd-centos7-docker-4c-2g-755 does not seem to be running inside a container 05:15:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:13 $ docker top dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 -eo pid,comm [Pipeline] { [Pipeline] sh 05:15:13 + go version 05:15:13 go version go1.16.8 linux/amd64 [Pipeline] } 05:15:13 $ docker stop --time=1 dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 05:15:15 $ docker rm -f dfc04216547cd44456213e7d58115dfb9789926482bf484ac66092d80ba33e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:15:15 + docker inspect -f . ci-base-image-x86_64 05:15:15 . [Pipeline] withDockerContainer 05:15:15 prd-centos7-docker-4c-2g-755 does not seem to be running inside a container 05:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:15:16 $ docker top 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:15:16 + make test 05:15:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:15:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:15:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:15:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:15:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:15:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-756 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:15:44 Running in /w/workspace/device-sdk-go/34 [Pipeline] { [Pipeline] checkout 05:15:44 The recommended git tool is: git 05:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.3% of statements 05:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 05:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements 05:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements 05:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:15:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements 05:15:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements 05:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:15:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:15:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements 05:15:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.808s coverage: 89.2% of statements 05:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:15:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements 05:15:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:15:48 GO111MODULE=on go vet ./... 05:15:50 using credential edgex-jenkins-ssh 05:15:50 Cloning the remote Git repository 05:15:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:15:50 > git init /w/workspace/device-sdk-go/34 # timeout=10 05:15:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:15:50 > git --version # timeout=10 05:15:50 > git --version # 'git version 2.17.1' 05:15:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:55 Avoid second fetch 05:15:55 Checking out Revision 940e3e0006af72bcfe711ffd8de496c555aa02b6 (main) 05:15:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:15:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:55 > git config core.sparsecheckout # timeout=10 05:15:55 > git checkout -f 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 05:15:59 Commit message: "Merge pull request #1072 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:16:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:16:00 Dload Upload Total Spent Left Speed 05:16:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 40632 0 --:--:-- --:--:-- --:--:-- 40632 [Pipeline] sh 05:16:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:16:01 + sudo tee /etc/docker/daemon.new 05:16:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:16:01 { 05:16:01 "registry-mirrors": [ 05:16:01 "https://nexus3.edgexfoundry.org:10001" 05:16:01 ], 05:16:01 "bip": "10.250.0.254/24", 05:16:01 "hosts": [ 05:16:01 "tcp://0.0.0.0:5555", 05:16:01 "unix:///var/run/docker.sock" 05:16:01 ], 05:16:01 "mtu": 1458, 05:16:01 "selinux-enabled": true, 05:16:01 "seccomp-profile": "/etc/docker/seccomp.json" 05:16:01 } [Pipeline] sh 05:16:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:16:01 + sudo service docker restart 05:16:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:16:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:16:06 ./bin/test-attribution-txt.sh [Pipeline] echo 05:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:16:06 $ docker stop --time=1 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec 05:16:08 $ docker rm -f 5286fa801a70a5f1c6fda1b3b3d151c8c1c324e2943129b963d89f1191bf71ec [Pipeline] // withDockerContainer [Pipeline] sh 05:16:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:16:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:16:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:16:10 + ls -al . 05:16:10 total 268 05:16:10 drwxrwxr-x. 10 jenkins jenkins 4096 Nov 30 05:16 . 05:16:10 drwxrwxr-x. 4 jenkins jenkins 30 Nov 30 05:14 .. 05:16:10 drwxrwxr-x. 2 jenkins jenkins 37 Nov 30 05:14 bin 05:16:10 -rw-rw-r--. 1 jenkins jenkins 26321 Nov 30 05:14 CHANGELOG.md 05:16:10 -rw-r--r--. 1 jenkins jenkins 128369 Nov 30 05:15 coverage.out 05:16:10 -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 05:14 .dockerignore 05:16:10 drwxrwxr-x. 5 jenkins jenkins 62 Nov 30 05:14 example 05:16:10 drwxrwxr-x. 8 jenkins jenkins 162 Nov 30 05:14 .git 05:16:10 drwxrwxr-x. 3 jenkins jenkins 125 Nov 30 05:14 .github 05:16:10 -rw-rw-r--. 1 jenkins jenkins 131 Nov 30 05:14 .gitignore 05:16:10 -rw-rw-r--. 1 jenkins jenkins 582 Nov 30 05:14 go.mod 05:16:10 -rw-rw-r--. 1 jenkins jenkins 49492 Nov 30 05:14 go.sum 05:16:10 -rw-rw-r--. 1 jenkins jenkins 677 Nov 30 05:14 GOVERNANCE.md 05:16:10 drwxrwxr-x. 15 jenkins jenkins 224 Nov 30 05:14 internal 05:16:10 -rw-rw-r--. 1 jenkins jenkins 880 Nov 30 05:14 Jenkinsfile 05:16:10 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 30 05:14 LICENSE 05:16:10 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 30 05:14 Makefile 05:16:10 drwxrwxr-x. 3 jenkins jenkins 16 Nov 30 05:14 openapi 05:16:10 -rw-rw-r--. 1 jenkins jenkins 619 Nov 30 05:14 OWNERS.md 05:16:10 drwxrwxr-x. 5 jenkins jenkins 50 Nov 30 05:14 pkg 05:16:10 -rw-rw-r--. 1 jenkins jenkins 4881 Nov 30 05:14 README.md 05:16:10 drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 05:14 snap 05:16:10 -rw-rw-r--. 1 jenkins jenkins 11 Nov 30 05:11 VERSION 05:16:10 -rw-rw-r--. 1 jenkins jenkins 222 Nov 30 05:14 version.go [Pipeline] isUnix [Pipeline] sh 05:16:10 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 --label arch=amd64 --label version=2.2.0-dev.2 . 05:16:10 Sending build context to Docker daemon 5.093MB 05:16:10 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 05:16:10 Step 2/24 : FROM ${BASE} AS builder 05:16:10 ---> bb20208ffd60 05:16:10 Step 3/24 : ARG MAKE=make build 05:16:10 ---> Running in 4b803c4c1dc2 05:16:10 Removing intermediate container 4b803c4c1dc2 05:16:10 ---> 8d12f3ba131e 05:16:10 Step 4/24 : WORKDIR /device-sdk-go 05:16:10 ---> Running in ddebb3e991f9 05:16:10 Removing intermediate container ddebb3e991f9 05:16:10 ---> 9ca93bf4c965 05:16:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:16:10 ---> Running in 040acebfae9a 05:16:11 Removing intermediate container 040acebfae9a 05:16:11 ---> 6bcdbb9ffd0b 05:16:11 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:11 ---> Running in 670c722af201 05:16:11 Removing intermediate container 670c722af201 05:16:11 ---> 0ab1fa1d9acd 05:16:11 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:16:11 ---> Running in 26cfe557a284 05:16:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:16:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:16:12 OK: 220 MiB in 52 packages 05:16:13 Removing intermediate container 26cfe557a284 05:16:13 ---> 4b60051651fc 05:16:13 Step 8/24 : COPY . . 05:16:13 ---> 530afa92f44e 05:16:13 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:13 ---> Running in 320e5c69195c 05:16:14 Removing intermediate container 320e5c69195c 05:16:14 ---> 00e542cead44 05:16:14 Step 10/24 : RUN ${MAKE} 05:16:14 ---> Running in fd399a827989 05:16:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:16:20 provisioning config files... 05:16:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/34@tmp/config6499243163941144402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:20 ---> docker-login.sh 05:16:20 nexus3.edgexfoundry.org:10001 05:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:21 Configure a credential helper to remove this warning. See 05:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:21 05:16:21 Login Succeeded 05:16:21 nexus3.edgexfoundry.org:10002 05:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:22 Configure a credential helper to remove this warning. See 05:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:22 05:16:22 Login Succeeded 05:16:22 nexus3.edgexfoundry.org:10003 05:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:22 Configure a credential helper to remove this warning. See 05:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:22 05:16:22 Login Succeeded 05:16:22 nexus3.edgexfoundry.org:10004 05:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:23 Configure a credential helper to remove this warning. See 05:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:23 05:16:23 Login Succeeded 05:16:23 docker.io 05:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:16:24 Configure a credential helper to remove this warning. See 05:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:16:24 05:16:24 Login Succeeded 05:16:24 ---> docker-login.sh ends [Pipeline] } 05:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv 05:16:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] unstash [Pipeline] echo 05:16:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:16:24 ========================================================= 05:16:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:16:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:16:24 + 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 . 05:16:25 Removing intermediate container fd399a827989 05:16:25 ---> 443681ca613a 05:16:25 Step 11/24 : FROM alpine:3.14 05:16:25 Sending build context to Docker daemon 4.953MB 05:16:25 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 05:16:25 Step 2/10 : FROM ${BASE} AS builder 05:16:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:16:25 552d1f2373af: Pulling fs layer 05:16:25 ea3f2d53f512: Pulling fs layer 05:16:25 9e70ebbbe112: Pulling fs layer 05:16:25 7a9cfe048b4a: Pulling fs layer 05:16:25 72dc09318566: Pulling fs layer 05:16:25 f4f7b4309257: Pulling fs layer 05:16:25 0ac9a79272e3: Pulling fs layer 05:16:25 b78e95d17946: Pulling fs layer 05:16:25 7a9cfe048b4a: Waiting 05:16:25 72dc09318566: Waiting 05:16:25 f4f7b4309257: Waiting 05:16:25 0ac9a79272e3: Waiting 05:16:25 b78e95d17946: Waiting 05:16:25 9e70ebbbe112: Verifying Checksum 05:16:25 9e70ebbbe112: Download complete 05:16:25 ea3f2d53f512: Download complete 05:16:25 72dc09318566: Verifying Checksum 05:16:25 72dc09318566: Download complete 05:16:25 f4f7b4309257: Verifying Checksum 05:16:25 f4f7b4309257: Download complete 05:16:25 552d1f2373af: Verifying Checksum 05:16:25 552d1f2373af: Download complete 05:16:25 0ac9a79272e3: Verifying Checksum 05:16:25 0ac9a79272e3: Download complete 05:16:25 3.14: Pulling from library/alpine 05:16:26 97518928ae5f: Pulling fs layer 05:16:26 97518928ae5f: Verifying Checksum 05:16:26 97518928ae5f: Download complete 05:16:26 97518928ae5f: Pull complete 05:16:26 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:16:26 Status: Downloaded newer image for alpine:3.14 05:16:26 ---> 0a97eee8041e 05:16:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:16:26 552d1f2373af: Pull complete 05:16:26 ---> Running in 6460066c2844 05:16:26 Removing intermediate container 6460066c2844 05:16:26 ---> d8ffa6ff537b 05:16:26 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:26 ---> Running in 3b9fa3a01a09 05:16:27 Removing intermediate container 3b9fa3a01a09 05:16:27 ---> 24c44996eeec 05:16:27 Step 14/24 : RUN apk add --update --no-cache zeromq 05:16:27 ---> Running in 5417c93f2feb 05:16:27 ea3f2d53f512: Pull complete 05:16:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:16:27 9e70ebbbe112: Pull complete 05:16:27 b78e95d17946: Verifying Checksum 05:16:27 b78e95d17946: Download complete 05:16:28 7a9cfe048b4a: Verifying Checksum 05:16:28 7a9cfe048b4a: Download complete 05:16:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:16:28 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:16:28 (2/5) Installing libsodium (1.0.18-r0) 05:16:28 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:16:28 (4/5) Installing libzmq (4.3.4-r0) 05:16:28 (5/5) Installing zeromq (4.3.4-r0) 05:16:28 Executing busybox-1.33.1-r6.trigger 05:16:28 OK: 8 MiB in 19 packages 05:16:29 Removing intermediate container 5417c93f2feb 05:16:29 ---> 9c58e1b2ddb2 05:16:29 Step 15/24 : WORKDIR / 05:16:29 ---> Running in 3b034fe0bead 05:16:29 Removing intermediate container 3b034fe0bead 05:16:29 ---> cd4a9a652c19 05:16:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:16:29 ---> ce4228ff3a5d 05:16:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:16:30 ---> 10df04ffffdb 05:16:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:16:30 ---> 6b66850c33fe 05:16:30 Step 19/24 : EXPOSE 59999 05:16:30 ---> Running in 39a9b4d7f3de 05:16:30 Removing intermediate container 39a9b4d7f3de 05:16:30 ---> a98d9820d4a0 05:16:30 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:16:30 ---> Running in 8d99efc0a9fb 05:16:30 Removing intermediate container 8d99efc0a9fb 05:16:30 ---> abbf8cf13e08 05:16:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:16:30 ---> Running in 3be8fdf11f1d 05:16:30 Removing intermediate container 3be8fdf11f1d 05:16:30 ---> bc37997fc9d0 05:16:30 Step 22/24 : LABEL arch=amd64 05:16:30 ---> Running in bb5ccff4529f 05:16:30 Removing intermediate container bb5ccff4529f 05:16:30 ---> 30901052f8cb 05:16:30 Step 23/24 : LABEL git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 05:16:30 ---> Running in aa1823049a4f 05:16:30 Removing intermediate container aa1823049a4f 05:16:30 ---> 25ee6a0dea2f 05:16:30 Step 24/24 : LABEL version=2.2.0-dev.2 05:16:30 ---> Running in 5fbc3935faca 05:16:30 Removing intermediate container 5fbc3935faca 05:16:30 ---> 25436b012154 05:16:30 [Warning] One or more build-args [ARCH] were not consumed 05:16:30 Successfully built 25436b012154 05:16:30 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 05:16:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:31 05:16:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:16:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:31 latest: Pulling from edgex-lftools-log-publisher 05:16:31 b4d181a07f80: Pulling fs layer 05:16:31 a1111a8f2ec3: Pulling fs layer 05:16:31 ed53099fbce6: Pulling fs layer 05:16:31 dc539afda2c1: Pulling fs layer 05:16:31 77bc0d833cb6: Pulling fs layer 05:16:31 9065ff56babe: Pulling fs layer 05:16:31 d287ab97295c: Pulling fs layer 05:16:31 dc539afda2c1: Waiting 05:16:31 77bc0d833cb6: Waiting 05:16:31 9065ff56babe: Waiting 05:16:31 d287ab97295c: Waiting 05:16:31 a1111a8f2ec3: Verifying Checksum 05:16:31 a1111a8f2ec3: Download complete 05:16:31 dc539afda2c1: Verifying Checksum 05:16:31 dc539afda2c1: Download complete 05:16:32 77bc0d833cb6: Verifying Checksum 05:16:32 77bc0d833cb6: Download complete 05:16:32 9065ff56babe: Verifying Checksum 05:16:32 9065ff56babe: Download complete 05:16:32 ed53099fbce6: Verifying Checksum 05:16:32 ed53099fbce6: Download complete 05:16:32 b4d181a07f80: Verifying Checksum 05:16:32 b4d181a07f80: Download complete 05:16:32 d287ab97295c: Verifying Checksum 05:16:32 d287ab97295c: Download complete 05:16:33 b4d181a07f80: Pull complete 05:16:33 a1111a8f2ec3: Pull complete 05:16:34 ed53099fbce6: Pull complete 05:16:34 dc539afda2c1: Pull complete 05:16:34 77bc0d833cb6: Pull complete 05:16:34 9065ff56babe: Pull complete 05:16:38 7a9cfe048b4a: Pull complete 05:16:38 72dc09318566: Pull complete 05:16:39 f4f7b4309257: Pull complete 05:16:39 0ac9a79272e3: Pull complete 05:16:40 d287ab97295c: Pull complete 05:16:40 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:16:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:16:40 prd-centos7-docker-4c-2g-755 does not seem to be running inside a container 05:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:16:43 $ docker top c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:16:43 ---> job-cost.sh 05:16:43 lf-activate-venv: SKIPPING 05:16:43 INFO: No Stack... 05:16:43 INFO: Retrieving Pricing Info for: v3-standard-2 05:16:44 INFO: Archiving Costs [Pipeline] sh 05:16:44 + cat /w/workspace/device-sdk-go/34/archives/cost.csv 05:16:44 + cut -d, -f6 [Pipeline] lock 05:16:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] 05:16:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] did not exist. Created. 05:16:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:16:44 + echo total: 0.05999999865889549 [Pipeline] stash 05:16:44 Stashed 1 file(s) [Pipeline] } 05:16:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 05:16:44 $ docker stop --time=1 c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 05:16:45 $ docker rm -f c5e21ab40e6c7dad47a27e539c5589b8191c3ae573991485ca81ccf25e7d3de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 05:16:46 b78e95d17946: Pull complete 05:16:46 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 05:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:16:46 ---> 8b459fc5aaf0 05:16:46 Step 3/10 : ARG MAKE=make build [Pipeline] // stage [Pipeline] } 05:16:47 ---> Running in 3073e2dea70f 05:16:47 Removing intermediate container 3073e2dea70f 05:16:47 ---> f29f2e11cfdc 05:16:47 Step 4/10 : WORKDIR /device-sdk-go 05:16:47 ---> Running in 9c6d2d0171c4 05:16:48 Removing intermediate container 9c6d2d0171c4 05:16:48 ---> 23006c7013f5 05:16:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:16:48 ---> Running in a970c6fac3ad 05:16:48 Removing intermediate container a970c6fac3ad 05:16:48 ---> eb995c3ac8c2 05:16:48 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:48 ---> Running in 2023586e8a37 05:16:50 Removing intermediate container 2023586e8a37 05:16:50 ---> c507687f6183 05:16:50 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:16:51 ---> Running in 4eaa4000ab6b 05:16:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:16:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:16:54 OK: 219 MiB in 52 packages 05:16:55 Removing intermediate container 4eaa4000ab6b 05:16:55 ---> 1143f389ff18 05:16:55 Step 8/10 : COPY . . 05:16:56 ---> aa260cca15e8 05:16:56 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:56 ---> Running in 1d6da76e491b 05:18:18 Removing intermediate container 1d6da76e491b 05:18:18 ---> 8cea88d0be25 05:18:18 Step 10/10 : RUN ${MAKE} 05:18:18 ---> Running in bdd9cb91de34 05:18:18 noop 05:18:18 Removing intermediate container bdd9cb91de34 05:18:18 ---> 30aa81a411e6 05:18:18 Successfully built 30aa81a411e6 05:18:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:18:18 + docker inspect -f . ci-base-image-arm64 05:18:18 . [Pipeline] withDockerContainer 05:18:18 prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 05:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:20 $ docker top abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 -eo pid,comm [Pipeline] { [Pipeline] sh 05:18:21 + go version 05:18:21 go version go1.16.8 linux/arm64 [Pipeline] } 05:18:21 $ docker stop --time=1 abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 05:18:23 $ docker rm -f abe5c5e8298f0030a7bd7b6604d787a0fe35c86a616a5d7402211a58dcd13296 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:18:23 + docker inspect -f . ci-base-image-arm64 05:18:23 . [Pipeline] withDockerContainer 05:18:24 prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 05:18:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:18:25 $ docker top 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:18:26 + make test 05:18:26 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:18:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:20:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:20:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:20:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.333s coverage: 23.3% of statements 05:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.225s coverage: 27.6% of statements 05:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.247s coverage: 78.9% of statements 05:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.200s coverage: 9.0% of statements 05:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.317s coverage: 28.7% of statements 05:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:20:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 83.3% of statements 05:20:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:20:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:20:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.376s coverage: 57.8% of statements 05:20:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.290s coverage: 89.2% of statements 05:20:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:20:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.191s coverage: 4.8% of statements 05:20:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:20:13 GO111MODULE=on go vet ./... 05:21:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:21:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:21:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:21:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:21:11 $ docker stop --time=1 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 05:21:13 $ docker rm -f 2b7dea9664d52fa48619fdfd5938a7b50f16f86079b0d082029b0d161e96f996 [Pipeline] // withDockerContainer [Pipeline] sh 05:21:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:14 Warning: overwriting stash ‘coverage-report’ 05:21:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:16 + ls -al . 05:21:16 total 304 05:21:16 drwxrwxr-x 10 jenkins jenkins 4096 Nov 30 05:21 . 05:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 05:15 .. 05:21:16 -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 05:15 .dockerignore 05:21:16 drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 05:15 .git 05:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 05:15 .github 05:21:16 -rw-rw-r-- 1 jenkins jenkins 131 Nov 30 05:15 .gitignore 05:21:16 -rw-rw-r-- 1 jenkins jenkins 26321 Nov 30 05:15 CHANGELOG.md 05:21:16 -rw-rw-r-- 1 jenkins jenkins 677 Nov 30 05:15 GOVERNANCE.md 05:21:16 -rw-rw-r-- 1 jenkins jenkins 880 Nov 30 05:15 Jenkinsfile 05:21:16 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 30 05:15 LICENSE 05:21:16 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 30 05:15 Makefile 05:21:16 -rw-rw-r-- 1 jenkins jenkins 619 Nov 30 05:15 OWNERS.md 05:21:16 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 30 05:15 README.md 05:21:16 -rw-rw-r-- 1 jenkins jenkins 11 Nov 30 05:11 VERSION 05:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 05:15 bin 05:21:16 -rw-r--r-- 1 jenkins jenkins 128369 Nov 30 05:20 coverage.out 05:21:16 drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 05:15 example 05:21:16 -rw-rw-r-- 1 jenkins jenkins 582 Nov 30 05:15 go.mod 05:21:16 -rw-rw-r-- 1 jenkins jenkins 49492 Nov 30 05:15 go.sum 05:21:16 drwxrwxr-x 15 jenkins jenkins 4096 Nov 30 05:15 internal 05:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 05:15 openapi 05:21:16 drwxrwxr-x 5 jenkins jenkins 4096 Nov 30 05:15 pkg 05:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 05:15 snap 05:21:16 -rw-rw-r-- 1 jenkins jenkins 222 Nov 30 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:21:16 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 --label arch=arm64 --label version=2.2.0-dev.2 . 05:21:17 Sending build context to Docker daemon 5.082MB 05:21:17 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 05:21:17 Step 2/24 : FROM ${BASE} AS builder 05:21:17 ---> 30aa81a411e6 05:21:17 Step 3/24 : ARG MAKE=make build 05:21:17 ---> Running in cc74fbf80232 05:21:17 Removing intermediate container cc74fbf80232 05:21:17 ---> 9d138ef3ac39 05:21:17 Step 4/24 : WORKDIR /device-sdk-go 05:21:17 ---> Running in f14be30ed71e 05:21:18 Removing intermediate container f14be30ed71e 05:21:18 ---> 949b60835135 05:21:18 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:21:18 ---> Running in fc64565c58ce 05:21:18 Removing intermediate container fc64565c58ce 05:21:18 ---> 675b8c082c6d 05:21:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:19 ---> Running in b64841402c62 05:21:21 Removing intermediate container b64841402c62 05:21:21 ---> f331f739d91e 05:21:21 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:21:21 ---> Running in 75f5a118c3ef 05:21:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:21:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:21:23 OK: 219 MiB in 52 packages 05:21:24 Removing intermediate container 75f5a118c3ef 05:21:24 ---> cc61659cb51a 05:21:24 Step 8/24 : COPY . . 05:21:25 ---> cc8343249644 05:21:26 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:26 ---> Running in 4b3874199434 05:21:27 Removing intermediate container 4b3874199434 05:21:27 ---> 195511f7325b 05:21:27 Step 10/24 : RUN ${MAKE} 05:21:28 ---> Running in 0c3eda3b4833 05:21:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:22:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:22:04 Removing intermediate container 0c3eda3b4833 05:22:04 ---> 60d9fbd8ead8 05:22:04 Step 11/24 : FROM alpine:3.14 05:22:04 3.14: Pulling from library/alpine 05:22:04 be307f383ecc: Pulling fs layer 05:22:05 be307f383ecc: Download complete 05:22:06 be307f383ecc: Pull complete 05:22:06 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:22:06 Status: Downloaded newer image for alpine:3.14 05:22:06 ---> 5b8b7b635229 05:22:06 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:22:06 ---> Running in 7df0e5bcab62 05:22:06 Removing intermediate container 7df0e5bcab62 05:22:06 ---> 9536c5b7a824 05:22:06 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:22:06 ---> Running in c6b0ce429400 05:22:08 Removing intermediate container c6b0ce429400 05:22:08 ---> 37e1ae1b0aea 05:22:08 Step 14/24 : RUN apk add --update --no-cache zeromq 05:22:08 ---> Running in a2b97fd64199 05:22:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:22:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:22:11 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:22:11 (2/5) Installing libsodium (1.0.18-r0) 05:22:11 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:22:11 (4/5) Installing libzmq (4.3.4-r0) 05:22:11 (5/5) Installing zeromq (4.3.4-r0) 05:22:11 Executing busybox-1.33.1-r6.trigger 05:22:11 OK: 8 MiB in 19 packages 05:22:12 Removing intermediate container a2b97fd64199 05:22:12 ---> 87fe4fbe1fa6 05:22:12 Step 15/24 : WORKDIR / 05:22:12 ---> Running in fbc0a364d08d 05:22:13 Removing intermediate container fbc0a364d08d 05:22:13 ---> 5b7ad594c755 05:22:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:22:13 ---> 253acd52d08b 05:22:13 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:22:14 ---> 031ee7ac5390 05:22:14 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:22:15 ---> 3b6e324d380e 05:22:15 Step 19/24 : EXPOSE 59999 05:22:15 ---> Running in 1a1a04753060 05:22:16 Removing intermediate container 1a1a04753060 05:22:16 ---> 56c9ff1d59dd 05:22:16 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:22:16 ---> Running in 7a6d07605a67 05:22:16 Removing intermediate container 7a6d07605a67 05:22:16 ---> 964c6c294145 05:22:16 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:22:16 ---> Running in 2db44a146320 05:22:17 Removing intermediate container 2db44a146320 05:22:17 ---> 432e43d13b20 05:22:17 Step 22/24 : LABEL arch=arm64 05:22:17 ---> Running in 63b8792b7481 05:22:17 Removing intermediate container 63b8792b7481 05:22:17 ---> 401ce2f5afc7 05:22:17 Step 23/24 : LABEL git_sha=940e3e0006af72bcfe711ffd8de496c555aa02b6 05:22:17 ---> Running in f819e788258d 05:22:18 Removing intermediate container f819e788258d 05:22:18 ---> dde25313eeca 05:22:18 Step 24/24 : LABEL version=2.2.0-dev.2 05:22:18 ---> Running in 1d5f97f6ae28 05:22:18 Removing intermediate container 1d5f97f6ae28 05:22:18 ---> 8bad71594e96 05:22:18 [Warning] One or more build-args [ARCH] were not consumed 05:22:18 Successfully built 8bad71594e96 05:22:18 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 05:22:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:19 05:22:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:19 arm64: Pulling from edgex-lftools-log-publisher 05:22:19 448f6bf000e3: Pulling fs layer 05:22:19 f757da607395: Pulling fs layer 05:22:19 05883995daec: Pulling fs layer 05:22:19 8603b9c90790: Pulling fs layer 05:22:19 1560dd03e051: Pulling fs layer 05:22:19 27f5ce0e4adf: Pulling fs layer 05:22:19 c2d8d7efcc4b: Pulling fs layer 05:22:19 8603b9c90790: Waiting 05:22:19 1560dd03e051: Waiting 05:22:19 27f5ce0e4adf: Waiting 05:22:19 c2d8d7efcc4b: Waiting 05:22:19 f757da607395: Verifying Checksum 05:22:19 f757da607395: Download complete 05:22:19 8603b9c90790: Verifying Checksum 05:22:19 8603b9c90790: Download complete 05:22:20 1560dd03e051: Verifying Checksum 05:22:20 1560dd03e051: Download complete 05:22:20 27f5ce0e4adf: Verifying Checksum 05:22:20 27f5ce0e4adf: Download complete 05:22:20 05883995daec: Verifying Checksum 05:22:20 05883995daec: Download complete 05:22:20 448f6bf000e3: Download complete 05:22:23 c2d8d7efcc4b: Verifying Checksum 05:22:23 c2d8d7efcc4b: Download complete 05:22:24 448f6bf000e3: Pull complete 05:22:24 f757da607395: Pull complete 05:22:26 05883995daec: Pull complete 05:22:26 8603b9c90790: Pull complete 05:22:27 1560dd03e051: Pull complete 05:22:27 27f5ce0e4adf: Pull complete 05:22:42 c2d8d7efcc4b: Pull complete 05:22:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 05:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:42 prd-ubuntu18.04-docker-arm64-4c-16g-756 does not seem to be running inside a container 05:22:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/34 -v /w/workspace/device-sdk-go/34:/w/workspace/device-sdk-go/34:rw,z -v /w/workspace/device-sdk-go/34@tmp:/w/workspace/device-sdk-go/34@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:22:45 $ docker top 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:46 ---> job-cost.sh 05:22:46 lf-activate-venv: SKIPPING 05:22:46 INFO: No Stack... 05:22:46 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:47 INFO: Archiving Costs [Pipeline] sh 05:22:47 + cat /w/workspace/device-sdk-go/34/archives/cost.csv 05:22:47 + cut -d, -f6 [Pipeline] lock 05:22:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] 05:22:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] did not exist. Created. 05:22:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:48 /w/workspace/device-sdk-go/34@tmp/durable-367ad2c4/script.sh: 1: /w/workspace/device-sdk-go/34@tmp/durable-367ad2c4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:49 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:49 Warning: overwriting stash ‘stack-cost’ 05:22:49 Stashed 1 file(s) [Pipeline] } 05:22:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-34-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:49 $ docker stop --time=1 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 05:22:51 $ docker rm -f 88955565e239a45030f7d1e076eabbf6559812060ebedb6ad9c99d5f120cafa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:22:51 provisioning config files... 05:22:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1609345019221753732tmp [Pipeline] { [Pipeline] sh 05:22:52 + set +x 05:22:52 + curl -s https://codecov.io/bash 05:22:52 + bash -s -- 05:22:52 05:22:52 _____ _ 05:22:52 / ____| | | 05:22:52 | | ___ __| | ___ ___ _____ __ 05:22:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:52 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:52 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:52 Bash-1.0.6 05:22:52 05:22:52 05:22:52 ==> git version 2.24.4 found 05:22:52 ==> 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 05:22:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:22:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:22:52 ==> Jenkins CI detected. 05:22:52 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:22:52 project root: . 05:22:52 --> token set from env 05:22:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:52 ==> Running gcov in . (disable via -X gcov) 05:22:52 ==> Python coveragepy not found 05:22:52 ==> Searching for coverage reports in: 05:22:52 + . 05:22:52 -> Found 1 reports 05:22:52 ==> Detecting git/mercurial file structure 05:22:52 ==> Reading reports 05:22:52 + ./coverage.out bytes=128369 05:22:52 ==> Appending adjustments 05:22:52 https://docs.codecov.io/docs/fixing-reports 05:22:52 + Found adjustments 05:22:52 ==> Gzipping contents 05:22:52 16K /tmp/codecov.92f2fF.gz 05:22:52 ==> Uploading reports 05:22:52 url: https://codecov.io 05:22:52 query: branch=main&commit=940e3e0006af72bcfe711ffd8de496c555aa02b6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:22:52 -> Pinging Codecov 05:22:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=940e3e0006af72bcfe711ffd8de496c555aa02b6&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:22:52 -> Uploading to 05:22:52 https://storage.googleapis.com/codecov/v4/raw/2021-11-30/7E55EF52A471D76F132DFD9A03CDDE97/940e3e0006af72bcfe711ffd8de496c555aa02b6/5b01dbc5-ff9e-4f50-918a-30dd1f306413.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211130T052252Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dcb0a5740ed36a5045986f63089211395b0999a318bfb6330ce0bce951d7d891 05:22:52 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:52 Dload Upload Total Spent Left Speed 05:22:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16324 0 0 100 16324 0 49373 --:--:-- --:--:-- --:--:-- 49466 05:22:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] } 05:22:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:22:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:22:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:22:53 05:22:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:22:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:22:53 188c0c94c7c5: Pulling fs layer 05:22:53 0ef7d3d256c8: Pulling fs layer 05:22:53 de9db76c5a1d: Pulling fs layer 05:22:53 0eba1c9be4d2: Pulling fs layer 05:22:53 0d57e429df01: Pulling fs layer 05:22:53 4e4be7b47b0d: Pulling fs layer 05:22:53 e1f770b5df2f: Pulling fs layer 05:22:53 85a0685a4137: Pulling fs layer 05:22:53 0eba1c9be4d2: Waiting 05:22:53 0d57e429df01: Waiting 05:22:53 4e4be7b47b0d: Waiting 05:22:53 e1f770b5df2f: Waiting 05:22:53 85a0685a4137: Waiting 05:22:53 de9db76c5a1d: Verifying Checksum 05:22:53 de9db76c5a1d: Download complete 05:22:53 0ef7d3d256c8: Download complete 05:22:53 0d57e429df01: Verifying Checksum 05:22:53 0d57e429df01: Download complete 05:22:53 4e4be7b47b0d: Verifying Checksum 05:22:53 4e4be7b47b0d: Download complete 05:22:53 188c0c94c7c5: Verifying Checksum 05:22:53 188c0c94c7c5: Download complete 05:22:54 e1f770b5df2f: Verifying Checksum 05:22:54 e1f770b5df2f: Download complete 05:22:54 188c0c94c7c5: Pull complete 05:22:54 0eba1c9be4d2: Verifying Checksum 05:22:54 0eba1c9be4d2: Download complete 05:22:54 0ef7d3d256c8: Pull complete 05:22:54 de9db76c5a1d: Pull complete 05:22:54 85a0685a4137: Verifying Checksum 05:22:54 85a0685a4137: Download complete 05:22:58 0eba1c9be4d2: Pull complete 05:22:58 0d57e429df01: Pull complete 05:22:58 4e4be7b47b0d: Pull complete 05:22:59 e1f770b5df2f: Pull complete 05:23:02 85a0685a4137: Pull complete 05:23:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:23:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:23:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:23:02 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:23:04 $ docker top 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 -eo pid,comm [Pipeline] { [Pipeline] echo 05:23:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:23:05 + set -o pipefail 05:23:05 + snyk monitor '--org=edgex-jenkins' 05:23:09 05:23:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 05:23:09 05:23:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/d97a2259-c9fa-4a3b-ba08-da0dadbd9b2e 05:23:09 05:23:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:23:09 05:23:09 [Pipeline] } 05:23:09 $ docker stop --time=1 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 05:23:11 $ docker rm -f 61c2945ee4e07cc2e63364e4127d9c37154d4f9b5ef8f84487e7471f73973291 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:23:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:12 provisioning config files... 05:23:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2669823414075715786tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:12 --> edgex-publish-swagger.sh 05:23:12 === Publish openapi/v2 API === 05:23:12 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 05:23:12 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 05:23:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:12 Dload Upload Total Spent Left Speed 05:23:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 198k --:--:-- --:--:-- --:--:-- 198k 100 51659 0 0 100 51659 0 64789 --:--:-- --:--:-- --:--:-- 64816 05:23:13 05:23:13 [Pipeline] } 05:23:13 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 05:23:13 + git log --format=format:%s -1 940e3e0006af72bcfe711ffd8de496c555aa02b6 [Pipeline] sh 05:23:13 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:23:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:14 . [Pipeline] withDockerContainer 05:23:14 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:14 $ docker top 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:14 [ssh-agent] Looking for ssh-agent implementation... 05:23:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:14 $ docker exec 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 ssh-agent 05:23:15 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcejFB/agent.13 05:23:15 SSH_AGENT_PID=19 05:23:15 Running ssh-add (command line suppressed) 05:23:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4331791222037289134.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4331791222037289134.key) 05:23:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:15 + git semver tag 05:23:15 # -> Open(): unable to determine branch for HEAD 05:23:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 05:23:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 05:23:15 # $SEMVER_REMOTE_NAME = origin 05:23:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:15 # $SEMVER_USER_NAME = edgex-jenkins 05:23:15 # $SEMVER_BRANCH = main 05:23:15 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:23:15 # 940e3e0006af72bcfe711ffd8de496c555aa02b6 HEAD 05:23:15 # -> Force: false 05:23:15 # b386cb75c522eddc42adf95a13a753ae787e4029 refs/tags/v2.2.0-dev.2 [Pipeline] } 05:23:15 $ docker exec --env ******** --env ******** 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 ssh-agent -k 05:23:15 unset SSH_AUTH_SOCK; 05:23:15 unset SSH_AGENT_PID; 05:23:15 echo Agent pid 19 killed; 05:23:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:15 + git semver [Pipeline] } 05:23:15 $ docker stop --time=1 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 05:23:17 $ docker rm -f 013e01a70a8796714505035356fa2ddc1337f5a330d40addd123c2afaaef5143 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:23:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:17 05:23:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:23:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:17 0.23.1-centos7: Pulling from edgex-lftools 05:23:17 ab5ef0e58194: Pulling fs layer 05:23:17 9712f1f96733: Pulling fs layer 05:23:17 63f879dbbcfc: Pulling fs layer 05:23:17 0d9ebad4ef96: Pulling fs layer 05:23:17 e9a5061849ea: Pulling fs layer 05:23:17 d747dcd14b5f: Pulling fs layer 05:23:17 2de7ff778b66: Pulling fs layer 05:23:17 e9a5061849ea: Waiting 05:23:17 d747dcd14b5f: Waiting 05:23:17 0d9ebad4ef96: Waiting 05:23:17 2de7ff778b66: Waiting 05:23:17 9712f1f96733: Verifying Checksum 05:23:17 9712f1f96733: Download complete 05:23:18 63f879dbbcfc: Verifying Checksum 05:23:18 63f879dbbcfc: Download complete 05:23:18 ab5ef0e58194: Verifying Checksum 05:23:18 ab5ef0e58194: Download complete 05:23:18 d747dcd14b5f: Verifying Checksum 05:23:18 d747dcd14b5f: Download complete 05:23:18 0d9ebad4ef96: Verifying Checksum 05:23:18 0d9ebad4ef96: Download complete 05:23:18 e9a5061849ea: Verifying Checksum 05:23:18 e9a5061849ea: Download complete 05:23:18 2de7ff778b66: Verifying Checksum 05:23:18 2de7ff778b66: Download complete 05:23:21 ab5ef0e58194: Pull complete 05:23:21 9712f1f96733: Pull complete 05:23:21 63f879dbbcfc: Pull complete 05:23:26 0d9ebad4ef96: Pull complete 05:23:26 e9a5061849ea: Pull complete 05:23:26 d747dcd14b5f: Pull complete 05:23:27 2de7ff778b66: Pull complete 05:23:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:23:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:23:27 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:23:30 $ docker top 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:23:30 provisioning config files... 05:23:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2369004776806239437tmp 05:23:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6558986130806265393tmp 05:23:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3345441640582594440tmp [Pipeline] { [Pipeline] echo 05:23:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:23:31 ---> sigul-configuration.sh 05:23:31 gpg: directory `/root/.gnupg' created 05:23:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:23:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:23:31 gpg: keyring `/root/.gnupg/secring.gpg' created 05:23:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:23:31 gpg: CAST5 encrypted data 05:23:31 gpg: encrypted with 1 passphrase 05:23:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:23:31 + mkdir /home/jenkins 05:23:31 + mkdir /home/jenkins/sigul [Pipeline] sh 05:23:31 + 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 05:23:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:23:32 ---> sigul-install.sh 05:23:32 Sigul already installed; skipping installation. [Pipeline] sh 05:23:32 + git tag --list 05:23:32 0.7.1 05:23:32 delhi-tag 05:23:32 v1.0.0 05:23:32 v1.1.0 05:23:32 v1.1.1 05:23:32 v1.1.2 05:23:32 v1.2.0 05:23:32 v1.2.1 05:23:32 v1.2.2 05:23:32 v1.2.3 05:23:32 v1.3.0 05:23:32 v1.4.0 05:23:32 v2.0.0 05:23:32 v2.0.1-dev.1 05:23:32 v2.0.1-dev.10 05:23:32 v2.0.1-dev.11 05:23:32 v2.0.1-dev.12 05:23:32 v2.0.1-dev.13 05:23:32 v2.0.1-dev.14 05:23:32 v2.0.1-dev.15 05:23:32 v2.0.1-dev.16 05:23:32 v2.0.1-dev.17 05:23:32 v2.0.1-dev.18 05:23:32 v2.0.1-dev.19 05:23:32 v2.0.1-dev.2 05:23:32 v2.0.1-dev.20 05:23:32 v2.0.1-dev.21 05:23:32 v2.0.1-dev.22 05:23:32 v2.0.1-dev.23 05:23:32 v2.0.1-dev.24 05:23:32 v2.0.1-dev.25 05:23:32 v2.0.1-dev.26 05:23:32 v2.0.1-dev.27 05:23:32 v2.0.1-dev.28 05:23:32 v2.0.1-dev.29 05:23:32 v2.0.1-dev.3 05:23:32 v2.0.1-dev.30 05:23:32 v2.0.1-dev.31 05:23:32 v2.0.1-dev.32 05:23:32 v2.0.1-dev.33 05:23:32 v2.0.1-dev.4 05:23:32 v2.0.1-dev.5 05:23:32 v2.0.1-dev.6 05:23:32 v2.0.1-dev.7 05:23:32 v2.0.1-dev.8 05:23:32 v2.0.1-dev.9 05:23:32 v2.1.0 05:23:32 v2.2.0-dev.1 05:23:32 v2.2.0-dev.2 [Pipeline] sh 05:23:32 + lftools sign git-tag v2.2.0-dev.2 05:23:33 Signing Git tag with Sigul... 05:23:33 Signing v2.2.0-dev.2 [Pipeline] echo 05:23:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:23:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:23:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:23:34 $ docker stop --time=1 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 05:23:35 $ docker rm -f 33073847577d86d3ce74c4dd1a27d0033f224f2947657cd56fd04004f171aaa7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:23:36 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:23:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:36 . [Pipeline] withDockerContainer 05:23:36 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:37 $ docker top 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:37 [ssh-agent] Looking for ssh-agent implementation... 05:23:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:37 $ docker exec 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c ssh-agent 05:23:37 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIPGdaO/agent.14 05:23:37 SSH_AGENT_PID=21 05:23:37 Running ssh-add (command line suppressed) 05:23:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3392810501203327295.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3392810501203327295.key) 05:23:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:38 + git semver bump pre 05:23:38 # -> Open(): unable to determine branch for HEAD 05:23:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 05:23:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 05:23:38 # $SEMVER_REMOTE_NAME = origin 05:23:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:38 # $SEMVER_USER_NAME = edgex-jenkins 05:23:38 # $SEMVER_BRANCH = main 05:23:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:23:38 2.2.0-dev.3 [Pipeline] } 05:23:38 $ docker exec --env ******** --env ******** 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c ssh-agent -k 05:23:38 unset SSH_AUTH_SOCK; 05:23:38 unset SSH_AGENT_PID; 05:23:38 echo Agent pid 21 killed; 05:23:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:38 + git semver [Pipeline] } 05:23:38 $ docker stop --time=1 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c 05:23:39 $ docker rm -f 7cf42434be753004a012a3aead32607f8877e3dda535efe6fdb2b9eb16e4ff8c [Pipeline] // withDockerContainer [Pipeline] sh 05:23:40 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 05:23:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:23:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:23:40 . [Pipeline] withDockerContainer 05:23:40 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:23:41 $ docker top d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:23:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:23:41 [ssh-agent] Looking for ssh-agent implementation... 05:23:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:23:41 $ docker exec d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb ssh-agent 05:23:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXABggHf/agent.15 05:23:41 SSH_AGENT_PID=22 05:23:41 Running ssh-add (command line suppressed) 05:23:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_649433535381171613.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_649433535381171613.key) 05:23:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:23:41 + git semver push 05:23:41 # -> Open(): unable to determine branch for HEAD 05:23:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 05:23:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 05:23:41 # $SEMVER_REMOTE_NAME = origin 05:23:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:23:41 # $SEMVER_USER_NAME = edgex-jenkins 05:23:41 # $SEMVER_BRANCH = main 05:23:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 05:23:43 $ docker exec --env ******** --env ******** d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb ssh-agent -k 05:23:43 unset SSH_AUTH_SOCK; 05:23:43 unset SSH_AGENT_PID; 05:23:43 echo Agent pid 22 killed; 05:23:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:23:44 + git semver [Pipeline] } 05:23:44 $ docker stop --time=1 d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb 05:23:45 $ docker rm -f d101fcb6a0324b1b3e1340c8e6abe851e0164c3d89ded30d7d21a4f22248b1cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:23:46 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 05:23:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:23:46 ---> package-listing.sh 05:23:46 ++ tr '[:upper:]' '[:lower:]' 05:23:46 ++ facter osfamily 05:23:47 + OS_FAMILY=redhat 05:23:47 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:23:47 + START_PACKAGES=/tmp/packages_start.txt 05:23:47 + END_PACKAGES=/tmp/packages_end.txt 05:23:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:23:47 + PACKAGES=/tmp/packages_start.txt 05:23:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:23:47 + PACKAGES=/tmp/packages_end.txt 05:23:47 + case "${OS_FAMILY}" in 05:23:47 + sort 05:23:47 + rpm -qa 05:23:47 + '[' -f /tmp/packages_start.txt ']' 05:23:47 + '[' -f /tmp/packages_end.txt ']' 05:23:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:23:47 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:23:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:23:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:23:47 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 05:23:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:23:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:48 05:23:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:23:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:48 latest: Pulling from edgex-lftools-log-publisher 05:23:48 b4d181a07f80: Pulling fs layer 05:23:48 a1111a8f2ec3: Pulling fs layer 05:23:48 ed53099fbce6: Pulling fs layer 05:23:48 dc539afda2c1: Pulling fs layer 05:23:48 77bc0d833cb6: Pulling fs layer 05:23:48 9065ff56babe: Pulling fs layer 05:23:48 d287ab97295c: Pulling fs layer 05:23:48 77bc0d833cb6: Waiting 05:23:48 9065ff56babe: Waiting 05:23:48 d287ab97295c: Waiting 05:23:48 dc539afda2c1: Waiting 05:23:48 a1111a8f2ec3: Verifying Checksum 05:23:48 a1111a8f2ec3: Download complete 05:23:48 dc539afda2c1: Verifying Checksum 05:23:48 dc539afda2c1: Download complete 05:23:49 ed53099fbce6: Verifying Checksum 05:23:49 ed53099fbce6: Download complete 05:23:49 9065ff56babe: Verifying Checksum 05:23:49 9065ff56babe: Download complete 05:23:49 77bc0d833cb6: Verifying Checksum 05:23:49 77bc0d833cb6: Download complete 05:23:49 b4d181a07f80: Verifying Checksum 05:23:49 b4d181a07f80: Download complete 05:23:49 d287ab97295c: Verifying Checksum 05:23:49 d287ab97295c: Download complete 05:23:50 b4d181a07f80: Pull complete 05:23:51 a1111a8f2ec3: Pull complete 05:23:51 ed53099fbce6: Pull complete 05:23:51 dc539afda2c1: Pull complete 05:23:52 77bc0d833cb6: Pull complete 05:23:52 9065ff56babe: Pull complete 05:23:57 d287ab97295c: Pull complete 05:23:57 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 05:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:23:57 prd-centos7-docker-4c-2g-754 does not seem to be running inside a container 05:23:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:24:00 $ docker top be528fa1d28e8aed4d04d8cb60625be5b3455df36e0d7b2aadd0e24380ffedcd -eo pid,comm [Pipeline] { [Pipeline] sh 05:24:00 + touch /tmp/pre-build-complete [Pipeline] sh 05:24:00 + mkdir -p /var/log/sysstat [Pipeline] sh 05:24:01 + ls /var/log/sa-host 05:24:01 + sadf -c /var/log/sa-host/sa30 05:24:01 file_magic: OK 05:24:01 HZ: Using current value: 100 05:24:01 file_header: OK 05:24:01 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 05:24:01 Statistics: 05:24:01 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:24:01 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:01 provisioning config files... 05:24:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5258194773053665824tmp [Pipeline] { [Pipeline] echo 05:24:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:24:01 ---> create-netrc.sh [Pipeline] } 05:24:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:24:01 ---> python-tools-install.sh [Pipeline] echo 05:24:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:24:02 ---> sudo-logs.sh 05:24:02 Archiving 'sudo' log.. 05:24:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-754.novalocal: Name or service not known 05:24:02 sudo: unable to resolve host prd-centos7-docker-4c-2g-754.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 05:24:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:24:02 ---> job-cost.sh 05:24:02 lf-activate-venv: SKIPPING 05:24:02 DEBUG: total: 0.10999999940395355 05:24:02 INFO: Retrieving Stack Cost... 05:24:02 INFO: Retrieving Pricing Info for: v3-standard-2 05:24:03 INFO: Archiving Costs [Pipeline] echo 05:24:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:24:03 ---> logs-deploy.sh 05:24:03 lf-activate-venv: SKIPPING 05:24:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/34 05:24:03 INFO: archiving workspace using pattern(s): 05:24:04 Archives upload complete. 05:24:04 INFO: archiving logs to Nexus 05:24:05 ---> uname -a: 05:24:05 Linux prd-centos7-docker-4c-2g-754.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 05:24:05 05:24:05 05:24:05 ---> lscpu: 05:24:05 Architecture: x86_64 05:24:05 CPU op-mode(s): 32-bit, 64-bit 05:24:05 Byte Order: Little Endian 05:24:05 Address sizes: 40 bits physical, 48 bits virtual 05:24:05 CPU(s): 2 05:24:05 On-line CPU(s) list: 0,1 05:24:05 Thread(s) per core: 1 05:24:05 Core(s) per socket: 1 05:24:05 Socket(s): 2 05:24:05 NUMA node(s): 1 05:24:05 Vendor ID: AuthenticAMD 05:24:05 CPU family: 23 05:24:05 Model: 49 05:24:05 Model name: AMD EPYC-Rome Processor 05:24:05 Stepping: 0 05:24:05 CPU MHz: 2799.998 05:24:05 BogoMIPS: 5599.99 05:24:05 Virtualization: AMD-V 05:24:05 Hypervisor vendor: KVM 05:24:05 Virtualization type: full 05:24:05 L1d cache: 32K 05:24:05 L1i cache: 32K 05:24:05 L2 cache: 512K 05:24:05 L3 cache: 16384K 05:24:05 NUMA node0 CPU(s): 0,1 05:24:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 05:24:05 05:24:05 05:24:05 ---> nproc: 05:24:05 2 05:24:05 05:24:05 05:24:05 ---> df -h: 05:24:05 Filesystem Size Used Avail Use% Mounted on 05:24:05 overlay 40G 9.0G 32G 23% / 05:24:05 tmpfs 64M 0 64M 0% /dev 05:24:05 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 05:24:05 shm 64M 0 64M 0% /dev/shm 05:24:05 /dev/vda1 40G 9.0G 32G 23% /facter-os 05:24:05 05:24:05 05:24:05 ---> sar -b -r -n DEV: 05:24:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/30/21 _x86_64_ (2 CPU) 05:24:05 05:24:05 05:11:00 LINUX RESTART (2 CPU) 05:24:05 05:24:05 05:12:01 tps rtps wtps bread/s bwrtn/s 05:24:05 05:13:01 1.62 0.00 1.62 0.00 29.09 05:24:05 05:14:01 0.27 0.00 0.27 0.00 3.20 05:24:05 05:15:01 0.23 0.00 0.23 0.00 2.70 05:24:05 05:16:01 0.15 0.00 0.15 0.00 2.02 05:24:05 05:17:01 0.37 0.00 0.37 0.00 5.05 05:24:05 05:18:01 0.23 0.00 0.23 0.00 2.83 05:24:05 05:19:01 0.25 0.00 0.25 0.00 2.95 05:24:05 05:20:01 0.25 0.00 0.25 0.00 2.45 05:24:05 05:21:01 0.18 0.00 0.18 0.00 2.02 05:24:05 05:22:01 0.27 0.00 0.27 0.00 3.55 05:24:05 05:23:01 11.34 0.07 11.28 4.80 993.25 05:24:05 Average: 1.38 0.01 1.37 0.44 95.37 05:24:05 05:24:05 05:12:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:24:05 05:13:01 5688376 0 613992 7.67 2620 1703952 1163536 12.85 562524 1526056 16 05:24:05 05:14:01 5690684 0 611676 7.64 2620 1703960 1163536 12.85 560092 1526152 8 05:24:05 05:15:01 5686648 0 615712 7.69 2620 1703960 1163764 12.85 564388 1526152 16 05:24:05 05:16:01 5686880 0 615472 7.68 2620 1703968 1163680 12.85 562980 1527012 8 05:24:05 05:17:01 5689164 0 613184 7.66 2620 1703972 1163680 12.85 560328 1527008 8 05:24:05 05:18:01 5690528 0 611820 7.64 2620 1703972 1163536 12.85 559516 1527008 8 05:24:05 05:19:01 5681248 0 621092 7.75 2620 1703980 1163536 12.85 568704 1527008 8 05:24:05 05:20:01 5680480 0 621856 7.76 2620 1703984 1163536 12.85 569244 1527008 8 05:24:05 05:21:01 5680880 0 621448 7.76 2620 1703992 1163536 12.85 570468 1525792 8 05:24:05 05:22:01 5680752 0 621572 7.76 2620 1703996 1163644 12.85 571048 1525792 8 05:24:05 05:23:01 4819800 0 775704 9.69 2620 2410816 1527760 16.87 780376 2097792 614388 05:24:05 Average: 5606858 0 631230 7.88 2620 1768232 1196704 13.21 584515 1578435 55862 05:24:05 05:24:05 05:12:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:24:05 05:13:01 eth0 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 05:24:05 05:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:14:01 eth0 0.47 0.08 0.05 0.01 0.00 0.00 0.00 0.00 05:24:05 05:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:15:01 eth0 1.10 0.30 0.32 0.20 0.00 0.00 0.00 0.00 05:24:05 05:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:16:01 eth0 0.57 0.30 0.27 0.20 0.00 0.00 0.00 0.00 05:24:05 05:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:17:01 eth0 0.33 0.23 0.14 0.07 0.00 0.00 0.00 0.00 05:24:05 05:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:18:01 eth0 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:19:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:24:05 05:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:20:01 eth0 0.15 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:24:05 05:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:21:01 eth0 0.20 0.10 0.01 0.01 0.00 0.00 0.00 0.00 05:24:05 05:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:22:01 eth0 0.35 0.28 0.15 0.08 0.00 0.00 0.00 0.00 05:24:05 05:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:23:01 eth0 135.65 81.71 4056.53 9.67 0.00 0.00 0.00 0.00 05:24:05 05:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 Average: eth0 12.64 7.57 368.84 0.93 0.00 0.00 0.00 0.00 05:24:05 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:24:05 05:24:05 05:24:05 ---> sar -P ALL: 05:24:05 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 11/30/21 _x86_64_ (2 CPU) 05:24:05 05:24:05 05:11:00 LINUX RESTART (2 CPU) 05:24:05 05:24:05 05:12:01 CPU %user %nice %system %iowait %steal %idle 05:24:05 05:13:01 all 0.18 0.00 0.05 0.00 0.02 99.76 05:24:05 05:13:01 0 0.13 0.00 0.05 0.00 0.03 99.78 05:24:05 05:13:01 1 0.22 0.00 0.05 0.00 0.00 99.73 05:24:05 05:14:01 all 0.17 0.00 0.05 0.00 0.03 99.75 05:24:05 05:14:01 0 0.08 0.00 0.07 0.00 0.03 99.82 05:24:05 05:14:01 1 0.25 0.00 0.03 0.00 0.03 99.68 05:24:05 05:15:01 all 0.18 0.00 0.05 0.00 0.02 99.75 05:24:05 05:15:01 0 0.12 0.00 0.07 0.00 0.02 99.80 05:24:05 05:15:01 1 0.25 0.00 0.03 0.00 0.02 99.70 05:24:05 05:16:01 all 0.14 0.00 0.04 0.00 0.03 99.79 05:24:05 05:16:01 0 0.07 0.00 0.03 0.00 0.02 99.88 05:24:05 05:16:01 1 0.22 0.00 0.05 0.00 0.03 99.70 05:24:05 05:17:01 all 0.13 0.00 0.06 0.00 0.01 99.80 05:24:05 05:17:01 0 0.22 0.00 0.10 0.00 0.02 99.67 05:24:05 05:17:01 1 0.05 0.00 0.02 0.00 0.00 99.93 05:24:05 05:18:01 all 0.23 0.00 0.05 0.00 0.02 99.71 05:24:05 05:18:01 0 0.37 0.00 0.05 0.00 0.02 99.57 05:24:05 05:18:01 1 0.08 0.00 0.05 0.00 0.02 99.85 05:24:05 05:19:01 all 0.21 0.00 0.03 0.00 0.03 99.72 05:24:05 05:19:01 0 0.38 0.00 0.02 0.00 0.02 99.58 05:24:05 05:19:01 1 0.03 0.00 0.05 0.00 0.05 99.87 05:24:05 05:20:01 all 0.16 0.00 0.03 0.00 0.03 99.78 05:24:05 05:20:01 0 0.18 0.00 0.03 0.00 0.02 99.77 05:24:05 05:20:01 1 0.13 0.00 0.03 0.00 0.03 99.80 05:24:05 05:21:01 all 0.07 0.00 0.05 0.00 0.02 99.87 05:24:05 05:21:01 0 0.08 0.00 0.05 0.00 0.02 99.85 05:24:05 05:21:01 1 0.05 0.00 0.05 0.00 0.02 99.88 05:24:05 05:22:01 all 0.11 0.00 0.03 0.00 0.03 99.83 05:24:05 05:22:01 0 0.18 0.00 0.03 0.00 0.02 99.77 05:24:05 05:22:01 1 0.03 0.00 0.03 0.00 0.03 99.90 05:24:05 05:23:01 all 7.91 0.00 2.95 0.03 0.03 89.08 05:24:05 05:23:01 0 8.11 0.00 2.87 0.03 0.02 88.98 05:24:05 05:23:01 1 7.72 0.00 3.03 0.02 0.05 89.18 05:24:05 05:24:05 Average: CPU %user %nice %system %iowait %steal %idle 05:24:05 Average: all 0.85 0.00 0.31 0.00 0.02 98.82 05:24:05 Average: 0 0.89 0.00 0.30 0.00 0.02 98.78 05:24:05 Average: 1 0.81 0.00 0.31 0.00 0.03 98.85 05:24:05 05:24:05 05:24:05