Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 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-ssh3357756497324679949.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-ssh7357946274736276010.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-virtual-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-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh682849467348309959.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-ssh3004670241766456551.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-virtual-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-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh995399778935638772.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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-centos7-docker-4c-2g-2165 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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/exfoundry_device-virtual-go_main@tmp/jenkins-gitclient-ssh134334282525077240.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" > git rev-list --no-walk b800f9be7a3e68765c1f64d7308fbe20b9d5be4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-18T11:54:51.145Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-18T11:54:52.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-18T11:54:52.704Z] ========================================================= [2021-10-18T11:54:52.705Z] EdgeX Global Pipelines Version Info [2021-10-18T11:54:52.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:54:53.880Z] ------------------- [2021-10-18T11:54:53.880Z] stable info: [2021-10-18T11:54:53.880Z] ------------------- [2021-10-18T11:54:53.880Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-18T11:54:53.880Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-18T11:54:53.880Z] Message: update stable to v1.0.210 [2021-10-18T11:54:54.458Z] ------------------- [2021-10-18T11:54:54.458Z] experimental info: [2021-10-18T11:54:54.458Z] ------------------- [2021-10-18T11:54:54.458Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-18T11:54:54.458Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-18T11:54:54.458Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-18T11:54:54.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-10-18T11:54:54.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-10-18T11:54:54.560Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-18T11:54:54.567Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-18T11:54:54.577Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-18T11:54:54.587Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-18T11:54:54.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-18T11:54:54.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-18T11:54:54.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-18T11:54:54.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-18T11:54:54.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-18T11:54:54.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-10-18T11:54:54.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-18T11:54:54.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-18T11:54:54.677Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-18T11:54:54.687Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-18T11:54:54.697Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-18T11:54:54.709Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-18T11:54:54.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-18T11:54:54.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-18T11:54:54.745Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-18T11:54:54.760Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-18T11:54:54.770Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-18T11:54:54.784Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-18T11:54:54.798Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-18T11:54:54.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-18T11:54:54.818Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-18T11:54:54.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-18T11:54:54.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-18T11:54:54.848Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] echo [2021-10-18T11:54:54.857Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34dd162 [Pipeline] echo [2021-10-18T11:54:54.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T11:54:54.918Z] provisioning config files... [2021-10-18T11:54:54.939Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2547413541057326313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:54:55.263Z] ---> docker-login.sh [2021-10-18T11:54:55.263Z] nexus3.edgexfoundry.org:10001 [2021-10-18T11:54:55.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:54:55.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:54:55.525Z] Configure a credential helper to remove this warning. See [2021-10-18T11:54:55.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:54:55.525Z] [2021-10-18T11:54:55.525Z] Login Succeeded [2021-10-18T11:54:55.525Z] nexus3.edgexfoundry.org:10002 [2021-10-18T11:54:55.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:54:55.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:54:55.525Z] Configure a credential helper to remove this warning. See [2021-10-18T11:54:55.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:54:55.525Z] [2021-10-18T11:54:55.525Z] Login Succeeded [2021-10-18T11:54:55.525Z] nexus3.edgexfoundry.org:10003 [2021-10-18T11:54:55.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:54:55.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:54:55.790Z] Configure a credential helper to remove this warning. See [2021-10-18T11:54:55.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:54:55.790Z] [2021-10-18T11:54:55.790Z] Login Succeeded [2021-10-18T11:54:55.790Z] nexus3.edgexfoundry.org:10004 [2021-10-18T11:54:55.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:54:55.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:54:55.790Z] Configure a credential helper to remove this warning. See [2021-10-18T11:54:55.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:54:55.790Z] [2021-10-18T11:54:55.790Z] Login Succeeded [2021-10-18T11:54:55.790Z] docker.io [2021-10-18T11:54:56.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:54:56.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:54:56.315Z] Configure a credential helper to remove this warning. See [2021-10-18T11:54:56.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:54:56.315Z] [2021-10-18T11:54:56.315Z] Login Succeeded [2021-10-18T11:54:56.315Z] ---> docker-login.sh ends [Pipeline] } [2021-10-18T11:54:56.323Z] 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-18T11:54:56.844Z] + git log --format=format:%s -1 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] echo [2021-10-18T11:54:56.887Z] GIT_COMMIT: 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584, Commit Message: Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21 [Pipeline] echo [2021-10-18T11:54:56.898Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:54:57.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T11:54:57.520Z] [2021-10-18T11:54:57.520Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:54:57.832Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T11:54:57.832Z] latest: Pulling from edgex-devops/git-semver [2021-10-18T11:54:57.832Z] a0d0a0d46f8b: Pulling fs layer [2021-10-18T11:54:57.832Z] 3e5f54012d9b: Pulling fs layer [2021-10-18T11:54:57.832Z] 4c7163046ea9: Pulling fs layer [2021-10-18T11:54:57.832Z] 0c2d73faf560: Pulling fs layer [2021-10-18T11:54:57.832Z] 0c2d73faf560: Waiting [2021-10-18T11:54:57.832Z] 3e5f54012d9b: Verifying Checksum [2021-10-18T11:54:57.832Z] 3e5f54012d9b: Download complete [2021-10-18T11:54:57.832Z] a0d0a0d46f8b: Verifying Checksum [2021-10-18T11:54:57.832Z] a0d0a0d46f8b: Download complete [2021-10-18T11:54:58.102Z] 4c7163046ea9: Verifying Checksum [2021-10-18T11:54:58.102Z] 4c7163046ea9: Download complete [2021-10-18T11:54:58.102Z] 0c2d73faf560: Verifying Checksum [2021-10-18T11:54:58.102Z] 0c2d73faf560: Download complete [2021-10-18T11:54:58.102Z] a0d0a0d46f8b: Pull complete [2021-10-18T11:54:58.102Z] 3e5f54012d9b: Pull complete [2021-10-18T11:54:58.679Z] 4c7163046ea9: Pull complete [2021-10-18T11:54:58.679Z] 0c2d73faf560: Pull complete [2021-10-18T11:54:58.679Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-18T11:54:58.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T11:54:58.679Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-18T11:54:58.759Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T11:54:58.812Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T11:54:59.494Z] $ docker top d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-18T11:54:59.599Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-18T11:54:59.599Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-18T11:54:59.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-18T11:54:59.716Z] $ docker exec d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent [2021-10-18T11:54:59.823Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGHiLnO/agent.15 [2021-10-18T11:54:59.823Z] SSH_AGENT_PID=21 [2021-10-18T11:54:59.833Z] Running ssh-add (command line suppressed) [2021-10-18T11:54:59.934Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8551252869491418451.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8551252869491418451.key) [2021-10-18T11:54:59.947Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-18T11:55:00.242Z] + git tag --points-at HEAD [Pipeline] } [2021-10-18T11:55:00.257Z] $ docker exec --env ******** --env ******** d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent -k [2021-10-18T11:55:00.350Z] unset SSH_AUTH_SOCK; [2021-10-18T11:55:00.350Z] unset SSH_AGENT_PID; [2021-10-18T11:55:00.350Z] echo Agent pid 21 killed; [2021-10-18T11:55:00.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-18T11:55:00.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-18T11:55:00.381Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-18T11:55:00.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-18T11:55:00.496Z] $ docker exec d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent [2021-10-18T11:55:00.600Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCmMLiM/agent.53 [2021-10-18T11:55:00.600Z] SSH_AGENT_PID=59 [2021-10-18T11:55:00.606Z] Running ssh-add (command line suppressed) [2021-10-18T11:55:00.714Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5357689600347435383.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5357689600347435383.key) [2021-10-18T11:55:00.727Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-18T11:55:01.022Z] + git semver init [2021-10-18T11:55:01.022Z] # -> Open(): unable to determine branch for HEAD [2021-10-18T11:55:01.022Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-10-18T11:55:01.022Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-10-18T11:55:01.022Z] # $SEMVER_REMOTE_NAME = origin [2021-10-18T11:55:01.022Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-18T11:55:01.022Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-18T11:55:01.022Z] # $SEMVER_BRANCH = main [2021-10-18T11:55:01.022Z] # $SEMVER_TEMP = /tmp/semver-194324087 [2021-10-18T11:55:01.022Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-10-18T11:55:02.411Z] # '/tmp/semver-194324087' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2021-10-18T11:55:02.411Z] # -> Force: false [2021-10-18T11:55:02.411Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2021-10-18T11:55:02.422Z] $ docker exec --env ******** --env ******** d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent -k [2021-10-18T11:55:02.537Z] unset SSH_AUTH_SOCK; [2021-10-18T11:55:02.538Z] unset SSH_AGENT_PID; [2021-10-18T11:55:02.538Z] echo Agent pid 59 killed; [2021-10-18T11:55:02.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-18T11:55:03.737Z] + git semver [Pipeline] } [2021-10-18T11:55:03.752Z] $ docker stop --time=1 d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 [2021-10-18T11:55:05.031Z] $ docker rm -f d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-18T11:55:05.391Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-18T11:55:05.637Z] Stashed 1 file(s) [Pipeline] echo [2021-10-18T11:55:05.641Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-18T11:55:20.859Z] Still waiting to schedule task [2021-10-18T11:55:20.859Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2165’ [2021-10-18T11:55:20.862Z] Still waiting to schedule task [2021-10-18T11:55:20.862Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-18T11:57:25.720Z] Running on prd-centos7-docker-4c-2g-2167 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2021-10-18T11:57:25.735Z] Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout [2021-10-18T11:57:25.836Z] The recommended git tool is: git [2021-10-18T11:57:28.656Z] using credential edgex-jenkins-ssh [2021-10-18T11:57:28.668Z] Cloning the remote Git repository [2021-10-18T11:57:27.708Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-18T11:57:27.765Z] > git init /w/workspace/device-virtual-go/10 # timeout=10 [2021-10-18T11:57:27.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-18T11:57:27.810Z] > git --version # timeout=10 [2021-10-18T11:57:27.819Z] > git --version # 'git version 2.24.4' [2021-10-18T11:57:27.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-18T11:57:27.840Z] [INFO] Currently running in a labeled security context [2021-10-18T11:57:27.840Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-18T11:57:27.840Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/10@tmp/jenkins-gitclient-ssh8656050333724568348.key [2021-10-18T11:57:27.859Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-18T11:57:29.715Z] Avoid second fetch [2021-10-18T11:57:29.715Z] Checking out Revision 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) [2021-10-18T11:57:28.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-18T11:57:28.720Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-18T11:57:28.737Z] > git config core.sparsecheckout # timeout=10 [2021-10-18T11:57:28.747Z] > git checkout -f 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-18T11:57:33.349Z] Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T11:57:33.925Z] provisioning config files... [2021-10-18T11:57:33.935Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config7012065652324193649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:57:34.307Z] ---> docker-login.sh [2021-10-18T11:57:34.307Z] nexus3.edgexfoundry.org:10001 [2021-10-18T11:57:34.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:57:34.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:57:34.307Z] Configure a credential helper to remove this warning. See [2021-10-18T11:57:34.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:57:34.307Z] [2021-10-18T11:57:34.307Z] Login Succeeded [2021-10-18T11:57:34.307Z] nexus3.edgexfoundry.org:10002 [2021-10-18T11:57:34.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:57:34.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:57:34.576Z] Configure a credential helper to remove this warning. See [2021-10-18T11:57:34.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:57:34.576Z] [2021-10-18T11:57:34.576Z] Login Succeeded [2021-10-18T11:57:34.576Z] nexus3.edgexfoundry.org:10003 [2021-10-18T11:57:34.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:57:34.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:57:34.576Z] Configure a credential helper to remove this warning. See [2021-10-18T11:57:34.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:57:34.576Z] [2021-10-18T11:57:34.576Z] Login Succeeded [2021-10-18T11:57:34.576Z] nexus3.edgexfoundry.org:10004 [2021-10-18T11:57:34.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:57:34.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:57:34.840Z] Configure a credential helper to remove this warning. See [2021-10-18T11:57:34.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:57:34.840Z] [2021-10-18T11:57:34.840Z] Login Succeeded [2021-10-18T11:57:34.840Z] docker.io [2021-10-18T11:57:34.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:57:35.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:57:35.101Z] Configure a credential helper to remove this warning. See [2021-10-18T11:57:35.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:57:35.101Z] [2021-10-18T11:57:35.101Z] Login Succeeded [2021-10-18T11:57:35.101Z] ---> docker-login.sh ends [Pipeline] } [2021-10-18T11:57:35.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-18T11:57:35.265Z] ========================================================= [2021-10-18T11:57:35.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-18T11:57:35.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:57:35.575Z] + docker build -t ci-base-image-x86_64 -f 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-18T11:57:35.575Z] Sending build context to Docker daemon 8.623MB [2021-10-18T11:57:35.575Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-18T11:57:35.575Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-18T11:57:35.575Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-18T11:57:35.575Z] a0d0a0d46f8b: Pulling fs layer [2021-10-18T11:57:35.575Z] 31adcdaf11c8: Pulling fs layer [2021-10-18T11:57:35.575Z] b8b176561691: Pulling fs layer [2021-10-18T11:57:35.575Z] 4527c011a84f: Pulling fs layer [2021-10-18T11:57:35.575Z] 5d74067f8e1e: Pulling fs layer [2021-10-18T11:57:35.575Z] e0aca202a116: Pulling fs layer [2021-10-18T11:57:35.575Z] 3a43be97a3b4: Pulling fs layer [2021-10-18T11:57:35.575Z] 34cad66bf833: Pulling fs layer [2021-10-18T11:57:35.575Z] b4e3c513aaa6: Pulling fs layer [2021-10-18T11:57:35.575Z] e0aca202a116: Waiting [2021-10-18T11:57:35.575Z] 3a43be97a3b4: Waiting [2021-10-18T11:57:35.575Z] 34cad66bf833: Waiting [2021-10-18T11:57:35.575Z] b4e3c513aaa6: Waiting [2021-10-18T11:57:35.575Z] 4527c011a84f: Waiting [2021-10-18T11:57:35.575Z] 5d74067f8e1e: Waiting [2021-10-18T11:57:35.575Z] b8b176561691: Verifying Checksum [2021-10-18T11:57:35.575Z] b8b176561691: Download complete [2021-10-18T11:57:35.836Z] 31adcdaf11c8: Verifying Checksum [2021-10-18T11:57:35.836Z] 31adcdaf11c8: Download complete [2021-10-18T11:57:35.837Z] 5d74067f8e1e: Verifying Checksum [2021-10-18T11:57:35.837Z] 5d74067f8e1e: Download complete [2021-10-18T11:57:35.837Z] e0aca202a116: Verifying Checksum [2021-10-18T11:57:35.837Z] e0aca202a116: Download complete [2021-10-18T11:57:35.837Z] 3a43be97a3b4: Verifying Checksum [2021-10-18T11:57:35.837Z] 3a43be97a3b4: Download complete [2021-10-18T11:57:35.837Z] a0d0a0d46f8b: Verifying Checksum [2021-10-18T11:57:35.837Z] a0d0a0d46f8b: Download complete [2021-10-18T11:57:35.837Z] 34cad66bf833: Verifying Checksum [2021-10-18T11:57:35.837Z] 34cad66bf833: Download complete [2021-10-18T11:57:36.102Z] a0d0a0d46f8b: Pull complete [2021-10-18T11:57:36.102Z] 31adcdaf11c8: Pull complete [2021-10-18T11:57:36.367Z] b8b176561691: Pull complete [2021-10-18T11:57:36.367Z] 4527c011a84f: Verifying Checksum [2021-10-18T11:57:36.367Z] 4527c011a84f: Download complete [2021-10-18T11:57:36.636Z] b4e3c513aaa6: Verifying Checksum [2021-10-18T11:57:36.636Z] b4e3c513aaa6: Download complete [2021-10-18T11:57:39.958Z] 4527c011a84f: Pull complete [2021-10-18T11:57:39.958Z] 5d74067f8e1e: Pull complete [2021-10-18T11:57:39.958Z] e0aca202a116: Pull complete [2021-10-18T11:57:40.228Z] 3a43be97a3b4: Pull complete [2021-10-18T11:57:40.228Z] 34cad66bf833: Pull complete [2021-10-18T11:57:42.005Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2166 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2021-10-18T11:57:42.018Z] Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout [2021-10-18T11:57:42.248Z] The recommended git tool is: git [2021-10-18T11:57:42.858Z] b4e3c513aaa6: Pull complete [2021-10-18T11:57:42.858Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-18T11:57:42.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-18T11:57:42.858Z] ---> 9f6097aaca64 [2021-10-18T11:57:42.858Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-18T11:57:46.161Z] ---> Running in 37ae77363b98 [2021-10-18T11:57:46.161Z] Removing intermediate container 37ae77363b98 [2021-10-18T11:57:46.161Z] ---> f1bf9904d52c [2021-10-18T11:57:46.161Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-18T11:57:46.161Z] ---> Running in 5825e701d30d [2021-10-18T11:57:46.161Z] Removing intermediate container 5825e701d30d [2021-10-18T11:57:46.161Z] ---> 0cc233b94caf [2021-10-18T11:57:46.161Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-18T11:57:46.161Z] ---> Running in f8f8ecb69fda [2021-10-18T11:57:46.161Z] Removing intermediate container f8f8ecb69fda [2021-10-18T11:57:46.161Z] ---> 11da93e63f01 [2021-10-18T11:57:46.161Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T11:57:46.161Z] ---> Running in 643f7ac389da [2021-10-18T11:57:46.750Z] Removing intermediate container 643f7ac389da [2021-10-18T11:57:46.750Z] ---> 899a8f00fa9f [2021-10-18T11:57:46.750Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-18T11:57:46.750Z] ---> Running in c11ec9b85ed0 [2021-10-18T11:57:47.011Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-18T11:57:47.948Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-18T11:57:48.209Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-18T11:57:48.209Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-18T11:57:48.473Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-18T11:57:48.473Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-18T11:57:48.473Z] Executing busybox-1.33.1-r3.trigger [2021-10-18T11:57:48.473Z] OK: 224 MiB in 56 packages [2021-10-18T11:57:48.735Z] Removing intermediate container c11ec9b85ed0 [2021-10-18T11:57:48.735Z] ---> efa365489ae1 [2021-10-18T11:57:48.735Z] Step 8/11 : COPY . . [2021-10-18T11:57:48.918Z] using credential edgex-jenkins-ssh [2021-10-18T11:57:48.937Z] Cloning the remote Git repository [2021-10-18T11:57:49.306Z] ---> 86d8b10c34ff [2021-10-18T11:57:49.306Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-18T11:57:49.306Z] ---> Running in 54e57325b10e [2021-10-18T11:57:49.003Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-18T11:57:49.109Z] > git init /w/workspace/device-virtual-go/10 # timeout=10 [2021-10-18T11:57:49.203Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-18T11:57:49.204Z] > git --version # timeout=10 [2021-10-18T11:57:49.235Z] > git --version # 'git version 2.17.1' [2021-10-18T11:57:49.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-18T11:57:49.325Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-18T11:57:51.317Z] Avoid second fetch [2021-10-18T11:57:51.317Z] Checking out Revision 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) [2021-10-18T11:57:51.263Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-18T11:57:51.289Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-18T11:57:51.330Z] > git config core.sparsecheckout # timeout=10 [2021-10-18T11:57:51.349Z] > git checkout -f 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-18T11:57:55.675Z] Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-18T11:57:56.536Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-18T11:57:56.536Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-18T11:57:56.536Z] Dload Upload Total Spent Left Speed [2021-10-18T11:57:56.536Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh [2021-10-18T11:57:56.961Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-18T11:57:57.322Z] + sudo tee /etc/docker/daemon.new [2021-10-18T11:57:57.322Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-18T11:57:57.322Z] { [2021-10-18T11:57:57.322Z] "registry-mirrors": [ [2021-10-18T11:57:57.322Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-18T11:57:57.322Z] ], [2021-10-18T11:57:57.322Z] "bip": "10.250.0.254/24", [2021-10-18T11:57:57.322Z] "hosts": [ [2021-10-18T11:57:57.322Z] "tcp://0.0.0.0:5555", [2021-10-18T11:57:57.322Z] "unix:///var/run/docker.sock" [2021-10-18T11:57:57.322Z] ], [2021-10-18T11:57:57.322Z] "mtu": 1458, [2021-10-18T11:57:57.322Z] "selinux-enabled": true, [2021-10-18T11:57:57.322Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-18T11:57:57.322Z] } [Pipeline] sh [2021-10-18T11:57:57.683Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-18T11:57:58.105Z] + sudo service docker restart [2021-10-18T11:58:15.937Z] Removing intermediate container 54e57325b10e [2021-10-18T11:58:15.937Z] ---> dfcb181a1ee3 [2021-10-18T11:58:15.937Z] Step 10/11 : ARG MAKE='make build' [2021-10-18T11:58:15.937Z] ---> Running in 0164a4d923d4 [2021-10-18T11:58:16.205Z] Removing intermediate container 0164a4d923d4 [2021-10-18T11:58:16.205Z] ---> 4b9341af2ea9 [2021-10-18T11:58:16.205Z] Step 11/11 : RUN $MAKE [2021-10-18T11:58:16.205Z] ---> Running in 35a98daf941e [2021-10-18T11:58:16.467Z] noop [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T11:58:16.510Z] provisioning config files... [2021-10-18T11:58:16.537Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config6845762905746232245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:58:16.729Z] Removing intermediate container 35a98daf941e [2021-10-18T11:58:16.729Z] ---> dd36c5106862 [2021-10-18T11:58:16.729Z] Successfully built dd36c5106862 [2021-10-18T11:58:16.729Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:58:16.917Z] ---> docker-login.sh [2021-10-18T11:58:16.917Z] nexus3.edgexfoundry.org:10001 [2021-10-18T11:58:17.035Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-18T11:58:17.036Z] . [Pipeline] withDockerContainer [2021-10-18T11:58:17.116Z] prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container [2021-10-18T11:58:17.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-18T11:58:17.591Z] $ docker top 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-18T11:58:17.967Z] + go version [2021-10-18T11:58:17.967Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-18T11:58:17.980Z] $ docker stop --time=1 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 [2021-10-18T11:58:18.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:58:18.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:58:18.649Z] Configure a credential helper to remove this warning. See [2021-10-18T11:58:18.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:58:18.649Z] [2021-10-18T11:58:18.649Z] Login Succeeded [2021-10-18T11:58:18.649Z] nexus3.edgexfoundry.org:10002 [2021-10-18T11:58:18.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:58:19.181Z] $ docker rm -f 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 [2021-10-18T11:58:19.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:58:19.209Z] Configure a credential helper to remove this warning. See [2021-10-18T11:58:19.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:58:19.209Z] [2021-10-18T11:58:19.209Z] Login Succeeded [2021-10-18T11:58:19.209Z] nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:58:19.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:58:19.693Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-18T11:58:19.693Z] . [Pipeline] withDockerContainer [2021-10-18T11:58:19.759Z] prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container [2021-10-18T11:58:19.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:58:19.765Z] Configure a credential helper to remove this warning. See [2021-10-18T11:58:19.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:58:19.765Z] [2021-10-18T11:58:19.765Z] Login Succeeded [2021-10-18T11:58:19.765Z] nexus3.edgexfoundry.org:10004 [2021-10-18T11:58:19.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-18T11:58:20.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:58:20.168Z] $ docker top f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-18T11:58:20.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:58:20.318Z] Configure a credential helper to remove this warning. See [2021-10-18T11:58:20.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:58:20.318Z] [2021-10-18T11:58:20.318Z] Login Succeeded [2021-10-18T11:58:20.318Z] docker.io [2021-10-18T11:58:20.530Z] + go mod tidy [2021-10-18T11:58:20.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-10-18T11:58:20.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:58:20.868Z] Configure a credential helper to remove this warning. See [2021-10-18T11:58:20.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:58:20.868Z] [2021-10-18T11:58:20.868Z] Login Succeeded [2021-10-18T11:58:20.868Z] ---> docker-login.sh ends [Pipeline] } [2021-10-18T11:58:20.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-10-18T11:58:21.100Z] + make test [2021-10-18T11:58:21.101Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] echo [2021-10-18T11:58:21.182Z] ========================================================= [2021-10-18T11:58:21.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-18T11:58:21.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:58:21.536Z] + docker build -t ci-base-image-arm64 -f 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-18T11:58:21.676Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-18T11:58:21.813Z] Sending build context to Docker daemon 8.622MB [2021-10-18T11:58:21.813Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-18T11:58:21.813Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-18T11:58:22.090Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-18T11:58:22.090Z] 552d1f2373af: Pulling fs layer [2021-10-18T11:58:22.090Z] ea3f2d53f512: Pulling fs layer [2021-10-18T11:58:22.090Z] 9e70ebbbe112: Pulling fs layer [2021-10-18T11:58:22.090Z] 7a9cfe048b4a: Pulling fs layer [2021-10-18T11:58:22.090Z] 72dc09318566: Pulling fs layer [2021-10-18T11:58:22.090Z] f4f7b4309257: Pulling fs layer [2021-10-18T11:58:22.090Z] 0ac9a79272e3: Pulling fs layer [2021-10-18T11:58:22.090Z] b78e95d17946: Pulling fs layer [2021-10-18T11:58:22.090Z] f4f7b4309257: Waiting [2021-10-18T11:58:22.090Z] 0ac9a79272e3: Waiting [2021-10-18T11:58:22.090Z] b78e95d17946: Waiting [2021-10-18T11:58:22.090Z] 7a9cfe048b4a: Waiting [2021-10-18T11:58:22.090Z] 72dc09318566: Waiting [2021-10-18T11:58:22.090Z] 9e70ebbbe112: Verifying Checksum [2021-10-18T11:58:22.090Z] 9e70ebbbe112: Download complete [2021-10-18T11:58:22.090Z] ea3f2d53f512: Verifying Checksum [2021-10-18T11:58:22.090Z] ea3f2d53f512: Download complete [2021-10-18T11:58:22.373Z] 72dc09318566: Verifying Checksum [2021-10-18T11:58:22.373Z] 72dc09318566: Download complete [2021-10-18T11:58:22.373Z] f4f7b4309257: Verifying Checksum [2021-10-18T11:58:22.373Z] f4f7b4309257: Download complete [2021-10-18T11:58:22.373Z] 552d1f2373af: Verifying Checksum [2021-10-18T11:58:22.373Z] 552d1f2373af: Download complete [2021-10-18T11:58:22.373Z] 0ac9a79272e3: Verifying Checksum [2021-10-18T11:58:22.373Z] 0ac9a79272e3: Download complete [2021-10-18T11:58:22.992Z] 552d1f2373af: Pull complete [2021-10-18T11:58:23.602Z] ea3f2d53f512: Pull complete [2021-10-18T11:58:24.212Z] 9e70ebbbe112: Pull complete [2021-10-18T11:58:24.212Z] b78e95d17946: Verifying Checksum [2021-10-18T11:58:24.212Z] b78e95d17946: Download complete [2021-10-18T11:58:24.811Z] 7a9cfe048b4a: Verifying Checksum [2021-10-18T11:58:24.811Z] 7a9cfe048b4a: Download complete [2021-10-18T11:58:35.025Z] 7a9cfe048b4a: Pull complete [2021-10-18T11:58:35.025Z] 72dc09318566: Pull complete [2021-10-18T11:58:35.300Z] f4f7b4309257: Pull complete [2021-10-18T11:58:35.576Z] 0ac9a79272e3: Pull complete [2021-10-18T11:58:41.018Z] b78e95d17946: Pull complete [2021-10-18T11:58:41.018Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-18T11:58:41.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-18T11:58:41.018Z] ---> 8b459fc5aaf0 [2021-10-18T11:58:41.018Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-18T11:58:43.773Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-18T11:58:43.773Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.303s coverage: 64.6% of statements [2021-10-18T11:58:43.773Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-18T11:58:46.591Z] ---> Running in 41abd0ec8e61 [2021-10-18T11:58:46.592Z] Removing intermediate container 41abd0ec8e61 [2021-10-18T11:58:46.592Z] ---> 367963c08846 [2021-10-18T11:58:46.592Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-18T11:58:46.592Z] ---> Running in d8b3431a29d9 [2021-10-18T11:58:46.874Z] Removing intermediate container d8b3431a29d9 [2021-10-18T11:58:46.874Z] ---> e9e18da9d5e2 [2021-10-18T11:58:46.874Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-18T11:58:47.155Z] ---> Running in 87108700a29c [2021-10-18T11:58:47.774Z] Removing intermediate container 87108700a29c [2021-10-18T11:58:47.774Z] ---> 5a4e6c2dda89 [2021-10-18T11:58:47.774Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T11:58:47.774Z] ---> Running in 398bd79f3b49 [2021-10-18T11:58:50.418Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-18T11:58:50.418Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-18T11:58:50.422Z] Removing intermediate container 398bd79f3b49 [2021-10-18T11:58:50.422Z] ---> d969dea4ea78 [2021-10-18T11:58:50.422Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-18T11:58:50.679Z] ./bin/test-attribution-txt.sh [2021-10-18T11:58:50.703Z] ---> Running in 3ccc9069d080 [Pipeline] } [2021-10-18T11:58:51.270Z] $ docker stop --time=1 f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 [2021-10-18T11:58:51.709Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-18T11:58:52.699Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-18T11:58:52.790Z] $ docker rm -f f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-18T11:58:53.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-18T11:58:53.354Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-10-18T11:58:54.270Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-18T11:58:54.270Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-18T11:58:54.270Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-18T11:58:54.270Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-18T11:58:54.270Z] Executing busybox-1.33.1-r3.trigger [2021-10-18T11:58:54.270Z] OK: 223 MiB in 56 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-18T11:58:55.928Z] Removing intermediate container 3ccc9069d080 [2021-10-18T11:58:55.928Z] ---> 717de46b57f4 [2021-10-18T11:58:55.928Z] Step 8/11 : COPY . . [Pipeline] sh [2021-10-18T11:58:56.316Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-18T11:58:56.547Z] ---> 24f0e2e6a5cc [2021-10-18T11:58:56.547Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-18T11:58:56.615Z] + ls -al . [2021-10-18T11:58:56.615Z] total 172 [2021-10-18T11:58:56.615Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 18 11:58 . [2021-10-18T11:58:56.615Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 18 11:57 .. [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 8147 Oct 18 11:57 Attribution.txt [2021-10-18T11:58:56.615Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 18 11:57 bin [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 6349 Oct 18 11:57 CHANGELOG.md [2021-10-18T11:58:56.615Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 18 11:57 cmd [2021-10-18T11:58:56.615Z] -rw-r--r--. 1 jenkins jenkins 46339 Oct 18 11:58 coverage.out [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 1951 Oct 18 11:57 Dockerfile [2021-10-18T11:58:56.615Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 18 11:57 .git [2021-10-18T11:58:56.615Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 18 11:57 .github [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 270 Oct 18 11:57 .gitignore [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 763 Oct 18 11:57 go.mod [2021-10-18T11:58:56.615Z] -rw-r--r--. 1 jenkins jenkins 52158 Oct 18 11:58 go.sum [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 18 11:57 GOVERNANCE.md [2021-10-18T11:58:56.615Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 18 11:57 internal [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 660 Oct 18 11:57 Jenkinsfile [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 18 11:57 LICENSE [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 999 Oct 18 11:57 Makefile [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 623 Oct 18 11:57 OWNERS.md [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 2913 Oct 18 11:57 README.md [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 18 11:55 VERSION [2021-10-18T11:58:56.615Z] -rw-rw-r--. 1 jenkins jenkins 235 Oct 18 11:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:58:56.837Z] ---> Running in 4d0b2e62fd8c [2021-10-18T11:58:56.913Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-10-18T11:58:56.913Z] Sending build context to Docker daemon 8.723MB [2021-10-18T11:58:56.913Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-18T11:58:56.913Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-18T11:58:56.913Z] ---> dd36c5106862 [2021-10-18T11:58:56.913Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-18T11:58:56.913Z] ---> Running in cd774a27c754 [2021-10-18T11:58:57.174Z] Removing intermediate container cd774a27c754 [2021-10-18T11:58:57.174Z] ---> 09e28b0eb2e5 [2021-10-18T11:58:57.174Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-18T11:58:57.174Z] ---> Running in 2fda4eefffa6 [2021-10-18T11:58:57.174Z] Removing intermediate container 2fda4eefffa6 [2021-10-18T11:58:57.174Z] ---> d4df5db41424 [2021-10-18T11:58:57.174Z] Step 5/25 : WORKDIR /device-virtual-go [2021-10-18T11:58:57.174Z] ---> Running in 8968f0ae66b1 [2021-10-18T11:58:57.437Z] Removing intermediate container 8968f0ae66b1 [2021-10-18T11:58:57.437Z] ---> 3a6dfe263c4c [2021-10-18T11:58:57.437Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T11:58:57.437Z] ---> Running in e8167581d0e0 [2021-10-18T11:58:57.702Z] Removing intermediate container e8167581d0e0 [2021-10-18T11:58:57.702Z] ---> 8f3dea2a2e17 [2021-10-18T11:58:57.702Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-18T11:58:57.702Z] ---> Running in b1f1f05e2329 [2021-10-18T11:58:57.966Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-18T11:58:58.905Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-18T11:58:59.172Z] OK: 224 MiB in 56 packages [2021-10-18T11:58:59.434Z] Removing intermediate container b1f1f05e2329 [2021-10-18T11:58:59.434Z] ---> 5bb1df7ca53d [2021-10-18T11:58:59.434Z] Step 8/25 : COPY . . [2021-10-18T11:58:59.698Z] ---> 313b90453d2b [2021-10-18T11:58:59.698Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-18T11:58:59.698Z] ---> Running in 9f5221d3e56a [2021-10-18T11:59:00.274Z] Removing intermediate container 9f5221d3e56a [2021-10-18T11:59:00.274Z] ---> b2ae408d0e50 [2021-10-18T11:59:00.274Z] Step 10/25 : ARG MAKE='make build' [2021-10-18T11:59:00.274Z] ---> Running in e336cdf37c4c [2021-10-18T11:59:00.534Z] Removing intermediate container e336cdf37c4c [2021-10-18T11:59:00.534Z] ---> d361bd9b560d [2021-10-18T11:59:00.534Z] Step 11/25 : RUN $MAKE [2021-10-18T11:59:00.534Z] ---> Running in a62a7d18d5b2 [2021-10-18T11:59:00.793Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.9" -o cmd/device-virtual ./cmd [2021-10-18T11:59:19.001Z] Removing intermediate container a62a7d18d5b2 [2021-10-18T11:59:19.001Z] ---> 3c6e0fc61bcd [2021-10-18T11:59:19.001Z] Step 12/25 : FROM alpine:3.14 [2021-10-18T11:59:19.001Z] 3.14: Pulling from library/alpine [2021-10-18T11:59:19.001Z] a0d0a0d46f8b: Already exists [2021-10-18T11:59:19.001Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-18T11:59:19.001Z] Status: Downloaded newer image for alpine:3.14 [2021-10-18T11:59:19.001Z] ---> 14119a10abf4 [2021-10-18T11:59:19.001Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-10-18T11:59:19.001Z] ---> Running in 27a4c222b576 [2021-10-18T11:59:19.001Z] Removing intermediate container 27a4c222b576 [2021-10-18T11:59:19.001Z] ---> 36c1e02b73e1 [2021-10-18T11:59:19.001Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T11:59:19.001Z] ---> Running in 4b58b76a7c27 [2021-10-18T11:59:19.001Z] Removing intermediate container 4b58b76a7c27 [2021-10-18T11:59:19.001Z] ---> 54af80d2858c [2021-10-18T11:59:19.001Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-18T11:59:19.001Z] ---> Running in 056791a79e41 [2021-10-18T11:59:19.001Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-18T11:59:19.263Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-18T11:59:19.524Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-18T11:59:19.785Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-18T11:59:19.785Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-18T11:59:19.785Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-18T11:59:20.055Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-18T11:59:20.055Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-18T11:59:20.055Z] Executing busybox-1.33.1-r3.trigger [2021-10-18T11:59:20.055Z] OK: 8 MiB in 20 packages [2021-10-18T11:59:20.339Z] Removing intermediate container 056791a79e41 [2021-10-18T11:59:20.339Z] ---> 247afc5600b6 [2021-10-18T11:59:20.339Z] Step 16/25 : WORKDIR / [2021-10-18T11:59:20.600Z] ---> Running in dde641869c20 [2021-10-18T11:59:20.600Z] Removing intermediate container dde641869c20 [2021-10-18T11:59:20.600Z] ---> d182da2937ef [2021-10-18T11:59:20.600Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-10-18T11:59:20.600Z] ---> 981938d56909 [2021-10-18T11:59:20.600Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-10-18T11:59:20.867Z] ---> 2a7898a453b2 [2021-10-18T11:59:20.867Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-10-18T11:59:21.128Z] ---> 30720635e17d [2021-10-18T11:59:21.128Z] Step 20/25 : EXPOSE 59900 [2021-10-18T11:59:21.389Z] ---> Running in d8162e9698f3 [2021-10-18T11:59:21.389Z] Removing intermediate container d8162e9698f3 [2021-10-18T11:59:21.389Z] ---> 6596345eea30 [2021-10-18T11:59:21.389Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-10-18T11:59:21.389Z] ---> Running in caa28b08f69b [2021-10-18T11:59:21.389Z] Removing intermediate container caa28b08f69b [2021-10-18T11:59:21.389Z] ---> 187966fe06b6 [2021-10-18T11:59:21.389Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-18T11:59:21.389Z] ---> Running in 324d82ea0c04 [2021-10-18T11:59:21.649Z] Removing intermediate container 324d82ea0c04 [2021-10-18T11:59:21.649Z] ---> 64aa395490c2 [2021-10-18T11:59:21.649Z] Step 23/25 : LABEL arch=amd64 [2021-10-18T11:59:21.649Z] ---> Running in c3f0aedce4b2 [2021-10-18T11:59:21.649Z] Removing intermediate container c3f0aedce4b2 [2021-10-18T11:59:21.649Z] ---> 42d4d8b14514 [2021-10-18T11:59:21.649Z] Step 24/25 : LABEL git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T11:59:21.650Z] ---> Running in 97a6a0132a82 [2021-10-18T11:59:21.650Z] Removing intermediate container 97a6a0132a82 [2021-10-18T11:59:21.650Z] ---> 729c50435ef2 [2021-10-18T11:59:21.650Z] Step 25/25 : LABEL version=2.0.1-dev.9 [2021-10-18T11:59:21.650Z] ---> Running in 2779110c643a [2021-10-18T11:59:21.911Z] Removing intermediate container 2779110c643a [2021-10-18T11:59:21.911Z] ---> 88f2b67b7342 [2021-10-18T11:59:21.911Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-18T11:59:21.911Z] Successfully built 88f2b67b7342 [2021-10-18T11:59:21.911Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T11:59:22.079Z] provisioning config files... [2021-10-18T11:59:22.090Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config5918640196351183790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:59:22.400Z] ---> docker-login.sh [2021-10-18T11:59:22.400Z] nexus3.edgexfoundry.org:10001 [2021-10-18T11:59:22.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:59:22.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:59:22.400Z] Configure a credential helper to remove this warning. See [2021-10-18T11:59:22.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:59:22.400Z] [2021-10-18T11:59:22.400Z] Login Succeeded [2021-10-18T11:59:22.400Z] nexus3.edgexfoundry.org:10002 [2021-10-18T11:59:22.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:59:22.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:59:22.663Z] Configure a credential helper to remove this warning. See [2021-10-18T11:59:22.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:59:22.663Z] [2021-10-18T11:59:22.663Z] Login Succeeded [2021-10-18T11:59:22.663Z] nexus3.edgexfoundry.org:10003 [2021-10-18T11:59:22.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:59:22.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:59:22.663Z] Configure a credential helper to remove this warning. See [2021-10-18T11:59:22.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:59:22.663Z] [2021-10-18T11:59:22.663Z] Login Succeeded [2021-10-18T11:59:22.663Z] nexus3.edgexfoundry.org:10004 [2021-10-18T11:59:22.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:59:22.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:59:22.925Z] Configure a credential helper to remove this warning. See [2021-10-18T11:59:22.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:59:22.925Z] [2021-10-18T11:59:22.925Z] Login Succeeded [2021-10-18T11:59:22.925Z] docker.io [2021-10-18T11:59:22.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T11:59:23.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T11:59:23.499Z] Configure a credential helper to remove this warning. See [2021-10-18T11:59:23.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T11:59:23.499Z] [2021-10-18T11:59:23.499Z] Login Succeeded [2021-10-18T11:59:23.499Z] ---> docker-login.sh ends [Pipeline] } [2021-10-18T11:59:23.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-18T11:59:23.545Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2021-10-18T11:59:23.545Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T11:59:23.545Z] latest [2021-10-18T11:59:23.545Z] 2.0.1-dev.9 [2021-10-18T11:59:23.545Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T11:59:23.545Z] main [2021-10-18T11:59:23.545Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:23.863Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:24.161Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T11:59:24.161Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-10-18T11:59:24.161Z] 89d629bfb9ee: Preparing [2021-10-18T11:59:24.161Z] 7bc11dcf3d0b: Preparing [2021-10-18T11:59:24.161Z] cc6c13994864: Preparing [2021-10-18T11:59:24.161Z] d6d5b39ce9d8: Preparing [2021-10-18T11:59:24.161Z] d98fc022165d: Preparing [2021-10-18T11:59:24.161Z] e2eb06d8af82: Preparing [2021-10-18T11:59:24.161Z] e2eb06d8af82: Waiting [2021-10-18T11:59:24.429Z] d98fc022165d: Pushed [2021-10-18T11:59:24.429Z] cc6c13994864: Pushed [2021-10-18T11:59:24.429Z] e2eb06d8af82: Layer already exists [2021-10-18T11:59:24.429Z] 7bc11dcf3d0b: Pushed [2021-10-18T11:59:24.429Z] d6d5b39ce9d8: Pushed [2021-10-18T11:59:25.825Z] 89d629bfb9ee: Pushed [2021-10-18T11:59:25.825Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:26.126Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:26.418Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-10-18T11:59:26.418Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-10-18T11:59:26.418Z] 89d629bfb9ee: Preparing [2021-10-18T11:59:26.418Z] 7bc11dcf3d0b: Preparing [2021-10-18T11:59:26.418Z] cc6c13994864: Preparing [2021-10-18T11:59:26.418Z] d6d5b39ce9d8: Preparing [2021-10-18T11:59:26.418Z] d98fc022165d: Preparing [2021-10-18T11:59:26.418Z] e2eb06d8af82: Preparing [2021-10-18T11:59:26.418Z] e2eb06d8af82: Waiting [2021-10-18T11:59:26.418Z] d98fc022165d: Layer already exists [2021-10-18T11:59:26.418Z] 89d629bfb9ee: Layer already exists [2021-10-18T11:59:26.418Z] 7bc11dcf3d0b: Layer already exists [2021-10-18T11:59:26.418Z] d6d5b39ce9d8: Layer already exists [2021-10-18T11:59:26.418Z] cc6c13994864: Layer already exists [2021-10-18T11:59:26.418Z] e2eb06d8af82: Layer already exists [2021-10-18T11:59:26.418Z] latest: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:26.721Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:27.015Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 [2021-10-18T11:59:27.015Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-10-18T11:59:27.015Z] 89d629bfb9ee: Preparing [2021-10-18T11:59:27.015Z] 7bc11dcf3d0b: Preparing [2021-10-18T11:59:27.015Z] cc6c13994864: Preparing [2021-10-18T11:59:27.015Z] d6d5b39ce9d8: Preparing [2021-10-18T11:59:27.015Z] d98fc022165d: Preparing [2021-10-18T11:59:27.015Z] e2eb06d8af82: Preparing [2021-10-18T11:59:27.015Z] e2eb06d8af82: Waiting [2021-10-18T11:59:27.015Z] d98fc022165d: Layer already exists [2021-10-18T11:59:27.015Z] 7bc11dcf3d0b: Layer already exists [2021-10-18T11:59:27.015Z] d6d5b39ce9d8: Layer already exists [2021-10-18T11:59:27.015Z] cc6c13994864: Layer already exists [2021-10-18T11:59:27.015Z] 89d629bfb9ee: Layer already exists [2021-10-18T11:59:27.015Z] e2eb06d8af82: Layer already exists [2021-10-18T11:59:27.015Z] 2.0.1-dev.9: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:27.315Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:27.615Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T11:59:27.616Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-10-18T11:59:27.616Z] 89d629bfb9ee: Preparing [2021-10-18T11:59:27.616Z] 7bc11dcf3d0b: Preparing [2021-10-18T11:59:27.616Z] cc6c13994864: Preparing [2021-10-18T11:59:27.616Z] d6d5b39ce9d8: Preparing [2021-10-18T11:59:27.616Z] d98fc022165d: Preparing [2021-10-18T11:59:27.616Z] e2eb06d8af82: Preparing [2021-10-18T11:59:27.616Z] e2eb06d8af82: Waiting [2021-10-18T11:59:27.616Z] 89d629bfb9ee: Layer already exists [2021-10-18T11:59:27.616Z] 7bc11dcf3d0b: Layer already exists [2021-10-18T11:59:27.616Z] d98fc022165d: Layer already exists [2021-10-18T11:59:27.616Z] cc6c13994864: Layer already exists [2021-10-18T11:59:27.616Z] d6d5b39ce9d8: Layer already exists [2021-10-18T11:59:27.616Z] e2eb06d8af82: Layer already exists [2021-10-18T11:59:27.616Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:27.917Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:28.216Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2021-10-18T11:59:28.216Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2021-10-18T11:59:28.216Z] 89d629bfb9ee: Preparing [2021-10-18T11:59:28.216Z] 7bc11dcf3d0b: Preparing [2021-10-18T11:59:28.216Z] cc6c13994864: Preparing [2021-10-18T11:59:28.216Z] d6d5b39ce9d8: Preparing [2021-10-18T11:59:28.216Z] d98fc022165d: Preparing [2021-10-18T11:59:28.216Z] e2eb06d8af82: Preparing [2021-10-18T11:59:28.216Z] e2eb06d8af82: Waiting [2021-10-18T11:59:28.216Z] d98fc022165d: Layer already exists [2021-10-18T11:59:28.216Z] cc6c13994864: Layer already exists [2021-10-18T11:59:28.216Z] 7bc11dcf3d0b: Layer already exists [2021-10-18T11:59:28.216Z] 89d629bfb9ee: Layer already exists [2021-10-18T11:59:28.216Z] d6d5b39ce9d8: Layer already exists [2021-10-18T11:59:28.216Z] e2eb06d8af82: Layer already exists [2021-10-18T11:59:28.216Z] main: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-18T11:59:28.253Z] ===================================================== [Pipeline] echo [2021-10-18T11:59:28.263Z] taggedImages: [2021-10-18T11:59:28.263Z] - nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T11:59:28.263Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2021-10-18T11:59:28.263Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 [2021-10-18T11:59:28.263Z] - nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T11:59:28.263Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [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-18T11:59:28.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T11:59:28.706Z] [2021-10-18T11:59:28.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T11:59:29.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T11:59:29.010Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-18T11:59:29.010Z] b4d181a07f80: Pulling fs layer [2021-10-18T11:59:29.010Z] a1111a8f2ec3: Pulling fs layer [2021-10-18T11:59:29.010Z] ed53099fbce6: Pulling fs layer [2021-10-18T11:59:29.010Z] dc539afda2c1: Pulling fs layer [2021-10-18T11:59:29.010Z] 77bc0d833cb6: Pulling fs layer [2021-10-18T11:59:29.010Z] 9065ff56babe: Pulling fs layer [2021-10-18T11:59:29.010Z] d287ab97295c: Pulling fs layer [2021-10-18T11:59:29.010Z] 77bc0d833cb6: Waiting [2021-10-18T11:59:29.010Z] 9065ff56babe: Waiting [2021-10-18T11:59:29.010Z] d287ab97295c: Waiting [2021-10-18T11:59:29.010Z] dc539afda2c1: Waiting [2021-10-18T11:59:29.010Z] a1111a8f2ec3: Verifying Checksum [2021-10-18T11:59:29.010Z] a1111a8f2ec3: Download complete [2021-10-18T11:59:29.010Z] dc539afda2c1: Verifying Checksum [2021-10-18T11:59:29.010Z] dc539afda2c1: Download complete [2021-10-18T11:59:29.273Z] ed53099fbce6: Verifying Checksum [2021-10-18T11:59:29.273Z] ed53099fbce6: Download complete [2021-10-18T11:59:29.273Z] 77bc0d833cb6: Verifying Checksum [2021-10-18T11:59:29.273Z] 77bc0d833cb6: Download complete [2021-10-18T11:59:29.273Z] 9065ff56babe: Verifying Checksum [2021-10-18T11:59:29.273Z] 9065ff56babe: Download complete [2021-10-18T11:59:29.273Z] b4d181a07f80: Verifying Checksum [2021-10-18T11:59:29.273Z] b4d181a07f80: Download complete [2021-10-18T11:59:29.865Z] d287ab97295c: Verifying Checksum [2021-10-18T11:59:29.865Z] d287ab97295c: Download complete [2021-10-18T11:59:30.829Z] b4d181a07f80: Pull complete [2021-10-18T11:59:30.829Z] a1111a8f2ec3: Pull complete [2021-10-18T11:59:31.405Z] ed53099fbce6: Pull complete [2021-10-18T11:59:31.405Z] dc539afda2c1: Pull complete [2021-10-18T11:59:31.665Z] 77bc0d833cb6: Pull complete [2021-10-18T11:59:31.929Z] 9065ff56babe: Pull complete [2021-10-18T11:59:37.269Z] d287ab97295c: Pull complete [2021-10-18T11:59:37.269Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-18T11:59:37.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T11:59:37.269Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-18T11:59:37.347Z] prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container [2021-10-18T11:59:37.381Z] $ 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-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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-18T11:59:40.217Z] $ docker top f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T11:59:40.663Z] ---> job-cost.sh [2021-10-18T11:59:40.663Z] lf-activate-venv: SKIPPING [2021-10-18T11:59:40.663Z] INFO: No Stack... [2021-10-18T11:59:41.233Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-18T11:59:41.493Z] INFO: Archiving Costs [Pipeline] sh [2021-10-18T11:59:41.795Z] + cat /w/workspace/device-virtual-go/10/archives/cost.csv [2021-10-18T11:59:41.795Z] + cut -d, -f6 [Pipeline] lock [2021-10-18T11:59:41.822Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [2021-10-18T11:59:41.830Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] did not exist. Created. [2021-10-18T11:59:41.830Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-18T11:59:42.147Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-18T11:59:42.171Z] Stashed 1 file(s) [Pipeline] } [2021-10-18T11:59:42.177Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-18T11:59:42.196Z] $ docker stop --time=1 f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e [2021-10-18T11:59:43.340Z] $ docker rm -f f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-18T12:00:18.713Z] Removing intermediate container 4d0b2e62fd8c [2021-10-18T12:00:18.713Z] ---> 7ee0dacaf875 [2021-10-18T12:00:18.713Z] Step 10/11 : ARG MAKE='make build' [2021-10-18T12:00:18.713Z] ---> Running in ede2171bbbaa [2021-10-18T12:00:18.713Z] Removing intermediate container ede2171bbbaa [2021-10-18T12:00:18.713Z] ---> cc70353cc1fb [2021-10-18T12:00:18.713Z] Step 11/11 : RUN $MAKE [2021-10-18T12:00:18.713Z] ---> Running in 24ed1e5b870f [2021-10-18T12:00:18.713Z] noop [2021-10-18T12:00:18.713Z] Removing intermediate container 24ed1e5b870f [2021-10-18T12:00:18.713Z] ---> 6f6dd91d6872 [2021-10-18T12:00:18.713Z] Successfully built 6f6dd91d6872 [2021-10-18T12:00:18.713Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:00:19.079Z] + docker inspect -f . ci-base-image-arm64 [2021-10-18T12:00:19.079Z] . [Pipeline] withDockerContainer [2021-10-18T12:00:19.361Z] prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container [2021-10-18T12:00:19.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-18T12:00:21.122Z] $ docker top 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-18T12:00:22.114Z] + go version [2021-10-18T12:00:22.114Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-18T12:00:22.143Z] $ docker stop --time=1 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 [2021-10-18T12:00:23.916Z] $ docker rm -f 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:00:26.244Z] + docker inspect -f . ci-base-image-arm64 [2021-10-18T12:00:26.244Z] . [Pipeline] withDockerContainer [2021-10-18T12:00:26.482Z] prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container [2021-10-18T12:00:26.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-18T12:00:28.035Z] $ docker top b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-18T12:00:28.955Z] + go mod tidy [Pipeline] sh [2021-10-18T12:00:30.629Z] + make test [2021-10-18T12:00:30.629Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-18T12:00:32.101Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-18T12:01:40.303Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-18T12:01:40.303Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.715s coverage: 64.6% of statements [2021-10-18T12:01:40.303Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-18T12:02:07.247Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-18T12:02:07.247Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-18T12:02:07.247Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-18T12:02:07.277Z] $ docker stop --time=1 b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 [2021-10-18T12:02:09.293Z] $ docker rm -f b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-18T12:02:10.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-18T12:02:10.228Z] Warning: overwriting stash ‘coverage-report’ [2021-10-18T12:02:10.831Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-18T12:02:11.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-18T12:02:11.719Z] + ls -al . [2021-10-18T12:02:11.719Z] total 196 [2021-10-18T12:02:11.719Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:02 . [2021-10-18T12:02:11.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:57 .. [2021-10-18T12:02:11.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:57 .git [2021-10-18T12:02:11.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:57 .github [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 270 Oct 18 11:57 .gitignore [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 8147 Oct 18 11:57 Attribution.txt [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 6349 Oct 18 11:57 CHANGELOG.md [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 1951 Oct 18 11:57 Dockerfile [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:57 GOVERNANCE.md [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:57 Jenkinsfile [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:57 LICENSE [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 999 Oct 18 11:57 Makefile [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:57 OWNERS.md [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 2913 Oct 18 11:57 README.md [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 18 11:55 VERSION [2021-10-18T12:02:11.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:57 bin [2021-10-18T12:02:11.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:57 cmd [2021-10-18T12:02:11.719Z] -rw-r--r-- 1 jenkins jenkins 46339 Oct 18 12:01 coverage.out [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 763 Oct 18 11:57 go.mod [2021-10-18T12:02:11.719Z] -rw-r--r-- 1 jenkins jenkins 52158 Oct 18 12:00 go.sum [2021-10-18T12:02:11.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:57 internal [2021-10-18T12:02:11.719Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:02:12.072Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-10-18T12:02:12.680Z] Sending build context to Docker daemon 8.722MB [2021-10-18T12:02:12.680Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.14 [2021-10-18T12:02:12.680Z] Step 2/25 : FROM ${BASE} AS builder [2021-10-18T12:02:12.680Z] ---> 6f6dd91d6872 [2021-10-18T12:02:12.680Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-18T12:02:12.680Z] ---> Running in 13e7a22dce24 [2021-10-18T12:02:13.287Z] Removing intermediate container 13e7a22dce24 [2021-10-18T12:02:13.287Z] ---> 63dc493d5437 [2021-10-18T12:02:13.287Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-10-18T12:02:13.287Z] ---> Running in 767741aa8217 [2021-10-18T12:02:13.889Z] Removing intermediate container 767741aa8217 [2021-10-18T12:02:13.889Z] ---> 06e3842d1400 [2021-10-18T12:02:13.889Z] Step 5/25 : WORKDIR /device-virtual-go [2021-10-18T12:02:13.889Z] ---> Running in ee633757bf00 [2021-10-18T12:02:14.493Z] Removing intermediate container ee633757bf00 [2021-10-18T12:02:14.493Z] ---> ccba49554e7a [2021-10-18T12:02:14.493Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T12:02:14.772Z] ---> Running in 39c606a56749 [2021-10-18T12:02:16.775Z] Removing intermediate container 39c606a56749 [2021-10-18T12:02:16.775Z] ---> 48fb6c1a407a [2021-10-18T12:02:16.775Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-18T12:02:16.775Z] ---> Running in 15e037d57307 [2021-10-18T12:02:18.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-18T12:02:19.280Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-18T12:02:19.884Z] OK: 223 MiB in 56 packages [2021-10-18T12:02:20.888Z] Removing intermediate container 15e037d57307 [2021-10-18T12:02:20.888Z] ---> ef99feb2bb44 [2021-10-18T12:02:20.888Z] Step 8/25 : COPY . . [2021-10-18T12:02:22.343Z] ---> a412568fa3ee [2021-10-18T12:02:22.343Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-18T12:02:22.343Z] ---> Running in 730be7fc160d [2021-10-18T12:02:24.988Z] Removing intermediate container 730be7fc160d [2021-10-18T12:02:24.988Z] ---> 6459759995f6 [2021-10-18T12:02:24.988Z] Step 10/25 : ARG MAKE='make build' [2021-10-18T12:02:24.988Z] ---> Running in 2f421810b7f5 [2021-10-18T12:02:25.591Z] Removing intermediate container 2f421810b7f5 [2021-10-18T12:02:25.591Z] ---> 2a4bcf73fad5 [2021-10-18T12:02:25.591Z] Step 11/25 : RUN $MAKE [2021-10-18T12:02:25.591Z] ---> Running in 13383241a7d7 [2021-10-18T12:02:27.051Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.9" -o cmd/device-virtual ./cmd [2021-10-18T12:03:23.706Z] Removing intermediate container 13383241a7d7 [2021-10-18T12:03:23.706Z] ---> 9bdc129fcb91 [2021-10-18T12:03:23.706Z] Step 12/25 : FROM alpine:3.14 [2021-10-18T12:03:23.706Z] 3.14: Pulling from library/alpine [2021-10-18T12:03:23.706Z] 552d1f2373af: Already exists [2021-10-18T12:03:23.706Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-18T12:03:23.706Z] Status: Downloaded newer image for alpine:3.14 [2021-10-18T12:03:23.706Z] ---> bb3de5531c18 [2021-10-18T12:03:23.706Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-10-18T12:03:23.706Z] ---> Running in f0642026688c [2021-10-18T12:03:23.706Z] Removing intermediate container f0642026688c [2021-10-18T12:03:23.706Z] ---> 276c712e364e [2021-10-18T12:03:23.706Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-18T12:03:23.706Z] ---> Running in 356ec9c898b2 [2021-10-18T12:03:23.706Z] Removing intermediate container 356ec9c898b2 [2021-10-18T12:03:23.706Z] ---> d2f4bdd9f35c [2021-10-18T12:03:23.706Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-18T12:03:23.706Z] ---> Running in edbf6fa61fe9 [2021-10-18T12:03:23.706Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-18T12:03:23.981Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-18T12:03:24.582Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-18T12:03:24.857Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-18T12:03:24.857Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-18T12:03:24.857Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-18T12:03:25.131Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-18T12:03:25.131Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-18T12:03:25.408Z] Executing busybox-1.33.1-r3.trigger [2021-10-18T12:03:25.408Z] OK: 8 MiB in 20 packages [2021-10-18T12:03:26.401Z] Removing intermediate container edbf6fa61fe9 [2021-10-18T12:03:26.401Z] ---> 86c12e213b78 [2021-10-18T12:03:26.401Z] Step 16/25 : WORKDIR / [2021-10-18T12:03:26.679Z] ---> Running in 9802622fc396 [2021-10-18T12:03:27.283Z] Removing intermediate container 9802622fc396 [2021-10-18T12:03:27.283Z] ---> afbe3f998def [2021-10-18T12:03:27.283Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-10-18T12:03:27.889Z] ---> b282bd2c21cd [2021-10-18T12:03:27.889Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-10-18T12:03:28.881Z] ---> 7dc172dba4ab [2021-10-18T12:03:28.881Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-10-18T12:03:30.333Z] ---> 4d4591277ae8 [2021-10-18T12:03:30.333Z] Step 20/25 : EXPOSE 59900 [2021-10-18T12:03:30.333Z] ---> Running in 4e2578a8f69d [2021-10-18T12:03:30.935Z] Removing intermediate container 4e2578a8f69d [2021-10-18T12:03:30.935Z] ---> 54a94fdab9c9 [2021-10-18T12:03:30.935Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-10-18T12:03:30.935Z] ---> Running in 3b05a7a0c25b [2021-10-18T12:03:31.214Z] Removing intermediate container 3b05a7a0c25b [2021-10-18T12:03:31.214Z] ---> 74951e5309af [2021-10-18T12:03:31.214Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-18T12:03:31.494Z] ---> Running in b2f482cf19d5 [2021-10-18T12:03:31.773Z] Removing intermediate container b2f482cf19d5 [2021-10-18T12:03:31.773Z] ---> 3a4cc3425e9d [2021-10-18T12:03:31.773Z] Step 23/25 : LABEL arch=arm64 [2021-10-18T12:03:32.050Z] ---> Running in aaa648ac18f9 [2021-10-18T12:03:32.654Z] Removing intermediate container aaa648ac18f9 [2021-10-18T12:03:32.654Z] ---> 59fa9655e8ea [2021-10-18T12:03:32.654Z] Step 24/25 : LABEL git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T12:03:32.654Z] ---> Running in bfdd8fda8132 [2021-10-18T12:03:33.260Z] Removing intermediate container bfdd8fda8132 [2021-10-18T12:03:33.260Z] ---> 8623dce0d09f [2021-10-18T12:03:33.260Z] Step 25/25 : LABEL version=2.0.1-dev.9 [2021-10-18T12:03:33.260Z] ---> Running in e7b17a709742 [2021-10-18T12:03:33.535Z] Removing intermediate container e7b17a709742 [2021-10-18T12:03:33.535Z] ---> 8ca0782bd0c4 [2021-10-18T12:03:33.535Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-18T12:03:33.813Z] Successfully built 8ca0782bd0c4 [2021-10-18T12:03:33.813Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T12:03:33.997Z] provisioning config files... [2021-10-18T12:03:34.020Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config8931156105780566450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:03:34.380Z] ---> docker-login.sh [2021-10-18T12:03:34.380Z] nexus3.edgexfoundry.org:10001 [2021-10-18T12:03:34.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T12:03:34.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T12:03:34.655Z] Configure a credential helper to remove this warning. See [2021-10-18T12:03:34.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T12:03:34.655Z] [2021-10-18T12:03:34.655Z] Login Succeeded [2021-10-18T12:03:34.935Z] nexus3.edgexfoundry.org:10002 [2021-10-18T12:03:35.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T12:03:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T12:03:35.490Z] Configure a credential helper to remove this warning. See [2021-10-18T12:03:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T12:03:35.490Z] [2021-10-18T12:03:35.490Z] Login Succeeded [2021-10-18T12:03:35.490Z] nexus3.edgexfoundry.org:10003 [2021-10-18T12:03:35.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T12:03:36.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T12:03:36.045Z] Configure a credential helper to remove this warning. See [2021-10-18T12:03:36.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T12:03:36.045Z] [2021-10-18T12:03:36.045Z] Login Succeeded [2021-10-18T12:03:36.045Z] nexus3.edgexfoundry.org:10004 [2021-10-18T12:03:36.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T12:03:36.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T12:03:36.600Z] Configure a credential helper to remove this warning. See [2021-10-18T12:03:36.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T12:03:36.600Z] [2021-10-18T12:03:36.600Z] Login Succeeded [2021-10-18T12:03:36.600Z] docker.io [2021-10-18T12:03:36.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-18T12:03:37.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-18T12:03:37.473Z] Configure a credential helper to remove this warning. See [2021-10-18T12:03:37.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-18T12:03:37.473Z] [2021-10-18T12:03:37.473Z] Login Succeeded [2021-10-18T12:03:37.473Z] ---> docker-login.sh ends [Pipeline] } [2021-10-18T12:03:37.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-18T12:03:37.533Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2021-10-18T12:03:37.533Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T12:03:37.533Z] latest [2021-10-18T12:03:37.533Z] 2.0.1-dev.9 [2021-10-18T12:03:37.533Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T12:03:37.533Z] main [2021-10-18T12:03:37.533Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:37.891Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:38.239Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T12:03:38.240Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-10-18T12:03:38.240Z] 43c2a3063ac6: Preparing [2021-10-18T12:03:38.240Z] cc65bff62938: Preparing [2021-10-18T12:03:38.240Z] 183ff6dba463: Preparing [2021-10-18T12:03:38.240Z] 3aa1e429f7b5: Preparing [2021-10-18T12:03:38.240Z] 53faab1aef1f: Preparing [2021-10-18T12:03:38.240Z] ee420dfed78a: Preparing [2021-10-18T12:03:38.240Z] ee420dfed78a: Waiting [2021-10-18T12:03:38.522Z] cc65bff62938: Pushed [2021-10-18T12:03:38.522Z] 183ff6dba463: Pushed [2021-10-18T12:03:38.522Z] 53faab1aef1f: Pushed [2021-10-18T12:03:38.522Z] ee420dfed78a: Layer already exists [2021-10-18T12:03:39.124Z] 3aa1e429f7b5: Pushed [2021-10-18T12:03:41.751Z] 43c2a3063ac6: Pushed [2021-10-18T12:03:41.751Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:42.378Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:42.729Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-10-18T12:03:42.729Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-10-18T12:03:42.729Z] 43c2a3063ac6: Preparing [2021-10-18T12:03:42.729Z] cc65bff62938: Preparing [2021-10-18T12:03:42.729Z] 183ff6dba463: Preparing [2021-10-18T12:03:42.729Z] 3aa1e429f7b5: Preparing [2021-10-18T12:03:42.729Z] 53faab1aef1f: Preparing [2021-10-18T12:03:42.729Z] ee420dfed78a: Preparing [2021-10-18T12:03:42.729Z] ee420dfed78a: Waiting [2021-10-18T12:03:43.008Z] 53faab1aef1f: Layer already exists [2021-10-18T12:03:43.008Z] cc65bff62938: Layer already exists [2021-10-18T12:03:43.008Z] 183ff6dba463: Layer already exists [2021-10-18T12:03:43.008Z] 3aa1e429f7b5: Layer already exists [2021-10-18T12:03:43.008Z] 43c2a3063ac6: Layer already exists [2021-10-18T12:03:43.008Z] ee420dfed78a: Layer already exists [2021-10-18T12:03:43.008Z] latest: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:43.365Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:43.717Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 [2021-10-18T12:03:43.717Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-10-18T12:03:43.717Z] 43c2a3063ac6: Preparing [2021-10-18T12:03:43.717Z] cc65bff62938: Preparing [2021-10-18T12:03:43.717Z] 183ff6dba463: Preparing [2021-10-18T12:03:43.717Z] 3aa1e429f7b5: Preparing [2021-10-18T12:03:43.717Z] 53faab1aef1f: Preparing [2021-10-18T12:03:43.717Z] ee420dfed78a: Preparing [2021-10-18T12:03:43.717Z] ee420dfed78a: Waiting [2021-10-18T12:03:43.992Z] 43c2a3063ac6: Layer already exists [2021-10-18T12:03:43.992Z] 183ff6dba463: Layer already exists [2021-10-18T12:03:43.993Z] 3aa1e429f7b5: Layer already exists [2021-10-18T12:03:43.993Z] cc65bff62938: Layer already exists [2021-10-18T12:03:43.993Z] 53faab1aef1f: Layer already exists [2021-10-18T12:03:43.993Z] ee420dfed78a: Layer already exists [2021-10-18T12:03:43.993Z] 2.0.1-dev.9: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:44.346Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:44.698Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T12:03:44.698Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-10-18T12:03:44.698Z] 43c2a3063ac6: Preparing [2021-10-18T12:03:44.698Z] cc65bff62938: Preparing [2021-10-18T12:03:44.698Z] 183ff6dba463: Preparing [2021-10-18T12:03:44.698Z] 3aa1e429f7b5: Preparing [2021-10-18T12:03:44.698Z] 53faab1aef1f: Preparing [2021-10-18T12:03:44.698Z] ee420dfed78a: Preparing [2021-10-18T12:03:44.698Z] ee420dfed78a: Waiting [2021-10-18T12:03:44.975Z] 183ff6dba463: Layer already exists [2021-10-18T12:03:44.975Z] 3aa1e429f7b5: Layer already exists [2021-10-18T12:03:44.975Z] 53faab1aef1f: Layer already exists [2021-10-18T12:03:44.975Z] 43c2a3063ac6: Layer already exists [2021-10-18T12:03:44.975Z] cc65bff62938: Layer already exists [2021-10-18T12:03:44.975Z] ee420dfed78a: Layer already exists [2021-10-18T12:03:44.975Z] 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:45.327Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:45.675Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2021-10-18T12:03:45.675Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2021-10-18T12:03:45.675Z] 43c2a3063ac6: Preparing [2021-10-18T12:03:45.675Z] cc65bff62938: Preparing [2021-10-18T12:03:45.675Z] 183ff6dba463: Preparing [2021-10-18T12:03:45.675Z] 3aa1e429f7b5: Preparing [2021-10-18T12:03:45.675Z] 53faab1aef1f: Preparing [2021-10-18T12:03:45.675Z] ee420dfed78a: Preparing [2021-10-18T12:03:45.675Z] ee420dfed78a: Waiting [2021-10-18T12:03:45.951Z] 183ff6dba463: Layer already exists [2021-10-18T12:03:45.951Z] 43c2a3063ac6: Layer already exists [2021-10-18T12:03:45.951Z] 53faab1aef1f: Layer already exists [2021-10-18T12:03:45.951Z] cc65bff62938: Layer already exists [2021-10-18T12:03:45.951Z] 3aa1e429f7b5: Layer already exists [2021-10-18T12:03:45.951Z] ee420dfed78a: Layer already exists [2021-10-18T12:03:45.951Z] main: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-18T12:03:45.993Z] ===================================================== [Pipeline] echo [2021-10-18T12:03:46.002Z] taggedImages: [2021-10-18T12:03:46.002Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [2021-10-18T12:03:46.002Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2021-10-18T12:03:46.002Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 [2021-10-18T12:03:46.002Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [2021-10-18T12:03:46.002Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:46.441Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-18T12:03:46.716Z] [2021-10-18T12:03:46.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:03:47.073Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-18T12:03:47.352Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-18T12:03:47.352Z] 448f6bf000e3: Pulling fs layer [2021-10-18T12:03:47.352Z] f757da607395: Pulling fs layer [2021-10-18T12:03:47.352Z] 05883995daec: Pulling fs layer [2021-10-18T12:03:47.352Z] 8603b9c90790: Pulling fs layer [2021-10-18T12:03:47.352Z] 1560dd03e051: Pulling fs layer [2021-10-18T12:03:47.352Z] 27f5ce0e4adf: Pulling fs layer [2021-10-18T12:03:47.352Z] c2d8d7efcc4b: Pulling fs layer [2021-10-18T12:03:47.352Z] 1560dd03e051: Waiting [2021-10-18T12:03:47.352Z] 27f5ce0e4adf: Waiting [2021-10-18T12:03:47.352Z] c2d8d7efcc4b: Waiting [2021-10-18T12:03:47.352Z] 8603b9c90790: Waiting [2021-10-18T12:03:47.641Z] f757da607395: Verifying Checksum [2021-10-18T12:03:47.641Z] f757da607395: Download complete [2021-10-18T12:03:47.641Z] 8603b9c90790: Download complete [2021-10-18T12:03:47.641Z] 1560dd03e051: Verifying Checksum [2021-10-18T12:03:47.641Z] 1560dd03e051: Download complete [2021-10-18T12:03:47.920Z] 05883995daec: Verifying Checksum [2021-10-18T12:03:47.920Z] 05883995daec: Download complete [2021-10-18T12:03:47.920Z] 27f5ce0e4adf: Download complete [2021-10-18T12:03:47.920Z] 448f6bf000e3: Verifying Checksum [2021-10-18T12:03:47.920Z] 448f6bf000e3: Download complete [2021-10-18T12:03:50.568Z] c2d8d7efcc4b: Verifying Checksum [2021-10-18T12:03:50.568Z] c2d8d7efcc4b: Download complete [2021-10-18T12:03:51.992Z] 448f6bf000e3: Pull complete [2021-10-18T12:03:52.273Z] f757da607395: Pull complete [2021-10-18T12:03:53.782Z] 05883995daec: Pull complete [2021-10-18T12:03:54.407Z] 8603b9c90790: Pull complete [2021-10-18T12:03:55.427Z] 1560dd03e051: Pull complete [2021-10-18T12:03:55.704Z] 27f5ce0e4adf: Pull complete [2021-10-18T12:04:10.847Z] c2d8d7efcc4b: Pull complete [2021-10-18T12:04:10.848Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-18T12:04:10.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-18T12:04:10.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-18T12:04:11.083Z] prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container [2021-10-18T12:04:11.183Z] $ 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-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-18T12:04:16.083Z] $ docker top c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:04:17.025Z] ---> job-cost.sh [2021-10-18T12:04:17.025Z] lf-activate-venv: SKIPPING [2021-10-18T12:04:17.025Z] INFO: No Stack... [2021-10-18T12:04:21.347Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-18T12:04:21.622Z] INFO: Archiving Costs [Pipeline] sh [2021-10-18T12:04:22.297Z] + cat /w/workspace/device-virtual-go/10/archives/cost.csv [2021-10-18T12:04:22.297Z] + cut -d, -f6 [Pipeline] lock [2021-10-18T12:04:22.364Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [2021-10-18T12:04:22.370Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] did not exist. Created. [2021-10-18T12:04:22.370Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-18T12:04:23.056Z] /w/workspace/device-virtual-go/10@tmp/durable-864bc2b0/script.sh: 1: /w/workspace/device-virtual-go/10@tmp/durable-864bc2b0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-18T12:04:23.731Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-18T12:04:23.752Z] Warning: overwriting stash ‘stack-cost’ [2021-10-18T12:04:23.794Z] Stashed 1 file(s) [Pipeline] } [2021-10-18T12:04:23.800Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-18T12:04:23.824Z] $ docker stop --time=1 c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 [2021-10-18T12:04:25.462Z] $ docker rm -f c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 [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-18T12:04:26.146Z] provisioning config files... [2021-10-18T12:04:26.157Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8507118354341999097tmp [Pipeline] { [Pipeline] sh [2021-10-18T12:04:26.466Z] + set +x [2021-10-18T12:04:26.466Z] + curl -s https://codecov.io/bash [2021-10-18T12:04:26.466Z] + bash -s -- [2021-10-18T12:04:26.466Z] [2021-10-18T12:04:26.466Z] _____ _ [2021-10-18T12:04:26.466Z] / ____| | | [2021-10-18T12:04:26.466Z] | | ___ __| | ___ ___ _____ __ [2021-10-18T12:04:26.466Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-18T12:04:26.466Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-18T12:04:26.466Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-18T12:04:26.466Z] Bash-1.0.6 [2021-10-18T12:04:26.466Z] [2021-10-18T12:04:26.466Z] [2021-10-18T12:04:26.466Z] ==> git version 2.24.4 found [2021-10-18T12:04:26.466Z] ==> 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-18T12:04:26.466Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-18T12:04:26.466Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-18T12:04:26.466Z] ==> Jenkins CI detected. [2021-10-18T12:04:26.466Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2021-10-18T12:04:26.466Z] project root: . [2021-10-18T12:04:26.466Z] --> token set from env [2021-10-18T12:04:26.466Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-18T12:04:26.727Z] ==> Running gcov in . (disable via -X gcov) [2021-10-18T12:04:26.727Z] ==> Python coveragepy not found [2021-10-18T12:04:26.727Z] ==> Searching for coverage reports in: [2021-10-18T12:04:26.727Z] + . [2021-10-18T12:04:26.727Z] -> Found 1 reports [2021-10-18T12:04:26.727Z] ==> Detecting git/mercurial file structure [2021-10-18T12:04:26.727Z] ==> Reading reports [2021-10-18T12:04:26.727Z] + ./coverage.out bytes=46339 [2021-10-18T12:04:26.727Z] ==> Appending adjustments [2021-10-18T12:04:26.727Z] https://docs.codecov.io/docs/fixing-reports [2021-10-18T12:04:26.727Z] + Found adjustments [2021-10-18T12:04:26.727Z] ==> Gzipping contents [2021-10-18T12:04:26.727Z] 8.0K /tmp/codecov.evWjkC.gz [2021-10-18T12:04:26.727Z] ==> Uploading reports [2021-10-18T12:04:26.727Z] url: https://codecov.io [2021-10-18T12:04:26.727Z] query: branch=main&commit=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-18T12:04:26.727Z] -> Pinging Codecov [2021-10-18T12:04:26.727Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-18T12:04:26.988Z] -> Uploading to [2021-10-18T12:04:26.988Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-18/5E52B4B073DB2E39498172D8E973AA87/34dd1625fecf0baa0dbdc776d1b6f66a55cc7584/1bc8fe05-cd26-402c-922b-6adb9c4ebabc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211018T120426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5352dca007a5a75473ae6b839938c3fe127db09c1a7506ee3ae10a502d19589c [2021-10-18T12:04:26.988Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-18T12:04:26.988Z] Dload Upload Total Spent Left Speed [2021-10-18T12:04:27.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5509 0 0 100 5509 0 17137 --:--:-- --:--:-- --:--:-- 17161 [2021-10-18T12:04:27.559Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] } [2021-10-18T12:04:27.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-18T12:04:27.937Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-18T12:04:27.949Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:04:28.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-18T12:04:28.252Z] [2021-10-18T12:04:28.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:04:28.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-18T12:04:28.564Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-18T12:04:28.564Z] 188c0c94c7c5: Pulling fs layer [2021-10-18T12:04:28.564Z] 0ef7d3d256c8: Pulling fs layer [2021-10-18T12:04:28.564Z] de9db76c5a1d: Pulling fs layer [2021-10-18T12:04:28.564Z] 0eba1c9be4d2: Pulling fs layer [2021-10-18T12:04:28.564Z] 0d57e429df01: Pulling fs layer [2021-10-18T12:04:28.564Z] 4e4be7b47b0d: Pulling fs layer [2021-10-18T12:04:28.564Z] e1f770b5df2f: Pulling fs layer [2021-10-18T12:04:28.564Z] 85a0685a4137: Pulling fs layer [2021-10-18T12:04:28.564Z] 0d57e429df01: Waiting [2021-10-18T12:04:28.564Z] 4e4be7b47b0d: Waiting [2021-10-18T12:04:28.564Z] e1f770b5df2f: Waiting [2021-10-18T12:04:28.564Z] 85a0685a4137: Waiting [2021-10-18T12:04:28.564Z] 0eba1c9be4d2: Waiting [2021-10-18T12:04:28.564Z] de9db76c5a1d: Verifying Checksum [2021-10-18T12:04:28.564Z] de9db76c5a1d: Download complete [2021-10-18T12:04:28.564Z] 0ef7d3d256c8: Verifying Checksum [2021-10-18T12:04:28.564Z] 0ef7d3d256c8: Download complete [2021-10-18T12:04:28.564Z] 0d57e429df01: Verifying Checksum [2021-10-18T12:04:28.564Z] 0d57e429df01: Download complete [2021-10-18T12:04:28.564Z] 4e4be7b47b0d: Verifying Checksum [2021-10-18T12:04:28.564Z] 4e4be7b47b0d: Download complete [2021-10-18T12:04:28.564Z] 188c0c94c7c5: Verifying Checksum [2021-10-18T12:04:28.564Z] 188c0c94c7c5: Download complete [2021-10-18T12:04:28.836Z] 188c0c94c7c5: Pull complete [2021-10-18T12:04:29.117Z] e1f770b5df2f: Verifying Checksum [2021-10-18T12:04:29.117Z] e1f770b5df2f: Download complete [2021-10-18T12:04:29.117Z] 0ef7d3d256c8: Pull complete [2021-10-18T12:04:29.385Z] de9db76c5a1d: Pull complete [2021-10-18T12:04:29.385Z] 0eba1c9be4d2: Verifying Checksum [2021-10-18T12:04:29.385Z] 0eba1c9be4d2: Download complete [2021-10-18T12:04:29.652Z] 85a0685a4137: Verifying Checksum [2021-10-18T12:04:29.652Z] 85a0685a4137: Download complete [2021-10-18T12:04:32.991Z] 0eba1c9be4d2: Pull complete [2021-10-18T12:04:33.250Z] 0d57e429df01: Pull complete [2021-10-18T12:04:33.250Z] 4e4be7b47b0d: Pull complete [2021-10-18T12:04:33.515Z] e1f770b5df2f: Pull complete [2021-10-18T12:04:40.123Z] 85a0685a4137: Pull complete [2021-10-18T12:04:40.123Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-18T12:04:40.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-18T12:04:40.123Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-18T12:04:40.195Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:04:40.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:04:40.924Z] $ docker top c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-18T12:04:40.997Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-18T12:04:41.296Z] + set -o pipefail [2021-10-18T12:04:41.296Z] + snyk monitor '--org=edgex-jenkins' [2021-10-18T12:04:46.616Z] [2021-10-18T12:04:46.616Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2021-10-18T12:04:46.616Z] [2021-10-18T12:04:46.616Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9cae8669-14f2-4c02-89ce-786796097ca4 [2021-10-18T12:04:46.616Z] [2021-10-18T12:04:46.616Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-18T12:04:46.616Z] [2021-10-18T12:04:46.616Z] [Pipeline] } [2021-10-18T12:04:46.626Z] $ docker stop --time=1 c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b [2021-10-18T12:04:48.435Z] $ docker rm -f c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-18T12:04:50.286Z] + git log --format=format:%s -1 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:04:50.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T12:04:50.586Z] . [Pipeline] withDockerContainer [2021-10-18T12:04:50.648Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:04:50.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:04:51.078Z] $ docker top 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-18T12:04:51.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-18T12:04:51.173Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-18T12:04:51.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-18T12:04:51.284Z] $ docker exec 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e ssh-agent [2021-10-18T12:04:51.386Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHfNbCI/agent.13 [2021-10-18T12:04:51.386Z] SSH_AGENT_PID=20 [2021-10-18T12:04:51.390Z] Running ssh-add (command line suppressed) [2021-10-18T12:04:51.477Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5760712679296346193.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5760712679296346193.key) [2021-10-18T12:04:51.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-18T12:04:51.779Z] + git semver tag [2021-10-18T12:04:51.779Z] # -> Open(): unable to determine branch for HEAD [2021-10-18T12:04:51.779Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-10-18T12:04:51.779Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-10-18T12:04:51.779Z] # $SEMVER_REMOTE_NAME = origin [2021-10-18T12:04:51.779Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-18T12:04:51.779Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-18T12:04:51.779Z] # $SEMVER_BRANCH = main [2021-10-18T12:04:51.779Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2021-10-18T12:04:51.779Z] # 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 HEAD [2021-10-18T12:04:51.779Z] # -> Force: false [2021-10-18T12:04:51.779Z] # d6fa3e13b7fb89eeae03fb601928f6a7570e9942 refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-10-18T12:04:51.789Z] $ docker exec --env ******** --env ******** 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e ssh-agent -k [2021-10-18T12:04:51.910Z] unset SSH_AUTH_SOCK; [2021-10-18T12:04:51.911Z] unset SSH_AGENT_PID; [2021-10-18T12:04:51.912Z] echo Agent pid 20 killed; [2021-10-18T12:04:51.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-18T12:04:52.230Z] + git semver [Pipeline] } [2021-10-18T12:04:52.244Z] $ docker stop --time=1 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e [2021-10-18T12:04:53.439Z] $ docker rm -f 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:04:53.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-18T12:04:53.825Z] [2021-10-18T12:04:53.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:04:54.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-18T12:04:54.134Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-18T12:04:54.134Z] ab5ef0e58194: Pulling fs layer [2021-10-18T12:04:54.134Z] 9712f1f96733: Pulling fs layer [2021-10-18T12:04:54.134Z] 63f879dbbcfc: Pulling fs layer [2021-10-18T12:04:54.134Z] 0d9ebad4ef96: Pulling fs layer [2021-10-18T12:04:54.134Z] e9a5061849ea: Pulling fs layer [2021-10-18T12:04:54.134Z] d747dcd14b5f: Pulling fs layer [2021-10-18T12:04:54.134Z] 2de7ff778b66: Pulling fs layer [2021-10-18T12:04:54.134Z] 0d9ebad4ef96: Waiting [2021-10-18T12:04:54.134Z] e9a5061849ea: Waiting [2021-10-18T12:04:54.134Z] d747dcd14b5f: Waiting [2021-10-18T12:04:54.134Z] 2de7ff778b66: Waiting [2021-10-18T12:04:54.134Z] 9712f1f96733: Verifying Checksum [2021-10-18T12:04:54.134Z] 9712f1f96733: Download complete [2021-10-18T12:04:54.405Z] 63f879dbbcfc: Verifying Checksum [2021-10-18T12:04:54.405Z] 63f879dbbcfc: Download complete [2021-10-18T12:04:54.667Z] 0d9ebad4ef96: Verifying Checksum [2021-10-18T12:04:54.667Z] 0d9ebad4ef96: Download complete [2021-10-18T12:04:54.667Z] d747dcd14b5f: Verifying Checksum [2021-10-18T12:04:54.667Z] d747dcd14b5f: Download complete [2021-10-18T12:04:54.667Z] e9a5061849ea: Verifying Checksum [2021-10-18T12:04:54.667Z] e9a5061849ea: Download complete [2021-10-18T12:04:54.667Z] ab5ef0e58194: Verifying Checksum [2021-10-18T12:04:54.667Z] ab5ef0e58194: Download complete [2021-10-18T12:04:54.934Z] 2de7ff778b66: Verifying Checksum [2021-10-18T12:04:54.934Z] 2de7ff778b66: Download complete [2021-10-18T12:04:58.262Z] ab5ef0e58194: Pull complete [2021-10-18T12:04:58.262Z] 9712f1f96733: Pull complete [2021-10-18T12:04:58.530Z] 63f879dbbcfc: Pull complete [2021-10-18T12:05:02.751Z] 0d9ebad4ef96: Pull complete [2021-10-18T12:05:02.751Z] e9a5061849ea: Pull complete [2021-10-18T12:05:02.751Z] d747dcd14b5f: Pull complete [2021-10-18T12:05:04.135Z] 2de7ff778b66: Pull complete [2021-10-18T12:05:04.135Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-18T12:05:04.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-18T12:05:04.135Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-18T12:05:04.207Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:05:04.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:05:07.786Z] $ docker top 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-18T12:05:07.865Z] provisioning config files... [2021-10-18T12:05:07.874Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4670529270937020075tmp [2021-10-18T12:05:07.886Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5529085001353595230tmp [2021-10-18T12:05:07.903Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5883380383716642175tmp [Pipeline] { [Pipeline] echo [2021-10-18T12:05:07.921Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:08.224Z] ---> sigul-configuration.sh [2021-10-18T12:05:08.224Z] gpg: directory `/root/.gnupg' created [2021-10-18T12:05:08.224Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-18T12:05:08.224Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-18T12:05:08.224Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-18T12:05:08.224Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-18T12:05:08.224Z] gpg: CAST5 encrypted data [2021-10-18T12:05:08.224Z] gpg: encrypted with 1 passphrase [2021-10-18T12:05:08.224Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-18T12:05:08.527Z] + mkdir /home/jenkins [2021-10-18T12:05:08.528Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-18T12:05:08.819Z] + 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-18T12:05:08.831Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:09.125Z] ---> sigul-install.sh [2021-10-18T12:05:09.125Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-18T12:05:09.418Z] + git tag --list [2021-10-18T12:05:09.418Z] v1.0.0 [2021-10-18T12:05:09.418Z] v1.1.0 [2021-10-18T12:05:09.418Z] v1.1.1 [2021-10-18T12:05:09.418Z] v1.2.1 [2021-10-18T12:05:09.418Z] v1.2.2 [2021-10-18T12:05:09.418Z] v1.2.3 [2021-10-18T12:05:09.418Z] v1.3.0 [2021-10-18T12:05:09.418Z] v1.3.1 [2021-10-18T12:05:09.418Z] v2.0.0 [2021-10-18T12:05:09.418Z] v2.0.1-dev.1 [2021-10-18T12:05:09.418Z] v2.0.1-dev.2 [2021-10-18T12:05:09.418Z] v2.0.1-dev.3 [2021-10-18T12:05:09.418Z] v2.0.1-dev.4 [2021-10-18T12:05:09.418Z] v2.0.1-dev.5 [2021-10-18T12:05:09.418Z] v2.0.1-dev.6 [2021-10-18T12:05:09.418Z] v2.0.1-dev.7 [2021-10-18T12:05:09.418Z] v2.0.1-dev.8 [2021-10-18T12:05:09.418Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-18T12:05:09.712Z] + lftools sign git-tag v2.0.1-dev.9 [2021-10-18T12:05:10.284Z] Signing Git tag with Sigul... [2021-10-18T12:05:10.284Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-10-18T12:05:11.233Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:11.520Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-18T12:05:11.529Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-18T12:05:11.547Z] $ docker stop --time=1 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f [2021-10-18T12:05:12.749Z] $ docker rm -f 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:05:13.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T12:05:13.397Z] . [Pipeline] withDockerContainer [2021-10-18T12:05:13.457Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:05:13.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:05:13.852Z] $ docker top b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-18T12:05:13.936Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-18T12:05:13.936Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-18T12:05:14.041Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-18T12:05:14.044Z] $ docker exec b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a ssh-agent [2021-10-18T12:05:14.152Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbMpLBD/agent.13 [2021-10-18T12:05:14.152Z] SSH_AGENT_PID=19 [2021-10-18T12:05:14.156Z] Running ssh-add (command line suppressed) [2021-10-18T12:05:14.259Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3243340898141298786.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3243340898141298786.key) [2021-10-18T12:05:14.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-18T12:05:14.569Z] + git semver bump pre [2021-10-18T12:05:14.569Z] # -> Open(): unable to determine branch for HEAD [2021-10-18T12:05:14.569Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-10-18T12:05:14.569Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-10-18T12:05:14.569Z] # $SEMVER_REMOTE_NAME = origin [2021-10-18T12:05:14.569Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-18T12:05:14.569Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-18T12:05:14.569Z] # $SEMVER_BRANCH = main [2021-10-18T12:05:14.569Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2021-10-18T12:05:14.569Z] 2.0.1-dev.10 [Pipeline] } [2021-10-18T12:05:14.581Z] $ docker exec --env ******** --env ******** b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a ssh-agent -k [2021-10-18T12:05:14.689Z] unset SSH_AUTH_SOCK; [2021-10-18T12:05:14.689Z] unset SSH_AGENT_PID; [2021-10-18T12:05:14.689Z] echo Agent pid 19 killed; [2021-10-18T12:05:14.695Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-18T12:05:15.005Z] + git semver [Pipeline] } [2021-10-18T12:05:15.027Z] $ docker stop --time=1 b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a [2021-10-18T12:05:16.214Z] $ docker rm -f b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:05:16.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-18T12:05:16.556Z] . [Pipeline] withDockerContainer [2021-10-18T12:05:16.619Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:05:16.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:05:17.007Z] $ docker top af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-18T12:05:17.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-18T12:05:17.095Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-18T12:05:17.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-18T12:05:17.209Z] $ docker exec af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 ssh-agent [2021-10-18T12:05:17.315Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXacMIgo/agent.14 [2021-10-18T12:05:17.315Z] SSH_AGENT_PID=21 [2021-10-18T12:05:17.321Z] Running ssh-add (command line suppressed) [2021-10-18T12:05:17.423Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3360046487439828599.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3360046487439828599.key) [2021-10-18T12:05:17.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-18T12:05:17.776Z] + git semver push [2021-10-18T12:05:17.776Z] # -> Open(): unable to determine branch for HEAD [2021-10-18T12:05:17.776Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2021-10-18T12:05:17.776Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2021-10-18T12:05:17.776Z] # $SEMVER_REMOTE_NAME = origin [2021-10-18T12:05:17.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-18T12:05:17.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-18T12:05:17.776Z] # $SEMVER_BRANCH = main [2021-10-18T12:05:17.776Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2021-10-18T12:05:19.697Z] $ docker exec --env ******** --env ******** af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 ssh-agent -k [2021-10-18T12:05:19.783Z] unset SSH_AUTH_SOCK; [2021-10-18T12:05:19.783Z] unset SSH_AGENT_PID; [2021-10-18T12:05:19.783Z] echo Agent pid 21 killed; [2021-10-18T12:05:19.792Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-18T12:05:20.087Z] + git semver [Pipeline] } [2021-10-18T12:05:20.109Z] $ docker stop --time=1 af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 [2021-10-18T12:05:21.284Z] $ docker rm -f af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 [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-18T12:05:22.141Z] + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:22.442Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:22.998Z] ---> package-listing.sh [2021-10-18T12:05:22.998Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-18T12:05:22.998Z] ++ facter osfamily [2021-10-18T12:05:23.258Z] + OS_FAMILY=redhat [2021-10-18T12:05:23.258Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2021-10-18T12:05:23.258Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-18T12:05:23.258Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-18T12:05:23.258Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-18T12:05:23.258Z] + PACKAGES=/tmp/packages_start.txt [2021-10-18T12:05:23.258Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2021-10-18T12:05:23.258Z] + PACKAGES=/tmp/packages_end.txt [2021-10-18T12:05:23.258Z] + case "${OS_FAMILY}" in [2021-10-18T12:05:23.258Z] + sort [2021-10-18T12:05:23.259Z] + rpm -qa [2021-10-18T12:05:23.829Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-18T12:05:23.830Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-18T12:05:23.830Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-18T12:05:23.830Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2021-10-18T12:05:23.830Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2021-10-18T12:05:23.830Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2021-10-18T12:05:23.842Z] 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/exfoundry_device-virtual-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-18T12:05:24.126Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:05:24.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T12:05:24.679Z] [2021-10-18T12:05:24.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-18T12:05:24.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T12:05:24.990Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-18T12:05:24.990Z] b4d181a07f80: Pulling fs layer [2021-10-18T12:05:24.990Z] a1111a8f2ec3: Pulling fs layer [2021-10-18T12:05:24.990Z] ed53099fbce6: Pulling fs layer [2021-10-18T12:05:24.990Z] dc539afda2c1: Pulling fs layer [2021-10-18T12:05:24.990Z] 77bc0d833cb6: Pulling fs layer [2021-10-18T12:05:24.990Z] 9065ff56babe: Pulling fs layer [2021-10-18T12:05:24.990Z] d287ab97295c: Pulling fs layer [2021-10-18T12:05:24.990Z] dc539afda2c1: Waiting [2021-10-18T12:05:24.990Z] 77bc0d833cb6: Waiting [2021-10-18T12:05:24.990Z] 9065ff56babe: Waiting [2021-10-18T12:05:24.990Z] d287ab97295c: Waiting [2021-10-18T12:05:24.990Z] a1111a8f2ec3: Verifying Checksum [2021-10-18T12:05:24.990Z] a1111a8f2ec3: Download complete [2021-10-18T12:05:24.990Z] dc539afda2c1: Verifying Checksum [2021-10-18T12:05:24.990Z] dc539afda2c1: Download complete [2021-10-18T12:05:25.256Z] ed53099fbce6: Verifying Checksum [2021-10-18T12:05:25.256Z] ed53099fbce6: Download complete [2021-10-18T12:05:25.257Z] 77bc0d833cb6: Verifying Checksum [2021-10-18T12:05:25.257Z] 77bc0d833cb6: Download complete [2021-10-18T12:05:25.257Z] 9065ff56babe: Verifying Checksum [2021-10-18T12:05:25.257Z] 9065ff56babe: Download complete [2021-10-18T12:05:25.257Z] b4d181a07f80: Verifying Checksum [2021-10-18T12:05:25.257Z] b4d181a07f80: Download complete [2021-10-18T12:05:25.837Z] d287ab97295c: Verifying Checksum [2021-10-18T12:05:25.837Z] d287ab97295c: Download complete [2021-10-18T12:05:26.800Z] b4d181a07f80: Pull complete [2021-10-18T12:05:26.800Z] a1111a8f2ec3: Pull complete [2021-10-18T12:05:27.758Z] ed53099fbce6: Pull complete [2021-10-18T12:05:27.758Z] dc539afda2c1: Pull complete [2021-10-18T12:05:28.023Z] 77bc0d833cb6: Pull complete [2021-10-18T12:05:28.023Z] 9065ff56babe: Pull complete [2021-10-18T12:05:34.676Z] d287ab97295c: Pull complete [2021-10-18T12:05:34.676Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-18T12:05:34.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-18T12:05:34.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-18T12:05:34.742Z] prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container [2021-10-18T12:05:34.779Z] $ 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/exfoundry_device-virtual-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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-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-18T12:05:37.357Z] $ docker top 8700c8e310605af315f3dd7d1e833d71c325f5067d71da1a22f18055770052ac -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-18T12:05:37.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-18T12:05:38.018Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-18T12:05:38.306Z] + ls /var/log/sa-host [2021-10-18T12:05:38.306Z] + sadf -c /var/log/sa-host/sa18 [2021-10-18T12:05:38.306Z] file_magic: OK [2021-10-18T12:05:38.306Z] HZ: Using current value: 100 [2021-10-18T12:05:38.306Z] file_header: OK [2021-10-18T12:05:38.306Z] 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-18T12:05:38.306Z] Statistics: [2021-10-18T12:05:38.306Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-18T12:05:38.306Z] File successfully converted to sysstat format version 12.0.3 [2021-10-18T12:05:38.306Z] + sadf -c /var/log/sa-host/sa30 [2021-10-18T12:05:38.306Z] file_magic: OK [2021-10-18T12:05:38.306Z] HZ: Using current value: 100 [2021-10-18T12:05:38.306Z] file_header: OK [2021-10-18T12:05:38.306Z] 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-18T12:05:38.306Z] Statistics: [2021-10-18T12:05:38.306Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-18T12:05:38.306Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-18T12:05:39.437Z] provisioning config files... [2021-10-18T12:05:39.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1731881239118084971tmp [Pipeline] { [Pipeline] echo [2021-10-18T12:05:39.458Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:39.743Z] ---> create-netrc.sh [Pipeline] } [2021-10-18T12:05:39.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:40.101Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-18T12:05:40.111Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:40.398Z] ---> sudo-logs.sh [2021-10-18T12:05:40.398Z] Archiving 'sudo' log.. [2021-10-18T12:05:40.398Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2165.novalocal: Name or service not known [2021-10-18T12:05:40.398Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2165.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-18T12:05:40.418Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:40.706Z] ---> job-cost.sh [2021-10-18T12:05:40.706Z] lf-activate-venv: SKIPPING [2021-10-18T12:05:40.706Z] DEBUG: total: 0.10999999940395355 [2021-10-18T12:05:40.706Z] INFO: Retrieving Stack Cost... [2021-10-18T12:05:43.244Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-18T12:05:43.504Z] INFO: Archiving Costs [Pipeline] echo [2021-10-18T12:05:43.517Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-18T12:05:43.812Z] ---> logs-deploy.sh [2021-10-18T12:05:43.812Z] lf-activate-venv: SKIPPING [2021-10-18T12:05:43.812Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/10 [2021-10-18T12:05:43.812Z] INFO: archiving workspace using pattern(s): [2021-10-18T12:05:44.384Z] Archives upload complete. [2021-10-18T12:05:44.643Z] INFO: archiving logs to Nexus