Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 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-ssh1452741056772410111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh7254488312485471886.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-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-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh283206463444690105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh7447447554189804539.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-snmp-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-snmp-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5382858501306945766.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-snmp-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-snmp-go-settings PROJECT: device-snmp-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-snmp 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2303 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/edgexfoundry_device-snmp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-snmp-go_main@tmp/jenkins-gitclient-ssh4919638812463079107.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8bb32805f03fb28af25e69a0648a2076882556f1 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 Commit message: "Merge pull request #125 from ernestojeda/changes-for-lts-builds" > git rev-list --no-walk f16ceff9f536cf3ae49d9bb0b76bd101657b2f44 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-07T03:32:37.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-07T03:32:37.844Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-07T03:32:37.870Z] ========================================================= [2021-10-07T03:32:37.870Z] EdgeX Global Pipelines Version Info [2021-10-07T03:32:37.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:32:39.141Z] ------------------- [2021-10-07T03:32:39.141Z] stable info: [2021-10-07T03:32:39.141Z] ------------------- [2021-10-07T03:32:39.141Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-07T03:32:39.141Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T03:32:39.141Z] Message: update stable to v1.0.207 [2021-10-07T03:32:39.729Z] ------------------- [2021-10-07T03:32:39.729Z] experimental info: [2021-10-07T03:32:39.729Z] ------------------- [2021-10-07T03:32:39.729Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-07T03:32:39.729Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T03:32:39.729Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T03:32:39.864Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-10-07T03:32:39.896Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-10-07T03:32:39.928Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-07T03:32:39.957Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-07T03:32:39.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-07T03:32:40.006Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-07T03:32:40.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-07T03:32:40.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-07T03:32:40.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-07T03:32:40.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-07T03:32:40.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-07T03:32:40.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-10-07T03:32:40.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-07T03:32:40.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-07T03:32:40.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T03:32:40.252Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T03:32:40.276Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T03:32:40.299Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T03:32:40.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-07T03:32:40.348Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-07T03:32:40.371Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-07T03:32:40.395Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-07T03:32:40.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-07T03:32:40.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-07T03:32:40.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-07T03:32:40.490Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-07T03:32:40.515Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-07T03:32:40.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-07T03:32:40.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-07T03:32:40.607Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bb32805f03fb28af25e69a0648a2076882556f1 [Pipeline] echo [2021-10-07T03:32:40.632Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bb3280 [Pipeline] echo [2021-10-07T03:32:40.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T03:32:40.732Z] provisioning config files... [2021-10-07T03:32:40.752Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7644360239584927063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:32:41.112Z] ---> docker-login.sh [2021-10-07T03:32:41.112Z] nexus3.edgexfoundry.org:10001 [2021-10-07T03:32:41.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:32:41.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:32:41.389Z] Configure a credential helper to remove this warning. See [2021-10-07T03:32:41.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:32:41.389Z] [2021-10-07T03:32:41.389Z] Login Succeeded [2021-10-07T03:32:41.389Z] nexus3.edgexfoundry.org:10002 [2021-10-07T03:32:41.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:32:41.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:32:41.389Z] Configure a credential helper to remove this warning. See [2021-10-07T03:32:41.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:32:41.389Z] [2021-10-07T03:32:41.389Z] Login Succeeded [2021-10-07T03:32:41.389Z] nexus3.edgexfoundry.org:10003 [2021-10-07T03:32:41.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:32:41.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:32:41.656Z] Configure a credential helper to remove this warning. See [2021-10-07T03:32:41.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:32:41.656Z] [2021-10-07T03:32:41.656Z] Login Succeeded [2021-10-07T03:32:41.656Z] nexus3.edgexfoundry.org:10004 [2021-10-07T03:32:41.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:32:41.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:32:41.928Z] Configure a credential helper to remove this warning. See [2021-10-07T03:32:41.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:32:41.928Z] [2021-10-07T03:32:41.928Z] Login Succeeded [2021-10-07T03:32:41.928Z] docker.io [2021-10-07T03:32:41.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:32:42.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:32:42.199Z] Configure a credential helper to remove this warning. See [2021-10-07T03:32:42.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:32:42.199Z] [2021-10-07T03:32:42.199Z] Login Succeeded [2021-10-07T03:32:42.199Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T03:32:42.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-07T03:32:42.716Z] + git log --format=format:%s -1 8bb32805f03fb28af25e69a0648a2076882556f1 [Pipeline] echo [2021-10-07T03:32:42.778Z] GIT_COMMIT: 8bb32805f03fb28af25e69a0648a2076882556f1, Commit Message: Merge pull request #125 from ernestojeda/changes-for-lts-builds [Pipeline] echo [2021-10-07T03:32:42.792Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:32:43.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T03:32:43.376Z] [2021-10-07T03:32:43.376Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:32:43.706Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T03:32:43.706Z] latest: Pulling from edgex-devops/git-semver [2021-10-07T03:32:43.706Z] 31603596830f: Pulling fs layer [2021-10-07T03:32:43.706Z] 04fac38145f0: Pulling fs layer [2021-10-07T03:32:43.706Z] 701f6daf10bf: Pulling fs layer [2021-10-07T03:32:43.706Z] 24f72da36158: Pulling fs layer [2021-10-07T03:32:43.706Z] 24f72da36158: Waiting [2021-10-07T03:32:43.706Z] 04fac38145f0: Verifying Checksum [2021-10-07T03:32:43.706Z] 04fac38145f0: Download complete [2021-10-07T03:32:43.973Z] 31603596830f: Verifying Checksum [2021-10-07T03:32:43.973Z] 31603596830f: Download complete [2021-10-07T03:32:43.973Z] 701f6daf10bf: Verifying Checksum [2021-10-07T03:32:43.973Z] 701f6daf10bf: Download complete [2021-10-07T03:32:43.973Z] 31603596830f: Pull complete [2021-10-07T03:32:43.973Z] 24f72da36158: Verifying Checksum [2021-10-07T03:32:43.973Z] 24f72da36158: Download complete [2021-10-07T03:32:44.249Z] 04fac38145f0: Pull complete [2021-10-07T03:32:44.845Z] 701f6daf10bf: Pull complete [2021-10-07T03:32:44.845Z] 24f72da36158: Pull complete [2021-10-07T03:32:44.845Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-07T03:32:44.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T03:32:44.845Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-07T03:32:44.992Z] prd-centos7-docker-4c-2g-2303 does not seem to be running inside a container [2021-10-07T03:32:45.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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-07T03:32:45.767Z] $ docker top 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T03:32:45.913Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T03:32:45.913Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T03:32:46.065Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T03:32:46.066Z] $ docker exec 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 ssh-agent [2021-10-07T03:32:46.213Z] SSH_AUTH_SOCK=/tmp/ssh-k5OeLEEH0png/agent.14 [2021-10-07T03:32:46.213Z] SSH_AGENT_PID=20 [2021-10-07T03:32:46.225Z] Running ssh-add (command line suppressed) [2021-10-07T03:32:46.356Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7279245677329740491.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7279245677329740491.key) [2021-10-07T03:32:46.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T03:32:46.698Z] + git tag --points-at HEAD [Pipeline] } [2021-10-07T03:32:46.721Z] $ docker exec --env ******** --env ******** 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 ssh-agent -k [2021-10-07T03:32:46.854Z] unset SSH_AUTH_SOCK; [2021-10-07T03:32:46.854Z] unset SSH_AGENT_PID; [2021-10-07T03:32:46.854Z] echo Agent pid 20 killed; [2021-10-07T03:32:46.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-07T03:32:46.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T03:32:46.934Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T03:32:47.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T03:32:47.079Z] $ docker exec 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 ssh-agent [2021-10-07T03:32:47.216Z] SSH_AUTH_SOCK=/tmp/ssh-oPVKoQbe5DZT/agent.53 [2021-10-07T03:32:47.216Z] SSH_AGENT_PID=59 [2021-10-07T03:32:47.226Z] Running ssh-add (command line suppressed) [2021-10-07T03:32:47.351Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4847052762845853246.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4847052762845853246.key) [2021-10-07T03:32:47.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T03:32:47.718Z] + git semver init [2021-10-07T03:32:47.718Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T03:32:47.718Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-10-07T03:32:47.718Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-10-07T03:32:47.718Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T03:32:47.718Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T03:32:47.718Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T03:32:47.718Z] # $SEMVER_BRANCH = main [2021-10-07T03:32:47.718Z] # $SEMVER_TEMP = /tmp/semver-830693768 [2021-10-07T03:32:47.718Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-10-07T03:32:48.341Z] # '/tmp/semver-830693768' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-10-07T03:32:48.341Z] # -> Force: false [2021-10-07T03:32:48.341Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-10-07T03:32:48.366Z] $ docker exec --env ******** --env ******** 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 ssh-agent -k [2021-10-07T03:32:48.470Z] unset SSH_AUTH_SOCK; [2021-10-07T03:32:48.470Z] unset SSH_AGENT_PID; [2021-10-07T03:32:48.470Z] echo Agent pid 59 killed; [2021-10-07T03:32:48.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T03:32:48.866Z] + git semver [Pipeline] } [2021-10-07T03:32:48.889Z] $ docker stop --time=1 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 [2021-10-07T03:32:50.119Z] $ docker rm -f 5d628a68271d47b01e5d246c5ea13b3e9c08e9fe0755a62a60c3e6bfcfa07f58 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T03:32:50.520Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-07T03:32:51.076Z] Stashed 1 file(s) [Pipeline] echo [2021-10-07T03:32:51.079Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [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-07T03:33:06.292Z] Still waiting to schedule task [2021-10-07T03:33:06.292Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-07T03:33:06.295Z] Still waiting to schedule task [2021-10-07T03:33:06.295Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2298’ is offline [2021-10-07T03:33:28.840Z] Running on prd-centos7-docker-4c-2g-2307 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-10-07T03:33:28.862Z] Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout [2021-10-07T03:33:28.974Z] Selected Git installation does not exist. Using Default [2021-10-07T03:33:28.974Z] The recommended git tool is: NONE [2021-10-07T03:33:31.704Z] using credential edgex-jenkins-ssh [2021-10-07T03:33:31.723Z] Cloning the remote Git repository [2021-10-07T03:33:31.760Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-07T03:33:31.826Z] > git init /w/workspace/device-snmp-go/7 # timeout=10 [2021-10-07T03:33:31.888Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-07T03:33:31.889Z] > git --version # timeout=10 [2021-10-07T03:33:31.903Z] > git --version # 'git version 2.24.4' [2021-10-07T03:33:31.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T03:33:31.927Z] [INFO] Currently running in a labeled security context [2021-10-07T03:33:31.927Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T03:33:31.927Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/7@tmp/jenkins-gitclient-ssh5044163803814566260.key [2021-10-07T03:33:31.938Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T03:33:32.535Z] Avoid second fetch [2021-10-07T03:33:32.535Z] Checking out Revision 8bb32805f03fb28af25e69a0648a2076882556f1 (main) [2021-10-07T03:33:32.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-07T03:33:32.522Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T03:33:32.542Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T03:33:32.552Z] > git checkout -f 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-07T03:33:36.318Z] Commit message: "Merge pull request #125 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T03:33:36.684Z] provisioning config files... [2021-10-07T03:33:36.704Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config3859256878687530221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:33:37.132Z] ---> docker-login.sh [2021-10-07T03:33:37.132Z] nexus3.edgexfoundry.org:10001 [2021-10-07T03:33:37.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:33:37.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:33:37.400Z] Configure a credential helper to remove this warning. See [2021-10-07T03:33:37.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:33:37.400Z] [2021-10-07T03:33:37.400Z] Login Succeeded [2021-10-07T03:33:37.400Z] nexus3.edgexfoundry.org:10002 [2021-10-07T03:33:37.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:33:37.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:33:37.400Z] Configure a credential helper to remove this warning. See [2021-10-07T03:33:37.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:33:37.400Z] [2021-10-07T03:33:37.400Z] Login Succeeded [2021-10-07T03:33:37.400Z] nexus3.edgexfoundry.org:10003 [2021-10-07T03:33:37.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:33:42.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:33:42.740Z] Configure a credential helper to remove this warning. See [2021-10-07T03:33:42.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:33:42.740Z] [2021-10-07T03:33:42.740Z] Login Succeeded [2021-10-07T03:33:42.740Z] nexus3.edgexfoundry.org:10004 [2021-10-07T03:33:42.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:33:42.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:33:42.740Z] Configure a credential helper to remove this warning. See [2021-10-07T03:33:42.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:33:42.740Z] [2021-10-07T03:33:42.740Z] Login Succeeded [2021-10-07T03:33:42.740Z] docker.io [2021-10-07T03:33:42.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:33:43.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:33:43.323Z] Configure a credential helper to remove this warning. See [2021-10-07T03:33:43.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:33:43.323Z] [2021-10-07T03:33:43.323Z] Login Succeeded [2021-10-07T03:33:43.323Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T03:33:43.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T03:33:43.583Z] ========================================================= [2021-10-07T03:33:43.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-07T03:33:43.583Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:33:43.925Z] + 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-07T03:33:43.926Z] Sending build context to Docker daemon 386kB [2021-10-07T03:33:43.926Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T03:33:43.926Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-07T03:33:43.926Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-07T03:33:43.926Z] 4e9f2cdf4387: Pulling fs layer [2021-10-07T03:33:43.926Z] 57d31006c564: Pulling fs layer [2021-10-07T03:33:43.926Z] bd5ccded8296: Pulling fs layer [2021-10-07T03:33:43.926Z] 304dd3a0f381: Pulling fs layer [2021-10-07T03:33:43.926Z] d37cda54a23b: Pulling fs layer [2021-10-07T03:33:43.926Z] bae75c0f2455: Pulling fs layer [2021-10-07T03:33:43.926Z] 806579b3d29a: Pulling fs layer [2021-10-07T03:33:43.926Z] c77eb801bf70: Pulling fs layer [2021-10-07T03:33:43.926Z] 6d0567d44e1a: Pulling fs layer [2021-10-07T03:33:43.926Z] d37cda54a23b: Waiting [2021-10-07T03:33:43.926Z] bae75c0f2455: Waiting [2021-10-07T03:33:43.926Z] 806579b3d29a: Waiting [2021-10-07T03:33:43.926Z] c77eb801bf70: Waiting [2021-10-07T03:33:43.926Z] 6d0567d44e1a: Waiting [2021-10-07T03:33:43.926Z] 304dd3a0f381: Waiting [2021-10-07T03:33:43.926Z] bd5ccded8296: Verifying Checksum [2021-10-07T03:33:43.926Z] bd5ccded8296: Download complete [2021-10-07T03:33:44.191Z] 57d31006c564: Verifying Checksum [2021-10-07T03:33:44.191Z] 57d31006c564: Download complete [2021-10-07T03:33:44.191Z] d37cda54a23b: Verifying Checksum [2021-10-07T03:33:44.191Z] d37cda54a23b: Download complete [2021-10-07T03:33:44.191Z] bae75c0f2455: Verifying Checksum [2021-10-07T03:33:44.191Z] bae75c0f2455: Download complete [2021-10-07T03:33:44.191Z] 4e9f2cdf4387: Verifying Checksum [2021-10-07T03:33:44.191Z] 4e9f2cdf4387: Download complete [2021-10-07T03:33:44.191Z] 806579b3d29a: Verifying Checksum [2021-10-07T03:33:44.191Z] 806579b3d29a: Download complete [2021-10-07T03:33:44.191Z] 4e9f2cdf4387: Pull complete [2021-10-07T03:33:44.466Z] 57d31006c564: Pull complete [2021-10-07T03:33:44.466Z] bd5ccded8296: Pull complete [2021-10-07T03:33:44.731Z] c77eb801bf70: Verifying Checksum [2021-10-07T03:33:44.731Z] c77eb801bf70: Download complete [2021-10-07T03:33:44.996Z] 304dd3a0f381: Verifying Checksum [2021-10-07T03:33:44.996Z] 304dd3a0f381: Download complete [2021-10-07T03:33:45.978Z] 6d0567d44e1a: Verifying Checksum [2021-10-07T03:33:45.978Z] 6d0567d44e1a: Download complete [2021-10-07T03:33:49.366Z] 304dd3a0f381: Pull complete [2021-10-07T03:33:49.366Z] d37cda54a23b: Pull complete [2021-10-07T03:33:49.366Z] bae75c0f2455: Pull complete [2021-10-07T03:33:49.366Z] 806579b3d29a: Pull complete [2021-10-07T03:33:49.366Z] c77eb801bf70: Pull complete [2021-10-07T03:33:51.966Z] 6d0567d44e1a: Pull complete [2021-10-07T03:33:51.966Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-07T03:33:51.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-07T03:33:51.966Z] ---> e839a31ac9d1 [2021-10-07T03:33:51.966Z] Step 3/11 : ARG MAKE='make build' [2021-10-07T03:33:53.916Z] ---> Running in 93a1ca8aafc6 [2021-10-07T03:33:53.916Z] Removing intermediate container 93a1ca8aafc6 [2021-10-07T03:33:53.916Z] ---> df2e398f9998 [2021-10-07T03:33:53.916Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T03:33:53.916Z] ---> Running in c16cdc4b964c [2021-10-07T03:33:53.916Z] Removing intermediate container c16cdc4b964c [2021-10-07T03:33:53.916Z] ---> e166572f444a [2021-10-07T03:33:53.916Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T03:33:53.916Z] ---> Running in d3303dcb4c2e [2021-10-07T03:33:53.916Z] Removing intermediate container d3303dcb4c2e [2021-10-07T03:33:53.916Z] ---> c96f8e36045c [2021-10-07T03:33:53.916Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T03:33:54.184Z] ---> Running in 4ffcd8002e86 [2021-10-07T03:33:54.452Z] Removing intermediate container 4ffcd8002e86 [2021-10-07T03:33:54.452Z] ---> 58a733c95009 [2021-10-07T03:33:54.452Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T03:33:54.722Z] ---> Running in 27dee9dd6dcc [2021-10-07T03:33:54.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T03:33:55.953Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T03:33:55.953Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-07T03:33:56.219Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-07T03:33:56.219Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-07T03:33:56.485Z] Executing busybox-1.32.1-r6.trigger [2021-10-07T03:33:56.485Z] OK: 223 MiB in 55 packages [2021-10-07T03:33:56.755Z] Removing intermediate container 27dee9dd6dcc [2021-10-07T03:33:56.755Z] ---> 5a5c65bb01d5 [2021-10-07T03:33:56.755Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-07T03:33:56.755Z] ---> Running in a032247817e4 [2021-10-07T03:33:56.755Z] Removing intermediate container a032247817e4 [2021-10-07T03:33:56.755Z] ---> 6c9553ac9ba4 [2021-10-07T03:33:56.755Z] Step 9/11 : COPY . . [2021-10-07T03:33:57.023Z] ---> 2281c8d2ca5a [2021-10-07T03:33:57.023Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T03:33:57.023Z] ---> Running in f1faac657498 [2021-10-07T03:34:07.122Z] Removing intermediate container f1faac657498 [2021-10-07T03:34:07.122Z] ---> dad60496f15c [2021-10-07T03:34:07.122Z] Step 11/11 : RUN ${MAKE} [2021-10-07T03:34:07.122Z] ---> Running in a10f4af85319 [2021-10-07T03:34:07.122Z] noop [2021-10-07T03:34:07.122Z] Removing intermediate container a10f4af85319 [2021-10-07T03:34:07.122Z] ---> 4862237195d1 [2021-10-07T03:34:07.122Z] Successfully built 4862237195d1 [2021-10-07T03:34:07.122Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:34:07.461Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T03:34:07.461Z] . [Pipeline] withDockerContainer [2021-10-07T03:34:07.572Z] prd-centos7-docker-4c-2g-2307 does not seem to be running inside a container [2021-10-07T03:34:07.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-07T03:34:08.094Z] $ docker top 1e73a4f713527171dfa1bdd81256cde115821e4a99cd53e22c994a98b1ae129e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T03:34:08.529Z] + go version [2021-10-07T03:34:08.529Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-07T03:34:08.546Z] $ docker stop --time=1 1e73a4f713527171dfa1bdd81256cde115821e4a99cd53e22c994a98b1ae129e [2021-10-07T03:34:09.780Z] $ docker rm -f 1e73a4f713527171dfa1bdd81256cde115821e4a99cd53e22c994a98b1ae129e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:34:10.428Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T03:34:10.428Z] . [Pipeline] withDockerContainer [2021-10-07T03:34:10.521Z] prd-centos7-docker-4c-2g-2307 does not seem to be running inside a container [2021-10-07T03:34:10.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-07T03:34:11.037Z] $ docker top d585116a7d6e38ce4db1347fe9a82a0073873ebbc06f74cd33c6367584acd6de -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T03:34:11.475Z] + make test [2021-10-07T03:34:11.475Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-07T03:34:11.741Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-07T03:34:30.035Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-07T03:34:30.035Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-10-07T03:34:30.035Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-07T03:34:35.461Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T03:34:35.461Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T03:34:35.461Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T03:34:36.064Z] $ docker stop --time=1 d585116a7d6e38ce4db1347fe9a82a0073873ebbc06f74cd33c6367584acd6de [2021-10-07T03:34:37.474Z] $ docker rm -f d585116a7d6e38ce4db1347fe9a82a0073873ebbc06f74cd33c6367584acd6de [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T03:34:37.907Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T03:34:38.210Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-07T03:34:39.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T03:34:39.658Z] + ls -al . [2021-10-07T03:34:39.658Z] total 116 [2021-10-07T03:34:39.658Z] drwxrwxr-x. 7 jenkins jenkins 4096 Oct 7 03:34 . [2021-10-07T03:34:39.658Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 7 03:33 .. [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 6520 Oct 7 03:33 Attribution.txt [2021-10-07T03:34:39.658Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 7 03:33 bin [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 4401 Oct 7 03:33 CHANGELOG.md [2021-10-07T03:34:39.658Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 7 03:33 cmd [2021-10-07T03:34:39.658Z] -rw-r--r--. 1 jenkins jenkins 7631 Oct 7 03:34 coverage.out [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 1493 Oct 7 03:33 Dockerfile [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 6 Oct 7 03:33 .dockerignore [2021-10-07T03:34:39.658Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 7 03:33 .git [2021-10-07T03:34:39.658Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 7 03:33 .github [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 262 Oct 7 03:33 .gitignore [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 208 Oct 7 03:33 go.mod [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 20831 Oct 7 03:33 go.sum [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 7 03:33 GOVERNANCE.md [2021-10-07T03:34:39.658Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 7 03:33 internal [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 656 Oct 7 03:33 Jenkinsfile [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 7 03:33 LICENSE [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 1057 Oct 7 03:33 Makefile [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 7 03:33 OWNERS.md [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 9073 Oct 7 03:33 README.md [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 7 03:32 VERSION [2021-10-07T03:34:39.658Z] -rw-rw-r--. 1 jenkins jenkins 209 Oct 7 03:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:34:39.980Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8bb32805f03fb28af25e69a0648a2076882556f1 --label arch=amd64 --label version=2.0.1-dev.5 . [2021-10-07T03:34:39.980Z] Sending build context to Docker daemon 394.2kB [2021-10-07T03:34:39.980Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T03:34:39.980Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-07T03:34:39.980Z] ---> 4862237195d1 [2021-10-07T03:34:39.980Z] Step 3/23 : ARG MAKE='make build' [2021-10-07T03:34:39.980Z] ---> Running in 6d360606a6f3 [2021-10-07T03:34:39.980Z] Removing intermediate container 6d360606a6f3 [2021-10-07T03:34:39.980Z] ---> 80a52f751dc5 [2021-10-07T03:34:39.980Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T03:34:39.980Z] ---> Running in e26685e2d349 [2021-10-07T03:34:40.245Z] Removing intermediate container e26685e2d349 [2021-10-07T03:34:40.245Z] ---> 51bd84acef0f [2021-10-07T03:34:40.245Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T03:34:40.245Z] ---> Running in 1d43ef8e6c24 [2021-10-07T03:34:40.245Z] Removing intermediate container 1d43ef8e6c24 [2021-10-07T03:34:40.245Z] ---> 038c29461635 [2021-10-07T03:34:40.245Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T03:34:40.245Z] ---> Running in b35275338507 [2021-10-07T03:34:40.840Z] Removing intermediate container b35275338507 [2021-10-07T03:34:40.840Z] ---> d706ff2e8b3d [2021-10-07T03:34:40.840Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T03:34:40.840Z] ---> Running in 65b855b062e0 [2021-10-07T03:34:41.106Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T03:34:42.085Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T03:34:42.085Z] OK: 223 MiB in 55 packages [2021-10-07T03:34:42.354Z] Removing intermediate container 65b855b062e0 [2021-10-07T03:34:42.354Z] ---> 0f09481d573d [2021-10-07T03:34:42.354Z] Step 8/23 : WORKDIR /device-snmp-go [2021-10-07T03:34:42.354Z] ---> Running in c2f0ea5471de [2021-10-07T03:34:42.622Z] Removing intermediate container c2f0ea5471de [2021-10-07T03:34:42.622Z] ---> 523af35d09eb [2021-10-07T03:34:42.622Z] Step 9/23 : COPY . . [2021-10-07T03:34:42.622Z] ---> 5d685d162e13 [2021-10-07T03:34:42.622Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T03:34:42.622Z] ---> Running in dc2a6106ea2f [2021-10-07T03:34:43.208Z] Removing intermediate container dc2a6106ea2f [2021-10-07T03:34:43.208Z] ---> feac388caa9e [2021-10-07T03:34:43.208Z] Step 11/23 : RUN ${MAKE} [2021-10-07T03:34:43.208Z] ---> Running in 59a48141d82c [2021-10-07T03:34:43.491Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.5" -o cmd/device-snmp ./cmd [2021-10-07T03:34:58.628Z] Removing intermediate container 59a48141d82c [2021-10-07T03:34:58.628Z] ---> af95354d0342 [2021-10-07T03:34:58.628Z] Step 12/23 : FROM alpine:3.14 [2021-10-07T03:35:07.144Z] Head "https://registry-1.docker.io/v2/library/alpine/manifests/3.14": Get "https://auth.docker.io/token?account=edgexci&scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io": dial tcp: lookup auth.docker.io on 10.30.120.3:53: read udp 10.30.123.202:57902->10.30.120.3:53: i/o timeout [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:35:07.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:35:07.837Z] [2021-10-07T03:35:07.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:35:08.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:35:08.180Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T03:35:08.180Z] b4d181a07f80: Pulling fs layer [2021-10-07T03:35:08.180Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T03:35:08.180Z] ed53099fbce6: Pulling fs layer [2021-10-07T03:35:08.180Z] dc539afda2c1: Pulling fs layer [2021-10-07T03:35:08.180Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T03:35:08.180Z] 9065ff56babe: Pulling fs layer [2021-10-07T03:35:08.180Z] d287ab97295c: Pulling fs layer [2021-10-07T03:35:08.180Z] 77bc0d833cb6: Waiting [2021-10-07T03:35:08.180Z] 9065ff56babe: Waiting [2021-10-07T03:35:08.180Z] dc539afda2c1: Waiting [2021-10-07T03:35:08.180Z] d287ab97295c: Waiting [2021-10-07T03:35:13.536Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T03:35:13.536Z] a1111a8f2ec3: Download complete [2021-10-07T03:35:13.536Z] dc539afda2c1: Verifying Checksum [2021-10-07T03:35:13.536Z] dc539afda2c1: Download complete [2021-10-07T03:35:13.536Z] ed53099fbce6: Verifying Checksum [2021-10-07T03:35:13.536Z] ed53099fbce6: Download complete [2021-10-07T03:35:13.536Z] 9065ff56babe: Verifying Checksum [2021-10-07T03:35:13.536Z] 9065ff56babe: Download complete [2021-10-07T03:35:13.536Z] b4d181a07f80: Verifying Checksum [2021-10-07T03:35:13.536Z] b4d181a07f80: Download complete [2021-10-07T03:35:13.805Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T03:35:13.805Z] 77bc0d833cb6: Download complete [2021-10-07T03:35:14.413Z] d287ab97295c: Verifying Checksum [2021-10-07T03:35:14.413Z] d287ab97295c: Download complete [2021-10-07T03:35:15.384Z] b4d181a07f80: Pull complete [2021-10-07T03:35:15.384Z] a1111a8f2ec3: Pull complete [2021-10-07T03:35:15.971Z] ed53099fbce6: Pull complete [2021-10-07T03:35:16.245Z] dc539afda2c1: Pull complete [2021-10-07T03:35:16.520Z] 77bc0d833cb6: Pull complete [2021-10-07T03:35:16.520Z] 9065ff56babe: Pull complete [2021-10-07T03:35:21.887Z] d287ab97295c: Pull complete [2021-10-07T03:35:21.887Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T03:35:21.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:35:21.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T03:35:21.983Z] prd-centos7-docker-4c-2g-2307 does not seem to be running inside a container [2021-10-07T03:35:22.071Z] $ 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-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T03:35:24.538Z] $ docker top af4b729e3bc33f010b65e7971bc658216348272e0290a458babdd77fa7cb53a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:35:25.021Z] ---> job-cost.sh [2021-10-07T03:35:25.021Z] lf-activate-venv: SKIPPING [2021-10-07T03:35:25.021Z] INFO: No Stack... [2021-10-07T03:35:25.605Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T03:35:25.872Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T03:35:26.192Z] + cat /w/workspace/device-snmp-go/7/archives/cost.csv [2021-10-07T03:35:26.192Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T03:35:26.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [2021-10-07T03:35:26.242Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] did not exist. Created. [2021-10-07T03:35:26.242Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T03:35:26.589Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-07T03:35:26.627Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T03:35:26.639Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T03:35:26.664Z] $ docker stop --time=1 af4b729e3bc33f010b65e7971bc658216348272e0290a458babdd77fa7cb53a3 [2021-10-07T03:35:27.821Z] $ docker rm -f af4b729e3bc33f010b65e7971bc658216348272e0290a458babdd77fa7cb53a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-07T03:35:29.195Z] Failed in branch amd64 [2021-10-07T03:36:10.711Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2309 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-10-07T03:36:10.733Z] Running in /w/workspace/device-snmp-go/7 [Pipeline] { [Pipeline] checkout [2021-10-07T03:36:11.017Z] Selected Git installation does not exist. Using Default [2021-10-07T03:36:11.017Z] The recommended git tool is: NONE [2021-10-07T03:36:18.650Z] using credential edgex-jenkins-ssh [2021-10-07T03:36:18.676Z] Cloning the remote Git repository [2021-10-07T03:36:18.737Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-07T03:36:18.860Z] > git init /w/workspace/device-snmp-go/7 # timeout=10 [2021-10-07T03:36:18.965Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-07T03:36:18.966Z] > git --version # timeout=10 [2021-10-07T03:36:18.981Z] > git --version # 'git version 2.17.1' [2021-10-07T03:36:18.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T03:36:19.094Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T03:36:19.880Z] Avoid second fetch [2021-10-07T03:36:19.880Z] Checking out Revision 8bb32805f03fb28af25e69a0648a2076882556f1 (main) [2021-10-07T03:36:19.841Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-07T03:36:19.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T03:36:19.915Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T03:36:19.933Z] > git checkout -f 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-07T03:36:24.833Z] Commit message: "Merge pull request #125 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T03:36:25.225Z] provisioning config files... [2021-10-07T03:36:25.269Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config859098376873957960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:36:26.063Z] ---> docker-login.sh [2021-10-07T03:36:26.063Z] nexus3.edgexfoundry.org:10001 [2021-10-07T03:36:27.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:36:28.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:36:28.211Z] Configure a credential helper to remove this warning. See [2021-10-07T03:36:28.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:36:28.211Z] [2021-10-07T03:36:28.211Z] Login Succeeded [2021-10-07T03:36:28.211Z] nexus3.edgexfoundry.org:10002 [2021-10-07T03:36:28.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:36:28.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:36:28.849Z] Configure a credential helper to remove this warning. See [2021-10-07T03:36:28.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:36:28.849Z] [2021-10-07T03:36:28.849Z] Login Succeeded [2021-10-07T03:36:28.849Z] nexus3.edgexfoundry.org:10003 [2021-10-07T03:36:29.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:36:29.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:36:29.804Z] Configure a credential helper to remove this warning. See [2021-10-07T03:36:29.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:36:29.804Z] [2021-10-07T03:36:29.804Z] Login Succeeded [2021-10-07T03:36:29.804Z] nexus3.edgexfoundry.org:10004 [2021-10-07T03:36:30.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:36:30.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:36:30.459Z] Configure a credential helper to remove this warning. See [2021-10-07T03:36:30.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:36:30.459Z] [2021-10-07T03:36:30.459Z] Login Succeeded [2021-10-07T03:36:30.459Z] docker.io [2021-10-07T03:36:31.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:36:31.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:36:31.734Z] Configure a credential helper to remove this warning. See [2021-10-07T03:36:31.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:36:31.734Z] [2021-10-07T03:36:31.734Z] Login Succeeded [2021-10-07T03:36:31.734Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T03:36:31.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T03:36:32.437Z] ========================================================= [2021-10-07T03:36:32.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-07T03:36:32.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:36:32.858Z] + 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-07T03:36:33.163Z] Sending build context to Docker daemon 385kB [2021-10-07T03:36:33.455Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T03:36:33.455Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-07T03:36:33.862Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-07T03:36:33.862Z] bbf911997326: Pulling fs layer [2021-10-07T03:36:33.862Z] 58ec367f63d7: Pulling fs layer [2021-10-07T03:36:33.862Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-07T03:36:33.862Z] fc5181fea5dc: Pulling fs layer [2021-10-07T03:36:33.862Z] 9c418107303f: Pulling fs layer [2021-10-07T03:36:33.862Z] 284eca6f2348: Pulling fs layer [2021-10-07T03:36:33.862Z] 842844d905b1: Pulling fs layer [2021-10-07T03:36:33.862Z] 901a3a57568e: Pulling fs layer [2021-10-07T03:36:33.862Z] 284eca6f2348: Waiting [2021-10-07T03:36:33.862Z] 842844d905b1: Waiting [2021-10-07T03:36:33.862Z] 901a3a57568e: Waiting [2021-10-07T03:36:33.862Z] 9c418107303f: Waiting [2021-10-07T03:36:33.862Z] fc5181fea5dc: Waiting [2021-10-07T03:36:33.862Z] 1b4a6ffa7d45: Download complete [2021-10-07T03:36:33.862Z] 58ec367f63d7: Download complete [2021-10-07T03:36:33.862Z] 9c418107303f: Download complete [2021-10-07T03:36:33.862Z] 284eca6f2348: Verifying Checksum [2021-10-07T03:36:33.862Z] 284eca6f2348: Download complete [2021-10-07T03:36:33.862Z] 842844d905b1: Download complete [2021-10-07T03:36:33.862Z] bbf911997326: Verifying Checksum [2021-10-07T03:36:33.862Z] bbf911997326: Download complete [2021-10-07T03:36:34.945Z] bbf911997326: Pull complete [2021-10-07T03:36:36.015Z] 58ec367f63d7: Pull complete [2021-10-07T03:36:36.319Z] 1b4a6ffa7d45: Pull complete [2021-10-07T03:36:36.625Z] 901a3a57568e: Verifying Checksum [2021-10-07T03:36:36.625Z] 901a3a57568e: Download complete [2021-10-07T03:36:36.924Z] fc5181fea5dc: Verifying Checksum [2021-10-07T03:36:36.924Z] fc5181fea5dc: Download complete [2021-10-07T03:36:49.917Z] fc5181fea5dc: Pull complete [2021-10-07T03:36:49.917Z] 9c418107303f: Pull complete [2021-10-07T03:36:49.917Z] 284eca6f2348: Pull complete [2021-10-07T03:36:49.917Z] 842844d905b1: Pull complete [2021-10-07T03:36:55.427Z] 901a3a57568e: Pull complete [2021-10-07T03:36:55.427Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-07T03:36:55.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-07T03:36:55.428Z] ---> 72ade6ffb461 [2021-10-07T03:36:55.428Z] Step 3/11 : ARG MAKE='make build' [2021-10-07T03:37:00.934Z] ---> Running in ec57d64fd2ea [2021-10-07T03:37:00.934Z] Removing intermediate container ec57d64fd2ea [2021-10-07T03:37:00.934Z] ---> 8a16661ebd51 [2021-10-07T03:37:00.934Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T03:37:00.934Z] ---> Running in 399873a9c7e7 [2021-10-07T03:37:01.554Z] Removing intermediate container 399873a9c7e7 [2021-10-07T03:37:01.554Z] ---> 26538f16704a [2021-10-07T03:37:01.554Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T03:37:01.554Z] ---> Running in ae54ed65d709 [2021-10-07T03:37:02.173Z] Removing intermediate container ae54ed65d709 [2021-10-07T03:37:02.173Z] ---> 341003120be9 [2021-10-07T03:37:02.173Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T03:37:02.173Z] ---> Running in 0be62f1e8b15 [2021-10-07T03:37:04.877Z] Removing intermediate container 0be62f1e8b15 [2021-10-07T03:37:04.877Z] ---> 79f61f9bd2f8 [2021-10-07T03:37:04.877Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T03:37:05.165Z] ---> Running in be7acb5d96ce [2021-10-07T03:37:06.667Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T03:37:07.696Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T03:37:08.329Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-07T03:37:08.329Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-07T03:37:08.627Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-07T03:37:08.919Z] Executing busybox-1.32.1-r6.trigger [2021-10-07T03:37:08.919Z] OK: 222 MiB in 55 packages [2021-10-07T03:37:10.416Z] Removing intermediate container be7acb5d96ce [2021-10-07T03:37:10.416Z] ---> 4daae259f87f [2021-10-07T03:37:10.416Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-07T03:37:10.702Z] ---> Running in 0a556b1b4fed [2021-10-07T03:37:11.328Z] Removing intermediate container 0a556b1b4fed [2021-10-07T03:37:11.328Z] ---> 2527aa639121 [2021-10-07T03:37:11.328Z] Step 9/11 : COPY . . [2021-10-07T03:37:12.358Z] ---> 23f3bda9b48e [2021-10-07T03:37:12.358Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T03:37:12.358Z] ---> Running in cf02bc338004 [2021-10-07T03:37:44.957Z] Removing intermediate container cf02bc338004 [2021-10-07T03:37:44.957Z] ---> ea90edc7d959 [2021-10-07T03:37:44.957Z] Step 11/11 : RUN ${MAKE} [2021-10-07T03:37:44.957Z] ---> Running in 451a0df9806c [2021-10-07T03:37:44.957Z] noop [2021-10-07T03:37:44.957Z] Removing intermediate container 451a0df9806c [2021-10-07T03:37:44.957Z] ---> 0bafe5345469 [2021-10-07T03:37:44.957Z] Successfully built 0bafe5345469 [2021-10-07T03:37:44.957Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:37:45.344Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T03:37:45.344Z] . [Pipeline] withDockerContainer [2021-10-07T03:37:45.635Z] prd-ubuntu18.04-docker-arm64-4c-16g-2309 does not seem to be running inside a container [2021-10-07T03:37:45.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-07T03:37:47.428Z] $ docker top d83a1e63b354f7798a2584d2cfed4184af2c5694761c64ef657173023a4e97c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T03:37:48.447Z] + go version [2021-10-07T03:37:48.447Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-07T03:37:48.480Z] $ docker stop --time=1 d83a1e63b354f7798a2584d2cfed4184af2c5694761c64ef657173023a4e97c4 [2021-10-07T03:37:50.340Z] $ docker rm -f d83a1e63b354f7798a2584d2cfed4184af2c5694761c64ef657173023a4e97c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:37:51.181Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T03:37:51.181Z] . [Pipeline] withDockerContainer [2021-10-07T03:37:51.503Z] prd-ubuntu18.04-docker-arm64-4c-16g-2309 does not seem to be running inside a container [2021-10-07T03:37:51.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-07T03:37:53.173Z] $ docker top 41ba0b7f45757c3b79acc08355e37f9517263cf37bdf7668a8c10dbf2f333859 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T03:37:54.180Z] + make test [2021-10-07T03:37:54.180Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-07T03:37:55.695Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-07T03:38:52.577Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-07T03:38:52.577Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.036s coverage: 0.0% of statements [2021-10-07T03:38:52.577Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-07T03:39:25.150Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T03:39:25.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T03:39:25.150Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T03:39:25.186Z] $ docker stop --time=1 41ba0b7f45757c3b79acc08355e37f9517263cf37bdf7668a8c10dbf2f333859 [2021-10-07T03:39:27.130Z] $ docker rm -f 41ba0b7f45757c3b79acc08355e37f9517263cf37bdf7668a8c10dbf2f333859 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T03:39:28.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T03:39:28.151Z] Warning: overwriting stash ‘coverage-report’ [2021-10-07T03:39:28.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-07T03:39:29.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T03:39:29.884Z] + ls -al . [2021-10-07T03:39:29.884Z] total 140 [2021-10-07T03:39:29.884Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 7 03:39 . [2021-10-07T03:39:29.884Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 03:36 .. [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 7 03:36 .dockerignore [2021-10-07T03:39:29.884Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 03:36 .git [2021-10-07T03:39:29.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:36 .github [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 7 03:36 .gitignore [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 6520 Oct 7 03:36 Attribution.txt [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 4401 Oct 7 03:36 CHANGELOG.md [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 1493 Oct 7 03:36 Dockerfile [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 03:36 GOVERNANCE.md [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 7 03:36 Jenkinsfile [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 03:36 LICENSE [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 1057 Oct 7 03:36 Makefile [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 03:36 OWNERS.md [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 9073 Oct 7 03:36 README.md [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 7 03:32 VERSION [2021-10-07T03:39:29.884Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 03:36 bin [2021-10-07T03:39:29.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:36 cmd [2021-10-07T03:39:29.884Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 7 03:38 coverage.out [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 208 Oct 7 03:36 go.mod [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 20831 Oct 7 03:36 go.sum [2021-10-07T03:39:29.884Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 03:36 internal [2021-10-07T03:39:29.884Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 7 03:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:39:30.250Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8bb32805f03fb28af25e69a0648a2076882556f1 --label arch=arm64 --label version=2.0.1-dev.5 . [2021-10-07T03:39:30.531Z] Sending build context to Docker daemon 393.2kB [2021-10-07T03:39:30.531Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T03:39:30.531Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-07T03:39:30.531Z] ---> 0bafe5345469 [2021-10-07T03:39:30.531Z] Step 3/23 : ARG MAKE='make build' [2021-10-07T03:39:30.813Z] ---> Running in 9168e91345a2 [2021-10-07T03:39:31.432Z] Removing intermediate container 9168e91345a2 [2021-10-07T03:39:31.432Z] ---> ad0b398b5ca2 [2021-10-07T03:39:31.433Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T03:39:31.433Z] ---> Running in 00d4a0c3d49b [2021-10-07T03:39:32.044Z] Removing intermediate container 00d4a0c3d49b [2021-10-07T03:39:32.044Z] ---> faa9a7641c2e [2021-10-07T03:39:32.044Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T03:39:32.044Z] ---> Running in 7fc8cc4c655f [2021-10-07T03:39:32.654Z] Removing intermediate container 7fc8cc4c655f [2021-10-07T03:39:32.654Z] ---> bfd93d9c9772 [2021-10-07T03:39:32.654Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T03:39:32.654Z] ---> Running in 428ac08c8bce [2021-10-07T03:39:34.681Z] Removing intermediate container 428ac08c8bce [2021-10-07T03:39:34.681Z] ---> 61d6b7fa448a [2021-10-07T03:39:34.681Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T03:39:34.681Z] ---> Running in fc8cd9f6d7e4 [2021-10-07T03:39:35.685Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T03:39:36.691Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T03:39:37.697Z] OK: 222 MiB in 55 packages [2021-10-07T03:39:38.713Z] Removing intermediate container fc8cd9f6d7e4 [2021-10-07T03:39:38.713Z] ---> 37e6be4a07db [2021-10-07T03:39:38.713Z] Step 8/23 : WORKDIR /device-snmp-go [2021-10-07T03:39:38.713Z] ---> Running in b71a5dee0216 [2021-10-07T03:39:39.340Z] Removing intermediate container b71a5dee0216 [2021-10-07T03:39:39.340Z] ---> 3ec41e9250c3 [2021-10-07T03:39:39.340Z] Step 9/23 : COPY . . [2021-10-07T03:39:40.352Z] ---> 9f4624a69c7d [2021-10-07T03:39:40.352Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T03:39:40.352Z] ---> Running in faf17e1f567e [2021-10-07T03:39:43.129Z] Removing intermediate container faf17e1f567e [2021-10-07T03:39:43.129Z] ---> 928ea87fafcc [2021-10-07T03:39:43.129Z] Step 11/23 : RUN ${MAKE} [2021-10-07T03:39:43.129Z] ---> Running in 80f9a69f4465 [2021-10-07T03:39:44.254Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.5" -o cmd/device-snmp ./cmd [2021-10-07T03:40:23.563Z] Removing intermediate container 80f9a69f4465 [2021-10-07T03:40:23.563Z] ---> fdab7a74b843 [2021-10-07T03:40:23.563Z] Step 12/23 : FROM alpine:3.14 [2021-10-07T03:40:23.563Z] 3.14: Pulling from library/alpine [2021-10-07T03:40:23.843Z] 552d1f2373af: Pulling fs layer [2021-10-07T03:40:24.126Z] 552d1f2373af: Verifying Checksum [2021-10-07T03:40:24.126Z] 552d1f2373af: Download complete [2021-10-07T03:40:24.738Z] 552d1f2373af: Pull complete [2021-10-07T03:40:24.738Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-07T03:40:24.738Z] Status: Downloaded newer image for alpine:3.14 [2021-10-07T03:40:24.738Z] ---> bb3de5531c18 [2021-10-07T03:40:24.738Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-07T03:40:25.020Z] ---> Running in 1bcab5dc00e9 [2021-10-07T03:40:26.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-07T03:40:26.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-07T03:40:27.332Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-07T03:40:27.332Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-07T03:40:27.332Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-07T03:40:27.332Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-07T03:40:27.332Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-07T03:40:27.332Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-07T03:40:27.332Z] Executing busybox-1.33.1-r3.trigger [2021-10-07T03:40:27.332Z] OK: 8 MiB in 20 packages [2021-10-07T03:40:28.344Z] Removing intermediate container 1bcab5dc00e9 [2021-10-07T03:40:28.344Z] ---> d8c429b125aa [2021-10-07T03:40:28.344Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-10-07T03:40:29.816Z] ---> 84f958f9c5ff [2021-10-07T03:40:29.816Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-10-07T03:40:30.432Z] ---> 1e4018482b80 [2021-10-07T03:40:30.432Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-10-07T03:40:31.441Z] ---> 26898645d8d7 [2021-10-07T03:40:31.441Z] Step 17/23 : EXPOSE 59993 [2021-10-07T03:40:31.441Z] ---> Running in a02cd65b8cda [2021-10-07T03:40:32.056Z] Removing intermediate container a02cd65b8cda [2021-10-07T03:40:32.056Z] ---> 1f1b0ac942e8 [2021-10-07T03:40:32.056Z] Step 18/23 : EXPOSE 161 [2021-10-07T03:40:32.056Z] ---> Running in 853862be4d1b [2021-10-07T03:40:32.675Z] Removing intermediate container 853862be4d1b [2021-10-07T03:40:32.675Z] ---> 8983babc4aeb [2021-10-07T03:40:32.675Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-10-07T03:40:32.675Z] ---> Running in bb4930a4e144 [2021-10-07T03:40:33.294Z] Removing intermediate container bb4930a4e144 [2021-10-07T03:40:33.294Z] ---> 72f77d72ab34 [2021-10-07T03:40:33.294Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-07T03:40:33.294Z] ---> Running in 32f776d1d8d2 [2021-10-07T03:40:33.914Z] Removing intermediate container 32f776d1d8d2 [2021-10-07T03:40:33.914Z] ---> abd3f3ef9203 [2021-10-07T03:40:33.914Z] Step 21/23 : LABEL arch=arm64 [2021-10-07T03:40:33.914Z] ---> Running in 9490d22a25f0 [2021-10-07T03:40:34.532Z] Removing intermediate container 9490d22a25f0 [2021-10-07T03:40:34.532Z] ---> c4cd3f456976 [2021-10-07T03:40:34.532Z] Step 22/23 : LABEL git_sha=8bb32805f03fb28af25e69a0648a2076882556f1 [2021-10-07T03:40:34.532Z] ---> Running in c9e722effc22 [2021-10-07T03:40:35.149Z] Removing intermediate container c9e722effc22 [2021-10-07T03:40:35.149Z] ---> ab9284f60d5b [2021-10-07T03:40:35.149Z] Step 23/23 : LABEL version=2.0.1-dev.5 [2021-10-07T03:40:35.149Z] ---> Running in 7cb611087ba3 [2021-10-07T03:40:35.766Z] Removing intermediate container 7cb611087ba3 [2021-10-07T03:40:35.766Z] ---> 365b905f87dc [2021-10-07T03:40:35.766Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-07T03:40:35.766Z] Successfully built 365b905f87dc [2021-10-07T03:40:35.766Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T03:40:36.001Z] provisioning config files... [2021-10-07T03:40:36.035Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/7@tmp/config7823294887989317360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:40:36.465Z] ---> docker-login.sh [2021-10-07T03:40:36.465Z] nexus3.edgexfoundry.org:10001 [2021-10-07T03:40:36.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:40:37.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:40:37.033Z] Configure a credential helper to remove this warning. See [2021-10-07T03:40:37.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:40:37.033Z] [2021-10-07T03:40:37.033Z] Login Succeeded [2021-10-07T03:40:37.033Z] nexus3.edgexfoundry.org:10002 [2021-10-07T03:40:37.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:40:37.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:40:37.605Z] Configure a credential helper to remove this warning. See [2021-10-07T03:40:37.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:40:37.605Z] [2021-10-07T03:40:37.605Z] Login Succeeded [2021-10-07T03:40:37.605Z] nexus3.edgexfoundry.org:10003 [2021-10-07T03:40:38.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:40:38.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:40:38.225Z] Configure a credential helper to remove this warning. See [2021-10-07T03:40:38.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:40:38.225Z] [2021-10-07T03:40:38.225Z] Login Succeeded [2021-10-07T03:40:38.510Z] nexus3.edgexfoundry.org:10004 [2021-10-07T03:40:38.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:40:39.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:40:39.080Z] Configure a credential helper to remove this warning. See [2021-10-07T03:40:39.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:40:39.080Z] [2021-10-07T03:40:39.080Z] Login Succeeded [2021-10-07T03:40:39.080Z] docker.io [2021-10-07T03:40:39.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T03:40:41.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T03:40:41.178Z] Configure a credential helper to remove this warning. See [2021-10-07T03:40:41.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T03:40:41.178Z] [2021-10-07T03:40:41.178Z] Login Succeeded [2021-10-07T03:40:41.178Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T03:40:41.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T03:40:41.272Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-10-07T03:40:41.272Z] 8bb32805f03fb28af25e69a0648a2076882556f1 [2021-10-07T03:40:41.272Z] latest [2021-10-07T03:40:41.272Z] 2.0.1-dev.5 [2021-10-07T03:40:41.272Z] 8bb32805f03fb28af25e69a0648a2076882556f1-2.0.1-dev.5 [2021-10-07T03:40:41.272Z] main [2021-10-07T03:40:41.272Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:41.723Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:42.113Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1 [2021-10-07T03:40:42.114Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-10-07T03:40:42.114Z] 299bc4282636: Preparing [2021-10-07T03:40:42.114Z] 1c68199d5620: Preparing [2021-10-07T03:40:42.114Z] ffd5745c10a3: Preparing [2021-10-07T03:40:42.114Z] 51e0f30796c3: Preparing [2021-10-07T03:40:42.114Z] ee420dfed78a: Preparing [2021-10-07T03:40:42.398Z] ee420dfed78a: Layer already exists [2021-10-07T03:40:42.683Z] 299bc4282636: Pushed [2021-10-07T03:40:42.683Z] 1c68199d5620: Pushed [2021-10-07T03:40:43.297Z] 51e0f30796c3: Pushed [2021-10-07T03:40:45.324Z] ffd5745c10a3: Pushed [2021-10-07T03:40:45.608Z] 8bb32805f03fb28af25e69a0648a2076882556f1: digest: sha256:2d336d210e1cfa7af8ff2e67af86b5a64714ad40ffa342b50a9092ad7db58b9b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:46.005Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:46.392Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-10-07T03:40:46.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-10-07T03:40:46.392Z] 299bc4282636: Preparing [2021-10-07T03:40:46.392Z] 1c68199d5620: Preparing [2021-10-07T03:40:46.392Z] ffd5745c10a3: Preparing [2021-10-07T03:40:46.392Z] 51e0f30796c3: Preparing [2021-10-07T03:40:46.392Z] ee420dfed78a: Preparing [2021-10-07T03:40:46.674Z] 1c68199d5620: Layer already exists [2021-10-07T03:40:46.674Z] 299bc4282636: Layer already exists [2021-10-07T03:40:46.675Z] ee420dfed78a: Layer already exists [2021-10-07T03:40:46.675Z] 51e0f30796c3: Layer already exists [2021-10-07T03:40:46.675Z] ffd5745c10a3: Layer already exists [2021-10-07T03:40:46.675Z] latest: digest: sha256:2d336d210e1cfa7af8ff2e67af86b5a64714ad40ffa342b50a9092ad7db58b9b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:47.065Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:47.448Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [2021-10-07T03:40:47.448Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-10-07T03:40:47.448Z] 299bc4282636: Preparing [2021-10-07T03:40:47.448Z] 1c68199d5620: Preparing [2021-10-07T03:40:47.448Z] ffd5745c10a3: Preparing [2021-10-07T03:40:47.448Z] 51e0f30796c3: Preparing [2021-10-07T03:40:47.448Z] ee420dfed78a: Preparing [2021-10-07T03:40:47.732Z] 299bc4282636: Layer already exists [2021-10-07T03:40:47.732Z] ee420dfed78a: Layer already exists [2021-10-07T03:40:47.732Z] ffd5745c10a3: Layer already exists [2021-10-07T03:40:47.732Z] 51e0f30796c3: Layer already exists [2021-10-07T03:40:47.732Z] 1c68199d5620: Layer already exists [2021-10-07T03:40:47.732Z] 2.0.1-dev.5: digest: sha256:2d336d210e1cfa7af8ff2e67af86b5a64714ad40ffa342b50a9092ad7db58b9b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:48.122Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1-2.0.1-dev.5 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:48.498Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1-2.0.1-dev.5 [2021-10-07T03:40:48.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-10-07T03:40:48.499Z] 299bc4282636: Preparing [2021-10-07T03:40:48.499Z] 1c68199d5620: Preparing [2021-10-07T03:40:48.499Z] ffd5745c10a3: Preparing [2021-10-07T03:40:48.499Z] 51e0f30796c3: Preparing [2021-10-07T03:40:48.499Z] ee420dfed78a: Preparing [2021-10-07T03:40:48.781Z] ffd5745c10a3: Layer already exists [2021-10-07T03:40:48.781Z] ee420dfed78a: Layer already exists [2021-10-07T03:40:48.781Z] 1c68199d5620: Layer already exists [2021-10-07T03:40:48.781Z] 51e0f30796c3: Layer already exists [2021-10-07T03:40:48.781Z] 299bc4282636: Layer already exists [2021-10-07T03:40:48.781Z] 8bb32805f03fb28af25e69a0648a2076882556f1-2.0.1-dev.5: digest: sha256:2d336d210e1cfa7af8ff2e67af86b5a64714ad40ffa342b50a9092ad7db58b9b size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:49.164Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:49.545Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-10-07T03:40:49.545Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-10-07T03:40:49.545Z] 299bc4282636: Preparing [2021-10-07T03:40:49.545Z] 1c68199d5620: Preparing [2021-10-07T03:40:49.545Z] ffd5745c10a3: Preparing [2021-10-07T03:40:49.545Z] 51e0f30796c3: Preparing [2021-10-07T03:40:49.545Z] ee420dfed78a: Preparing [2021-10-07T03:40:49.827Z] ffd5745c10a3: Layer already exists [2021-10-07T03:40:49.827Z] ee420dfed78a: Layer already exists [2021-10-07T03:40:49.827Z] 299bc4282636: Layer already exists [2021-10-07T03:40:49.827Z] 51e0f30796c3: Layer already exists [2021-10-07T03:40:49.827Z] 1c68199d5620: Layer already exists [2021-10-07T03:40:49.827Z] main: digest: sha256:2d336d210e1cfa7af8ff2e67af86b5a64714ad40ffa342b50a9092ad7db58b9b size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T03:40:49.896Z] ===================================================== [Pipeline] echo [2021-10-07T03:40:49.910Z] taggedImages: [2021-10-07T03:40:49.910Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1 [2021-10-07T03:40:49.910Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-10-07T03:40:49.910Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.5 [2021-10-07T03:40:49.910Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:8bb32805f03fb28af25e69a0648a2076882556f1-2.0.1-dev.5 [2021-10-07T03:40:49.910Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:50.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T03:40:50.701Z] [2021-10-07T03:40:50.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:40:51.087Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T03:40:51.372Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-07T03:40:51.372Z] 448f6bf000e3: Pulling fs layer [2021-10-07T03:40:51.372Z] f757da607395: Pulling fs layer [2021-10-07T03:40:51.372Z] 05883995daec: Pulling fs layer [2021-10-07T03:40:51.372Z] 8603b9c90790: Pulling fs layer [2021-10-07T03:40:51.372Z] 1560dd03e051: Pulling fs layer [2021-10-07T03:40:51.372Z] 27f5ce0e4adf: Pulling fs layer [2021-10-07T03:40:51.372Z] c2d8d7efcc4b: Pulling fs layer [2021-10-07T03:40:51.372Z] 1560dd03e051: Waiting [2021-10-07T03:40:51.372Z] 27f5ce0e4adf: Waiting [2021-10-07T03:40:51.372Z] c2d8d7efcc4b: Waiting [2021-10-07T03:40:51.372Z] 8603b9c90790: Waiting [2021-10-07T03:40:51.654Z] f757da607395: Verifying Checksum [2021-10-07T03:40:51.654Z] f757da607395: Download complete [2021-10-07T03:40:51.654Z] 8603b9c90790: Verifying Checksum [2021-10-07T03:40:51.654Z] 8603b9c90790: Download complete [2021-10-07T03:40:51.942Z] 1560dd03e051: Verifying Checksum [2021-10-07T03:40:51.942Z] 1560dd03e051: Download complete [2021-10-07T03:40:51.942Z] 27f5ce0e4adf: Verifying Checksum [2021-10-07T03:40:51.942Z] 27f5ce0e4adf: Download complete [2021-10-07T03:40:52.222Z] 05883995daec: Verifying Checksum [2021-10-07T03:40:52.222Z] 05883995daec: Download complete [2021-10-07T03:40:52.222Z] 448f6bf000e3: Verifying Checksum [2021-10-07T03:40:52.222Z] 448f6bf000e3: Download complete [2021-10-07T03:40:54.908Z] c2d8d7efcc4b: Verifying Checksum [2021-10-07T03:40:54.908Z] c2d8d7efcc4b: Download complete [2021-10-07T03:40:55.915Z] 448f6bf000e3: Pull complete [2021-10-07T03:40:56.532Z] f757da607395: Pull complete [2021-10-07T03:40:58.001Z] 05883995daec: Pull complete [2021-10-07T03:40:58.282Z] 8603b9c90790: Pull complete [2021-10-07T03:40:59.288Z] 1560dd03e051: Pull complete [2021-10-07T03:40:59.568Z] 27f5ce0e4adf: Pull complete [2021-10-07T03:41:14.858Z] c2d8d7efcc4b: Pull complete [2021-10-07T03:41:14.858Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-07T03:41:14.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T03:41:14.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-07T03:41:15.114Z] prd-ubuntu18.04-docker-arm64-4c-16g-2309 does not seem to be running inside a container [2021-10-07T03:41:15.226Z] $ 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-snmp-go/7 -v /w/workspace/device-snmp-go/7:/w/workspace/device-snmp-go/7:rw,z -v /w/workspace/device-snmp-go/7@tmp:/w/workspace/device-snmp-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-07T03:41:20.217Z] $ docker top cc283e61fda8f0a4343e9e905a1c3393e0b6bca8c542ed912b078e7ddd7bf54f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:21.296Z] ---> job-cost.sh [2021-10-07T03:41:21.296Z] lf-activate-venv: SKIPPING [2021-10-07T03:41:21.296Z] INFO: No Stack... [2021-10-07T03:41:27.506Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-07T03:41:27.506Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T03:41:28.220Z] + cat /w/workspace/device-snmp-go/7/archives/cost.csv [2021-10-07T03:41:28.220Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T03:41:28.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [2021-10-07T03:41:28.321Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] did not exist. Created. [2021-10-07T03:41:28.322Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T03:41:29.065Z] /w/workspace/device-snmp-go/7@tmp/durable-af785344/script.sh: 1: /w/workspace/device-snmp-go/7@tmp/durable-af785344/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-07T03:41:29.781Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-07T03:41:29.819Z] Warning: overwriting stash ‘stack-cost’ [2021-10-07T03:41:29.857Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T03:41:29.869Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-7-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T03:41:29.888Z] $ docker stop --time=1 cc283e61fda8f0a4343e9e905a1c3393e0b6bca8c542ed912b078e7ddd7bf54f [2021-10-07T03:41:31.556Z] $ docker rm -f cc283e61fda8f0a4343e9e905a1c3393e0b6bca8c542ed912b078e7ddd7bf54f [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-07T03:41:33.746Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:34.073Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:34.666Z] ---> package-listing.sh [2021-10-07T03:41:34.666Z] ++ facter osfamily [2021-10-07T03:41:34.666Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-07T03:41:34.942Z] + OS_FAMILY=redhat [2021-10-07T03:41:34.942Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-10-07T03:41:34.942Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-07T03:41:34.942Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-07T03:41:34.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-07T03:41:34.942Z] + PACKAGES=/tmp/packages_start.txt [2021-10-07T03:41:34.942Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-10-07T03:41:34.942Z] + PACKAGES=/tmp/packages_end.txt [2021-10-07T03:41:34.942Z] + case "${OS_FAMILY}" in [2021-10-07T03:41:34.942Z] + sort [2021-10-07T03:41:34.942Z] + rpm -qa [2021-10-07T03:41:35.554Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-07T03:41:35.554Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-07T03:41:35.554Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-07T03:41:35.554Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-10-07T03:41:35.554Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-10-07T03:41:35.554Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2021-10-07T03:41:35.572Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-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-07T03:41:35.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:41:36.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:41:36.466Z] [2021-10-07T03:41:36.466Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T03:41:36.817Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:41:36.817Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T03:41:36.817Z] b4d181a07f80: Pulling fs layer [2021-10-07T03:41:36.817Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T03:41:36.817Z] ed53099fbce6: Pulling fs layer [2021-10-07T03:41:36.817Z] dc539afda2c1: Pulling fs layer [2021-10-07T03:41:36.817Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T03:41:36.817Z] 9065ff56babe: Pulling fs layer [2021-10-07T03:41:36.817Z] d287ab97295c: Pulling fs layer [2021-10-07T03:41:36.817Z] dc539afda2c1: Waiting [2021-10-07T03:41:36.817Z] 77bc0d833cb6: Waiting [2021-10-07T03:41:36.817Z] 9065ff56babe: Waiting [2021-10-07T03:41:36.817Z] d287ab97295c: Waiting [2021-10-07T03:41:37.084Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T03:41:37.084Z] a1111a8f2ec3: Download complete [2021-10-07T03:41:37.084Z] dc539afda2c1: Verifying Checksum [2021-10-07T03:41:37.084Z] dc539afda2c1: Download complete [2021-10-07T03:41:37.084Z] ed53099fbce6: Verifying Checksum [2021-10-07T03:41:37.084Z] ed53099fbce6: Download complete [2021-10-07T03:41:37.084Z] 9065ff56babe: Verifying Checksum [2021-10-07T03:41:37.084Z] 9065ff56babe: Download complete [2021-10-07T03:41:37.353Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T03:41:37.353Z] 77bc0d833cb6: Download complete [2021-10-07T03:41:37.353Z] b4d181a07f80: Verifying Checksum [2021-10-07T03:41:37.353Z] b4d181a07f80: Download complete [2021-10-07T03:41:38.326Z] d287ab97295c: Verifying Checksum [2021-10-07T03:41:38.327Z] d287ab97295c: Download complete [2021-10-07T03:41:38.911Z] b4d181a07f80: Pull complete [2021-10-07T03:41:39.185Z] a1111a8f2ec3: Pull complete [2021-10-07T03:41:39.775Z] ed53099fbce6: Pull complete [2021-10-07T03:41:39.775Z] dc539afda2c1: Pull complete [2021-10-07T03:41:40.041Z] 77bc0d833cb6: Pull complete [2021-10-07T03:41:40.310Z] 9065ff56babe: Pull complete [2021-10-07T03:41:45.702Z] d287ab97295c: Pull complete [2021-10-07T03:41:45.702Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T03:41:45.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T03:41:45.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T03:41:45.797Z] prd-centos7-docker-4c-2g-2303 does not seem to be running inside a container [2021-10-07T03:41:45.848Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-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-07T03:41:48.047Z] $ docker top 6275fc0a603c12e49e0d644802cbe753443f0d6be8f97ced1ddf09082006c664 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T03:41:48.445Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-07T03:41:48.759Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-07T03:41:49.078Z] + ls /var/log/sa-host [2021-10-07T03:41:49.078Z] + sadf -c /var/log/sa-host/sa07 [2021-10-07T03:41:49.078Z] file_magic: OK [2021-10-07T03:41:49.078Z] HZ: Using current value: 100 [2021-10-07T03:41:49.078Z] file_header: OK [2021-10-07T03:41:49.078Z] 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-07T03:41:49.078Z] Statistics: [2021-10-07T03:41:49.078Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T03:41:49.078Z] File successfully converted to sysstat format version 12.0.3 [2021-10-07T03:41:49.078Z] + sadf -c /var/log/sa-host/sa30 [2021-10-07T03:41:49.078Z] file_magic: OK [2021-10-07T03:41:49.078Z] HZ: Using current value: 100 [2021-10-07T03:41:49.078Z] file_header: OK [2021-10-07T03:41:49.078Z] 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-07T03:41:49.078Z] Statistics: [2021-10-07T03:41:49.078Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T03:41:49.078Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T03:41:49.241Z] provisioning config files... [2021-10-07T03:41:49.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config79688622331950465tmp [Pipeline] { [Pipeline] echo [2021-10-07T03:41:49.279Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:49.588Z] ---> create-netrc.sh [Pipeline] } [2021-10-07T03:41:49.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:49.971Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-07T03:41:49.985Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:50.312Z] ---> sudo-logs.sh [2021-10-07T03:41:50.312Z] Archiving 'sudo' log.. [2021-10-07T03:41:50.312Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2303.novalocal: Name or service not known [2021-10-07T03:41:50.312Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2303.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-07T03:41:50.369Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:50.684Z] ---> job-cost.sh [2021-10-07T03:41:50.684Z] lf-activate-venv: SKIPPING [2021-10-07T03:41:50.684Z] DEBUG: total: 0.10999999940395355 [2021-10-07T03:41:50.684Z] INFO: Retrieving Stack Cost... [2021-10-07T03:41:57.326Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T03:41:57.326Z] INFO: Archiving Costs [Pipeline] echo [2021-10-07T03:41:57.344Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T03:41:57.655Z] ---> logs-deploy.sh [2021-10-07T03:41:57.655Z] lf-activate-venv: SKIPPING [2021-10-07T03:41:57.655Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/7 [2021-10-07T03:41:57.655Z] INFO: archiving workspace using pattern(s): [2021-10-07T03:41:58.237Z] Archives upload complete. [2021-10-07T03:41:58.502Z] INFO: archiving logs to Nexus