Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 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-ssh12812343733534397861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh7537573986412422877.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh6969901776684288832.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh3258750421351186575.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-ssh1914218056395584183.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1462 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-ssh4434860170218915926.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 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (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 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 Commit message: "Merge pull request #1082 from lenny-intel/gofmt" > git rev-list --no-walk 6af4e576f47094812ab8d15923474e64032289f8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-13T22:38:42.701Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-13T22:38:42.756Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-13T22:38:42.770Z] ========================================================= [2022-01-13T22:38:42.770Z] EdgeX Global Pipelines Version Info [2022-01-13T22:38:42.770Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:38:43.917Z] ------------------- [2022-01-13T22:38:43.917Z] stable info: [2022-01-13T22:38:43.917Z] ------------------- [2022-01-13T22:38:43.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-13T22:38:43.917Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-13T22:38:43.917Z] Message: update stable to v1.0.218 [2022-01-13T22:38:44.491Z] ------------------- [2022-01-13T22:38:44.491Z] experimental info: [2022-01-13T22:38:44.491Z] ------------------- [2022-01-13T22:38:44.491Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-13T22:38:44.491Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-13T22:38:44.491Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-13T22:38:44.641Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-13T22:38:44.650Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-13T22:38:44.658Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-13T22:38:44.667Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-13T22:38:44.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-13T22:38:44.689Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-13T22:38:44.706Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-13T22:38:44.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-13T22:38:44.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-13T22:38:44.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-13T22:38:44.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-13T22:38:44.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-13T22:38:44.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-13T22:38:44.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-13T22:38:44.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-13T22:38:44.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-13T22:38:44.858Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-13T22:38:44.872Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-13T22:38:44.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-13T22:38:44.903Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-13T22:38:44.915Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-13T22:38:44.928Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-13T22:38:44.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-13T22:38:44.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-13T22:38:44.972Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-13T22:38:44.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-13T22:38:44.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-13T22:38:45.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-13T22:38:45.021Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-13T22:38:45.033Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] echo [2022-01-13T22:38:45.048Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 010109a [Pipeline] echo [2022-01-13T22:38:45.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:38:45.101Z] provisioning config files... [2022-01-13T22:38:45.116Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2906069083985171692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:38:45.431Z] ---> docker-login.sh [2022-01-13T22:38:45.431Z] nexus3.edgexfoundry.org:10001 [2022-01-13T22:38:45.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:45.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:45.694Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:45.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:45.694Z] [2022-01-13T22:38:45.694Z] Login Succeeded [2022-01-13T22:38:45.694Z] nexus3.edgexfoundry.org:10002 [2022-01-13T22:38:45.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:45.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:45.694Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:45.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:45.694Z] [2022-01-13T22:38:45.694Z] Login Succeeded [2022-01-13T22:38:45.694Z] nexus3.edgexfoundry.org:10003 [2022-01-13T22:38:45.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:45.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:45.956Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:45.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:45.956Z] [2022-01-13T22:38:45.956Z] Login Succeeded [2022-01-13T22:38:45.956Z] nexus3.edgexfoundry.org:10004 [2022-01-13T22:38:45.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:45.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:45.956Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:45.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:45.956Z] [2022-01-13T22:38:45.956Z] Login Succeeded [2022-01-13T22:38:45.956Z] docker.io [2022-01-13T22:38:46.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:46.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:46.479Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:46.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:46.479Z] [2022-01-13T22:38:46.479Z] Login Succeeded [2022-01-13T22:38:46.479Z] ---> docker-login.sh ends [Pipeline] } [2022-01-13T22:38:46.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-13T22:38:46.886Z] + git rev-list -1 --merges 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1~1..010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] echo [2022-01-13T22:38:46.916Z] -----------> git rev-list -1 --merges 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1~1..010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [2022-01-13T22:38:46.916Z] 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [false] [Pipeline] sh [2022-01-13T22:38:47.216Z] + git log --format=format:%s -1 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] echo [2022-01-13T22:38:47.234Z] ========================================================= [2022-01-13T22:38:47.234Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-13T22:38:47.234Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-13T22:38:47.588Z] + git log --format=format:%s -1 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] echo [2022-01-13T22:38:47.601Z] [semverPrep] GIT_COMMIT: 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1, Commit Message: Merge pull request #1082 from lenny-intel/gofmt [Pipeline] echo [2022-01-13T22:38:47.614Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-13T22:38:48.138Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-13T22:38:48.139Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-13T22:38:48.139Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-13T22:38:48.139Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-13T22:38:48.139Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-13T22:38:48.139Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-13T22:38:48.139Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:38:48.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:38:48.581Z] [2022-01-13T22:38:48.581Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:38:48.904Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:38:48.904Z] latest: Pulling from edgex-devops/git-semver [2022-01-13T22:38:48.904Z] a0d0a0d46f8b: Pulling fs layer [2022-01-13T22:38:48.904Z] 3e5f54012d9b: Pulling fs layer [2022-01-13T22:38:48.904Z] 4c7163046ea9: Pulling fs layer [2022-01-13T22:38:48.904Z] 0c2d73faf560: Pulling fs layer [2022-01-13T22:38:48.904Z] 0c2d73faf560: Waiting [2022-01-13T22:38:48.904Z] 3e5f54012d9b: Download complete [2022-01-13T22:38:48.904Z] a0d0a0d46f8b: Download complete [2022-01-13T22:38:48.904Z] 0c2d73faf560: Verifying Checksum [2022-01-13T22:38:48.904Z] 0c2d73faf560: Download complete [2022-01-13T22:38:49.174Z] 4c7163046ea9: Verifying Checksum [2022-01-13T22:38:49.174Z] 4c7163046ea9: Download complete [2022-01-13T22:38:49.174Z] a0d0a0d46f8b: Pull complete [2022-01-13T22:38:49.174Z] 3e5f54012d9b: Pull complete [2022-01-13T22:38:49.440Z] 4c7163046ea9: Pull complete [2022-01-13T22:38:49.702Z] 0c2d73faf560: Pull complete [2022-01-13T22:38:49.702Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-13T22:38:49.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:38:49.702Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-13T22:38:49.779Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:38:49.819Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-13T22:38:50.512Z] $ docker top d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-13T22:38:50.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-13T22:38:50.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-13T22:38:50.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-13T22:38:50.757Z] $ docker exec d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 ssh-agent [2022-01-13T22:38:50.869Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiGFbgO/agent.13 [2022-01-13T22:38:50.869Z] SSH_AGENT_PID=19 [2022-01-13T22:38:50.879Z] Running ssh-add (command line suppressed) [2022-01-13T22:38:50.983Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6081443433421465721.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6081443433421465721.key) [2022-01-13T22:38:50.999Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-13T22:38:51.302Z] + git tag --points-at HEAD [Pipeline] } [2022-01-13T22:38:51.329Z] $ docker exec --env ******** --env ******** d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 ssh-agent -k [2022-01-13T22:38:51.421Z] unset SSH_AUTH_SOCK; [2022-01-13T22:38:51.421Z] unset SSH_AGENT_PID; [2022-01-13T22:38:51.421Z] echo Agent pid 19 killed; [2022-01-13T22:38:51.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-13T22:38:51.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-13T22:38:51.463Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-13T22:38:51.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-13T22:38:51.588Z] $ docker exec d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 ssh-agent [2022-01-13T22:38:51.703Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNnkChO/agent.53 [2022-01-13T22:38:51.703Z] SSH_AGENT_PID=59 [2022-01-13T22:38:51.708Z] Running ssh-add (command line suppressed) [2022-01-13T22:38:51.805Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_539120636276122888.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_539120636276122888.key) [2022-01-13T22:38:51.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-13T22:38:52.116Z] + git semver init [2022-01-13T22:38:52.116Z] # -> Open(): unable to determine branch for HEAD [2022-01-13T22:38:52.116Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-13T22:38:52.116Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:38:52.116Z] # $SEMVER_REMOTE_NAME = origin [2022-01-13T22:38:52.116Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-13T22:38:52.116Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-13T22:38:52.116Z] # $SEMVER_BRANCH = main [2022-01-13T22:38:52.116Z] # $SEMVER_TEMP = /tmp/semver-698593931 [2022-01-13T22:38:52.116Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-13T22:38:53.062Z] # '/tmp/semver-698593931' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-13T22:38:53.323Z] # -> Force: false [2022-01-13T22:38:53.323Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-13T22:38:53.333Z] $ docker exec --env ******** --env ******** d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 ssh-agent -k [2022-01-13T22:38:53.455Z] unset SSH_AUTH_SOCK; [2022-01-13T22:38:53.455Z] unset SSH_AGENT_PID; [2022-01-13T22:38:53.455Z] echo Agent pid 59 killed; [2022-01-13T22:38:53.482Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-13T22:38:53.793Z] + git semver [Pipeline] } [2022-01-13T22:38:53.807Z] $ docker stop --time=1 d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 [2022-01-13T22:38:55.063Z] $ docker rm -f d342f3d6654a74429fc898988f33ca379f2a977f4ff4d09e227f7b3d349aa441 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-13T22:38:55.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-13T22:38:55.679Z] Stashed 1 file(s) [Pipeline] echo [2022-01-13T22:38:55.683Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:38:55.842Z] provisioning config files... [2022-01-13T22:38:55.854Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2156721586245207327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:38:56.165Z] ---> docker-login.sh [2022-01-13T22:38:56.165Z] nexus3.edgexfoundry.org:10001 [2022-01-13T22:38:56.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:56.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:56.165Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:56.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:56.165Z] [2022-01-13T22:38:56.165Z] Login Succeeded [2022-01-13T22:38:56.165Z] nexus3.edgexfoundry.org:10002 [2022-01-13T22:38:56.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:56.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:56.165Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:56.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:56.165Z] [2022-01-13T22:38:56.165Z] Login Succeeded [2022-01-13T22:38:56.165Z] nexus3.edgexfoundry.org:10003 [2022-01-13T22:38:56.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:56.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:56.426Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:56.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:56.426Z] [2022-01-13T22:38:56.426Z] Login Succeeded [2022-01-13T22:38:56.426Z] nexus3.edgexfoundry.org:10004 [2022-01-13T22:38:56.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:56.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:56.426Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:56.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:56.426Z] [2022-01-13T22:38:56.426Z] Login Succeeded [2022-01-13T22:38:56.426Z] docker.io [2022-01-13T22:38:56.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:38:56.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:38:56.950Z] Configure a credential helper to remove this warning. See [2022-01-13T22:38:56.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:38:56.950Z] [2022-01-13T22:38:56.950Z] Login Succeeded [2022-01-13T22:38:56.950Z] ---> docker-login.sh ends [Pipeline] } [2022-01-13T22:38:56.960Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-13T22:38:57.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-13T22:38:57.040Z] ========================================================= [2022-01-13T22:38:57.040Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-13T22:38:57.040Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:38:57.354Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-13T22:38:57.354Z] Sending build context to Docker daemon 9.339MB [2022-01-13T22:38:57.354Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-13T22:38:57.354Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-13T22:38:57.624Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-13T22:38:57.624Z] a0d0a0d46f8b: Already exists [2022-01-13T22:38:57.624Z] 31adcdaf11c8: Pulling fs layer [2022-01-13T22:38:57.624Z] b8b176561691: Pulling fs layer [2022-01-13T22:38:57.624Z] 4527c011a84f: Pulling fs layer [2022-01-13T22:38:57.624Z] 5d74067f8e1e: Pulling fs layer [2022-01-13T22:38:57.624Z] e0aca202a116: Pulling fs layer [2022-01-13T22:38:57.624Z] 3a43be97a3b4: Pulling fs layer [2022-01-13T22:38:57.624Z] 34cad66bf833: Pulling fs layer [2022-01-13T22:38:57.624Z] b4e3c513aaa6: Pulling fs layer [2022-01-13T22:38:57.624Z] 5d74067f8e1e: Waiting [2022-01-13T22:38:57.624Z] e0aca202a116: Waiting [2022-01-13T22:38:57.624Z] 3a43be97a3b4: Waiting [2022-01-13T22:38:57.624Z] 34cad66bf833: Waiting [2022-01-13T22:38:57.624Z] b4e3c513aaa6: Waiting [2022-01-13T22:38:57.624Z] b8b176561691: Verifying Checksum [2022-01-13T22:38:57.624Z] b8b176561691: Download complete [2022-01-13T22:38:57.624Z] 31adcdaf11c8: Verifying Checksum [2022-01-13T22:38:57.624Z] 31adcdaf11c8: Download complete [2022-01-13T22:38:57.624Z] 5d74067f8e1e: Verifying Checksum [2022-01-13T22:38:57.624Z] 5d74067f8e1e: Download complete [2022-01-13T22:38:57.624Z] e0aca202a116: Verifying Checksum [2022-01-13T22:38:57.624Z] e0aca202a116: Download complete [2022-01-13T22:38:57.624Z] 3a43be97a3b4: Verifying Checksum [2022-01-13T22:38:57.624Z] 3a43be97a3b4: Download complete [2022-01-13T22:38:57.624Z] 31adcdaf11c8: Pull complete [2022-01-13T22:38:57.624Z] 34cad66bf833: Verifying Checksum [2022-01-13T22:38:57.624Z] 34cad66bf833: Download complete [2022-01-13T22:38:57.885Z] b8b176561691: Pull complete [2022-01-13T22:38:58.148Z] 4527c011a84f: Verifying Checksum [2022-01-13T22:38:58.148Z] 4527c011a84f: Download complete [2022-01-13T22:38:58.148Z] b4e3c513aaa6: Verifying Checksum [2022-01-13T22:38:58.148Z] b4e3c513aaa6: Download complete [2022-01-13T22:39:02.394Z] 4527c011a84f: Pull complete [2022-01-13T22:39:02.394Z] 5d74067f8e1e: Pull complete [2022-01-13T22:39:02.394Z] e0aca202a116: Pull complete [2022-01-13T22:39:02.394Z] 3a43be97a3b4: Pull complete [2022-01-13T22:39:02.654Z] 34cad66bf833: Pull complete [2022-01-13T22:39:05.240Z] b4e3c513aaa6: Pull complete [2022-01-13T22:39:05.240Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-13T22:39:05.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-13T22:39:05.240Z] ---> 9f6097aaca64 [2022-01-13T22:39:05.240Z] Step 3/10 : ARG MAKE=make build [2022-01-13T22:39:07.160Z] ---> Running in e642133a884e [2022-01-13T22:39:07.160Z] Removing intermediate container e642133a884e [2022-01-13T22:39:07.160Z] ---> 2b0c010f6d62 [2022-01-13T22:39:07.160Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-13T22:39:07.160Z] ---> Running in 5b634e5e2ba8 [2022-01-13T22:39:07.160Z] Removing intermediate container 5b634e5e2ba8 [2022-01-13T22:39:07.160Z] ---> 779a57c92080 [2022-01-13T22:39:07.160Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:39:07.160Z] ---> Running in b5ff2b812162 [2022-01-13T22:39:07.160Z] Removing intermediate container b5ff2b812162 [2022-01-13T22:39:07.160Z] ---> e36b69bfee33 [2022-01-13T22:39:07.160Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:39:07.160Z] ---> Running in ccc4de0df238 [2022-01-13T22:39:07.738Z] Removing intermediate container ccc4de0df238 [2022-01-13T22:39:07.738Z] ---> 0e7018a4630c [2022-01-13T22:39:07.738Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-13T22:39:07.738Z] ---> Running in edf02a013158 [2022-01-13T22:39:07.999Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-13T22:39:08.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-13T22:39:09.203Z] OK: 220 MiB in 52 packages [2022-01-13T22:39:09.466Z] Removing intermediate container edf02a013158 [2022-01-13T22:39:09.466Z] ---> 61f0bf0fb09d [2022-01-13T22:39:09.466Z] Step 8/10 : COPY . . [2022-01-13T22:39:09.727Z] ---> 7cc04f7a08a8 [2022-01-13T22:39:09.727Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-13T22:39:09.988Z] ---> Running in ce9a0bc9d085 [2022-01-13T22:39:10.797Z] Still waiting to schedule task [2022-01-13T22:39:10.797Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-13T22:39:42.126Z] Removing intermediate container ce9a0bc9d085 [2022-01-13T22:39:42.126Z] ---> 9f8463a333ff [2022-01-13T22:39:42.126Z] Step 10/10 : RUN ${MAKE} [2022-01-13T22:39:42.126Z] ---> Running in c8da9d9b43aa [2022-01-13T22:39:42.126Z] noop [2022-01-13T22:39:42.126Z] Removing intermediate container c8da9d9b43aa [2022-01-13T22:39:42.126Z] ---> 2f0a821effb5 [2022-01-13T22:39:42.126Z] Successfully built 2f0a821effb5 [2022-01-13T22:39:42.126Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:39:42.424Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-13T22:39:42.424Z] . [Pipeline] withDockerContainer [2022-01-13T22:39:42.489Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:39:42.530Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-13T22:39:42.898Z] $ docker top d1eab03ef1ff95e292897c08f4a5211150b479f523f03dca8b6d4a37d917fe55 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-13T22:39:43.252Z] + go version [2022-01-13T22:39:43.252Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-13T22:39:43.265Z] $ docker stop --time=1 d1eab03ef1ff95e292897c08f4a5211150b479f523f03dca8b6d4a37d917fe55 [2022-01-13T22:39:44.469Z] $ docker rm -f d1eab03ef1ff95e292897c08f4a5211150b479f523f03dca8b6d4a37d917fe55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:39:44.885Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-13T22:39:44.885Z] . [Pipeline] withDockerContainer [2022-01-13T22:39:44.945Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:39:44.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-13T22:39:45.333Z] $ docker top 4d1b3b79c774a18e0f5034617518626b2c0922065aad679645ef81ac87976867 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-13T22:39:45.701Z] + make test [2022-01-13T22:39:45.701Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-13T22:39:51.004Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-13T22:40:17.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.3% of statements [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-13T22:40:17.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements [2022-01-13T22:40:17.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2022-01-13T22:40:17.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-13T22:40:17.713Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.108s coverage: 28.7% of statements [2022-01-13T22:40:17.713Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-13T22:40:19.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 86.1% of statements [2022-01-13T22:40:19.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-13T22:40:19.105Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-13T22:40:19.105Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.4% of statements [2022-01-13T22:40:20.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements [2022-01-13T22:40:20.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-13T22:40:20.069Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.8% of statements [2022-01-13T22:40:20.069Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-13T22:40:42.136Z] GO111MODULE=on go vet ./... [2022-01-13T22:40:48.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-13T22:40:48.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-13T22:40:48.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-13T22:40:49.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-13T22:40:49.370Z] $ docker stop --time=1 4d1b3b79c774a18e0f5034617518626b2c0922065aad679645ef81ac87976867 [2022-01-13T22:40:50.803Z] $ docker rm -f 4d1b3b79c774a18e0f5034617518626b2c0922065aad679645ef81ac87976867 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-13T22:40:51.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-13T22:40:51.366Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-13T22:40:52.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-13T22:40:52.691Z] + ls -al . [2022-01-13T22:40:52.691Z] total 268 [2022-01-13T22:40:52.691Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 13 22:40 . [2022-01-13T22:40:52.691Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 13 22:38 .. [2022-01-13T22:40:52.691Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 13 22:38 bin [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 13 22:38 CHANGELOG.md [2022-01-13T22:40:52.691Z] -rw-r--r--. 1 jenkins jenkins 128667 Jan 13 22:40 coverage.out [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 13 22:38 .dockerignore [2022-01-13T22:40:52.691Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 13 22:38 example [2022-01-13T22:40:52.691Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 13 22:38 .git [2022-01-13T22:40:52.691Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 13 22:38 .github [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 13 22:38 .gitignore [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 13 22:38 .golangci.yml [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 13 22:38 go.mod [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 13 22:38 go.sum [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 13 22:38 GOVERNANCE.md [2022-01-13T22:40:52.691Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 13 22:38 internal [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 13 22:38 Jenkinsfile [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 13 22:38 LICENSE [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 1613 Jan 13 22:38 Makefile [2022-01-13T22:40:52.691Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 13 22:38 openapi [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 13 22:38 OWNERS.md [2022-01-13T22:40:52.691Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 13 22:38 pkg [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 13 22:38 README.md [2022-01-13T22:40:52.691Z] drwx------. 3 jenkins jenkins 57 Jan 13 22:38 .semver [2022-01-13T22:40:52.691Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 13 22:38 snap [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 13 22:38 VERSION [2022-01-13T22:40:52.691Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 13 22:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:40:52.990Z] + 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=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-01-13T22:40:52.990Z] Sending build context to Docker daemon 9.469MB [2022-01-13T22:40:52.990Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-13T22:40:52.990Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-13T22:40:52.990Z] ---> 2f0a821effb5 [2022-01-13T22:40:52.990Z] Step 3/24 : ARG MAKE=make build [2022-01-13T22:40:53.249Z] ---> Running in d9a16b2fbe4f [2022-01-13T22:40:53.249Z] Removing intermediate container d9a16b2fbe4f [2022-01-13T22:40:53.249Z] ---> c95805d46237 [2022-01-13T22:40:53.249Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-13T22:40:53.249Z] ---> Running in 9ee8404590b5 [2022-01-13T22:40:53.249Z] Removing intermediate container 9ee8404590b5 [2022-01-13T22:40:53.249Z] ---> 2ceb69a5b460 [2022-01-13T22:40:53.249Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:40:53.249Z] ---> Running in d31468ec5aec [2022-01-13T22:40:53.510Z] Removing intermediate container d31468ec5aec [2022-01-13T22:40:53.510Z] ---> a27dc30ff5eb [2022-01-13T22:40:53.510Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:40:53.510Z] ---> Running in 56b9534c25e8 [2022-01-13T22:40:54.084Z] Removing intermediate container 56b9534c25e8 [2022-01-13T22:40:54.084Z] ---> 1dbdc468cd37 [2022-01-13T22:40:54.084Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-13T22:40:54.084Z] ---> Running in cd6693231c18 [2022-01-13T22:40:54.084Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-13T22:40:55.031Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-13T22:40:55.291Z] OK: 220 MiB in 52 packages [2022-01-13T22:40:55.551Z] Removing intermediate container cd6693231c18 [2022-01-13T22:40:55.551Z] ---> 4a00cfad0e8c [2022-01-13T22:40:55.551Z] Step 8/24 : COPY . . [2022-01-13T22:40:56.123Z] ---> e2c24b4162d6 [2022-01-13T22:40:56.123Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-13T22:40:56.123Z] ---> Running in 8803fbc96504 [2022-01-13T22:40:56.704Z] Removing intermediate container 8803fbc96504 [2022-01-13T22:40:56.704Z] ---> 02d96a62090b [2022-01-13T22:40:56.704Z] Step 10/24 : RUN ${MAKE} [2022-01-13T22:40:56.704Z] ---> Running in 9473ad532922 [2022-01-13T22:40:56.704Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-13T22:41:08.977Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1463 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-13T22:41:08.990Z] Running in /w/workspace/device-sdk-go/41 [Pipeline] { [Pipeline] checkout [2022-01-13T22:41:09.038Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-13T22:41:09.038Z] Removing intermediate container 9473ad532922 [2022-01-13T22:41:09.038Z] ---> f3cfe14196b6 [2022-01-13T22:41:09.038Z] Step 11/24 : FROM alpine:3.14 [2022-01-13T22:41:09.038Z] 3.14: Pulling from library/alpine [2022-01-13T22:41:09.156Z] The recommended git tool is: git [2022-01-13T22:41:09.299Z] 97518928ae5f: Pulling fs layer [2022-01-13T22:41:09.560Z] 97518928ae5f: Verifying Checksum [2022-01-13T22:41:09.560Z] 97518928ae5f: Download complete [2022-01-13T22:41:09.560Z] 97518928ae5f: Pull complete [2022-01-13T22:41:09.560Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-13T22:41:09.560Z] Status: Downloaded newer image for alpine:3.14 [2022-01-13T22:41:09.819Z] ---> 0a97eee8041e [2022-01-13T22:41:09.819Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:41:09.819Z] ---> Running in a83ae106f60c [2022-01-13T22:41:09.819Z] Removing intermediate container a83ae106f60c [2022-01-13T22:41:09.819Z] ---> 4c2db259541e [2022-01-13T22:41:09.819Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:41:09.819Z] ---> Running in bb310acfed55 [2022-01-13T22:41:10.394Z] Removing intermediate container bb310acfed55 [2022-01-13T22:41:10.394Z] ---> 99ef2eac0687 [2022-01-13T22:41:10.394Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-13T22:41:10.394Z] ---> Running in 8cbb97d44ab7 [2022-01-13T22:41:10.654Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-13T22:41:11.595Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-13T22:41:11.856Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-13T22:41:11.856Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-13T22:41:12.115Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-13T22:41:12.115Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-13T22:41:12.115Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-13T22:41:12.375Z] Executing busybox-1.33.1-r6.trigger [2022-01-13T22:41:12.375Z] OK: 8 MiB in 19 packages [2022-01-13T22:41:12.636Z] Removing intermediate container 8cbb97d44ab7 [2022-01-13T22:41:12.636Z] ---> 1431da6b1309 [2022-01-13T22:41:12.636Z] Step 15/24 : WORKDIR / [2022-01-13T22:41:12.636Z] ---> Running in c9aac0a31c98 [2022-01-13T22:41:12.636Z] Removing intermediate container c9aac0a31c98 [2022-01-13T22:41:12.636Z] ---> 4f6d2dbe1a90 [2022-01-13T22:41:12.636Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-13T22:41:12.894Z] ---> eb70bf862b6d [2022-01-13T22:41:12.894Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-13T22:41:13.152Z] ---> 0e79f964a1f9 [2022-01-13T22:41:13.152Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-13T22:41:13.152Z] ---> 2f620f73dc22 [2022-01-13T22:41:13.152Z] Step 19/24 : EXPOSE 59999 [2022-01-13T22:41:13.413Z] ---> Running in 262afed94185 [2022-01-13T22:41:13.413Z] Removing intermediate container 262afed94185 [2022-01-13T22:41:13.413Z] ---> 01e35881a4ad [2022-01-13T22:41:13.413Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-13T22:41:13.413Z] ---> Running in 09379aa0d2e3 [2022-01-13T22:41:13.413Z] Removing intermediate container 09379aa0d2e3 [2022-01-13T22:41:13.413Z] ---> 2399302bf1b5 [2022-01-13T22:41:13.413Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-13T22:41:13.413Z] ---> Running in b224dfa1ec4d [2022-01-13T22:41:13.423Z] using credential edgex-jenkins-ssh [2022-01-13T22:41:13.452Z] Cloning the remote Git repository [2022-01-13T22:41:13.673Z] Removing intermediate container b224dfa1ec4d [2022-01-13T22:41:13.673Z] ---> bb5ecf948cc4 [2022-01-13T22:41:13.673Z] Step 22/24 : LABEL arch=amd64 [2022-01-13T22:41:13.673Z] ---> Running in d3a3dffe1f94 [2022-01-13T22:41:13.673Z] Removing intermediate container d3a3dffe1f94 [2022-01-13T22:41:13.673Z] ---> dcdd9672ca9a [2022-01-13T22:41:13.673Z] Step 23/24 : LABEL git_sha=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [2022-01-13T22:41:13.673Z] ---> Running in 0e5c26c27728 [2022-01-13T22:41:13.673Z] Removing intermediate container 0e5c26c27728 [2022-01-13T22:41:13.673Z] ---> c79c1f03ca72 [2022-01-13T22:41:13.673Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-01-13T22:41:13.673Z] ---> Running in df0f56cf91f9 [2022-01-13T22:41:13.933Z] Removing intermediate container df0f56cf91f9 [2022-01-13T22:41:13.933Z] ---> 08132e398bc4 [2022-01-13T22:41:13.933Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-13T22:41:13.933Z] Successfully built 08132e398bc4 [2022-01-13T22:41:13.933Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2022-01-13T22:41:13.511Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-13T22:41:13.587Z] > git init /w/workspace/device-sdk-go/41 # timeout=10 [2022-01-13T22:41:13.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-13T22:41:13.688Z] > git --version # timeout=10 [2022-01-13T22:41:13.713Z] > git --version # 'git version 2.17.1' [2022-01-13T22:41:13.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-13T22:41:13.786Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:41:14.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-13T22:41:14.342Z] [2022-01-13T22:41:14.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:41:14.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-13T22:41:14.650Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-13T22:41:14.650Z] b4d181a07f80: Pulling fs layer [2022-01-13T22:41:14.650Z] a1111a8f2ec3: Pulling fs layer [2022-01-13T22:41:14.650Z] ed53099fbce6: Pulling fs layer [2022-01-13T22:41:14.650Z] dc539afda2c1: Pulling fs layer [2022-01-13T22:41:14.650Z] 77bc0d833cb6: Pulling fs layer [2022-01-13T22:41:14.650Z] 9065ff56babe: Pulling fs layer [2022-01-13T22:41:14.650Z] d287ab97295c: Pulling fs layer [2022-01-13T22:41:14.650Z] 77bc0d833cb6: Waiting [2022-01-13T22:41:14.650Z] 9065ff56babe: Waiting [2022-01-13T22:41:14.650Z] d287ab97295c: Waiting [2022-01-13T22:41:14.650Z] dc539afda2c1: Waiting [2022-01-13T22:41:14.650Z] a1111a8f2ec3: Verifying Checksum [2022-01-13T22:41:14.650Z] a1111a8f2ec3: Download complete [2022-01-13T22:41:14.650Z] dc539afda2c1: Verifying Checksum [2022-01-13T22:41:14.650Z] dc539afda2c1: Download complete [2022-01-13T22:41:14.650Z] ed53099fbce6: Verifying Checksum [2022-01-13T22:41:14.909Z] ed53099fbce6: Download complete [2022-01-13T22:41:14.909Z] 77bc0d833cb6: Verifying Checksum [2022-01-13T22:41:14.909Z] 77bc0d833cb6: Download complete [2022-01-13T22:41:14.909Z] 9065ff56babe: Verifying Checksum [2022-01-13T22:41:14.909Z] 9065ff56babe: Download complete [2022-01-13T22:41:14.909Z] b4d181a07f80: Verifying Checksum [2022-01-13T22:41:14.909Z] b4d181a07f80: Download complete [2022-01-13T22:41:15.347Z] Avoid second fetch [2022-01-13T22:41:15.347Z] Checking out Revision 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 (main) [2022-01-13T22:41:15.489Z] d287ab97295c: Verifying Checksum [2022-01-13T22:41:15.489Z] d287ab97295c: Download complete [2022-01-13T22:41:16.434Z] b4d181a07f80: Pull complete [2022-01-13T22:41:16.434Z] a1111a8f2ec3: Pull complete [2022-01-13T22:41:15.306Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-13T22:41:15.326Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-13T22:41:15.364Z] > git config core.sparsecheckout # timeout=10 [2022-01-13T22:41:15.376Z] > git checkout -f 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 [2022-01-13T22:41:17.015Z] ed53099fbce6: Pull complete [2022-01-13T22:41:17.015Z] dc539afda2c1: Pull complete [2022-01-13T22:41:17.274Z] 77bc0d833cb6: Pull complete [2022-01-13T22:41:17.274Z] 9065ff56babe: Pull complete [2022-01-13T22:41:19.553Z] Commit message: "Merge pull request #1082 from lenny-intel/gofmt" [2022-01-13T22:41:19.857Z] [2022-01-13T22:41:19.857Z] GitHub has been notified of this commit’s build result [2022-01-13T22:41:19.857Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-13T22:41:20.422Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-13T22:41:20.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-13T22:41:20.422Z] Dload Upload Total Spent Left Speed [2022-01-13T22:41:20.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh [2022-01-13T22:41:20.952Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-13T22:41:21.299Z] + sudo tee /etc/docker/daemon.new [2022-01-13T22:41:21.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-13T22:41:21.299Z] { [2022-01-13T22:41:21.299Z] "registry-mirrors": [ [2022-01-13T22:41:21.299Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-13T22:41:21.299Z] ], [2022-01-13T22:41:21.299Z] "bip": "10.250.0.254/24", [2022-01-13T22:41:21.299Z] "hosts": [ [2022-01-13T22:41:21.299Z] "tcp://0.0.0.0:5555", [2022-01-13T22:41:21.299Z] "unix:///var/run/docker.sock" [2022-01-13T22:41:21.299Z] ], [2022-01-13T22:41:21.299Z] "mtu": 1458, [2022-01-13T22:41:21.299Z] "selinux-enabled": true, [2022-01-13T22:41:21.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-13T22:41:21.299Z] } [Pipeline] sh [2022-01-13T22:41:21.646Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-13T22:41:22.092Z] + sudo service docker restart [2022-01-13T22:41:22.590Z] d287ab97295c: Pull complete [2022-01-13T22:41:22.591Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-13T22:41:22.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-13T22:41:22.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-13T22:41:22.661Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:41:22.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-13T22:41:25.040Z] $ docker top bcd5f1293d13d9dca03af60c05e0798f41764cb8d2076185030151fc37c837f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:41:25.441Z] ---> job-cost.sh [2022-01-13T22:41:25.441Z] lf-activate-venv: SKIPPING [2022-01-13T22:41:25.441Z] INFO: No Stack... [2022-01-13T22:41:26.060Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-13T22:41:26.060Z] INFO: Archiving Costs [Pipeline] sh [2022-01-13T22:41:26.514Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-01-13T22:41:26.514Z] + cut -d, -f6 [Pipeline] lock [2022-01-13T22:41:26.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [2022-01-13T22:41:26.589Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] did not exist. Created. [2022-01-13T22:41:26.589Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-13T22:41:26.934Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-13T22:41:26.963Z] Stashed 1 file(s) [Pipeline] } [2022-01-13T22:41:26.970Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-13T22:41:26.989Z] $ docker stop --time=1 bcd5f1293d13d9dca03af60c05e0798f41764cb8d2076185030151fc37c837f5 [2022-01-13T22:41:28.117Z] $ docker rm -f bcd5f1293d13d9dca03af60c05e0798f41764cb8d2076185030151fc37c837f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:41:40.423Z] provisioning config files... [2022-01-13T22:41:40.447Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/41@tmp/config2919965592265577371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:41:40.804Z] ---> docker-login.sh [2022-01-13T22:41:40.804Z] nexus3.edgexfoundry.org:10001 [2022-01-13T22:41:41.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:41:41.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:41:41.402Z] Configure a credential helper to remove this warning. See [2022-01-13T22:41:41.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:41:41.403Z] [2022-01-13T22:41:41.403Z] Login Succeeded [2022-01-13T22:41:41.675Z] nexus3.edgexfoundry.org:10002 [2022-01-13T22:41:41.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:41:41.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:41:41.948Z] Configure a credential helper to remove this warning. See [2022-01-13T22:41:41.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:41:41.948Z] [2022-01-13T22:41:41.948Z] Login Succeeded [2022-01-13T22:41:41.948Z] nexus3.edgexfoundry.org:10003 [2022-01-13T22:41:42.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:41:42.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:41:42.219Z] Configure a credential helper to remove this warning. See [2022-01-13T22:41:42.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:41:42.219Z] [2022-01-13T22:41:42.219Z] Login Succeeded [2022-01-13T22:41:42.219Z] nexus3.edgexfoundry.org:10004 [2022-01-13T22:41:42.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:41:42.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:41:42.817Z] Configure a credential helper to remove this warning. See [2022-01-13T22:41:42.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:41:42.817Z] [2022-01-13T22:41:42.817Z] Login Succeeded [2022-01-13T22:41:42.817Z] docker.io [2022-01-13T22:41:43.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-13T22:41:43.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-13T22:41:43.360Z] Configure a credential helper to remove this warning. See [2022-01-13T22:41:43.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-13T22:41:43.360Z] [2022-01-13T22:41:43.360Z] Login Succeeded [2022-01-13T22:41:43.360Z] ---> docker-login.sh ends [Pipeline] } [2022-01-13T22:41:43.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-13T22:41:44.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-13T22:41:44.035Z] ========================================================= [2022-01-13T22:41:44.035Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-13T22:41:44.035Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:41:44.377Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-13T22:41:44.653Z] Sending build context to Docker daemon 5.04MB [2022-01-13T22:41:44.925Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-13T22:41:44.925Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-13T22:41:44.925Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-13T22:41:44.925Z] 552d1f2373af: Pulling fs layer [2022-01-13T22:41:44.925Z] ea3f2d53f512: Pulling fs layer [2022-01-13T22:41:44.925Z] 9e70ebbbe112: Pulling fs layer [2022-01-13T22:41:44.925Z] 7a9cfe048b4a: Pulling fs layer [2022-01-13T22:41:44.925Z] 72dc09318566: Pulling fs layer [2022-01-13T22:41:44.925Z] f4f7b4309257: Pulling fs layer [2022-01-13T22:41:44.925Z] 0ac9a79272e3: Pulling fs layer [2022-01-13T22:41:44.925Z] b78e95d17946: Pulling fs layer [2022-01-13T22:41:44.925Z] 7a9cfe048b4a: Waiting [2022-01-13T22:41:44.925Z] 72dc09318566: Waiting [2022-01-13T22:41:44.925Z] f4f7b4309257: Waiting [2022-01-13T22:41:44.925Z] 0ac9a79272e3: Waiting [2022-01-13T22:41:44.925Z] 9e70ebbbe112: Verifying Checksum [2022-01-13T22:41:44.925Z] 9e70ebbbe112: Download complete [2022-01-13T22:41:44.925Z] ea3f2d53f512: Verifying Checksum [2022-01-13T22:41:44.925Z] ea3f2d53f512: Download complete [2022-01-13T22:41:44.925Z] 72dc09318566: Verifying Checksum [2022-01-13T22:41:44.925Z] 72dc09318566: Download complete [2022-01-13T22:41:44.925Z] f4f7b4309257: Verifying Checksum [2022-01-13T22:41:44.925Z] f4f7b4309257: Download complete [2022-01-13T22:41:44.925Z] 552d1f2373af: Verifying Checksum [2022-01-13T22:41:44.925Z] 552d1f2373af: Download complete [2022-01-13T22:41:44.925Z] 0ac9a79272e3: Verifying Checksum [2022-01-13T22:41:44.925Z] 0ac9a79272e3: Download complete [2022-01-13T22:41:45.920Z] 552d1f2373af: Pull complete [2022-01-13T22:41:46.197Z] ea3f2d53f512: Pull complete [2022-01-13T22:41:46.814Z] 9e70ebbbe112: Pull complete [2022-01-13T22:41:46.814Z] b78e95d17946: Verifying Checksum [2022-01-13T22:41:46.814Z] b78e95d17946: Download complete [2022-01-13T22:41:47.412Z] 7a9cfe048b4a: Verifying Checksum [2022-01-13T22:41:47.412Z] 7a9cfe048b4a: Download complete [2022-01-13T22:41:59.802Z] 7a9cfe048b4a: Pull complete [2022-01-13T22:41:59.802Z] 72dc09318566: Pull complete [2022-01-13T22:41:59.802Z] f4f7b4309257: Pull complete [2022-01-13T22:41:59.802Z] 0ac9a79272e3: Pull complete [2022-01-13T22:42:05.192Z] b78e95d17946: Pull complete [2022-01-13T22:42:05.192Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-13T22:42:05.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-13T22:42:05.192Z] ---> 8b459fc5aaf0 [2022-01-13T22:42:05.192Z] Step 3/10 : ARG MAKE=make build [2022-01-13T22:42:06.166Z] ---> Running in ad0ffa2273f0 [2022-01-13T22:42:06.439Z] Removing intermediate container ad0ffa2273f0 [2022-01-13T22:42:06.439Z] ---> 40ebb00fee75 [2022-01-13T22:42:06.439Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-13T22:42:06.439Z] ---> Running in 439dcb4e189e [2022-01-13T22:42:07.038Z] Removing intermediate container 439dcb4e189e [2022-01-13T22:42:07.038Z] ---> 51e08428d8af [2022-01-13T22:42:07.038Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:42:07.038Z] ---> Running in 99e12c29fd59 [2022-01-13T22:42:07.313Z] Removing intermediate container 99e12c29fd59 [2022-01-13T22:42:07.313Z] ---> 28d05e7acbd5 [2022-01-13T22:42:07.313Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:42:07.589Z] ---> Running in 0d74ed711e6d [2022-01-13T22:42:09.025Z] Removing intermediate container 0d74ed711e6d [2022-01-13T22:42:09.025Z] ---> 03792eaa6291 [2022-01-13T22:42:09.025Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-13T22:42:09.304Z] ---> Running in e3e1bd625014 [2022-01-13T22:42:10.281Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-13T22:42:11.257Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-13T22:42:11.848Z] OK: 219 MiB in 52 packages [2022-01-13T22:42:12.823Z] Removing intermediate container e3e1bd625014 [2022-01-13T22:42:12.823Z] ---> a7688363604a [2022-01-13T22:42:12.823Z] Step 8/10 : COPY . . [2022-01-13T22:42:13.801Z] ---> 5f0ee67dad8d [2022-01-13T22:42:13.801Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-13T22:42:13.801Z] ---> Running in 016d406c3c46 [2022-01-13T22:43:35.591Z] Removing intermediate container 016d406c3c46 [2022-01-13T22:43:35.591Z] ---> 1fcd7d23ce42 [2022-01-13T22:43:35.591Z] Step 10/10 : RUN ${MAKE} [2022-01-13T22:43:35.591Z] ---> Running in 186a84820eec [2022-01-13T22:43:35.591Z] noop [2022-01-13T22:43:35.591Z] Removing intermediate container 186a84820eec [2022-01-13T22:43:35.591Z] ---> 11febbaed45a [2022-01-13T22:43:35.591Z] Successfully built 11febbaed45a [2022-01-13T22:43:35.591Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:43:35.941Z] + docker inspect -f . ci-base-image-arm64 [2022-01-13T22:43:35.941Z] . [Pipeline] withDockerContainer [2022-01-13T22:43:36.167Z] prd-ubuntu18.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-01-13T22:43:36.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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 [2022-01-13T22:43:37.592Z] $ docker top ddc62c68f4cc3be41b07f95b4c6a105922618c7874c3aa640f40d4ebb3c05fc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-13T22:43:38.478Z] + go version [2022-01-13T22:43:38.478Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-13T22:43:38.511Z] $ docker stop --time=1 ddc62c68f4cc3be41b07f95b4c6a105922618c7874c3aa640f40d4ebb3c05fc1 [2022-01-13T22:43:40.161Z] $ docker rm -f ddc62c68f4cc3be41b07f95b4c6a105922618c7874c3aa640f40d4ebb3c05fc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:43:40.743Z] + docker inspect -f . ci-base-image-arm64 [2022-01-13T22:43:40.743Z] . [Pipeline] withDockerContainer [2022-01-13T22:43:40.962Z] prd-ubuntu18.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-01-13T22:43:41.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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 [2022-01-13T22:43:42.347Z] $ docker top a4379aad66f37fcc1d127664a3679e310a8c9b51f182426b1b28ecf5388b13fc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-13T22:43:43.250Z] + make test [2022-01-13T22:43:43.250Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-13T22:44:10.043Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-13T22:45:18.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-13T22:45:18.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-13T22:45:18.113Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-13T22:45:19.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.386s coverage: 23.3% of statements [2022-01-13T22:45:19.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-13T22:45:19.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 27.6% of statements [2022-01-13T22:45:19.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.273s coverage: 78.9% of statements [2022-01-13T22:45:19.572Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.194s coverage: 9.0% of statements [2022-01-13T22:45:19.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-13T22:45:19.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-13T22:45:19.572Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-13T22:45:21.021Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.324s coverage: 28.7% of statements [2022-01-13T22:45:21.021Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-13T22:45:21.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.298s coverage: 86.1% of statements [2022-01-13T22:45:21.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-13T22:45:21.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-13T22:45:22.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.394s coverage: 57.4% of statements [2022-01-13T22:45:26.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.055s coverage: 89.2% of statements [2022-01-13T22:45:26.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-13T22:45:26.535Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.197s coverage: 4.8% of statements [2022-01-13T22:45:26.535Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-13T22:45:26.809Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-13T22:45:26.809Z] GO111MODULE=on go vet ./... [2022-01-13T22:46:23.367Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-13T22:46:23.640Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-13T22:46:23.912Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-13T22:46:25.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-13T22:46:25.928Z] $ docker stop --time=1 a4379aad66f37fcc1d127664a3679e310a8c9b51f182426b1b28ecf5388b13fc [2022-01-13T22:46:27.732Z] $ docker rm -f a4379aad66f37fcc1d127664a3679e310a8c9b51f182426b1b28ecf5388b13fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-13T22:46:28.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-13T22:46:28.815Z] Warning: overwriting stash ‘coverage-report’ [2022-01-13T22:46:29.365Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-13T22:46:29.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-13T22:46:30.095Z] + ls -al . [2022-01-13T22:46:30.095Z] total 304 [2022-01-13T22:46:30.095Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 22:46 . [2022-01-13T22:46:30.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 22:41 .. [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 13 22:41 .dockerignore [2022-01-13T22:46:30.095Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 22:41 .git [2022-01-13T22:46:30.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 22:41 .github [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 13 22:41 .gitignore [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 13 22:41 .golangci.yml [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 13 22:41 CHANGELOG.md [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 13 22:41 GOVERNANCE.md [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 13 22:41 Jenkinsfile [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 13 22:41 LICENSE [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 1613 Jan 13 22:41 Makefile [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 13 22:41 OWNERS.md [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 13 22:41 README.md [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 13 22:38 VERSION [2022-01-13T22:46:30.095Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 22:41 bin [2022-01-13T22:46:30.095Z] -rw-r--r-- 1 jenkins jenkins 128667 Jan 13 22:45 coverage.out [2022-01-13T22:46:30.095Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 13 22:41 example [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 13 22:41 go.mod [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 13 22:41 go.sum [2022-01-13T22:46:30.095Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 13 22:41 internal [2022-01-13T22:46:30.095Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 22:41 openapi [2022-01-13T22:46:30.095Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 13 22:41 pkg [2022-01-13T22:46:30.095Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 22:41 snap [2022-01-13T22:46:30.095Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 13 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:46:30.444Z] + 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=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-01-13T22:46:30.717Z] Sending build context to Docker daemon 5.17MB [2022-01-13T22:46:30.995Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-13T22:46:30.995Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-13T22:46:30.995Z] ---> 11febbaed45a [2022-01-13T22:46:30.995Z] Step 3/24 : ARG MAKE=make build [2022-01-13T22:46:30.995Z] ---> Running in 5969fdd40319 [2022-01-13T22:46:31.270Z] Removing intermediate container 5969fdd40319 [2022-01-13T22:46:31.270Z] ---> 7a2f6e50d585 [2022-01-13T22:46:31.270Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-13T22:46:31.542Z] ---> Running in 40cd6415fe11 [2022-01-13T22:46:31.814Z] Removing intermediate container 40cd6415fe11 [2022-01-13T22:46:31.814Z] ---> f37a0521cf28 [2022-01-13T22:46:31.814Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:46:31.814Z] ---> Running in eac7bff012ca [2022-01-13T22:46:32.090Z] Removing intermediate container eac7bff012ca [2022-01-13T22:46:32.090Z] ---> c6f4edd2f81a [2022-01-13T22:46:32.090Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:46:32.362Z] ---> Running in 2b0cf43f4614 [2022-01-13T22:46:33.825Z] Removing intermediate container 2b0cf43f4614 [2022-01-13T22:46:33.825Z] ---> bcc775bb7976 [2022-01-13T22:46:33.825Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-13T22:46:33.825Z] ---> Running in 64a705fed7ab [2022-01-13T22:46:34.810Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-13T22:46:35.783Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-13T22:46:36.757Z] OK: 219 MiB in 52 packages [2022-01-13T22:46:37.353Z] Removing intermediate container 64a705fed7ab [2022-01-13T22:46:37.353Z] ---> da4286a80872 [2022-01-13T22:46:37.353Z] Step 8/24 : COPY . . [2022-01-13T22:46:38.330Z] ---> 0debd32378b6 [2022-01-13T22:46:38.330Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-13T22:46:38.607Z] ---> Running in b11f037cba19 [2022-01-13T22:46:40.593Z] Removing intermediate container b11f037cba19 [2022-01-13T22:46:40.593Z] ---> aecc57f81f06 [2022-01-13T22:46:40.593Z] Step 10/24 : RUN ${MAKE} [2022-01-13T22:46:40.593Z] ---> Running in a99afd5ebbcb [2022-01-13T22:46:41.564Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-13T22:47:20.614Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-13T22:47:20.614Z] Removing intermediate container a99afd5ebbcb [2022-01-13T22:47:20.614Z] ---> 3627ba74a2c3 [2022-01-13T22:47:20.614Z] Step 11/24 : FROM alpine:3.14 [2022-01-13T22:47:20.614Z] 3.14: Pulling from library/alpine [2022-01-13T22:47:20.614Z] be307f383ecc: Pulling fs layer [2022-01-13T22:47:20.614Z] be307f383ecc: Verifying Checksum [2022-01-13T22:47:20.614Z] be307f383ecc: Download complete [2022-01-13T22:47:20.614Z] be307f383ecc: Pull complete [2022-01-13T22:47:20.614Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-13T22:47:20.614Z] Status: Downloaded newer image for alpine:3.14 [2022-01-13T22:47:20.614Z] ---> 5b8b7b635229 [2022-01-13T22:47:20.614Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-13T22:47:20.614Z] ---> Running in dc52fd417455 [2022-01-13T22:47:20.614Z] Removing intermediate container dc52fd417455 [2022-01-13T22:47:20.614Z] ---> 2a292bfffb2a [2022-01-13T22:47:20.614Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-13T22:47:20.614Z] ---> Running in 2f71c2894012 [2022-01-13T22:47:22.049Z] Removing intermediate container 2f71c2894012 [2022-01-13T22:47:22.049Z] ---> 576771ff99ae [2022-01-13T22:47:22.049Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-13T22:47:22.049Z] ---> Running in 76ee00cb7388 [2022-01-13T22:47:23.026Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-13T22:47:24.000Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-13T22:47:24.977Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-13T22:47:24.977Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-13T22:47:24.977Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-13T22:47:25.252Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-13T22:47:25.252Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-13T22:47:25.252Z] Executing busybox-1.33.1-r6.trigger [2022-01-13T22:47:25.252Z] OK: 8 MiB in 19 packages [2022-01-13T22:47:26.233Z] Removing intermediate container 76ee00cb7388 [2022-01-13T22:47:26.233Z] ---> b26d2fd54e16 [2022-01-13T22:47:26.233Z] Step 15/24 : WORKDIR / [2022-01-13T22:47:26.507Z] ---> Running in db8c3022c213 [2022-01-13T22:47:26.782Z] Removing intermediate container db8c3022c213 [2022-01-13T22:47:26.782Z] ---> 9ff780965f1b [2022-01-13T22:47:26.782Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-13T22:47:27.380Z] ---> bfa403bb7f40 [2022-01-13T22:47:27.380Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-13T22:47:28.360Z] ---> 9b3405294f39 [2022-01-13T22:47:28.360Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-13T22:47:28.955Z] ---> 3bbe44965f75 [2022-01-13T22:47:28.955Z] Step 19/24 : EXPOSE 59999 [2022-01-13T22:47:28.955Z] ---> Running in 0ad87b20c9b9 [2022-01-13T22:47:29.552Z] Removing intermediate container 0ad87b20c9b9 [2022-01-13T22:47:29.552Z] ---> d77ce84293ca [2022-01-13T22:47:29.552Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-13T22:47:29.552Z] ---> Running in e76119d791a0 [2022-01-13T22:47:29.833Z] Removing intermediate container e76119d791a0 [2022-01-13T22:47:29.833Z] ---> 014787b923d8 [2022-01-13T22:47:29.833Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-13T22:47:29.833Z] ---> Running in c72e5bb4a1d8 [2022-01-13T22:47:30.436Z] Removing intermediate container c72e5bb4a1d8 [2022-01-13T22:47:30.436Z] ---> 0e20c3a25781 [2022-01-13T22:47:30.436Z] Step 22/24 : LABEL arch=arm64 [2022-01-13T22:47:30.436Z] ---> Running in dcfb12c028d0 [2022-01-13T22:47:30.710Z] Removing intermediate container dcfb12c028d0 [2022-01-13T22:47:30.710Z] ---> 6abe1a651028 [2022-01-13T22:47:30.710Z] Step 23/24 : LABEL git_sha=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [2022-01-13T22:47:30.984Z] ---> Running in d4fad4148f83 [2022-01-13T22:47:31.259Z] Removing intermediate container d4fad4148f83 [2022-01-13T22:47:31.259Z] ---> 7d48a01e886b [2022-01-13T22:47:31.259Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-01-13T22:47:31.259Z] ---> Running in 7b23ecc63cae [2022-01-13T22:47:31.855Z] Removing intermediate container 7b23ecc63cae [2022-01-13T22:47:31.855Z] ---> 8d2f818bef07 [2022-01-13T22:47:31.855Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-13T22:47:31.855Z] Successfully built 8d2f818bef07 [2022-01-13T22:47:31.855Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:47:32.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-13T22:47:32.273Z] [2022-01-13T22:47:32.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:47:32.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-13T22:47:32.894Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-13T22:47:32.894Z] 448f6bf000e3: Pulling fs layer [2022-01-13T22:47:32.894Z] f757da607395: Pulling fs layer [2022-01-13T22:47:32.894Z] 05883995daec: Pulling fs layer [2022-01-13T22:47:32.894Z] 8603b9c90790: Pulling fs layer [2022-01-13T22:47:32.894Z] 1560dd03e051: Pulling fs layer [2022-01-13T22:47:32.894Z] 27f5ce0e4adf: Pulling fs layer [2022-01-13T22:47:32.894Z] c2d8d7efcc4b: Pulling fs layer [2022-01-13T22:47:32.894Z] 8603b9c90790: Waiting [2022-01-13T22:47:32.894Z] 27f5ce0e4adf: Waiting [2022-01-13T22:47:32.894Z] 1560dd03e051: Waiting [2022-01-13T22:47:32.894Z] c2d8d7efcc4b: Waiting [2022-01-13T22:47:32.894Z] f757da607395: Download complete [2022-01-13T22:47:32.894Z] 8603b9c90790: Verifying Checksum [2022-01-13T22:47:32.894Z] 8603b9c90790: Download complete [2022-01-13T22:47:32.894Z] 1560dd03e051: Verifying Checksum [2022-01-13T22:47:32.894Z] 1560dd03e051: Download complete [2022-01-13T22:47:32.894Z] 27f5ce0e4adf: Verifying Checksum [2022-01-13T22:47:32.894Z] 27f5ce0e4adf: Download complete [2022-01-13T22:47:33.168Z] 05883995daec: Verifying Checksum [2022-01-13T22:47:33.168Z] 05883995daec: Download complete [2022-01-13T22:47:33.442Z] 448f6bf000e3: Verifying Checksum [2022-01-13T22:47:33.442Z] 448f6bf000e3: Download complete [2022-01-13T22:47:36.067Z] c2d8d7efcc4b: Verifying Checksum [2022-01-13T22:47:36.067Z] c2d8d7efcc4b: Download complete [2022-01-13T22:47:37.050Z] 448f6bf000e3: Pull complete [2022-01-13T22:47:37.649Z] f757da607395: Pull complete [2022-01-13T22:47:39.088Z] 05883995daec: Pull complete [2022-01-13T22:47:39.362Z] 8603b9c90790: Pull complete [2022-01-13T22:47:40.340Z] 1560dd03e051: Pull complete [2022-01-13T22:47:40.613Z] 27f5ce0e4adf: Pull complete [2022-01-13T22:47:55.695Z] c2d8d7efcc4b: Pull complete [2022-01-13T22:47:55.695Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-13T22:47:55.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-13T22:47:55.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-13T22:47:55.937Z] prd-ubuntu18.04-docker-arm64-4c-16g-1463 does not seem to be running inside a container [2022-01-13T22:47:56.037Z] $ 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/41 -v /w/workspace/device-sdk-go/41:/w/workspace/device-sdk-go/41:rw,z -v /w/workspace/device-sdk-go/41@tmp:/w/workspace/device-sdk-go/41@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 [2022-01-13T22:47:58.716Z] $ docker top 715e3d2d910e6ce464d2c787fed354507cfb5fe55921acbaca2a63ee311a938d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:47:59.574Z] ---> job-cost.sh [2022-01-13T22:47:59.574Z] lf-activate-venv: SKIPPING [2022-01-13T22:47:59.574Z] INFO: No Stack... [2022-01-13T22:47:59.848Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-13T22:48:00.453Z] INFO: Archiving Costs [Pipeline] sh [2022-01-13T22:48:00.796Z] + cat /w/workspace/device-sdk-go/41/archives/cost.csv [2022-01-13T22:48:00.796Z] + cut -d, -f6 [Pipeline] lock [2022-01-13T22:48:01.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [2022-01-13T22:48:01.138Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] did not exist. Created. [2022-01-13T22:48:01.138Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-13T22:48:01.816Z] /w/workspace/device-sdk-go/41@tmp/durable-5e60b114/script.sh: 1: /w/workspace/device-sdk-go/41@tmp/durable-5e60b114/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-13T22:48:02.488Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-13T22:48:02.516Z] Warning: overwriting stash ‘stack-cost’ [2022-01-13T22:48:02.582Z] Stashed 1 file(s) [Pipeline] } [2022-01-13T22:48:02.592Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-13T22:48:02.626Z] $ docker stop --time=1 715e3d2d910e6ce464d2c787fed354507cfb5fe55921acbaca2a63ee311a938d [2022-01-13T22:48:04.085Z] $ docker rm -f 715e3d2d910e6ce464d2c787fed354507cfb5fe55921acbaca2a63ee311a938d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-13T22:48:04.486Z] provisioning config files... [2022-01-13T22:48:04.494Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8441081488280917115tmp [Pipeline] { [Pipeline] sh [2022-01-13T22:48:04.798Z] + set +x [2022-01-13T22:48:04.799Z] + curl -s https://codecov.io/bash [2022-01-13T22:48:04.799Z] + bash -s -- [2022-01-13T22:48:04.799Z] [2022-01-13T22:48:04.799Z] _____ _ [2022-01-13T22:48:04.799Z] / ____| | | [2022-01-13T22:48:04.799Z] | | ___ __| | ___ ___ _____ __ [2022-01-13T22:48:04.799Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-13T22:48:04.799Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-13T22:48:04.799Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-13T22:48:04.799Z] Bash-1.0.6 [2022-01-13T22:48:04.799Z] [2022-01-13T22:48:04.799Z] [2022-01-13T22:48:04.799Z] ==> git version 2.24.4 found [2022-01-13T22:48:04.799Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-13T22:48:04.799Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-13T22:48:04.799Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-13T22:48:04.799Z] ==> Jenkins CI detected. [2022-01-13T22:48:04.799Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:48:04.799Z] project root: . [2022-01-13T22:48:04.799Z] --> token set from env [2022-01-13T22:48:04.799Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-13T22:48:05.062Z] ==> Running gcov in . (disable via -X gcov) [2022-01-13T22:48:05.062Z] ==> Python coveragepy not found [2022-01-13T22:48:05.062Z] ==> Searching for coverage reports in: [2022-01-13T22:48:05.062Z] + . [2022-01-13T22:48:05.062Z] -> Found 1 reports [2022-01-13T22:48:05.062Z] ==> Detecting git/mercurial file structure [2022-01-13T22:48:05.062Z] ==> Reading reports [2022-01-13T22:48:05.062Z] + ./coverage.out bytes=128667 [2022-01-13T22:48:05.062Z] ==> Appending adjustments [2022-01-13T22:48:05.062Z] https://docs.codecov.io/docs/fixing-reports [2022-01-13T22:48:05.324Z] + Found adjustments [2022-01-13T22:48:05.324Z] ==> Gzipping contents [2022-01-13T22:48:05.324Z] 16K /tmp/codecov.nyJIc5.gz [2022-01-13T22:48:05.324Z] ==> Uploading reports [2022-01-13T22:48:05.324Z] url: https://codecov.io [2022-01-13T22:48:05.324Z] query: branch=main&commit=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-13T22:48:05.324Z] -> Pinging Codecov [2022-01-13T22:48:05.324Z] 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=010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-13T22:48:05.584Z] -> Uploading to [2022-01-13T22:48:05.584Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-13/7E55EF52A471D76F132DFD9A03CDDE97/010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1/5b6e0937-5ec3-46e1-8fd3-09625dca518b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220113%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220113T224805Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94f51734ea2eb8dd01ff72e3db9f7f3201c1e03636527b25afebb8a407f0e281 [2022-01-13T22:48:05.584Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-13T22:48:05.584Z] Dload Upload Total Spent Left Speed [2022-01-13T22:48:06.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16382 0 0 100 16382 0 46594 --:--:-- --:--:-- --:--:-- 46672 [2022-01-13T22:48:06.160Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] } [2022-01-13T22:48:06.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-13T22:48:06.296Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-13T22:48:06.306Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:06.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-13T22:48:06.602Z] [2022-01-13T22:48:06.602Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:06.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-13T22:48:06.914Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-13T22:48:06.914Z] 188c0c94c7c5: Pulling fs layer [2022-01-13T22:48:06.914Z] 0ef7d3d256c8: Pulling fs layer [2022-01-13T22:48:06.914Z] de9db76c5a1d: Pulling fs layer [2022-01-13T22:48:06.914Z] 0eba1c9be4d2: Pulling fs layer [2022-01-13T22:48:06.914Z] 0d57e429df01: Pulling fs layer [2022-01-13T22:48:06.914Z] 4e4be7b47b0d: Pulling fs layer [2022-01-13T22:48:06.914Z] e1f770b5df2f: Pulling fs layer [2022-01-13T22:48:06.914Z] 85a0685a4137: Pulling fs layer [2022-01-13T22:48:06.914Z] 0d57e429df01: Waiting [2022-01-13T22:48:06.914Z] 4e4be7b47b0d: Waiting [2022-01-13T22:48:06.914Z] e1f770b5df2f: Waiting [2022-01-13T22:48:06.914Z] 85a0685a4137: Waiting [2022-01-13T22:48:06.914Z] 0eba1c9be4d2: Waiting [2022-01-13T22:48:06.914Z] de9db76c5a1d: Verifying Checksum [2022-01-13T22:48:06.914Z] de9db76c5a1d: Download complete [2022-01-13T22:48:06.914Z] 0ef7d3d256c8: Verifying Checksum [2022-01-13T22:48:06.914Z] 0ef7d3d256c8: Download complete [2022-01-13T22:48:06.914Z] 0d57e429df01: Verifying Checksum [2022-01-13T22:48:06.914Z] 0d57e429df01: Download complete [2022-01-13T22:48:06.914Z] 4e4be7b47b0d: Verifying Checksum [2022-01-13T22:48:06.914Z] 4e4be7b47b0d: Download complete [2022-01-13T22:48:06.914Z] 188c0c94c7c5: Verifying Checksum [2022-01-13T22:48:06.914Z] 188c0c94c7c5: Download complete [2022-01-13T22:48:07.181Z] e1f770b5df2f: Verifying Checksum [2022-01-13T22:48:07.181Z] e1f770b5df2f: Download complete [2022-01-13T22:48:07.181Z] 188c0c94c7c5: Pull complete [2022-01-13T22:48:07.446Z] 0ef7d3d256c8: Pull complete [2022-01-13T22:48:07.446Z] 0eba1c9be4d2: Verifying Checksum [2022-01-13T22:48:07.446Z] 0eba1c9be4d2: Download complete [2022-01-13T22:48:07.446Z] de9db76c5a1d: Pull complete [2022-01-13T22:48:08.035Z] 85a0685a4137: Verifying Checksum [2022-01-13T22:48:08.035Z] 85a0685a4137: Download complete [2022-01-13T22:48:11.366Z] 0eba1c9be4d2: Pull complete [2022-01-13T22:48:11.366Z] 0d57e429df01: Pull complete [2022-01-13T22:48:11.366Z] 4e4be7b47b0d: Pull complete [2022-01-13T22:48:11.959Z] e1f770b5df2f: Pull complete [2022-01-13T22:48:17.297Z] 85a0685a4137: Pull complete [2022-01-13T22:48:17.297Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-13T22:48:17.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-13T22:48:17.297Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-13T22:48:17.358Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:48:17.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-13T22:48:18.421Z] $ docker top b6cff57ee68bf9f5174a3cdb58b8186d0e167c5c83a995b81b5447fec0bc13c7 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-13T22:48:18.495Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-13T22:48:18.785Z] + set -o pipefail [2022-01-13T22:48:18.785Z] + snyk monitor '--org=edgex-jenkins' [2022-01-13T22:48:24.087Z] [2022-01-13T22:48:24.087Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-13T22:48:24.087Z] [2022-01-13T22:48:24.087Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/7a717ff2-8730-4839-8084-08d4bf99bd84 [2022-01-13T22:48:24.087Z] [2022-01-13T22:48:24.087Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-13T22:48:24.087Z] [2022-01-13T22:48:24.087Z] [Pipeline] } [2022-01-13T22:48:24.098Z] $ docker stop --time=1 b6cff57ee68bf9f5174a3cdb58b8186d0e167c5c83a995b81b5447fec0bc13c7 [2022-01-13T22:48:26.087Z] $ docker rm -f b6cff57ee68bf9f5174a3cdb58b8186d0e167c5c83a995b81b5447fec0bc13c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-01-13T22:48:26.443Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:48:26.452Z] provisioning config files... [2022-01-13T22:48:26.461Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6323863971901383956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:48:26.758Z] --> edgex-publish-swagger.sh [2022-01-13T22:48:26.758Z] === Publish openapi/v2 API === [2022-01-13T22:48:26.758Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-13T22:48:26.758Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-13T22:48:26.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-13T22:48:26.758Z] Dload Upload Total Spent Left Speed [2022-01-13T22:48:27.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 45860 0:00:01 0:00:01 --:--:-- 45878 100 51659 0 0 100 51659 0 45855 0:00:01 0:00:01 --:--:-- 45878 [2022-01-13T22:48:27.696Z] [2022-01-13T22:48:27.696Z] [Pipeline] } [2022-01-13T22:48:27.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-13T22:48:28.115Z] + git log --format=format:%s -1 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 [Pipeline] sh [2022-01-13T22:48:28.408Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-13T22:48:28.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:28.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:48:28.704Z] . [Pipeline] withDockerContainer [2022-01-13T22:48:28.766Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:48:28.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-13T22:48:29.157Z] $ docker top d086533f75232f15436948e6adb42b80c0c2cdf21c09008f63464db77f9021bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-13T22:48:29.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-13T22:48:29.245Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-13T22:48:29.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-13T22:48:29.348Z] $ docker exec d086533f75232f15436948e6adb42b80c0c2cdf21c09008f63464db77f9021bb ssh-agent [2022-01-13T22:48:29.449Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkDcjbH/agent.13 [2022-01-13T22:48:29.449Z] SSH_AGENT_PID=20 [2022-01-13T22:48:29.455Z] Running ssh-add (command line suppressed) [2022-01-13T22:48:29.547Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3283556979707280065.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3283556979707280065.key) [2022-01-13T22:48:29.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-13T22:48:29.849Z] + git semver tag [2022-01-13T22:48:29.850Z] # -> Open(): unable to determine branch for HEAD [2022-01-13T22:48:29.850Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-13T22:48:29.850Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:48:29.850Z] # $SEMVER_REMOTE_NAME = origin [2022-01-13T22:48:29.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-13T22:48:29.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-13T22:48:29.850Z] # $SEMVER_BRANCH = main [2022-01-13T22:48:29.850Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-13T22:48:29.850Z] # 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 HEAD [2022-01-13T22:48:29.850Z] # -> Force: false [2022-01-13T22:48:29.850Z] # d8bfb52b1913b18967e299d27e026b6db6d00cb9 refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-01-13T22:48:29.860Z] $ docker exec --env ******** --env ******** d086533f75232f15436948e6adb42b80c0c2cdf21c09008f63464db77f9021bb ssh-agent -k [2022-01-13T22:48:29.950Z] unset SSH_AUTH_SOCK; [2022-01-13T22:48:29.951Z] unset SSH_AGENT_PID; [2022-01-13T22:48:29.951Z] echo Agent pid 20 killed; [2022-01-13T22:48:29.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-13T22:48:30.275Z] + git semver [Pipeline] } [2022-01-13T22:48:30.288Z] $ docker stop --time=1 d086533f75232f15436948e6adb42b80c0c2cdf21c09008f63464db77f9021bb [2022-01-13T22:48:31.470Z] $ docker rm -f d086533f75232f15436948e6adb42b80c0c2cdf21c09008f63464db77f9021bb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:31.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-13T22:48:31.858Z] [2022-01-13T22:48:31.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:32.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-13T22:48:32.164Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-13T22:48:32.164Z] ab5ef0e58194: Pulling fs layer [2022-01-13T22:48:32.164Z] 9712f1f96733: Pulling fs layer [2022-01-13T22:48:32.164Z] 63f879dbbcfc: Pulling fs layer [2022-01-13T22:48:32.164Z] 0d9ebad4ef96: Pulling fs layer [2022-01-13T22:48:32.164Z] e9a5061849ea: Pulling fs layer [2022-01-13T22:48:32.164Z] d747dcd14b5f: Pulling fs layer [2022-01-13T22:48:32.164Z] 2de7ff778b66: Pulling fs layer [2022-01-13T22:48:32.164Z] 0d9ebad4ef96: Waiting [2022-01-13T22:48:32.164Z] e9a5061849ea: Waiting [2022-01-13T22:48:32.164Z] d747dcd14b5f: Waiting [2022-01-13T22:48:32.164Z] 2de7ff778b66: Waiting [2022-01-13T22:48:32.164Z] 9712f1f96733: Verifying Checksum [2022-01-13T22:48:32.164Z] 9712f1f96733: Download complete [2022-01-13T22:48:32.429Z] 63f879dbbcfc: Verifying Checksum [2022-01-13T22:48:32.429Z] 63f879dbbcfc: Download complete [2022-01-13T22:48:32.694Z] 0d9ebad4ef96: Verifying Checksum [2022-01-13T22:48:32.694Z] 0d9ebad4ef96: Download complete [2022-01-13T22:48:32.694Z] d747dcd14b5f: Verifying Checksum [2022-01-13T22:48:32.694Z] d747dcd14b5f: Download complete [2022-01-13T22:48:32.694Z] e9a5061849ea: Verifying Checksum [2022-01-13T22:48:32.694Z] e9a5061849ea: Download complete [2022-01-13T22:48:32.694Z] ab5ef0e58194: Verifying Checksum [2022-01-13T22:48:32.694Z] ab5ef0e58194: Download complete [2022-01-13T22:48:32.967Z] 2de7ff778b66: Verifying Checksum [2022-01-13T22:48:32.967Z] 2de7ff778b66: Download complete [2022-01-13T22:48:35.558Z] ab5ef0e58194: Pull complete [2022-01-13T22:48:35.558Z] 9712f1f96733: Pull complete [2022-01-13T22:48:36.956Z] 63f879dbbcfc: Pull complete [2022-01-13T22:48:41.212Z] 0d9ebad4ef96: Pull complete [2022-01-13T22:48:41.212Z] e9a5061849ea: Pull complete [2022-01-13T22:48:41.212Z] d747dcd14b5f: Pull complete [2022-01-13T22:48:42.160Z] 2de7ff778b66: Pull complete [2022-01-13T22:48:42.160Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-13T22:48:42.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-13T22:48:42.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-13T22:48:42.220Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:48:42.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-13T22:48:45.800Z] $ docker top c295fdde9f67e57be2c52547f49f7d5ef0282cc088bece17787cd4e0262de55c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:48:45.867Z] provisioning config files... [2022-01-13T22:48:45.876Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7982266669382878074tmp [2022-01-13T22:48:45.886Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config381168865218856523tmp [2022-01-13T22:48:45.896Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6510983679821418594tmp [Pipeline] { [Pipeline] echo [2022-01-13T22:48:45.907Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:48:46.194Z] ---> sigul-configuration.sh [2022-01-13T22:48:46.194Z] gpg: directory `/root/.gnupg' created [2022-01-13T22:48:46.194Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-13T22:48:46.194Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-13T22:48:46.194Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-13T22:48:46.194Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-13T22:48:46.194Z] gpg: CAST5 encrypted data [2022-01-13T22:48:46.194Z] gpg: encrypted with 1 passphrase [2022-01-13T22:48:46.194Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-13T22:48:46.486Z] + mkdir /home/jenkins [2022-01-13T22:48:46.486Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-13T22:48:46.779Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-13T22:48:46.789Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:48:47.076Z] ---> sigul-install.sh [2022-01-13T22:48:47.076Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-13T22:48:47.363Z] + git tag --list [2022-01-13T22:48:47.363Z] 0.7.1 [2022-01-13T22:48:47.363Z] delhi-tag [2022-01-13T22:48:47.363Z] v1.0.0 [2022-01-13T22:48:47.363Z] v1.1.0 [2022-01-13T22:48:47.363Z] v1.1.1 [2022-01-13T22:48:47.363Z] v1.1.2 [2022-01-13T22:48:47.363Z] v1.2.0 [2022-01-13T22:48:47.363Z] v1.2.1 [2022-01-13T22:48:47.363Z] v1.2.2 [2022-01-13T22:48:47.363Z] v1.2.3 [2022-01-13T22:48:47.363Z] v1.3.0 [2022-01-13T22:48:47.363Z] v1.4.0 [2022-01-13T22:48:47.363Z] v2.0.0 [2022-01-13T22:48:47.363Z] v2.0.1-dev.1 [2022-01-13T22:48:47.363Z] v2.0.1-dev.10 [2022-01-13T22:48:47.363Z] v2.0.1-dev.11 [2022-01-13T22:48:47.363Z] v2.0.1-dev.12 [2022-01-13T22:48:47.363Z] v2.0.1-dev.13 [2022-01-13T22:48:47.363Z] v2.0.1-dev.14 [2022-01-13T22:48:47.363Z] v2.0.1-dev.15 [2022-01-13T22:48:47.363Z] v2.0.1-dev.16 [2022-01-13T22:48:47.363Z] v2.0.1-dev.17 [2022-01-13T22:48:47.363Z] v2.0.1-dev.18 [2022-01-13T22:48:47.363Z] v2.0.1-dev.19 [2022-01-13T22:48:47.363Z] v2.0.1-dev.2 [2022-01-13T22:48:47.363Z] v2.0.1-dev.20 [2022-01-13T22:48:47.363Z] v2.0.1-dev.21 [2022-01-13T22:48:47.363Z] v2.0.1-dev.22 [2022-01-13T22:48:47.363Z] v2.0.1-dev.23 [2022-01-13T22:48:47.363Z] v2.0.1-dev.24 [2022-01-13T22:48:47.363Z] v2.0.1-dev.25 [2022-01-13T22:48:47.363Z] v2.0.1-dev.26 [2022-01-13T22:48:47.363Z] v2.0.1-dev.27 [2022-01-13T22:48:47.363Z] v2.0.1-dev.28 [2022-01-13T22:48:47.363Z] v2.0.1-dev.29 [2022-01-13T22:48:47.363Z] v2.0.1-dev.3 [2022-01-13T22:48:47.363Z] v2.0.1-dev.30 [2022-01-13T22:48:47.363Z] v2.0.1-dev.31 [2022-01-13T22:48:47.363Z] v2.0.1-dev.32 [2022-01-13T22:48:47.363Z] v2.0.1-dev.33 [2022-01-13T22:48:47.363Z] v2.0.1-dev.4 [2022-01-13T22:48:47.363Z] v2.0.1-dev.5 [2022-01-13T22:48:47.363Z] v2.0.1-dev.6 [2022-01-13T22:48:47.363Z] v2.0.1-dev.7 [2022-01-13T22:48:47.363Z] v2.0.1-dev.8 [2022-01-13T22:48:47.363Z] v2.0.1-dev.9 [2022-01-13T22:48:47.363Z] v2.1.0 [2022-01-13T22:48:47.363Z] v2.1.1-dev.1 [2022-01-13T22:48:47.363Z] v2.2.0-dev.1 [2022-01-13T22:48:47.363Z] v2.2.0-dev.2 [2022-01-13T22:48:47.363Z] v2.2.0-dev.3 [2022-01-13T22:48:47.363Z] v2.2.0-dev.4 [2022-01-13T22:48:47.363Z] v2.2.0-dev.5 [2022-01-13T22:48:47.363Z] v2.2.0-dev.6 [2022-01-13T22:48:47.363Z] v2.2.0-dev.7 [2022-01-13T22:48:47.363Z] v2.2.0-dev.8 [Pipeline] sh [2022-01-13T22:48:47.656Z] + lftools sign git-tag v2.2.0-dev.8 [2022-01-13T22:48:48.229Z] Signing Git tag with Sigul... [2022-01-13T22:48:48.229Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-01-13T22:48:48.499Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:48:48.780Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-13T22:48:48.787Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-13T22:48:48.807Z] $ docker stop --time=1 c295fdde9f67e57be2c52547f49f7d5ef0282cc088bece17787cd4e0262de55c [2022-01-13T22:48:49.991Z] $ docker rm -f c295fdde9f67e57be2c52547f49f7d5ef0282cc088bece17787cd4e0262de55c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-13T22:48:50.398Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-13T22:48:50.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:50.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:48:50.689Z] . [Pipeline] withDockerContainer [2022-01-13T22:48:50.750Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:48:50.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-13T22:48:51.111Z] $ docker top bee9fe7ab5ee6e3720375420a867a3647467c187b842dbc6db570fcaaada9ac7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-13T22:48:51.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-13T22:48:51.196Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-13T22:48:51.289Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-13T22:48:51.291Z] $ docker exec bee9fe7ab5ee6e3720375420a867a3647467c187b842dbc6db570fcaaada9ac7 ssh-agent [2022-01-13T22:48:51.388Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJBiOdf/agent.14 [2022-01-13T22:48:51.388Z] SSH_AGENT_PID=20 [2022-01-13T22:48:51.393Z] Running ssh-add (command line suppressed) [2022-01-13T22:48:51.481Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5349869948269391488.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5349869948269391488.key) [2022-01-13T22:48:51.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-13T22:48:51.791Z] + git semver bump pre [2022-01-13T22:48:51.791Z] # -> Open(): unable to determine branch for HEAD [2022-01-13T22:48:51.791Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-13T22:48:51.791Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:48:51.791Z] # $SEMVER_REMOTE_NAME = origin [2022-01-13T22:48:51.791Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-13T22:48:51.791Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-13T22:48:51.791Z] # $SEMVER_BRANCH = main [2022-01-13T22:48:51.791Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-13T22:48:51.791Z] 2.2.0-dev.9 [Pipeline] } [2022-01-13T22:48:51.801Z] $ docker exec --env ******** --env ******** bee9fe7ab5ee6e3720375420a867a3647467c187b842dbc6db570fcaaada9ac7 ssh-agent -k [2022-01-13T22:48:51.884Z] unset SSH_AUTH_SOCK; [2022-01-13T22:48:51.884Z] unset SSH_AGENT_PID; [2022-01-13T22:48:51.884Z] echo Agent pid 20 killed; [2022-01-13T22:48:51.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-13T22:48:52.210Z] + git semver [Pipeline] } [2022-01-13T22:48:52.223Z] $ docker stop --time=1 bee9fe7ab5ee6e3720375420a867a3647467c187b842dbc6db570fcaaada9ac7 [2022-01-13T22:48:53.434Z] $ docker rm -f bee9fe7ab5ee6e3720375420a867a3647467c187b842dbc6db570fcaaada9ac7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-13T22:48:53.773Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-13T22:48:53.773Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:48:54.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-13T22:48:54.068Z] . [Pipeline] withDockerContainer [2022-01-13T22:48:54.132Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:48:54.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-13T22:48:54.490Z] $ docker top 9db8d7a10ada1160caee38d3a492002bfb95e6dd40fb812563f71b600251b220 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-13T22:48:54.589Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-13T22:48:54.589Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-13T22:48:54.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-13T22:48:54.693Z] $ docker exec 9db8d7a10ada1160caee38d3a492002bfb95e6dd40fb812563f71b600251b220 ssh-agent [2022-01-13T22:48:54.801Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXonjMEM/agent.14 [2022-01-13T22:48:54.801Z] SSH_AGENT_PID=20 [2022-01-13T22:48:54.806Z] Running ssh-add (command line suppressed) [2022-01-13T22:48:54.891Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3639739649025431200.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3639739649025431200.key) [2022-01-13T22:48:54.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-13T22:48:55.196Z] + git semver push [2022-01-13T22:48:55.196Z] # -> Open(): unable to determine branch for HEAD [2022-01-13T22:48:55.196Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-13T22:48:55.196Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:48:55.196Z] # $SEMVER_REMOTE_NAME = origin [2022-01-13T22:48:55.196Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-13T22:48:55.196Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-13T22:48:55.196Z] # $SEMVER_BRANCH = main [2022-01-13T22:48:55.196Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-13T22:48:57.122Z] $ docker exec --env ******** --env ******** 9db8d7a10ada1160caee38d3a492002bfb95e6dd40fb812563f71b600251b220 ssh-agent -k [2022-01-13T22:48:57.204Z] unset SSH_AUTH_SOCK; [2022-01-13T22:48:57.204Z] unset SSH_AGENT_PID; [2022-01-13T22:48:57.204Z] echo Agent pid 20 killed; [2022-01-13T22:48:57.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-13T22:48:57.515Z] + git semver [Pipeline] } [2022-01-13T22:48:57.527Z] $ docker stop --time=1 9db8d7a10ada1160caee38d3a492002bfb95e6dd40fb812563f71b600251b220 [2022-01-13T22:48:58.701Z] $ docker rm -f 9db8d7a10ada1160caee38d3a492002bfb95e6dd40fb812563f71b600251b220 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-13T22:48:59.274Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-13T22:48:59.274Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-13T22:48:59.274Z] total 8 [2022-01-13T22:48:59.274Z] drwxr-xr-x. 3 root root 34 Jan 13 22:41 . [2022-01-13T22:48:59.274Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 13 22:48 .. [2022-01-13T22:48:59.274Z] drwxr-xr-x. 2 root root 6 Jan 13 22:41 cost [2022-01-13T22:48:59.274Z] -rw-r--r--. 1 root root 83 Jan 13 22:41 cost.csv [2022-01-13T22:48:59.274Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-13T22:48:59.274Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-13T22:48:59.274Z] total 8 [2022-01-13T22:48:59.274Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 13 22:41 . [2022-01-13T22:48:59.274Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 13 22:48 .. [2022-01-13T22:48:59.274Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 13 22:41 cost [2022-01-13T22:48:59.274Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 13 22:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:48:59.560Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:00.113Z] ---> package-listing.sh [2022-01-13T22:49:00.113Z] ++ facter osfamily [2022-01-13T22:49:00.113Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-13T22:49:00.376Z] + OS_FAMILY=redhat [2022-01-13T22:49:00.376Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-13T22:49:00.376Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-13T22:49:00.376Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-13T22:49:00.376Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-13T22:49:00.376Z] + PACKAGES=/tmp/packages_start.txt [2022-01-13T22:49:00.376Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-13T22:49:00.376Z] + PACKAGES=/tmp/packages_end.txt [2022-01-13T22:49:00.376Z] + case "${OS_FAMILY}" in [2022-01-13T22:49:00.376Z] + rpm -qa [2022-01-13T22:49:00.376Z] + sort [2022-01-13T22:49:00.946Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-13T22:49:00.946Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-13T22:49:00.946Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-13T22:49:00.946Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-13T22:49:00.946Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-13T22:49:00.946Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-01-13T22:49:00.958Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-13T22:49:01.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-13T22:49:01.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-13T22:49:01.819Z] . [Pipeline] withDockerContainer [2022-01-13T22:49:01.878Z] prd-centos7-docker-4c-2g-1462 does not seem to be running inside a container [2022-01-13T22:49:01.908Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-13T22:49:02.114Z] $ docker top cea3dda479d4d880531ed7a06a123921ed6c60c2fb2ed5da0818f65ece4b2640 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-13T22:49:02.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-13T22:49:02.754Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-13T22:49:03.046Z] + ls /var/log/sa-host [2022-01-13T22:49:03.047Z] + sadf -c /var/log/sa-host/sa13 [2022-01-13T22:49:03.047Z] file_magic: OK [2022-01-13T22:49:03.047Z] HZ: Using current value: 100 [2022-01-13T22:49:03.047Z] file_header: OK [2022-01-13T22:49:03.047Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-13T22:49:03.047Z] Statistics: [2022-01-13T22:49:03.047Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-13T22:49:03.047Z] File successfully converted to sysstat format version 12.0.3 [2022-01-13T22:49:03.047Z] + sadf -c /var/log/sa-host/sa17 [2022-01-13T22:49:03.047Z] file_magic: OK [2022-01-13T22:49:03.047Z] HZ: Using current value: 100 [2022-01-13T22:49:03.047Z] file_header: OK [2022-01-13T22:49:03.047Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-13T22:49:03.047Z] Statistics: [2022-01-13T22:49:03.047Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-13T22:49:03.047Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-13T22:49:03.133Z] provisioning config files... [2022-01-13T22:49:03.140Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2078394787825366412tmp [Pipeline] { [Pipeline] echo [2022-01-13T22:49:03.153Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:03.438Z] ---> create-netrc.sh [Pipeline] } [2022-01-13T22:49:03.446Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:03.782Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-13T22:49:03.803Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:04.110Z] ---> sudo-logs.sh [2022-01-13T22:49:04.110Z] Archiving 'sudo' log.. [2022-01-13T22:49:04.110Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known [2022-01-13T22:49:04.110Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1462.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-13T22:49:04.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:04.445Z] ---> job-cost.sh [2022-01-13T22:49:04.445Z] lf-activate-venv: SKIPPING [2022-01-13T22:49:04.445Z] DEBUG: total: 0.05999999865889549 [2022-01-13T22:49:04.445Z] INFO: Retrieving Stack Cost... [2022-01-13T22:49:04.706Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-13T22:49:04.967Z] INFO: Archiving Costs [Pipeline] echo [2022-01-13T22:49:04.980Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-13T22:49:05.267Z] ---> logs-deploy.sh [2022-01-13T22:49:05.267Z] lf-activate-venv: SKIPPING [2022-01-13T22:49:05.267Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/41 [2022-01-13T22:49:05.267Z] INFO: archiving workspace using pattern(s): [2022-01-13T22:49:05.838Z] Archives upload complete. [2022-01-13T22:49:06.099Z] INFO: archiving logs to Nexus