Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 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-ssh11734905069774904620.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh13895510778886186481.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh10950266603230092551.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh8089032370175607795.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-ssh16866833949871283312.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3868 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-ssh7263350022392421751.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 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 (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 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 # timeout=10 Commit message: "Merge pull request #1087 from lenny-intel/remove-race-flag" > git rev-list --no-walk 010109ac27d0c5bf83524e8a72dc5fbfafcc8fd1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-25T19:18:21.213Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-25T19:18:21.304Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-25T19:18:21.322Z] ========================================================= [2022-01-25T19:18:21.322Z] EdgeX Global Pipelines Version Info [2022-01-25T19:18:21.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:18:22.464Z] ------------------- [2022-01-25T19:18:22.464Z] stable info: [2022-01-25T19:18:22.464Z] ------------------- [2022-01-25T19:18:22.464Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-25T19:18:22.464Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:18:22.464Z] Message: update stable to v1.0.219 [2022-01-25T19:18:23.037Z] ------------------- [2022-01-25T19:18:23.037Z] experimental info: [2022-01-25T19:18:23.037Z] ------------------- [2022-01-25T19:18:23.037Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-25T19:18:23.037Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:18:23.037Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-25T19:18:23.185Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-25T19:18:23.195Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-25T19:18:23.208Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-25T19:18:23.218Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-25T19:18:23.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-25T19:18:23.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-25T19:18:23.252Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-25T19:18:23.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-25T19:18:23.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-25T19:18:23.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-25T19:18:23.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-25T19:18:23.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-25T19:18:23.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-25T19:18:23.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-25T19:18:23.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-25T19:18:23.368Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:18:23.382Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:18:23.393Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:18:23.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-25T19:18:23.418Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-25T19:18:23.430Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-25T19:18:23.444Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-25T19:18:23.456Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-25T19:18:23.470Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-25T19:18:23.482Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-25T19:18:23.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-25T19:18:23.505Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-25T19:18:23.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-25T19:18:23.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-25T19:18:23.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] echo [2022-01-25T19:18:23.549Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9af29ab [Pipeline] echo [2022-01-25T19:18:23.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:18:23.601Z] provisioning config files... [2022-01-25T19:18:23.613Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6271451127314075238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:18:23.921Z] ---> docker-login.sh [2022-01-25T19:18:23.921Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:18:23.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:24.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:24.183Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:24.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:24.183Z] [2022-01-25T19:18:24.183Z] Login Succeeded [2022-01-25T19:18:24.183Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:18:24.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:24.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:24.183Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:24.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:24.183Z] [2022-01-25T19:18:24.183Z] Login Succeeded [2022-01-25T19:18:24.183Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:18:24.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:24.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:24.445Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:24.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:24.445Z] [2022-01-25T19:18:24.445Z] Login Succeeded [2022-01-25T19:18:24.445Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:18:24.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:24.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:24.445Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:24.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:24.445Z] [2022-01-25T19:18:24.445Z] Login Succeeded [2022-01-25T19:18:24.445Z] docker.io [2022-01-25T19:18:24.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:25.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:25.019Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:25.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:25.019Z] [2022-01-25T19:18:25.019Z] Login Succeeded [2022-01-25T19:18:25.019Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:18:25.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-25T19:18:25.424Z] + git rev-list -1 --merges 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0~1..9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] echo [2022-01-25T19:18:25.448Z] -----------> git rev-list -1 --merges 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0~1..9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [2022-01-25T19:18:25.448Z] 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [false] [Pipeline] sh [2022-01-25T19:18:25.744Z] + git log --format=format:%s -1 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] echo [2022-01-25T19:18:25.761Z] ========================================================= [2022-01-25T19:18:25.761Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-25T19:18:25.761Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:18:26.106Z] + git log --format=format:%s -1 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] echo [2022-01-25T19:18:26.123Z] [semverPrep] GIT_COMMIT: 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0, Commit Message: Merge pull request #1087 from lenny-intel/remove-race-flag [Pipeline] echo [2022-01-25T19:18:26.135Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-25T19:18:26.569Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:18:26.569Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-25T19:18:26.569Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-25T19:18:26.569Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-25T19:18:26.569Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-25T19:18:26.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-25T19:18:26.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:18:26.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:18:26.992Z] [2022-01-25T19:18:26.992Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:18:27.300Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:18:27.300Z] latest: Pulling from edgex-devops/git-semver [2022-01-25T19:18:27.300Z] a0d0a0d46f8b: Pulling fs layer [2022-01-25T19:18:27.300Z] 3e5f54012d9b: Pulling fs layer [2022-01-25T19:18:27.300Z] 4c7163046ea9: Pulling fs layer [2022-01-25T19:18:27.300Z] 0c2d73faf560: Pulling fs layer [2022-01-25T19:18:27.300Z] 0c2d73faf560: Waiting [2022-01-25T19:18:27.301Z] 3e5f54012d9b: Verifying Checksum [2022-01-25T19:18:27.301Z] 3e5f54012d9b: Download complete [2022-01-25T19:18:27.301Z] a0d0a0d46f8b: Verifying Checksum [2022-01-25T19:18:27.301Z] a0d0a0d46f8b: Download complete [2022-01-25T19:18:27.301Z] 0c2d73faf560: Verifying Checksum [2022-01-25T19:18:27.301Z] 0c2d73faf560: Download complete [2022-01-25T19:18:27.301Z] 4c7163046ea9: Verifying Checksum [2022-01-25T19:18:27.301Z] 4c7163046ea9: Download complete [2022-01-25T19:18:27.565Z] a0d0a0d46f8b: Pull complete [2022-01-25T19:18:27.565Z] 3e5f54012d9b: Pull complete [2022-01-25T19:18:27.832Z] 4c7163046ea9: Pull complete [2022-01-25T19:18:28.093Z] 0c2d73faf560: Pull complete [2022-01-25T19:18:28.093Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-25T19:18:28.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:18:28.093Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-25T19:18:28.164Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:18:27.650Z] $ 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-25T19:18:28.334Z] $ docker top 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:18:28.935Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:18:28.935Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:18:29.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:18:28.544Z] $ docker exec 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 ssh-agent [2022-01-25T19:18:29.119Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJKLGB/agent.14 [2022-01-25T19:18:29.119Z] SSH_AGENT_PID=20 [2022-01-25T19:18:29.126Z] Running ssh-add (command line suppressed) [2022-01-25T19:18:28.737Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5220383625466806831.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5220383625466806831.key) [2022-01-25T19:18:29.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:18:29.510Z] + git tag --points-at HEAD [Pipeline] } [2022-01-25T19:18:29.085Z] $ docker exec --env ******** --env ******** 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 ssh-agent -k [2022-01-25T19:18:29.176Z] unset SSH_AUTH_SOCK; [2022-01-25T19:18:29.176Z] unset SSH_AGENT_PID; [2022-01-25T19:18:29.176Z] echo Agent pid 20 killed; [2022-01-25T19:18:29.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-25T19:18:29.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:18:29.648Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:18:29.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:18:29.320Z] $ docker exec 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 ssh-agent [2022-01-25T19:18:29.839Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLemLln/agent.53 [2022-01-25T19:18:29.839Z] SSH_AGENT_PID=60 [2022-01-25T19:18:29.844Z] Running ssh-add (command line suppressed) [2022-01-25T19:18:29.530Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4997810417969236321.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4997810417969236321.key) [2022-01-25T19:18:29.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:18:30.252Z] + git semver init [2022-01-25T19:18:30.252Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:18:30.252Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:18:30.252Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:18:30.252Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:18:30.252Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:18:30.252Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:18:30.252Z] # $SEMVER_BRANCH = main [2022-01-25T19:18:30.252Z] # $SEMVER_TEMP = /tmp/semver-723896259 [2022-01-25T19:18:30.252Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-25T19:18:31.194Z] # '/tmp/semver-723896259' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-01-25T19:18:31.194Z] # -> Force: false [2022-01-25T19:18:31.194Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-25T19:18:30.903Z] $ docker exec --env ******** --env ******** 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 ssh-agent -k [2022-01-25T19:18:30.987Z] unset SSH_AUTH_SOCK; [2022-01-25T19:18:30.988Z] unset SSH_AGENT_PID; [2022-01-25T19:18:30.988Z] echo Agent pid 60 killed; [2022-01-25T19:18:31.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:18:31.609Z] + git semver [Pipeline] } [2022-01-25T19:18:31.359Z] $ docker stop --time=1 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 [2022-01-25T19:18:32.650Z] $ docker rm -f 866b1176634c6756da32073aa558ff55ac38ad5f1b3536aad70e540f65306a26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:18:33.184Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-25T19:18:33.426Z] Stashed 1 file(s) [Pipeline] echo [2022-01-25T19:18:33.429Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-25T19:18:33.592Z] provisioning config files... [2022-01-25T19:18:33.602Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3997522151627992965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:18:33.903Z] ---> docker-login.sh [2022-01-25T19:18:33.903Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:18:33.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:33.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:33.903Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:33.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:33.903Z] [2022-01-25T19:18:33.903Z] Login Succeeded [2022-01-25T19:18:33.903Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:18:33.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:33.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:33.903Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:33.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:33.903Z] [2022-01-25T19:18:33.903Z] Login Succeeded [2022-01-25T19:18:33.903Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:18:34.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:34.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:34.164Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:34.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:34.164Z] [2022-01-25T19:18:34.164Z] Login Succeeded [2022-01-25T19:18:34.164Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:18:34.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:34.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:34.164Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:34.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:34.164Z] [2022-01-25T19:18:34.164Z] Login Succeeded [2022-01-25T19:18:34.164Z] docker.io [2022-01-25T19:18:34.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:18:34.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:18:34.734Z] Configure a credential helper to remove this warning. See [2022-01-25T19:18:34.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:18:34.734Z] [2022-01-25T19:18:34.734Z] Login Succeeded [2022-01-25T19:18:34.734Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:18:34.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:18:34.807Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:18:34.817Z] ========================================================= [2022-01-25T19:18:34.817Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-25T19:18:34.817Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:18:35.137Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-25T19:18:35.137Z] Sending build context to Docker daemon 9.362MB [2022-01-25T19:18:35.137Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T19:18:35.137Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-25T19:18:35.403Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-25T19:18:35.403Z] 59bf1c3509f3: Pulling fs layer [2022-01-25T19:18:35.403Z] 666ba61612fd: Pulling fs layer [2022-01-25T19:18:35.403Z] 8ed8ca486205: Pulling fs layer [2022-01-25T19:18:35.403Z] 4fe6c5a15a65: Pulling fs layer [2022-01-25T19:18:35.403Z] 22a0e8bec74d: Pulling fs layer [2022-01-25T19:18:35.403Z] f965cba54748: Pulling fs layer [2022-01-25T19:18:35.403Z] 861ffc35075e: Pulling fs layer [2022-01-25T19:18:35.403Z] 4b385c91608e: Pulling fs layer [2022-01-25T19:18:35.403Z] 560528eb2ebb: Pulling fs layer [2022-01-25T19:18:35.403Z] 4fe6c5a15a65: Waiting [2022-01-25T19:18:35.403Z] 22a0e8bec74d: Waiting [2022-01-25T19:18:35.403Z] f965cba54748: Waiting [2022-01-25T19:18:35.403Z] 861ffc35075e: Waiting [2022-01-25T19:18:35.403Z] 4b385c91608e: Waiting [2022-01-25T19:18:35.403Z] 560528eb2ebb: Waiting [2022-01-25T19:18:35.403Z] 8ed8ca486205: Verifying Checksum [2022-01-25T19:18:35.403Z] 8ed8ca486205: Download complete [2022-01-25T19:18:35.403Z] 666ba61612fd: Download complete [2022-01-25T19:18:35.403Z] 22a0e8bec74d: Verifying Checksum [2022-01-25T19:18:35.403Z] 22a0e8bec74d: Download complete [2022-01-25T19:18:35.403Z] 59bf1c3509f3: Verifying Checksum [2022-01-25T19:18:35.403Z] 59bf1c3509f3: Download complete [2022-01-25T19:18:35.403Z] f965cba54748: Verifying Checksum [2022-01-25T19:18:35.403Z] f965cba54748: Download complete [2022-01-25T19:18:35.403Z] 861ffc35075e: Verifying Checksum [2022-01-25T19:18:35.403Z] 861ffc35075e: Download complete [2022-01-25T19:18:35.403Z] 4b385c91608e: Verifying Checksum [2022-01-25T19:18:35.403Z] 4b385c91608e: Download complete [2022-01-25T19:18:35.670Z] 59bf1c3509f3: Pull complete [2022-01-25T19:18:35.933Z] 4fe6c5a15a65: Verifying Checksum [2022-01-25T19:18:35.933Z] 4fe6c5a15a65: Download complete [2022-01-25T19:18:35.933Z] 666ba61612fd: Pull complete [2022-01-25T19:18:36.198Z] 560528eb2ebb: Verifying Checksum [2022-01-25T19:18:36.198Z] 560528eb2ebb: Download complete [2022-01-25T19:18:36.198Z] 8ed8ca486205: Pull complete [2022-01-25T19:18:40.451Z] 4fe6c5a15a65: Pull complete [2022-01-25T19:18:40.451Z] 22a0e8bec74d: Pull complete [2022-01-25T19:18:40.451Z] f965cba54748: Pull complete [2022-01-25T19:18:40.451Z] 861ffc35075e: Pull complete [2022-01-25T19:18:40.451Z] 4b385c91608e: Pull complete [2022-01-25T19:18:43.024Z] 560528eb2ebb: Pull complete [2022-01-25T19:18:43.024Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-25T19:18:43.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-25T19:18:43.024Z] ---> dd4a08f94e63 [2022-01-25T19:18:43.024Z] Step 3/10 : ARG MAKE=make build [2022-01-25T19:18:44.941Z] ---> Running in 8ec1b4311403 [2022-01-25T19:18:44.941Z] Removing intermediate container 8ec1b4311403 [2022-01-25T19:18:44.941Z] ---> 5fc7825362b9 [2022-01-25T19:18:44.941Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-25T19:18:44.941Z] ---> Running in eaf82a75470c [2022-01-25T19:18:44.941Z] Removing intermediate container eaf82a75470c [2022-01-25T19:18:44.941Z] ---> 5eec0993d3f7 [2022-01-25T19:18:44.941Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:18:44.941Z] ---> Running in 0336b7963326 [2022-01-25T19:18:44.941Z] Removing intermediate container 0336b7963326 [2022-01-25T19:18:44.941Z] ---> 5260d6e8bc26 [2022-01-25T19:18:44.941Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:18:44.941Z] ---> Running in 47f4d3009256 [2022-01-25T19:18:45.200Z] Removing intermediate container 47f4d3009256 [2022-01-25T19:18:45.200Z] ---> 901568af3870 [2022-01-25T19:18:45.200Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:18:45.464Z] ---> Running in 471da65c3139 [2022-01-25T19:18:45.464Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:18:48.549Z] Still waiting to schedule task [2022-01-25T19:18:48.550Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-25T19:18:49.670Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:18:49.670Z] OK: 221 MiB in 52 packages [2022-01-25T19:18:49.670Z] Removing intermediate container 471da65c3139 [2022-01-25T19:18:49.670Z] ---> 83154e2387b3 [2022-01-25T19:18:49.670Z] Step 8/10 : COPY . . [2022-01-25T19:18:49.931Z] ---> a72fdb133452 [2022-01-25T19:18:49.931Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:18:49.931Z] ---> Running in 03d26d71559b [2022-01-25T19:19:22.084Z] Removing intermediate container 03d26d71559b [2022-01-25T19:19:22.084Z] ---> 770bcf1f4f30 [2022-01-25T19:19:22.084Z] Step 10/10 : RUN ${MAKE} [2022-01-25T19:19:22.084Z] ---> Running in b49a6e343a2e [2022-01-25T19:19:22.084Z] noop [2022-01-25T19:19:22.084Z] Removing intermediate container b49a6e343a2e [2022-01-25T19:19:22.084Z] ---> 43a811408fd9 [2022-01-25T19:19:22.084Z] Successfully built 43a811408fd9 [2022-01-25T19:19:22.084Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:19:22.385Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:19:22.385Z] . [Pipeline] withDockerContainer [2022-01-25T19:19:22.460Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:19:22.503Z] $ 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-25T19:19:22.818Z] $ docker top fa9bd0481ca41464d8a517ebcb2b7fbc143f8c8dc414c391a5d6527812eb362e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:19:23.182Z] + go version [2022-01-25T19:19:23.182Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-25T19:19:23.195Z] $ docker stop --time=1 fa9bd0481ca41464d8a517ebcb2b7fbc143f8c8dc414c391a5d6527812eb362e [2022-01-25T19:19:24.390Z] $ docker rm -f fa9bd0481ca41464d8a517ebcb2b7fbc143f8c8dc414c391a5d6527812eb362e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:19:24.812Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:19:24.812Z] . [Pipeline] withDockerContainer [2022-01-25T19:19:24.879Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:19:24.915Z] $ 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-25T19:19:25.230Z] $ docker top 2d6f58c564c67967aa12c19bbcd67960855ee4274b9def924841c315d7aa6adb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:19:25.609Z] + make test [2022-01-25T19:19:25.609Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:19:25.876Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:19:40.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:19:40.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:19:40.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:19:40.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.009s coverage: 23.3% of statements [2022-01-25T19:19:40.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:19:40.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.012s coverage: 27.6% of statements [2022-01-25T19:19:41.108Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.015s coverage: 78.9% of statements [2022-01-25T19:19:41.375Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.029s coverage: 9.0% of statements [2022-01-25T19:19:41.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:19:41.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:19:41.375Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:19:41.976Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.014s coverage: 28.7% of statements [2022-01-25T19:19:41.976Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:19:43.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.009s coverage: 86.1% of statements [2022-01-25T19:19:43.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:19:43.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:19:43.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements [2022-01-25T19:19:43.378Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.030s coverage: 89.2% of statements [2022-01-25T19:19:43.378Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:19:43.639Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-01-25T19:19:43.639Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:19:55.977Z] GO111MODULE=on go vet ./... [2022-01-25T19:19:59.322Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:19:59.583Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:19:59.583Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:20:00.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:20:00.185Z] $ docker stop --time=1 2d6f58c564c67967aa12c19bbcd67960855ee4274b9def924841c315d7aa6adb [2022-01-25T19:20:01.646Z] $ docker rm -f 2d6f58c564c67967aa12c19bbcd67960855ee4274b9def924841c315d7aa6adb [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:20:02.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:20:02.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-25T19:20:03.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:20:03.436Z] + ls -al . [2022-01-25T19:20:03.436Z] total 268 [2022-01-25T19:20:03.436Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 25 19:19 . [2022-01-25T19:20:03.436Z] drwxrwxr-x. 4 jenkins jenkins 110 Jan 25 19:18 .. [2022-01-25T19:20:03.436Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 25 19:18 bin [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 25 19:18 CHANGELOG.md [2022-01-25T19:20:03.436Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 25 19:19 coverage.out [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 19:18 .dockerignore [2022-01-25T19:20:03.436Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 25 19:18 example [2022-01-25T19:20:03.436Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 25 19:18 .git [2022-01-25T19:20:03.436Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 25 19:18 .github [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 25 19:18 .gitignore [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 25 19:18 .golangci.yml [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 582 Jan 25 19:18 go.mod [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 25 19:18 go.sum [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 25 19:18 GOVERNANCE.md [2022-01-25T19:20:03.436Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 25 19:18 internal [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 25 19:18 Jenkinsfile [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 19:18 LICENSE [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 25 19:18 Makefile [2022-01-25T19:20:03.436Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 25 19:18 openapi [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 25 19:18 OWNERS.md [2022-01-25T19:20:03.436Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 19:18 pkg [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 25 19:18 README.md [2022-01-25T19:20:03.436Z] drwx------. 3 jenkins jenkins 57 Jan 25 19:18 .semver [2022-01-25T19:20:03.436Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 19:18 snap [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 25 19:18 VERSION [2022-01-25T19:20:03.436Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 19:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:03.743Z] + 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=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 --label arch=amd64 --label version=2.2.0-dev.9 . [2022-01-25T19:20:03.743Z] Sending build context to Docker daemon 9.491MB [2022-01-25T19:20:03.743Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T19:20:03.743Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-25T19:20:03.743Z] ---> 43a811408fd9 [2022-01-25T19:20:03.743Z] Step 3/24 : ARG MAKE=make build [2022-01-25T19:20:03.743Z] ---> Running in 3be237c9434a [2022-01-25T19:20:04.005Z] Removing intermediate container 3be237c9434a [2022-01-25T19:20:04.005Z] ---> a82f8356dd99 [2022-01-25T19:20:04.005Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-25T19:20:04.005Z] ---> Running in 9d449eb37006 [2022-01-25T19:20:04.005Z] Removing intermediate container 9d449eb37006 [2022-01-25T19:20:04.005Z] ---> 1b010ca1d6c5 [2022-01-25T19:20:04.005Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:20:04.005Z] ---> Running in c876b729c0fb [2022-01-25T19:20:04.005Z] Removing intermediate container c876b729c0fb [2022-01-25T19:20:04.005Z] ---> 01f5bd85c5ca [2022-01-25T19:20:04.005Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:20:04.266Z] ---> Running in 3ba3df424865 [2022-01-25T19:20:04.527Z] Removing intermediate container 3ba3df424865 [2022-01-25T19:20:04.527Z] ---> 5c1a9d31e864 [2022-01-25T19:20:04.527Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:20:04.527Z] ---> Running in 9c8f85c7aeef [2022-01-25T19:20:04.785Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:05.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:06.020Z] OK: 221 MiB in 52 packages [2022-01-25T19:20:06.280Z] Removing intermediate container 9c8f85c7aeef [2022-01-25T19:20:06.280Z] ---> 0a6dc9147c29 [2022-01-25T19:20:06.280Z] Step 8/24 : COPY . . [2022-01-25T19:20:06.541Z] ---> a316414b5182 [2022-01-25T19:20:06.541Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:20:06.541Z] ---> Running in fe6e34228ce1 [2022-01-25T19:20:07.114Z] Removing intermediate container fe6e34228ce1 [2022-01-25T19:20:07.115Z] ---> 5f9f99e62270 [2022-01-25T19:20:07.115Z] Step 10/24 : RUN ${MAKE} [2022-01-25T19:20:07.115Z] ---> Running in 7c5f816cb9fd [2022-01-25T19:20:07.377Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-25T19:20:15.843Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3869 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-01-25T19:20:15.857Z] Running in /w/workspace/device-sdk-go/42 [Pipeline] { [Pipeline] checkout [2022-01-25T19:20:16.038Z] The recommended git tool is: git [2022-01-25T19:20:17.430Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:20:18.367Z] Removing intermediate container 7c5f816cb9fd [2022-01-25T19:20:18.367Z] ---> 00df25d3b168 [2022-01-25T19:20:18.367Z] Step 11/24 : FROM alpine:3.14 [2022-01-25T19:20:18.936Z] 3.14: Pulling from library/alpine [2022-01-25T19:20:19.199Z] 97518928ae5f: Pulling fs layer [2022-01-25T19:20:19.199Z] 97518928ae5f: Verifying Checksum [2022-01-25T19:20:19.199Z] 97518928ae5f: Download complete [2022-01-25T19:20:19.461Z] 97518928ae5f: Pull complete [2022-01-25T19:20:19.461Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:20:19.461Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:20:19.461Z] ---> 0a97eee8041e [2022-01-25T19:20:19.461Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:20:19.461Z] ---> Running in d0a73d861875 [2022-01-25T19:20:19.723Z] Removing intermediate container d0a73d861875 [2022-01-25T19:20:19.723Z] ---> 5f5219f4f701 [2022-01-25T19:20:19.723Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:20:19.723Z] ---> Running in 65622401faa6 [2022-01-25T19:20:19.985Z] Removing intermediate container 65622401faa6 [2022-01-25T19:20:19.985Z] ---> 838648095c61 [2022-01-25T19:20:19.985Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-25T19:20:19.985Z] ---> Running in a588d1e22a20 [2022-01-25T19:20:20.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:20.686Z] using credential edgex-jenkins-ssh [2022-01-25T19:20:20.707Z] Cloning the remote Git repository [2022-01-25T19:20:20.766Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:20:21.186Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:21.452Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:20:21.452Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:20:21.718Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:20:21.718Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:20:21.718Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:20:21.979Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:20:21.979Z] OK: 8 MiB in 19 packages [2022-01-25T19:20:20.846Z] > git init /w/workspace/device-sdk-go/42 # timeout=10 [2022-01-25T19:20:20.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:20:20.915Z] > git --version # timeout=10 [2022-01-25T19:20:20.933Z] > git --version # 'git version 2.17.1' [2022-01-25T19:20:20.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T19:20:21.054Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:20:22.239Z] Removing intermediate container a588d1e22a20 [2022-01-25T19:20:22.240Z] ---> 79315407624e [2022-01-25T19:20:22.240Z] Step 15/24 : WORKDIR / [2022-01-25T19:20:22.240Z] ---> Running in 89a8b022c290 [2022-01-25T19:20:22.240Z] Removing intermediate container 89a8b022c290 [2022-01-25T19:20:22.240Z] ---> 3a9cec01cf3c [2022-01-25T19:20:22.240Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:20:22.502Z] ---> a171cd4e66c5 [2022-01-25T19:20:22.502Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:20:22.558Z] Avoid second fetch [2022-01-25T19:20:22.559Z] Checking out Revision 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 (main) [2022-01-25T19:20:22.763Z] ---> 27300d4841b5 [2022-01-25T19:20:22.763Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:20:23.025Z] ---> 6c7989f512c8 [2022-01-25T19:20:23.025Z] Step 19/24 : EXPOSE 59999 [2022-01-25T19:20:23.025Z] ---> Running in 56574f697680 [2022-01-25T19:20:23.025Z] Removing intermediate container 56574f697680 [2022-01-25T19:20:23.025Z] ---> 69ce22996400 [2022-01-25T19:20:23.025Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:20:23.025Z] ---> Running in 891cf66e93ab [2022-01-25T19:20:23.025Z] Removing intermediate container 891cf66e93ab [2022-01-25T19:20:23.025Z] ---> 87c6810f12ad [2022-01-25T19:20:23.025Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:20:23.025Z] ---> Running in 426f3e5a88bd [2022-01-25T19:20:22.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T19:20:22.554Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:20:22.590Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T19:20:22.614Z] > git checkout -f 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 # timeout=10 [2022-01-25T19:20:23.289Z] Removing intermediate container 426f3e5a88bd [2022-01-25T19:20:23.289Z] ---> 6174116be77b [2022-01-25T19:20:23.289Z] Step 22/24 : LABEL arch=amd64 [2022-01-25T19:20:23.289Z] ---> Running in 3a299b74bbcd [2022-01-25T19:20:23.289Z] Removing intermediate container 3a299b74bbcd [2022-01-25T19:20:23.289Z] ---> 5b1d05b0831f [2022-01-25T19:20:23.289Z] Step 23/24 : LABEL git_sha=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [2022-01-25T19:20:23.289Z] ---> Running in 0d86553c43a3 [2022-01-25T19:20:23.289Z] Removing intermediate container 0d86553c43a3 [2022-01-25T19:20:23.289Z] ---> 408cc56cc6fe [2022-01-25T19:20:23.289Z] Step 24/24 : LABEL version=2.2.0-dev.9 [2022-01-25T19:20:23.289Z] ---> Running in 42e22b01674b [2022-01-25T19:20:23.549Z] Removing intermediate container 42e22b01674b [2022-01-25T19:20:23.550Z] ---> ff6b7b59b3e8 [2022-01-25T19:20:23.550Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:20:23.550Z] Successfully built ff6b7b59b3e8 [2022-01-25T19:20:23.550Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:23.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:20:23.959Z] [2022-01-25T19:20:23.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:24.268Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:20:24.268Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-25T19:20:24.268Z] b4d181a07f80: Pulling fs layer [2022-01-25T19:20:24.268Z] a1111a8f2ec3: Pulling fs layer [2022-01-25T19:20:24.268Z] ed53099fbce6: Pulling fs layer [2022-01-25T19:20:24.268Z] dc539afda2c1: Pulling fs layer [2022-01-25T19:20:24.268Z] 77bc0d833cb6: Pulling fs layer [2022-01-25T19:20:24.268Z] 9065ff56babe: Pulling fs layer [2022-01-25T19:20:24.268Z] d287ab97295c: Pulling fs layer [2022-01-25T19:20:24.268Z] 77bc0d833cb6: Waiting [2022-01-25T19:20:24.268Z] 9065ff56babe: Waiting [2022-01-25T19:20:24.268Z] d287ab97295c: Waiting [2022-01-25T19:20:24.268Z] dc539afda2c1: Waiting [2022-01-25T19:20:24.268Z] a1111a8f2ec3: Verifying Checksum [2022-01-25T19:20:24.268Z] a1111a8f2ec3: Download complete [2022-01-25T19:20:24.268Z] dc539afda2c1: Verifying Checksum [2022-01-25T19:20:24.268Z] dc539afda2c1: Download complete [2022-01-25T19:20:24.268Z] ed53099fbce6: Verifying Checksum [2022-01-25T19:20:24.268Z] ed53099fbce6: Download complete [2022-01-25T19:20:24.268Z] 77bc0d833cb6: Verifying Checksum [2022-01-25T19:20:24.268Z] 77bc0d833cb6: Download complete [2022-01-25T19:20:24.268Z] 9065ff56babe: Verifying Checksum [2022-01-25T19:20:24.268Z] 9065ff56babe: Download complete [2022-01-25T19:20:24.529Z] b4d181a07f80: Verifying Checksum [2022-01-25T19:20:24.529Z] b4d181a07f80: Download complete [2022-01-25T19:20:25.098Z] d287ab97295c: Verifying Checksum [2022-01-25T19:20:25.098Z] d287ab97295c: Download complete [2022-01-25T19:20:26.047Z] b4d181a07f80: Pull complete [2022-01-25T19:20:26.047Z] a1111a8f2ec3: Pull complete [2022-01-25T19:20:26.629Z] ed53099fbce6: Pull complete [2022-01-25T19:20:26.629Z] dc539afda2c1: Pull complete [2022-01-25T19:20:26.744Z] Commit message: "Merge pull request #1087 from lenny-intel/remove-race-flag" [2022-01-25T19:20:26.891Z] 77bc0d833cb6: Pull complete [2022-01-25T19:20:26.891Z] 9065ff56babe: Pull complete [2022-01-25T19:20:26.995Z] [2022-01-25T19:20:26.995Z] GitHub has been notified of this commit’s build result [2022-01-25T19:20:26.995Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:20:27.544Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-25T19:20:27.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:20:27.544Z] Dload Upload Total Spent Left Speed [2022-01-25T19:20:27.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 65071 0 --:--:-- --:--:-- --:--:-- 65430 [Pipeline] sh [2022-01-25T19:20:28.042Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-25T19:20:28.380Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-25T19:20:28.380Z] + sudo tee /etc/docker/daemon.new [2022-01-25T19:20:28.380Z] { [2022-01-25T19:20:28.380Z] "registry-mirrors": [ [2022-01-25T19:20:28.380Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-25T19:20:28.380Z] ], [2022-01-25T19:20:28.380Z] "bip": "10.250.0.254/24", [2022-01-25T19:20:28.380Z] "hosts": [ [2022-01-25T19:20:28.380Z] "tcp://0.0.0.0:5555", [2022-01-25T19:20:28.380Z] "unix:///var/run/docker.sock" [2022-01-25T19:20:28.380Z] ], [2022-01-25T19:20:28.380Z] "mtu": 1458, [2022-01-25T19:20:28.380Z] "selinux-enabled": true, [2022-01-25T19:20:28.380Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-25T19:20:28.380Z] } [Pipeline] sh [2022-01-25T19:20:28.733Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-25T19:20:29.073Z] + sudo service docker restart [2022-01-25T19:20:32.207Z] d287ab97295c: Pull complete [2022-01-25T19:20:32.207Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-25T19:20:32.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:20:32.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-25T19:20:32.289Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:20:32.331Z] $ 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-25T19:20:34.650Z] $ docker top 933ac3f50d69395a44148b08ee30ddb4c6380d8a5b353982d8908d757e73781c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:20:35.227Z] ---> job-cost.sh [2022-01-25T19:20:35.227Z] lf-activate-venv: SKIPPING [2022-01-25T19:20:35.227Z] INFO: No Stack... [2022-01-25T19:20:35.554Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:20:35.878Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:20:36.213Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-01-25T19:20:36.213Z] + cut -d, -f6 [Pipeline] lock [2022-01-25T19:20:36.229Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [2022-01-25T19:20:36.239Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] did not exist. Created. [2022-01-25T19:20:36.239Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:20:36.545Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-25T19:20:36.572Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:20:36.579Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:20:36.598Z] $ docker stop --time=1 933ac3f50d69395a44148b08ee30ddb4c6380d8a5b353982d8908d757e73781c [2022-01-25T19:20:37.713Z] $ docker rm -f 933ac3f50d69395a44148b08ee30ddb4c6380d8a5b353982d8908d757e73781c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:20:47.870Z] provisioning config files... [2022-01-25T19:20:47.894Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/42@tmp/config5666931207370316227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:20:48.261Z] ---> docker-login.sh [2022-01-25T19:20:48.261Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:20:48.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:49.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:49.140Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:49.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:49.140Z] [2022-01-25T19:20:49.140Z] Login Succeeded [2022-01-25T19:20:49.140Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:20:49.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:49.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:49.413Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:49.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:49.413Z] [2022-01-25T19:20:49.413Z] Login Succeeded [2022-01-25T19:20:49.413Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:20:49.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:49.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:49.959Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:49.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:49.959Z] [2022-01-25T19:20:49.959Z] Login Succeeded [2022-01-25T19:20:49.959Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:20:50.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:50.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:50.235Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:50.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:50.235Z] [2022-01-25T19:20:50.235Z] Login Succeeded [2022-01-25T19:20:50.235Z] docker.io [2022-01-25T19:20:50.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:51.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:51.105Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:51.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:51.105Z] [2022-01-25T19:20:51.105Z] Login Succeeded [2022-01-25T19:20:51.105Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:20:51.122Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:20:51.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:20:51.385Z] ========================================================= [2022-01-25T19:20:51.385Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-25T19:20:51.385Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:51.729Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-25T19:20:52.005Z] Sending build context to Docker daemon 5.052MB [2022-01-25T19:20:52.280Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T19:20:52.280Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-25T19:20:52.280Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-25T19:20:52.280Z] 9b3977197b4f: Pulling fs layer [2022-01-25T19:20:52.280Z] 1a89e8eeedd5: Pulling fs layer [2022-01-25T19:20:52.280Z] 94645a83ff95: Pulling fs layer [2022-01-25T19:20:52.280Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-25T19:20:52.280Z] 0c92f367c5e7: Pulling fs layer [2022-01-25T19:20:52.280Z] 4b8299f9d1f4: Pulling fs layer [2022-01-25T19:20:52.280Z] 9a6b49a46696: Pulling fs layer [2022-01-25T19:20:52.280Z] cf05db05a679: Pulling fs layer [2022-01-25T19:20:52.280Z] 3f3a8bcf1eab: Waiting [2022-01-25T19:20:52.280Z] 0c92f367c5e7: Waiting [2022-01-25T19:20:52.280Z] 4b8299f9d1f4: Waiting [2022-01-25T19:20:52.280Z] 9a6b49a46696: Waiting [2022-01-25T19:20:52.280Z] cf05db05a679: Waiting [2022-01-25T19:20:52.280Z] 94645a83ff95: Verifying Checksum [2022-01-25T19:20:52.280Z] 94645a83ff95: Download complete [2022-01-25T19:20:52.280Z] 1a89e8eeedd5: Verifying Checksum [2022-01-25T19:20:52.280Z] 1a89e8eeedd5: Download complete [2022-01-25T19:20:52.280Z] 0c92f367c5e7: Verifying Checksum [2022-01-25T19:20:52.280Z] 0c92f367c5e7: Download complete [2022-01-25T19:20:52.280Z] 4b8299f9d1f4: Verifying Checksum [2022-01-25T19:20:52.280Z] 4b8299f9d1f4: Download complete [2022-01-25T19:20:52.280Z] 9b3977197b4f: Verifying Checksum [2022-01-25T19:20:52.280Z] 9b3977197b4f: Download complete [2022-01-25T19:20:52.559Z] 9a6b49a46696: Verifying Checksum [2022-01-25T19:20:52.559Z] 9a6b49a46696: Download complete [2022-01-25T19:20:53.163Z] 9b3977197b4f: Pull complete [2022-01-25T19:20:53.765Z] 1a89e8eeedd5: Pull complete [2022-01-25T19:20:54.038Z] 94645a83ff95: Pull complete [2022-01-25T19:20:54.310Z] cf05db05a679: Verifying Checksum [2022-01-25T19:20:54.310Z] cf05db05a679: Download complete [2022-01-25T19:20:54.904Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-25T19:20:54.904Z] 3f3a8bcf1eab: Download complete [2022-01-25T19:21:07.305Z] 3f3a8bcf1eab: Pull complete [2022-01-25T19:21:07.305Z] 0c92f367c5e7: Pull complete [2022-01-25T19:21:07.305Z] 4b8299f9d1f4: Pull complete [2022-01-25T19:21:07.305Z] 9a6b49a46696: Pull complete [2022-01-25T19:21:12.710Z] cf05db05a679: Pull complete [2022-01-25T19:21:12.710Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-25T19:21:12.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-25T19:21:12.710Z] ---> 0ccda1f7e2ee [2022-01-25T19:21:12.710Z] Step 3/10 : ARG MAKE=make build [2022-01-25T19:21:14.691Z] ---> Running in 74144d189690 [2022-01-25T19:21:14.691Z] Removing intermediate container 74144d189690 [2022-01-25T19:21:14.691Z] ---> 9b776fe5d0a8 [2022-01-25T19:21:14.691Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-25T19:21:14.964Z] ---> Running in c5b11dda0b19 [2022-01-25T19:21:15.236Z] Removing intermediate container c5b11dda0b19 [2022-01-25T19:21:15.237Z] ---> 08bc484ffa56 [2022-01-25T19:21:15.237Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:21:15.237Z] ---> Running in 63aa5bcea42e [2022-01-25T19:21:15.831Z] Removing intermediate container 63aa5bcea42e [2022-01-25T19:21:15.831Z] ---> cf10b77d2551 [2022-01-25T19:21:15.831Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:21:15.831Z] ---> Running in 521e9c41b689 [2022-01-25T19:21:17.805Z] Removing intermediate container 521e9c41b689 [2022-01-25T19:21:17.805Z] ---> 23ac277f8fd6 [2022-01-25T19:21:17.805Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:21:17.805Z] ---> Running in 71ad73843908 [2022-01-25T19:21:18.783Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:21:19.374Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:21:20.351Z] OK: 220 MiB in 52 packages [2022-01-25T19:21:21.333Z] Removing intermediate container 71ad73843908 [2022-01-25T19:21:21.333Z] ---> 7eb49c8f1553 [2022-01-25T19:21:21.333Z] Step 8/10 : COPY . . [2022-01-25T19:21:22.332Z] ---> e3e50a570a41 [2022-01-25T19:21:22.332Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:21:22.332Z] ---> Running in 29b1c4e2f707 [2022-01-25T19:22:44.118Z] Removing intermediate container 29b1c4e2f707 [2022-01-25T19:22:44.118Z] ---> 9133e9fea1e5 [2022-01-25T19:22:44.118Z] Step 10/10 : RUN ${MAKE} [2022-01-25T19:22:44.118Z] ---> Running in a8448835cb36 [2022-01-25T19:22:44.118Z] noop [2022-01-25T19:22:44.118Z] Removing intermediate container a8448835cb36 [2022-01-25T19:22:44.118Z] ---> a3d37ade680d [2022-01-25T19:22:44.118Z] Successfully built a3d37ade680d [2022-01-25T19:22:44.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:22:44.463Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:22:44.463Z] . [Pipeline] withDockerContainer [2022-01-25T19:22:44.693Z] prd-ubuntu18.04-docker-arm64-4c-16g-3869 does not seem to be running inside a container [2022-01-25T19:22:44.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T19:22:46.120Z] $ docker top fc720d86d828ed06c395e17eaad9a1ddcb812b10f990940b00360bf78802fadc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:22:47.039Z] + go version [2022-01-25T19:22:47.039Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-25T19:22:47.058Z] $ docker stop --time=1 fc720d86d828ed06c395e17eaad9a1ddcb812b10f990940b00360bf78802fadc [2022-01-25T19:22:48.726Z] $ docker rm -f fc720d86d828ed06c395e17eaad9a1ddcb812b10f990940b00360bf78802fadc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:22:49.336Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:22:49.336Z] . [Pipeline] withDockerContainer [2022-01-25T19:22:49.560Z] prd-ubuntu18.04-docker-arm64-4c-16g-3869 does not seem to be running inside a container [2022-01-25T19:22:49.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T19:22:50.971Z] $ docker top 6d812601f49a858e9fec11a93c7a409612481f0c78acfb3c5b0ebbb8e22d1926 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:22:51.892Z] + make test [2022-01-25T19:22:51.892Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:22:53.333Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:23:40.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:23:40.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:23:40.686Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:23:48.967Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.072s coverage: 23.3% of statements [2022-01-25T19:23:48.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:23:48.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 27.6% of statements [2022-01-25T19:23:48.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements [2022-01-25T19:23:48.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements [2022-01-25T19:23:48.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:23:48.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:23:48.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:23:49.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 28.7% of statements [2022-01-25T19:23:49.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:23:50.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.117s coverage: 86.1% of statements [2022-01-25T19:23:50.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:23:50.552Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:23:50.552Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.4% of statements [2022-01-25T19:23:51.532Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.173s coverage: 89.2% of statements [2022-01-25T19:23:51.532Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:23:52.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.8% of statements [2022-01-25T19:23:52.958Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:23:53.228Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-25T19:23:53.228Z] GO111MODULE=on go vet ./... [2022-01-25T19:24:15.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:24:15.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:24:15.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:24:15.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:24:15.432Z] $ docker stop --time=1 6d812601f49a858e9fec11a93c7a409612481f0c78acfb3c5b0ebbb8e22d1926 [2022-01-25T19:24:17.222Z] $ docker rm -f 6d812601f49a858e9fec11a93c7a409612481f0c78acfb3c5b0ebbb8e22d1926 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:24:18.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:24:18.142Z] Warning: overwriting stash ‘coverage-report’ [2022-01-25T19:24:18.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:24:19.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:24:19.481Z] + ls -al . [2022-01-25T19:24:19.482Z] total 304 [2022-01-25T19:24:19.482Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 19:24 . [2022-01-25T19:24:19.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:20 .. [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 19:20 .dockerignore [2022-01-25T19:24:19.482Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 19:20 .git [2022-01-25T19:24:19.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:20 .github [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 19:20 .gitignore [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 19:20 .golangci.yml [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 25 19:20 CHANGELOG.md [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 19:20 GOVERNANCE.md [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 19:20 Jenkinsfile [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 19:20 LICENSE [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 25 19:20 Makefile [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 19:20 OWNERS.md [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 25 19:20 README.md [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 25 19:18 VERSION [2022-01-25T19:24:19.482Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 19:20 bin [2022-01-25T19:24:19.482Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 25 19:23 coverage.out [2022-01-25T19:24:19.482Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:20 example [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 582 Jan 25 19:20 go.mod [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 25 19:20 go.sum [2022-01-25T19:24:19.482Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 19:20 internal [2022-01-25T19:24:19.482Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:20 openapi [2022-01-25T19:24:19.482Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:20 pkg [2022-01-25T19:24:19.482Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:20 snap [2022-01-25T19:24:19.482Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 19:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:24:19.830Z] + 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=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 --label arch=arm64 --label version=2.2.0-dev.9 . [2022-01-25T19:24:20.446Z] Sending build context to Docker daemon 5.181MB [2022-01-25T19:24:20.446Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-01-25T19:24:20.446Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-25T19:24:20.446Z] ---> a3d37ade680d [2022-01-25T19:24:20.446Z] Step 3/24 : ARG MAKE=make build [2022-01-25T19:24:20.446Z] ---> Running in 93c0b337c90e [2022-01-25T19:24:20.723Z] Removing intermediate container 93c0b337c90e [2022-01-25T19:24:20.723Z] ---> 957b8e2ea849 [2022-01-25T19:24:20.723Z] Step 4/24 : WORKDIR /device-sdk-go [2022-01-25T19:24:20.996Z] ---> Running in 5b32aa4dd9ae [2022-01-25T19:24:21.271Z] Removing intermediate container 5b32aa4dd9ae [2022-01-25T19:24:21.271Z] ---> a4ed691d38ad [2022-01-25T19:24:21.271Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:24:21.271Z] ---> Running in 7bd945395b1b [2022-01-25T19:24:21.872Z] Removing intermediate container 7bd945395b1b [2022-01-25T19:24:21.872Z] ---> 37775e8e2f4a [2022-01-25T19:24:21.872Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:24:21.872Z] ---> Running in 65acc5c4aff4 [2022-01-25T19:24:23.853Z] Removing intermediate container 65acc5c4aff4 [2022-01-25T19:24:23.853Z] ---> 40976a9356c2 [2022-01-25T19:24:23.853Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:24:23.853Z] ---> Running in b15bbeca614a [2022-01-25T19:24:24.457Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:24:25.440Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:24:26.419Z] OK: 220 MiB in 52 packages [2022-01-25T19:24:27.015Z] Removing intermediate container b15bbeca614a [2022-01-25T19:24:27.015Z] ---> 9689f558d61b [2022-01-25T19:24:27.015Z] Step 8/24 : COPY . . [2022-01-25T19:24:28.449Z] ---> a3d0d585db0e [2022-01-25T19:24:28.449Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:24:28.449Z] ---> Running in 43c00e4764a7 [2022-01-25T19:24:30.422Z] Removing intermediate container 43c00e4764a7 [2022-01-25T19:24:30.422Z] ---> 3ef2b10cbffe [2022-01-25T19:24:30.422Z] Step 10/24 : RUN ${MAKE} [2022-01-25T19:24:30.422Z] ---> Running in fdee3d26bbfb [2022-01-25T19:24:31.413Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-01-25T19:25:10.478Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:25:10.478Z] Removing intermediate container fdee3d26bbfb [2022-01-25T19:25:10.478Z] ---> ac3dc35011e9 [2022-01-25T19:25:10.478Z] Step 11/24 : FROM alpine:3.14 [2022-01-25T19:25:11.073Z] 3.14: Pulling from library/alpine [2022-01-25T19:25:11.347Z] be307f383ecc: Pulling fs layer [2022-01-25T19:25:11.621Z] be307f383ecc: Verifying Checksum [2022-01-25T19:25:11.621Z] be307f383ecc: Download complete [2022-01-25T19:25:12.215Z] be307f383ecc: Pull complete [2022-01-25T19:25:12.215Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:25:12.215Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:25:12.215Z] ---> 5b8b7b635229 [2022-01-25T19:25:12.215Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:25:12.215Z] ---> Running in f0f840c793c2 [2022-01-25T19:25:12.812Z] Removing intermediate container f0f840c793c2 [2022-01-25T19:25:12.812Z] ---> f2b21a2352e2 [2022-01-25T19:25:12.812Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:25:12.812Z] ---> Running in 0552565c1da3 [2022-01-25T19:25:14.821Z] Removing intermediate container 0552565c1da3 [2022-01-25T19:25:14.821Z] ---> ed5bac58064c [2022-01-25T19:25:14.821Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2022-01-25T19:25:14.821Z] ---> Running in dbc35f998d88 [2022-01-25T19:25:15.415Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:25:16.391Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:25:17.362Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:25:17.362Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:25:17.362Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:25:17.636Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:25:17.636Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:25:17.909Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:25:17.909Z] OK: 8 MiB in 19 packages [2022-01-25T19:25:18.891Z] Removing intermediate container dbc35f998d88 [2022-01-25T19:25:18.891Z] ---> abe1cb180d24 [2022-01-25T19:25:18.891Z] Step 15/24 : WORKDIR / [2022-01-25T19:25:18.891Z] ---> Running in 0983d51bd1cc [2022-01-25T19:25:19.167Z] Removing intermediate container 0983d51bd1cc [2022-01-25T19:25:19.167Z] ---> e898ab455ad3 [2022-01-25T19:25:19.167Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:25:20.141Z] ---> f641bfef885c [2022-01-25T19:25:20.141Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:25:20.739Z] ---> 23233f12da22 [2022-01-25T19:25:20.739Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:25:21.718Z] ---> 4675bf9b65fe [2022-01-25T19:25:21.718Z] Step 19/24 : EXPOSE 59999 [2022-01-25T19:25:21.718Z] ---> Running in 1b6d723d1d28 [2022-01-25T19:25:21.994Z] Removing intermediate container 1b6d723d1d28 [2022-01-25T19:25:21.994Z] ---> e0754b4737a3 [2022-01-25T19:25:21.994Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:25:21.994Z] ---> Running in 6f7387258da0 [2022-01-25T19:25:22.266Z] Removing intermediate container 6f7387258da0 [2022-01-25T19:25:22.266Z] ---> a4631a90e120 [2022-01-25T19:25:22.266Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:25:22.540Z] ---> Running in ba70f94024da [2022-01-25T19:25:22.813Z] Removing intermediate container ba70f94024da [2022-01-25T19:25:22.813Z] ---> e5600ce4941e [2022-01-25T19:25:22.813Z] Step 22/24 : LABEL arch=arm64 [2022-01-25T19:25:22.813Z] ---> Running in 0da51c327cb0 [2022-01-25T19:25:23.088Z] Removing intermediate container 0da51c327cb0 [2022-01-25T19:25:23.088Z] ---> 997b2d0239bc [2022-01-25T19:25:23.088Z] Step 23/24 : LABEL git_sha=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [2022-01-25T19:25:23.359Z] ---> Running in 460c75d7c9a7 [2022-01-25T19:25:23.632Z] Removing intermediate container 460c75d7c9a7 [2022-01-25T19:25:23.632Z] ---> 45ade88cce5a [2022-01-25T19:25:23.632Z] Step 24/24 : LABEL version=2.2.0-dev.9 [2022-01-25T19:25:23.632Z] ---> Running in ca08656628bb [2022-01-25T19:25:23.904Z] Removing intermediate container ca08656628bb [2022-01-25T19:25:23.904Z] ---> 003c2a7f9573 [2022-01-25T19:25:23.904Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:25:24.177Z] Successfully built 003c2a7f9573 [2022-01-25T19:25:24.177Z] 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-25T19:25:24.601Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:25:24.601Z] [2022-01-25T19:25:24.601Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:25:24.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:25:24.953Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-25T19:25:24.953Z] 448f6bf000e3: Pulling fs layer [2022-01-25T19:25:24.953Z] f757da607395: Pulling fs layer [2022-01-25T19:25:24.953Z] 05883995daec: Pulling fs layer [2022-01-25T19:25:25.223Z] 8603b9c90790: Pulling fs layer [2022-01-25T19:25:25.223Z] 1560dd03e051: Pulling fs layer [2022-01-25T19:25:25.224Z] 27f5ce0e4adf: Pulling fs layer [2022-01-25T19:25:25.224Z] c2d8d7efcc4b: Pulling fs layer [2022-01-25T19:25:25.224Z] 27f5ce0e4adf: Waiting [2022-01-25T19:25:25.224Z] c2d8d7efcc4b: Waiting [2022-01-25T19:25:25.224Z] 8603b9c90790: Waiting [2022-01-25T19:25:25.224Z] 1560dd03e051: Waiting [2022-01-25T19:25:25.224Z] f757da607395: Verifying Checksum [2022-01-25T19:25:25.224Z] f757da607395: Download complete [2022-01-25T19:25:25.224Z] 8603b9c90790: Verifying Checksum [2022-01-25T19:25:25.224Z] 8603b9c90790: Download complete [2022-01-25T19:25:25.224Z] 1560dd03e051: Verifying Checksum [2022-01-25T19:25:25.224Z] 1560dd03e051: Download complete [2022-01-25T19:25:25.224Z] 27f5ce0e4adf: Verifying Checksum [2022-01-25T19:25:25.224Z] 27f5ce0e4adf: Download complete [2022-01-25T19:25:25.224Z] 05883995daec: Verifying Checksum [2022-01-25T19:25:25.224Z] 05883995daec: Download complete [2022-01-25T19:25:25.820Z] 448f6bf000e3: Verifying Checksum [2022-01-25T19:25:25.820Z] 448f6bf000e3: Download complete [2022-01-25T19:25:28.438Z] c2d8d7efcc4b: Verifying Checksum [2022-01-25T19:25:28.439Z] c2d8d7efcc4b: Download complete [2022-01-25T19:25:29.421Z] 448f6bf000e3: Pull complete [2022-01-25T19:25:30.017Z] f757da607395: Pull complete [2022-01-25T19:25:31.452Z] 05883995daec: Pull complete [2022-01-25T19:25:31.725Z] 8603b9c90790: Pull complete [2022-01-25T19:25:32.702Z] 1560dd03e051: Pull complete [2022-01-25T19:25:32.702Z] 27f5ce0e4adf: Pull complete [2022-01-25T19:25:51.003Z] c2d8d7efcc4b: Pull complete [2022-01-25T19:25:51.003Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-25T19:25:51.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:25:51.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-25T19:25:51.245Z] prd-ubuntu18.04-docker-arm64-4c-16g-3869 does not seem to be running inside a container [2022-01-25T19:25:51.323Z] $ 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/42 -v /w/workspace/device-sdk-go/42:/w/workspace/device-sdk-go/42:rw,z -v /w/workspace/device-sdk-go/42@tmp:/w/workspace/device-sdk-go/42@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-25T19:25:54.136Z] $ docker top 1353bb7cc883bb05bde36d449005b005ae367ea7d8dfcee1a6bc4df2b1820561 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:25:55.081Z] ---> job-cost.sh [2022-01-25T19:25:55.081Z] lf-activate-venv: SKIPPING [2022-01-25T19:25:55.081Z] INFO: No Stack... [2022-01-25T19:25:55.355Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-25T19:25:55.951Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:25:56.614Z] + cut -d, -f6 [2022-01-25T19:25:56.614Z] + cat /w/workspace/device-sdk-go/42/archives/cost.csv [Pipeline] lock [2022-01-25T19:25:56.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [2022-01-25T19:25:56.654Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] did not exist. Created. [2022-01-25T19:25:56.654Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:25:57.339Z] /w/workspace/device-sdk-go/42@tmp/durable-333ee9f6/script.sh: 1: /w/workspace/device-sdk-go/42@tmp/durable-333ee9f6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-25T19:25:58.018Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-25T19:25:58.048Z] Warning: overwriting stash ‘stack-cost’ [2022-01-25T19:25:58.113Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:25:58.123Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:25:58.133Z] $ docker stop --time=1 1353bb7cc883bb05bde36d449005b005ae367ea7d8dfcee1a6bc4df2b1820561 [2022-01-25T19:25:59.651Z] $ docker rm -f 1353bb7cc883bb05bde36d449005b005ae367ea7d8dfcee1a6bc4df2b1820561 [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-25T19:26:00.165Z] provisioning config files... [2022-01-25T19:26:00.184Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config578692894003252861tmp [Pipeline] { [Pipeline] sh [2022-01-25T19:26:00.502Z] + set +x [2022-01-25T19:26:00.502Z] + bash -s -- [2022-01-25T19:26:00.502Z] + curl -s https://codecov.io/bash [2022-01-25T19:26:00.502Z] [2022-01-25T19:26:00.502Z] _____ _ [2022-01-25T19:26:00.502Z] / ____| | | [2022-01-25T19:26:00.502Z] | | ___ __| | ___ ___ _____ __ [2022-01-25T19:26:00.502Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-25T19:26:00.502Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-25T19:26:00.502Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-25T19:26:00.502Z] Bash-1.0.6 [2022-01-25T19:26:00.502Z] [2022-01-25T19:26:00.502Z] [2022-01-25T19:26:00.502Z] ==> git version 2.24.4 found [2022-01-25T19:26:00.502Z] ==> 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-25T19:26:00.502Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-25T19:26:00.502Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-25T19:26:00.502Z] ==> Jenkins CI detected. [2022-01-25T19:26:00.502Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:26:00.502Z] project root: . [2022-01-25T19:26:00.502Z] --> token set from env [2022-01-25T19:26:00.502Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-25T19:26:00.764Z] ==> Running gcov in . (disable via -X gcov) [2022-01-25T19:26:00.764Z] ==> Python coveragepy not found [2022-01-25T19:26:00.764Z] ==> Searching for coverage reports in: [2022-01-25T19:26:00.764Z] + . [2022-01-25T19:26:00.764Z] -> Found 1 reports [2022-01-25T19:26:00.764Z] ==> Detecting git/mercurial file structure [2022-01-25T19:26:00.764Z] ==> Reading reports [2022-01-25T19:26:00.764Z] + ./coverage.out bytes=128608 [2022-01-25T19:26:00.764Z] ==> Appending adjustments [2022-01-25T19:26:00.764Z] https://docs.codecov.io/docs/fixing-reports [2022-01-25T19:26:01.024Z] + Found adjustments [2022-01-25T19:26:01.024Z] ==> Gzipping contents [2022-01-25T19:26:01.024Z] 16K /tmp/codecov.kDeC8A.gz [2022-01-25T19:26:01.024Z] ==> Uploading reports [2022-01-25T19:26:01.025Z] url: https://codecov.io [2022-01-25T19:26:01.025Z] query: branch=main&commit=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-25T19:26:01.025Z] -> Pinging Codecov [2022-01-25T19:26:01.025Z] 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=9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-25T19:26:01.598Z] -> Uploading to [2022-01-25T19:26:01.598Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-25/7E55EF52A471D76F132DFD9A03CDDE97/9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0/6283ee4d-4f2a-4689-9d79-2685528dbb15.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220125T192601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7a964b0a0fe5251069ae913c0c265cdbfdb91d178eca89ae3d25cc52f8cfe20a [2022-01-25T19:26:01.598Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:26:01.598Z] Dload Upload Total Spent Left Speed [2022-01-25T19:26:01.859Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16112 0 0 100 16112 0 49160 --:--:-- --:--:-- --:--:-- 49121 [2022-01-25T19:26:01.859Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] } [2022-01-25T19:26:01.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-25T19:26:02.168Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-25T19:26:02.186Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:02.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:26:02.487Z] [2022-01-25T19:26:02.488Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:02.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:26:02.797Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-25T19:26:02.797Z] 188c0c94c7c5: Pulling fs layer [2022-01-25T19:26:02.797Z] 0ef7d3d256c8: Pulling fs layer [2022-01-25T19:26:02.797Z] de9db76c5a1d: Pulling fs layer [2022-01-25T19:26:02.797Z] 0eba1c9be4d2: Pulling fs layer [2022-01-25T19:26:02.797Z] 0d57e429df01: Pulling fs layer [2022-01-25T19:26:02.797Z] 4e4be7b47b0d: Pulling fs layer [2022-01-25T19:26:02.797Z] e1f770b5df2f: Pulling fs layer [2022-01-25T19:26:02.797Z] 85a0685a4137: Pulling fs layer [2022-01-25T19:26:02.797Z] 0eba1c9be4d2: Waiting [2022-01-25T19:26:02.797Z] 0d57e429df01: Waiting [2022-01-25T19:26:02.797Z] 4e4be7b47b0d: Waiting [2022-01-25T19:26:02.797Z] e1f770b5df2f: Waiting [2022-01-25T19:26:02.797Z] 85a0685a4137: Waiting [2022-01-25T19:26:02.797Z] de9db76c5a1d: Verifying Checksum [2022-01-25T19:26:02.797Z] de9db76c5a1d: Download complete [2022-01-25T19:26:02.797Z] 0ef7d3d256c8: Verifying Checksum [2022-01-25T19:26:02.797Z] 0ef7d3d256c8: Download complete [2022-01-25T19:26:02.797Z] 0d57e429df01: Verifying Checksum [2022-01-25T19:26:02.797Z] 0d57e429df01: Download complete [2022-01-25T19:26:02.797Z] 4e4be7b47b0d: Verifying Checksum [2022-01-25T19:26:02.797Z] 4e4be7b47b0d: Download complete [2022-01-25T19:26:02.797Z] 188c0c94c7c5: Verifying Checksum [2022-01-25T19:26:02.797Z] 188c0c94c7c5: Download complete [2022-01-25T19:26:03.067Z] e1f770b5df2f: Verifying Checksum [2022-01-25T19:26:03.067Z] e1f770b5df2f: Download complete [2022-01-25T19:26:03.338Z] 188c0c94c7c5: Pull complete [2022-01-25T19:26:03.604Z] 0eba1c9be4d2: Verifying Checksum [2022-01-25T19:26:03.604Z] 0eba1c9be4d2: Download complete [2022-01-25T19:26:03.604Z] 0ef7d3d256c8: Pull complete [2022-01-25T19:26:03.604Z] de9db76c5a1d: Pull complete [2022-01-25T19:26:03.869Z] 85a0685a4137: Verifying Checksum [2022-01-25T19:26:03.869Z] 85a0685a4137: Download complete [2022-01-25T19:26:08.103Z] 0eba1c9be4d2: Pull complete [2022-01-25T19:26:08.103Z] 0d57e429df01: Pull complete [2022-01-25T19:26:08.103Z] 4e4be7b47b0d: Pull complete [2022-01-25T19:26:08.367Z] e1f770b5df2f: Pull complete [2022-01-25T19:26:12.598Z] 85a0685a4137: Pull complete [2022-01-25T19:26:12.598Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-25T19:26:12.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-25T19:26:12.598Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-25T19:26:12.678Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:12.723Z] $ 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-25T19:26:14.854Z] $ docker top c094c0d1c81d1d03ec483cced252806fc8547367ff8620c64b4f6039b866e26f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-25T19:26:14.940Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-25T19:26:15.230Z] + set -o pipefail [2022-01-25T19:26:15.230Z] + snyk monitor '--org=edgex-jenkins' [2022-01-25T19:26:20.575Z] [2022-01-25T19:26:20.575Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-01-25T19:26:20.575Z] [2022-01-25T19:26:20.575Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/a2d54c2d-504b-4435-8cd5-f0531450b269 [2022-01-25T19:26:20.575Z] [2022-01-25T19:26:20.575Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-25T19:26:20.575Z] [2022-01-25T19:26:20.575Z] [Pipeline] } [2022-01-25T19:26:20.588Z] $ docker stop --time=1 c094c0d1c81d1d03ec483cced252806fc8547367ff8620c64b4f6039b866e26f [2022-01-25T19:26:22.277Z] $ docker rm -f c094c0d1c81d1d03ec483cced252806fc8547367ff8620c64b4f6039b866e26f [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-25T19:26:22.681Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:26:22.691Z] provisioning config files... [2022-01-25T19:26:22.700Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7781738091131299584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:23.014Z] --> edgex-publish-swagger.sh [2022-01-25T19:26:23.014Z] === Publish openapi/v2 API === [2022-01-25T19:26:23.014Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-01-25T19:26:23.014Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-01-25T19:26:23.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:26:23.014Z] Dload Upload Total Spent Left Speed [2022-01-25T19:26:23.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 59370 --:--:-- --:--:-- --:--:-- 59378 100 51659 0 0 100 51659 0 59361 --:--:-- --:--:-- --:--:-- 59378 [2022-01-25T19:26:23.956Z] [2022-01-25T19:26:23.956Z] [Pipeline] } [2022-01-25T19:26:23.964Z] 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-25T19:26:24.380Z] + git log --format=format:%s -1 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 [Pipeline] sh [2022-01-25T19:26:24.672Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:26:24.672Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:24.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:26:24.970Z] . [Pipeline] withDockerContainer [2022-01-25T19:26:25.037Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:25.084Z] $ 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-25T19:26:25.472Z] $ docker top b4660c5acfaa6fb8e24ad89c9b8e4139bf18ad9dfe3e00c27d3c6de80add8c8a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:26:25.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:26:25.580Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:26:25.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:26:25.701Z] $ docker exec b4660c5acfaa6fb8e24ad89c9b8e4139bf18ad9dfe3e00c27d3c6de80add8c8a ssh-agent [2022-01-25T19:26:25.806Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKaOcDA/agent.15 [2022-01-25T19:26:25.806Z] SSH_AGENT_PID=21 [2022-01-25T19:26:25.811Z] Running ssh-add (command line suppressed) [2022-01-25T19:26:25.902Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3475628760268113587.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3475628760268113587.key) [2022-01-25T19:26:25.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:26:26.208Z] + git semver tag [2022-01-25T19:26:26.208Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:26:26.208Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:26:26.208Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:26:26.208Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:26:26.208Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:26:26.208Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:26:26.208Z] # $SEMVER_BRANCH = main [2022-01-25T19:26:26.208Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-25T19:26:26.208Z] # 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 HEAD [2022-01-25T19:26:26.208Z] # -> Force: false [2022-01-25T19:26:26.208Z] # 3405e2b9ec771bca83ab67515bb6c6aecacfb01d refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-01-25T19:26:26.219Z] $ docker exec --env ******** --env ******** b4660c5acfaa6fb8e24ad89c9b8e4139bf18ad9dfe3e00c27d3c6de80add8c8a ssh-agent -k [2022-01-25T19:26:26.322Z] unset SSH_AUTH_SOCK; [2022-01-25T19:26:26.323Z] unset SSH_AGENT_PID; [2022-01-25T19:26:26.323Z] echo Agent pid 21 killed; [2022-01-25T19:26:26.330Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:26:26.645Z] + git semver [Pipeline] } [2022-01-25T19:26:26.660Z] $ docker stop --time=1 b4660c5acfaa6fb8e24ad89c9b8e4139bf18ad9dfe3e00c27d3c6de80add8c8a [2022-01-25T19:26:27.855Z] $ docker rm -f b4660c5acfaa6fb8e24ad89c9b8e4139bf18ad9dfe3e00c27d3c6de80add8c8a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:28.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:26:28.257Z] [2022-01-25T19:26:28.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:28.570Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:26:28.570Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-25T19:26:28.570Z] ab5ef0e58194: Pulling fs layer [2022-01-25T19:26:28.570Z] 9712f1f96733: Pulling fs layer [2022-01-25T19:26:28.570Z] 63f879dbbcfc: Pulling fs layer [2022-01-25T19:26:28.570Z] 0d9ebad4ef96: Pulling fs layer [2022-01-25T19:26:28.570Z] e9a5061849ea: Pulling fs layer [2022-01-25T19:26:28.570Z] d747dcd14b5f: Pulling fs layer [2022-01-25T19:26:28.570Z] 2de7ff778b66: Pulling fs layer [2022-01-25T19:26:28.570Z] e9a5061849ea: Waiting [2022-01-25T19:26:28.570Z] d747dcd14b5f: Waiting [2022-01-25T19:26:28.570Z] 2de7ff778b66: Waiting [2022-01-25T19:26:28.570Z] 0d9ebad4ef96: Waiting [2022-01-25T19:26:28.570Z] 9712f1f96733: Verifying Checksum [2022-01-25T19:26:28.570Z] 9712f1f96733: Download complete [2022-01-25T19:26:29.165Z] ab5ef0e58194: Verifying Checksum [2022-01-25T19:26:29.165Z] ab5ef0e58194: Download complete [2022-01-25T19:26:29.165Z] 0d9ebad4ef96: Verifying Checksum [2022-01-25T19:26:29.165Z] 0d9ebad4ef96: Download complete [2022-01-25T19:26:29.165Z] d747dcd14b5f: Verifying Checksum [2022-01-25T19:26:29.165Z] d747dcd14b5f: Download complete [2022-01-25T19:26:29.165Z] 63f879dbbcfc: Verifying Checksum [2022-01-25T19:26:29.165Z] 63f879dbbcfc: Download complete [2022-01-25T19:26:29.165Z] e9a5061849ea: Verifying Checksum [2022-01-25T19:26:29.165Z] e9a5061849ea: Download complete [2022-01-25T19:26:29.430Z] 2de7ff778b66: Verifying Checksum [2022-01-25T19:26:29.430Z] 2de7ff778b66: Download complete [2022-01-25T19:26:32.765Z] ab5ef0e58194: Pull complete [2022-01-25T19:26:32.765Z] 9712f1f96733: Pull complete [2022-01-25T19:26:33.339Z] 63f879dbbcfc: Pull complete [2022-01-25T19:26:37.583Z] 0d9ebad4ef96: Pull complete [2022-01-25T19:26:37.849Z] e9a5061849ea: Pull complete [2022-01-25T19:26:37.849Z] d747dcd14b5f: Pull complete [2022-01-25T19:26:39.243Z] 2de7ff778b66: Pull complete [2022-01-25T19:26:39.243Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-25T19:26:39.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-25T19:26:39.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-25T19:26:39.318Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:39.356Z] $ 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-25T19:26:42.589Z] $ docker top 4b10f0ec35dbb5c3875efe5edf3e1604a1aff4c56fa46900961a9843ad5fe02c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:26:42.663Z] provisioning config files... [2022-01-25T19:26:42.671Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8259675519106681613tmp [2022-01-25T19:26:42.680Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6204699633477580461tmp [2022-01-25T19:26:42.689Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8236449340056857273tmp [Pipeline] { [Pipeline] echo [2022-01-25T19:26:42.704Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:42.988Z] ---> sigul-configuration.sh [2022-01-25T19:26:42.988Z] gpg: directory `/root/.gnupg' created [2022-01-25T19:26:42.988Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-25T19:26:42.988Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-25T19:26:42.988Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-25T19:26:42.988Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-25T19:26:42.988Z] gpg: CAST5 encrypted data [2022-01-25T19:26:42.988Z] gpg: encrypted with 1 passphrase [2022-01-25T19:26:42.988Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-25T19:26:43.275Z] + mkdir /home/jenkins [2022-01-25T19:26:43.275Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-25T19:26:43.588Z] + 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-25T19:26:43.596Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:43.885Z] ---> sigul-install.sh [2022-01-25T19:26:43.885Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-25T19:26:44.174Z] + git tag --list [2022-01-25T19:26:44.174Z] 0.7.1 [2022-01-25T19:26:44.174Z] delhi-tag [2022-01-25T19:26:44.174Z] v1.0.0 [2022-01-25T19:26:44.174Z] v1.1.0 [2022-01-25T19:26:44.174Z] v1.1.1 [2022-01-25T19:26:44.174Z] v1.1.2 [2022-01-25T19:26:44.174Z] v1.2.0 [2022-01-25T19:26:44.174Z] v1.2.1 [2022-01-25T19:26:44.174Z] v1.2.2 [2022-01-25T19:26:44.174Z] v1.2.3 [2022-01-25T19:26:44.174Z] v1.3.0 [2022-01-25T19:26:44.174Z] v1.4.0 [2022-01-25T19:26:44.174Z] v2.0.0 [2022-01-25T19:26:44.174Z] v2.0.1-dev.1 [2022-01-25T19:26:44.174Z] v2.0.1-dev.10 [2022-01-25T19:26:44.174Z] v2.0.1-dev.11 [2022-01-25T19:26:44.174Z] v2.0.1-dev.12 [2022-01-25T19:26:44.174Z] v2.0.1-dev.13 [2022-01-25T19:26:44.174Z] v2.0.1-dev.14 [2022-01-25T19:26:44.174Z] v2.0.1-dev.15 [2022-01-25T19:26:44.174Z] v2.0.1-dev.16 [2022-01-25T19:26:44.174Z] v2.0.1-dev.17 [2022-01-25T19:26:44.174Z] v2.0.1-dev.18 [2022-01-25T19:26:44.174Z] v2.0.1-dev.19 [2022-01-25T19:26:44.174Z] v2.0.1-dev.2 [2022-01-25T19:26:44.174Z] v2.0.1-dev.20 [2022-01-25T19:26:44.174Z] v2.0.1-dev.21 [2022-01-25T19:26:44.174Z] v2.0.1-dev.22 [2022-01-25T19:26:44.174Z] v2.0.1-dev.23 [2022-01-25T19:26:44.174Z] v2.0.1-dev.24 [2022-01-25T19:26:44.174Z] v2.0.1-dev.25 [2022-01-25T19:26:44.174Z] v2.0.1-dev.26 [2022-01-25T19:26:44.174Z] v2.0.1-dev.27 [2022-01-25T19:26:44.174Z] v2.0.1-dev.28 [2022-01-25T19:26:44.174Z] v2.0.1-dev.29 [2022-01-25T19:26:44.174Z] v2.0.1-dev.3 [2022-01-25T19:26:44.174Z] v2.0.1-dev.30 [2022-01-25T19:26:44.174Z] v2.0.1-dev.31 [2022-01-25T19:26:44.174Z] v2.0.1-dev.32 [2022-01-25T19:26:44.174Z] v2.0.1-dev.33 [2022-01-25T19:26:44.174Z] v2.0.1-dev.4 [2022-01-25T19:26:44.174Z] v2.0.1-dev.5 [2022-01-25T19:26:44.174Z] v2.0.1-dev.6 [2022-01-25T19:26:44.174Z] v2.0.1-dev.7 [2022-01-25T19:26:44.174Z] v2.0.1-dev.8 [2022-01-25T19:26:44.174Z] v2.0.1-dev.9 [2022-01-25T19:26:44.174Z] v2.1.0 [2022-01-25T19:26:44.174Z] v2.1.1-dev.1 [2022-01-25T19:26:44.174Z] v2.2.0-dev.1 [2022-01-25T19:26:44.174Z] v2.2.0-dev.2 [2022-01-25T19:26:44.174Z] v2.2.0-dev.3 [2022-01-25T19:26:44.174Z] v2.2.0-dev.4 [2022-01-25T19:26:44.174Z] v2.2.0-dev.5 [2022-01-25T19:26:44.174Z] v2.2.0-dev.6 [2022-01-25T19:26:44.174Z] v2.2.0-dev.7 [2022-01-25T19:26:44.174Z] v2.2.0-dev.8 [2022-01-25T19:26:44.174Z] v2.2.0-dev.9 [Pipeline] sh [2022-01-25T19:26:44.466Z] + lftools sign git-tag v2.2.0-dev.9 [2022-01-25T19:26:45.039Z] Signing Git tag with Sigul... [2022-01-25T19:26:45.039Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-01-25T19:26:45.307Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:45.594Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-25T19:26:45.604Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-25T19:26:45.624Z] $ docker stop --time=1 4b10f0ec35dbb5c3875efe5edf3e1604a1aff4c56fa46900961a9843ad5fe02c [2022-01-25T19:26:46.810Z] $ docker rm -f 4b10f0ec35dbb5c3875efe5edf3e1604a1aff4c56fa46900961a9843ad5fe02c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-25T19:26:47.220Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:26:47.220Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:47.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:26:47.516Z] . [Pipeline] withDockerContainer [2022-01-25T19:26:47.573Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:47.608Z] $ 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-25T19:26:47.912Z] $ docker top f1e0f380bf0d992dc7a89affc3bdf045398edad0152974a3a50a07215275b43f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:26:48.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:26:48.000Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:26:48.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:26:48.096Z] $ docker exec f1e0f380bf0d992dc7a89affc3bdf045398edad0152974a3a50a07215275b43f ssh-agent [2022-01-25T19:26:48.180Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOGnCh/agent.13 [2022-01-25T19:26:48.180Z] SSH_AGENT_PID=20 [2022-01-25T19:26:48.185Z] Running ssh-add (command line suppressed) [2022-01-25T19:26:48.278Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5940484334765389868.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5940484334765389868.key) [2022-01-25T19:26:48.289Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:26:48.588Z] + git semver bump pre [2022-01-25T19:26:48.588Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:26:48.588Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:26:48.588Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:26:48.588Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:26:48.588Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:26:48.588Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:26:48.588Z] # $SEMVER_BRANCH = main [2022-01-25T19:26:48.588Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-01-25T19:26:48.588Z] 2.2.0-dev.10 [Pipeline] } [2022-01-25T19:26:48.599Z] $ docker exec --env ******** --env ******** f1e0f380bf0d992dc7a89affc3bdf045398edad0152974a3a50a07215275b43f ssh-agent -k [2022-01-25T19:26:48.697Z] unset SSH_AUTH_SOCK; [2022-01-25T19:26:48.697Z] unset SSH_AGENT_PID; [2022-01-25T19:26:48.697Z] echo Agent pid 20 killed; [2022-01-25T19:26:48.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:26:49.004Z] + git semver [Pipeline] } [2022-01-25T19:26:49.018Z] $ docker stop --time=1 f1e0f380bf0d992dc7a89affc3bdf045398edad0152974a3a50a07215275b43f [2022-01-25T19:26:50.208Z] $ docker rm -f f1e0f380bf0d992dc7a89affc3bdf045398edad0152974a3a50a07215275b43f [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:26:50.588Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:26:50.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:50.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:26:50.898Z] . [Pipeline] withDockerContainer [2022-01-25T19:26:50.968Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:51.072Z] $ 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-25T19:26:51.429Z] $ docker top e4601dac1ca26bf72b8e37420c2ddf6b21dffc48a7cedb3a56059c2c26a97e92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:26:51.533Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:26:51.533Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:26:51.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:26:51.631Z] $ docker exec e4601dac1ca26bf72b8e37420c2ddf6b21dffc48a7cedb3a56059c2c26a97e92 ssh-agent [2022-01-25T19:26:51.732Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpiggBb/agent.14 [2022-01-25T19:26:51.732Z] SSH_AGENT_PID=21 [2022-01-25T19:26:51.737Z] Running ssh-add (command line suppressed) [2022-01-25T19:26:51.823Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4523301367984360276.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4523301367984360276.key) [2022-01-25T19:26:51.832Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:26:52.113Z] + git semver push [2022-01-25T19:26:52.113Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:26:52.113Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-01-25T19:26:52.113Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:26:52.113Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:26:52.113Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:26:52.113Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:26:52.113Z] # $SEMVER_BRANCH = main [2022-01-25T19:26:52.113Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-01-25T19:26:54.029Z] $ docker exec --env ******** --env ******** e4601dac1ca26bf72b8e37420c2ddf6b21dffc48a7cedb3a56059c2c26a97e92 ssh-agent -k [2022-01-25T19:26:54.105Z] unset SSH_AUTH_SOCK; [2022-01-25T19:26:54.105Z] unset SSH_AGENT_PID; [2022-01-25T19:26:54.105Z] echo Agent pid 21 killed; [2022-01-25T19:26:54.111Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:26:54.421Z] + git semver [Pipeline] } [2022-01-25T19:26:54.434Z] $ docker stop --time=1 e4601dac1ca26bf72b8e37420c2ddf6b21dffc48a7cedb3a56059c2c26a97e92 [2022-01-25T19:26:55.603Z] $ docker rm -f e4601dac1ca26bf72b8e37420c2ddf6b21dffc48a7cedb3a56059c2c26a97e92 [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-25T19:26:56.232Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [2022-01-25T19:26:56.232Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:26:56.232Z] total 8 [2022-01-25T19:26:56.232Z] drwxr-xr-x. 3 root root 34 Jan 25 19:20 . [2022-01-25T19:26:56.232Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:26 .. [2022-01-25T19:26:56.232Z] drwxr-xr-x. 2 root root 6 Jan 25 19:20 cost [2022-01-25T19:26:56.232Z] -rw-r--r--. 1 root root 83 Jan 25 19:20 cost.csv [2022-01-25T19:26:56.232Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:26:56.232Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-01-25T19:26:56.232Z] total 8 [2022-01-25T19:26:56.232Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 25 19:20 . [2022-01-25T19:26:56.232Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:26 .. [2022-01-25T19:26:56.232Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 25 19:20 cost [2022-01-25T19:26:56.232Z] -rw-r--r--. 1 jenkins jenkins 83 Jan 25 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:56.521Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:26:57.080Z] ---> package-listing.sh [2022-01-25T19:26:57.080Z] ++ facter osfamily [2022-01-25T19:26:57.080Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-25T19:26:57.344Z] + OS_FAMILY=redhat [2022-01-25T19:26:57.344Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-01-25T19:26:57.344Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-25T19:26:57.344Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-25T19:26:57.344Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-25T19:26:57.344Z] + PACKAGES=/tmp/packages_start.txt [2022-01-25T19:26:57.344Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-25T19:26:57.344Z] + PACKAGES=/tmp/packages_end.txt [2022-01-25T19:26:57.344Z] + case "${OS_FAMILY}" in [2022-01-25T19:26:57.344Z] + rpm -qa [2022-01-25T19:26:57.344Z] + sort [2022-01-25T19:26:57.916Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-25T19:26:57.916Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-25T19:26:57.916Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-25T19:26:57.916Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-01-25T19:26:57.916Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-01-25T19:26:57.916Z] + 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-25T19:26:57.928Z] 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-25T19:26:58.209Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:58.772Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:26:58.772Z] . [Pipeline] withDockerContainer [2022-01-25T19:26:58.835Z] prd-centos7-docker-4c-2g-3868 does not seem to be running inside a container [2022-01-25T19:26:58.869Z] $ 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-25T19:26:59.056Z] $ docker top 498ade97fcf22191681d9a84289d8c5b61cb7b0228aa86548fb83ff6b55d6847 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:26:59.413Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-25T19:26:59.699Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-25T19:26:59.994Z] + ls /var/log/sa-host [2022-01-25T19:26:59.994Z] + sadf -c /var/log/sa-host/sa17 [2022-01-25T19:26:59.994Z] file_magic: OK [2022-01-25T19:26:59.995Z] HZ: Using current value: 100 [2022-01-25T19:26:59.995Z] file_header: OK [2022-01-25T19:26:59.995Z] 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-25T19:26:59.995Z] Statistics: [2022-01-25T19:26:59.995Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:26:59.995Z] File successfully converted to sysstat format version 12.0.3 [2022-01-25T19:26:59.995Z] + sadf -c /var/log/sa-host/sa25 [2022-01-25T19:26:59.995Z] file_magic: OK [2022-01-25T19:26:59.995Z] HZ: Using current value: 100 [2022-01-25T19:26:59.995Z] file_header: OK [2022-01-25T19:26:59.995Z] 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-25T19:26:59.995Z] Statistics: [2022-01-25T19:26:59.995Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:26:59.995Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:27:00.264Z] provisioning config files... [2022-01-25T19:27:00.272Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4213822030263786199tmp [Pipeline] { [Pipeline] echo [2022-01-25T19:27:00.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:27:00.588Z] ---> create-netrc.sh [Pipeline] } [2022-01-25T19:27:00.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:27:00.937Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-25T19:27:00.948Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:27:01.239Z] ---> sudo-logs.sh [2022-01-25T19:27:01.239Z] Archiving 'sudo' log.. [2022-01-25T19:27:01.239Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3868.novalocal: Name or service not known [2022-01-25T19:27:01.239Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3868.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-25T19:27:01.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:27:01.551Z] ---> job-cost.sh [2022-01-25T19:27:01.551Z] lf-activate-venv: SKIPPING [2022-01-25T19:27:01.551Z] DEBUG: total: 0.05999999865889549 [2022-01-25T19:27:01.551Z] INFO: Retrieving Stack Cost... [2022-01-25T19:27:01.811Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:27:02.070Z] INFO: Archiving Costs [Pipeline] echo [2022-01-25T19:27:02.084Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:27:02.370Z] ---> logs-deploy.sh [2022-01-25T19:27:02.370Z] lf-activate-venv: SKIPPING [2022-01-25T19:27:02.370Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/42 [2022-01-25T19:27:02.370Z] INFO: archiving workspace using pattern(s): [2022-01-25T19:27:02.940Z] Archives upload complete. [2022-01-25T19:27:03.200Z] INFO: archiving logs to Nexus