Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 01d7194063e34a881735a97128c065e4ba98888d 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-ssh4062530266138642679.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-ssh8551498490746366850.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-ssh9032089102193622905.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-ssh8671359087150470813.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-ssh5058081552004978526.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-1438 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-ssh7945243307723832777.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 01d7194063e34a881735a97128c065e4ba98888d (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 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 Commit message: "Merge pull request #1033 from hahattan/issue-1002" > git rev-list --no-walk 65791aa66105356d7211b84a08e8523cbf0bcc17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T14:51:56.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T14:51:56.506Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T14:51:56.516Z] ========================================================= [2021-10-14T14:51:56.516Z] EdgeX Global Pipelines Version Info [2021-10-14T14:51:56.516Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:51:57.655Z] ------------------- [2021-10-14T14:51:57.655Z] stable info: [2021-10-14T14:51:57.655Z] ------------------- [2021-10-14T14:51:57.655Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T14:51:57.655Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T14:51:57.655Z] Message: update stable to v1.0.210 [2021-10-14T14:51:58.227Z] ------------------- [2021-10-14T14:51:58.227Z] experimental info: [2021-10-14T14:51:58.227Z] ------------------- [2021-10-14T14:51:58.228Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T14:51:58.228Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T14:51:58.228Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T14:51:58.310Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-14T14:51:58.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-14T14:51:58.335Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T14:51:58.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T14:51:58.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T14:51:58.370Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T14:51:58.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T14:51:58.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-14T14:51:58.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T14:51:58.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T14:51:58.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T14:51:58.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-14T14:51:58.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T14:51:58.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T14:51:58.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T14:51:58.494Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:51:58.506Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:51:58.517Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T14:51:58.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T14:51:58.538Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-14T14:51:58.552Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-14T14:51:58.565Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-14T14:51:58.579Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T14:51:58.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T14:51:58.607Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T14:51:58.617Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T14:51:58.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T14:51:58.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T14:51:58.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T14:51:58.683Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01d7194063e34a881735a97128c065e4ba98888d [Pipeline] echo [2021-10-14T14:51:58.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01d7194 [Pipeline] echo [2021-10-14T14:51:58.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:51:58.742Z] provisioning config files... [2021-10-14T14:51:58.755Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4118702923959430874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:51:59.096Z] ---> docker-login.sh [2021-10-14T14:51:59.096Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:51:59.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:51:59.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:51:59.360Z] Configure a credential helper to remove this warning. See [2021-10-14T14:51:59.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:51:59.360Z] [2021-10-14T14:51:59.360Z] Login Succeeded [2021-10-14T14:51:59.360Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:51:59.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:51:59.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:51:59.360Z] Configure a credential helper to remove this warning. See [2021-10-14T14:51:59.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:51:59.360Z] [2021-10-14T14:51:59.360Z] Login Succeeded [2021-10-14T14:51:59.360Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:51:59.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:51:59.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:51:59.623Z] Configure a credential helper to remove this warning. See [2021-10-14T14:51:59.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:51:59.623Z] [2021-10-14T14:51:59.623Z] Login Succeeded [2021-10-14T14:51:59.623Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:51:59.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:51:59.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:51:59.623Z] Configure a credential helper to remove this warning. See [2021-10-14T14:51:59.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:51:59.624Z] [2021-10-14T14:51:59.624Z] Login Succeeded [2021-10-14T14:51:59.624Z] docker.io [2021-10-14T14:51:59.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:52:00.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:52:00.156Z] Configure a credential helper to remove this warning. See [2021-10-14T14:52:00.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:52:00.156Z] [2021-10-14T14:52:00.156Z] Login Succeeded [2021-10-14T14:52:00.156Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:52:00.167Z] 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-14T14:52:00.621Z] + git log --format=format:%s -1 01d7194063e34a881735a97128c065e4ba98888d [Pipeline] echo [2021-10-14T14:52:00.659Z] GIT_COMMIT: 01d7194063e34a881735a97128c065e4ba98888d, Commit Message: Merge pull request #1033 from hahattan/issue-1002 [Pipeline] echo [2021-10-14T14:52:00.670Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:52:01.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:52:01.101Z] [2021-10-14T14:52:01.101Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:52:01.415Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:52:01.416Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T14:52:01.416Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T14:52:01.416Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T14:52:01.416Z] 4c7163046ea9: Pulling fs layer [2021-10-14T14:52:01.416Z] 0c2d73faf560: Pulling fs layer [2021-10-14T14:52:01.416Z] 0c2d73faf560: Waiting [2021-10-14T14:52:01.416Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T14:52:01.416Z] 3e5f54012d9b: Download complete [2021-10-14T14:52:01.416Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T14:52:01.416Z] a0d0a0d46f8b: Download complete [2021-10-14T14:52:01.416Z] 0c2d73faf560: Verifying Checksum [2021-10-14T14:52:01.416Z] 0c2d73faf560: Download complete [2021-10-14T14:52:01.695Z] 4c7163046ea9: Verifying Checksum [2021-10-14T14:52:01.695Z] 4c7163046ea9: Download complete [2021-10-14T14:52:01.695Z] a0d0a0d46f8b: Pull complete [2021-10-14T14:52:01.695Z] 3e5f54012d9b: Pull complete [2021-10-14T14:52:01.959Z] 4c7163046ea9: Pull complete [2021-10-14T14:52:02.221Z] 0c2d73faf560: Pull complete [2021-10-14T14:52:02.221Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T14:52:02.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T14:52:02.221Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T14:52:02.300Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T14:52:02.319Z] $ 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-14T14:52:02.943Z] $ docker top cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T14:52:03.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T14:52:03.034Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T14:52:03.159Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T14:52:03.156Z] $ docker exec cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 ssh-agent [2021-10-14T14:52:03.266Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHGecDf/agent.15 [2021-10-14T14:52:03.266Z] SSH_AGENT_PID=21 [2021-10-14T14:52:03.272Z] Running ssh-add (command line suppressed) [2021-10-14T14:52:03.363Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_58290138159483414.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_58290138159483414.key) [2021-10-14T14:52:03.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T14:52:03.676Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T14:52:03.682Z] $ docker exec --env ******** --env ******** cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 ssh-agent -k [2021-10-14T14:52:03.775Z] unset SSH_AUTH_SOCK; [2021-10-14T14:52:03.775Z] unset SSH_AGENT_PID; [2021-10-14T14:52:03.776Z] echo Agent pid 21 killed; [2021-10-14T14:52:03.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T14:52:03.810Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T14:52:03.810Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T14:52:03.911Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T14:52:03.908Z] $ docker exec cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 ssh-agent [2021-10-14T14:52:04.015Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiNCNac/agent.54 [2021-10-14T14:52:04.015Z] SSH_AGENT_PID=61 [2021-10-14T14:52:04.026Z] Running ssh-add (command line suppressed) [2021-10-14T14:52:04.134Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_474771371116760776.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_474771371116760776.key) [2021-10-14T14:52:04.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T14:52:04.449Z] + git semver init [2021-10-14T14:52:04.449Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T14:52:04.449Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T14:52:04.449Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T14:52:04.449Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T14:52:04.449Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T14:52:04.449Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T14:52:04.449Z] # $SEMVER_BRANCH = main [2021-10-14T14:52:04.449Z] # $SEMVER_TEMP = /tmp/semver-770885111 [2021-10-14T14:52:04.449Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-14T14:52:05.405Z] # '/tmp/semver-770885111' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-14T14:52:05.405Z] # -> Force: false [2021-10-14T14:52:05.405Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T14:52:05.410Z] $ docker exec --env ******** --env ******** cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 ssh-agent -k [2021-10-14T14:52:05.508Z] unset SSH_AUTH_SOCK; [2021-10-14T14:52:05.508Z] unset SSH_AGENT_PID; [2021-10-14T14:52:05.508Z] echo Agent pid 61 killed; [2021-10-14T14:52:05.525Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T14:52:05.836Z] + git semver [Pipeline] } [2021-10-14T14:52:05.843Z] $ docker stop --time=1 cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 [2021-10-14T14:52:07.068Z] $ docker rm -f cdc382137471e5993619933d0e4c2becbb9c84c245f3f63480f34a8863979f26 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T14:52:07.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T14:52:07.669Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T14:52:07.672Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.20 [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-14T14:52:22.888Z] Still waiting to schedule task [2021-10-14T14:52:22.888Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T14:52:22.890Z] Still waiting to schedule task [2021-10-14T14:52:22.890Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1436’ [2021-10-14T14:57:23.214Z] Running on prd-centos7-docker-4c-2g-1444 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T14:57:23.226Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2021-10-14T14:57:23.476Z] Selected Git installation does not exist. Using Default [2021-10-14T14:57:23.477Z] The recommended git tool is: NONE [2021-10-14T14:57:25.629Z] using credential edgex-jenkins-ssh [2021-10-14T14:57:25.638Z] Cloning the remote Git repository [2021-10-14T14:57:24.709Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:57:24.766Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2021-10-14T14:57:24.796Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:57:24.796Z] > git --version # timeout=10 [2021-10-14T14:57:24.809Z] > git --version # 'git version 2.24.4' [2021-10-14T14:57:24.810Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:57:24.833Z] [INFO] Currently running in a labeled security context [2021-10-14T14:57:24.833Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T14:57:24.834Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/19@tmp/jenkins-gitclient-ssh7517302063307160495.key [2021-10-14T14:57:24.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:57:26.750Z] Avoid second fetch [2021-10-14T14:57:26.751Z] Checking out Revision 01d7194063e34a881735a97128c065e4ba98888d (main) [2021-10-14T14:57:25.776Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:57:25.784Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:57:25.808Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:57:25.820Z] > git checkout -f 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 [2021-10-14T14:57:30.199Z] Commit message: "Merge pull request #1033 from hahattan/issue-1002" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:57:32.759Z] provisioning config files... [2021-10-14T14:57:32.772Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config4137721474947079905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:57:33.167Z] ---> docker-login.sh [2021-10-14T14:57:33.167Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:57:33.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:57:33.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:57:33.430Z] Configure a credential helper to remove this warning. See [2021-10-14T14:57:33.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:57:33.430Z] [2021-10-14T14:57:33.430Z] Login Succeeded [2021-10-14T14:57:33.430Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:57:33.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:57:33.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:57:33.430Z] Configure a credential helper to remove this warning. See [2021-10-14T14:57:33.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:57:33.430Z] [2021-10-14T14:57:33.430Z] Login Succeeded [2021-10-14T14:57:33.430Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:57:33.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:57:33.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:57:33.697Z] Configure a credential helper to remove this warning. See [2021-10-14T14:57:33.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:57:33.697Z] [2021-10-14T14:57:33.697Z] Login Succeeded [2021-10-14T14:57:33.697Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:57:33.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:57:33.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:57:33.697Z] Configure a credential helper to remove this warning. See [2021-10-14T14:57:33.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:57:33.697Z] [2021-10-14T14:57:33.697Z] Login Succeeded [2021-10-14T14:57:33.697Z] docker.io [2021-10-14T14:57:33.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:57:34.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:57:34.271Z] Configure a credential helper to remove this warning. See [2021-10-14T14:57:34.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:57:34.271Z] [2021-10-14T14:57:34.271Z] Login Succeeded [2021-10-14T14:57:34.271Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:57:34.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T14:57:34.430Z] ========================================================= [2021-10-14T14:57:34.430Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T14:57:34.430Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:57:34.763Z] + 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-14T14:57:34.763Z] Sending build context to Docker daemon 2.679MB [2021-10-14T14:57:34.763Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:57:34.763Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T14:57:34.763Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T14:57:34.763Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T14:57:34.763Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T14:57:34.763Z] b8b176561691: Pulling fs layer [2021-10-14T14:57:34.763Z] 4527c011a84f: Pulling fs layer [2021-10-14T14:57:34.763Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T14:57:34.763Z] e0aca202a116: Pulling fs layer [2021-10-14T14:57:34.763Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T14:57:34.763Z] 34cad66bf833: Pulling fs layer [2021-10-14T14:57:34.763Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T14:57:34.763Z] 4527c011a84f: Waiting [2021-10-14T14:57:34.763Z] 5d74067f8e1e: Waiting [2021-10-14T14:57:34.763Z] e0aca202a116: Waiting [2021-10-14T14:57:34.763Z] 3a43be97a3b4: Waiting [2021-10-14T14:57:34.763Z] 34cad66bf833: Waiting [2021-10-14T14:57:34.763Z] b4e3c513aaa6: Waiting [2021-10-14T14:57:35.025Z] b8b176561691: Verifying Checksum [2021-10-14T14:57:35.025Z] b8b176561691: Download complete [2021-10-14T14:57:35.025Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T14:57:35.025Z] 31adcdaf11c8: Download complete [2021-10-14T14:57:35.025Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T14:57:35.025Z] 5d74067f8e1e: Download complete [2021-10-14T14:57:35.025Z] e0aca202a116: Verifying Checksum [2021-10-14T14:57:35.025Z] e0aca202a116: Download complete [2021-10-14T14:57:35.025Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T14:57:35.025Z] a0d0a0d46f8b: Download complete [2021-10-14T14:57:35.025Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T14:57:35.025Z] 3a43be97a3b4: Download complete [2021-10-14T14:57:35.025Z] 34cad66bf833: Verifying Checksum [2021-10-14T14:57:35.025Z] 34cad66bf833: Download complete [2021-10-14T14:57:35.294Z] a0d0a0d46f8b: Pull complete [2021-10-14T14:57:35.562Z] 31adcdaf11c8: Pull complete [2021-10-14T14:57:35.562Z] b8b176561691: Pull complete [2021-10-14T14:57:35.562Z] 4527c011a84f: Verifying Checksum [2021-10-14T14:57:35.562Z] 4527c011a84f: Download complete [2021-10-14T14:57:35.835Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T14:57:35.835Z] b4e3c513aaa6: Download complete [2021-10-14T14:57:40.080Z] 4527c011a84f: Pull complete [2021-10-14T14:57:40.080Z] 5d74067f8e1e: Pull complete [2021-10-14T14:57:40.080Z] e0aca202a116: Pull complete [2021-10-14T14:57:40.080Z] 3a43be97a3b4: Pull complete [2021-10-14T14:57:40.080Z] 34cad66bf833: Pull complete [2021-10-14T14:57:42.650Z] b4e3c513aaa6: Pull complete [2021-10-14T14:57:42.650Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T14:57:42.650Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T14:57:42.650Z] ---> 9f6097aaca64 [2021-10-14T14:57:42.650Z] Step 3/10 : ARG MAKE=make build [2021-10-14T14:57:44.575Z] ---> Running in a53e13d47881 [2021-10-14T14:57:44.575Z] Removing intermediate container a53e13d47881 [2021-10-14T14:57:44.575Z] ---> 987ebf11fc64 [2021-10-14T14:57:44.575Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T14:57:44.575Z] ---> Running in a941b271564e [2021-10-14T14:57:44.575Z] Removing intermediate container a941b271564e [2021-10-14T14:57:44.575Z] ---> 3e84c04f2a91 [2021-10-14T14:57:44.575Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:57:44.575Z] ---> Running in bff7b577f594 [2021-10-14T14:57:44.575Z] Removing intermediate container bff7b577f594 [2021-10-14T14:57:44.575Z] ---> 67633222e0c8 [2021-10-14T14:57:44.575Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:57:44.575Z] ---> Running in 40be00c0e9c4 [2021-10-14T14:57:45.160Z] Removing intermediate container 40be00c0e9c4 [2021-10-14T14:57:45.160Z] ---> e5d8cd4f7cd0 [2021-10-14T14:57:45.160Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:57:45.160Z] ---> Running in 44eb17d6d677 [2021-10-14T14:57:45.425Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:57:46.367Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:57:46.628Z] OK: 220 MiB in 52 packages [2021-10-14T14:57:46.891Z] Removing intermediate container 44eb17d6d677 [2021-10-14T14:57:46.891Z] ---> 977029b5ea8e [2021-10-14T14:57:46.891Z] Step 8/10 : COPY . . [2021-10-14T14:57:47.161Z] ---> 08daa0be0006 [2021-10-14T14:57:47.161Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:57:47.161Z] ---> Running in b233d4ac1605 [2021-10-14T14:58:19.364Z] Removing intermediate container b233d4ac1605 [2021-10-14T14:58:19.364Z] ---> c5479e59afe1 [2021-10-14T14:58:19.364Z] Step 10/10 : RUN ${MAKE} [2021-10-14T14:58:19.364Z] ---> Running in 06f599bb035a [2021-10-14T14:58:19.364Z] noop [2021-10-14T14:58:19.364Z] Removing intermediate container 06f599bb035a [2021-10-14T14:58:19.364Z] ---> f9302c0abf67 [2021-10-14T14:58:19.364Z] Successfully built f9302c0abf67 [2021-10-14T14:58:19.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:58:19.675Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T14:58:19.675Z] . [Pipeline] withDockerContainer [2021-10-14T14:58:19.758Z] prd-centos7-docker-4c-2g-1444 does not seem to be running inside a container [2021-10-14T14:58:19.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T14:58:20.170Z] $ docker top 7ea58090d7be9b93bf8714ab32923d6fad4a8f56792ca0f3edab1158ecf55134 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T14:58:20.530Z] + go version [2021-10-14T14:58:20.530Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T14:58:20.545Z] $ docker stop --time=1 7ea58090d7be9b93bf8714ab32923d6fad4a8f56792ca0f3edab1158ecf55134 [2021-10-14T14:58:21.733Z] $ docker rm -f 7ea58090d7be9b93bf8714ab32923d6fad4a8f56792ca0f3edab1158ecf55134 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:58:22.317Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T14:58:22.317Z] . [Pipeline] withDockerContainer [2021-10-14T14:58:22.380Z] prd-centos7-docker-4c-2g-1444 does not seem to be running inside a container [2021-10-14T14:58:22.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-14T14:58:22.820Z] $ docker top df31e5de6937721ea73a8f2d3f261760191453cae136e8d5ea421fc320328d3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T14:58:23.184Z] + make test [2021-10-14T14:58:23.184Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T14:58:28.508Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T14:58:50.564Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T14:58:50.564Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T14:58:50.564Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T14:58:53.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.5% of statements [2021-10-14T14:58:53.146Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T14:58:53.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.041s coverage: 28.1% of statements [2021-10-14T14:58:53.146Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2021-10-14T14:58:53.407Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.040s coverage: 9.0% of statements [2021-10-14T14:58:53.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T14:58:53.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T14:58:53.407Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T14:58:53.986Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-10-14T14:58:53.986Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T14:58:54.814Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1445 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-14T14:58:54.825Z] Running in /w/workspace/device-sdk-go/19 [Pipeline] { [Pipeline] checkout [2021-10-14T14:58:55.039Z] Selected Git installation does not exist. Using Default [2021-10-14T14:58:55.039Z] The recommended git tool is: NONE [2021-10-14T14:58:55.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-10-14T14:58:55.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T14:58:55.369Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T14:58:55.369Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 57.8% of statements [2021-10-14T14:58:56.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.808s coverage: 88.8% of statements [2021-10-14T14:58:56.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T14:58:56.324Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.9% of statements [2021-10-14T14:58:56.324Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T14:58:56.324Z] GO111MODULE=on go vet ./... [2021-10-14T14:59:01.388Z] using credential edgex-jenkins-ssh [2021-10-14T14:59:01.417Z] Cloning the remote Git repository [2021-10-14T14:59:01.474Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:59:01.575Z] > git init /w/workspace/device-sdk-go/19 # timeout=10 [2021-10-14T14:59:01.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-14T14:59:01.688Z] > git --version # timeout=10 [2021-10-14T14:59:01.711Z] > git --version # 'git version 2.17.1' [2021-10-14T14:59:01.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T14:59:01.818Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:59:03.502Z] Avoid second fetch [2021-10-14T14:59:03.502Z] Checking out Revision 01d7194063e34a881735a97128c065e4ba98888d (main) [2021-10-14T14:59:03.464Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-14T14:59:03.481Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T14:59:03.522Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T14:59:03.535Z] > git checkout -f 01d7194063e34a881735a97128c065e4ba98888d # timeout=10 [2021-10-14T14:59:07.970Z] Commit message: "Merge pull request #1033 from hahattan/issue-1002" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T14:59:08.880Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T14:59:08.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T14:59:08.880Z] Dload Upload Total Spent Left Speed [2021-10-14T14:59:08.880Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 76283 0 --:--:-- --:--:-- --:--:-- 76779 [Pipeline] sh [2021-10-14T14:59:09.309Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T14:59:09.666Z] + sudo tee /etc/docker/daemon.new [2021-10-14T14:59:09.666Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T14:59:09.666Z] { [2021-10-14T14:59:09.666Z] "registry-mirrors": [ [2021-10-14T14:59:09.666Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T14:59:09.666Z] ], [2021-10-14T14:59:09.666Z] "bip": "10.250.0.254/24", [2021-10-14T14:59:09.666Z] "hosts": [ [2021-10-14T14:59:09.666Z] "tcp://0.0.0.0:5555", [2021-10-14T14:59:09.666Z] "unix:///var/run/docker.sock" [2021-10-14T14:59:09.666Z] ], [2021-10-14T14:59:09.666Z] "mtu": 1458, [2021-10-14T14:59:09.666Z] "selinux-enabled": true, [2021-10-14T14:59:09.666Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T14:59:09.666Z] } [Pipeline] sh [2021-10-14T14:59:10.110Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T14:59:10.474Z] + sudo service docker restart [2021-10-14T14:59:14.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T14:59:14.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T14:59:14.559Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T14:59:14.572Z] $ docker stop --time=1 df31e5de6937721ea73a8f2d3f261760191453cae136e8d5ea421fc320328d3b [2021-10-14T14:59:16.109Z] $ docker rm -f df31e5de6937721ea73a8f2d3f261760191453cae136e8d5ea421fc320328d3b [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T14:59:16.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T14:59:16.719Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T14:59:17.928Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T14:59:18.217Z] + ls -al . [2021-10-14T14:59:18.217Z] total 264 [2021-10-14T14:59:18.217Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 14 14:59 . [2021-10-14T14:59:18.217Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 14:57 .. [2021-10-14T14:59:18.217Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 14 14:57 bin [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 14 14:57 CHANGELOG.md [2021-10-14T14:59:18.217Z] -rw-r--r--. 1 jenkins jenkins 126693 Oct 14 14:58 coverage.out [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 14:57 .dockerignore [2021-10-14T14:59:18.217Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 14 14:57 example [2021-10-14T14:59:18.217Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 14:57 .git [2021-10-14T14:59:18.217Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 14 14:57 .github [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 14 14:57 .gitignore [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 14 14:57 go.mod [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 14 14:57 go.sum [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 14:57 GOVERNANCE.md [2021-10-14T14:59:18.217Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 14 14:57 internal [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 14 14:57 Jenkinsfile [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 14 14:57 LICENSE [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 14 14:57 Makefile [2021-10-14T14:59:18.217Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 14 14:57 openapi [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 14 14:57 OWNERS.md [2021-10-14T14:59:18.217Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 14 14:57 pkg [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 14 14:57 README.md [2021-10-14T14:59:18.217Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 14 14:57 snap [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 14:52 VERSION [2021-10-14T14:59:18.217Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 14 14:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:59:18.540Z] + 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=01d7194063e34a881735a97128c065e4ba98888d --label arch=amd64 --label version=2.0.1-dev.20 . [2021-10-14T14:59:18.540Z] Sending build context to Docker daemon 2.807MB [2021-10-14T14:59:18.540Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:59:18.540Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T14:59:18.540Z] ---> f9302c0abf67 [2021-10-14T14:59:18.540Z] Step 3/24 : ARG MAKE=make build [2021-10-14T14:59:18.540Z] ---> Running in 1bf832a07aaa [2021-10-14T14:59:18.799Z] Removing intermediate container 1bf832a07aaa [2021-10-14T14:59:18.799Z] ---> a16a9330e78f [2021-10-14T14:59:18.799Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T14:59:18.799Z] ---> Running in 3410222277fa [2021-10-14T14:59:18.799Z] Removing intermediate container 3410222277fa [2021-10-14T14:59:18.799Z] ---> 0ff09a6be594 [2021-10-14T14:59:18.799Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:59:18.799Z] ---> Running in 077de4c2a7bc [2021-10-14T14:59:18.799Z] Removing intermediate container 077de4c2a7bc [2021-10-14T14:59:18.799Z] ---> a8202856ddb5 [2021-10-14T14:59:18.799Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:59:18.800Z] ---> Running in 045338f5547a [2021-10-14T14:59:19.375Z] Removing intermediate container 045338f5547a [2021-10-14T14:59:19.375Z] ---> 3447d23fdbda [2021-10-14T14:59:19.375Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T14:59:19.375Z] ---> Running in 69717c55691e [2021-10-14T14:59:19.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:59:20.587Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:59:20.849Z] OK: 220 MiB in 52 packages [2021-10-14T14:59:21.109Z] Removing intermediate container 69717c55691e [2021-10-14T14:59:21.109Z] ---> b8234e9ead8a [2021-10-14T14:59:21.109Z] Step 8/24 : COPY . . [2021-10-14T14:59:21.371Z] ---> 6710db73c0c2 [2021-10-14T14:59:21.371Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T14:59:21.371Z] ---> Running in 175a74e8654f [2021-10-14T14:59:21.942Z] Removing intermediate container 175a74e8654f [2021-10-14T14:59:21.942Z] ---> 1de0b534901f [2021-10-14T14:59:21.942Z] Step 10/24 : RUN ${MAKE} [2021-10-14T14:59:21.942Z] ---> Running in f7056bd0866c [2021-10-14T14:59:22.202Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T14:59:28.896Z] provisioning config files... [2021-10-14T14:59:28.923Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/19@tmp/config9105116508817594871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:59:29.309Z] ---> docker-login.sh [2021-10-14T14:59:29.309Z] nexus3.edgexfoundry.org:10001 [2021-10-14T14:59:30.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:59:31.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:59:31.062Z] Configure a credential helper to remove this warning. See [2021-10-14T14:59:31.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:59:31.062Z] [2021-10-14T14:59:31.062Z] Login Succeeded [2021-10-14T14:59:31.062Z] nexus3.edgexfoundry.org:10002 [2021-10-14T14:59:31.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:59:31.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:59:31.669Z] Configure a credential helper to remove this warning. See [2021-10-14T14:59:31.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:59:31.669Z] [2021-10-14T14:59:31.669Z] Login Succeeded [2021-10-14T14:59:31.669Z] nexus3.edgexfoundry.org:10003 [2021-10-14T14:59:31.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:59:32.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:59:32.227Z] Configure a credential helper to remove this warning. See [2021-10-14T14:59:32.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:59:32.227Z] [2021-10-14T14:59:32.227Z] Login Succeeded [2021-10-14T14:59:32.227Z] nexus3.edgexfoundry.org:10004 [2021-10-14T14:59:32.304Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T14:59:32.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:59:32.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:59:32.848Z] Configure a credential helper to remove this warning. See [2021-10-14T14:59:32.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:59:32.848Z] [2021-10-14T14:59:32.848Z] Login Succeeded [2021-10-14T14:59:32.848Z] docker.io [2021-10-14T14:59:33.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T14:59:33.264Z] Removing intermediate container f7056bd0866c [2021-10-14T14:59:33.264Z] ---> b4c5e09acb16 [2021-10-14T14:59:33.264Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T14:59:33.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T14:59:33.403Z] Configure a credential helper to remove this warning. See [2021-10-14T14:59:33.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T14:59:33.403Z] [2021-10-14T14:59:33.403Z] Login Succeeded [2021-10-14T14:59:33.403Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T14:59:33.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T14:59:33.738Z] ========================================================= [2021-10-14T14:59:33.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T14:59:33.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:59:33.834Z] 3.14: Pulling from library/alpine [2021-10-14T14:59:34.097Z] a0d0a0d46f8b: Already exists [2021-10-14T14:59:34.097Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T14:59:34.097Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T14:59:34.097Z] ---> 14119a10abf4 [2021-10-14T14:59:34.097Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T14:59:34.097Z] ---> Running in a47e5022ecd7 [2021-10-14T14:59:34.140Z] + 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-14T14:59:34.358Z] Removing intermediate container a47e5022ecd7 [2021-10-14T14:59:34.358Z] ---> bf694c1469bc [2021-10-14T14:59:34.358Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T14:59:34.358Z] ---> Running in 29c502a8a1bd [2021-10-14T14:59:34.419Z] Sending build context to Docker daemon 2.679MB [2021-10-14T14:59:34.619Z] Removing intermediate container 29c502a8a1bd [2021-10-14T14:59:34.620Z] ---> 01f5b2a07c31 [2021-10-14T14:59:34.620Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T14:59:34.699Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T14:59:34.699Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-14T14:59:34.699Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T14:59:34.699Z] 552d1f2373af: Pulling fs layer [2021-10-14T14:59:34.699Z] ea3f2d53f512: Pulling fs layer [2021-10-14T14:59:34.699Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T14:59:34.699Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T14:59:34.699Z] 72dc09318566: Pulling fs layer [2021-10-14T14:59:34.699Z] f4f7b4309257: Pulling fs layer [2021-10-14T14:59:34.699Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T14:59:34.699Z] b78e95d17946: Pulling fs layer [2021-10-14T14:59:34.699Z] 7a9cfe048b4a: Waiting [2021-10-14T14:59:34.699Z] 72dc09318566: Waiting [2021-10-14T14:59:34.699Z] f4f7b4309257: Waiting [2021-10-14T14:59:34.699Z] 0ac9a79272e3: Waiting [2021-10-14T14:59:34.699Z] b78e95d17946: Waiting [2021-10-14T14:59:34.888Z] ---> Running in 48cef569d845 [2021-10-14T14:59:34.888Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T14:59:34.981Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T14:59:34.981Z] 9e70ebbbe112: Download complete [2021-10-14T14:59:34.981Z] ea3f2d53f512: Download complete [2021-10-14T14:59:34.981Z] 72dc09318566: Verifying Checksum [2021-10-14T14:59:34.981Z] 72dc09318566: Download complete [2021-10-14T14:59:34.981Z] f4f7b4309257: Verifying Checksum [2021-10-14T14:59:34.981Z] f4f7b4309257: Download complete [2021-10-14T14:59:34.981Z] 552d1f2373af: Verifying Checksum [2021-10-14T14:59:34.981Z] 552d1f2373af: Download complete [2021-10-14T14:59:34.981Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T14:59:34.981Z] 0ac9a79272e3: Download complete [2021-10-14T14:59:35.828Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T14:59:36.086Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T14:59:36.288Z] 552d1f2373af: Pull complete [2021-10-14T14:59:36.344Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T14:59:36.344Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T14:59:36.344Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T14:59:36.608Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T14:59:36.608Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T14:59:36.608Z] OK: 8 MiB in 19 packages [2021-10-14T14:59:36.621Z] ea3f2d53f512: Pull complete [2021-10-14T14:59:36.868Z] Removing intermediate container 48cef569d845 [2021-10-14T14:59:36.868Z] ---> 3387810d7029 [2021-10-14T14:59:36.868Z] Step 15/24 : WORKDIR / [2021-10-14T14:59:36.868Z] ---> Running in b42414fe41ea [2021-10-14T14:59:37.128Z] Removing intermediate container b42414fe41ea [2021-10-14T14:59:37.128Z] ---> f040c08134e3 [2021-10-14T14:59:37.128Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T14:59:37.128Z] ---> 5b8178b295f0 [2021-10-14T14:59:37.128Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T14:59:37.252Z] 9e70ebbbe112: Pull complete [2021-10-14T14:59:37.252Z] b78e95d17946: Verifying Checksum [2021-10-14T14:59:37.390Z] ---> 0a4898b4894c [2021-10-14T14:59:37.390Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T14:59:37.535Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T14:59:37.535Z] 7a9cfe048b4a: Download complete [2021-10-14T14:59:37.652Z] ---> 7507fabec8c0 [2021-10-14T14:59:37.652Z] Step 19/24 : EXPOSE 59999 [2021-10-14T14:59:37.652Z] ---> Running in 52b7f0d6e9fc [2021-10-14T14:59:37.652Z] Removing intermediate container 52b7f0d6e9fc [2021-10-14T14:59:37.652Z] ---> a1dad6ed3dc7 [2021-10-14T14:59:37.652Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T14:59:37.913Z] ---> Running in 321a1123325f [2021-10-14T14:59:37.913Z] Removing intermediate container 321a1123325f [2021-10-14T14:59:37.913Z] ---> f36b71598438 [2021-10-14T14:59:37.913Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T14:59:37.913Z] ---> Running in 68fc914929f4 [2021-10-14T14:59:37.913Z] Removing intermediate container 68fc914929f4 [2021-10-14T14:59:37.913Z] ---> 3e8a8d5abcab [2021-10-14T14:59:37.913Z] Step 22/24 : LABEL arch=amd64 [2021-10-14T14:59:37.913Z] ---> Running in d14de32b090f [2021-10-14T14:59:38.175Z] Removing intermediate container d14de32b090f [2021-10-14T14:59:38.175Z] ---> 85f8c3494844 [2021-10-14T14:59:38.175Z] Step 23/24 : LABEL git_sha=01d7194063e34a881735a97128c065e4ba98888d [2021-10-14T14:59:38.175Z] ---> Running in 3f2007f5799e [2021-10-14T14:59:38.175Z] Removing intermediate container 3f2007f5799e [2021-10-14T14:59:38.175Z] ---> 74f8767dd27a [2021-10-14T14:59:38.175Z] Step 24/24 : LABEL version=2.0.1-dev.20 [2021-10-14T14:59:38.175Z] ---> Running in b4db36ec23bb [2021-10-14T14:59:38.175Z] Removing intermediate container b4db36ec23bb [2021-10-14T14:59:38.175Z] ---> c494a2dd4c6a [2021-10-14T14:59:38.175Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T14:59:38.175Z] Successfully built c494a2dd4c6a [2021-10-14T14:59:38.175Z] 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-14T14:59:38.741Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:59:38.741Z] [2021-10-14T14:59:38.741Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T14:59:39.049Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:59:39.049Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T14:59:39.049Z] b4d181a07f80: Pulling fs layer [2021-10-14T14:59:39.049Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T14:59:39.049Z] ed53099fbce6: Pulling fs layer [2021-10-14T14:59:39.049Z] dc539afda2c1: Pulling fs layer [2021-10-14T14:59:39.049Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T14:59:39.049Z] 9065ff56babe: Pulling fs layer [2021-10-14T14:59:39.049Z] d287ab97295c: Pulling fs layer [2021-10-14T14:59:39.049Z] 77bc0d833cb6: Waiting [2021-10-14T14:59:39.049Z] 9065ff56babe: Waiting [2021-10-14T14:59:39.049Z] d287ab97295c: Waiting [2021-10-14T14:59:39.049Z] dc539afda2c1: Waiting [2021-10-14T14:59:39.049Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T14:59:39.049Z] a1111a8f2ec3: Download complete [2021-10-14T14:59:39.049Z] dc539afda2c1: Verifying Checksum [2021-10-14T14:59:39.049Z] dc539afda2c1: Download complete [2021-10-14T14:59:39.313Z] ed53099fbce6: Verifying Checksum [2021-10-14T14:59:39.314Z] ed53099fbce6: Download complete [2021-10-14T14:59:39.314Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T14:59:39.314Z] 77bc0d833cb6: Download complete [2021-10-14T14:59:39.314Z] 9065ff56babe: Verifying Checksum [2021-10-14T14:59:39.314Z] 9065ff56babe: Download complete [2021-10-14T14:59:39.314Z] b4d181a07f80: Verifying Checksum [2021-10-14T14:59:39.314Z] b4d181a07f80: Download complete [2021-10-14T14:59:39.898Z] d287ab97295c: Verifying Checksum [2021-10-14T14:59:39.898Z] d287ab97295c: Download complete [2021-10-14T14:59:40.487Z] b4d181a07f80: Pull complete [2021-10-14T14:59:40.748Z] a1111a8f2ec3: Pull complete [2021-10-14T14:59:41.329Z] ed53099fbce6: Pull complete [2021-10-14T14:59:41.329Z] dc539afda2c1: Pull complete [2021-10-14T14:59:41.593Z] 77bc0d833cb6: Pull complete [2021-10-14T14:59:41.593Z] 9065ff56babe: Pull complete [2021-10-14T14:59:46.900Z] d287ab97295c: Pull complete [2021-10-14T14:59:46.900Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T14:59:46.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T14:59:46.900Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T14:59:46.962Z] prd-centos7-docker-4c-2g-1444 does not seem to be running inside a container [2021-10-14T14:59:46.998Z] $ 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/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@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-14T14:59:47.781Z] 7a9cfe048b4a: Pull complete [2021-10-14T14:59:48.060Z] 72dc09318566: Pull complete [2021-10-14T14:59:48.337Z] f4f7b4309257: Pull complete [2021-10-14T14:59:48.942Z] 0ac9a79272e3: Pull complete [2021-10-14T14:59:50.000Z] $ docker top 383fe34eb52d8a1cfcec3092bfcfefb226a63a24e7b0743f7150d9bd2670e2c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T14:59:50.390Z] ---> job-cost.sh [2021-10-14T14:59:50.390Z] lf-activate-venv: SKIPPING [2021-10-14T14:59:50.390Z] INFO: No Stack... [2021-10-14T14:59:51.332Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T14:59:51.592Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T14:59:51.889Z] + cut -d, -f6 [2021-10-14T14:59:51.889Z] + cat /w/workspace/device-sdk-go/19/archives/cost.csv [Pipeline] lock [2021-10-14T14:59:51.918Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [2021-10-14T14:59:51.926Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] did not exist. Created. [2021-10-14T14:59:51.926Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T14:59:52.229Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T14:59:52.261Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T14:59:52.267Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T14:59:52.287Z] $ docker stop --time=1 383fe34eb52d8a1cfcec3092bfcfefb226a63a24e7b0743f7150d9bd2670e2c7 [2021-10-14T14:59:53.438Z] $ docker rm -f 383fe34eb52d8a1cfcec3092bfcfefb226a63a24e7b0743f7150d9bd2670e2c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T14:59:54.407Z] b78e95d17946: Pull complete [2021-10-14T14:59:54.407Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T14:59:54.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T14:59:54.407Z] ---> 8b459fc5aaf0 [2021-10-14T14:59:54.407Z] Step 3/10 : ARG MAKE=make build [2021-10-14T14:59:58.792Z] ---> Running in 3df4db0ddca5 [2021-10-14T14:59:59.399Z] Removing intermediate container 3df4db0ddca5 [2021-10-14T14:59:59.399Z] ---> 50854c8df6c1 [2021-10-14T14:59:59.399Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-14T14:59:59.399Z] ---> Running in 428d07cae125 [2021-10-14T15:00:00.002Z] Removing intermediate container 428d07cae125 [2021-10-14T15:00:00.002Z] ---> c1a6232ed2ec [2021-10-14T15:00:00.002Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T15:00:00.281Z] ---> Running in a8094055cd04 [2021-10-14T15:00:00.559Z] Removing intermediate container a8094055cd04 [2021-10-14T15:00:00.559Z] ---> 7409305c3c98 [2021-10-14T15:00:00.559Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T15:00:00.837Z] ---> Running in 6542739f2acc [2021-10-14T15:00:03.492Z] Removing intermediate container 6542739f2acc [2021-10-14T15:00:03.492Z] ---> bc3e92f37dac [2021-10-14T15:00:03.492Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T15:00:03.492Z] ---> Running in fbf541e2e616 [2021-10-14T15:00:04.503Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T15:00:05.530Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T15:00:06.538Z] OK: 219 MiB in 52 packages [2021-10-14T15:00:07.550Z] Removing intermediate container fbf541e2e616 [2021-10-14T15:00:07.550Z] ---> 06f0cbd102b6 [2021-10-14T15:00:07.550Z] Step 8/10 : COPY . . [2021-10-14T15:00:08.557Z] ---> a51837e4749e [2021-10-14T15:00:08.557Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T15:00:08.847Z] ---> Running in 9f2068864de4 [2021-10-14T15:01:30.798Z] Removing intermediate container 9f2068864de4 [2021-10-14T15:01:30.798Z] ---> 87992d90b1b5 [2021-10-14T15:01:30.798Z] Step 10/10 : RUN ${MAKE} [2021-10-14T15:01:30.798Z] ---> Running in 4912b620122f [2021-10-14T15:01:30.798Z] noop [2021-10-14T15:01:30.798Z] Removing intermediate container 4912b620122f [2021-10-14T15:01:30.798Z] ---> e8c1fe7abafe [2021-10-14T15:01:30.798Z] Successfully built e8c1fe7abafe [2021-10-14T15:01:30.798Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:01:31.160Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T15:01:31.160Z] . [Pipeline] withDockerContainer [2021-10-14T15:01:31.450Z] prd-ubuntu18.04-docker-arm64-4c-16g-1445 does not seem to be running inside a container [2021-10-14T15:01:31.559Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T15:01:33.261Z] $ docker top 126b14aeda5ce3b03f032dbce94bd672dbeaf4e342c1d6a2f098ebd44d670de4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T15:01:34.276Z] + go version [2021-10-14T15:01:34.277Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T15:01:34.306Z] $ docker stop --time=1 126b14aeda5ce3b03f032dbce94bd672dbeaf4e342c1d6a2f098ebd44d670de4 [2021-10-14T15:01:36.205Z] $ docker rm -f 126b14aeda5ce3b03f032dbce94bd672dbeaf4e342c1d6a2f098ebd44d670de4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:01:36.949Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T15:01:36.949Z] . [Pipeline] withDockerContainer [2021-10-14T15:01:37.221Z] prd-ubuntu18.04-docker-arm64-4c-16g-1445 does not seem to be running inside a container [2021-10-14T15:01:37.308Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-14T15:01:39.006Z] $ docker top 693814f79885eae3f0d0eedb3d34b766c251fbe65e02ff0bd7bbcbdfc1550532 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T15:01:40.003Z] + make test [2021-10-14T15:01:40.003Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-14T15:02:06.920Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-14T15:03:15.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-14T15:03:15.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-14T15:03:15.108Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-14T15:03:16.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.274s coverage: 23.5% of statements [2021-10-14T15:03:16.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-14T15:03:16.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.194s coverage: 28.1% of statements [2021-10-14T15:03:16.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.225s coverage: 78.9% of statements [2021-10-14T15:03:16.599Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.225s coverage: 9.0% of statements [2021-10-14T15:03:16.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-14T15:03:16.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-14T15:03:16.599Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-14T15:03:18.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.301s coverage: 28.7% of statements [2021-10-14T15:03:18.621Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-14T15:03:21.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.215s coverage: 83.3% of statements [2021-10-14T15:03:21.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-14T15:03:21.316Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-14T15:03:21.316Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.466s coverage: 57.8% of statements [2021-10-14T15:03:22.779Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.168s coverage: 88.8% of statements [2021-10-14T15:03:22.779Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-14T15:03:23.057Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 4.9% of statements [2021-10-14T15:03:23.057Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-14T15:03:23.666Z] GO111MODULE=on go vet ./... [2021-10-14T15:04:20.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T15:04:20.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T15:04:20.386Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T15:04:20.403Z] $ docker stop --time=1 693814f79885eae3f0d0eedb3d34b766c251fbe65e02ff0bd7bbcbdfc1550532 [2021-10-14T15:04:22.826Z] $ docker rm -f 693814f79885eae3f0d0eedb3d34b766c251fbe65e02ff0bd7bbcbdfc1550532 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T15:04:23.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T15:04:23.919Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T15:04:24.595Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T15:04:25.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T15:04:25.397Z] + ls -al . [2021-10-14T15:04:25.397Z] total 300 [2021-10-14T15:04:25.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 15:04 . [2021-10-14T15:04:25.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:59 .. [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 14:59 .dockerignore [2021-10-14T15:04:25.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 14:59 .git [2021-10-14T15:04:25.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:59 .github [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 14 14:59 .gitignore [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 14 14:59 CHANGELOG.md [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 14:59 GOVERNANCE.md [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 14 14:59 Jenkinsfile [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 14 14:59 LICENSE [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 14 14:59 Makefile [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 14 14:59 OWNERS.md [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 14 14:59 README.md [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 14:52 VERSION [2021-10-14T15:04:25.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 14:59 bin [2021-10-14T15:04:25.397Z] -rw-r--r-- 1 jenkins jenkins 126693 Oct 14 15:03 coverage.out [2021-10-14T15:04:25.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 14:59 example [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 14 14:59 go.mod [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 14 14:59 go.sum [2021-10-14T15:04:25.397Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 14 14:59 internal [2021-10-14T15:04:25.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 14:59 openapi [2021-10-14T15:04:25.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 14 14:59 pkg [2021-10-14T15:04:25.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 14:59 snap [2021-10-14T15:04:25.397Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 14 14:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:04:25.748Z] + 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=01d7194063e34a881735a97128c065e4ba98888d --label arch=arm64 --label version=2.0.1-dev.20 . [2021-10-14T15:04:26.024Z] Sending build context to Docker daemon 2.806MB [2021-10-14T15:04:26.300Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T15:04:26.300Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-14T15:04:26.300Z] ---> e8c1fe7abafe [2021-10-14T15:04:26.300Z] Step 3/24 : ARG MAKE=make build [2021-10-14T15:04:26.300Z] ---> Running in 7418044abbaf [2021-10-14T15:04:26.903Z] Removing intermediate container 7418044abbaf [2021-10-14T15:04:26.903Z] ---> d1765c7173c9 [2021-10-14T15:04:26.903Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-14T15:04:26.903Z] ---> Running in fd0178eb7513 [2021-10-14T15:04:27.506Z] Removing intermediate container fd0178eb7513 [2021-10-14T15:04:27.506Z] ---> 5cc3b8cdc29b [2021-10-14T15:04:27.506Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T15:04:27.506Z] ---> Running in 4e21f21db007 [2021-10-14T15:04:28.106Z] Removing intermediate container 4e21f21db007 [2021-10-14T15:04:28.106Z] ---> 9b7c35551432 [2021-10-14T15:04:28.106Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T15:04:28.106Z] ---> Running in 43f392311a98 [2021-10-14T15:04:30.100Z] Removing intermediate container 43f392311a98 [2021-10-14T15:04:30.100Z] ---> 6e63007b917e [2021-10-14T15:04:30.100Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-14T15:04:30.100Z] ---> Running in 45a3879092e7 [2021-10-14T15:04:31.556Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T15:04:32.157Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T15:04:33.145Z] OK: 219 MiB in 52 packages [2021-10-14T15:04:34.145Z] Removing intermediate container 45a3879092e7 [2021-10-14T15:04:34.145Z] ---> 1220850b7454 [2021-10-14T15:04:34.145Z] Step 8/24 : COPY . . [2021-10-14T15:04:35.139Z] ---> a4625a5be781 [2021-10-14T15:04:35.139Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T15:04:35.416Z] ---> Running in 1e851ade71a4 [2021-10-14T15:04:38.078Z] Removing intermediate container 1e851ade71a4 [2021-10-14T15:04:38.078Z] ---> 42a4bfe93f87 [2021-10-14T15:04:38.078Z] Step 10/24 : RUN ${MAKE} [2021-10-14T15:04:38.078Z] ---> Running in 29cdb72d6e41 [2021-10-14T15:04:39.080Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.20" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-14T15:05:11.579Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-14T15:05:14.233Z] Removing intermediate container 29cdb72d6e41 [2021-10-14T15:05:14.234Z] ---> bf48ba05b4c4 [2021-10-14T15:05:14.234Z] Step 11/24 : FROM alpine:3.14 [2021-10-14T15:05:15.226Z] 3.14: Pulling from library/alpine [2021-10-14T15:05:15.226Z] 552d1f2373af: Already exists [2021-10-14T15:05:15.507Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T15:05:15.507Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T15:05:15.507Z] ---> bb3de5531c18 [2021-10-14T15:05:15.507Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-14T15:05:15.786Z] ---> Running in d0ebe12302bc [2021-10-14T15:05:16.066Z] Removing intermediate container d0ebe12302bc [2021-10-14T15:05:16.066Z] ---> d1e000eab463 [2021-10-14T15:05:16.066Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T15:05:16.347Z] ---> Running in d32066070cb6 [2021-10-14T15:05:18.357Z] Removing intermediate container d32066070cb6 [2021-10-14T15:05:18.357Z] ---> 315cd406ef81 [2021-10-14T15:05:18.357Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-14T15:05:18.637Z] ---> Running in 44cd12819316 [2021-10-14T15:05:19.633Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T15:05:21.086Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T15:05:21.696Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T15:05:21.696Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-14T15:05:21.696Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T15:05:21.976Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-14T15:05:21.976Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-14T15:05:22.255Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T15:05:22.255Z] OK: 8 MiB in 19 packages [2021-10-14T15:05:23.256Z] Removing intermediate container 44cd12819316 [2021-10-14T15:05:23.256Z] ---> ae64fe0c3225 [2021-10-14T15:05:23.256Z] Step 15/24 : WORKDIR / [2021-10-14T15:05:23.540Z] ---> Running in 7deb7e10889c [2021-10-14T15:05:23.819Z] Removing intermediate container 7deb7e10889c [2021-10-14T15:05:23.819Z] ---> 39d36b945e6e [2021-10-14T15:05:23.819Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-14T15:05:24.856Z] ---> 1865d8bd93d1 [2021-10-14T15:05:24.856Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-14T15:05:25.855Z] ---> 24a5f92b1143 [2021-10-14T15:05:25.855Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-14T15:05:26.458Z] ---> 6605d0c47618 [2021-10-14T15:05:26.458Z] Step 19/24 : EXPOSE 59999 [2021-10-14T15:05:26.738Z] ---> Running in dd972aed1177 [2021-10-14T15:05:27.017Z] Removing intermediate container dd972aed1177 [2021-10-14T15:05:27.017Z] ---> b93c1026785d [2021-10-14T15:05:27.017Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-14T15:05:27.300Z] ---> Running in 50cd4f3eed3a [2021-10-14T15:05:27.907Z] Removing intermediate container 50cd4f3eed3a [2021-10-14T15:05:27.907Z] ---> e488be614842 [2021-10-14T15:05:27.907Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T15:05:27.907Z] ---> Running in 4110907a6704 [2021-10-14T15:05:28.513Z] Removing intermediate container 4110907a6704 [2021-10-14T15:05:28.513Z] ---> f10ff3640876 [2021-10-14T15:05:28.513Z] Step 22/24 : LABEL arch=arm64 [2021-10-14T15:05:28.513Z] ---> Running in 85ec8858694d [2021-10-14T15:05:29.120Z] Removing intermediate container 85ec8858694d [2021-10-14T15:05:29.120Z] ---> 0e7d4c72aa8c [2021-10-14T15:05:29.120Z] Step 23/24 : LABEL git_sha=01d7194063e34a881735a97128c065e4ba98888d [2021-10-14T15:05:29.120Z] ---> Running in 2adfc4b9206f [2021-10-14T15:05:29.735Z] Removing intermediate container 2adfc4b9206f [2021-10-14T15:05:29.735Z] ---> 176beee71734 [2021-10-14T15:05:29.735Z] Step 24/24 : LABEL version=2.0.1-dev.20 [2021-10-14T15:05:29.735Z] ---> Running in b5dc26c13a49 [2021-10-14T15:05:30.340Z] Removing intermediate container b5dc26c13a49 [2021-10-14T15:05:30.340Z] ---> b9f2af85ef45 [2021-10-14T15:05:30.340Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T15:05:30.340Z] Successfully built b9f2af85ef45 [2021-10-14T15:05:30.340Z] 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-14T15:05:30.973Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T15:05:30.973Z] [2021-10-14T15:05:30.973Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:05:31.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T15:05:31.622Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T15:05:31.622Z] 448f6bf000e3: Pulling fs layer [2021-10-14T15:05:31.622Z] f757da607395: Pulling fs layer [2021-10-14T15:05:31.622Z] 05883995daec: Pulling fs layer [2021-10-14T15:05:31.622Z] 8603b9c90790: Pulling fs layer [2021-10-14T15:05:31.622Z] 1560dd03e051: Pulling fs layer [2021-10-14T15:05:31.622Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T15:05:31.622Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T15:05:31.622Z] 8603b9c90790: Waiting [2021-10-14T15:05:31.622Z] 1560dd03e051: Waiting [2021-10-14T15:05:31.622Z] 27f5ce0e4adf: Waiting [2021-10-14T15:05:31.622Z] c2d8d7efcc4b: Waiting [2021-10-14T15:05:31.904Z] f757da607395: Verifying Checksum [2021-10-14T15:05:31.904Z] f757da607395: Download complete [2021-10-14T15:05:31.904Z] 8603b9c90790: Verifying Checksum [2021-10-14T15:05:31.904Z] 8603b9c90790: Download complete [2021-10-14T15:05:32.185Z] 1560dd03e051: Verifying Checksum [2021-10-14T15:05:32.185Z] 1560dd03e051: Download complete [2021-10-14T15:05:32.185Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T15:05:32.185Z] 27f5ce0e4adf: Download complete [2021-10-14T15:05:32.185Z] 05883995daec: Verifying Checksum [2021-10-14T15:05:32.185Z] 05883995daec: Download complete [2021-10-14T15:05:32.464Z] 448f6bf000e3: Verifying Checksum [2021-10-14T15:05:32.464Z] 448f6bf000e3: Download complete [2021-10-14T15:05:35.119Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T15:05:35.119Z] c2d8d7efcc4b: Download complete [2021-10-14T15:05:36.113Z] 448f6bf000e3: Pull complete [2021-10-14T15:05:36.723Z] f757da607395: Pull complete [2021-10-14T15:05:38.190Z] 05883995daec: Pull complete [2021-10-14T15:05:38.471Z] 8603b9c90790: Pull complete [2021-10-14T15:05:39.474Z] 1560dd03e051: Pull complete [2021-10-14T15:05:39.753Z] 27f5ce0e4adf: Pull complete [2021-10-14T15:05:54.930Z] c2d8d7efcc4b: Pull complete [2021-10-14T15:05:54.930Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T15:05:54.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T15:05:54.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T15:05:55.169Z] prd-ubuntu18.04-docker-arm64-4c-16g-1445 does not seem to be running inside a container [2021-10-14T15:05:55.257Z] $ 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/19 -v /w/workspace/device-sdk-go/19:/w/workspace/device-sdk-go/19:rw,z -v /w/workspace/device-sdk-go/19@tmp:/w/workspace/device-sdk-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-14T15:05:58.595Z] $ docker top 8ec37f18bd6f27f6e5b5b9a0420e32674f08698af264b1ec24e8d6812e509227 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:05:59.571Z] ---> job-cost.sh [2021-10-14T15:05:59.571Z] lf-activate-venv: SKIPPING [2021-10-14T15:05:59.571Z] INFO: No Stack... [2021-10-14T15:05:59.848Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T15:06:00.452Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T15:06:01.137Z] + cut -d, -f6 [2021-10-14T15:06:01.137Z] + cat /w/workspace/device-sdk-go/19/archives/cost.csv [Pipeline] lock [2021-10-14T15:06:01.213Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [2021-10-14T15:06:01.218Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] did not exist. Created. [2021-10-14T15:06:01.218Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T15:06:01.922Z] /w/workspace/device-sdk-go/19@tmp/durable-1e4354a0/script.sh: 1: /w/workspace/device-sdk-go/19@tmp/durable-1e4354a0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T15:06:02.613Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T15:06:02.636Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T15:06:02.698Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T15:06:02.704Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T15:06:02.715Z] $ docker stop --time=1 8ec37f18bd6f27f6e5b5b9a0420e32674f08698af264b1ec24e8d6812e509227 [2021-10-14T15:06:04.376Z] $ docker rm -f 8ec37f18bd6f27f6e5b5b9a0420e32674f08698af264b1ec24e8d6812e509227 [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-14T15:06:05.148Z] provisioning config files... [2021-10-14T15:06:05.159Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6137796343757361499tmp [Pipeline] { [Pipeline] sh [2021-10-14T15:06:05.462Z] + set +x [2021-10-14T15:06:05.462Z] + curl -s https://codecov.io/bash [2021-10-14T15:06:05.462Z] + bash -s -- [2021-10-14T15:06:05.462Z] [2021-10-14T15:06:05.462Z] _____ _ [2021-10-14T15:06:05.462Z] / ____| | | [2021-10-14T15:06:05.462Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T15:06:05.462Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T15:06:05.462Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T15:06:05.462Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T15:06:05.462Z] Bash-1.0.6 [2021-10-14T15:06:05.462Z] [2021-10-14T15:06:05.462Z] [2021-10-14T15:06:05.462Z] ==> git version 2.24.4 found [2021-10-14T15:06:05.462Z] ==> 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-14T15:06:05.462Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T15:06:05.462Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T15:06:05.462Z] ==> Jenkins CI detected. [2021-10-14T15:06:05.462Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T15:06:05.462Z] project root: . [2021-10-14T15:06:05.462Z] --> token set from env [2021-10-14T15:06:05.728Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T15:06:05.728Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T15:06:05.728Z] ==> Python coveragepy not found [2021-10-14T15:06:05.728Z] ==> Searching for coverage reports in: [2021-10-14T15:06:05.728Z] + . [2021-10-14T15:06:05.728Z] -> Found 1 reports [2021-10-14T15:06:05.728Z] ==> Detecting git/mercurial file structure [2021-10-14T15:06:05.728Z] ==> Reading reports [2021-10-14T15:06:05.728Z] + ./coverage.out bytes=126693 [2021-10-14T15:06:05.728Z] ==> Appending adjustments [2021-10-14T15:06:05.728Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T15:06:05.990Z] + Found adjustments [2021-10-14T15:06:05.990Z] ==> Gzipping contents [2021-10-14T15:06:05.990Z] 16K /tmp/codecov.CC4b8u.gz [2021-10-14T15:06:05.990Z] ==> Uploading reports [2021-10-14T15:06:05.990Z] url: https://codecov.io [2021-10-14T15:06:05.990Z] query: branch=main&commit=01d7194063e34a881735a97128c065e4ba98888d&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T15:06:05.990Z] -> Pinging Codecov [2021-10-14T15:06:05.990Z] 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=01d7194063e34a881735a97128c065e4ba98888d&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T15:06:07.375Z] -> Uploading to [2021-10-14T15:06:07.375Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7E55EF52A471D76F132DFD9A03CDDE97/01d7194063e34a881735a97128c065e4ba98888d/526e3ece-06e0-4161-9b15-599463daaa85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T150607Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed6bd2c4b38dc6aa573b66a90f99ea6c53959b449db8599eb46c9ab6684cf3cf [2021-10-14T15:06:07.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T15:06:07.375Z] Dload Upload Total Spent Left Speed [2021-10-14T15:06:07.636Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16108 0 0 100 16108 0 44411 --:--:-- --:--:-- --:--:-- 44374 100 16108 0 0 100 16108 0 44397 --:--:-- --:--:-- --:--:-- 44374 [2021-10-14T15:06:07.636Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/01d7194063e34a881735a97128c065e4ba98888d [Pipeline] } [2021-10-14T15:06:07.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T15:06:08.009Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T15:06:08.021Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:08.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T15:06:08.342Z] [2021-10-14T15:06:08.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:08.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T15:06:08.675Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T15:06:08.675Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T15:06:08.675Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T15:06:08.675Z] de9db76c5a1d: Pulling fs layer [2021-10-14T15:06:08.675Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T15:06:08.675Z] 0d57e429df01: Pulling fs layer [2021-10-14T15:06:08.675Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T15:06:08.675Z] e1f770b5df2f: Pulling fs layer [2021-10-14T15:06:08.675Z] 85a0685a4137: Pulling fs layer [2021-10-14T15:06:08.675Z] 0d57e429df01: Waiting [2021-10-14T15:06:08.675Z] 4e4be7b47b0d: Waiting [2021-10-14T15:06:08.675Z] e1f770b5df2f: Waiting [2021-10-14T15:06:08.675Z] 85a0685a4137: Waiting [2021-10-14T15:06:08.675Z] 0eba1c9be4d2: Waiting [2021-10-14T15:06:08.675Z] de9db76c5a1d: Verifying Checksum [2021-10-14T15:06:08.675Z] de9db76c5a1d: Download complete [2021-10-14T15:06:08.675Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T15:06:08.675Z] 0ef7d3d256c8: Download complete [2021-10-14T15:06:08.675Z] 0d57e429df01: Verifying Checksum [2021-10-14T15:06:08.675Z] 0d57e429df01: Download complete [2021-10-14T15:06:08.675Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T15:06:08.675Z] 4e4be7b47b0d: Download complete [2021-10-14T15:06:08.675Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T15:06:08.675Z] 188c0c94c7c5: Download complete [2021-10-14T15:06:08.947Z] e1f770b5df2f: Verifying Checksum [2021-10-14T15:06:08.947Z] e1f770b5df2f: Download complete [2021-10-14T15:06:08.947Z] 188c0c94c7c5: Pull complete [2021-10-14T15:06:09.214Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T15:06:09.214Z] 0eba1c9be4d2: Download complete [2021-10-14T15:06:09.476Z] 0ef7d3d256c8: Pull complete [2021-10-14T15:06:09.476Z] de9db76c5a1d: Pull complete [2021-10-14T15:06:09.476Z] 85a0685a4137: Verifying Checksum [2021-10-14T15:06:09.476Z] 85a0685a4137: Download complete [2021-10-14T15:06:13.736Z] 0eba1c9be4d2: Pull complete [2021-10-14T15:06:13.736Z] 0d57e429df01: Pull complete [2021-10-14T15:06:13.736Z] 4e4be7b47b0d: Pull complete [2021-10-14T15:06:13.736Z] e1f770b5df2f: Pull complete [2021-10-14T15:06:17.989Z] 85a0685a4137: Pull complete [2021-10-14T15:06:17.989Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T15:06:17.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T15:06:17.989Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T15:06:18.053Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:06:18.098Z] $ 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-14T15:06:20.327Z] $ docker top fbefc28da2cdf5308ae4f9c966025197e8ec19bd856b56dd54e18297128170ac -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T15:06:20.411Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T15:06:20.698Z] + set -o pipefail [2021-10-14T15:06:20.698Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T15:06:26.038Z] [2021-10-14T15:06:26.038Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-14T15:06:26.038Z] [2021-10-14T15:06:26.038Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/eacf3fc4-991c-415a-9691-eeace2a42cc0 [2021-10-14T15:06:26.038Z] [2021-10-14T15:06:26.038Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T15:06:26.038Z] [2021-10-14T15:06:26.038Z] [2021-10-14T15:06:26.038Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T15:06:26.038Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T15:06:26.044Z] $ docker stop --time=1 fbefc28da2cdf5308ae4f9c966025197e8ec19bd856b56dd54e18297128170ac [2021-10-14T15:06:27.809Z] $ docker rm -f fbefc28da2cdf5308ae4f9c966025197e8ec19bd856b56dd54e18297128170ac [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-14T15:06:28.426Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T15:06:28.441Z] provisioning config files... [2021-10-14T15:06:28.451Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5789488417350159435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:06:28.758Z] --> edgex-publish-swagger.sh [2021-10-14T15:06:28.758Z] === Publish openapi/v2 API === [2021-10-14T15:06:28.758Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-14T15:06:28.758Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-14T15:06:28.758Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T15:06:28.758Z] Dload Upload Total Spent Left Speed [2021-10-14T15:06:29.704Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 59804 --:--:-- --:--:-- --:--:-- 59859 [2021-10-14T15:06:29.704Z] [2021-10-14T15:06:29.704Z] [Pipeline] } [2021-10-14T15:06:29.712Z] 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-14T15:06:30.298Z] + git log --format=format:%s -1 01d7194063e34a881735a97128c065e4ba98888d [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:30.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T15:06:30.600Z] . [Pipeline] withDockerContainer [2021-10-14T15:06:30.679Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:06:30.710Z] $ 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-14T15:06:31.061Z] $ docker top 0cdac10447743307dfee06a950ccf4646e1ccec5ecff95757301a04d1a6912af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T15:06:31.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T15:06:31.160Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T15:06:31.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T15:06:31.270Z] $ docker exec 0cdac10447743307dfee06a950ccf4646e1ccec5ecff95757301a04d1a6912af ssh-agent [2021-10-14T15:06:31.376Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlDdiPN/agent.14 [2021-10-14T15:06:31.376Z] SSH_AGENT_PID=20 [2021-10-14T15:06:31.380Z] Running ssh-add (command line suppressed) [2021-10-14T15:06:31.467Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4436596661267096826.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4436596661267096826.key) [2021-10-14T15:06:31.486Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T15:06:31.773Z] + git semver tag [2021-10-14T15:06:31.773Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T15:06:31.773Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T15:06:31.773Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T15:06:31.773Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T15:06:31.773Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T15:06:31.773Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T15:06:31.773Z] # $SEMVER_BRANCH = main [2021-10-14T15:06:31.773Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T15:06:31.773Z] # 01d7194063e34a881735a97128c065e4ba98888d HEAD [2021-10-14T15:06:31.773Z] # -> Force: false [2021-10-14T15:06:31.773Z] # 26f37b738c6b8433b2cb3d0ca3a39d090d9ade47 refs/tags/v2.0.1-dev.20 [Pipeline] } [2021-10-14T15:06:31.781Z] $ docker exec --env ******** --env ******** 0cdac10447743307dfee06a950ccf4646e1ccec5ecff95757301a04d1a6912af ssh-agent -k [2021-10-14T15:06:31.873Z] unset SSH_AUTH_SOCK; [2021-10-14T15:06:31.874Z] unset SSH_AGENT_PID; [2021-10-14T15:06:31.874Z] echo Agent pid 20 killed; [2021-10-14T15:06:31.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T15:06:32.191Z] + git semver [Pipeline] } [2021-10-14T15:06:32.199Z] $ docker stop --time=1 0cdac10447743307dfee06a950ccf4646e1ccec5ecff95757301a04d1a6912af [2021-10-14T15:06:33.374Z] $ docker rm -f 0cdac10447743307dfee06a950ccf4646e1ccec5ecff95757301a04d1a6912af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:33.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T15:06:33.751Z] [2021-10-14T15:06:33.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:34.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T15:06:34.060Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T15:06:34.060Z] ab5ef0e58194: Pulling fs layer [2021-10-14T15:06:34.060Z] 9712f1f96733: Pulling fs layer [2021-10-14T15:06:34.060Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T15:06:34.060Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T15:06:34.060Z] e9a5061849ea: Pulling fs layer [2021-10-14T15:06:34.060Z] d747dcd14b5f: Pulling fs layer [2021-10-14T15:06:34.060Z] 2de7ff778b66: Pulling fs layer [2021-10-14T15:06:34.060Z] 0d9ebad4ef96: Waiting [2021-10-14T15:06:34.060Z] e9a5061849ea: Waiting [2021-10-14T15:06:34.060Z] d747dcd14b5f: Waiting [2021-10-14T15:06:34.060Z] 2de7ff778b66: Waiting [2021-10-14T15:06:34.060Z] 9712f1f96733: Verifying Checksum [2021-10-14T15:06:34.060Z] 9712f1f96733: Download complete [2021-10-14T15:06:34.327Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T15:06:34.327Z] 63f879dbbcfc: Download complete [2021-10-14T15:06:34.592Z] ab5ef0e58194: Download complete [2021-10-14T15:06:34.592Z] d747dcd14b5f: Verifying Checksum [2021-10-14T15:06:34.592Z] d747dcd14b5f: Download complete [2021-10-14T15:06:34.592Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T15:06:34.592Z] 0d9ebad4ef96: Download complete [2021-10-14T15:06:34.592Z] e9a5061849ea: Verifying Checksum [2021-10-14T15:06:34.592Z] e9a5061849ea: Download complete [2021-10-14T15:06:34.862Z] 2de7ff778b66: Verifying Checksum [2021-10-14T15:06:34.862Z] 2de7ff778b66: Download complete [2021-10-14T15:06:37.435Z] ab5ef0e58194: Pull complete [2021-10-14T15:06:37.435Z] 9712f1f96733: Pull complete [2021-10-14T15:06:38.015Z] 63f879dbbcfc: Pull complete [2021-10-14T15:06:42.241Z] 0d9ebad4ef96: Pull complete [2021-10-14T15:06:42.810Z] e9a5061849ea: Pull complete [2021-10-14T15:06:42.810Z] d747dcd14b5f: Pull complete [2021-10-14T15:06:44.213Z] 2de7ff778b66: Pull complete [2021-10-14T15:06:44.213Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T15:06:44.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T15:06:44.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T15:06:44.276Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:06:44.311Z] $ 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-14T15:06:47.785Z] $ docker top 2f4662830644a888e5240141196ab5a8fc144a22aef04285cfca24611670f369 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T15:06:47.868Z] provisioning config files... [2021-10-14T15:06:47.878Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config303241703219898122tmp [2021-10-14T15:06:47.889Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5096057870880519382tmp [2021-10-14T15:06:47.900Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7281093957631560925tmp [Pipeline] { [Pipeline] echo [2021-10-14T15:06:47.914Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:06:48.205Z] ---> sigul-configuration.sh [2021-10-14T15:06:48.205Z] gpg: directory `/root/.gnupg' created [2021-10-14T15:06:48.205Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T15:06:48.205Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T15:06:48.205Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T15:06:48.205Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T15:06:48.205Z] gpg: CAST5 encrypted data [2021-10-14T15:06:48.205Z] gpg: encrypted with 1 passphrase [2021-10-14T15:06:48.205Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T15:06:48.499Z] + mkdir /home/jenkins [2021-10-14T15:06:48.499Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T15:06:48.791Z] + 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-14T15:06:48.802Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:06:49.091Z] ---> sigul-install.sh [2021-10-14T15:06:49.091Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T15:06:49.386Z] + git tag --list [2021-10-14T15:06:49.386Z] 0.7.1 [2021-10-14T15:06:49.386Z] delhi-tag [2021-10-14T15:06:49.386Z] v1.0.0 [2021-10-14T15:06:49.386Z] v1.1.0 [2021-10-14T15:06:49.386Z] v1.1.1 [2021-10-14T15:06:49.386Z] v1.1.2 [2021-10-14T15:06:49.386Z] v1.2.0 [2021-10-14T15:06:49.386Z] v1.2.1 [2021-10-14T15:06:49.386Z] v1.2.2 [2021-10-14T15:06:49.386Z] v1.2.3 [2021-10-14T15:06:49.386Z] v1.3.0 [2021-10-14T15:06:49.386Z] v1.4.0 [2021-10-14T15:06:49.386Z] v2.0.0 [2021-10-14T15:06:49.386Z] v2.0.1-dev.1 [2021-10-14T15:06:49.386Z] v2.0.1-dev.10 [2021-10-14T15:06:49.386Z] v2.0.1-dev.11 [2021-10-14T15:06:49.386Z] v2.0.1-dev.12 [2021-10-14T15:06:49.386Z] v2.0.1-dev.13 [2021-10-14T15:06:49.386Z] v2.0.1-dev.14 [2021-10-14T15:06:49.386Z] v2.0.1-dev.15 [2021-10-14T15:06:49.386Z] v2.0.1-dev.16 [2021-10-14T15:06:49.386Z] v2.0.1-dev.17 [2021-10-14T15:06:49.386Z] v2.0.1-dev.18 [2021-10-14T15:06:49.386Z] v2.0.1-dev.19 [2021-10-14T15:06:49.386Z] v2.0.1-dev.2 [2021-10-14T15:06:49.386Z] v2.0.1-dev.20 [2021-10-14T15:06:49.386Z] v2.0.1-dev.3 [2021-10-14T15:06:49.386Z] v2.0.1-dev.4 [2021-10-14T15:06:49.386Z] v2.0.1-dev.5 [2021-10-14T15:06:49.386Z] v2.0.1-dev.6 [2021-10-14T15:06:49.386Z] v2.0.1-dev.7 [2021-10-14T15:06:49.386Z] v2.0.1-dev.8 [2021-10-14T15:06:49.386Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-14T15:06:49.682Z] + lftools sign git-tag v2.0.1-dev.20 [2021-10-14T15:06:50.252Z] Signing Git tag with Sigul... [2021-10-14T15:06:50.252Z] Signing v2.0.1-dev.20 [Pipeline] echo [2021-10-14T15:06:51.650Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:06:51.944Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T15:06:51.952Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T15:06:51.964Z] $ docker stop --time=1 2f4662830644a888e5240141196ab5a8fc144a22aef04285cfca24611670f369 [2021-10-14T15:06:53.160Z] $ docker rm -f 2f4662830644a888e5240141196ab5a8fc144a22aef04285cfca24611670f369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:53.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T15:06:53.796Z] . [Pipeline] withDockerContainer [2021-10-14T15:06:53.861Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:06:53.893Z] $ 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-14T15:06:54.253Z] $ docker top 2fd42544b37322bc3ab264ac24e1f13096c51824f41a8f82cff240873fc42807 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T15:06:54.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T15:06:54.357Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T15:06:54.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T15:06:54.459Z] $ docker exec 2fd42544b37322bc3ab264ac24e1f13096c51824f41a8f82cff240873fc42807 ssh-agent [2021-10-14T15:06:54.554Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdICjMi/agent.13 [2021-10-14T15:06:54.554Z] SSH_AGENT_PID=20 [2021-10-14T15:06:54.559Z] Running ssh-add (command line suppressed) [2021-10-14T15:06:54.661Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6451592525786936842.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6451592525786936842.key) [2021-10-14T15:06:54.681Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T15:06:54.972Z] + git semver bump pre [2021-10-14T15:06:54.972Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T15:06:54.972Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T15:06:54.972Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T15:06:54.972Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T15:06:54.972Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T15:06:54.972Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T15:06:54.972Z] # $SEMVER_BRANCH = main [2021-10-14T15:06:54.972Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-14T15:06:54.972Z] 2.0.1-dev.21 [Pipeline] } [2021-10-14T15:06:54.976Z] $ docker exec --env ******** --env ******** 2fd42544b37322bc3ab264ac24e1f13096c51824f41a8f82cff240873fc42807 ssh-agent -k [2021-10-14T15:06:55.062Z] unset SSH_AUTH_SOCK; [2021-10-14T15:06:55.062Z] unset SSH_AGENT_PID; [2021-10-14T15:06:55.062Z] echo Agent pid 20 killed; [2021-10-14T15:06:55.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T15:06:55.390Z] + git semver [Pipeline] } [2021-10-14T15:06:55.397Z] $ docker stop --time=1 2fd42544b37322bc3ab264ac24e1f13096c51824f41a8f82cff240873fc42807 [2021-10-14T15:06:56.587Z] $ docker rm -f 2fd42544b37322bc3ab264ac24e1f13096c51824f41a8f82cff240873fc42807 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:06:56.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T15:06:56.942Z] . [Pipeline] withDockerContainer [2021-10-14T15:06:57.005Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:06:57.043Z] $ 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-14T15:06:57.406Z] $ docker top a381f13b61f834c76621ee0dfd9c4e9fcef5096301d541846b86ed058d568209 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T15:06:57.492Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T15:06:57.492Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T15:06:57.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T15:06:57.628Z] $ docker exec a381f13b61f834c76621ee0dfd9c4e9fcef5096301d541846b86ed058d568209 ssh-agent [2021-10-14T15:06:57.737Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBdCKkc/agent.13 [2021-10-14T15:06:57.737Z] SSH_AGENT_PID=19 [2021-10-14T15:06:57.743Z] Running ssh-add (command line suppressed) [2021-10-14T15:06:57.845Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6593875487431478551.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6593875487431478551.key) [2021-10-14T15:06:57.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T15:06:58.153Z] + git semver push [2021-10-14T15:06:58.153Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T15:06:58.153Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-14T15:06:58.153Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T15:06:58.153Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T15:06:58.153Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T15:06:58.153Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T15:06:58.153Z] # $SEMVER_BRANCH = main [2021-10-14T15:06:58.153Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-14T15:07:00.069Z] $ docker exec --env ******** --env ******** a381f13b61f834c76621ee0dfd9c4e9fcef5096301d541846b86ed058d568209 ssh-agent -k [2021-10-14T15:07:00.160Z] unset SSH_AUTH_SOCK; [2021-10-14T15:07:00.160Z] unset SSH_AGENT_PID; [2021-10-14T15:07:00.160Z] echo Agent pid 19 killed; [2021-10-14T15:07:00.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T15:07:00.486Z] + git semver [Pipeline] } [2021-10-14T15:07:00.492Z] $ docker stop --time=1 a381f13b61f834c76621ee0dfd9c4e9fcef5096301d541846b86ed058d568209 [2021-10-14T15:07:01.696Z] $ docker rm -f a381f13b61f834c76621ee0dfd9c4e9fcef5096301d541846b86ed058d568209 [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-14T15:07:02.464Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:02.766Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:03.326Z] ---> package-listing.sh [2021-10-14T15:07:03.326Z] ++ facter osfamily [2021-10-14T15:07:03.326Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T15:07:03.587Z] + OS_FAMILY=redhat [2021-10-14T15:07:03.587Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-14T15:07:03.587Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T15:07:03.587Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T15:07:03.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T15:07:03.587Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T15:07:03.587Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T15:07:03.587Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T15:07:03.587Z] + case "${OS_FAMILY}" in [2021-10-14T15:07:03.587Z] + sort [2021-10-14T15:07:03.587Z] + rpm -qa [2021-10-14T15:07:04.158Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T15:07:04.158Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T15:07:04.158Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T15:07:04.158Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-14T15:07:04.158Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-14T15:07:04.158Z] + 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-14T15:07:04.170Z] 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-14T15:07:04.455Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:07:05.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T15:07:05.009Z] [2021-10-14T15:07:05.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T15:07:05.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T15:07:05.306Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T15:07:05.306Z] b4d181a07f80: Pulling fs layer [2021-10-14T15:07:05.306Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T15:07:05.306Z] ed53099fbce6: Pulling fs layer [2021-10-14T15:07:05.306Z] dc539afda2c1: Pulling fs layer [2021-10-14T15:07:05.306Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T15:07:05.306Z] 9065ff56babe: Pulling fs layer [2021-10-14T15:07:05.306Z] d287ab97295c: Pulling fs layer [2021-10-14T15:07:05.306Z] dc539afda2c1: Waiting [2021-10-14T15:07:05.306Z] 77bc0d833cb6: Waiting [2021-10-14T15:07:05.306Z] 9065ff56babe: Waiting [2021-10-14T15:07:05.306Z] d287ab97295c: Waiting [2021-10-14T15:07:05.306Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T15:07:05.306Z] a1111a8f2ec3: Download complete [2021-10-14T15:07:05.306Z] dc539afda2c1: Verifying Checksum [2021-10-14T15:07:05.306Z] dc539afda2c1: Download complete [2021-10-14T15:07:05.569Z] ed53099fbce6: Verifying Checksum [2021-10-14T15:07:05.569Z] ed53099fbce6: Download complete [2021-10-14T15:07:05.569Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T15:07:05.569Z] 77bc0d833cb6: Download complete [2021-10-14T15:07:05.569Z] 9065ff56babe: Verifying Checksum [2021-10-14T15:07:05.569Z] 9065ff56babe: Download complete [2021-10-14T15:07:05.569Z] b4d181a07f80: Verifying Checksum [2021-10-14T15:07:05.569Z] b4d181a07f80: Download complete [2021-10-14T15:07:06.147Z] d287ab97295c: Verifying Checksum [2021-10-14T15:07:06.147Z] d287ab97295c: Download complete [2021-10-14T15:07:07.089Z] b4d181a07f80: Pull complete [2021-10-14T15:07:07.361Z] a1111a8f2ec3: Pull complete [2021-10-14T15:07:07.931Z] ed53099fbce6: Pull complete [2021-10-14T15:07:07.931Z] dc539afda2c1: Pull complete [2021-10-14T15:07:08.193Z] 77bc0d833cb6: Pull complete [2021-10-14T15:07:08.193Z] 9065ff56babe: Pull complete [2021-10-14T15:07:13.526Z] d287ab97295c: Pull complete [2021-10-14T15:07:13.526Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T15:07:13.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T15:07:13.526Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T15:07:13.592Z] prd-centos7-docker-4c-2g-1438 does not seem to be running inside a container [2021-10-14T15:07:13.617Z] $ 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-14T15:07:16.180Z] $ docker top a947bc8fafce41b66471758068819d9c2c7f0b4c76074b77f5c4507b22725564 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T15:07:16.549Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T15:07:16.843Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T15:07:17.133Z] + ls /var/log/sa-host [2021-10-14T15:07:17.133Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T15:07:17.133Z] file_magic: OK [2021-10-14T15:07:17.133Z] HZ: Using current value: 100 [2021-10-14T15:07:17.133Z] file_header: OK [2021-10-14T15:07:17.133Z] 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-14T15:07:17.133Z] Statistics: [2021-10-14T15:07:17.133Z] 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...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T15:07:17.133Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T15:07:17.133Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T15:07:17.133Z] file_magic: OK [2021-10-14T15:07:17.133Z] HZ: Using current value: 100 [2021-10-14T15:07:17.133Z] file_header: OK [2021-10-14T15:07:17.133Z] 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-14T15:07:17.133Z] Statistics: [2021-10-14T15:07:17.133Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T15:07:17.133Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T15:07:17.212Z] provisioning config files... [2021-10-14T15:07:17.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config255461919359757277tmp [Pipeline] { [Pipeline] echo [2021-10-14T15:07:17.236Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:17.527Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T15:07:17.535Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:17.874Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T15:07:17.884Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:18.174Z] ---> sudo-logs.sh [2021-10-14T15:07:18.174Z] Archiving 'sudo' log.. [2021-10-14T15:07:18.174Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1438.novalocal: Name or service not known [2021-10-14T15:07:18.174Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1438.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T15:07:18.201Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:18.494Z] ---> job-cost.sh [2021-10-14T15:07:18.494Z] lf-activate-venv: SKIPPING [2021-10-14T15:07:18.494Z] DEBUG: total: 0.10999999940395355 [2021-10-14T15:07:18.494Z] INFO: Retrieving Stack Cost... [2021-10-14T15:07:36.609Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T15:07:36.868Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T15:07:36.880Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T15:07:37.169Z] ---> logs-deploy.sh [2021-10-14T15:07:37.169Z] lf-activate-venv: SKIPPING [2021-10-14T15:07:37.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/19 [2021-10-14T15:07:37.169Z] INFO: archiving workspace using pattern(s): [2021-10-14T15:07:37.742Z] Archives upload complete. [2021-10-14T15:07:38.003Z] INFO: archiving logs to Nexus