Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d47f06130efe23f62a62eca7f2537e0d7c1e066 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-ssh14933684405214590194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh12523725152450264406.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh2181969623479709977.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh15015644371773813702.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-ssh11337332757907814408.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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-6255 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-ssh6240699203077303325.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 2d47f06130efe23f62a62eca7f2537e0d7c1e066 (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 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 Commit message: "Merge pull request #1097 from hahattan/issue-649" > git rev-list --no-walk ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:00:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:00:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:00:34 ========================================================= 15:00:34 EdgeX Global Pipelines Version Info 15:00:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:00:36 ------------------- 15:00:36 stable info: 15:00:36 ------------------- 15:00:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:00:36 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:00:36 Message: update stable to v1.0.220 15:00:36 ------------------- 15:00:36 experimental info: 15:00:36 ------------------- 15:00:36 Commited By: **** collab-it+edgex@linuxfoundation.org 15:00:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:00:36 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:00:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d47f06 [Pipeline] echo 15:00:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:37 provisioning config files... 15:00:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4969559355506988609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:37 ---> docker-login.sh 15:00:37 nexus3.edgexfoundry.org:10001 15:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:37 Configure a credential helper to remove this warning. See 15:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:37 15:00:37 Login Succeeded 15:00:37 nexus3.edgexfoundry.org:10002 15:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:37 Configure a credential helper to remove this warning. See 15:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:37 15:00:37 Login Succeeded 15:00:37 nexus3.edgexfoundry.org:10003 15:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:38 Configure a credential helper to remove this warning. See 15:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:38 15:00:38 Login Succeeded 15:00:38 nexus3.edgexfoundry.org:10004 15:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:38 Configure a credential helper to remove this warning. See 15:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:38 15:00:38 Login Succeeded 15:00:38 docker.io 15:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:38 Configure a credential helper to remove this warning. See 15:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:38 15:00:38 Login Succeeded 15:00:38 ---> docker-login.sh ends [Pipeline] } 15:00:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:00:38 + git rev-list -1 --merges 2d47f06130efe23f62a62eca7f2537e0d7c1e066~1..2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] echo 15:00:38 -----------> git rev-list -1 --merges 2d47f06130efe23f62a62eca7f2537e0d7c1e066~1..2d47f06130efe23f62a62eca7f2537e0d7c1e066 2d47f06130efe23f62a62eca7f2537e0d7c1e066 15:00:38 2d47f06130efe23f62a62eca7f2537e0d7c1e066 [false] [Pipeline] sh 15:00:39 + git log --format=format:%s -1 2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] echo 15:00:39 ========================================================= 15:00:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:00:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:00:39 + git log --format=format:%s -1 2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] echo 15:00:39 [semverPrep] GIT_COMMIT: 2d47f06130efe23f62a62eca7f2537e0d7c1e066, Commit Message: Merge pull request #1097 from hahattan/issue-649 [Pipeline] echo 15:00:39 [semverPrep] This is not a build commit. [Pipeline] sh 15:00:40 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:00:40 + grep -v github /etc/ssh/ssh_known_hosts 15:00:40 + '[' -e /tmp/ssh_known_hosts ']' 15:00:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:00:40 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:00:40 + sudo tee -a /etc/ssh/ssh_known_hosts 15:00:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:00:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:40 15:00:40 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:00:40 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:40 latest: Pulling from edgex-devops/git-semver 15:00:40 a0d0a0d46f8b: Pulling fs layer 15:00:40 3e5f54012d9b: Pulling fs layer 15:00:40 4c7163046ea9: Pulling fs layer 15:00:40 0c2d73faf560: Pulling fs layer 15:00:40 0c2d73faf560: Waiting 15:00:40 3e5f54012d9b: Verifying Checksum 15:00:40 3e5f54012d9b: Download complete 15:00:40 a0d0a0d46f8b: Verifying Checksum 15:00:40 a0d0a0d46f8b: Download complete 15:00:40 4c7163046ea9: Verifying Checksum 15:00:40 4c7163046ea9: Download complete 15:00:40 0c2d73faf560: Verifying Checksum 15:00:40 0c2d73faf560: Download complete 15:00:41 a0d0a0d46f8b: Pull complete 15:00:41 3e5f54012d9b: Pull complete 15:00:41 4c7163046ea9: Pull complete 15:00:41 0c2d73faf560: Pull complete 15:00:41 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:00:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:00:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:00:41 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:00:42 $ docker top eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:00:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:42 [ssh-agent] Looking for ssh-agent implementation... 15:00:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:43 $ docker exec eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 ssh-agent 15:00:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLPMhcn/agent.14 15:00:43 SSH_AGENT_PID=20 15:00:43 Running ssh-add (command line suppressed) 15:00:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5933048750336882648.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5933048750336882648.key) 15:00:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:43 + git tag --points-at HEAD [Pipeline] } 15:00:43 $ docker exec --env ******** --env ******** eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 ssh-agent -k 15:00:43 unset SSH_AUTH_SOCK; 15:00:43 unset SSH_AGENT_PID; 15:00:43 echo Agent pid 20 killed; 15:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:00:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:00:43 [ssh-agent] Looking for ssh-agent implementation... 15:00:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:00:43 $ docker exec eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 ssh-agent 15:00:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnkMpPf/agent.54 15:00:43 SSH_AGENT_PID=61 15:00:43 Running ssh-add (command line suppressed) 15:00:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8358714010220053526.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8358714010220053526.key) 15:00:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:00:44 + git semver init 15:00:44 # -> Open(): unable to determine branch for HEAD 15:00:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 15:00:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 15:00:44 # $SEMVER_REMOTE_NAME = origin 15:00:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:00:44 # $SEMVER_USER_NAME = edgex-jenkins 15:00:44 # $SEMVER_BRANCH = main 15:00:44 # $SEMVER_TEMP = /tmp/semver-313863884 15:00:44 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:00:45 # '/tmp/semver-313863884' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 15:00:45 # -> Force: false 15:00:45 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 15:00:45 $ docker exec --env ******** --env ******** eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 ssh-agent -k 15:00:45 unset SSH_AUTH_SOCK; 15:00:45 unset SSH_AGENT_PID; 15:00:45 echo Agent pid 61 killed; 15:00:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:00:45 + git semver [Pipeline] } 15:00:45 $ docker stop --time=1 eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 15:00:46 $ docker rm -f eaefcc7f70987945ea2569446c22bfaca05f4cdd653e48b70bc0201461973266 [Pipeline] // withDockerContainer [Pipeline] sh 15:00:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:00:47 Stashed 1 file(s) [Pipeline] echo 15:00:47 [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:00:47 provisioning config files... 15:00:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8891037803467290874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:00:47 ---> docker-login.sh 15:00:47 nexus3.edgexfoundry.org:10001 15:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:47 Configure a credential helper to remove this warning. See 15:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:47 15:00:47 Login Succeeded 15:00:47 nexus3.edgexfoundry.org:10002 15:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:47 Configure a credential helper to remove this warning. See 15:00:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:47 15:00:47 Login Succeeded 15:00:47 nexus3.edgexfoundry.org:10003 15:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:48 Configure a credential helper to remove this warning. See 15:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:48 15:00:48 Login Succeeded 15:00:48 nexus3.edgexfoundry.org:10004 15:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:48 Configure a credential helper to remove this warning. See 15:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:48 15:00:48 Login Succeeded 15:00:48 docker.io 15:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:00:48 Configure a credential helper to remove this warning. See 15:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:00:48 15:00:48 Login Succeeded 15:00:48 ---> docker-login.sh ends [Pipeline] } 15:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:00:48 ========================================================= 15:00:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:00:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:00:49 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 15:00:49 Sending build context to Docker daemon 9.485MB 15:00:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:00:49 Step 2/11 : FROM ${BASE} AS builder 15:00:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:00:49 59bf1c3509f3: Pulling fs layer 15:00:49 666ba61612fd: Pulling fs layer 15:00:49 8ed8ca486205: Pulling fs layer 15:00:49 4fe6c5a15a65: Pulling fs layer 15:00:49 22a0e8bec74d: Pulling fs layer 15:00:49 640e595b4fbd: Pulling fs layer 15:00:49 763cafe07f6e: Pulling fs layer 15:00:49 0c0b528cf693: Pulling fs layer 15:00:49 10935f4eaf8b: Pulling fs layer 15:00:49 4fe6c5a15a65: Waiting 15:00:49 22a0e8bec74d: Waiting 15:00:49 640e595b4fbd: Waiting 15:00:49 763cafe07f6e: Waiting 15:00:49 0c0b528cf693: Waiting 15:00:49 10935f4eaf8b: Waiting 15:00:49 8ed8ca486205: Verifying Checksum 15:00:49 8ed8ca486205: Download complete 15:00:49 666ba61612fd: Verifying Checksum 15:00:49 666ba61612fd: Download complete 15:00:49 22a0e8bec74d: Verifying Checksum 15:00:49 22a0e8bec74d: Download complete 15:00:49 640e595b4fbd: Verifying Checksum 15:00:49 640e595b4fbd: Download complete 15:00:49 59bf1c3509f3: Verifying Checksum 15:00:49 59bf1c3509f3: Download complete 15:00:49 763cafe07f6e: Verifying Checksum 15:00:49 763cafe07f6e: Download complete 15:00:49 0c0b528cf693: Verifying Checksum 15:00:49 0c0b528cf693: Download complete 15:00:49 59bf1c3509f3: Pull complete 15:00:50 4fe6c5a15a65: Verifying Checksum 15:00:50 4fe6c5a15a65: Download complete 15:00:50 666ba61612fd: Pull complete 15:00:50 10935f4eaf8b: Verifying Checksum 15:00:50 10935f4eaf8b: Download complete 15:00:50 8ed8ca486205: Pull complete 15:00:54 4fe6c5a15a65: Pull complete 15:00:54 22a0e8bec74d: Pull complete 15:00:54 640e595b4fbd: Pull complete 15:00:54 763cafe07f6e: Pull complete 15:00:54 0c0b528cf693: Pull complete 15:00:57 10935f4eaf8b: Pull complete 15:00:57 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:00:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:00:57 ---> 99d49a6021b9 15:00:57 Step 3/11 : ARG MAKE=make build 15:01:01 ---> Running in 185a77a6f63a 15:01:01 Removing intermediate container 185a77a6f63a 15:01:01 ---> 002f5660d9ba 15:01:01 Step 4/11 : WORKDIR /device-sdk-go 15:01:01 ---> Running in d6c07904f863 15:01:01 Removing intermediate container d6c07904f863 15:01:01 ---> 63d91b67030c 15:01:01 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:01:01 ---> Running in d326633e60a3 15:01:01 Removing intermediate container d326633e60a3 15:01:01 ---> 40d7c64d240d 15:01:01 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:01:01 ---> Running in 5f2d647cbb45 15:01:02 Removing intermediate container 5f2d647cbb45 15:01:02 ---> 98dd67248afc 15:01:02 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:01:02 ---> Running in ee8e0ebb139e 15:01:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:01:02 Still waiting to schedule task 15:01:02 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:01:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:01:04 OK: 221 MiB in 52 packages 15:01:04 Removing intermediate container ee8e0ebb139e 15:01:04 ---> e2e14d9c6e5d 15:01:04 Step 8/11 : COPY go.mod vendor* ./ 15:01:04 ---> 0de7db938e9f 15:01:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:01:04 ---> Running in ddfdc1ec018a 15:01:51 Removing intermediate container ddfdc1ec018a 15:01:51 ---> 8abf3fe7002c 15:01:51 Step 10/11 : COPY . . 15:01:51 ---> 76a2ea26e0db 15:01:51 Step 11/11 : RUN ${MAKE} 15:01:51 ---> Running in 29f54b9db35f 15:01:51 noop 15:01:51 Removing intermediate container 29f54b9db35f 15:01:51 ---> d05deda433aa 15:01:51 Successfully built d05deda433aa 15:01:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:01:51 + docker inspect -f . ci-base-image-x86_64 15:01:51 . [Pipeline] withDockerContainer 15:01:51 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:01:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:01:52 $ docker top 977be96a3a6472ddd1b7f3344a6f56a768799a019c768b8867a00f17d76c1d38 -eo pid,comm [Pipeline] { [Pipeline] sh 15:01:52 + go version 15:01:52 go version go1.17.6 linux/amd64 [Pipeline] } 15:01:52 $ docker stop --time=1 977be96a3a6472ddd1b7f3344a6f56a768799a019c768b8867a00f17d76c1d38 15:01:53 $ docker rm -f 977be96a3a6472ddd1b7f3344a6f56a768799a019c768b8867a00f17d76c1d38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:01:54 + docker inspect -f . ci-base-image-x86_64 15:01:54 . [Pipeline] withDockerContainer 15:01:54 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:01:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:01:55 $ docker top 74b3f5f7d6babae8c024f8423bd0a8082b3168fb46be769cc9d59258f8500567 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:01:55 + make test 15:01:55 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:01:55 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:02:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:02:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.008s coverage: 23.3% of statements 15:02:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:02:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements 15:02:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.011s coverage: 78.9% of statements 15:02:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.023s coverage: 10.8% of statements 15:02:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:02:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:02:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:02:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.010s coverage: 33.0% of statements 15:02:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements 15:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.015s coverage: 57.4% of statements 15:02:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.027s coverage: 89.2% of statements 15:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:02:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements 15:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:02:26 GO111MODULE=on go vet ./... 15:02:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6258 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:02:28 Running in /w/workspace/device-sdk-go/49 [Pipeline] { [Pipeline] checkout 15:02:28 The recommended git tool is: git 15:02:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:02:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:02:32 ./bin/test-attribution-txt.sh [Pipeline] echo 15:02:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:02:32 $ docker stop --time=1 74b3f5f7d6babae8c024f8423bd0a8082b3168fb46be769cc9d59258f8500567 15:02:33 using credential edgex-jenkins-ssh 15:02:33 Cloning the remote Git repository 15:02:34 $ docker rm -f 74b3f5f7d6babae8c024f8423bd0a8082b3168fb46be769cc9d59258f8500567 [Pipeline] // withDockerContainer [Pipeline] sh 15:02:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:02:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:02:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:02:33 > git init /w/workspace/device-sdk-go/49 # timeout=10 15:02:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:02:33 > git --version # timeout=10 15:02:33 > git --version # 'git version 2.17.1' 15:02:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:02:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh 15:02:35 Avoid second fetch 15:02:35 Checking out Revision 2d47f06130efe23f62a62eca7f2537e0d7c1e066 (main) 15:02:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:02:35 + ls -al . 15:02:35 total 272 15:02:35 drwxrwxr-x. 11 jenkins jenkins 4096 Mar 2 15:02 . 15:02:35 drwxrwxr-x. 4 jenkins jenkins 110 Mar 2 15:00 .. 15:02:35 drwxrwxr-x. 2 jenkins jenkins 37 Mar 2 15:00 bin 15:02:35 -rw-rw-r--. 1 jenkins jenkins 26321 Mar 2 15:00 CHANGELOG.md 15:02:35 -rw-r--r--. 1 jenkins jenkins 129001 Mar 2 15:02 coverage.out 15:02:35 -rw-rw-r--. 1 jenkins jenkins 140 Mar 2 15:00 .dockerignore 15:02:35 drwxrwxr-x. 5 jenkins jenkins 62 Mar 2 15:00 example 15:02:35 drwxrwxr-x. 8 jenkins jenkins 162 Mar 2 15:00 .git 15:02:35 drwxrwxr-x. 3 jenkins jenkins 125 Mar 2 15:00 .github 15:02:35 -rw-rw-r--. 1 jenkins jenkins 131 Mar 2 15:00 .gitignore 15:02:35 -rw-rw-r--. 1 jenkins jenkins 42 Mar 2 15:00 .golangci.yml 15:02:35 -rw-rw-r--. 1 jenkins jenkins 2774 Mar 2 15:00 go.mod 15:02:35 -rw-rw-r--. 1 jenkins jenkins 49778 Mar 2 15:00 go.sum 15:02:35 -rw-rw-r--. 1 jenkins jenkins 677 Mar 2 15:00 GOVERNANCE.md 15:02:35 drwxrwxr-x. 15 jenkins jenkins 224 Mar 2 15:00 internal 15:02:35 -rw-rw-r--. 1 jenkins jenkins 880 Mar 2 15:00 Jenkinsfile 15:02:35 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 2 15:00 LICENSE 15:02:35 -rw-rw-r--. 1 jenkins jenkins 1614 Mar 2 15:00 Makefile 15:02:35 drwxrwxr-x. 3 jenkins jenkins 16 Mar 2 15:00 openapi 15:02:35 -rw-rw-r--. 1 jenkins jenkins 619 Mar 2 15:00 OWNERS.md 15:02:35 drwxrwxr-x. 5 jenkins jenkins 50 Mar 2 15:00 pkg 15:02:35 -rw-rw-r--. 1 jenkins jenkins 4881 Mar 2 15:00 README.md 15:02:35 drwx------. 3 jenkins jenkins 57 Mar 2 15:00 .semver 15:02:35 drwxrwxr-x. 4 jenkins jenkins 54 Mar 2 15:00 snap 15:02:35 -rw-rw-r--. 1 jenkins jenkins 12 Mar 2 15:00 VERSION 15:02:35 -rw-rw-r--. 1 jenkins jenkins 222 Mar 2 15:00 version.go [Pipeline] isUnix [Pipeline] sh 15:02:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:02:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:02:35 > git config core.sparsecheckout # timeout=10 15:02:35 > git checkout -f 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 15:02:36 + 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=2d47f06130efe23f62a62eca7f2537e0d7c1e066 --label arch=amd64 --label version=2.2.0-dev.16 . 15:02:36 Sending build context to Docker daemon 9.615MB 15:02:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:02:36 Step 2/25 : FROM ${BASE} AS builder 15:02:36 ---> d05deda433aa 15:02:36 Step 3/25 : ARG MAKE=make build 15:02:36 ---> Running in 63452eac391a 15:02:36 Removing intermediate container 63452eac391a 15:02:36 ---> 0fe5f4b8666c 15:02:36 Step 4/25 : WORKDIR /device-sdk-go 15:02:36 ---> Running in 8287eaccfcd0 15:02:36 Removing intermediate container 8287eaccfcd0 15:02:36 ---> e98dc8ae99ba 15:02:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:02:36 ---> Running in b2072453a725 15:02:36 Removing intermediate container b2072453a725 15:02:36 ---> 9ef94e48f3bd 15:02:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:36 ---> Running in cf2a0bf4b3c3 15:02:37 Removing intermediate container cf2a0bf4b3c3 15:02:37 ---> f299d16a51ac 15:02:37 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:02:37 ---> Running in 943b635b86df 15:02:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:02:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:02:38 OK: 221 MiB in 52 packages 15:02:38 Removing intermediate container 943b635b86df 15:02:38 ---> fa8f8c5fd25e 15:02:38 Step 8/25 : COPY go.mod vendor* ./ 15:02:39 ---> 06c5b9dec8b6 15:02:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:39 ---> Running in 83c71ddd7d43 15:02:39 Removing intermediate container 83c71ddd7d43 15:02:39 ---> 842b7ae8d08c 15:02:39 Step 10/25 : COPY . . 15:02:39 Commit message: "Merge pull request #1097 from hahattan/issue-649" 15:02:39 ---> 23006ea1fcdc 15:02:39 Step 11/25 : RUN ${MAKE} [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:02:40 ---> Running in f3f1b36c7113 15:02:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:02:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:02:40 % Total % Received % Xferd Average Speed Time Time Time Current 15:02:40 Dload Upload Total Spent Left Speed 15:02:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47562 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 15:02:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:02:41 + sudo tee /etc/docker/daemon.new 15:02:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:02:41 { 15:02:41 "registry-mirrors": [ 15:02:41 "https://nexus3.edgexfoundry.org:10001" 15:02:41 ], 15:02:41 "bip": "10.250.0.254/24", 15:02:41 "hosts": [ 15:02:41 "tcp://0.0.0.0:5555", 15:02:41 "unix:///var/run/docker.sock" 15:02:41 ], 15:02:41 "mtu": 1458, 15:02:41 "selinux-enabled": true, 15:02:41 "seccomp-profile": "/etc/docker/seccomp.json" 15:02:41 } [Pipeline] sh 15:02:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:02:42 + sudo service docker restart 15:02:52 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:02:52 Removing intermediate container f3f1b36c7113 15:02:52 ---> b58e2a322de1 15:02:52 Step 12/25 : FROM alpine:3.14 15:02:53 3.14: Pulling from library/alpine 15:02:53 97518928ae5f: Pulling fs layer 15:02:53 97518928ae5f: Verifying Checksum 15:02:53 97518928ae5f: Download complete 15:02:53 97518928ae5f: Pull complete 15:02:53 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 15:02:53 Status: Downloaded newer image for alpine:3.14 15:02:53 ---> 0a97eee8041e 15:02:53 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:02:53 ---> Running in d01fb25e2ae7 15:02:53 Removing intermediate container d01fb25e2ae7 15:02:53 ---> b7ac35ca37d3 15:02:53 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:53 ---> Running in afd8cca2db7d 15:02:54 Removing intermediate container afd8cca2db7d 15:02:54 ---> 0d5a23605ba0 15:02:54 Step 15/25 : RUN apk add --update --no-cache zeromq 15:02:54 ---> Running in b869266966a2 15:02:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:02:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:02:55 (1/5) Installing libgcc (10.3.1_git20210424-r2) 15:02:55 (2/5) Installing libsodium (1.0.18-r0) 15:02:55 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 15:02:56 (4/5) Installing libzmq (4.3.4-r0) 15:02:56 (5/5) Installing zeromq (4.3.4-r0) 15:02:56 Executing busybox-1.33.1-r6.trigger 15:02:56 OK: 8 MiB in 19 packages 15:02:56 Removing intermediate container b869266966a2 15:02:56 ---> 5962e28fbb18 15:02:56 Step 16/25 : WORKDIR / 15:02:56 ---> Running in 111e41ee1fa3 15:02:56 Removing intermediate container 111e41ee1fa3 15:02:56 ---> 0c3882acfaa1 15:02:56 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:02:56 ---> fcf08e187e61 15:02:56 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:02:57 ---> 6e671a5c8aa9 15:02:57 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:02:57 ---> 1578ef16c4bb 15:02:57 Step 20/25 : EXPOSE 59999 15:02:57 ---> Running in ec0ef060432c 15:02:57 Removing intermediate container ec0ef060432c 15:02:57 ---> e678dac392d4 15:02:57 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:02:57 ---> Running in 7221ab6683d6 15:02:57 Removing intermediate container 7221ab6683d6 15:02:57 ---> 70cfdec9b546 15:02:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:02:57 ---> Running in 81014d356fd4 15:02:57 Removing intermediate container 81014d356fd4 15:02:57 ---> 3088d64cb500 15:02:57 Step 23/25 : LABEL arch=amd64 15:02:57 ---> Running in 06ef8cfd9881 15:02:57 Removing intermediate container 06ef8cfd9881 15:02:57 ---> b50531013e77 15:02:57 Step 24/25 : LABEL git_sha=2d47f06130efe23f62a62eca7f2537e0d7c1e066 15:02:57 ---> Running in 9827043d1cd9 15:02:58 Removing intermediate container 9827043d1cd9 15:02:58 ---> 13477f3516f4 15:02:58 Step 25/25 : LABEL version=2.2.0-dev.16 15:02:58 ---> Running in ef21c0b30255 15:02:58 Removing intermediate container ef21c0b30255 15:02:58 ---> 4496267e4edb 15:02:58 [Warning] One or more build-args [ARCH] were not consumed 15:02:58 Successfully built 4496267e4edb 15:02:58 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 15:02:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:58 15:02:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:02:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:58 latest: Pulling from edgex-lftools-log-publisher 15:02:58 5eb5b503b376: Pulling fs layer 15:02:58 5c69ac0246d0: Pulling fs layer 15:02:58 ec43610c2a17: Pulling fs layer 15:02:58 3a2ae6a8a46f: Pulling fs layer 15:02:58 33b1e0a273af: Pulling fs layer 15:02:58 5d3b04190fa2: Pulling fs layer 15:02:58 2f39f015ded8: Pulling fs layer 15:02:58 3a2ae6a8a46f: Waiting 15:02:58 33b1e0a273af: Waiting 15:02:58 5d3b04190fa2: Waiting 15:02:58 2f39f015ded8: Waiting 15:02:58 5c69ac0246d0: Verifying Checksum 15:02:58 5c69ac0246d0: Download complete 15:02:58 3a2ae6a8a46f: Verifying Checksum 15:02:58 3a2ae6a8a46f: Download complete 15:02:58 33b1e0a273af: Verifying Checksum 15:02:58 33b1e0a273af: Download complete 15:02:58 ec43610c2a17: Verifying Checksum 15:02:58 ec43610c2a17: Download complete 15:02:58 5d3b04190fa2: Verifying Checksum 15:02:58 5d3b04190fa2: Download complete 15:02:59 5eb5b503b376: Verifying Checksum 15:02:59 5eb5b503b376: Download complete 15:02:59 2f39f015ded8: Verifying Checksum 15:02:59 2f39f015ded8: Download complete 15:03:00 5eb5b503b376: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:03:00 provisioning config files... 15:03:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/49@tmp/config6101667032873121809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:00 5c69ac0246d0: Pull complete 15:03:01 ---> docker-login.sh 15:03:01 nexus3.edgexfoundry.org:10001 15:03:01 ec43610c2a17: Pull complete 15:03:01 3a2ae6a8a46f: Pull complete 15:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:01 33b1e0a273af: Pull complete 15:03:01 5d3b04190fa2: Pull complete 15:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:01 Configure a credential helper to remove this warning. See 15:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:01 15:03:01 Login Succeeded 15:03:01 nexus3.edgexfoundry.org:10002 15:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:02 Configure a credential helper to remove this warning. See 15:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:02 15:03:02 Login Succeeded 15:03:02 nexus3.edgexfoundry.org:10003 15:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:03 Configure a credential helper to remove this warning. See 15:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:03 15:03:03 Login Succeeded 15:03:03 nexus3.edgexfoundry.org:10004 15:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:03 Configure a credential helper to remove this warning. See 15:03:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:03 15:03:03 Login Succeeded 15:03:03 docker.io 15:03:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:04 Configure a credential helper to remove this warning. See 15:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:04 15:03:04 Login Succeeded 15:03:04 ---> docker-login.sh ends [Pipeline] } 15:03:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:03:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:04 ========================================================= 15:03:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:03:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:03:05 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:03:05 Sending build context to Docker daemon 5.134MB 15:03:05 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:03:05 Step 2/11 : FROM ${BASE} AS builder 15:03:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:03:05 9b3977197b4f: Pulling fs layer 15:03:05 1a89e8eeedd5: Pulling fs layer 15:03:05 94645a83ff95: Pulling fs layer 15:03:05 3f3a8bcf1eab: Pulling fs layer 15:03:05 0c92f367c5e7: Pulling fs layer 15:03:05 f7c0051592d6: Pulling fs layer 15:03:05 a227ed2f7395: Pulling fs layer 15:03:05 7b1c46037f91: Pulling fs layer 15:03:05 f7c0051592d6: Waiting 15:03:05 a227ed2f7395: Waiting 15:03:05 3f3a8bcf1eab: Waiting 15:03:05 7b1c46037f91: Waiting 15:03:05 0c92f367c5e7: Waiting 15:03:05 94645a83ff95: Verifying Checksum 15:03:05 94645a83ff95: Download complete 15:03:05 1a89e8eeedd5: Verifying Checksum 15:03:05 1a89e8eeedd5: Download complete 15:03:05 0c92f367c5e7: Verifying Checksum 15:03:05 0c92f367c5e7: Download complete 15:03:05 f7c0051592d6: Verifying Checksum 15:03:05 a227ed2f7395: Verifying Checksum 15:03:05 a227ed2f7395: Download complete 15:03:05 9b3977197b4f: Verifying Checksum 15:03:05 9b3977197b4f: Download complete 15:03:06 9b3977197b4f: Pull complete 15:03:07 2f39f015ded8: Pull complete 15:03:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:03:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:03:07 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:03:07 1a89e8eeedd5: Pull complete 15:03:07 94645a83ff95: Pull complete 15:03:07 7b1c46037f91: Verifying Checksum 15:03:07 7b1c46037f91: Download complete 15:03:08 3f3a8bcf1eab: Verifying Checksum 15:03:08 3f3a8bcf1eab: Download complete 15:03:10 $ docker top f5470e13faff8104aeae16d6f5335f1888aa37f6f5efa60e0bf3e59edf15f17a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:10 ---> job-cost.sh 15:03:10 lf-activate-venv: SKIPPING 15:03:10 INFO: No Stack... 15:03:11 INFO: Retrieving Pricing Info for: v3-standard-2 15:03:11 INFO: Archiving Costs [Pipeline] sh 15:03:11 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:03:11 + cut -d, -f6 [Pipeline] lock 15:03:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] 15:03:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] did not exist. Created. 15:03:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:03:11 + echo total: 0.05999999865889549 [Pipeline] stash 15:03:12 Stashed 1 file(s) [Pipeline] } 15:03:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 15:03:12 $ docker stop --time=1 f5470e13faff8104aeae16d6f5335f1888aa37f6f5efa60e0bf3e59edf15f17a 15:03:13 $ docker rm -f f5470e13faff8104aeae16d6f5335f1888aa37f6f5efa60e0bf3e59edf15f17a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:03:20 3f3a8bcf1eab: Pull complete 15:03:20 0c92f367c5e7: Pull complete 15:03:20 f7c0051592d6: Pull complete 15:03:20 a227ed2f7395: Pull complete 15:03:26 7b1c46037f91: Pull complete 15:03:26 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:03:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:03:26 ---> f79e39bc4007 15:03:26 Step 3/11 : ARG MAKE=make build 15:03:27 ---> Running in ff81c79df16d 15:03:27 Removing intermediate container ff81c79df16d 15:03:27 ---> 347a76a2ad9e 15:03:27 Step 4/11 : WORKDIR /device-sdk-go 15:03:27 ---> Running in bc9ba1675667 15:03:28 Removing intermediate container bc9ba1675667 15:03:28 ---> 196492a550b3 15:03:28 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:03:28 ---> Running in cbc4e64dbcb4 15:03:28 Removing intermediate container cbc4e64dbcb4 15:03:28 ---> 76b56b9fb883 15:03:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:03:28 ---> Running in 69b339c99f11 15:03:30 Removing intermediate container 69b339c99f11 15:03:30 ---> a64c2a4702d7 15:03:30 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:03:30 ---> Running in 5c2a28b76ad8 15:03:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:03:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:03:33 OK: 220 MiB in 52 packages 15:03:34 Removing intermediate container 5c2a28b76ad8 15:03:34 ---> 404e439c9035 15:03:34 Step 8/11 : COPY go.mod vendor* ./ 15:03:34 ---> c6e9bc576352 15:03:34 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:34 ---> Running in 92ed203f0cfd 15:04:56 Removing intermediate container 92ed203f0cfd 15:04:56 ---> 3e926b6427b6 15:04:56 Step 10/11 : COPY . . 15:04:56 ---> 8084b861a507 15:04:56 Step 11/11 : RUN ${MAKE} 15:04:56 ---> Running in 4cbe59b8201d 15:04:56 noop 15:04:56 Removing intermediate container 4cbe59b8201d 15:04:56 ---> 3e7cae8a88f1 15:04:56 Successfully built 3e7cae8a88f1 15:04:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:04:56 + docker inspect -f . ci-base-image-arm64 15:04:56 . [Pipeline] withDockerContainer 15:04:57 prd-ubuntu18.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 15:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@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 15:04:58 $ docker top e0c08e880c0457bb6eea5592a1cb1346c5ae244cbda4cc20377036cd30868dca -eo pid,comm [Pipeline] { [Pipeline] sh 15:04:59 + go version 15:04:59 go version go1.17.6 linux/arm64 [Pipeline] } 15:04:59 $ docker stop --time=1 e0c08e880c0457bb6eea5592a1cb1346c5ae244cbda4cc20377036cd30868dca 15:05:01 $ docker rm -f e0c08e880c0457bb6eea5592a1cb1346c5ae244cbda4cc20377036cd30868dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:05:01 + docker inspect -f . ci-base-image-arm64 15:05:01 . [Pipeline] withDockerContainer 15:05:02 prd-ubuntu18.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 15:05:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@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 15:05:03 $ docker top 3fc998e6a2a8c3a0733b3241f974f8157188db6d514783750fc9401a356ec6e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:05:04 + make test 15:05:04 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:05:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:05:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:06:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 23.3% of statements 15:06:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:06:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.117s coverage: 27.6% of statements 15:06:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements 15:06:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 10.8% of statements 15:06:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 15:06:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:06:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:06:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 33.0% of statements 15:06:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 86.1% of statements 15:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.4% of statements 15:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.185s coverage: 89.2% of statements 15:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:06:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements 15:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:06:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:06:07 GO111MODULE=on go vet ./... 15:06:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:06:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:06:29 ./bin/test-attribution-txt.sh [Pipeline] echo 15:06:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:06:29 $ docker stop --time=1 3fc998e6a2a8c3a0733b3241f974f8157188db6d514783750fc9401a356ec6e3 15:06:31 $ docker rm -f 3fc998e6a2a8c3a0733b3241f974f8157188db6d514783750fc9401a356ec6e3 [Pipeline] // withDockerContainer [Pipeline] sh 15:06:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:06:32 Warning: overwriting stash ‘coverage-report’ 15:06:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:06:34 + ls -al . 15:06:34 total 308 15:06:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 2 15:06 . 15:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 15:02 .. 15:06:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 2 15:02 .dockerignore 15:06:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 2 15:02 .git 15:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 15:02 .github 15:06:34 -rw-rw-r-- 1 jenkins jenkins 131 Mar 2 15:02 .gitignore 15:06:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 2 15:02 .golangci.yml 15:06:34 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 2 15:02 CHANGELOG.md 15:06:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 2 15:02 GOVERNANCE.md 15:06:34 -rw-rw-r-- 1 jenkins jenkins 880 Mar 2 15:02 Jenkinsfile 15:06:34 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 2 15:02 LICENSE 15:06:34 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 2 15:02 Makefile 15:06:34 -rw-rw-r-- 1 jenkins jenkins 619 Mar 2 15:02 OWNERS.md 15:06:34 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 2 15:02 README.md 15:06:34 -rw-rw-r-- 1 jenkins jenkins 12 Mar 2 15:00 VERSION 15:06:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 2 15:02 bin 15:06:34 -rw-r--r-- 1 jenkins jenkins 129001 Mar 2 15:06 coverage.out 15:06:34 drwxrwxr-x 5 jenkins jenkins 4096 Mar 2 15:02 example 15:06:34 -rw-rw-r-- 1 jenkins jenkins 2774 Mar 2 15:02 go.mod 15:06:34 -rw-rw-r-- 1 jenkins jenkins 49778 Mar 2 15:02 go.sum 15:06:34 drwxrwxr-x 15 jenkins jenkins 4096 Mar 2 15:02 internal 15:06:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 2 15:02 openapi 15:06:34 drwxrwxr-x 5 jenkins jenkins 4096 Mar 2 15:02 pkg 15:06:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 2 15:02 snap 15:06:34 -rw-rw-r-- 1 jenkins jenkins 222 Mar 2 15:02 version.go [Pipeline] isUnix [Pipeline] sh 15:06:34 + 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=2d47f06130efe23f62a62eca7f2537e0d7c1e066 --label arch=arm64 --label version=2.2.0-dev.16 . 15:06:34 Sending build context to Docker daemon 5.264MB 15:06:34 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:06:34 Step 2/25 : FROM ${BASE} AS builder 15:06:34 ---> 3e7cae8a88f1 15:06:34 Step 3/25 : ARG MAKE=make build 15:06:34 ---> Running in e7ffbd399981 15:06:35 Removing intermediate container e7ffbd399981 15:06:35 ---> fe3b2deea694 15:06:35 Step 4/25 : WORKDIR /device-sdk-go 15:06:35 ---> Running in ca01b8b1584d 15:06:35 Removing intermediate container ca01b8b1584d 15:06:35 ---> 956cc103eac5 15:06:35 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:06:36 ---> Running in 1262b0930e4b 15:06:36 Removing intermediate container 1262b0930e4b 15:06:36 ---> 30ff35c9af1c 15:06:36 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:06:36 ---> Running in 020cee79d4c9 15:06:38 Removing intermediate container 020cee79d4c9 15:06:38 ---> 46d0a96a4694 15:06:38 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:06:38 ---> Running in ca5fea9b1f9e 15:06:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:06:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:06:40 OK: 220 MiB in 52 packages 15:06:41 Removing intermediate container ca5fea9b1f9e 15:06:41 ---> 11cf776c2577 15:06:41 Step 8/25 : COPY go.mod vendor* ./ 15:06:42 ---> c2b4b70684fe 15:06:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:42 ---> Running in adedb8472026 15:06:44 Removing intermediate container adedb8472026 15:06:44 ---> 751fed31b1e6 15:06:44 Step 10/25 : COPY . . 15:06:45 ---> 5b167dc44cd9 15:06:45 Step 11/25 : RUN ${MAKE} 15:06:45 ---> Running in 7577e21982cb 15:06:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:07:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:07:27 Removing intermediate container 7577e21982cb 15:07:27 ---> 4a5267e6312b 15:07:27 Step 12/25 : FROM alpine:3.14 15:07:28 3.14: Pulling from library/alpine 15:07:28 be307f383ecc: Pulling fs layer 15:07:28 be307f383ecc: Verifying Checksum 15:07:28 be307f383ecc: Download complete 15:07:29 be307f383ecc: Pull complete 15:07:29 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 15:07:29 Status: Downloaded newer image for alpine:3.14 15:07:29 ---> 5b8b7b635229 15:07:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:07:29 ---> Running in b071c64e7702 15:07:29 Removing intermediate container b071c64e7702 15:07:29 ---> 63ce1fe79cde 15:07:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:07:29 ---> Running in f056065d8fff 15:07:31 Removing intermediate container f056065d8fff 15:07:31 ---> e90fbdc692b3 15:07:31 Step 15/25 : RUN apk add --update --no-cache zeromq 15:07:31 ---> Running in 0f1a9e6f0079 15:07:32 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:07:33 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:07:34 (1/5) Installing libgcc (10.3.1_git20210424-r2) 15:07:34 (2/5) Installing libsodium (1.0.18-r0) 15:07:34 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 15:07:34 (4/5) Installing libzmq (4.3.4-r0) 15:07:35 (5/5) Installing zeromq (4.3.4-r0) 15:07:35 Executing busybox-1.33.1-r6.trigger 15:07:35 OK: 8 MiB in 19 packages 15:07:36 Removing intermediate container 0f1a9e6f0079 15:07:36 ---> 3f550ca2057d 15:07:36 Step 16/25 : WORKDIR / 15:07:36 ---> Running in 3b96dd89fad0 15:07:36 Removing intermediate container 3b96dd89fad0 15:07:36 ---> 9c25dd6b73f1 15:07:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:07:37 ---> 1716834ac0ef 15:07:37 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:07:38 ---> d881bc1ffbff 15:07:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:07:38 ---> bc876a68d592 15:07:38 Step 20/25 : EXPOSE 59999 15:07:38 ---> Running in c313c1084353 15:07:39 Removing intermediate container c313c1084353 15:07:39 ---> 616acda55ae3 15:07:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:07:39 ---> Running in 28301cbb8ded 15:07:39 Removing intermediate container 28301cbb8ded 15:07:39 ---> d0105ce33a64 15:07:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:07:39 ---> Running in 2f467ad71314 15:07:40 Removing intermediate container 2f467ad71314 15:07:40 ---> 321d836c6e03 15:07:40 Step 23/25 : LABEL arch=arm64 15:07:40 ---> Running in 235b278c9974 15:07:40 Removing intermediate container 235b278c9974 15:07:40 ---> 9d7282bfbde8 15:07:40 Step 24/25 : LABEL git_sha=2d47f06130efe23f62a62eca7f2537e0d7c1e066 15:07:40 ---> Running in a88ebec50f55 15:07:41 Removing intermediate container a88ebec50f55 15:07:41 ---> 75629802f230 15:07:41 Step 25/25 : LABEL version=2.2.0-dev.16 15:07:41 ---> Running in 7d8c477faba7 15:07:41 Removing intermediate container 7d8c477faba7 15:07:41 ---> c753d3ffe5de 15:07:41 [Warning] One or more build-args [ARCH] were not consumed 15:07:41 Successfully built c753d3ffe5de 15:07:41 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 15:07:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:42 15:07:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:07:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:42 arm64: Pulling from edgex-lftools-log-publisher 15:07:42 8998bd30e6a1: Pulling fs layer 15:07:42 04944245beec: Pulling fs layer 15:07:42 699f458cf7ca: Pulling fs layer 15:07:42 765212b225bb: Pulling fs layer 15:07:42 f23df028b6ca: Pulling fs layer 15:07:42 d65c8cfc05b1: Pulling fs layer 15:07:42 2437ff75d9bd: Pulling fs layer 15:07:42 765212b225bb: Waiting 15:07:42 f23df028b6ca: Waiting 15:07:42 d65c8cfc05b1: Waiting 15:07:42 2437ff75d9bd: Waiting 15:07:42 04944245beec: Verifying Checksum 15:07:42 04944245beec: Download complete 15:07:42 765212b225bb: Verifying Checksum 15:07:42 765212b225bb: Download complete 15:07:42 f23df028b6ca: Verifying Checksum 15:07:42 f23df028b6ca: Download complete 15:07:42 d65c8cfc05b1: Verifying Checksum 15:07:42 d65c8cfc05b1: Download complete 15:07:42 699f458cf7ca: Verifying Checksum 15:07:42 699f458cf7ca: Download complete 15:07:43 8998bd30e6a1: Verifying Checksum 15:07:43 8998bd30e6a1: Download complete 15:07:45 2437ff75d9bd: Verifying Checksum 15:07:45 2437ff75d9bd: Download complete 15:07:47 8998bd30e6a1: Pull complete 15:07:47 04944245beec: Pull complete 15:07:49 699f458cf7ca: Pull complete 15:07:49 765212b225bb: Pull complete 15:07:50 f23df028b6ca: Pull complete 15:07:50 d65c8cfc05b1: Pull complete 15:08:05 2437ff75d9bd: Pull complete 15:08:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:08:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:08:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:08:06 prd-ubuntu18.04-docker-arm64-4c-16g-6258 does not seem to be running inside a container 15:08:06 $ 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/49 -v /w/workspace/device-sdk-go/49:/w/workspace/device-sdk-go/49:rw,z -v /w/workspace/device-sdk-go/49@tmp:/w/workspace/device-sdk-go/49@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 15:08:08 $ docker top 23f6133c0c90845f7d3b9e07ee8eed12fec75ec8074dd86fb7720d03a4336c5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:09 ---> job-cost.sh 15:08:09 lf-activate-venv: SKIPPING 15:08:09 INFO: No Stack... 15:08:09 INFO: Retrieving Pricing Info for: v3-standard-4 15:08:10 INFO: Archiving Costs [Pipeline] sh 15:08:11 + cat /w/workspace/device-sdk-go/49/archives/cost.csv 15:08:11 + cut -d, -f6 [Pipeline] lock 15:08:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] 15:08:11 Resource [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] did not exist. Created. 15:08:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:08:12 /w/workspace/device-sdk-go/49@tmp/durable-75035926/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:08:13 + echo total: 0.10999999940395355 [Pipeline] stash 15:08:13 Warning: overwriting stash ‘stack-cost’ 15:08:13 Stashed 1 file(s) [Pipeline] } 15:08:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-49-stack-cost] [Pipeline] // lock [Pipeline] } 15:08:13 $ docker stop --time=1 23f6133c0c90845f7d3b9e07ee8eed12fec75ec8074dd86fb7720d03a4336c5e 15:08:14 $ docker rm -f 23f6133c0c90845f7d3b9e07ee8eed12fec75ec8074dd86fb7720d03a4336c5e [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 15:08:15 provisioning config files... 15:08:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2345538402367613392tmp [Pipeline] { [Pipeline] sh 15:08:15 + set +x 15:08:15 + curl -s https://codecov.io/bash 15:08:15 + bash -s -- 15:08:15 15:08:15 _____ _ 15:08:15 / ____| | | 15:08:15 | | ___ __| | ___ ___ _____ __ 15:08:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:08:15 | |___| (_) | (_| | __/ (_| (_) \ V / 15:08:15 \_____\___/ \__,_|\___|\___\___/ \_/ 15:08:15 Bash-1.0.6 15:08:15 15:08:15 15:08:15 ==> git version 2.24.4 found 15:08:15 ==> 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 15:08:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:08:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:08:15 ==> Jenkins CI detected. 15:08:15 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:08:15 project root: . 15:08:15 --> token set from env 15:08:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:08:15 ==> Running gcov in . (disable via -X gcov) 15:08:15 ==> Python coveragepy not found 15:08:15 ==> Searching for coverage reports in: 15:08:15 + . 15:08:15 -> Found 1 reports 15:08:15 ==> Detecting git/mercurial file structure 15:08:15 ==> Reading reports 15:08:15 + ./coverage.out bytes=129001 15:08:15 ==> Appending adjustments 15:08:15 https://docs.codecov.io/docs/fixing-reports 15:08:15 + Found adjustments 15:08:15 ==> Gzipping contents 15:08:15 16K /tmp/codecov.N6pCbD.gz 15:08:15 ==> Uploading reports 15:08:15 url: https://codecov.io 15:08:15 query: branch=main&commit=2d47f06130efe23f62a62eca7f2537e0d7c1e066&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:08:15 -> Pinging Codecov 15:08:15 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=2d47f06130efe23f62a62eca7f2537e0d7c1e066&build=49&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F49%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:08:16 -> Uploading to 15:08:16 https://storage.googleapis.com/codecov/v4/raw/2022-03-02/7E55EF52A471D76F132DFD9A03CDDE97/2d47f06130efe23f62a62eca7f2537e0d7c1e066/c7542fd7-5829-48ea-a51c-75d41de2deeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220302%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220302T150816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b21b4c95d7a644074e01cfa3d8df3df595c3d23bb263e747e392d0e8b1279e5 15:08:16 % Total % Received % Xferd Average Speed Time Time Time Current 15:08:16 Dload Upload Total Spent Left Speed 15:08:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16233 0 0 100 16233 0 48943 --:--:-- --:--:-- --:--:-- 48894 100 16233 0 0 100 16233 0 48922 --:--:-- --:--:-- --:--:-- 48894 15:08:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] } 15:08:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:08:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:08:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:08:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:08:17 15:08:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:08:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:08:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:08:17 188c0c94c7c5: Pulling fs layer 15:08:17 0ef7d3d256c8: Pulling fs layer 15:08:17 de9db76c5a1d: Pulling fs layer 15:08:17 0eba1c9be4d2: Pulling fs layer 15:08:17 0d57e429df01: Pulling fs layer 15:08:17 4e4be7b47b0d: Pulling fs layer 15:08:17 e1f770b5df2f: Pulling fs layer 15:08:17 85a0685a4137: Pulling fs layer 15:08:17 0eba1c9be4d2: Waiting 15:08:17 0d57e429df01: Waiting 15:08:17 4e4be7b47b0d: Waiting 15:08:17 e1f770b5df2f: Waiting 15:08:17 85a0685a4137: Waiting 15:08:17 de9db76c5a1d: Verifying Checksum 15:08:17 de9db76c5a1d: Download complete 15:08:17 0ef7d3d256c8: Verifying Checksum 15:08:17 0ef7d3d256c8: Download complete 15:08:17 0d57e429df01: Verifying Checksum 15:08:17 0d57e429df01: Download complete 15:08:17 4e4be7b47b0d: Verifying Checksum 15:08:17 4e4be7b47b0d: Download complete 15:08:17 188c0c94c7c5: Verifying Checksum 15:08:17 188c0c94c7c5: Download complete 15:08:17 e1f770b5df2f: Verifying Checksum 15:08:17 e1f770b5df2f: Download complete 15:08:18 0eba1c9be4d2: Verifying Checksum 15:08:18 0eba1c9be4d2: Download complete 15:08:18 188c0c94c7c5: Pull complete 15:08:18 0ef7d3d256c8: Pull complete 15:08:18 85a0685a4137: Verifying Checksum 15:08:18 85a0685a4137: Download complete 15:08:18 de9db76c5a1d: Pull complete 15:08:21 0eba1c9be4d2: Pull complete 15:08:22 0d57e429df01: Pull complete 15:08:22 4e4be7b47b0d: Pull complete 15:08:22 e1f770b5df2f: Pull complete 15:08:26 85a0685a4137: Pull complete 15:08:26 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:08:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:08:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:08:26 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:08:28 $ docker top 53d7f67603490b6f9d6143af8bbadedde99e9f34e47341e66f6a112045e2abbe -eo pid,comm [Pipeline] { [Pipeline] echo 15:08:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:08:29 + set -o pipefail 15:08:29 + snyk monitor '--org=edgex-jenkins' 15:08:34 15:08:34 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 15:08:34 15:08:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/1e41c192-17d4-4672-9b6a-017e560394bd 15:08:34 15:08:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:08:34 15:08:34 [Pipeline] } 15:08:34 $ docker stop --time=1 53d7f67603490b6f9d6143af8bbadedde99e9f34e47341e66f6a112045e2abbe 15:08:36 $ docker rm -f 53d7f67603490b6f9d6143af8bbadedde99e9f34e47341e66f6a112045e2abbe [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 15:08:37 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:37 provisioning config files... 15:08:37 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4650738453461870067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:37 --> edgex-publish-swagger.sh 15:08:37 === Publish openapi/v2 API === 15:08:37 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:08:37 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 15:08:37 % Total % Received % Xferd Average Speed Time Time Time Current 15:08:37 Dload Upload Total Spent Left Speed 15:08:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53153 0 0 100 53153 0 44009 0:00:01 0:00:01 --:--:-- 44037 100 53153 0 0 100 53153 0 44004 0:00:01 0:00:01 --:--:-- 44037 15:08:38 15:08:38 [Pipeline] } 15:08:38 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 15:08:39 + git log --format=format:%s -1 2d47f06130efe23f62a62eca7f2537e0d7c1e066 [Pipeline] sh 15:08:39 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:08:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:08:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:08:39 . [Pipeline] withDockerContainer 15:08:39 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:08:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:08:40 $ docker top 3fe6ee13f78d5024e53a2de0223df834dababbc3ae354fa5acdc890101ffe6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:40 [ssh-agent] Looking for ssh-agent implementation... 15:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:40 $ docker exec 3fe6ee13f78d5024e53a2de0223df834dababbc3ae354fa5acdc890101ffe6db ssh-agent 15:08:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXieioDJ/agent.13 15:08:40 SSH_AGENT_PID=19 15:08:40 Running ssh-add (command line suppressed) 15:08:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1311761767831262035.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1311761767831262035.key) 15:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:41 + git semver tag 15:08:41 # -> Open(): unable to determine branch for HEAD 15:08:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 15:08:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 15:08:41 # $SEMVER_REMOTE_NAME = origin 15:08:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:08:41 # $SEMVER_USER_NAME = edgex-jenkins 15:08:41 # $SEMVER_BRANCH = main 15:08:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:08:41 # 2d47f06130efe23f62a62eca7f2537e0d7c1e066 HEAD 15:08:41 # -> Force: false 15:08:41 # b1a2545b1a382da880177503a487e3f59b6fbadc refs/tags/v2.2.0-dev.16 [Pipeline] } 15:08:41 $ docker exec --env ******** --env ******** 3fe6ee13f78d5024e53a2de0223df834dababbc3ae354fa5acdc890101ffe6db ssh-agent -k 15:08:41 unset SSH_AUTH_SOCK; 15:08:41 unset SSH_AGENT_PID; 15:08:41 echo Agent pid 19 killed; 15:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:08:41 + git semver [Pipeline] } 15:08:41 $ docker stop --time=1 3fe6ee13f78d5024e53a2de0223df834dababbc3ae354fa5acdc890101ffe6db 15:08:42 $ docker rm -f 3fe6ee13f78d5024e53a2de0223df834dababbc3ae354fa5acdc890101ffe6db [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:08:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:43 15:08:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:08:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:43 0.23.1-centos7: Pulling from edgex-lftools 15:08:43 ab5ef0e58194: Pulling fs layer 15:08:43 9712f1f96733: Pulling fs layer 15:08:43 63f879dbbcfc: Pulling fs layer 15:08:43 0d9ebad4ef96: Pulling fs layer 15:08:43 e9a5061849ea: Pulling fs layer 15:08:43 d747dcd14b5f: Pulling fs layer 15:08:43 2de7ff778b66: Pulling fs layer 15:08:43 e9a5061849ea: Waiting 15:08:43 d747dcd14b5f: Waiting 15:08:43 2de7ff778b66: Waiting 15:08:43 0d9ebad4ef96: Waiting 15:08:43 9712f1f96733: Verifying Checksum 15:08:43 9712f1f96733: Download complete 15:08:43 63f879dbbcfc: Verifying Checksum 15:08:43 63f879dbbcfc: Download complete 15:08:43 ab5ef0e58194: Verifying Checksum 15:08:43 ab5ef0e58194: Download complete 15:08:43 0d9ebad4ef96: Verifying Checksum 15:08:43 0d9ebad4ef96: Download complete 15:08:43 d747dcd14b5f: Verifying Checksum 15:08:43 d747dcd14b5f: Download complete 15:08:43 e9a5061849ea: Verifying Checksum 15:08:43 e9a5061849ea: Download complete 15:08:44 2de7ff778b66: Verifying Checksum 15:08:44 2de7ff778b66: Download complete 15:08:47 ab5ef0e58194: Pull complete 15:08:47 9712f1f96733: Pull complete 15:08:47 63f879dbbcfc: Pull complete 15:08:52 0d9ebad4ef96: Pull complete 15:08:52 e9a5061849ea: Pull complete 15:08:52 d747dcd14b5f: Pull complete 15:08:54 2de7ff778b66: Pull complete 15:08:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:08:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:08:54 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:08:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:08:57 $ docker top a92190d5ef51aaa0835f101a7f3c5e55b56208fe4244e3dd01619194b3dc9cd3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:08:57 provisioning config files... 15:08:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1453374846119883079tmp 15:08:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7432642757566925407tmp 15:08:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1881764906692670184tmp [Pipeline] { [Pipeline] echo 15:08:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:08:57 ---> sigul-configuration.sh 15:08:57 gpg: directory `/root/.gnupg' created 15:08:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:08:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:08:57 gpg: keyring `/root/.gnupg/secring.gpg' created 15:08:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:08:57 gpg: CAST5 encrypted data 15:08:57 gpg: encrypted with 1 passphrase 15:08:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:08:58 + mkdir /home/jenkins 15:08:58 + mkdir /home/jenkins/sigul [Pipeline] sh 15:08:58 + 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 15:08:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:08:58 ---> sigul-install.sh 15:08:58 Sigul already installed; skipping installation. [Pipeline] sh 15:08:58 + git tag --list 15:08:58 0.7.1 15:08:58 delhi-tag 15:08:58 v1.0.0 15:08:58 v1.1.0 15:08:58 v1.1.1 15:08:58 v1.1.2 15:08:58 v1.2.0 15:08:58 v1.2.1 15:08:58 v1.2.2 15:08:58 v1.2.3 15:08:58 v1.3.0 15:08:58 v1.4.0 15:08:58 v2.0.0 15:08:58 v2.0.1-dev.1 15:08:58 v2.0.1-dev.10 15:08:58 v2.0.1-dev.11 15:08:58 v2.0.1-dev.12 15:08:58 v2.0.1-dev.13 15:08:58 v2.0.1-dev.14 15:08:58 v2.0.1-dev.15 15:08:58 v2.0.1-dev.16 15:08:58 v2.0.1-dev.17 15:08:58 v2.0.1-dev.18 15:08:58 v2.0.1-dev.19 15:08:58 v2.0.1-dev.2 15:08:58 v2.0.1-dev.20 15:08:58 v2.0.1-dev.21 15:08:58 v2.0.1-dev.22 15:08:58 v2.0.1-dev.23 15:08:58 v2.0.1-dev.24 15:08:58 v2.0.1-dev.25 15:08:58 v2.0.1-dev.26 15:08:58 v2.0.1-dev.27 15:08:58 v2.0.1-dev.28 15:08:58 v2.0.1-dev.29 15:08:58 v2.0.1-dev.3 15:08:58 v2.0.1-dev.30 15:08:58 v2.0.1-dev.31 15:08:58 v2.0.1-dev.32 15:08:58 v2.0.1-dev.33 15:08:58 v2.0.1-dev.4 15:08:58 v2.0.1-dev.5 15:08:58 v2.0.1-dev.6 15:08:58 v2.0.1-dev.7 15:08:58 v2.0.1-dev.8 15:08:58 v2.0.1-dev.9 15:08:58 v2.1.0 15:08:58 v2.1.1-dev.1 15:08:58 v2.2.0-dev.1 15:08:58 v2.2.0-dev.10 15:08:58 v2.2.0-dev.11 15:08:58 v2.2.0-dev.12 15:08:58 v2.2.0-dev.13 15:08:58 v2.2.0-dev.14 15:08:58 v2.2.0-dev.15 15:08:58 v2.2.0-dev.16 15:08:58 v2.2.0-dev.2 15:08:58 v2.2.0-dev.3 15:08:58 v2.2.0-dev.4 15:08:58 v2.2.0-dev.5 15:08:58 v2.2.0-dev.6 15:08:58 v2.2.0-dev.7 15:08:58 v2.2.0-dev.8 15:08:58 v2.2.0-dev.9 [Pipeline] sh 15:08:59 + lftools sign git-tag v2.2.0-dev.16 15:08:59 Signing Git tag with Sigul... 15:08:59 Signing v2.2.0-dev.16 [Pipeline] echo 15:09:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:09:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:09:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:09:00 $ docker stop --time=1 a92190d5ef51aaa0835f101a7f3c5e55b56208fe4244e3dd01619194b3dc9cd3 15:09:01 $ docker rm -f a92190d5ef51aaa0835f101a7f3c5e55b56208fe4244e3dd01619194b3dc9cd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:09:02 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:09:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:02 . [Pipeline] withDockerContainer 15:09:02 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:09:02 $ docker top 3f277fe4db001c055c2a4212c00376fb99faf5f6e09dd6f2d2f284a39b9b1161 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:02 [ssh-agent] Looking for ssh-agent implementation... 15:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:02 $ docker exec 3f277fe4db001c055c2a4212c00376fb99faf5f6e09dd6f2d2f284a39b9b1161 ssh-agent 15:09:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdlglGd/agent.14 15:09:03 SSH_AGENT_PID=20 15:09:03 Running ssh-add (command line suppressed) 15:09:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2013027342083122270.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2013027342083122270.key) 15:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:03 + git semver bump pre 15:09:03 # -> Open(): unable to determine branch for HEAD 15:09:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 15:09:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 15:09:03 # $SEMVER_REMOTE_NAME = origin 15:09:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:09:03 # $SEMVER_USER_NAME = edgex-jenkins 15:09:03 # $SEMVER_BRANCH = main 15:09:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:09:03 2.2.0-dev.17 [Pipeline] } 15:09:03 $ docker exec --env ******** --env ******** 3f277fe4db001c055c2a4212c00376fb99faf5f6e09dd6f2d2f284a39b9b1161 ssh-agent -k 15:09:03 unset SSH_AUTH_SOCK; 15:09:03 unset SSH_AGENT_PID; 15:09:03 echo Agent pid 20 killed; 15:09:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:03 + git semver [Pipeline] } 15:09:03 $ docker stop --time=1 3f277fe4db001c055c2a4212c00376fb99faf5f6e09dd6f2d2f284a39b9b1161 15:09:05 $ docker rm -f 3f277fe4db001c055c2a4212c00376fb99faf5f6e09dd6f2d2f284a39b9b1161 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:09:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:09:05 . [Pipeline] withDockerContainer 15:09:05 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:09:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:09:06 $ docker top 4634b61096543eebe271b2ba2ae128ad57645956aa9d39c42baea5b1ef117b23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:09:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:09:06 [ssh-agent] Looking for ssh-agent implementation... 15:09:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:09:06 $ docker exec 4634b61096543eebe271b2ba2ae128ad57645956aa9d39c42baea5b1ef117b23 ssh-agent 15:09:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGCgGPl/agent.14 15:09:06 SSH_AGENT_PID=20 15:09:06 Running ssh-add (command line suppressed) 15:09:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5333241379598868596.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5333241379598868596.key) 15:09:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:09:06 + git semver push 15:09:06 # -> Open(): unable to determine branch for HEAD 15:09:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 15:09:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 15:09:06 # $SEMVER_REMOTE_NAME = origin 15:09:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:09:06 # $SEMVER_USER_NAME = edgex-jenkins 15:09:06 # $SEMVER_BRANCH = main 15:09:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 15:09:08 $ docker exec --env ******** --env ******** 4634b61096543eebe271b2ba2ae128ad57645956aa9d39c42baea5b1ef117b23 ssh-agent -k 15:09:08 unset SSH_AUTH_SOCK; 15:09:08 unset SSH_AGENT_PID; 15:09:08 echo Agent pid 20 killed; 15:09:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:09:09 + git semver [Pipeline] } 15:09:09 $ docker stop --time=1 4634b61096543eebe271b2ba2ae128ad57645956aa9d39c42baea5b1ef117b23 15:09:10 $ docker rm -f 4634b61096543eebe271b2ba2ae128ad57645956aa9d39c42baea5b1ef117b23 [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 15:09:10 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' 15:09:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:09:10 total 8 15:09:10 drwxr-xr-x. 3 root root 34 Mar 2 15:03 . 15:09:10 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:08 .. 15:09:10 drwxr-xr-x. 2 root root 6 Mar 2 15:03 cost 15:09:10 -rw-r--r--. 1 root root 83 Mar 2 15:03 cost.csv 15:09:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:09:10 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:09:10 total 8 15:09:10 drwxr-xr-x. 3 jenkins jenkins 34 Mar 2 15:03 . 15:09:10 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:08 .. 15:09:10 drwxr-xr-x. 2 jenkins jenkins 6 Mar 2 15:03 cost 15:09:10 -rw-r--r--. 1 jenkins jenkins 83 Mar 2 15:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:09:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:09:11 ---> package-listing.sh 15:09:11 ++ facter osfamily 15:09:11 ++ tr '[:upper:]' '[:lower:]' 15:09:12 + OS_FAMILY=redhat 15:09:12 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:09:12 + START_PACKAGES=/tmp/packages_start.txt 15:09:12 + END_PACKAGES=/tmp/packages_end.txt 15:09:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:09:12 + PACKAGES=/tmp/packages_start.txt 15:09:12 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:09:12 + PACKAGES=/tmp/packages_end.txt 15:09:12 + case "${OS_FAMILY}" in 15:09:12 + rpm -qa 15:09:12 + sort 15:09:12 + '[' -f /tmp/packages_start.txt ']' 15:09:12 + '[' -f /tmp/packages_end.txt ']' 15:09:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:09:12 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:09:12 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:09:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:09:12 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 15:09:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:09:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:09:13 . [Pipeline] withDockerContainer 15:09:13 prd-centos7-docker-4c-2g-6255 does not seem to be running inside a container 15:09:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:09:13 $ docker top 86fe21454a59d0f60e68e6d3dd452b0a809ed527e90edc1fcd90701c8848c190 -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:14 + touch /tmp/pre-build-complete [Pipeline] sh 15:09:14 + mkdir -p /var/log/sysstat [Pipeline] sh 15:09:14 + ls /var/log/sa-host 15:09:14 + sadf -c /var/log/sa-host/sa02 15:09:14 file_magic: OK 15:09:14 HZ: Using current value: 100 15:09:14 file_header: OK 15:09:14 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 15:09:14 Statistics: 15:09:14 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:09:14 File successfully converted to sysstat format version 12.5.2 15:09:14 + sadf -c /var/log/sa-host/sa17 15:09:14 file_magic: OK 15:09:14 HZ: Using current value: 100 15:09:14 file_header: OK 15:09:14 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 15:09:14 Statistics: 15:09:14 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:09:14 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:09:14 provisioning config files... 15:09:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2454619351994089182tmp [Pipeline] { [Pipeline] echo 15:09:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:09:15 ---> create-netrc.sh [Pipeline] } 15:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:09:15 ---> python-tools-install.sh [Pipeline] echo 15:09:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:09:15 ---> sudo-logs.sh 15:09:15 Archiving 'sudo' log.. 15:09:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-6255.novalocal: Name or service not known 15:09:15 sudo: unable to resolve host prd-centos7-docker-4c-2g-6255.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:09:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:09:16 ---> job-cost.sh 15:09:16 lf-activate-venv: SKIPPING 15:09:16 DEBUG: total: 0.05999999865889549 15:09:16 INFO: Retrieving Stack Cost... 15:09:16 INFO: Retrieving Pricing Info for: v3-standard-2 15:09:16 INFO: Archiving Costs [Pipeline] echo 15:09:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:09:17 ---> logs-deploy.sh 15:09:17 lf-activate-venv: SKIPPING 15:09:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/49 15:09:17 INFO: archiving workspace using pattern(s): 15:09:18 Archives upload complete. 15:09:18 INFO: archiving logs to Nexus 15:09:18 ---> uname -a: 15:09:18 Linux prd-centos7-docker-4c-2g-6255.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 15:09:18 15:09:18 15:09:18 ---> lscpu: 15:09:18 Architecture: x86_64 15:09:18 CPU op-mode(s): 32-bit, 64-bit 15:09:18 Byte Order: Little Endian 15:09:18 Address sizes: 40 bits physical, 48 bits virtual 15:09:18 CPU(s): 2 15:09:18 On-line CPU(s) list: 0,1 15:09:18 Thread(s) per core: 1 15:09:18 Core(s) per socket: 1 15:09:18 Socket(s): 2 15:09:18 NUMA node(s): 1 15:09:18 Vendor ID: AuthenticAMD 15:09:18 CPU family: 23 15:09:18 Model: 49 15:09:18 Model name: AMD EPYC-Rome Processor 15:09:18 Stepping: 0 15:09:18 CPU MHz: 2799.976 15:09:18 BogoMIPS: 5599.95 15:09:18 Virtualization: AMD-V 15:09:18 Hypervisor vendor: KVM 15:09:18 Virtualization type: full 15:09:18 L1d cache: 64 KiB 15:09:18 L1i cache: 64 KiB 15:09:18 L2 cache: 1 MiB 15:09:18 L3 cache: 32 MiB 15:09:18 NUMA node0 CPU(s): 0,1 15:09:18 Vulnerability Itlb multihit: Not affected 15:09:18 Vulnerability L1tf: Not affected 15:09:18 Vulnerability Mds: Not affected 15:09:18 Vulnerability Meltdown: Not affected 15:09:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:09:18 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:09:18 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:09:18 Vulnerability Srbds: Not affected 15:09:18 Vulnerability Tsx async abort: Not affected 15:09:18 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 15:09:18 15:09:18 15:09:18 ---> nproc: 15:09:18 2 15:09:18 15:09:18 15:09:18 ---> df -h: 15:09:18 Filesystem Size Used Avail Use% Mounted on 15:09:18 overlay 40G 11G 30G 26% / 15:09:18 tmpfs 64M 0 64M 0% /dev 15:09:18 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 15:09:18 shm 64M 0 64M 0% /dev/shm 15:09:18 /dev/vda1 40G 11G 30G 26% /facter-os 15:09:18 15:09:18 15:09:18 ---> sar -b -r -n DEV: 15:09:18 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/02/22 _x86_64_ (2 CPU) 15:09:18 15:09:18 14:59:56 LINUX RESTART (2 CPU) 15:09:18 15:09:18 15:01:03 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:09:18 15:02:01 260.24 0.12 260.12 0.00 2.62 60101.39 0.00 15:09:18 15:03:01 131.65 0.02 131.64 0.00 0.53 10607.89 0.00 15:09:18 15:04:01 73.13 0.02 73.11 0.00 0.27 16694.75 0.00 15:09:18 15:05:01 0.17 0.00 0.17 0.00 0.00 1.93 0.00 15:09:18 15:06:01 0.23 0.00 0.23 0.00 0.00 3.80 0.00 15:09:18 15:07:01 0.38 0.00 0.38 0.00 0.00 5.31 0.00 15:09:18 15:08:01 0.13 0.00 0.13 0.00 0.00 2.02 0.00 15:09:18 15:09:01 218.96 0.03 218.92 0.00 3.73 54211.63 0.00 15:09:18 Average: 84.90 0.02 84.88 0.00 0.89 17529.41 0.00 15:09:18 15:09:18 15:01:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:09:18 15:02:01 3747772 0 1166096 14.56 2620 3092452 1704828 18.82 1081228 2715080 26996 15:09:18 15:03:01 3607728 0 1006904 12.57 2620 3391688 1386172 15.30 1039648 2879896 229252 15:09:18 15:04:01 3326636 0 1066236 13.31 2620 3613448 1433860 15.83 1045180 3093472 12 15:09:18 15:05:01 3344636 0 1048228 13.09 2620 3613456 1296680 14.32 1030500 3093472 20 15:09:18 15:06:01 3353920 0 1038940 12.97 2620 3613460 1271052 14.03 1024372 3093472 8 15:09:18 15:07:01 3355012 0 1037844 12.96 2620 3613464 1270980 14.03 1023820 3093472 16 15:09:18 15:08:01 3359632 0 1033220 12.90 2620 3613468 1270980 14.03 1019168 3093472 8 15:09:18 15:09:01 1774732 0 1295928 16.18 2620 4935660 1558464 17.21 1263420 4219020 300 15:09:18 Average: 3233758 0 1086674 13.57 2620 3685887 1399127 15.45 1065917 3160170 32076 15:09:18 15:09:18 15:01:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:09:18 15:02:01 veth90459fe 0.00 0.12 0.00 0.01 0.00 0.00 0.00 0.00 15:09:18 15:02:01 eth0 288.65 216.15 2174.55 29.29 0.00 0.00 0.00 0.00 15:09:18 15:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:02:01 docker0 201.46 264.20 16.43 2149.37 0.00 0.00 0.00 0.00 15:09:18 15:03:01 eth0 150.88 95.62 2681.19 20.96 0.00 0.00 0.00 0.00 15:09:18 15:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:03:01 docker0 14.17 17.83 0.81 89.23 0.00 0.00 0.00 0.00 15:09:18 15:04:01 eth0 23.09 18.27 16.29 99.41 0.00 0.00 0.00 0.00 15:09:18 15:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:05:01 eth0 0.65 0.47 0.27 0.21 0.00 0.00 0.00 0.00 15:09:18 15:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:06:01 eth0 0.28 0.17 0.09 0.07 0.00 0.00 0.00 0.00 15:09:18 15:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:07:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 15:09:18 15:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:08:01 eth0 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:09:01 eth0 384.71 223.92 7664.55 39.34 0.00 0.00 0.00 0.00 15:09:18 15:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 15:09:01 vethee7721a 0.28 0.35 0.08 0.12 0.00 0.00 0.00 0.00 15:09:18 15:09:01 docker0 32.68 54.29 3.10 384.06 0.00 0.00 0.00 0.00 15:09:18 Average: eth0 105.30 68.74 1564.70 23.64 0.00 0.00 0.00 0.00 15:09:18 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:09:18 Average: vethee7721a 0.04 0.04 0.01 0.01 0.00 0.00 0.00 0.00 15:09:18 Average: docker0 30.34 41.13 2.48 320.35 0.00 0.00 0.00 0.00 15:09:18 15:09:18 15:09:18 ---> sar -P ALL: 15:09:18 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 03/02/22 _x86_64_ (2 CPU) 15:09:18 15:09:18 14:59:56 LINUX RESTART (2 CPU) 15:09:18 15:09:18 15:01:03 CPU %user %nice %system %iowait %steal %idle 15:09:18 15:02:01 all 24.35 0.00 9.92 5.14 0.20 60.40 15:09:18 15:02:01 0 24.37 0.00 9.61 3.58 0.18 62.26 15:09:18 15:02:01 1 24.33 0.00 10.23 6.69 0.22 58.53 15:09:18 15:03:01 all 59.30 0.00 8.76 3.40 0.14 28.40 15:09:18 15:03:01 0 60.95 0.00 8.55 3.20 0.13 27.17 15:09:18 15:03:01 1 57.65 0.00 8.96 3.60 0.15 29.64 15:09:18 15:04:01 all 5.65 0.00 2.48 0.87 0.03 90.97 15:09:18 15:04:01 0 5.70 0.00 2.47 0.98 0.02 90.84 15:09:18 15:04:01 1 5.59 0.00 2.50 0.76 0.03 91.11 15:09:18 15:05:01 all 0.23 0.00 0.05 0.00 0.02 99.71 15:09:18 15:05:01 0 0.37 0.00 0.05 0.00 0.02 99.57 15:09:18 15:05:01 1 0.08 0.00 0.05 0.00 0.02 99.85 15:09:18 15:06:01 all 0.12 0.00 0.08 0.00 0.02 99.78 15:09:18 15:06:01 0 0.17 0.00 0.05 0.00 0.00 99.78 15:09:18 15:06:01 1 0.07 0.00 0.12 0.00 0.03 99.78 15:09:18 15:07:01 all 0.23 0.00 0.03 0.00 0.02 99.73 15:09:18 15:07:01 0 0.42 0.00 0.02 0.00 0.00 99.57 15:09:18 15:07:01 1 0.03 0.00 0.03 0.00 0.03 99.90 15:09:18 15:08:01 all 0.28 0.00 0.03 0.00 0.01 99.67 15:09:18 15:08:01 0 0.47 0.00 0.03 0.00 0.02 99.48 15:09:18 15:08:01 1 0.10 0.00 0.03 0.00 0.00 99.87 15:09:18 15:09:01 all 23.94 0.00 10.28 3.35 0.09 62.34 15:09:18 15:09:01 0 24.26 0.00 10.35 3.54 0.09 61.76 15:09:18 15:09:01 1 23.61 0.00 10.21 3.17 0.09 62.92 15:09:18 Average: all 13.63 0.00 3.80 1.53 0.06 80.98 15:09:18 Average: 0 13.94 0.00 3.74 1.36 0.05 80.90 15:09:18 Average: 1 13.31 0.00 3.86 1.70 0.07 81.06 15:09:18 15:09:18 15:09:18