Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95a9d1abedb9d7c119ffb1f24142991202c879de Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5661310223968463096.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh2430066719693923221.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 c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 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-ssh7332235587020975490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 # timeout=10 Commit message: "Merge pull request #357 from ernestojeda/fix-previous-commit-sha" > 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-ssh8220266482663482073.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-ssh7548637443947111591.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 ‘prd-centos7-docker-4c-2g-18’ is offline Running on prd-centos7-docker-4c-2g-103 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-ssh712148343910112575.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 95a9d1abedb9d7c119ffb1f24142991202c879de (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 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 Commit message: "Merge pull request #1030 from ernestojeda/changes-for-lts-builds" > git rev-list --no-walk d24546102b5fafb36a92b102b4be54f609bac794 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-08T17:45:47.058Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-08T17:45:47.109Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-08T17:45:47.124Z] ========================================================= [2021-10-08T17:45:47.124Z] EdgeX Global Pipelines Version Info [2021-10-08T17:45:47.124Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:45:48.317Z] ------------------- [2021-10-08T17:45:48.317Z] stable info: [2021-10-08T17:45:48.317Z] ------------------- [2021-10-08T17:45:48.317Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T17:45:48.317Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T17:45:48.317Z] Message: update stable to v1.0.208 [2021-10-08T17:45:48.888Z] ------------------- [2021-10-08T17:45:48.888Z] experimental info: [2021-10-08T17:45:48.888Z] ------------------- [2021-10-08T17:45:48.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-08T17:45:48.888Z] Commit SHA: c3f98f08b2c5d0ffaa3a36dbf383f5176a0ca588 [2021-10-08T17:45:48.888Z] Message: update experimental to v1.0.208 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-08T17:45:48.965Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-08T17:45:48.977Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-08T17:45:48.985Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-08T17:45:48.992Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-08T17:45:48.999Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-08T17:45:49.011Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-08T17:45:49.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-08T17:45:49.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-08T17:45:49.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-08T17:45:49.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-08T17:45:49.049Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-08T17:45:49.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-08T17:45:49.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-08T17:45:49.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-08T17:45:49.076Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-08T17:45:49.083Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:45:49.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:45:49.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-08T17:45:49.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-08T17:45:49.110Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-08T17:45:49.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-08T17:45:49.125Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-08T17:45:49.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-08T17:45:49.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-08T17:45:49.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-08T17:45:49.171Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-08T17:45:49.181Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-08T17:45:49.191Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-08T17:45:49.203Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-08T17:45:49.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95a9d1abedb9d7c119ffb1f24142991202c879de [Pipeline] echo [2021-10-08T17:45:49.223Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 95a9d1a [Pipeline] echo [2021-10-08T17:45:49.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:45:49.280Z] provisioning config files... [2021-10-08T17:45:49.295Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1197820159688725679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:45:49.613Z] ---> docker-login.sh [2021-10-08T17:45:49.613Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:45:49.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:45:49.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:45:49.876Z] Configure a credential helper to remove this warning. See [2021-10-08T17:45:49.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:45:49.876Z] [2021-10-08T17:45:49.876Z] Login Succeeded [2021-10-08T17:45:49.876Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:45:49.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:45:49.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:45:49.876Z] Configure a credential helper to remove this warning. See [2021-10-08T17:45:49.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:45:49.876Z] [2021-10-08T17:45:49.876Z] Login Succeeded [2021-10-08T17:45:49.876Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:45:50.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:45:50.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:45:50.141Z] Configure a credential helper to remove this warning. See [2021-10-08T17:45:50.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:45:50.141Z] [2021-10-08T17:45:50.141Z] Login Succeeded [2021-10-08T17:45:50.141Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:45:50.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:45:50.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:45:50.141Z] Configure a credential helper to remove this warning. See [2021-10-08T17:45:50.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:45:50.141Z] [2021-10-08T17:45:50.141Z] Login Succeeded [2021-10-08T17:45:50.141Z] docker.io [2021-10-08T17:45:50.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:45:50.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:45:50.712Z] Configure a credential helper to remove this warning. See [2021-10-08T17:45:50.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:45:50.712Z] [2021-10-08T17:45:50.712Z] Login Succeeded [2021-10-08T17:45:50.712Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:45:50.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-08T17:45:51.250Z] + git log --format=format:%s -1 95a9d1abedb9d7c119ffb1f24142991202c879de [Pipeline] echo [2021-10-08T17:45:51.292Z] GIT_COMMIT: 95a9d1abedb9d7c119ffb1f24142991202c879de, Commit Message: Merge pull request #1030 from ernestojeda/changes-for-lts-builds [Pipeline] echo [2021-10-08T17:45:51.301Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:45:51.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:45:51.883Z] [2021-10-08T17:45:51.883Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:45:52.216Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:45:52.216Z] latest: Pulling from edgex-devops/git-semver [2021-10-08T17:45:52.216Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T17:45:52.216Z] 3e5f54012d9b: Pulling fs layer [2021-10-08T17:45:52.216Z] 4c7163046ea9: Pulling fs layer [2021-10-08T17:45:52.216Z] 0c2d73faf560: Pulling fs layer [2021-10-08T17:45:52.216Z] 0c2d73faf560: Waiting [2021-10-08T17:45:52.216Z] 3e5f54012d9b: Verifying Checksum [2021-10-08T17:45:52.216Z] 3e5f54012d9b: Download complete [2021-10-08T17:45:52.216Z] a0d0a0d46f8b: Download complete [2021-10-08T17:45:52.216Z] 4c7163046ea9: Verifying Checksum [2021-10-08T17:45:52.216Z] 4c7163046ea9: Download complete [2021-10-08T17:45:52.216Z] 0c2d73faf560: Verifying Checksum [2021-10-08T17:45:52.216Z] 0c2d73faf560: Download complete [2021-10-08T17:45:52.477Z] a0d0a0d46f8b: Pull complete [2021-10-08T17:45:52.477Z] 3e5f54012d9b: Pull complete [2021-10-08T17:45:52.741Z] 4c7163046ea9: Pull complete [2021-10-08T17:45:53.002Z] 0c2d73faf560: Pull complete [2021-10-08T17:45:53.002Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-08T17:45:53.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:45:53.002Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-08T17:45:53.071Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:45:53.116Z] $ 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 [2021-10-08T17:45:53.683Z] $ docker top e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T17:45:53.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:45:53.794Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:45:53.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:45:53.896Z] $ docker exec e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 ssh-agent [2021-10-08T17:45:53.994Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPblamb/agent.15 [2021-10-08T17:45:53.994Z] SSH_AGENT_PID=21 [2021-10-08T17:45:54.001Z] Running ssh-add (command line suppressed) [2021-10-08T17:45:54.090Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7665058299544614356.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7665058299544614356.key) [2021-10-08T17:45:54.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:45:54.397Z] + git tag --points-at HEAD [Pipeline] } [2021-10-08T17:45:54.412Z] $ docker exec --env ******** --env ******** e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 ssh-agent -k [2021-10-08T17:45:54.509Z] unset SSH_AUTH_SOCK; [2021-10-08T17:45:54.509Z] unset SSH_AGENT_PID; [2021-10-08T17:45:54.510Z] echo Agent pid 21 killed; [2021-10-08T17:45:54.518Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-08T17:45:54.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:45:54.542Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:45:54.637Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:45:54.642Z] $ docker exec e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 ssh-agent [2021-10-08T17:45:54.730Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaGkCOj/agent.56 [2021-10-08T17:45:54.730Z] SSH_AGENT_PID=62 [2021-10-08T17:45:54.735Z] Running ssh-add (command line suppressed) [2021-10-08T17:45:54.823Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1088643524961488218.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1088643524961488218.key) [2021-10-08T17:45:54.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:45:55.132Z] + git semver init [2021-10-08T17:45:55.132Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T17:45:55.132Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-08T17:45:55.132Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:45:55.132Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T17:45:55.132Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T17:45:55.132Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T17:45:55.132Z] # $SEMVER_BRANCH = main [2021-10-08T17:45:55.132Z] # $SEMVER_TEMP = /tmp/semver-077249218 [2021-10-08T17:45:55.132Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-08T17:45:56.077Z] # '/tmp/semver-077249218' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-08T17:45:56.077Z] # -> Force: false [2021-10-08T17:45:56.077Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-08T17:45:56.091Z] $ docker exec --env ******** --env ******** e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 ssh-agent -k [2021-10-08T17:45:56.190Z] unset SSH_AUTH_SOCK; [2021-10-08T17:45:56.190Z] unset SSH_AGENT_PID; [2021-10-08T17:45:56.190Z] echo Agent pid 62 killed; [2021-10-08T17:45:56.199Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T17:45:56.520Z] + git semver [Pipeline] } [2021-10-08T17:45:56.537Z] $ docker stop --time=1 e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 [2021-10-08T17:45:57.741Z] $ docker rm -f e96537799e5b4c6fa762abd8da13752b4547673753c916bb0604e2419a0b36f4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:45:58.087Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-08T17:45:58.312Z] Stashed 1 file(s) [Pipeline] echo [2021-10-08T17:45:58.315Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-08T17:46:13.470Z] Still waiting to schedule task [2021-10-08T17:46:13.470Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-08T17:46:13.471Z] Still waiting to schedule task [2021-10-08T17:46:13.472Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-08T17:47:34.225Z] Running on prd-centos7-docker-4c-2g-108 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-08T17:47:34.237Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2021-10-08T17:47:34.358Z] Selected Git installation does not exist. Using Default [2021-10-08T17:47:34.359Z] The recommended git tool is: NONE [2021-10-08T17:47:36.371Z] using credential edgex-jenkins-ssh [2021-10-08T17:47:36.384Z] Cloning the remote Git repository [2021-10-08T17:47:35.773Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:47:35.831Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2021-10-08T17:47:35.863Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:47:35.863Z] > git --version # timeout=10 [2021-10-08T17:47:35.875Z] > git --version # 'git version 2.24.4' [2021-10-08T17:47:35.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:47:35.895Z] [INFO] Currently running in a labeled security context [2021-10-08T17:47:35.895Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-08T17:47:35.895Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/14@tmp/jenkins-gitclient-ssh426265187942586441.key [2021-10-08T17:47:35.925Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:47:37.472Z] Avoid second fetch [2021-10-08T17:47:37.472Z] Checking out Revision 95a9d1abedb9d7c119ffb1f24142991202c879de (main) [2021-10-08T17:47:36.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:47:36.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:47:36.848Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:47:36.860Z] > git checkout -f 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-08T17:47:40.971Z] Commit message: "Merge pull request #1030 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:47:41.282Z] provisioning config files... [2021-10-08T17:47:41.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/14@tmp/config6515285784489544824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:47:41.700Z] ---> docker-login.sh [2021-10-08T17:47:41.700Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:47:41.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:47:41.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:47:41.700Z] Configure a credential helper to remove this warning. See [2021-10-08T17:47:41.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:47:41.700Z] [2021-10-08T17:47:41.700Z] Login Succeeded [2021-10-08T17:47:41.701Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:47:41.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:47:41.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:47:41.963Z] Configure a credential helper to remove this warning. See [2021-10-08T17:47:41.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:47:41.963Z] [2021-10-08T17:47:41.963Z] Login Succeeded [2021-10-08T17:47:41.963Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:47:41.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:47:42.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:47:42.226Z] Configure a credential helper to remove this warning. See [2021-10-08T17:47:42.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:47:42.226Z] [2021-10-08T17:47:42.226Z] Login Succeeded [2021-10-08T17:47:42.226Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:47:42.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:47:42.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:47:42.226Z] Configure a credential helper to remove this warning. See [2021-10-08T17:47:42.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:47:42.226Z] [2021-10-08T17:47:42.226Z] Login Succeeded [2021-10-08T17:47:42.226Z] docker.io [2021-10-08T17:47:42.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:47:42.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:47:42.800Z] Configure a credential helper to remove this warning. See [2021-10-08T17:47:42.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:47:42.800Z] [2021-10-08T17:47:42.800Z] Login Succeeded [2021-10-08T17:47:42.800Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:47:42.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T17:47:42.964Z] ========================================================= [2021-10-08T17:47:42.964Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-08T17:47:42.964Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:47:43.288Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-08T17:47:43.288Z] Sending build context to Docker daemon 2.659MB [2021-10-08T17:47:43.288Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:47:43.288Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-08T17:47:43.288Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-08T17:47:43.288Z] 4e9f2cdf4387: Pulling fs layer [2021-10-08T17:47:43.288Z] 57d31006c564: Pulling fs layer [2021-10-08T17:47:43.288Z] bd5ccded8296: Pulling fs layer [2021-10-08T17:47:43.288Z] 304dd3a0f381: Pulling fs layer [2021-10-08T17:47:43.288Z] d37cda54a23b: Pulling fs layer [2021-10-08T17:47:43.288Z] bae75c0f2455: Pulling fs layer [2021-10-08T17:47:43.288Z] 806579b3d29a: Pulling fs layer [2021-10-08T17:47:43.288Z] c77eb801bf70: Pulling fs layer [2021-10-08T17:47:43.288Z] 6d0567d44e1a: Pulling fs layer [2021-10-08T17:47:43.288Z] 304dd3a0f381: Waiting [2021-10-08T17:47:43.288Z] d37cda54a23b: Waiting [2021-10-08T17:47:43.288Z] bae75c0f2455: Waiting [2021-10-08T17:47:43.288Z] 806579b3d29a: Waiting [2021-10-08T17:47:43.288Z] c77eb801bf70: Waiting [2021-10-08T17:47:43.288Z] 6d0567d44e1a: Waiting [2021-10-08T17:47:43.569Z] bd5ccded8296: Verifying Checksum [2021-10-08T17:47:43.569Z] bd5ccded8296: Download complete [2021-10-08T17:47:43.569Z] 57d31006c564: Verifying Checksum [2021-10-08T17:47:43.569Z] 57d31006c564: Download complete [2021-10-08T17:47:43.569Z] d37cda54a23b: Verifying Checksum [2021-10-08T17:47:43.569Z] d37cda54a23b: Download complete [2021-10-08T17:47:43.569Z] bae75c0f2455: Verifying Checksum [2021-10-08T17:47:43.569Z] bae75c0f2455: Download complete [2021-10-08T17:47:43.569Z] 4e9f2cdf4387: Verifying Checksum [2021-10-08T17:47:43.569Z] 4e9f2cdf4387: Download complete [2021-10-08T17:47:43.569Z] 806579b3d29a: Verifying Checksum [2021-10-08T17:47:43.569Z] 806579b3d29a: Download complete [2021-10-08T17:47:43.569Z] c77eb801bf70: Verifying Checksum [2021-10-08T17:47:43.569Z] c77eb801bf70: Download complete [2021-10-08T17:47:43.848Z] 4e9f2cdf4387: Pull complete [2021-10-08T17:47:44.113Z] 304dd3a0f381: Verifying Checksum [2021-10-08T17:47:44.114Z] 304dd3a0f381: Download complete [2021-10-08T17:47:44.114Z] 57d31006c564: Pull complete [2021-10-08T17:47:44.114Z] 6d0567d44e1a: Verifying Checksum [2021-10-08T17:47:44.114Z] 6d0567d44e1a: Download complete [2021-10-08T17:47:44.114Z] bd5ccded8296: Pull complete [2021-10-08T17:47:48.362Z] 304dd3a0f381: Pull complete [2021-10-08T17:47:48.362Z] d37cda54a23b: Pull complete [2021-10-08T17:47:48.362Z] bae75c0f2455: Pull complete [2021-10-08T17:47:48.362Z] 806579b3d29a: Pull complete [2021-10-08T17:47:48.362Z] c77eb801bf70: Pull complete [2021-10-08T17:47:50.940Z] 6d0567d44e1a: Pull complete [2021-10-08T17:47:50.940Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-08T17:47:50.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-08T17:47:50.940Z] ---> e839a31ac9d1 [2021-10-08T17:47:50.940Z] Step 3/10 : ARG MAKE=make build [2021-10-08T17:47:52.329Z] ---> Running in 6aadf74730a8 [2021-10-08T17:47:52.329Z] Removing intermediate container 6aadf74730a8 [2021-10-08T17:47:52.329Z] ---> 393359e857f9 [2021-10-08T17:47:52.329Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-08T17:47:52.329Z] ---> Running in 115a0556cda2 [2021-10-08T17:47:52.329Z] Removing intermediate container 115a0556cda2 [2021-10-08T17:47:52.329Z] ---> edbbd195e324 [2021-10-08T17:47:52.329Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:47:52.329Z] ---> Running in 5be44d131877 [2021-10-08T17:47:52.329Z] Removing intermediate container 5be44d131877 [2021-10-08T17:47:52.329Z] ---> a8f1d1199ace [2021-10-08T17:47:52.329Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:47:52.329Z] ---> Running in 141ffa7c48d9 [2021-10-08T17:47:52.901Z] Removing intermediate container 141ffa7c48d9 [2021-10-08T17:47:52.901Z] ---> ea8204329a8e [2021-10-08T17:47:52.901Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:47:52.901Z] ---> Running in c5e1ff5b7332 [2021-10-08T17:47:53.168Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:47:54.114Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:47:54.381Z] OK: 219 MiB in 52 packages [2021-10-08T17:47:54.642Z] Removing intermediate container c5e1ff5b7332 [2021-10-08T17:47:54.642Z] ---> a05df46cc598 [2021-10-08T17:47:54.642Z] Step 8/10 : COPY . . [2021-10-08T17:47:54.917Z] ---> 75e7e8c66662 [2021-10-08T17:47:54.917Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:47:54.917Z] ---> Running in aca1ab48a648 [2021-10-08T17:48:25.632Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-106 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-08T17:48:25.644Z] Running in /w/workspace/device-sdk-go/14 [Pipeline] { [Pipeline] checkout [2021-10-08T17:48:25.873Z] Selected Git installation does not exist. Using Default [2021-10-08T17:48:25.873Z] The recommended git tool is: NONE [2021-10-08T17:48:27.128Z] Removing intermediate container aca1ab48a648 [2021-10-08T17:48:27.128Z] ---> bc1efcae5f2c [2021-10-08T17:48:27.128Z] Step 10/10 : RUN ${MAKE} [2021-10-08T17:48:27.128Z] ---> Running in 2a70873c1262 [2021-10-08T17:48:27.128Z] noop [2021-10-08T17:48:27.128Z] Removing intermediate container 2a70873c1262 [2021-10-08T17:48:27.128Z] ---> dc37395d7a1a [2021-10-08T17:48:27.128Z] Successfully built dc37395d7a1a [2021-10-08T17:48:27.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:48:27.429Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T17:48:27.429Z] . [Pipeline] withDockerContainer [2021-10-08T17:48:27.495Z] prd-centos7-docker-4c-2g-108 does not seem to be running inside a container [2021-10-08T17:48:27.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-08T17:48:27.911Z] $ docker top d4c73deb95dfdd5c5e5d06032095bf4fb95c039aa041c0fca7015a827f518b08 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T17:48:28.290Z] + go version [2021-10-08T17:48:28.291Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-08T17:48:28.302Z] $ docker stop --time=1 d4c73deb95dfdd5c5e5d06032095bf4fb95c039aa041c0fca7015a827f518b08 [2021-10-08T17:48:29.479Z] $ docker rm -f d4c73deb95dfdd5c5e5d06032095bf4fb95c039aa041c0fca7015a827f518b08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:48:29.919Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-08T17:48:29.919Z] . [Pipeline] withDockerContainer [2021-10-08T17:48:29.988Z] prd-centos7-docker-4c-2g-108 does not seem to be running inside a container [2021-10-08T17:48:30.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-08T17:48:30.507Z] $ docker top 373bb062249cab905a6a33e5de19cea65e23660752ee68e81bff2e719fc3fa72 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T17:48:30.868Z] + make test [2021-10-08T17:48:30.868Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T17:48:32.436Z] using credential edgex-jenkins-ssh [2021-10-08T17:48:32.468Z] Cloning the remote Git repository [2021-10-08T17:48:32.547Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:48:32.668Z] > git init /w/workspace/device-sdk-go/14 # timeout=10 [2021-10-08T17:48:32.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-08T17:48:32.761Z] > git --version # timeout=10 [2021-10-08T17:48:32.794Z] > git --version # 'git version 2.17.1' [2021-10-08T17:48:32.796Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-08T17:48:32.910Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:48:34.521Z] Avoid second fetch [2021-10-08T17:48:34.522Z] Checking out Revision 95a9d1abedb9d7c119ffb1f24142991202c879de (main) [2021-10-08T17:48:34.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-08T17:48:34.500Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-08T17:48:34.550Z] > git config core.sparsecheckout # timeout=10 [2021-10-08T17:48:34.568Z] > git checkout -f 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-08T17:48:36.200Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T17:48:39.217Z] Commit message: "Merge pull request #1030 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:48:39.601Z] provisioning config files... [2021-10-08T17:48:39.640Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/14@tmp/config7186106219334268602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:48:40.295Z] ---> docker-login.sh [2021-10-08T17:48:40.295Z] nexus3.edgexfoundry.org:10001 [2021-10-08T17:48:41.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:48:42.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:48:42.050Z] Configure a credential helper to remove this warning. See [2021-10-08T17:48:42.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:48:42.050Z] [2021-10-08T17:48:42.050Z] Login Succeeded [2021-10-08T17:48:42.050Z] nexus3.edgexfoundry.org:10002 [2021-10-08T17:48:42.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:48:42.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:48:42.682Z] Configure a credential helper to remove this warning. See [2021-10-08T17:48:42.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:48:42.682Z] [2021-10-08T17:48:42.682Z] Login Succeeded [2021-10-08T17:48:42.682Z] nexus3.edgexfoundry.org:10003 [2021-10-08T17:48:42.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:48:43.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:48:43.253Z] Configure a credential helper to remove this warning. See [2021-10-08T17:48:43.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:48:43.253Z] [2021-10-08T17:48:43.253Z] Login Succeeded [2021-10-08T17:48:43.253Z] nexus3.edgexfoundry.org:10004 [2021-10-08T17:48:43.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:48:43.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:48:43.861Z] Configure a credential helper to remove this warning. See [2021-10-08T17:48:43.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:48:43.861Z] [2021-10-08T17:48:43.861Z] Login Succeeded [2021-10-08T17:48:43.861Z] docker.io [2021-10-08T17:48:44.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-08T17:48:44.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-08T17:48:44.754Z] Configure a credential helper to remove this warning. See [2021-10-08T17:48:44.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-08T17:48:44.754Z] [2021-10-08T17:48:44.754Z] Login Succeeded [2021-10-08T17:48:44.754Z] ---> docker-login.sh ends [Pipeline] } [2021-10-08T17:48:44.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-08T17:48:45.194Z] ========================================================= [2021-10-08T17:48:45.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-08T17:48:45.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:48:45.563Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-08T17:48:46.176Z] Sending build context to Docker daemon 2.669MB [2021-10-08T17:48:46.176Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:48:46.176Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-08T17:48:46.176Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-08T17:48:46.176Z] bbf911997326: Pulling fs layer [2021-10-08T17:48:46.176Z] 58ec367f63d7: Pulling fs layer [2021-10-08T17:48:46.176Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-08T17:48:46.176Z] fc5181fea5dc: Pulling fs layer [2021-10-08T17:48:46.176Z] 9c418107303f: Pulling fs layer [2021-10-08T17:48:46.176Z] 284eca6f2348: Pulling fs layer [2021-10-08T17:48:46.176Z] 842844d905b1: Pulling fs layer [2021-10-08T17:48:46.176Z] 901a3a57568e: Pulling fs layer [2021-10-08T17:48:46.176Z] 284eca6f2348: Waiting [2021-10-08T17:48:46.176Z] 842844d905b1: Waiting [2021-10-08T17:48:46.176Z] fc5181fea5dc: Waiting [2021-10-08T17:48:46.176Z] 901a3a57568e: Waiting [2021-10-08T17:48:46.176Z] 9c418107303f: Waiting [2021-10-08T17:48:46.459Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-08T17:48:46.459Z] 1b4a6ffa7d45: Download complete [2021-10-08T17:48:46.459Z] 58ec367f63d7: Download complete [2021-10-08T17:48:46.459Z] 9c418107303f: Download complete [2021-10-08T17:48:46.459Z] 284eca6f2348: Verifying Checksum [2021-10-08T17:48:46.459Z] 284eca6f2348: Download complete [2021-10-08T17:48:46.459Z] 842844d905b1: Verifying Checksum [2021-10-08T17:48:46.459Z] 842844d905b1: Download complete [2021-10-08T17:48:46.459Z] bbf911997326: Download complete [2021-10-08T17:48:47.471Z] bbf911997326: Pull complete [2021-10-08T17:48:48.110Z] 58ec367f63d7: Pull complete [2021-10-08T17:48:48.390Z] 1b4a6ffa7d45: Pull complete [2021-10-08T17:48:48.390Z] 901a3a57568e: Verifying Checksum [2021-10-08T17:48:48.390Z] 901a3a57568e: Download complete [2021-10-08T17:48:49.004Z] fc5181fea5dc: Verifying Checksum [2021-10-08T17:48:49.004Z] fc5181fea5dc: Download complete [2021-10-08T17:48:58.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T17:48:58.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T17:48:58.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T17:48:59.225Z] fc5181fea5dc: Pull complete [2021-10-08T17:48:59.225Z] 9c418107303f: Pull complete [2021-10-08T17:48:59.505Z] 284eca6f2348: Pull complete [2021-10-08T17:49:00.107Z] 842844d905b1: Pull complete [2021-10-08T17:49:00.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.057s coverage: 23.7% of statements [2021-10-08T17:49:00.878Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T17:49:00.878Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 28.1% of statements [2021-10-08T17:49:01.155Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements [2021-10-08T17:49:01.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 9.0% of statements [2021-10-08T17:49:01.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T17:49:01.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T17:49:01.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T17:49:02.382Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-10-08T17:49:02.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T17:49:03.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-10-08T17:49:03.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T17:49:03.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T17:49:03.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-10-08T17:49:04.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.809s coverage: 89.0% of statements [2021-10-08T17:49:04.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T17:49:04.739Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-10-08T17:49:04.739Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T17:49:04.739Z] GO111MODULE=on go vet ./... [2021-10-08T17:49:06.942Z] 901a3a57568e: Pull complete [2021-10-08T17:49:06.942Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-08T17:49:06.942Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-08T17:49:06.942Z] ---> 72ade6ffb461 [2021-10-08T17:49:06.942Z] Step 3/10 : ARG MAKE=make build [2021-10-08T17:49:11.316Z] ---> Running in 8706d09935f0 [2021-10-08T17:49:11.595Z] Removing intermediate container 8706d09935f0 [2021-10-08T17:49:11.595Z] ---> c85adf935ce4 [2021-10-08T17:49:11.595Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-08T17:49:11.897Z] ---> Running in 23102a257df9 [2021-10-08T17:49:12.504Z] Removing intermediate container 23102a257df9 [2021-10-08T17:49:12.504Z] ---> 7a73795ade5b [2021-10-08T17:49:12.504Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:49:12.504Z] ---> Running in 3965a19412d0 [2021-10-08T17:49:13.109Z] Removing intermediate container 3965a19412d0 [2021-10-08T17:49:13.109Z] ---> be66973db78c [2021-10-08T17:49:13.109Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:49:13.389Z] ---> Running in 421a7b9d262d [2021-10-08T17:49:16.066Z] Removing intermediate container 421a7b9d262d [2021-10-08T17:49:16.066Z] ---> 0c7ecd55cd0d [2021-10-08T17:49:16.066Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:49:16.346Z] ---> Running in c9bbc0ad56e4 [2021-10-08T17:49:17.808Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:49:18.411Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:49:19.406Z] OK: 218 MiB in 52 packages [2021-10-08T17:49:20.397Z] Removing intermediate container c9bbc0ad56e4 [2021-10-08T17:49:20.397Z] ---> c7d10dbf8fe1 [2021-10-08T17:49:20.397Z] Step 8/10 : COPY . . [2021-10-08T17:49:21.867Z] ---> ea0f650b78ac [2021-10-08T17:49:21.867Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:49:21.867Z] ---> Running in 18be291a7d0a [2021-10-08T17:49:22.918Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-08T17:49:22.918Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-08T17:49:22.918Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-08T17:49:22.928Z] $ docker stop --time=1 373bb062249cab905a6a33e5de19cea65e23660752ee68e81bff2e719fc3fa72 [2021-10-08T17:49:24.376Z] $ docker rm -f 373bb062249cab905a6a33e5de19cea65e23660752ee68e81bff2e719fc3fa72 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:49:24.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T17:49:25.009Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-08T17:49:26.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T17:49:26.576Z] + ls -al . [2021-10-08T17:49:26.576Z] total 264 [2021-10-08T17:49:26.576Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 8 17:49 . [2021-10-08T17:49:26.576Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 8 17:47 .. [2021-10-08T17:49:26.576Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 8 17:47 bin [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 8 17:47 CHANGELOG.md [2021-10-08T17:49:26.576Z] -rw-r--r--. 1 jenkins jenkins 126160 Oct 8 17:49 coverage.out [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 8 17:47 .dockerignore [2021-10-08T17:49:26.576Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 8 17:47 example [2021-10-08T17:49:26.576Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 8 17:47 .git [2021-10-08T17:49:26.576Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 8 17:47 .github [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 8 17:47 .gitignore [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 8 17:47 go.mod [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 8 17:47 go.sum [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 8 17:47 GOVERNANCE.md [2021-10-08T17:49:26.576Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 8 17:47 internal [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 8 17:47 Jenkinsfile [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 8 17:47 LICENSE [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 8 17:47 Makefile [2021-10-08T17:49:26.576Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 8 17:47 openapi [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 8 17:47 OWNERS.md [2021-10-08T17:49:26.576Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 8 17:47 pkg [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 8 17:47 README.md [2021-10-08T17:49:26.576Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 8 17:47 snap [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 8 17:45 VERSION [2021-10-08T17:49:26.576Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 8 17:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:49:26.881Z] + 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=95a9d1abedb9d7c119ffb1f24142991202c879de --label arch=amd64 --label version=2.0.1-dev.15 . [2021-10-08T17:49:26.881Z] Sending build context to Docker daemon 2.786MB [2021-10-08T17:49:26.881Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:49:26.881Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-08T17:49:26.881Z] ---> dc37395d7a1a [2021-10-08T17:49:26.881Z] Step 3/24 : ARG MAKE=make build [2021-10-08T17:49:26.881Z] ---> Running in 05926d3f40a3 [2021-10-08T17:49:27.154Z] Removing intermediate container 05926d3f40a3 [2021-10-08T17:49:27.154Z] ---> fa01367aba0e [2021-10-08T17:49:27.154Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-08T17:49:27.154Z] ---> Running in e6aa73ce4357 [2021-10-08T17:49:27.154Z] Removing intermediate container e6aa73ce4357 [2021-10-08T17:49:27.154Z] ---> 88bb14ded1b7 [2021-10-08T17:49:27.154Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:49:27.154Z] ---> Running in ad4e1d29a654 [2021-10-08T17:49:27.154Z] Removing intermediate container ad4e1d29a654 [2021-10-08T17:49:27.154Z] ---> 0bbbc3602423 [2021-10-08T17:49:27.154Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:49:27.154Z] ---> Running in e68f3a7d0e05 [2021-10-08T17:49:27.729Z] Removing intermediate container e68f3a7d0e05 [2021-10-08T17:49:27.729Z] ---> dd6a5dcafedf [2021-10-08T17:49:27.729Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:49:27.729Z] ---> Running in be1037902037 [2021-10-08T17:49:27.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:49:28.930Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:49:29.191Z] OK: 219 MiB in 52 packages [2021-10-08T17:49:29.452Z] Removing intermediate container be1037902037 [2021-10-08T17:49:29.452Z] ---> 362dab0ec51a [2021-10-08T17:49:29.452Z] Step 8/24 : COPY . . [2021-10-08T17:49:29.716Z] ---> 126a040e6546 [2021-10-08T17:49:29.716Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:49:29.716Z] ---> Running in 9fa235e30f43 [2021-10-08T17:49:29.976Z] Removing intermediate container 9fa235e30f43 [2021-10-08T17:49:29.976Z] ---> 8b5fd46a83a4 [2021-10-08T17:49:29.976Z] Step 10/24 : RUN ${MAKE} [2021-10-08T17:49:30.239Z] ---> Running in 972c87af024c [2021-10-08T17:49:30.509Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-08T17:49:40.622Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T17:49:41.568Z] Removing intermediate container 972c87af024c [2021-10-08T17:49:41.568Z] ---> 7a1d1ecec7a3 [2021-10-08T17:49:41.568Z] Step 11/24 : FROM alpine:3.14 [2021-10-08T17:49:42.144Z] 3.14: Pulling from library/alpine [2021-10-08T17:49:42.144Z] a0d0a0d46f8b: Pulling fs layer [2021-10-08T17:49:42.403Z] a0d0a0d46f8b: Verifying Checksum [2021-10-08T17:49:42.403Z] a0d0a0d46f8b: Download complete [2021-10-08T17:49:42.662Z] a0d0a0d46f8b: Pull complete [2021-10-08T17:49:42.662Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T17:49:42.662Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T17:49:42.662Z] ---> 14119a10abf4 [2021-10-08T17:49:42.662Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:49:42.662Z] ---> Running in f5063d79a5a1 [2021-10-08T17:49:42.662Z] Removing intermediate container f5063d79a5a1 [2021-10-08T17:49:42.662Z] ---> 774b6c9c3280 [2021-10-08T17:49:42.662Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:49:42.662Z] ---> Running in 3e3fd0f1db25 [2021-10-08T17:49:43.245Z] Removing intermediate container 3e3fd0f1db25 [2021-10-08T17:49:43.245Z] ---> bbd868a5e22b [2021-10-08T17:49:43.245Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-08T17:49:43.245Z] ---> Running in 5ad1506ed264 [2021-10-08T17:49:43.506Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-08T17:49:44.449Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-08T17:49:44.709Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T17:49:44.709Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T17:49:44.969Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T17:49:44.969Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T17:49:44.969Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T17:49:45.227Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T17:49:45.227Z] OK: 8 MiB in 19 packages [2021-10-08T17:49:45.496Z] Removing intermediate container 5ad1506ed264 [2021-10-08T17:49:45.496Z] ---> 374e53552906 [2021-10-08T17:49:45.496Z] Step 15/24 : WORKDIR / [2021-10-08T17:49:45.496Z] ---> Running in bb18559e7470 [2021-10-08T17:49:45.496Z] Removing intermediate container bb18559e7470 [2021-10-08T17:49:45.496Z] ---> cad169f56484 [2021-10-08T17:49:45.496Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T17:49:45.496Z] ---> a18eff7311c3 [2021-10-08T17:49:45.496Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T17:49:46.075Z] ---> 162b4ae51275 [2021-10-08T17:49:46.075Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T17:49:46.075Z] ---> 99549a1a6436 [2021-10-08T17:49:46.075Z] Step 19/24 : EXPOSE 59999 [2021-10-08T17:49:46.075Z] ---> Running in 9b37c0c85663 [2021-10-08T17:49:46.075Z] Removing intermediate container 9b37c0c85663 [2021-10-08T17:49:46.075Z] ---> 6c904ce1f69f [2021-10-08T17:49:46.075Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-08T17:49:46.335Z] ---> Running in 7e3bf25b3e28 [2021-10-08T17:49:46.335Z] Removing intermediate container 7e3bf25b3e28 [2021-10-08T17:49:46.335Z] ---> 3e7aa7db3eb1 [2021-10-08T17:49:46.335Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T17:49:46.335Z] ---> Running in d593896da3a8 [2021-10-08T17:49:46.335Z] Removing intermediate container d593896da3a8 [2021-10-08T17:49:46.335Z] ---> 1cb80c8e691f [2021-10-08T17:49:46.335Z] Step 22/24 : LABEL arch=amd64 [2021-10-08T17:49:46.335Z] ---> Running in 6a19408a9202 [2021-10-08T17:49:46.599Z] Removing intermediate container 6a19408a9202 [2021-10-08T17:49:46.599Z] ---> daf0b2290c5a [2021-10-08T17:49:46.599Z] Step 23/24 : LABEL git_sha=95a9d1abedb9d7c119ffb1f24142991202c879de [2021-10-08T17:49:46.599Z] ---> Running in 22e75be81ff4 [2021-10-08T17:49:46.599Z] Removing intermediate container 22e75be81ff4 [2021-10-08T17:49:46.599Z] ---> 67c8a4db0131 [2021-10-08T17:49:46.599Z] Step 24/24 : LABEL version=2.0.1-dev.15 [2021-10-08T17:49:46.599Z] ---> Running in e63f1c7384c5 [2021-10-08T17:49:46.599Z] Removing intermediate container e63f1c7384c5 [2021-10-08T17:49:46.599Z] ---> f260ed301c66 [2021-10-08T17:49:46.599Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T17:49:46.599Z] Successfully built f260ed301c66 [2021-10-08T17:49:46.599Z] 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 [2021-10-08T17:49:47.210Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:49:47.210Z] [2021-10-08T17:49:47.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:49:47.514Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:49:47.514Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T17:49:47.514Z] b4d181a07f80: Pulling fs layer [2021-10-08T17:49:47.514Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T17:49:47.514Z] ed53099fbce6: Pulling fs layer [2021-10-08T17:49:47.514Z] dc539afda2c1: Pulling fs layer [2021-10-08T17:49:47.514Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T17:49:47.514Z] 9065ff56babe: Pulling fs layer [2021-10-08T17:49:47.514Z] d287ab97295c: Pulling fs layer [2021-10-08T17:49:47.514Z] dc539afda2c1: Waiting [2021-10-08T17:49:47.514Z] 77bc0d833cb6: Waiting [2021-10-08T17:49:47.514Z] 9065ff56babe: Waiting [2021-10-08T17:49:47.514Z] d287ab97295c: Waiting [2021-10-08T17:49:47.514Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T17:49:47.514Z] a1111a8f2ec3: Download complete [2021-10-08T17:49:47.514Z] dc539afda2c1: Verifying Checksum [2021-10-08T17:49:47.514Z] dc539afda2c1: Download complete [2021-10-08T17:49:47.514Z] ed53099fbce6: Verifying Checksum [2021-10-08T17:49:47.514Z] ed53099fbce6: Download complete [2021-10-08T17:49:47.514Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T17:49:47.514Z] 77bc0d833cb6: Download complete [2021-10-08T17:49:47.514Z] 9065ff56babe: Verifying Checksum [2021-10-08T17:49:47.514Z] 9065ff56babe: Download complete [2021-10-08T17:49:47.787Z] b4d181a07f80: Verifying Checksum [2021-10-08T17:49:47.787Z] b4d181a07f80: Download complete [2021-10-08T17:49:48.372Z] d287ab97295c: Verifying Checksum [2021-10-08T17:49:48.372Z] d287ab97295c: Download complete [2021-10-08T17:49:48.948Z] b4d181a07f80: Pull complete [2021-10-08T17:49:49.212Z] a1111a8f2ec3: Pull complete [2021-10-08T17:49:49.798Z] ed53099fbce6: Pull complete [2021-10-08T17:49:49.798Z] dc539afda2c1: Pull complete [2021-10-08T17:49:50.068Z] 77bc0d833cb6: Pull complete [2021-10-08T17:49:50.332Z] 9065ff56babe: Pull complete [2021-10-08T17:49:55.643Z] d287ab97295c: Pull complete [2021-10-08T17:49:55.643Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T17:49:55.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:49:55.643Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T17:49:55.710Z] prd-centos7-docker-4c-2g-108 does not seem to be running inside a container [2021-10-08T17:49:55.748Z] $ 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/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-08T17:49:57.922Z] $ docker top 9b57c442ab5c26f74d0aaba2139d514b37ed5a01f66c73ad75ecded29efd2647 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:49:58.374Z] ---> job-cost.sh [2021-10-08T17:49:58.374Z] lf-activate-venv: SKIPPING [2021-10-08T17:49:58.374Z] INFO: No Stack... [2021-10-08T17:49:58.636Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T17:49:58.899Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T17:49:59.193Z] + cat /w/workspace/device-sdk-go/14/archives/cost.csv [2021-10-08T17:49:59.193Z] + cut -d, -f6 [Pipeline] lock [2021-10-08T17:49:59.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [2021-10-08T17:49:59.227Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] did not exist. Created. [2021-10-08T17:49:59.227Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T17:49:59.531Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-08T17:49:59.584Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T17:49:59.593Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T17:49:59.611Z] $ docker stop --time=1 9b57c442ab5c26f74d0aaba2139d514b37ed5a01f66c73ad75ecded29efd2647 [2021-10-08T17:50:00.744Z] $ docker rm -f 9b57c442ab5c26f74d0aaba2139d514b37ed5a01f66c73ad75ecded29efd2647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-08T17:50:43.797Z] Removing intermediate container 18be291a7d0a [2021-10-08T17:50:43.797Z] ---> ad5e831143b8 [2021-10-08T17:50:43.797Z] Step 10/10 : RUN ${MAKE} [2021-10-08T17:50:43.797Z] ---> Running in 24b47187b9da [2021-10-08T17:50:43.797Z] noop [2021-10-08T17:50:43.797Z] Removing intermediate container 24b47187b9da [2021-10-08T17:50:43.797Z] ---> 1ddc4e0d939a [2021-10-08T17:50:43.797Z] Successfully built 1ddc4e0d939a [2021-10-08T17:50:43.797Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:50:44.166Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T17:50:44.167Z] . [Pipeline] withDockerContainer [2021-10-08T17:50:44.425Z] prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container [2021-10-08T17:50:44.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2021-10-08T17:50:46.056Z] $ docker top 67ae5f6c2f2812006d75d758bae02beaf1c732ec4e08c21e005f89199119407e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T17:50:47.034Z] + go version [2021-10-08T17:50:47.034Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-08T17:50:47.061Z] $ docker stop --time=1 67ae5f6c2f2812006d75d758bae02beaf1c732ec4e08c21e005f89199119407e [2021-10-08T17:50:48.919Z] $ docker rm -f 67ae5f6c2f2812006d75d758bae02beaf1c732ec4e08c21e005f89199119407e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:50:49.626Z] + docker inspect -f . ci-base-image-arm64 [2021-10-08T17:50:49.627Z] . [Pipeline] withDockerContainer [2021-10-08T17:50:49.873Z] prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container [2021-10-08T17:50:49.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2021-10-08T17:50:51.557Z] $ docker top 4afb1fc715a5290038fc701b99ac7d5b1b3e92d678e0598617fe6aebed59a0bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-08T17:50:52.574Z] + make test [2021-10-08T17:50:52.574Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-08T17:51:19.499Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-08T17:52:27.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-08T17:52:27.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-08T17:52:27.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-08T17:52:40.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.313s coverage: 23.7% of statements [2021-10-08T17:52:40.202Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-08T17:52:40.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.210s coverage: 28.1% of statements [2021-10-08T17:52:40.202Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.250s coverage: 78.9% of statements [2021-10-08T17:52:40.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.208s coverage: 9.0% of statements [2021-10-08T17:52:40.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-08T17:52:40.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-08T17:52:40.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-08T17:52:40.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 28.7% of statements [2021-10-08T17:52:40.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-08T17:52:40.765Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.315s coverage: 83.3% of statements [2021-10-08T17:52:40.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-08T17:52:40.765Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-08T17:52:41.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.378s coverage: 57.8% of statements [2021-10-08T17:52:46.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.187s coverage: 89.0% of statements [2021-10-08T17:52:46.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-08T17:52:46.846Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.221s coverage: 4.9% of statements [2021-10-08T17:52:46.846Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-08T17:52:46.846Z] GO111MODULE=on go vet ./... [2021-10-08T17:53:55.037Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-08T17:53:55.037Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-08T17:53:55.037Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-08T17:53:55.054Z] $ docker stop --time=1 4afb1fc715a5290038fc701b99ac7d5b1b3e92d678e0598617fe6aebed59a0bc [2021-10-08T17:53:56.958Z] $ docker rm -f 4afb1fc715a5290038fc701b99ac7d5b1b3e92d678e0598617fe6aebed59a0bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-08T17:53:58.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-08T17:53:58.141Z] Warning: overwriting stash ‘coverage-report’ [2021-10-08T17:53:58.851Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-08T17:53:59.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-08T17:53:59.726Z] + ls -al . [2021-10-08T17:53:59.726Z] total 300 [2021-10-08T17:53:59.726Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 17:53 . [2021-10-08T17:53:59.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:48 .. [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 8 17:48 .dockerignore [2021-10-08T17:53:59.726Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 17:48 .git [2021-10-08T17:53:59.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:48 .github [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 8 17:48 .gitignore [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 8 17:48 CHANGELOG.md [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 17:48 GOVERNANCE.md [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 8 17:48 Jenkinsfile [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 8 17:48 LICENSE [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 8 17:48 Makefile [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 8 17:48 OWNERS.md [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 8 17:48 README.md [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 8 17:45 VERSION [2021-10-08T17:53:59.726Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 17:48 bin [2021-10-08T17:53:59.726Z] -rw-r--r-- 1 jenkins jenkins 126160 Oct 8 17:52 coverage.out [2021-10-08T17:53:59.726Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:48 example [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 8 17:48 go.mod [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 8 17:48 go.sum [2021-10-08T17:53:59.726Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 8 17:48 internal [2021-10-08T17:53:59.726Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 17:48 openapi [2021-10-08T17:53:59.726Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 8 17:48 pkg [2021-10-08T17:53:59.726Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 17:48 snap [2021-10-08T17:53:59.726Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 8 17:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:54:00.078Z] + 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=95a9d1abedb9d7c119ffb1f24142991202c879de --label arch=arm64 --label version=2.0.1-dev.15 . [2021-10-08T17:54:00.354Z] Sending build context to Docker daemon 2.796MB [2021-10-08T17:54:00.629Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-08T17:54:00.629Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-08T17:54:00.629Z] ---> 1ddc4e0d939a [2021-10-08T17:54:00.629Z] Step 3/24 : ARG MAKE=make build [2021-10-08T17:54:00.629Z] ---> Running in 4a368f6fba7b [2021-10-08T17:54:01.241Z] Removing intermediate container 4a368f6fba7b [2021-10-08T17:54:01.241Z] ---> c2dd929421a0 [2021-10-08T17:54:01.241Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-08T17:54:01.241Z] ---> Running in 2e5c3a784cfb [2021-10-08T17:54:01.868Z] Removing intermediate container 2e5c3a784cfb [2021-10-08T17:54:01.868Z] ---> a6f9f94ca677 [2021-10-08T17:54:01.868Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:54:01.868Z] ---> Running in 4194e3a5b660 [2021-10-08T17:54:02.478Z] Removing intermediate container 4194e3a5b660 [2021-10-08T17:54:02.478Z] ---> 7c7d852c6969 [2021-10-08T17:54:02.478Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:54:02.762Z] ---> Running in 54a60d24de7a [2021-10-08T17:54:04.826Z] Removing intermediate container 54a60d24de7a [2021-10-08T17:54:04.826Z] ---> a3e53c28f9de [2021-10-08T17:54:04.826Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-08T17:54:05.108Z] ---> Running in 69be73057d3e [2021-10-08T17:54:06.565Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:54:07.572Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:54:08.578Z] OK: 218 MiB in 52 packages [2021-10-08T17:54:09.585Z] Removing intermediate container 69be73057d3e [2021-10-08T17:54:09.585Z] ---> 4be7d4bdda9b [2021-10-08T17:54:09.585Z] Step 8/24 : COPY . . [2021-10-08T17:54:11.042Z] ---> f8cc0125fdf6 [2021-10-08T17:54:11.042Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-08T17:54:11.042Z] ---> Running in 3b9950bf71a8 [2021-10-08T17:54:13.703Z] Removing intermediate container 3b9950bf71a8 [2021-10-08T17:54:13.703Z] ---> 73a615970f71 [2021-10-08T17:54:13.703Z] Step 10/24 : RUN ${MAKE} [2021-10-08T17:54:13.703Z] ---> Running in 2dfdfece573b [2021-10-08T17:54:15.169Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.15" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-08T17:54:54.385Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-08T17:54:57.038Z] Removing intermediate container 2dfdfece573b [2021-10-08T17:54:57.038Z] ---> 7a03cda5c262 [2021-10-08T17:54:57.038Z] Step 11/24 : FROM alpine:3.14 [2021-10-08T17:54:57.317Z] 3.14: Pulling from library/alpine [2021-10-08T17:54:57.596Z] 552d1f2373af: Pulling fs layer [2021-10-08T17:54:57.876Z] 552d1f2373af: Verifying Checksum [2021-10-08T17:54:57.876Z] 552d1f2373af: Download complete [2021-10-08T17:54:58.488Z] 552d1f2373af: Pull complete [2021-10-08T17:54:58.488Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-08T17:54:58.488Z] Status: Downloaded newer image for alpine:3.14 [2021-10-08T17:54:58.488Z] ---> bb3de5531c18 [2021-10-08T17:54:58.488Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-08T17:54:58.779Z] ---> Running in cc0a79335176 [2021-10-08T17:54:59.395Z] Removing intermediate container cc0a79335176 [2021-10-08T17:54:59.395Z] ---> ca256c7ce326 [2021-10-08T17:54:59.395Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-08T17:54:59.680Z] ---> Running in 2ab4853dc1e9 [2021-10-08T17:55:02.364Z] Removing intermediate container 2ab4853dc1e9 [2021-10-08T17:55:02.364Z] ---> fcc6df8b55e3 [2021-10-08T17:55:02.364Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-08T17:55:02.364Z] ---> Running in 6ba09c9e585f [2021-10-08T17:55:03.836Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-08T17:55:04.835Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-08T17:55:05.851Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-08T17:55:05.851Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-08T17:55:06.133Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-08T17:55:06.413Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-08T17:55:06.413Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-08T17:55:06.696Z] Executing busybox-1.33.1-r3.trigger [2021-10-08T17:55:06.696Z] OK: 8 MiB in 19 packages [2021-10-08T17:55:08.159Z] Removing intermediate container 6ba09c9e585f [2021-10-08T17:55:08.160Z] ---> 7dcbaf192839 [2021-10-08T17:55:08.160Z] Step 15/24 : WORKDIR / [2021-10-08T17:55:08.160Z] ---> Running in ffe4182883c4 [2021-10-08T17:55:08.764Z] Removing intermediate container ffe4182883c4 [2021-10-08T17:55:08.764Z] ---> 583cf9b4961a [2021-10-08T17:55:08.764Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-08T17:55:09.370Z] ---> 1d3b65f84af2 [2021-10-08T17:55:09.370Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-08T17:55:10.828Z] ---> 6e9a9d7d76bf [2021-10-08T17:55:10.828Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-08T17:55:11.439Z] ---> 0f8894872eb8 [2021-10-08T17:55:11.439Z] Step 19/24 : EXPOSE 59999 [2021-10-08T17:55:11.439Z] ---> Running in e7f61d18358e [2021-10-08T17:55:12.052Z] Removing intermediate container e7f61d18358e [2021-10-08T17:55:12.052Z] ---> 27172e7c71b2 [2021-10-08T17:55:12.052Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-08T17:55:12.052Z] ---> Running in cf4b114d8b2e [2021-10-08T17:55:12.658Z] Removing intermediate container cf4b114d8b2e [2021-10-08T17:55:12.658Z] ---> 6052c400e34a [2021-10-08T17:55:12.658Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-08T17:55:12.658Z] ---> Running in 28bbad5bfec4 [2021-10-08T17:55:13.262Z] Removing intermediate container 28bbad5bfec4 [2021-10-08T17:55:13.262Z] ---> 86387d4a91b4 [2021-10-08T17:55:13.262Z] Step 22/24 : LABEL arch=arm64 [2021-10-08T17:55:13.262Z] ---> Running in 982ff96f31b8 [2021-10-08T17:55:13.869Z] Removing intermediate container 982ff96f31b8 [2021-10-08T17:55:13.869Z] ---> 87932b02456b [2021-10-08T17:55:13.869Z] Step 23/24 : LABEL git_sha=95a9d1abedb9d7c119ffb1f24142991202c879de [2021-10-08T17:55:13.869Z] ---> Running in 1da7d701afa8 [2021-10-08T17:55:14.478Z] Removing intermediate container 1da7d701afa8 [2021-10-08T17:55:14.478Z] ---> ad01c5d36d9e [2021-10-08T17:55:14.478Z] Step 24/24 : LABEL version=2.0.1-dev.15 [2021-10-08T17:55:14.478Z] ---> Running in c65860623780 [2021-10-08T17:55:15.094Z] Removing intermediate container c65860623780 [2021-10-08T17:55:15.094Z] ---> be81ae98055c [2021-10-08T17:55:15.094Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-08T17:55:15.094Z] Successfully built be81ae98055c [2021-10-08T17:55:15.094Z] 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 [2021-10-08T17:55:15.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:55:15.931Z] [2021-10-08T17:55:15.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:55:16.315Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:55:16.596Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-08T17:55:16.596Z] 448f6bf000e3: Pulling fs layer [2021-10-08T17:55:16.596Z] f757da607395: Pulling fs layer [2021-10-08T17:55:16.596Z] 05883995daec: Pulling fs layer [2021-10-08T17:55:16.596Z] 8603b9c90790: Pulling fs layer [2021-10-08T17:55:16.596Z] 1560dd03e051: Pulling fs layer [2021-10-08T17:55:16.596Z] 27f5ce0e4adf: Pulling fs layer [2021-10-08T17:55:16.596Z] c2d8d7efcc4b: Pulling fs layer [2021-10-08T17:55:16.596Z] 8603b9c90790: Waiting [2021-10-08T17:55:16.596Z] 1560dd03e051: Waiting [2021-10-08T17:55:16.596Z] 27f5ce0e4adf: Waiting [2021-10-08T17:55:16.596Z] c2d8d7efcc4b: Waiting [2021-10-08T17:55:16.877Z] f757da607395: Verifying Checksum [2021-10-08T17:55:16.877Z] f757da607395: Download complete [2021-10-08T17:55:16.877Z] 8603b9c90790: Download complete [2021-10-08T17:55:16.877Z] 05883995daec: Verifying Checksum [2021-10-08T17:55:16.877Z] 05883995daec: Download complete [2021-10-08T17:55:16.877Z] 27f5ce0e4adf: Download complete [2021-10-08T17:55:17.157Z] 1560dd03e051: Verifying Checksum [2021-10-08T17:55:17.157Z] 1560dd03e051: Download complete [2021-10-08T17:55:17.157Z] 448f6bf000e3: Verifying Checksum [2021-10-08T17:55:17.157Z] 448f6bf000e3: Download complete [2021-10-08T17:55:19.812Z] c2d8d7efcc4b: Verifying Checksum [2021-10-08T17:55:19.812Z] c2d8d7efcc4b: Download complete [2021-10-08T17:55:20.804Z] 448f6bf000e3: Pull complete [2021-10-08T17:55:21.411Z] f757da607395: Pull complete [2021-10-08T17:55:23.416Z] 05883995daec: Pull complete [2021-10-08T17:55:23.416Z] 8603b9c90790: Pull complete [2021-10-08T17:55:24.419Z] 1560dd03e051: Pull complete [2021-10-08T17:55:24.700Z] 27f5ce0e4adf: Pull complete [2021-10-08T17:55:39.854Z] c2d8d7efcc4b: Pull complete [2021-10-08T17:55:39.854Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-08T17:55:39.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-08T17:55:39.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-08T17:55:40.112Z] prd-ubuntu18.04-docker-arm64-4c-16g-106 does not seem to be running inside a container [2021-10-08T17:55:40.219Z] $ 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/14 -v /w/workspace/device-sdk-go/14:/w/workspace/device-sdk-go/14:rw,z -v /w/workspace/device-sdk-go/14@tmp:/w/workspace/device-sdk-go/14@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 [2021-10-08T17:55:44.758Z] $ docker top 42fb93706c95980f237fce5111436488874fc354dd9aabcc3e41536e6909b466 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:55:45.743Z] ---> job-cost.sh [2021-10-08T17:55:45.743Z] lf-activate-venv: SKIPPING [2021-10-08T17:55:45.743Z] INFO: No Stack... [2021-10-08T17:55:46.350Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-08T17:55:47.804Z] INFO: Archiving Costs [Pipeline] sh [2021-10-08T17:55:48.493Z] + + cut -d, -f6 [2021-10-08T17:55:48.493Z] cat /w/workspace/device-sdk-go/14/archives/cost.csv [Pipeline] lock [2021-10-08T17:55:48.576Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [2021-10-08T17:55:48.582Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] did not exist. Created. [2021-10-08T17:55:48.582Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-08T17:55:49.300Z] /w/workspace/device-sdk-go/14@tmp/durable-15d52e8a/script.sh: 1: /w/workspace/device-sdk-go/14@tmp/durable-15d52e8a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-08T17:55:49.999Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-08T17:55:50.024Z] Warning: overwriting stash ‘stack-cost’ [2021-10-08T17:55:50.099Z] Stashed 1 file(s) [Pipeline] } [2021-10-08T17:55:50.107Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-08T17:55:50.119Z] $ docker stop --time=1 42fb93706c95980f237fce5111436488874fc354dd9aabcc3e41536e6909b466 [2021-10-08T17:55:51.807Z] $ docker rm -f 42fb93706c95980f237fce5111436488874fc354dd9aabcc3e41536e6909b466 [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 [2021-10-08T17:55:52.581Z] provisioning config files... [2021-10-08T17:55:52.595Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4099072316564215655tmp [Pipeline] { [Pipeline] sh [2021-10-08T17:55:52.905Z] + set +x [2021-10-08T17:55:52.905Z] + bash -s -- [2021-10-08T17:55:52.905Z] + curl -s https://codecov.io/bash [2021-10-08T17:55:52.905Z] [2021-10-08T17:55:52.905Z] _____ _ [2021-10-08T17:55:52.905Z] / ____| | | [2021-10-08T17:55:52.905Z] | | ___ __| | ___ ___ _____ __ [2021-10-08T17:55:52.905Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-08T17:55:52.905Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-08T17:55:52.905Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-08T17:55:52.905Z] Bash-1.0.6 [2021-10-08T17:55:52.905Z] [2021-10-08T17:55:52.905Z] [2021-10-08T17:55:52.905Z] ==> git version 2.24.4 found [2021-10-08T17:55:52.905Z] ==> 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 [2021-10-08T17:55:52.905Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-08T17:55:52.905Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-08T17:55:52.905Z] ==> Jenkins CI detected. [2021-10-08T17:55:52.905Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:55:52.905Z] project root: . [2021-10-08T17:55:52.905Z] --> token set from env [2021-10-08T17:55:52.905Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-08T17:55:53.167Z] ==> Running gcov in . (disable via -X gcov) [2021-10-08T17:55:53.167Z] ==> Python coveragepy not found [2021-10-08T17:55:53.167Z] ==> Searching for coverage reports in: [2021-10-08T17:55:53.167Z] + . [2021-10-08T17:55:53.167Z] -> Found 1 reports [2021-10-08T17:55:53.167Z] ==> Detecting git/mercurial file structure [2021-10-08T17:55:53.167Z] ==> Reading reports [2021-10-08T17:55:53.167Z] + ./coverage.out bytes=126160 [2021-10-08T17:55:53.167Z] ==> Appending adjustments [2021-10-08T17:55:53.167Z] https://docs.codecov.io/docs/fixing-reports [2021-10-08T17:55:53.429Z] + Found adjustments [2021-10-08T17:55:53.429Z] ==> Gzipping contents [2021-10-08T17:55:53.429Z] 16K /tmp/codecov.zS6mwG.gz [2021-10-08T17:55:53.429Z] ==> Uploading reports [2021-10-08T17:55:53.429Z] url: https://codecov.io [2021-10-08T17:55:53.429Z] query: branch=main&commit=95a9d1abedb9d7c119ffb1f24142991202c879de&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-08T17:55:53.429Z] -> Pinging Codecov [2021-10-08T17:55:53.429Z] 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=95a9d1abedb9d7c119ffb1f24142991202c879de&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-08T17:55:53.691Z] -> Uploading to [2021-10-08T17:55:53.691Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-08/7E55EF52A471D76F132DFD9A03CDDE97/95a9d1abedb9d7c119ffb1f24142991202c879de/92596dc6-3afd-46b0-98da-b78171b436e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211008%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211008T175553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=00a5d606e16f2e326cce3ffb5df17b74994548c1e99feab22431f7e7ca1b290a [2021-10-08T17:55:53.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-08T17:55:53.691Z] Dload Upload Total Spent Left Speed [2021-10-08T17:55:53.953Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16055 0 0 100 16055 0 53370 --:--:-- --:--:-- --:--:-- 53516 [2021-10-08T17:55:53.953Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/95a9d1abedb9d7c119ffb1f24142991202c879de [Pipeline] } [2021-10-08T17:55:53.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-08T17:55:54.348Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-08T17:55:54.361Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:55:54.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-08T17:55:54.655Z] [2021-10-08T17:55:54.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:55:54.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-08T17:55:54.968Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-08T17:55:54.968Z] 188c0c94c7c5: Pulling fs layer [2021-10-08T17:55:54.968Z] 0ef7d3d256c8: Pulling fs layer [2021-10-08T17:55:54.968Z] de9db76c5a1d: Pulling fs layer [2021-10-08T17:55:54.968Z] 0eba1c9be4d2: Pulling fs layer [2021-10-08T17:55:54.968Z] 0d57e429df01: Pulling fs layer [2021-10-08T17:55:54.968Z] 4e4be7b47b0d: Pulling fs layer [2021-10-08T17:55:54.968Z] e1f770b5df2f: Pulling fs layer [2021-10-08T17:55:54.968Z] 85a0685a4137: Pulling fs layer [2021-10-08T17:55:54.968Z] 0eba1c9be4d2: Waiting [2021-10-08T17:55:54.968Z] 0d57e429df01: Waiting [2021-10-08T17:55:54.968Z] 4e4be7b47b0d: Waiting [2021-10-08T17:55:54.968Z] e1f770b5df2f: Waiting [2021-10-08T17:55:54.968Z] 85a0685a4137: Waiting [2021-10-08T17:55:54.968Z] de9db76c5a1d: Verifying Checksum [2021-10-08T17:55:54.968Z] de9db76c5a1d: Download complete [2021-10-08T17:55:54.968Z] 0ef7d3d256c8: Verifying Checksum [2021-10-08T17:55:54.968Z] 0ef7d3d256c8: Download complete [2021-10-08T17:55:54.968Z] 0d57e429df01: Verifying Checksum [2021-10-08T17:55:54.968Z] 0d57e429df01: Download complete [2021-10-08T17:55:54.968Z] 4e4be7b47b0d: Verifying Checksum [2021-10-08T17:55:54.968Z] 4e4be7b47b0d: Download complete [2021-10-08T17:55:54.968Z] 188c0c94c7c5: Verifying Checksum [2021-10-08T17:55:54.968Z] 188c0c94c7c5: Download complete [2021-10-08T17:55:55.236Z] e1f770b5df2f: Verifying Checksum [2021-10-08T17:55:55.236Z] e1f770b5df2f: Download complete [2021-10-08T17:55:55.500Z] 188c0c94c7c5: Pull complete [2021-10-08T17:55:55.761Z] 0eba1c9be4d2: Verifying Checksum [2021-10-08T17:55:55.761Z] 0eba1c9be4d2: Download complete [2021-10-08T17:55:55.761Z] 0ef7d3d256c8: Pull complete [2021-10-08T17:55:55.761Z] 85a0685a4137: Verifying Checksum [2021-10-08T17:55:55.761Z] 85a0685a4137: Download complete [2021-10-08T17:55:55.761Z] de9db76c5a1d: Pull complete [2021-10-08T17:56:00.019Z] 0eba1c9be4d2: Pull complete [2021-10-08T17:56:00.019Z] 0d57e429df01: Pull complete [2021-10-08T17:56:00.019Z] 4e4be7b47b0d: Pull complete [2021-10-08T17:56:00.019Z] e1f770b5df2f: Pull complete [2021-10-08T17:56:03.365Z] 85a0685a4137: Pull complete [2021-10-08T17:56:03.365Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-08T17:56:03.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-08T17:56:03.365Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-08T17:56:03.427Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:03.473Z] $ 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 [2021-10-08T17:56:05.234Z] $ docker top 575e01eafdb3d9e9397eb519ab623d3e918a77e642a699ea4f10090cce1732ed -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-08T17:56:05.301Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-08T17:56:05.581Z] + set -o pipefail [2021-10-08T17:56:05.581Z] + snyk monitor '--org=edgex-jenkins' [2021-10-08T17:56:12.180Z] [2021-10-08T17:56:12.180Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-08T17:56:12.180Z] [2021-10-08T17:56:12.180Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/c992ed7b-38fe-4148-8be1-c91d6343de23 [2021-10-08T17:56:12.180Z] [2021-10-08T17:56:12.180Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-08T17:56:12.180Z] [2021-10-08T17:56:12.180Z] [2021-10-08T17:56:12.180Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-08T17:56:12.180Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-08T17:56:12.194Z] $ docker stop --time=1 575e01eafdb3d9e9397eb519ab623d3e918a77e642a699ea4f10090cce1732ed [2021-10-08T17:56:13.953Z] $ docker rm -f 575e01eafdb3d9e9397eb519ab623d3e918a77e642a699ea4f10090cce1732ed [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 [2021-10-08T17:56:14.512Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:56:14.521Z] provisioning config files... [2021-10-08T17:56:14.532Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8444999375412636829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:14.833Z] --> edgex-publish-swagger.sh [2021-10-08T17:56:14.833Z] === Publish openapi/v2 API === [2021-10-08T17:56:14.833Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-08T17:56:14.833Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-08T17:56:14.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-08T17:56:14.833Z] Dload Upload Total Spent Left Speed [2021-10-08T17:56:15.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 62554 --:--:-- --:--:-- --:--:-- 62557 100 51485 0 0 100 51485 0 62542 --:--:-- --:--:-- --:--:-- 62557 [2021-10-08T17:56:15.774Z] [2021-10-08T17:56:15.774Z] [Pipeline] } [2021-10-08T17:56:15.782Z] 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 [2021-10-08T17:56:16.191Z] + git log --format=format:%s -1 95a9d1abedb9d7c119ffb1f24142991202c879de [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:16.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:56:16.487Z] . [Pipeline] withDockerContainer [2021-10-08T17:56:16.557Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:16.594Z] $ 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 [2021-10-08T17:56:16.949Z] $ docker top aec8b7b8ea87bece7eabae3ee6b2993d96dd1c955a79ef75e4c90f4b321db2fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T17:56:17.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:56:17.050Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:56:17.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:56:17.177Z] $ docker exec aec8b7b8ea87bece7eabae3ee6b2993d96dd1c955a79ef75e4c90f4b321db2fe ssh-agent [2021-10-08T17:56:17.295Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGoONmC/agent.14 [2021-10-08T17:56:17.295Z] SSH_AGENT_PID=20 [2021-10-08T17:56:17.300Z] Running ssh-add (command line suppressed) [2021-10-08T17:56:17.398Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4584764784325247141.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4584764784325247141.key) [2021-10-08T17:56:17.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:56:17.702Z] + git semver tag [2021-10-08T17:56:17.702Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T17:56:17.702Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-08T17:56:17.702Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:56:17.702Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T17:56:17.702Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T17:56:17.702Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T17:56:17.702Z] # $SEMVER_BRANCH = main [2021-10-08T17:56:17.702Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-08T17:56:17.702Z] # 95a9d1abedb9d7c119ffb1f24142991202c879de HEAD [2021-10-08T17:56:17.702Z] # -> Force: false [2021-10-08T17:56:17.702Z] # 324b1403c7381027c9176814e39079f42f8625b6 refs/tags/v2.0.1-dev.15 [Pipeline] } [2021-10-08T17:56:17.714Z] $ docker exec --env ******** --env ******** aec8b7b8ea87bece7eabae3ee6b2993d96dd1c955a79ef75e4c90f4b321db2fe ssh-agent -k [2021-10-08T17:56:17.826Z] unset SSH_AUTH_SOCK; [2021-10-08T17:56:17.826Z] unset SSH_AGENT_PID; [2021-10-08T17:56:17.826Z] echo Agent pid 20 killed; [2021-10-08T17:56:17.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T17:56:18.143Z] + git semver [Pipeline] } [2021-10-08T17:56:18.160Z] $ docker stop --time=1 aec8b7b8ea87bece7eabae3ee6b2993d96dd1c955a79ef75e4c90f4b321db2fe [2021-10-08T17:56:19.343Z] $ docker rm -f aec8b7b8ea87bece7eabae3ee6b2993d96dd1c955a79ef75e4c90f4b321db2fe [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:19.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-08T17:56:19.721Z] [2021-10-08T17:56:19.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:20.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-08T17:56:20.029Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-08T17:56:20.029Z] ab5ef0e58194: Pulling fs layer [2021-10-08T17:56:20.029Z] 9712f1f96733: Pulling fs layer [2021-10-08T17:56:20.029Z] 63f879dbbcfc: Pulling fs layer [2021-10-08T17:56:20.029Z] 0d9ebad4ef96: Pulling fs layer [2021-10-08T17:56:20.029Z] e9a5061849ea: Pulling fs layer [2021-10-08T17:56:20.029Z] d747dcd14b5f: Pulling fs layer [2021-10-08T17:56:20.029Z] 2de7ff778b66: Pulling fs layer [2021-10-08T17:56:20.029Z] e9a5061849ea: Waiting [2021-10-08T17:56:20.029Z] d747dcd14b5f: Waiting [2021-10-08T17:56:20.029Z] 2de7ff778b66: Waiting [2021-10-08T17:56:20.029Z] 0d9ebad4ef96: Waiting [2021-10-08T17:56:20.029Z] 9712f1f96733: Verifying Checksum [2021-10-08T17:56:20.029Z] 9712f1f96733: Download complete [2021-10-08T17:56:20.297Z] 63f879dbbcfc: Verifying Checksum [2021-10-08T17:56:20.297Z] 63f879dbbcfc: Download complete [2021-10-08T17:56:20.559Z] ab5ef0e58194: Verifying Checksum [2021-10-08T17:56:20.559Z] ab5ef0e58194: Download complete [2021-10-08T17:56:20.559Z] d747dcd14b5f: Verifying Checksum [2021-10-08T17:56:20.559Z] d747dcd14b5f: Download complete [2021-10-08T17:56:20.559Z] e9a5061849ea: Verifying Checksum [2021-10-08T17:56:20.559Z] e9a5061849ea: Download complete [2021-10-08T17:56:20.559Z] 0d9ebad4ef96: Verifying Checksum [2021-10-08T17:56:20.559Z] 0d9ebad4ef96: Download complete [2021-10-08T17:56:20.559Z] 2de7ff778b66: Verifying Checksum [2021-10-08T17:56:20.559Z] 2de7ff778b66: Download complete [2021-10-08T17:56:23.900Z] ab5ef0e58194: Pull complete [2021-10-08T17:56:23.900Z] 9712f1f96733: Pull complete [2021-10-08T17:56:24.162Z] 63f879dbbcfc: Pull complete [2021-10-08T17:56:28.388Z] 0d9ebad4ef96: Pull complete [2021-10-08T17:56:28.649Z] e9a5061849ea: Pull complete [2021-10-08T17:56:28.649Z] d747dcd14b5f: Pull complete [2021-10-08T17:56:30.036Z] 2de7ff778b66: Pull complete [2021-10-08T17:56:30.036Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-08T17:56:30.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-08T17:56:30.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-08T17:56:30.107Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:30.152Z] $ 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 [2021-10-08T17:56:33.201Z] $ docker top 6e0483a37aa1e48c573f6bc2d18d4e7f904371bf8f45c4736376d39950ffdd3f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:56:33.284Z] provisioning config files... [2021-10-08T17:56:33.293Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2855507755979283276tmp [2021-10-08T17:56:33.306Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config109654430832317961tmp [2021-10-08T17:56:33.319Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1053466961420519434tmp [Pipeline] { [Pipeline] echo [2021-10-08T17:56:33.338Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:33.635Z] ---> sigul-configuration.sh [2021-10-08T17:56:33.635Z] gpg: directory `/root/.gnupg' created [2021-10-08T17:56:33.635Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-08T17:56:33.635Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-08T17:56:33.635Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-08T17:56:33.635Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-08T17:56:33.635Z] gpg: CAST5 encrypted data [2021-10-08T17:56:33.635Z] gpg: encrypted with 1 passphrase [2021-10-08T17:56:33.635Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-08T17:56:33.936Z] + mkdir /home/jenkins [2021-10-08T17:56:33.936Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-08T17:56:34.233Z] + 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 [2021-10-08T17:56:34.244Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:34.538Z] ---> sigul-install.sh [2021-10-08T17:56:34.538Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-08T17:56:34.832Z] + git tag --list [2021-10-08T17:56:34.832Z] 0.7.1 [2021-10-08T17:56:34.833Z] delhi-tag [2021-10-08T17:56:34.833Z] v1.0.0 [2021-10-08T17:56:34.833Z] v1.1.0 [2021-10-08T17:56:34.833Z] v1.1.1 [2021-10-08T17:56:34.833Z] v1.1.2 [2021-10-08T17:56:34.833Z] v1.2.0 [2021-10-08T17:56:34.833Z] v1.2.1 [2021-10-08T17:56:34.833Z] v1.2.2 [2021-10-08T17:56:34.833Z] v1.2.3 [2021-10-08T17:56:34.833Z] v1.3.0 [2021-10-08T17:56:34.833Z] v1.4.0 [2021-10-08T17:56:34.833Z] v2.0.0 [2021-10-08T17:56:34.833Z] v2.0.1-dev.1 [2021-10-08T17:56:34.833Z] v2.0.1-dev.10 [2021-10-08T17:56:34.833Z] v2.0.1-dev.11 [2021-10-08T17:56:34.833Z] v2.0.1-dev.12 [2021-10-08T17:56:34.833Z] v2.0.1-dev.13 [2021-10-08T17:56:34.833Z] v2.0.1-dev.14 [2021-10-08T17:56:34.833Z] v2.0.1-dev.15 [2021-10-08T17:56:34.833Z] v2.0.1-dev.2 [2021-10-08T17:56:34.833Z] v2.0.1-dev.3 [2021-10-08T17:56:34.833Z] v2.0.1-dev.4 [2021-10-08T17:56:34.833Z] v2.0.1-dev.5 [2021-10-08T17:56:34.833Z] v2.0.1-dev.6 [2021-10-08T17:56:34.833Z] v2.0.1-dev.7 [2021-10-08T17:56:34.833Z] v2.0.1-dev.8 [2021-10-08T17:56:34.833Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-08T17:56:35.125Z] + lftools sign git-tag v2.0.1-dev.15 [2021-10-08T17:56:35.706Z] Signing Git tag with Sigul... [2021-10-08T17:56:35.706Z] Signing v2.0.1-dev.15 [Pipeline] echo [2021-10-08T17:56:36.661Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:36.950Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-08T17:56:36.958Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-08T17:56:36.977Z] $ docker stop --time=1 6e0483a37aa1e48c573f6bc2d18d4e7f904371bf8f45c4736376d39950ffdd3f [2021-10-08T17:56:38.163Z] $ docker rm -f 6e0483a37aa1e48c573f6bc2d18d4e7f904371bf8f45c4736376d39950ffdd3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:38.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:56:38.752Z] . [Pipeline] withDockerContainer [2021-10-08T17:56:38.819Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:38.861Z] $ 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 [2021-10-08T17:56:39.206Z] $ docker top 2a9b1126f063fa6b4974234dd8fd503233bc25867acf7f4f0911ba70811a91da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T17:56:39.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:56:39.290Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:56:39.387Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:56:39.391Z] $ docker exec 2a9b1126f063fa6b4974234dd8fd503233bc25867acf7f4f0911ba70811a91da ssh-agent [2021-10-08T17:56:39.486Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNfhjOI/agent.14 [2021-10-08T17:56:39.486Z] SSH_AGENT_PID=20 [2021-10-08T17:56:39.492Z] Running ssh-add (command line suppressed) [2021-10-08T17:56:39.599Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6882470097707954015.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6882470097707954015.key) [2021-10-08T17:56:39.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:56:39.904Z] + git semver bump pre [2021-10-08T17:56:39.904Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T17:56:39.904Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-08T17:56:39.904Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:56:39.904Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T17:56:39.904Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T17:56:39.904Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T17:56:39.904Z] # $SEMVER_BRANCH = main [2021-10-08T17:56:39.904Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-08T17:56:39.904Z] 2.0.1-dev.16 [Pipeline] } [2021-10-08T17:56:39.915Z] $ docker exec --env ******** --env ******** 2a9b1126f063fa6b4974234dd8fd503233bc25867acf7f4f0911ba70811a91da ssh-agent -k [2021-10-08T17:56:39.998Z] unset SSH_AUTH_SOCK; [2021-10-08T17:56:39.999Z] unset SSH_AGENT_PID; [2021-10-08T17:56:39.999Z] echo Agent pid 20 killed; [2021-10-08T17:56:40.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T17:56:40.318Z] + git semver [Pipeline] } [2021-10-08T17:56:40.334Z] $ docker stop --time=1 2a9b1126f063fa6b4974234dd8fd503233bc25867acf7f4f0911ba70811a91da [2021-10-08T17:56:41.523Z] $ docker rm -f 2a9b1126f063fa6b4974234dd8fd503233bc25867acf7f4f0911ba70811a91da [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:41.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-08T17:56:41.869Z] . [Pipeline] withDockerContainer [2021-10-08T17:56:41.934Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:41.976Z] $ 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 [2021-10-08T17:56:42.349Z] $ docker top 86e68b10eb9133ce9cb5a0d7583af37bcff15db838d0fc6f3ba75ce07dee6442 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-08T17:56:42.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-08T17:56:42.424Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-08T17:56:42.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-08T17:56:42.526Z] $ docker exec 86e68b10eb9133ce9cb5a0d7583af37bcff15db838d0fc6f3ba75ce07dee6442 ssh-agent [2021-10-08T17:56:42.616Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmNBCgJ/agent.13 [2021-10-08T17:56:42.616Z] SSH_AGENT_PID=20 [2021-10-08T17:56:42.621Z] Running ssh-add (command line suppressed) [2021-10-08T17:56:42.708Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7851547763868080936.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7851547763868080936.key) [2021-10-08T17:56:42.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-08T17:56:43.010Z] + git semver push [2021-10-08T17:56:43.010Z] # -> Open(): unable to determine branch for HEAD [2021-10-08T17:56:43.010Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-08T17:56:43.010Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:56:43.010Z] # $SEMVER_REMOTE_NAME = origin [2021-10-08T17:56:43.010Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-08T17:56:43.010Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-08T17:56:43.010Z] # $SEMVER_BRANCH = main [2021-10-08T17:56:43.010Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-08T17:56:45.558Z] $ docker exec --env ******** --env ******** 86e68b10eb9133ce9cb5a0d7583af37bcff15db838d0fc6f3ba75ce07dee6442 ssh-agent -k [2021-10-08T17:56:45.671Z] unset SSH_AUTH_SOCK; [2021-10-08T17:56:45.671Z] unset SSH_AGENT_PID; [2021-10-08T17:56:45.671Z] echo Agent pid 20 killed; [2021-10-08T17:56:45.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-08T17:56:45.992Z] + git semver [Pipeline] } [2021-10-08T17:56:46.006Z] $ docker stop --time=1 86e68b10eb9133ce9cb5a0d7583af37bcff15db838d0fc6f3ba75ce07dee6442 [2021-10-08T17:56:47.182Z] $ docker rm -f 86e68b10eb9133ce9cb5a0d7583af37bcff15db838d0fc6f3ba75ce07dee6442 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-08T17:56:47.957Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:48.257Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:56:48.814Z] ---> package-listing.sh [2021-10-08T17:56:48.814Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-08T17:56:48.814Z] ++ facter osfamily [2021-10-08T17:56:49.076Z] + OS_FAMILY=redhat [2021-10-08T17:56:49.076Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-08T17:56:49.076Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-08T17:56:49.076Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-08T17:56:49.076Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-08T17:56:49.076Z] + PACKAGES=/tmp/packages_start.txt [2021-10-08T17:56:49.076Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-08T17:56:49.076Z] + PACKAGES=/tmp/packages_end.txt [2021-10-08T17:56:49.076Z] + case "${OS_FAMILY}" in [2021-10-08T17:56:49.076Z] + sort [2021-10-08T17:56:49.076Z] + rpm -qa [2021-10-08T17:56:49.650Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-08T17:56:49.650Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-08T17:56:49.650Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-08T17:56:49.650Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-08T17:56:49.650Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-08T17:56:49.650Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-10-08T17:56:49.663Z] 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 [2021-10-08T17:56:49.945Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:50.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:56:50.501Z] [2021-10-08T17:56:50.501Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-08T17:56:50.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:56:50.804Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-08T17:56:50.804Z] b4d181a07f80: Pulling fs layer [2021-10-08T17:56:50.804Z] a1111a8f2ec3: Pulling fs layer [2021-10-08T17:56:50.804Z] ed53099fbce6: Pulling fs layer [2021-10-08T17:56:50.804Z] dc539afda2c1: Pulling fs layer [2021-10-08T17:56:50.804Z] 77bc0d833cb6: Pulling fs layer [2021-10-08T17:56:50.804Z] 9065ff56babe: Pulling fs layer [2021-10-08T17:56:50.804Z] d287ab97295c: Pulling fs layer [2021-10-08T17:56:50.804Z] 77bc0d833cb6: Waiting [2021-10-08T17:56:50.804Z] 9065ff56babe: Waiting [2021-10-08T17:56:50.804Z] d287ab97295c: Waiting [2021-10-08T17:56:50.804Z] dc539afda2c1: Waiting [2021-10-08T17:56:50.804Z] a1111a8f2ec3: Verifying Checksum [2021-10-08T17:56:50.804Z] a1111a8f2ec3: Download complete [2021-10-08T17:56:50.804Z] dc539afda2c1: Verifying Checksum [2021-10-08T17:56:50.804Z] dc539afda2c1: Download complete [2021-10-08T17:56:50.804Z] ed53099fbce6: Verifying Checksum [2021-10-08T17:56:50.804Z] ed53099fbce6: Download complete [2021-10-08T17:56:50.804Z] 9065ff56babe: Verifying Checksum [2021-10-08T17:56:50.804Z] 9065ff56babe: Download complete [2021-10-08T17:56:50.804Z] 77bc0d833cb6: Verifying Checksum [2021-10-08T17:56:50.804Z] 77bc0d833cb6: Download complete [2021-10-08T17:56:51.068Z] b4d181a07f80: Verifying Checksum [2021-10-08T17:56:51.068Z] b4d181a07f80: Download complete [2021-10-08T17:56:51.645Z] d287ab97295c: Verifying Checksum [2021-10-08T17:56:51.645Z] d287ab97295c: Download complete [2021-10-08T17:56:52.622Z] b4d181a07f80: Pull complete [2021-10-08T17:56:52.622Z] a1111a8f2ec3: Pull complete [2021-10-08T17:56:53.193Z] ed53099fbce6: Pull complete [2021-10-08T17:56:53.193Z] dc539afda2c1: Pull complete [2021-10-08T17:56:53.452Z] 77bc0d833cb6: Pull complete [2021-10-08T17:56:53.452Z] 9065ff56babe: Pull complete [2021-10-08T17:56:58.791Z] d287ab97295c: Pull complete [2021-10-08T17:56:58.791Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-08T17:56:58.791Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-08T17:56:58.791Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-08T17:56:58.851Z] prd-centos7-docker-4c-2g-103 does not seem to be running inside a container [2021-10-08T17:56:58.885Z] $ 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 [2021-10-08T17:57:01.003Z] $ docker top 3da994a79869d8cb825af3724cc26f96abe618f5a848fc315cdb1dd1248e917d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-08T17:57:01.363Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-08T17:57:01.654Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-08T17:57:01.947Z] + ls /var/log/sa-host [2021-10-08T17:57:01.947Z] + sadf -c /var/log/sa-host/sa08 [2021-10-08T17:57:01.947Z] file_magic: OK [2021-10-08T17:57:01.947Z] HZ: Using current value: 100 [2021-10-08T17:57:01.947Z] file_header: OK [2021-10-08T17:57:01.947Z] 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 [2021-10-08T17:57:01.947Z] Statistics: [2021-10-08T17:57:01.947Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T17:57:01.947Z] File successfully converted to sysstat format version 12.0.3 [2021-10-08T17:57:01.948Z] + sadf -c /var/log/sa-host/sa30 [2021-10-08T17:57:01.948Z] file_magic: OK [2021-10-08T17:57:01.948Z] HZ: Using current value: 100 [2021-10-08T17:57:01.948Z] file_header: OK [2021-10-08T17:57:01.948Z] 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 [2021-10-08T17:57:01.948Z] Statistics: [2021-10-08T17:57:01.948Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-08T17:57:01.948Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-08T17:57:02.052Z] provisioning config files... [2021-10-08T17:57:02.062Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5414364283001498291tmp [Pipeline] { [Pipeline] echo [2021-10-08T17:57:02.075Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:57:02.370Z] ---> create-netrc.sh [Pipeline] } [2021-10-08T17:57:02.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:57:02.715Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-08T17:57:02.726Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:57:03.019Z] ---> sudo-logs.sh [2021-10-08T17:57:03.019Z] Archiving 'sudo' log.. [2021-10-08T17:57:03.590Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-103.novalocal: Name or service not known [2021-10-08T17:57:03.590Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-103.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-08T17:57:03.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:57:03.918Z] ---> job-cost.sh [2021-10-08T17:57:03.918Z] lf-activate-venv: SKIPPING [2021-10-08T17:57:03.918Z] DEBUG: total: 0.10999999940395355 [2021-10-08T17:57:03.918Z] INFO: Retrieving Stack Cost... [2021-10-08T17:57:12.053Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-08T17:57:12.053Z] INFO: Archiving Costs [Pipeline] echo [2021-10-08T17:57:12.064Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-08T17:57:12.356Z] ---> logs-deploy.sh [2021-10-08T17:57:12.356Z] lf-activate-venv: SKIPPING [2021-10-08T17:57:12.356Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/14 [2021-10-08T17:57:12.356Z] INFO: archiving workspace using pattern(s): [2021-10-08T17:57:12.926Z] Archives upload complete. [2021-10-08T17:57:13.187Z] INFO: archiving logs to Nexus