Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6aaea41e142bdf99866ea5b9b70145e1b0b11551 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-ssh4144046521877127949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh58362620309753511.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh7352719134288712731.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh5610612850554142082.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-ssh914713527454356015.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13324 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-ssh3832678081965308462.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 6aaea41e142bdf99866ea5b9b70145e1b0b11551 (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 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 Commit message: "Merge pull request #1049 from lenny-intel/latest-go-mods" > git rev-list --no-walk 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T23:00:24.170Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T23:00:24.196Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T23:00:24.204Z] ========================================================= [2021-10-28T23:00:24.204Z] EdgeX Global Pipelines Version Info [2021-10-28T23:00:24.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:00:25.363Z] ------------------- [2021-10-28T23:00:25.363Z] stable info: [2021-10-28T23:00:25.363Z] ------------------- [2021-10-28T23:00:25.363Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T23:00:25.363Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:00:25.363Z] Message: update stable to v1.0.210 [2021-10-28T23:00:26.309Z] ------------------- [2021-10-28T23:00:26.309Z] experimental info: [2021-10-28T23:00:26.309Z] ------------------- [2021-10-28T23:00:26.309Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T23:00:26.309Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T23:00:26.309Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T23:00:26.395Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-28T23:00:26.406Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-28T23:00:26.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T23:00:26.425Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T23:00:26.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T23:00:26.444Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T23:00:26.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T23:00:26.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-28T23:00:26.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T23:00:26.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T23:00:26.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T23:00:26.498Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-28T23:00:26.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T23:00:26.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T23:00:26.528Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:00:26.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:00:26.599Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:00:26.610Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:00:26.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T23:00:26.623Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T23:00:26.630Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T23:00:26.637Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T23:00:26.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T23:00:26.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T23:00:26.659Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T23:00:26.675Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T23:00:26.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-28T23:00:26.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-28T23:00:26.717Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-28T23:00:26.729Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6aaea41e142bdf99866ea5b9b70145e1b0b11551 [Pipeline] echo [2021-10-28T23:00:26.739Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6aaea41 [Pipeline] echo [2021-10-28T23:00:26.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:00:26.784Z] provisioning config files... [2021-10-28T23:00:26.798Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5229848094055627223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:00:27.108Z] ---> docker-login.sh [2021-10-28T23:00:27.108Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:00:27.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:00:27.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:00:27.372Z] Configure a credential helper to remove this warning. See [2021-10-28T23:00:27.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:00:27.372Z] [2021-10-28T23:00:27.372Z] Login Succeeded [2021-10-28T23:00:27.372Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:00:27.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:00:27.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:00:27.373Z] Configure a credential helper to remove this warning. See [2021-10-28T23:00:27.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:00:27.373Z] [2021-10-28T23:00:27.373Z] Login Succeeded [2021-10-28T23:00:27.373Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:00:27.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:00:27.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:00:27.632Z] Configure a credential helper to remove this warning. See [2021-10-28T23:00:27.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:00:27.632Z] [2021-10-28T23:00:27.632Z] Login Succeeded [2021-10-28T23:00:27.632Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:00:27.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:00:27.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:00:27.632Z] Configure a credential helper to remove this warning. See [2021-10-28T23:00:27.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:00:27.632Z] [2021-10-28T23:00:27.632Z] Login Succeeded [2021-10-28T23:00:27.632Z] docker.io [2021-10-28T23:00:27.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:00:28.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:00:28.204Z] Configure a credential helper to remove this warning. See [2021-10-28T23:00:28.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:00:28.204Z] [2021-10-28T23:00:28.204Z] Login Succeeded [2021-10-28T23:00:28.204Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:00:28.212Z] 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-28T23:00:28.730Z] + git log --format=format:%s -1 6aaea41e142bdf99866ea5b9b70145e1b0b11551 [Pipeline] echo [2021-10-28T23:00:28.763Z] GIT_COMMIT: 6aaea41e142bdf99866ea5b9b70145e1b0b11551, Commit Message: Merge pull request #1049 from lenny-intel/latest-go-mods [Pipeline] echo [2021-10-28T23:00:28.770Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:00:29.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:00:29.237Z] [2021-10-28T23:00:29.237Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:00:29.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:00:29.539Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T23:00:29.539Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:00:29.539Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T23:00:29.539Z] 4c7163046ea9: Pulling fs layer [2021-10-28T23:00:29.539Z] 0c2d73faf560: Pulling fs layer [2021-10-28T23:00:29.539Z] 0c2d73faf560: Waiting [2021-10-28T23:00:29.539Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T23:00:29.539Z] 3e5f54012d9b: Download complete [2021-10-28T23:00:29.539Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:00:29.539Z] a0d0a0d46f8b: Download complete [2021-10-28T23:00:29.539Z] 0c2d73faf560: Verifying Checksum [2021-10-28T23:00:29.539Z] 0c2d73faf560: Download complete [2021-10-28T23:00:29.539Z] 4c7163046ea9: Verifying Checksum [2021-10-28T23:00:29.539Z] 4c7163046ea9: Download complete [2021-10-28T23:00:29.813Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:00:29.813Z] 3e5f54012d9b: Pull complete [2021-10-28T23:00:30.079Z] 4c7163046ea9: Pull complete [2021-10-28T23:00:30.342Z] 0c2d73faf560: Pull complete [2021-10-28T23:00:30.342Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T23:00:30.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:00:30.342Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T23:00:30.411Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:00:30.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:00:31.083Z] $ docker top 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:00:31.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:00:31.174Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:00:31.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:00:31.274Z] $ docker exec 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a ssh-agent [2021-10-28T23:00:31.381Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBDKKoB/agent.14 [2021-10-28T23:00:31.381Z] SSH_AGENT_PID=20 [2021-10-28T23:00:31.387Z] Running ssh-add (command line suppressed) [2021-10-28T23:00:31.473Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2950481326611892881.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2950481326611892881.key) [2021-10-28T23:00:31.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:00:31.771Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T23:00:31.782Z] $ docker exec --env ******** --env ******** 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a ssh-agent -k [2021-10-28T23:00:31.864Z] unset SSH_AUTH_SOCK; [2021-10-28T23:00:31.864Z] unset SSH_AGENT_PID; [2021-10-28T23:00:31.864Z] echo Agent pid 20 killed; [2021-10-28T23:00:31.876Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T23:00:31.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:00:31.896Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:00:31.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:00:31.987Z] $ docker exec 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a ssh-agent [2021-10-28T23:00:32.085Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKLeecK/agent.52 [2021-10-28T23:00:32.085Z] SSH_AGENT_PID=58 [2021-10-28T23:00:32.090Z] Running ssh-add (command line suppressed) [2021-10-28T23:00:32.173Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2988595079022225377.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2988595079022225377.key) [2021-10-28T23:00:32.188Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:00:32.479Z] + git semver init [2021-10-28T23:00:32.479Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:00:32.479Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T23:00:32.479Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:00:32.479Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:00:32.479Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:00:32.479Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:00:32.479Z] # $SEMVER_BRANCH = main [2021-10-28T23:00:32.479Z] # $SEMVER_TEMP = /tmp/semver-623799197 [2021-10-28T23:00:32.479Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-28T23:00:33.426Z] # '/tmp/semver-623799197' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-28T23:00:33.426Z] # -> Force: false [2021-10-28T23:00:33.426Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T23:00:33.438Z] $ docker exec --env ******** --env ******** 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a ssh-agent -k [2021-10-28T23:00:33.527Z] unset SSH_AUTH_SOCK; [2021-10-28T23:00:33.527Z] unset SSH_AGENT_PID; [2021-10-28T23:00:33.527Z] echo Agent pid 58 killed; [2021-10-28T23:00:33.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:00:33.853Z] + git semver [Pipeline] } [2021-10-28T23:00:33.868Z] $ docker stop --time=1 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a [2021-10-28T23:00:35.099Z] $ docker rm -f 18c13b462acc6df5694ceaab8303b3d0adee712bf0b3648c107de46b486a913a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:00:35.440Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T23:00:35.650Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T23:00:35.653Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.26 [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-28T23:00:50.801Z] Still waiting to schedule task [2021-10-28T23:00:50.801Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T23:00:50.804Z] Still waiting to schedule task [2021-10-28T23:00:50.804Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T23:03:00.291Z] Running on prd-centos7-docker-4c-2g-13326 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T23:03:00.302Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2021-10-28T23:03:00.428Z] Selected Git installation does not exist. Using Default [2021-10-28T23:03:00.428Z] The recommended git tool is: NONE [2021-10-28T23:03:02.558Z] using credential edgex-jenkins-ssh [2021-10-28T23:03:02.569Z] Cloning the remote Git repository [2021-10-28T23:03:01.627Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T23:03:01.684Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2021-10-28T23:03:01.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T23:03:01.716Z] > git --version # timeout=10 [2021-10-28T23:03:01.729Z] > git --version # 'git version 2.24.4' [2021-10-28T23:03:01.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:03:01.749Z] [INFO] Currently running in a labeled security context [2021-10-28T23:03:01.749Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:03:01.750Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/25@tmp/jenkins-gitclient-ssh7795144611831327753.key [2021-10-28T23:03:01.769Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:03:03.794Z] Avoid second fetch [2021-10-28T23:03:03.795Z] Checking out Revision 6aaea41e142bdf99866ea5b9b70145e1b0b11551 (main) [2021-10-28T23:03:02.811Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T23:03:02.822Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:03:02.854Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:03:02.870Z] > git checkout -f 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 [2021-10-28T23:03:07.332Z] Commit message: "Merge pull request #1049 from lenny-intel/latest-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:03:07.734Z] provisioning config files... [2021-10-28T23:03:07.752Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/25@tmp/config6014245985330618070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:03:08.161Z] ---> docker-login.sh [2021-10-28T23:03:08.162Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:03:08.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:03:08.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:03:08.426Z] Configure a credential helper to remove this warning. See [2021-10-28T23:03:08.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:03:08.426Z] [2021-10-28T23:03:08.426Z] Login Succeeded [2021-10-28T23:03:08.426Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:03:08.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:03:08.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:03:08.426Z] Configure a credential helper to remove this warning. See [2021-10-28T23:03:08.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:03:08.426Z] [2021-10-28T23:03:08.426Z] Login Succeeded [2021-10-28T23:03:08.426Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:03:08.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:03:08.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:03:08.689Z] Configure a credential helper to remove this warning. See [2021-10-28T23:03:08.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:03:08.689Z] [2021-10-28T23:03:08.689Z] Login Succeeded [2021-10-28T23:03:08.689Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:03:08.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:03:08.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:03:08.689Z] Configure a credential helper to remove this warning. See [2021-10-28T23:03:08.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:03:08.689Z] [2021-10-28T23:03:08.689Z] Login Succeeded [2021-10-28T23:03:08.689Z] docker.io [2021-10-28T23:03:08.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:03:09.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:03:09.261Z] Configure a credential helper to remove this warning. See [2021-10-28T23:03:09.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:03:09.261Z] [2021-10-28T23:03:09.261Z] Login Succeeded [2021-10-28T23:03:09.261Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:03:09.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:03:09.426Z] ========================================================= [2021-10-28T23:03:09.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T23:03:09.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:03:09.745Z] + 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-28T23:03:09.745Z] Sending build context to Docker daemon 2.706MB [2021-10-28T23:03:09.745Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:03:09.745Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T23:03:09.745Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T23:03:09.745Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:03:09.745Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T23:03:09.745Z] b8b176561691: Pulling fs layer [2021-10-28T23:03:09.745Z] 4527c011a84f: Pulling fs layer [2021-10-28T23:03:09.745Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T23:03:09.745Z] e0aca202a116: Pulling fs layer [2021-10-28T23:03:09.745Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T23:03:09.745Z] 34cad66bf833: Pulling fs layer [2021-10-28T23:03:09.745Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T23:03:09.745Z] 4527c011a84f: Waiting [2021-10-28T23:03:09.745Z] 5d74067f8e1e: Waiting [2021-10-28T23:03:09.745Z] e0aca202a116: Waiting [2021-10-28T23:03:09.745Z] 3a43be97a3b4: Waiting [2021-10-28T23:03:09.745Z] 34cad66bf833: Waiting [2021-10-28T23:03:09.745Z] b4e3c513aaa6: Waiting [2021-10-28T23:03:10.009Z] b8b176561691: Verifying Checksum [2021-10-28T23:03:10.009Z] b8b176561691: Download complete [2021-10-28T23:03:10.009Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T23:03:10.009Z] 31adcdaf11c8: Download complete [2021-10-28T23:03:10.009Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T23:03:10.009Z] 5d74067f8e1e: Download complete [2021-10-28T23:03:10.009Z] e0aca202a116: Verifying Checksum [2021-10-28T23:03:10.009Z] e0aca202a116: Download complete [2021-10-28T23:03:10.009Z] a0d0a0d46f8b: Download complete [2021-10-28T23:03:10.009Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T23:03:10.009Z] 3a43be97a3b4: Download complete [2021-10-28T23:03:10.009Z] 34cad66bf833: Verifying Checksum [2021-10-28T23:03:10.009Z] 34cad66bf833: Download complete [2021-10-28T23:03:10.601Z] 4527c011a84f: Verifying Checksum [2021-10-28T23:03:10.601Z] 4527c011a84f: Download complete [2021-10-28T23:03:10.601Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:03:10.601Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T23:03:10.601Z] b4e3c513aaa6: Download complete [2021-10-28T23:03:10.863Z] 31adcdaf11c8: Pull complete [2021-10-28T23:03:10.863Z] b8b176561691: Pull complete [2021-10-28T23:03:15.115Z] 4527c011a84f: Pull complete [2021-10-28T23:03:15.115Z] 5d74067f8e1e: Pull complete [2021-10-28T23:03:15.115Z] e0aca202a116: Pull complete [2021-10-28T23:03:15.115Z] 3a43be97a3b4: Pull complete [2021-10-28T23:03:15.115Z] 34cad66bf833: Pull complete [2021-10-28T23:03:17.677Z] b4e3c513aaa6: Pull complete [2021-10-28T23:03:17.677Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T23:03:17.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T23:03:17.677Z] ---> 9f6097aaca64 [2021-10-28T23:03:17.677Z] Step 3/10 : ARG MAKE=make build [2021-10-28T23:03:19.599Z] ---> Running in ac4950ad1a81 [2021-10-28T23:03:19.599Z] Removing intermediate container ac4950ad1a81 [2021-10-28T23:03:19.599Z] ---> a210bd1df4b5 [2021-10-28T23:03:19.599Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T23:03:19.599Z] ---> Running in 1cbcff495cdc [2021-10-28T23:03:19.599Z] Removing intermediate container 1cbcff495cdc [2021-10-28T23:03:19.599Z] ---> 3fcc45299da5 [2021-10-28T23:03:19.599Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:03:19.599Z] ---> Running in 77b9198a91d7 [2021-10-28T23:03:19.599Z] Removing intermediate container 77b9198a91d7 [2021-10-28T23:03:19.599Z] ---> e98e7a993103 [2021-10-28T23:03:19.599Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:03:19.863Z] ---> Running in 442ef7ce5950 [2021-10-28T23:03:20.128Z] Removing intermediate container 442ef7ce5950 [2021-10-28T23:03:20.128Z] ---> 39b5f7c92b03 [2021-10-28T23:03:20.128Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:03:20.128Z] ---> Running in 972167ab8b06 [2021-10-28T23:03:20.705Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:03:21.653Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:03:21.914Z] OK: 220 MiB in 52 packages [2021-10-28T23:03:22.179Z] Removing intermediate container 972167ab8b06 [2021-10-28T23:03:22.179Z] ---> 9cbc3acd67d0 [2021-10-28T23:03:22.179Z] Step 8/10 : COPY . . [2021-10-28T23:03:22.445Z] ---> befa8f379bf7 [2021-10-28T23:03:22.445Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:03:22.445Z] ---> Running in 4d3615eab424 [2021-10-28T23:03:54.617Z] Removing intermediate container 4d3615eab424 [2021-10-28T23:03:54.617Z] ---> 553758582104 [2021-10-28T23:03:54.617Z] Step 10/10 : RUN ${MAKE} [2021-10-28T23:03:54.617Z] ---> Running in 92830790d20b [2021-10-28T23:03:54.617Z] noop [2021-10-28T23:03:54.617Z] Removing intermediate container 92830790d20b [2021-10-28T23:03:54.617Z] ---> fd1f2f2bf001 [2021-10-28T23:03:54.617Z] Successfully built fd1f2f2bf001 [2021-10-28T23:03:54.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:03:54.915Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:03:54.915Z] . [Pipeline] withDockerContainer [2021-10-28T23:03:54.986Z] prd-centos7-docker-4c-2g-13326 does not seem to be running inside a container [2021-10-28T23:03:55.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-28T23:03:55.422Z] $ docker top fe32669fc94f62a604ef833b80f9f39669a014bc06c4cefb27546da93e9adb7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:03:55.782Z] + go version [2021-10-28T23:03:55.782Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T23:03:55.796Z] $ docker stop --time=1 fe32669fc94f62a604ef833b80f9f39669a014bc06c4cefb27546da93e9adb7f [2021-10-28T23:03:56.980Z] $ docker rm -f fe32669fc94f62a604ef833b80f9f39669a014bc06c4cefb27546da93e9adb7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:03:57.436Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:03:57.436Z] . [Pipeline] withDockerContainer [2021-10-28T23:03:57.505Z] prd-centos7-docker-4c-2g-13326 does not seem to be running inside a container [2021-10-28T23:03:57.545Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-28T23:03:57.959Z] $ docker top fb889d4e2609a6b762d1a8e0137e72240dedd11857983ecd38947ff76f7d3b89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:03:58.348Z] + make test [2021-10-28T23:03:58.348Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T23:04:03.663Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T23:04:24.960Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13327 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-28T23:04:24.977Z] Running in /w/workspace/device-sdk-go/25 [Pipeline] { [Pipeline] checkout [2021-10-28T23:04:25.252Z] Selected Git installation does not exist. Using Default [2021-10-28T23:04:25.252Z] The recommended git tool is: NONE [2021-10-28T23:04:30.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T23:04:30.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.064s coverage: 23.8% of statements [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T23:04:30.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-10-28T23:04:30.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-10-28T23:04:30.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T23:04:30.370Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T23:04:30.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.071s coverage: 28.7% of statements [2021-10-28T23:04:30.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T23:04:31.708Z] using credential edgex-jenkins-ssh [2021-10-28T23:04:31.738Z] Cloning the remote Git repository [2021-10-28T23:04:31.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 83.3% of statements [2021-10-28T23:04:31.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T23:04:31.922Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T23:04:31.922Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.068s coverage: 57.8% of statements [2021-10-28T23:04:31.814Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T23:04:31.995Z] > git init /w/workspace/device-sdk-go/25 # timeout=10 [2021-10-28T23:04:32.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T23:04:32.191Z] > git --version # timeout=10 [2021-10-28T23:04:32.255Z] > git --version # 'git version 2.17.1' [2021-10-28T23:04:32.258Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:04:32.369Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:04:33.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.821s coverage: 88.8% of statements [2021-10-28T23:04:33.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T23:04:33.323Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.9% of statements [2021-10-28T23:04:33.323Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T23:04:33.323Z] GO111MODULE=on go vet ./... [2021-10-28T23:04:33.767Z] Avoid second fetch [2021-10-28T23:04:33.768Z] Checking out Revision 6aaea41e142bdf99866ea5b9b70145e1b0b11551 (main) [2021-10-28T23:04:33.704Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T23:04:33.727Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:04:33.791Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:04:33.806Z] > git checkout -f 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 [2021-10-28T23:04:38.267Z] Commit message: "Merge pull request #1049 from lenny-intel/latest-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:04:40.043Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T23:04:40.043Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:04:40.043Z] Dload Upload Total Spent Left Speed [2021-10-28T23:04:40.043Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 81544 0 --:--:-- --:--:-- --:--:-- 81544 [Pipeline] sh [2021-10-28T23:04:40.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T23:04:40.806Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T23:04:40.806Z] + sudo tee /etc/docker/daemon.new [2021-10-28T23:04:40.806Z] { [2021-10-28T23:04:40.806Z] "registry-mirrors": [ [2021-10-28T23:04:40.806Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T23:04:40.806Z] ], [2021-10-28T23:04:40.806Z] "bip": "10.250.0.254/24", [2021-10-28T23:04:40.806Z] "hosts": [ [2021-10-28T23:04:40.806Z] "tcp://0.0.0.0:5555", [2021-10-28T23:04:40.806Z] "unix:///var/run/docker.sock" [2021-10-28T23:04:40.806Z] ], [2021-10-28T23:04:40.806Z] "mtu": 1458, [2021-10-28T23:04:40.806Z] "selinux-enabled": true, [2021-10-28T23:04:40.806Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T23:04:40.806Z] } [Pipeline] sh [2021-10-28T23:04:41.153Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T23:04:41.515Z] + sudo service docker restart [2021-10-28T23:04:51.546Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T23:04:51.546Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T23:04:51.546Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T23:04:51.560Z] $ docker stop --time=1 fb889d4e2609a6b762d1a8e0137e72240dedd11857983ecd38947ff76f7d3b89 [2021-10-28T23:04:53.106Z] $ docker rm -f fb889d4e2609a6b762d1a8e0137e72240dedd11857983ecd38947ff76f7d3b89 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:04:53.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T23:04:53.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T23:04:54.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T23:04:55.206Z] + ls -al . [2021-10-28T23:04:55.206Z] total 264 [2021-10-28T23:04:55.206Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 23:04 . [2021-10-28T23:04:55.206Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 23:03 .. [2021-10-28T23:04:55.206Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 23:03 bin [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 23:03 CHANGELOG.md [2021-10-28T23:04:55.206Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 23:04 coverage.out [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 23:03 .dockerignore [2021-10-28T23:04:55.206Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 23:03 example [2021-10-28T23:04:55.206Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 23:03 .git [2021-10-28T23:04:55.206Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 23:03 .github [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 23:03 .gitignore [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 23:03 go.mod [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 50012 Oct 28 23:03 go.sum [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 23:03 GOVERNANCE.md [2021-10-28T23:04:55.206Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 23:03 internal [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 23:03 Jenkinsfile [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 23:03 LICENSE [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 23:03 Makefile [2021-10-28T23:04:55.206Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 23:03 openapi [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 23:03 OWNERS.md [2021-10-28T23:04:55.206Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 23:03 pkg [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 23:03 README.md [2021-10-28T23:04:55.206Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 23:03 snap [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 28 23:00 VERSION [2021-10-28T23:04:55.206Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 23:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:04:55.506Z] + 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=6aaea41e142bdf99866ea5b9b70145e1b0b11551 --label arch=amd64 --label version=2.0.1-dev.26 . [2021-10-28T23:04:55.506Z] Sending build context to Docker daemon 2.834MB [2021-10-28T23:04:55.506Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:04:55.506Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T23:04:55.506Z] ---> fd1f2f2bf001 [2021-10-28T23:04:55.506Z] Step 3/24 : ARG MAKE=make build [2021-10-28T23:04:55.506Z] ---> Running in 557e11e4d883 [2021-10-28T23:04:55.769Z] Removing intermediate container 557e11e4d883 [2021-10-28T23:04:55.769Z] ---> a25a6f01c830 [2021-10-28T23:04:55.769Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T23:04:55.769Z] ---> Running in 651d84868d3b [2021-10-28T23:04:55.769Z] Removing intermediate container 651d84868d3b [2021-10-28T23:04:55.769Z] ---> 5a250c4562d7 [2021-10-28T23:04:55.769Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:04:55.769Z] ---> Running in 5958937b887f [2021-10-28T23:04:56.034Z] Removing intermediate container 5958937b887f [2021-10-28T23:04:56.034Z] ---> fa9adfccbaca [2021-10-28T23:04:56.034Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:04:56.034Z] ---> Running in a6392e988bee [2021-10-28T23:04:56.293Z] Removing intermediate container a6392e988bee [2021-10-28T23:04:56.293Z] ---> 766229b8e2ec [2021-10-28T23:04:56.293Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:04:56.554Z] ---> Running in 7911df3579e3 [2021-10-28T23:04:56.817Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:04:57.765Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:04:58.028Z] OK: 220 MiB in 52 packages [2021-10-28T23:04:58.294Z] Removing intermediate container 7911df3579e3 [2021-10-28T23:04:58.294Z] ---> f74e265ba789 [2021-10-28T23:04:58.294Z] Step 8/24 : COPY . . [2021-10-28T23:04:58.560Z] ---> f9c7a12ab76b [2021-10-28T23:04:58.560Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:04:58.560Z] ---> Running in c95df33a1814 [2021-10-28T23:04:59.136Z] Removing intermediate container c95df33a1814 [2021-10-28T23:04:59.136Z] ---> c8494cf2789f [2021-10-28T23:04:59.136Z] Step 10/24 : RUN ${MAKE} [2021-10-28T23:04:59.399Z] ---> Running in e17571ad66bd [2021-10-28T23:04:59.664Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:04:59.875Z] provisioning config files... [2021-10-28T23:04:59.904Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/25@tmp/config1103565471129579879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:05:00.290Z] ---> docker-login.sh [2021-10-28T23:05:00.290Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:05:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:05:01.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:05:01.556Z] Configure a credential helper to remove this warning. See [2021-10-28T23:05:01.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:05:01.556Z] [2021-10-28T23:05:01.556Z] Login Succeeded [2021-10-28T23:05:01.556Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:05:02.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:05:02.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:05:02.157Z] Configure a credential helper to remove this warning. See [2021-10-28T23:05:02.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:05:02.157Z] [2021-10-28T23:05:02.157Z] Login Succeeded [2021-10-28T23:05:02.157Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:05:02.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:05:02.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:05:02.715Z] Configure a credential helper to remove this warning. See [2021-10-28T23:05:02.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:05:02.715Z] [2021-10-28T23:05:02.715Z] Login Succeeded [2021-10-28T23:05:02.715Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:05:02.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:05:03.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:05:03.264Z] Configure a credential helper to remove this warning. See [2021-10-28T23:05:03.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:05:03.264Z] [2021-10-28T23:05:03.264Z] Login Succeeded [2021-10-28T23:05:03.264Z] docker.io [2021-10-28T23:05:03.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:05:04.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:05:04.138Z] Configure a credential helper to remove this warning. See [2021-10-28T23:05:04.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:05:04.138Z] [2021-10-28T23:05:04.138Z] Login Succeeded [2021-10-28T23:05:04.138Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:05:04.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:05:04.663Z] ========================================================= [2021-10-28T23:05:04.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T23:05:04.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:05:05.021Z] + 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-28T23:05:05.301Z] Sending build context to Docker daemon 2.706MB [2021-10-28T23:05:05.578Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:05:05.578Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T23:05:05.578Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T23:05:05.578Z] 552d1f2373af: Pulling fs layer [2021-10-28T23:05:05.578Z] ea3f2d53f512: Pulling fs layer [2021-10-28T23:05:05.579Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T23:05:05.579Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T23:05:05.579Z] 72dc09318566: Pulling fs layer [2021-10-28T23:05:05.579Z] f4f7b4309257: Pulling fs layer [2021-10-28T23:05:05.579Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T23:05:05.579Z] b78e95d17946: Pulling fs layer [2021-10-28T23:05:05.579Z] f4f7b4309257: Waiting [2021-10-28T23:05:05.579Z] 0ac9a79272e3: Waiting [2021-10-28T23:05:05.579Z] 72dc09318566: Waiting [2021-10-28T23:05:05.579Z] 7a9cfe048b4a: Waiting [2021-10-28T23:05:05.579Z] b78e95d17946: Waiting [2021-10-28T23:05:05.579Z] 9e70ebbbe112: Download complete [2021-10-28T23:05:05.865Z] ea3f2d53f512: Verifying Checksum [2021-10-28T23:05:05.865Z] ea3f2d53f512: Download complete [2021-10-28T23:05:05.865Z] 72dc09318566: Verifying Checksum [2021-10-28T23:05:05.865Z] f4f7b4309257: Verifying Checksum [2021-10-28T23:05:05.865Z] f4f7b4309257: Download complete [2021-10-28T23:05:05.865Z] 552d1f2373af: Verifying Checksum [2021-10-28T23:05:05.865Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T23:05:05.865Z] 0ac9a79272e3: Download complete [2021-10-28T23:05:06.872Z] 552d1f2373af: Pull complete [2021-10-28T23:05:07.480Z] ea3f2d53f512: Pull complete [2021-10-28T23:05:07.755Z] 9e70ebbbe112: Pull complete [2021-10-28T23:05:07.755Z] b78e95d17946: Verifying Checksum [2021-10-28T23:05:07.755Z] b78e95d17946: Download complete [2021-10-28T23:05:08.355Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T23:05:08.355Z] 7a9cfe048b4a: Download complete [2021-10-28T23:05:12.017Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T23:05:12.017Z] Removing intermediate container e17571ad66bd [2021-10-28T23:05:12.017Z] ---> 5de39508105d [2021-10-28T23:05:12.017Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T23:05:12.594Z] 3.14: Pulling from library/alpine [2021-10-28T23:05:12.594Z] a0d0a0d46f8b: Already exists [2021-10-28T23:05:12.854Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T23:05:12.854Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T23:05:12.854Z] ---> 14119a10abf4 [2021-10-28T23:05:12.854Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:05:12.854Z] ---> Running in 55fa50a86c0a [2021-10-28T23:05:13.115Z] Removing intermediate container 55fa50a86c0a [2021-10-28T23:05:13.115Z] ---> 1325b6ff11bd [2021-10-28T23:05:13.115Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:05:13.115Z] ---> Running in 83dcc8f22f7e [2021-10-28T23:05:13.376Z] Removing intermediate container 83dcc8f22f7e [2021-10-28T23:05:13.376Z] ---> 30ceb8644cae [2021-10-28T23:05:13.376Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T23:05:13.639Z] ---> Running in 688db0494d72 [2021-10-28T23:05:13.898Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:05:14.842Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:05:15.103Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T23:05:15.103Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T23:05:15.364Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T23:05:15.364Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T23:05:15.624Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T23:05:15.624Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:05:15.624Z] OK: 8 MiB in 19 packages [2021-10-28T23:05:15.888Z] Removing intermediate container 688db0494d72 [2021-10-28T23:05:15.888Z] ---> adfc96723104 [2021-10-28T23:05:15.888Z] Step 15/24 : WORKDIR / [2021-10-28T23:05:15.888Z] ---> Running in a16065ee541e [2021-10-28T23:05:16.152Z] Removing intermediate container a16065ee541e [2021-10-28T23:05:16.152Z] ---> 940c7ead7268 [2021-10-28T23:05:16.152Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T23:05:16.152Z] ---> e3e63827d808 [2021-10-28T23:05:16.152Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T23:05:16.724Z] ---> 9f48f0978e25 [2021-10-28T23:05:16.724Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T23:05:16.724Z] ---> 79da6665b424 [2021-10-28T23:05:16.724Z] Step 19/24 : EXPOSE 59999 [2021-10-28T23:05:16.724Z] ---> Running in b56cc020bc49 [2021-10-28T23:05:16.988Z] Removing intermediate container b56cc020bc49 [2021-10-28T23:05:16.988Z] ---> 81d23c3292fe [2021-10-28T23:05:16.988Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T23:05:16.988Z] ---> Running in 04ad4b6ba394 [2021-10-28T23:05:16.988Z] Removing intermediate container 04ad4b6ba394 [2021-10-28T23:05:16.988Z] ---> 316c198b2c68 [2021-10-28T23:05:16.988Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T23:05:16.988Z] ---> Running in 40c197af63f2 [2021-10-28T23:05:17.252Z] Removing intermediate container 40c197af63f2 [2021-10-28T23:05:17.252Z] ---> 583c65be960a [2021-10-28T23:05:17.252Z] Step 22/24 : LABEL arch=amd64 [2021-10-28T23:05:17.252Z] ---> Running in a2d9023e9610 [2021-10-28T23:05:17.252Z] Removing intermediate container a2d9023e9610 [2021-10-28T23:05:17.252Z] ---> 295372e67bc4 [2021-10-28T23:05:17.252Z] Step 23/24 : LABEL git_sha=6aaea41e142bdf99866ea5b9b70145e1b0b11551 [2021-10-28T23:05:17.252Z] ---> Running in 09f071e62935 [2021-10-28T23:05:17.513Z] Removing intermediate container 09f071e62935 [2021-10-28T23:05:17.513Z] ---> b18839dfbff2 [2021-10-28T23:05:17.513Z] Step 24/24 : LABEL version=2.0.1-dev.26 [2021-10-28T23:05:17.513Z] ---> Running in eaf3a92cf7a8 [2021-10-28T23:05:17.513Z] Removing intermediate container eaf3a92cf7a8 [2021-10-28T23:05:17.513Z] ---> 3194a37cc6d1 [2021-10-28T23:05:17.513Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T23:05:17.513Z] Successfully built 3194a37cc6d1 [2021-10-28T23:05:17.513Z] 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-28T23:05:18.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:05:18.074Z] [2021-10-28T23:05:18.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:05:18.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:05:18.402Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:05:18.402Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:05:18.402Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:05:18.402Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:05:18.402Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:05:18.402Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:05:18.402Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:05:18.402Z] d287ab97295c: Pulling fs layer [2021-10-28T23:05:18.402Z] 77bc0d833cb6: Waiting [2021-10-28T23:05:18.402Z] 9065ff56babe: Waiting [2021-10-28T23:05:18.402Z] d287ab97295c: Waiting [2021-10-28T23:05:18.402Z] dc539afda2c1: Waiting [2021-10-28T23:05:18.402Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:05:18.402Z] a1111a8f2ec3: Download complete [2021-10-28T23:05:18.402Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:05:18.402Z] dc539afda2c1: Download complete [2021-10-28T23:05:18.402Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:05:18.402Z] ed53099fbce6: Download complete [2021-10-28T23:05:18.402Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:05:18.402Z] 9065ff56babe: Download complete [2021-10-28T23:05:18.668Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:05:18.668Z] 77bc0d833cb6: Download complete [2021-10-28T23:05:18.668Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:05:18.668Z] b4d181a07f80: Download complete [2021-10-28T23:05:19.245Z] d287ab97295c: Verifying Checksum [2021-10-28T23:05:19.245Z] d287ab97295c: Download complete [2021-10-28T23:05:20.205Z] b4d181a07f80: Pull complete [2021-10-28T23:05:20.205Z] a1111a8f2ec3: Pull complete [2021-10-28T23:05:20.765Z] 7a9cfe048b4a: Pull complete [2021-10-28T23:05:20.765Z] 72dc09318566: Pull complete [2021-10-28T23:05:20.765Z] f4f7b4309257: Pull complete [2021-10-28T23:05:20.765Z] 0ac9a79272e3: Pull complete [2021-10-28T23:05:20.794Z] ed53099fbce6: Pull complete [2021-10-28T23:05:21.059Z] dc539afda2c1: Pull complete [2021-10-28T23:05:21.323Z] 77bc0d833cb6: Pull complete [2021-10-28T23:05:21.323Z] 9065ff56babe: Pull complete [2021-10-28T23:05:26.189Z] b78e95d17946: Pull complete [2021-10-28T23:05:26.189Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T23:05:26.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T23:05:26.189Z] ---> 8b459fc5aaf0 [2021-10-28T23:05:26.189Z] Step 3/10 : ARG MAKE=make build [2021-10-28T23:05:27.943Z] d287ab97295c: Pull complete [2021-10-28T23:05:27.943Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:05:27.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:05:27.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:05:28.033Z] prd-centos7-docker-4c-2g-13326 does not seem to be running inside a container [2021-10-28T23:05:28.086Z] $ 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/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@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-28T23:05:29.060Z] ---> Running in 8929c3b8ae4d [2021-10-28T23:05:29.061Z] Removing intermediate container 8929c3b8ae4d [2021-10-28T23:05:29.061Z] ---> 7ac8863b9c6d [2021-10-28T23:05:29.061Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T23:05:29.061Z] ---> Running in 1c6a62d139b1 [2021-10-28T23:05:29.658Z] Removing intermediate container 1c6a62d139b1 [2021-10-28T23:05:29.658Z] ---> 0e9e77198e32 [2021-10-28T23:05:29.658Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:05:29.658Z] ---> Running in 9dda40df27a0 [2021-10-28T23:05:30.255Z] Removing intermediate container 9dda40df27a0 [2021-10-28T23:05:30.255Z] ---> 925c58b664c6 [2021-10-28T23:05:30.255Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:05:30.528Z] ---> Running in 82ee4a009482 [2021-10-28T23:05:31.158Z] $ docker top 0db5c472d5b26437b291dc64c7c6d89f24664e961c453f20035e5de181452744 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:05:31.564Z] ---> job-cost.sh [2021-10-28T23:05:31.564Z] lf-activate-venv: SKIPPING [2021-10-28T23:05:31.564Z] INFO: No Stack... [2021-10-28T23:05:31.826Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:05:32.085Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:05:32.391Z] + cat /w/workspace/device-sdk-go/25/archives/cost.csv [2021-10-28T23:05:32.391Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:05:32.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [2021-10-28T23:05:32.424Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] did not exist. Created. [2021-10-28T23:05:32.424Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:05:32.753Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T23:05:32.789Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:05:32.795Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:05:32.816Z] $ docker stop --time=1 0db5c472d5b26437b291dc64c7c6d89f24664e961c453f20035e5de181452744 [2021-10-28T23:05:33.156Z] Removing intermediate container 82ee4a009482 [2021-10-28T23:05:33.156Z] ---> 46df01a46ed6 [2021-10-28T23:05:33.156Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:05:33.156Z] ---> Running in 89e3a8caa260 [2021-10-28T23:05:33.965Z] $ docker rm -f 0db5c472d5b26437b291dc64c7c6d89f24664e961c453f20035e5de181452744 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-10-28T23:05:34.141Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [2021-10-28T23:05:35.121Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:05:36.113Z] OK: 219 MiB in 52 packages [2021-10-28T23:05:37.104Z] Removing intermediate container 89e3a8caa260 [2021-10-28T23:05:37.104Z] ---> 53a8c839c862 [2021-10-28T23:05:37.104Z] Step 8/10 : COPY . . [2021-10-28T23:05:38.085Z] ---> cdd8c50accd7 [2021-10-28T23:05:38.085Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:05:38.365Z] ---> Running in 1af38d57e108 [2021-10-28T23:07:00.168Z] Removing intermediate container 1af38d57e108 [2021-10-28T23:07:00.168Z] ---> a5ae90bff20b [2021-10-28T23:07:00.168Z] Step 10/10 : RUN ${MAKE} [2021-10-28T23:07:00.168Z] ---> Running in 57c1d18a13ac [2021-10-28T23:07:00.168Z] noop [2021-10-28T23:07:00.168Z] Removing intermediate container 57c1d18a13ac [2021-10-28T23:07:00.168Z] ---> b880e6df4155 [2021-10-28T23:07:00.168Z] Successfully built b880e6df4155 [2021-10-28T23:07:00.168Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:07:00.521Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:07:00.522Z] . [Pipeline] withDockerContainer [2021-10-28T23:07:00.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-13327 does not seem to be running inside a container [2021-10-28T23:07:00.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:07:02.596Z] $ docker top dd7573db0cbbb69d59b7dc044b44b03d6f03cb0ccbca649689ee615842b0cdc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:07:03.616Z] + go version [2021-10-28T23:07:03.616Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T23:07:03.643Z] $ docker stop --time=1 dd7573db0cbbb69d59b7dc044b44b03d6f03cb0ccbca649689ee615842b0cdc3 [2021-10-28T23:07:05.513Z] $ docker rm -f dd7573db0cbbb69d59b7dc044b44b03d6f03cb0ccbca649689ee615842b0cdc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:07:06.307Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:07:06.307Z] . [Pipeline] withDockerContainer [2021-10-28T23:07:06.580Z] prd-ubuntu18.04-docker-arm64-4c-16g-13327 does not seem to be running inside a container [2021-10-28T23:07:06.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:07:08.372Z] $ docker top 1b6a17bdb02b300ea7e5dbc0ae8484844807d881c255f234c0e6f0c19b2a1787 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:07:09.368Z] + make test [2021-10-28T23:07:09.368Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T23:07:41.801Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T23:08:49.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T23:08:49.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T23:08:49.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T23:09:05.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.330s coverage: 23.8% of statements [2021-10-28T23:09:05.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T23:09:05.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.206s coverage: 28.1% of statements [2021-10-28T23:09:05.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.249s coverage: 78.9% of statements [2021-10-28T23:09:05.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.264s coverage: 9.0% of statements [2021-10-28T23:09:05.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T23:09:05.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T23:09:05.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T23:09:05.101Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.336s coverage: 28.7% of statements [2021-10-28T23:09:05.101Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T23:09:07.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.230s coverage: 83.3% of statements [2021-10-28T23:09:07.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T23:09:07.080Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T23:09:07.080Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.447s coverage: 57.8% of statements [2021-10-28T23:09:09.060Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.262s coverage: 88.8% of statements [2021-10-28T23:09:09.060Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T23:09:10.038Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 4.9% of statements [2021-10-28T23:09:10.038Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T23:09:10.629Z] GO111MODULE=on go vet ./... [2021-10-28T23:10:18.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T23:10:18.709Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T23:10:18.709Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T23:10:18.730Z] $ docker stop --time=1 1b6a17bdb02b300ea7e5dbc0ae8484844807d881c255f234c0e6f0c19b2a1787 [2021-10-28T23:10:20.831Z] $ docker rm -f 1b6a17bdb02b300ea7e5dbc0ae8484844807d881c255f234c0e6f0c19b2a1787 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:10:22.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T23:10:22.135Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T23:10:22.872Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:10:23.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T23:10:23.713Z] + ls -al . [2021-10-28T23:10:23.713Z] total 300 [2021-10-28T23:10:23.713Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 23:10 . [2021-10-28T23:10:23.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:04 .. [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 23:04 .dockerignore [2021-10-28T23:10:23.713Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 23:04 .git [2021-10-28T23:10:23.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:04 .github [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 23:04 .gitignore [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 23:04 CHANGELOG.md [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 23:04 GOVERNANCE.md [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 23:04 Jenkinsfile [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 23:04 LICENSE [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 23:04 Makefile [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 23:04 OWNERS.md [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 23:04 README.md [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 28 23:00 VERSION [2021-10-28T23:10:23.713Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:04 bin [2021-10-28T23:10:23.713Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 23:09 coverage.out [2021-10-28T23:10:23.713Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 23:04 example [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 23:04 go.mod [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 50012 Oct 28 23:04 go.sum [2021-10-28T23:10:23.713Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 23:04 internal [2021-10-28T23:10:23.713Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:04 openapi [2021-10-28T23:10:23.713Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 23:04 pkg [2021-10-28T23:10:23.713Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:04 snap [2021-10-28T23:10:23.713Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 23:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:10:24.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=6aaea41e142bdf99866ea5b9b70145e1b0b11551 --label arch=arm64 --label version=2.0.1-dev.26 . [2021-10-28T23:10:24.699Z] Sending build context to Docker daemon 2.833MB [2021-10-28T23:10:24.699Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:10:24.699Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T23:10:24.699Z] ---> b880e6df4155 [2021-10-28T23:10:24.699Z] Step 3/24 : ARG MAKE=make build [2021-10-28T23:10:24.998Z] ---> Running in 5499aa1fe3d7 [2021-10-28T23:10:25.603Z] Removing intermediate container 5499aa1fe3d7 [2021-10-28T23:10:25.603Z] ---> abc93aa56515 [2021-10-28T23:10:25.603Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T23:10:25.603Z] ---> Running in ac7ddde5fe3c [2021-10-28T23:10:26.200Z] Removing intermediate container ac7ddde5fe3c [2021-10-28T23:10:26.200Z] ---> eaed80fb4e85 [2021-10-28T23:10:26.200Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:10:26.200Z] ---> Running in 60d2884f5fb0 [2021-10-28T23:10:26.800Z] Removing intermediate container 60d2884f5fb0 [2021-10-28T23:10:26.800Z] ---> bab85c351f06 [2021-10-28T23:10:26.800Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:10:26.800Z] ---> Running in 396eb1c35a4d [2021-10-28T23:10:29.423Z] Removing intermediate container 396eb1c35a4d [2021-10-28T23:10:29.423Z] ---> fef2b750402d [2021-10-28T23:10:29.423Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T23:10:29.423Z] ---> Running in cdb11dc12d20 [2021-10-28T23:10:30.400Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:10:31.376Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:10:32.368Z] OK: 219 MiB in 52 packages [2021-10-28T23:10:33.811Z] Removing intermediate container cdb11dc12d20 [2021-10-28T23:10:33.811Z] ---> 579c4f2726ba [2021-10-28T23:10:33.811Z] Step 8/24 : COPY . . [2021-10-28T23:10:35.252Z] ---> 0d06dbec67e7 [2021-10-28T23:10:35.252Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:10:35.252Z] ---> Running in d696b96eb921 [2021-10-28T23:10:37.870Z] Removing intermediate container d696b96eb921 [2021-10-28T23:10:37.870Z] ---> d5180f582670 [2021-10-28T23:10:37.870Z] Step 10/24 : RUN ${MAKE} [2021-10-28T23:10:37.870Z] ---> Running in 19a4c6b44956 [2021-10-28T23:10:39.303Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.26" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T23:11:18.319Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T23:11:18.319Z] Removing intermediate container 19a4c6b44956 [2021-10-28T23:11:18.319Z] ---> aedf6dce45de [2021-10-28T23:11:18.319Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T23:11:18.319Z] 3.14: Pulling from library/alpine [2021-10-28T23:11:18.319Z] 552d1f2373af: Already exists [2021-10-28T23:11:18.592Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T23:11:18.592Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T23:11:18.592Z] ---> bb3de5531c18 [2021-10-28T23:11:18.592Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T23:11:18.872Z] ---> Running in e4ff266083e3 [2021-10-28T23:11:19.144Z] Removing intermediate container e4ff266083e3 [2021-10-28T23:11:19.144Z] ---> b8a7f049261b [2021-10-28T23:11:19.144Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:11:19.425Z] ---> Running in 80300c1c03cd [2021-10-28T23:11:21.410Z] Removing intermediate container 80300c1c03cd [2021-10-28T23:11:21.410Z] ---> c33645a62933 [2021-10-28T23:11:21.410Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T23:11:21.693Z] ---> Running in 8b844bc429b5 [2021-10-28T23:11:22.671Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:11:24.106Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:11:24.698Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T23:11:24.698Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T23:11:24.970Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T23:11:25.245Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T23:11:25.245Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T23:11:25.245Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:11:25.245Z] OK: 8 MiB in 19 packages [2021-10-28T23:11:26.679Z] Removing intermediate container 8b844bc429b5 [2021-10-28T23:11:26.679Z] ---> c99cbad66ab8 [2021-10-28T23:11:26.679Z] Step 15/24 : WORKDIR / [2021-10-28T23:11:26.679Z] ---> Running in 21f4b7e524c3 [2021-10-28T23:11:26.962Z] Removing intermediate container 21f4b7e524c3 [2021-10-28T23:11:26.962Z] ---> a95e46db3962 [2021-10-28T23:11:26.962Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T23:11:27.939Z] ---> 8ad7a5b80e8a [2021-10-28T23:11:27.939Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T23:11:29.371Z] ---> cb791374cbcc [2021-10-28T23:11:29.371Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T23:11:29.966Z] ---> f3ff497883bb [2021-10-28T23:11:29.966Z] Step 19/24 : EXPOSE 59999 [2021-10-28T23:11:29.966Z] ---> Running in 74ad693a03c6 [2021-10-28T23:11:30.563Z] Removing intermediate container 74ad693a03c6 [2021-10-28T23:11:30.563Z] ---> 0d471d4db789 [2021-10-28T23:11:30.563Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T23:11:30.563Z] ---> Running in 1bb519b2a6af [2021-10-28T23:11:31.159Z] Removing intermediate container 1bb519b2a6af [2021-10-28T23:11:31.159Z] ---> 92706329a912 [2021-10-28T23:11:31.159Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T23:11:31.159Z] ---> Running in 0db53e910dd7 [2021-10-28T23:11:31.757Z] Removing intermediate container 0db53e910dd7 [2021-10-28T23:11:31.757Z] ---> 9be0b43924de [2021-10-28T23:11:31.757Z] Step 22/24 : LABEL arch=arm64 [2021-10-28T23:11:31.757Z] ---> Running in f66735fa96e4 [2021-10-28T23:11:32.350Z] Removing intermediate container f66735fa96e4 [2021-10-28T23:11:32.350Z] ---> 1a285a59e06a [2021-10-28T23:11:32.350Z] Step 23/24 : LABEL git_sha=6aaea41e142bdf99866ea5b9b70145e1b0b11551 [2021-10-28T23:11:32.350Z] ---> Running in f02717c0945b [2021-10-28T23:11:32.944Z] Removing intermediate container f02717c0945b [2021-10-28T23:11:32.944Z] ---> 498b686b6a56 [2021-10-28T23:11:32.944Z] Step 24/24 : LABEL version=2.0.1-dev.26 [2021-10-28T23:11:32.944Z] ---> Running in 4dce2de7a2d7 [2021-10-28T23:11:33.541Z] Removing intermediate container 4dce2de7a2d7 [2021-10-28T23:11:33.541Z] ---> 2e7026d1f034 [2021-10-28T23:11:33.541Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T23:11:33.541Z] Successfully built 2e7026d1f034 [2021-10-28T23:11:33.541Z] 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-28T23:11:34.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:11:34.421Z] [2021-10-28T23:11:34.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:11:34.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:11:35.046Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T23:11:35.046Z] 448f6bf000e3: Pulling fs layer [2021-10-28T23:11:35.046Z] f757da607395: Pulling fs layer [2021-10-28T23:11:35.046Z] 05883995daec: Pulling fs layer [2021-10-28T23:11:35.046Z] 8603b9c90790: Pulling fs layer [2021-10-28T23:11:35.046Z] 1560dd03e051: Pulling fs layer [2021-10-28T23:11:35.046Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T23:11:35.046Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T23:11:35.046Z] 1560dd03e051: Waiting [2021-10-28T23:11:35.046Z] 27f5ce0e4adf: Waiting [2021-10-28T23:11:35.046Z] c2d8d7efcc4b: Waiting [2021-10-28T23:11:35.046Z] 8603b9c90790: Waiting [2021-10-28T23:11:35.046Z] f757da607395: Verifying Checksum [2021-10-28T23:11:35.046Z] f757da607395: Download complete [2021-10-28T23:11:35.046Z] 8603b9c90790: Verifying Checksum [2021-10-28T23:11:35.046Z] 8603b9c90790: Download complete [2021-10-28T23:11:35.318Z] 1560dd03e051: Verifying Checksum [2021-10-28T23:11:35.318Z] 1560dd03e051: Download complete [2021-10-28T23:11:35.318Z] 27f5ce0e4adf: Download complete [2021-10-28T23:11:35.318Z] 05883995daec: Verifying Checksum [2021-10-28T23:11:35.318Z] 05883995daec: Download complete [2021-10-28T23:11:35.592Z] 448f6bf000e3: Verifying Checksum [2021-10-28T23:11:35.592Z] 448f6bf000e3: Download complete [2021-10-28T23:11:38.217Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T23:11:38.217Z] c2d8d7efcc4b: Download complete [2021-10-28T23:11:39.656Z] 448f6bf000e3: Pull complete [2021-10-28T23:11:39.930Z] f757da607395: Pull complete [2021-10-28T23:11:41.920Z] 05883995daec: Pull complete [2021-10-28T23:11:41.920Z] 8603b9c90790: Pull complete [2021-10-28T23:11:42.901Z] 1560dd03e051: Pull complete [2021-10-28T23:11:43.174Z] 27f5ce0e4adf: Pull complete [2021-10-28T23:11:58.257Z] c2d8d7efcc4b: Pull complete [2021-10-28T23:11:58.257Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T23:11:58.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:11:58.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T23:11:58.535Z] prd-ubuntu18.04-docker-arm64-4c-16g-13327 does not seem to be running inside a container [2021-10-28T23:11:58.622Z] $ 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/25 -v /w/workspace/device-sdk-go/25:/w/workspace/device-sdk-go/25:rw,z -v /w/workspace/device-sdk-go/25@tmp:/w/workspace/device-sdk-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T23:12:02.291Z] $ docker top b6ad579796cd3d29bd7a730ba7618d25c8a3c2b2a5be718e37692c677573b543 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:03.313Z] ---> job-cost.sh [2021-10-28T23:12:03.313Z] lf-activate-venv: SKIPPING [2021-10-28T23:12:03.313Z] INFO: No Stack... [2021-10-28T23:12:04.746Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T23:12:05.034Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:12:05.727Z] + + cut -d, -f6cat [2021-10-28T23:12:05.727Z] /w/workspace/device-sdk-go/25/archives/cost.csv [Pipeline] lock [2021-10-28T23:12:05.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [2021-10-28T23:12:05.806Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] did not exist. Created. [2021-10-28T23:12:05.806Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:12:06.510Z] /w/workspace/device-sdk-go/25@tmp/durable-c7e41bc9/script.sh: 1: /w/workspace/device-sdk-go/25@tmp/durable-c7e41bc9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T23:12:07.214Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T23:12:07.243Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T23:12:07.317Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:12:07.323Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:12:07.342Z] $ docker stop --time=1 b6ad579796cd3d29bd7a730ba7618d25c8a3c2b2a5be718e37692c677573b543 [2021-10-28T23:12:09.032Z] $ docker rm -f b6ad579796cd3d29bd7a730ba7618d25c8a3c2b2a5be718e37692c677573b543 [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-28T23:12:09.689Z] provisioning config files... [2021-10-28T23:12:09.697Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2722982539150400419tmp [Pipeline] { [Pipeline] sh [2021-10-28T23:12:10.015Z] + set +x [2021-10-28T23:12:10.015Z] + bash -s -- [2021-10-28T23:12:10.015Z] + curl -s https://codecov.io/bash [2021-10-28T23:12:10.015Z] [2021-10-28T23:12:10.015Z] _____ _ [2021-10-28T23:12:10.015Z] / ____| | | [2021-10-28T23:12:10.015Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T23:12:10.015Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T23:12:10.015Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T23:12:10.015Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T23:12:10.015Z] Bash-1.0.6 [2021-10-28T23:12:10.015Z] [2021-10-28T23:12:10.015Z] [2021-10-28T23:12:10.015Z] ==> git version 2.24.4 found [2021-10-28T23:12:10.015Z] ==> 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-28T23:12:10.015Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T23:12:10.015Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T23:12:10.015Z] ==> Jenkins CI detected. [2021-10-28T23:12:10.015Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:12:10.015Z] project root: . [2021-10-28T23:12:10.015Z] --> token set from env [2021-10-28T23:12:10.015Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T23:12:10.015Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T23:12:10.275Z] ==> Python coveragepy not found [2021-10-28T23:12:10.275Z] ==> Searching for coverage reports in: [2021-10-28T23:12:10.275Z] + . [2021-10-28T23:12:10.275Z] -> Found 1 reports [2021-10-28T23:12:10.275Z] ==> Detecting git/mercurial file structure [2021-10-28T23:12:10.275Z] ==> Reading reports [2021-10-28T23:12:10.275Z] + ./coverage.out bytes=126785 [2021-10-28T23:12:10.275Z] ==> Appending adjustments [2021-10-28T23:12:10.275Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T23:12:10.534Z] + Found adjustments [2021-10-28T23:12:10.534Z] ==> Gzipping contents [2021-10-28T23:12:10.534Z] 16K /tmp/codecov.dYZwRT.gz [2021-10-28T23:12:10.534Z] ==> Uploading reports [2021-10-28T23:12:10.534Z] url: https://codecov.io [2021-10-28T23:12:10.534Z] query: branch=main&commit=6aaea41e142bdf99866ea5b9b70145e1b0b11551&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T23:12:10.534Z] -> Pinging Codecov [2021-10-28T23:12:10.534Z] 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=6aaea41e142bdf99866ea5b9b70145e1b0b11551&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T23:12:10.795Z] -> Uploading to [2021-10-28T23:12:10.795Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/6aaea41e142bdf99866ea5b9b70145e1b0b11551/b79b1c31-4682-4546-aa81-b170316dddc3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T231210Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d23346c917f5e5c589d521fe58e2d5d4d12ee5e52bdd41a60b6e8e078894060 [2021-10-28T23:12:10.795Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:12:10.795Z] Dload Upload Total Spent Left Speed [2021-10-28T23:12:11.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16181 0 0 100 16181 0 53947 --:--:-- --:--:-- --:--:-- 54117 [2021-10-28T23:12:11.368Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6aaea41e142bdf99866ea5b9b70145e1b0b11551 [Pipeline] } [2021-10-28T23:12:11.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-28T23:12:11.555Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-28T23:12:11.562Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:11.866Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:12:11.866Z] [2021-10-28T23:12:11.866Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:12.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:12:12.167Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-28T23:12:12.167Z] 188c0c94c7c5: Pulling fs layer [2021-10-28T23:12:12.167Z] 0ef7d3d256c8: Pulling fs layer [2021-10-28T23:12:12.167Z] de9db76c5a1d: Pulling fs layer [2021-10-28T23:12:12.167Z] 0eba1c9be4d2: Pulling fs layer [2021-10-28T23:12:12.167Z] 0d57e429df01: Pulling fs layer [2021-10-28T23:12:12.167Z] 4e4be7b47b0d: Pulling fs layer [2021-10-28T23:12:12.167Z] e1f770b5df2f: Pulling fs layer [2021-10-28T23:12:12.167Z] 85a0685a4137: Pulling fs layer [2021-10-28T23:12:12.167Z] 0d57e429df01: Waiting [2021-10-28T23:12:12.167Z] 4e4be7b47b0d: Waiting [2021-10-28T23:12:12.167Z] e1f770b5df2f: Waiting [2021-10-28T23:12:12.167Z] 85a0685a4137: Waiting [2021-10-28T23:12:12.167Z] 0eba1c9be4d2: Waiting [2021-10-28T23:12:12.167Z] de9db76c5a1d: Verifying Checksum [2021-10-28T23:12:12.167Z] de9db76c5a1d: Download complete [2021-10-28T23:12:12.167Z] 0ef7d3d256c8: Verifying Checksum [2021-10-28T23:12:12.167Z] 0ef7d3d256c8: Download complete [2021-10-28T23:12:12.167Z] 0d57e429df01: Verifying Checksum [2021-10-28T23:12:12.167Z] 0d57e429df01: Download complete [2021-10-28T23:12:12.167Z] 4e4be7b47b0d: Verifying Checksum [2021-10-28T23:12:12.167Z] 4e4be7b47b0d: Download complete [2021-10-28T23:12:12.167Z] 188c0c94c7c5: Verifying Checksum [2021-10-28T23:12:12.167Z] 188c0c94c7c5: Download complete [2021-10-28T23:12:12.433Z] e1f770b5df2f: Verifying Checksum [2021-10-28T23:12:12.433Z] e1f770b5df2f: Download complete [2021-10-28T23:12:12.697Z] 188c0c94c7c5: Pull complete [2021-10-28T23:12:12.697Z] 0eba1c9be4d2: Verifying Checksum [2021-10-28T23:12:12.697Z] 0eba1c9be4d2: Download complete [2021-10-28T23:12:12.968Z] 0ef7d3d256c8: Pull complete [2021-10-28T23:12:12.968Z] de9db76c5a1d: Pull complete [2021-10-28T23:12:13.239Z] 85a0685a4137: Verifying Checksum [2021-10-28T23:12:13.239Z] 85a0685a4137: Download complete [2021-10-28T23:12:16.567Z] 0eba1c9be4d2: Pull complete [2021-10-28T23:12:16.567Z] 0d57e429df01: Pull complete [2021-10-28T23:12:16.567Z] 4e4be7b47b0d: Pull complete [2021-10-28T23:12:17.163Z] e1f770b5df2f: Pull complete [2021-10-28T23:12:21.442Z] 85a0685a4137: Pull complete [2021-10-28T23:12:21.442Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-28T23:12:21.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:12:21.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-28T23:12:21.510Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:12:21.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-28T23:12:23.508Z] $ docker top cfd9393843e28373115249b052378c8f888e737a6761b82412f0227b8053aa40 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-28T23:12:23.583Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-28T23:12:23.869Z] + set -o pipefail [2021-10-28T23:12:23.869Z] + snyk monitor '--org=edgex-jenkins' [2021-10-28T23:12:29.158Z] [2021-10-28T23:12:29.158Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-28T23:12:29.158Z] [2021-10-28T23:12:29.158Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/cf72b575-388c-4796-9730-21434c97f8a9 [2021-10-28T23:12:29.158Z] [2021-10-28T23:12:29.158Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-28T23:12:29.158Z] [2021-10-28T23:12:29.158Z] [Pipeline] } [2021-10-28T23:12:29.169Z] $ docker stop --time=1 cfd9393843e28373115249b052378c8f888e737a6761b82412f0227b8053aa40 [2021-10-28T23:12:31.026Z] $ docker rm -f cfd9393843e28373115249b052378c8f888e737a6761b82412f0227b8053aa40 [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-28T23:12:31.590Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:12:31.600Z] provisioning config files... [2021-10-28T23:12:31.608Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5089898157846136812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:31.898Z] --> edgex-publish-swagger.sh [2021-10-28T23:12:31.898Z] === Publish openapi/v2 API === [2021-10-28T23:12:31.898Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-28T23:12:31.898Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-28T23:12:31.898Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:12:31.898Z] Dload Upload Total Spent Left Speed [2021-10-28T23:12:32.467Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 74804 --:--:-- --:--:-- --:--:-- 74868 [2021-10-28T23:12:32.467Z] [2021-10-28T23:12:32.467Z] [Pipeline] } [2021-10-28T23:12:32.473Z] 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-28T23:12:32.907Z] + git log --format=format:%s -1 6aaea41e142bdf99866ea5b9b70145e1b0b11551 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:33.203Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:33.203Z] . [Pipeline] withDockerContainer [2021-10-28T23:12:33.265Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:12:33.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:12:33.654Z] $ docker top eb85aab70ee207597b5aca969f4f0002405c9e6a4f40c3103430db119f166550 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:12:33.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:12:33.744Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:12:33.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:12:33.860Z] $ docker exec eb85aab70ee207597b5aca969f4f0002405c9e6a4f40c3103430db119f166550 ssh-agent [2021-10-28T23:12:33.960Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXicelfF/agent.14 [2021-10-28T23:12:33.960Z] SSH_AGENT_PID=20 [2021-10-28T23:12:33.966Z] Running ssh-add (command line suppressed) [2021-10-28T23:12:34.064Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3486946906364071532.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3486946906364071532.key) [2021-10-28T23:12:34.075Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:12:34.378Z] + git semver tag [2021-10-28T23:12:34.378Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:12:34.378Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T23:12:34.378Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:12:34.378Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:12:34.378Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:12:34.378Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:12:34.378Z] # $SEMVER_BRANCH = main [2021-10-28T23:12:34.378Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T23:12:34.378Z] # 6aaea41e142bdf99866ea5b9b70145e1b0b11551 HEAD [2021-10-28T23:12:34.378Z] # -> Force: false [2021-10-28T23:12:34.378Z] # 6cda10bc88109a745960978439ba6b609b3a7fa0 refs/tags/v2.0.1-dev.26 [Pipeline] } [2021-10-28T23:12:34.387Z] $ docker exec --env ******** --env ******** eb85aab70ee207597b5aca969f4f0002405c9e6a4f40c3103430db119f166550 ssh-agent -k [2021-10-28T23:12:34.468Z] unset SSH_AUTH_SOCK; [2021-10-28T23:12:34.469Z] unset SSH_AGENT_PID; [2021-10-28T23:12:34.469Z] echo Agent pid 20 killed; [2021-10-28T23:12:34.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:12:34.784Z] + git semver [Pipeline] } [2021-10-28T23:12:34.796Z] $ docker stop --time=1 eb85aab70ee207597b5aca969f4f0002405c9e6a4f40c3103430db119f166550 [2021-10-28T23:12:35.968Z] $ docker rm -f eb85aab70ee207597b5aca969f4f0002405c9e6a4f40c3103430db119f166550 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:36.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:12:36.348Z] [2021-10-28T23:12:36.348Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:36.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:12:36.661Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-28T23:12:36.661Z] ab5ef0e58194: Pulling fs layer [2021-10-28T23:12:36.661Z] 9712f1f96733: Pulling fs layer [2021-10-28T23:12:36.661Z] 63f879dbbcfc: Pulling fs layer [2021-10-28T23:12:36.661Z] 0d9ebad4ef96: Pulling fs layer [2021-10-28T23:12:36.661Z] e9a5061849ea: Pulling fs layer [2021-10-28T23:12:36.661Z] d747dcd14b5f: Pulling fs layer [2021-10-28T23:12:36.661Z] 2de7ff778b66: Pulling fs layer [2021-10-28T23:12:36.661Z] e9a5061849ea: Waiting [2021-10-28T23:12:36.661Z] d747dcd14b5f: Waiting [2021-10-28T23:12:36.661Z] 2de7ff778b66: Waiting [2021-10-28T23:12:36.661Z] 0d9ebad4ef96: Waiting [2021-10-28T23:12:36.661Z] 9712f1f96733: Verifying Checksum [2021-10-28T23:12:36.661Z] 9712f1f96733: Download complete [2021-10-28T23:12:36.928Z] 63f879dbbcfc: Verifying Checksum [2021-10-28T23:12:36.928Z] 63f879dbbcfc: Download complete [2021-10-28T23:12:37.197Z] 0d9ebad4ef96: Verifying Checksum [2021-10-28T23:12:37.197Z] 0d9ebad4ef96: Download complete [2021-10-28T23:12:37.197Z] ab5ef0e58194: Download complete [2021-10-28T23:12:37.197Z] d747dcd14b5f: Verifying Checksum [2021-10-28T23:12:37.197Z] d747dcd14b5f: Download complete [2021-10-28T23:12:37.197Z] e9a5061849ea: Verifying Checksum [2021-10-28T23:12:37.197Z] e9a5061849ea: Download complete [2021-10-28T23:12:37.197Z] 2de7ff778b66: Verifying Checksum [2021-10-28T23:12:37.197Z] 2de7ff778b66: Download complete [2021-10-28T23:12:40.516Z] ab5ef0e58194: Pull complete [2021-10-28T23:12:40.516Z] 9712f1f96733: Pull complete [2021-10-28T23:12:40.778Z] 63f879dbbcfc: Pull complete [2021-10-28T23:12:45.029Z] 0d9ebad4ef96: Pull complete [2021-10-28T23:12:45.029Z] e9a5061849ea: Pull complete [2021-10-28T23:12:45.029Z] d747dcd14b5f: Pull complete [2021-10-28T23:12:46.421Z] 2de7ff778b66: Pull complete [2021-10-28T23:12:46.421Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-28T23:12:46.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:12:46.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-28T23:12:46.492Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:12:46.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-28T23:12:49.726Z] $ docker top 378b5fe9a512b759a203da330ea71b621a5f12e123ba6e782b7024f2130c61fe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:12:49.816Z] provisioning config files... [2021-10-28T23:12:49.824Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5915216071934637382tmp [2021-10-28T23:12:49.835Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7839222790890844775tmp [2021-10-28T23:12:49.844Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8629606420955238394tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:12:49.859Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:50.147Z] ---> sigul-configuration.sh [2021-10-28T23:12:50.147Z] gpg: directory `/root/.gnupg' created [2021-10-28T23:12:50.147Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-28T23:12:50.147Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-28T23:12:50.147Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-28T23:12:50.147Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-28T23:12:50.147Z] gpg: CAST5 encrypted data [2021-10-28T23:12:50.147Z] gpg: encrypted with 1 passphrase [2021-10-28T23:12:50.147Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-28T23:12:50.436Z] + mkdir /home/jenkins [2021-10-28T23:12:50.436Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-28T23:12:50.729Z] + 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-28T23:12:50.738Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:51.024Z] ---> sigul-install.sh [2021-10-28T23:12:51.024Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-28T23:12:51.315Z] + git tag --list [2021-10-28T23:12:51.315Z] 0.7.1 [2021-10-28T23:12:51.315Z] delhi-tag [2021-10-28T23:12:51.315Z] v1.0.0 [2021-10-28T23:12:51.315Z] v1.1.0 [2021-10-28T23:12:51.315Z] v1.1.1 [2021-10-28T23:12:51.315Z] v1.1.2 [2021-10-28T23:12:51.315Z] v1.2.0 [2021-10-28T23:12:51.315Z] v1.2.1 [2021-10-28T23:12:51.315Z] v1.2.2 [2021-10-28T23:12:51.315Z] v1.2.3 [2021-10-28T23:12:51.315Z] v1.3.0 [2021-10-28T23:12:51.315Z] v1.4.0 [2021-10-28T23:12:51.315Z] v2.0.0 [2021-10-28T23:12:51.315Z] v2.0.1-dev.1 [2021-10-28T23:12:51.315Z] v2.0.1-dev.10 [2021-10-28T23:12:51.315Z] v2.0.1-dev.11 [2021-10-28T23:12:51.315Z] v2.0.1-dev.12 [2021-10-28T23:12:51.315Z] v2.0.1-dev.13 [2021-10-28T23:12:51.315Z] v2.0.1-dev.14 [2021-10-28T23:12:51.315Z] v2.0.1-dev.15 [2021-10-28T23:12:51.316Z] v2.0.1-dev.16 [2021-10-28T23:12:51.316Z] v2.0.1-dev.17 [2021-10-28T23:12:51.316Z] v2.0.1-dev.18 [2021-10-28T23:12:51.316Z] v2.0.1-dev.19 [2021-10-28T23:12:51.316Z] v2.0.1-dev.2 [2021-10-28T23:12:51.316Z] v2.0.1-dev.20 [2021-10-28T23:12:51.316Z] v2.0.1-dev.21 [2021-10-28T23:12:51.316Z] v2.0.1-dev.22 [2021-10-28T23:12:51.316Z] v2.0.1-dev.23 [2021-10-28T23:12:51.316Z] v2.0.1-dev.24 [2021-10-28T23:12:51.316Z] v2.0.1-dev.25 [2021-10-28T23:12:51.316Z] v2.0.1-dev.26 [2021-10-28T23:12:51.316Z] v2.0.1-dev.3 [2021-10-28T23:12:51.316Z] v2.0.1-dev.4 [2021-10-28T23:12:51.316Z] v2.0.1-dev.5 [2021-10-28T23:12:51.316Z] v2.0.1-dev.6 [2021-10-28T23:12:51.316Z] v2.0.1-dev.7 [2021-10-28T23:12:51.316Z] v2.0.1-dev.8 [2021-10-28T23:12:51.316Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-28T23:12:51.611Z] + lftools sign git-tag v2.0.1-dev.26 [2021-10-28T23:12:52.183Z] Signing Git tag with Sigul... [2021-10-28T23:12:52.183Z] Signing v2.0.1-dev.26 [Pipeline] echo [2021-10-28T23:12:53.135Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:53.421Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-28T23:12:53.429Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-28T23:12:53.448Z] $ docker stop --time=1 378b5fe9a512b759a203da330ea71b621a5f12e123ba6e782b7024f2130c61fe [2021-10-28T23:12:54.657Z] $ docker rm -f 378b5fe9a512b759a203da330ea71b621a5f12e123ba6e782b7024f2130c61fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:55.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:55.224Z] . [Pipeline] withDockerContainer [2021-10-28T23:12:55.292Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:12:55.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:12:55.662Z] $ docker top 3fa6ec132bd2190ad13b83d8bdd87bec013164d4997360aa526b389fc792729c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:12:55.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:12:55.745Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:12:55.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:12:55.838Z] $ docker exec 3fa6ec132bd2190ad13b83d8bdd87bec013164d4997360aa526b389fc792729c ssh-agent [2021-10-28T23:12:55.924Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCmJdNK/agent.14 [2021-10-28T23:12:55.924Z] SSH_AGENT_PID=20 [2021-10-28T23:12:55.928Z] Running ssh-add (command line suppressed) [2021-10-28T23:12:56.013Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3300130234426756954.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3300130234426756954.key) [2021-10-28T23:12:56.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:12:56.318Z] + git semver bump pre [2021-10-28T23:12:56.318Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:12:56.318Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T23:12:56.318Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:12:56.318Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:12:56.318Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:12:56.318Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:12:56.318Z] # $SEMVER_BRANCH = main [2021-10-28T23:12:56.318Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-28T23:12:56.318Z] 2.0.1-dev.27 [Pipeline] } [2021-10-28T23:12:56.326Z] $ docker exec --env ******** --env ******** 3fa6ec132bd2190ad13b83d8bdd87bec013164d4997360aa526b389fc792729c ssh-agent -k [2021-10-28T23:12:56.408Z] unset SSH_AUTH_SOCK; [2021-10-28T23:12:56.408Z] unset SSH_AGENT_PID; [2021-10-28T23:12:56.408Z] echo Agent pid 20 killed; [2021-10-28T23:12:56.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:12:56.726Z] + git semver [Pipeline] } [2021-10-28T23:12:56.736Z] $ docker stop --time=1 3fa6ec132bd2190ad13b83d8bdd87bec013164d4997360aa526b389fc792729c [2021-10-28T23:12:57.911Z] $ docker rm -f 3fa6ec132bd2190ad13b83d8bdd87bec013164d4997360aa526b389fc792729c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:58.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:58.252Z] . [Pipeline] withDockerContainer [2021-10-28T23:12:58.408Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:12:58.602Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:12:58.918Z] $ docker top 9ae18e2da210577fdfadac2b04f254f089e1c41fdef4c7ae4e79aee17896c65f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:12:58.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:12:58.993Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:12:59.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:12:59.091Z] $ docker exec 9ae18e2da210577fdfadac2b04f254f089e1c41fdef4c7ae4e79aee17896c65f ssh-agent [2021-10-28T23:12:59.188Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLghcNf/agent.15 [2021-10-28T23:12:59.188Z] SSH_AGENT_PID=21 [2021-10-28T23:12:59.192Z] Running ssh-add (command line suppressed) [2021-10-28T23:12:59.276Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1506663927853750040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1506663927853750040.key) [2021-10-28T23:12:59.288Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:12:59.577Z] + git semver push [2021-10-28T23:12:59.577Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:12:59.577Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-28T23:12:59.577Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:12:59.577Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:12:59.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:12:59.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:12:59.577Z] # $SEMVER_BRANCH = main [2021-10-28T23:12:59.577Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-28T23:13:01.496Z] $ docker exec --env ******** --env ******** 9ae18e2da210577fdfadac2b04f254f089e1c41fdef4c7ae4e79aee17896c65f ssh-agent -k [2021-10-28T23:13:01.597Z] unset SSH_AUTH_SOCK; [2021-10-28T23:13:01.597Z] unset SSH_AGENT_PID; [2021-10-28T23:13:01.597Z] echo Agent pid 21 killed; [2021-10-28T23:13:01.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:13:01.911Z] + git semver [Pipeline] } [2021-10-28T23:13:01.922Z] $ docker stop --time=1 9ae18e2da210577fdfadac2b04f254f089e1c41fdef4c7ae4e79aee17896c65f [2021-10-28T23:13:03.110Z] $ docker rm -f 9ae18e2da210577fdfadac2b04f254f089e1c41fdef4c7ae4e79aee17896c65f [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-28T23:13:03.931Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:04.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:04.770Z] ---> package-listing.sh [2021-10-28T23:13:04.770Z] ++ facter osfamily [2021-10-28T23:13:04.770Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T23:13:05.029Z] + OS_FAMILY=redhat [2021-10-28T23:13:05.029Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-28T23:13:05.029Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T23:13:05.029Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T23:13:05.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T23:13:05.029Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T23:13:05.029Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T23:13:05.029Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T23:13:05.029Z] + case "${OS_FAMILY}" in [2021-10-28T23:13:05.029Z] + rpm -qa [2021-10-28T23:13:05.029Z] + sort [2021-10-28T23:13:05.600Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T23:13:05.600Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T23:13:05.600Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T23:13:05.600Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-28T23:13:05.600Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-28T23:13:05.600Z] + 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-28T23:13:05.609Z] 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-28T23:13:05.889Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:13:06.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:13:06.183Z] [2021-10-28T23:13:06.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:13:06.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:13:06.490Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:13:06.490Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:13:06.490Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:13:06.490Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:13:06.490Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:13:06.490Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:13:06.490Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:13:06.490Z] d287ab97295c: Pulling fs layer [2021-10-28T23:13:06.490Z] 77bc0d833cb6: Waiting [2021-10-28T23:13:06.490Z] 9065ff56babe: Waiting [2021-10-28T23:13:06.490Z] d287ab97295c: Waiting [2021-10-28T23:13:06.490Z] dc539afda2c1: Waiting [2021-10-28T23:13:06.490Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:13:06.490Z] a1111a8f2ec3: Download complete [2021-10-28T23:13:06.490Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:13:06.490Z] dc539afda2c1: Download complete [2021-10-28T23:13:06.490Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:13:06.490Z] ed53099fbce6: Download complete [2021-10-28T23:13:06.490Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:13:06.490Z] 77bc0d833cb6: Download complete [2021-10-28T23:13:06.752Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:13:06.752Z] 9065ff56babe: Download complete [2021-10-28T23:13:06.752Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:13:06.752Z] b4d181a07f80: Download complete [2021-10-28T23:13:07.324Z] d287ab97295c: Verifying Checksum [2021-10-28T23:13:07.324Z] d287ab97295c: Download complete [2021-10-28T23:13:08.278Z] b4d181a07f80: Pull complete [2021-10-28T23:13:08.278Z] a1111a8f2ec3: Pull complete [2021-10-28T23:13:08.846Z] ed53099fbce6: Pull complete [2021-10-28T23:13:08.846Z] dc539afda2c1: Pull complete [2021-10-28T23:13:09.417Z] 77bc0d833cb6: Pull complete [2021-10-28T23:13:09.417Z] 9065ff56babe: Pull complete [2021-10-28T23:13:14.715Z] d287ab97295c: Pull complete [2021-10-28T23:13:14.715Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:13:14.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:13:14.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:13:14.771Z] prd-centos7-docker-4c-2g-13324 does not seem to be running inside a container [2021-10-28T23:13:14.805Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:13:17.480Z] $ docker top bd59b68b5c161fdb5d9dac3c3b4635306cffc3607bb4686742738a4040fb4394 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:13:17.835Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T23:13:18.122Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T23:13:18.412Z] + ls /var/log/sa-host [2021-10-28T23:13:18.412Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T23:13:18.412Z] file_magic: OK [2021-10-28T23:13:18.412Z] HZ: Using current value: 100 [2021-10-28T23:13:18.412Z] file_header: OK [2021-10-28T23:13:18.412Z] 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-28T23:13:18.412Z] Statistics: [2021-10-28T23:13:18.412Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:13:18.412Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T23:13:18.412Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T23:13:18.412Z] file_magic: OK [2021-10-28T23:13:18.412Z] HZ: Using current value: 100 [2021-10-28T23:13:18.412Z] file_header: OK [2021-10-28T23:13:18.412Z] 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-28T23:13:18.412Z] Statistics: [2021-10-28T23:13:18.412Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:13:18.412Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:13:18.504Z] provisioning config files... [2021-10-28T23:13:18.513Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5981954041370384396tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:13:18.524Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:18.810Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T23:13:18.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:19.162Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T23:13:19.173Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:19.463Z] ---> sudo-logs.sh [2021-10-28T23:13:19.463Z] Archiving 'sudo' log.. [2021-10-28T23:13:19.463Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13324.novalocal: Name or service not known [2021-10-28T23:13:19.463Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13324.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T23:13:19.485Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:19.772Z] ---> job-cost.sh [2021-10-28T23:13:19.772Z] lf-activate-venv: SKIPPING [2021-10-28T23:13:19.772Z] DEBUG: total: 0.10999999940395355 [2021-10-28T23:13:19.772Z] INFO: Retrieving Stack Cost... [2021-10-28T23:13:20.347Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:13:20.607Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T23:13:20.619Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:20.908Z] ---> logs-deploy.sh [2021-10-28T23:13:20.909Z] lf-activate-venv: SKIPPING [2021-10-28T23:13:20.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/25 [2021-10-28T23:13:20.909Z] INFO: archiving workspace using pattern(s): [2021-10-28T23:13:21.480Z] Archives upload complete. [2021-10-28T23:13:21.740Z] INFO: archiving logs to Nexus