Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0686e34266a91fa2107915df6132c8d4297bd730 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-ssh2247740428369042702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh17825967527196601785.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh7134957257021353978.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh4259507768649053831.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-ssh17908735035981851679.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.17 USE_ALPINE: true 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 ‘prd-centos7-docker-4c-2g-2100’ Running on prd-centos7-docker-4c-2g-2103 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-ssh7025568062464158118.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 0686e34266a91fa2107915df6132c8d4297bd730 (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 0686e34266a91fa2107915df6132c8d4297bd730 # timeout=10 Commit message: "Merge pull request #134 from ernestojeda/go-1_17-dockerfile-changes" > git rev-list --no-walk 58834fc6b430fe9b88288769f7ae389ff6e0a5f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:52:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:52:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:50 ========================================================= 20:52:50 EdgeX Global Pipelines Version Info 20:52:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:52:51 ------------------- 20:52:51 stable info: 20:52:51 ------------------- 20:52:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:52:51 Message: update stable to v1.0.219 20:52:52 ------------------- 20:52:52 experimental info: 20:52:52 ------------------- 20:52:52 Commited By: **** collab-it+edgex@linuxfoundation.org 20:52:52 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:52:52 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0686e34266a91fa2107915df6132c8d4297bd730 [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0686e34 [Pipeline] echo 20:52:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:52 provisioning config files... 20:52:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3702841323922358388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:53 ---> docker-login.sh 20:52:53 nexus3.edgexfoundry.org:10001 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 nexus3.edgexfoundry.org:10002 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 nexus3.edgexfoundry.org:10003 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 nexus3.edgexfoundry.org:10004 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 docker.io 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 ---> docker-login.sh ends [Pipeline] } 20:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:54 + git rev-list -1 --merges 0686e34266a91fa2107915df6132c8d4297bd730~1..0686e34266a91fa2107915df6132c8d4297bd730 [Pipeline] echo 20:52:54 -----------> git rev-list -1 --merges 0686e34266a91fa2107915df6132c8d4297bd730~1..0686e34266a91fa2107915df6132c8d4297bd730 0686e34266a91fa2107915df6132c8d4297bd730 20:52:54 0686e34266a91fa2107915df6132c8d4297bd730 [false] [Pipeline] sh 20:52:54 + git log --format=format:%s -1 0686e34266a91fa2107915df6132c8d4297bd730 [Pipeline] echo 20:52:54 ========================================================= 20:52:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:52:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:55 + git log --format=format:%s -1 0686e34266a91fa2107915df6132c8d4297bd730 [Pipeline] echo 20:52:55 [semverPrep] GIT_COMMIT: 0686e34266a91fa2107915df6132c8d4297bd730, Commit Message: Merge pull request #134 from ernestojeda/go-1_17-dockerfile-changes [Pipeline] echo 20:52:55 [semverPrep] This is not a build commit. [Pipeline] sh 20:52:55 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:52:55 + grep -v github /etc/ssh/ssh_known_hosts 20:52:55 + '[' -e /tmp/ssh_known_hosts ']' 20:52:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:52:55 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:52:55 + sudo tee -a /etc/ssh/ssh_known_hosts 20:52:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:52:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:55 20:52:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:52:56 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:56 latest: Pulling from edgex-devops/git-semver 20:52:56 a0d0a0d46f8b: Pulling fs layer 20:52:56 3e5f54012d9b: Pulling fs layer 20:52:56 4c7163046ea9: Pulling fs layer 20:52:56 0c2d73faf560: Pulling fs layer 20:52:56 0c2d73faf560: Waiting 20:52:56 3e5f54012d9b: Download complete 20:52:56 a0d0a0d46f8b: Verifying Checksum 20:52:56 a0d0a0d46f8b: Download complete 20:52:56 0c2d73faf560: Verifying Checksum 20:52:56 0c2d73faf560: Download complete 20:52:56 4c7163046ea9: Verifying Checksum 20:52:56 4c7163046ea9: Download complete 20:52:56 a0d0a0d46f8b: Pull complete 20:52:56 3e5f54012d9b: Pull complete 20:52:56 4c7163046ea9: Pull complete 20:52:56 0c2d73faf560: Pull complete 20:52:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:52:57 prd-centos7-docker-4c-2g-2103 does not seem to be running inside a container 20:52:56 $ 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 20:52:57 $ docker top f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:58 [ssh-agent] Looking for ssh-agent implementation... 20:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:57 $ docker exec f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 ssh-agent 20:52:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOIkHAO/agent.13 20:52:58 SSH_AGENT_PID=20 20:52:58 Running ssh-add (command line suppressed) 20:52:58 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6834984331907174979.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6834984331907174979.key) 20:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:58 + git tag --points-at HEAD [Pipeline] } 20:52:58 $ docker exec --env ******** --env ******** f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 ssh-agent -k 20:52:58 unset SSH_AUTH_SOCK; 20:52:58 unset SSH_AGENT_PID; 20:52:58 echo Agent pid 20 killed; 20:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:58 [ssh-agent] Looking for ssh-agent implementation... 20:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:58 $ docker exec f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 ssh-agent 20:52:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHdnFff/agent.54 20:52:59 SSH_AGENT_PID=60 20:52:59 Running ssh-add (command line suppressed) 20:52:59 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7863863440833195655.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7863863440833195655.key) 20:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:59 + git semver init 20:52:59 # -> Open(): unable to determine branch for HEAD 20:52:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git 20:52:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main 20:52:59 # $SEMVER_REMOTE_NAME = origin 20:52:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:52:59 # $SEMVER_USER_NAME = edgex-jenkins 20:52:59 # $SEMVER_BRANCH = main 20:52:59 # $SEMVER_TEMP = /tmp/semver-074645435 20:52:59 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 20:53:00 # '/tmp/semver-074645435' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' 20:53:00 # -> Force: false 20:53:00 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } 20:53:00 $ docker exec --env ******** --env ******** f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 ssh-agent -k 20:53:00 unset SSH_AUTH_SOCK; 20:53:00 unset SSH_AGENT_PID; 20:53:00 echo Agent pid 60 killed; 20:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:00 + git semver [Pipeline] } 20:53:00 $ docker stop --time=1 f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 20:53:02 $ docker rm -f f3679f18c7ce2ddf1ec6965be3fe31b03795d09b9f757572d7db3d2996083015 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:02 Stashed 1 file(s) [Pipeline] echo 20:53:02 [edgeXSemver]: initialized semver on version 2.2.0-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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:02 provisioning config files... 20:53:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9110182936611716466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:03 ---> docker-login.sh 20:53:03 nexus3.edgexfoundry.org:10001 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10002 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10003 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 nexus3.edgexfoundry.org:10004 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 docker.io 20:53:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:03 Configure a credential helper to remove this warning. See 20:53:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:03 20:53:03 Login Succeeded 20:53:03 ---> docker-login.sh ends [Pipeline] } 20:53:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:53:04 ========================================================= 20:53:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:53:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:53:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 20:53:04 Sending build context to Docker daemon 5.17MB 20:53:04 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:53:04 Step 2/12 : FROM ${BASE} AS builder 20:53:04 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:04 59bf1c3509f3: Pulling fs layer 20:53:04 666ba61612fd: Pulling fs layer 20:53:04 8ed8ca486205: Pulling fs layer 20:53:04 4fe6c5a15a65: Pulling fs layer 20:53:04 22a0e8bec74d: Pulling fs layer 20:53:04 f965cba54748: Pulling fs layer 20:53:04 861ffc35075e: Pulling fs layer 20:53:04 4b385c91608e: Pulling fs layer 20:53:04 560528eb2ebb: Pulling fs layer 20:53:04 f965cba54748: Waiting 20:53:04 861ffc35075e: Waiting 20:53:04 4b385c91608e: Waiting 20:53:04 560528eb2ebb: Waiting 20:53:04 4fe6c5a15a65: Waiting 20:53:04 22a0e8bec74d: Waiting 20:53:04 8ed8ca486205: Verifying Checksum 20:53:04 8ed8ca486205: Download complete 20:53:04 666ba61612fd: Verifying Checksum 20:53:04 666ba61612fd: Download complete 20:53:04 22a0e8bec74d: Verifying Checksum 20:53:04 22a0e8bec74d: Download complete 20:53:04 f965cba54748: Verifying Checksum 20:53:04 f965cba54748: Download complete 20:53:04 861ffc35075e: Verifying Checksum 20:53:04 861ffc35075e: Download complete 20:53:04 59bf1c3509f3: Verifying Checksum 20:53:04 59bf1c3509f3: Download complete 20:53:04 4b385c91608e: Verifying Checksum 20:53:04 4b385c91608e: Download complete 20:53:04 560528eb2ebb: Verifying Checksum 20:53:04 560528eb2ebb: Download complete 20:53:05 4fe6c5a15a65: Verifying Checksum 20:53:05 4fe6c5a15a65: Download complete 20:53:05 59bf1c3509f3: Pull complete 20:53:05 666ba61612fd: Pull complete 20:53:05 8ed8ca486205: Pull complete 20:53:09 4fe6c5a15a65: Pull complete 20:53:09 22a0e8bec74d: Pull complete 20:53:09 f965cba54748: Pull complete 20:53:09 861ffc35075e: Pull complete 20:53:09 4b385c91608e: Pull complete 20:53:11 560528eb2ebb: Pull complete 20:53:11 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:53:11 ---> dd4a08f94e63 20:53:11 Step 3/12 : ARG MAKE='make build' 20:53:13 ---> Running in 59ec27a9295e 20:53:13 Removing intermediate container 59ec27a9295e 20:53:13 ---> b103032671d2 20:53:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:53:13 ---> Running in b1fee64bb5f4 20:53:14 Removing intermediate container b1fee64bb5f4 20:53:14 ---> 9fb4195386e8 20:53:14 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:53:14 ---> Running in c744d3d272e0 20:53:14 Removing intermediate container c744d3d272e0 20:53:14 ---> efbf61b2c6f3 20:53:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:14 ---> Running in 8f53ff2848f3 20:53:14 Removing intermediate container 8f53ff2848f3 20:53:14 ---> 9cd752d12b86 20:53:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:14 ---> Running in 680cfefe983a 20:53:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:53:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:53:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:53:16 (2/4) Installing libedit (20210910.3.1-r0) 20:53:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:53:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:53:16 Executing busybox-1.34.1-r3.trigger 20:53:16 OK: 224 MiB in 56 packages 20:53:16 Removing intermediate container 680cfefe983a 20:53:16 ---> 3df45f479e31 20:53:16 Step 8/12 : WORKDIR /device-snmp-go 20:53:16 ---> Running in d3a5f3da87ee 20:53:16 Removing intermediate container d3a5f3da87ee 20:53:16 ---> 8f7f9cfcccf5 20:53:16 Step 9/12 : COPY go.mod vendor* ./ 20:53:17 ---> faa423668d2e 20:53:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:17 ---> Running in cef116795a11 20:53:17 Still waiting to schedule task 20:53:17 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2101’ 20:53:49 Removing intermediate container cef116795a11 20:53:49 ---> 0c38940e51b0 20:53:49 Step 11/12 : COPY . . 20:53:49 ---> 12fc48b83702 20:53:49 Step 12/12 : RUN ${MAKE} 20:53:49 ---> Running in 966b7e819feb 20:53:49 noop 20:53:49 Removing intermediate container 966b7e819feb 20:53:49 ---> 39b311a4b525 20:53:49 Successfully built 39b311a4b525 20:53:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:53:49 + docker inspect -f . ci-base-image-x86_64 20:53:49 . [Pipeline] withDockerContainer 20:53:49 prd-centos7-docker-4c-2g-2103 does not seem to be running inside a container 20:53:49 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-x86_64 cat 20:53:50 $ docker top 9609865618d1e48cc6cbd6e128a121aa92c95853f4607e434cd354d099b207dc -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:50 + go version 20:53:50 go version go1.17.6 linux/amd64 [Pipeline] } 20:53:50 $ docker stop --time=1 9609865618d1e48cc6cbd6e128a121aa92c95853f4607e434cd354d099b207dc 20:53:51 $ docker rm -f 9609865618d1e48cc6cbd6e128a121aa92c95853f4607e434cd354d099b207dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:53:52 + docker inspect -f . ci-base-image-x86_64 20:53:52 . [Pipeline] withDockerContainer 20:53:52 prd-centos7-docker-4c-2g-2103 does not seem to be running inside a container 20:53:52 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** -e ******** ci-base-image-x86_64 cat 20:53:52 $ docker top 3fc43a10289a7f3c77428838d8532e85fc83624ca98bc6a46b5f74c32f164954 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:53:52 + make test 20:53:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:53:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:54:08 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:54:08 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 20:54:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:54:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:12 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:54:12 $ docker stop --time=1 3fc43a10289a7f3c77428838d8532e85fc83624ca98bc6a46b5f74c32f164954 20:54:13 $ docker rm -f 3fc43a10289a7f3c77428838d8532e85fc83624ca98bc6a46b5f74c32f164954 [Pipeline] // withDockerContainer [Pipeline] sh 20:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:15 + ls -al . 20:54:15 total 144 20:54:15 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 19 20:54 . 20:54:15 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:52 .. 20:54:15 -rw-rw-r--. 1 jenkins jenkins 6926 Jan 19 20:52 Attribution.txt 20:54:15 drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 20:52 bin 20:54:15 -rw-rw-r--. 1 jenkins jenkins 4401 Jan 19 20:52 CHANGELOG.md 20:54:15 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:52 cmd 20:54:15 -rw-r--r--. 1 jenkins jenkins 7631 Jan 19 20:54 coverage.out 20:54:15 -rw-rw-r--. 1 jenkins jenkins 1516 Jan 19 20:52 Dockerfile 20:54:15 -rw-rw-r--. 1 jenkins jenkins 6 Jan 19 20:52 .dockerignore 20:54:15 drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:52 .git 20:54:15 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:52 .github 20:54:15 -rw-rw-r--. 1 jenkins jenkins 262 Jan 19 20:52 .gitignore 20:54:15 -rw-rw-r--. 1 jenkins jenkins 214 Jan 19 20:52 go.mod 20:54:15 -rw-rw-r--. 1 jenkins jenkins 49501 Jan 19 20:52 go.sum 20:54:15 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:52 GOVERNANCE.md 20:54:15 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 20:52 internal 20:54:15 -rw-rw-r--. 1 jenkins jenkins 656 Jan 19 20:52 Jenkinsfile 20:54:15 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:52 LICENSE 20:54:15 -rw-rw-r--. 1 jenkins jenkins 1057 Jan 19 20:52 Makefile 20:54:15 -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 20:52 OWNERS.md 20:54:15 -rw-rw-r--. 1 jenkins jenkins 9073 Jan 19 20:52 README.md 20:54:15 drwx------. 3 jenkins jenkins 74 Jan 19 20:53 .semver 20:54:15 drwxrwxr-x. 3 jenkins jenkins 58 Jan 19 20:52 snap 20:54:15 -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:53 VERSION 20:54:15 -rw-rw-r--. 1 jenkins jenkins 209 Jan 19 20:52 version.go [Pipeline] isUnix [Pipeline] sh 20:54:15 + 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=0686e34266a91fa2107915df6132c8d4297bd730 --label arch=amd64 --label version=2.2.0-dev.5 . 20:54:15 Sending build context to Docker daemon 5.178MB 20:54:15 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:54:15 Step 2/24 : FROM ${BASE} AS builder 20:54:15 ---> 39b311a4b525 20:54:15 Step 3/24 : ARG MAKE='make build' 20:54:15 ---> Running in ae3be92adc99 20:54:15 Removing intermediate container ae3be92adc99 20:54:15 ---> bdde9563857d 20:54:15 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:54:15 ---> Running in ff1be054729f 20:54:15 Removing intermediate container ff1be054729f 20:54:15 ---> ca24b6a2e108 20:54:15 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:54:15 ---> Running in 3610f031d4b0 20:54:15 Removing intermediate container 3610f031d4b0 20:54:15 ---> 25e23bf66b37 20:54:15 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:15 ---> Running in 650f7b54bde3 20:54:16 Removing intermediate container 650f7b54bde3 20:54:16 ---> 115e631f31d7 20:54:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:16 ---> Running in f3f5a984819f 20:54:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:54:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:54:17 OK: 224 MiB in 56 packages 20:54:18 Removing intermediate container f3f5a984819f 20:54:18 ---> bf1c8db26113 20:54:18 Step 8/24 : WORKDIR /device-snmp-go 20:54:18 ---> Running in af23d9cfb70d 20:54:18 Removing intermediate container af23d9cfb70d 20:54:18 ---> 9aba9e66acbb 20:54:18 Step 9/24 : COPY go.mod vendor* ./ 20:54:18 ---> f30e14eb5169 20:54:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:18 ---> Running in 67058c34538e 20:54:18 Removing intermediate container 67058c34538e 20:54:18 ---> 2af0d629e40d 20:54:18 Step 11/24 : COPY . . 20:54:19 ---> 15716f1e5f2a 20:54:19 Step 12/24 : RUN ${MAKE} 20:54:19 ---> Running in 90cf184d0668 20:54:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.5" -o cmd/device-snmp ./cmd 20:54:31 Removing intermediate container 90cf184d0668 20:54:31 ---> 225bd8b518e7 20:54:31 Step 13/24 : FROM alpine:3.14 20:54:31 3.14: Pulling from library/alpine 20:54:32 97518928ae5f: Pulling fs layer 20:54:32 97518928ae5f: Verifying Checksum 20:54:32 97518928ae5f: Download complete 20:54:32 97518928ae5f: Pull complete 20:54:32 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:54:32 Status: Downloaded newer image for alpine:3.14 20:54:32 ---> 0a97eee8041e 20:54:32 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:54:32 ---> Running in e2553425bbe7 20:54:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:54:37 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 20:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:54:43 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 20:54:43 ERROR: unable to select packages: 20:54:43  dumb-init (no such package): 20:54:43 required by: world[dumb-init] 20:54:43 zeromq (no such package): 20:54:43 required by: world[zeromq] 20:54:43 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [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 20:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:43 20:54:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:54:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:43 latest: Pulling from edgex-lftools-log-publisher 20:54:43 b4d181a07f80: Pulling fs layer 20:54:43 a1111a8f2ec3: Pulling fs layer 20:54:43 ed53099fbce6: Pulling fs layer 20:54:43 dc539afda2c1: Pulling fs layer 20:54:43 77bc0d833cb6: Pulling fs layer 20:54:43 9065ff56babe: Pulling fs layer 20:54:43 d287ab97295c: Pulling fs layer 20:54:43 dc539afda2c1: Waiting 20:54:43 77bc0d833cb6: Waiting 20:54:43 9065ff56babe: Waiting 20:54:43 d287ab97295c: Waiting 20:54:43 a1111a8f2ec3: Verifying Checksum 20:54:43 a1111a8f2ec3: Download complete 20:54:43 dc539afda2c1: Verifying Checksum 20:54:43 dc539afda2c1: Download complete 20:54:43 ed53099fbce6: Verifying Checksum 20:54:43 ed53099fbce6: Download complete 20:54:43 77bc0d833cb6: Verifying Checksum 20:54:43 77bc0d833cb6: Download complete 20:54:43 9065ff56babe: Verifying Checksum 20:54:43 9065ff56babe: Download complete 20:54:44 b4d181a07f80: Verifying Checksum 20:54:44 b4d181a07f80: Download complete 20:54:44 d287ab97295c: Verifying Checksum 20:54:44 d287ab97295c: Download complete 20:54:45 b4d181a07f80: Pull complete 20:54:46 a1111a8f2ec3: Pull complete 20:54:46 ed53099fbce6: Pull complete 20:54:46 dc539afda2c1: Pull complete 20:54:47 77bc0d833cb6: Pull complete 20:54:47 9065ff56babe: Pull complete 20:54:53 d287ab97295c: Pull complete 20:54:53 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:54:53 prd-centos7-docker-4c-2g-2103 does not seem to be running inside a container 20:54:53 $ 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/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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:54:56 $ docker top 5e49a56f3edba4e77a07697ca64e43a205a03069f817e2bc802c6a46432aa7e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:57 ---> job-cost.sh 20:54:57 lf-activate-venv: SKIPPING 20:54:57 INFO: No Stack... 20:54:57 INFO: Retrieving Pricing Info for: v3-standard-2 20:54:57 INFO: Archiving Costs [Pipeline] sh 20:54:58 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 20:54:58 + cut -d, -f6 [Pipeline] lock 20:54:58 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] 20:54:58 Resource [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] did not exist. Created. 20:54:58 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:58 + echo total: 0.05999999865889549 [Pipeline] stash 20:54:58 Stashed 1 file(s) [Pipeline] } 20:54:58 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:58 $ docker stop --time=1 5e49a56f3edba4e77a07697ca64e43a205a03069f817e2bc802c6a46432aa7e4 20:54:59 $ docker rm -f 5e49a56f3edba4e77a07697ca64e43a205a03069f817e2bc802c6a46432aa7e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:54:59 Failed in branch amd64 20:56:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2105 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 20:56:05 Running in /w/workspace/device-snmp-go/14 [Pipeline] { [Pipeline] checkout 20:56:05 Selected Git installation does not exist. Using Default 20:56:05 The recommended git tool is: NONE 20:56:10 using credential edgex-jenkins-ssh 20:56:10 Cloning the remote Git repository 20:56:10 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 20:56:10 > git init /w/workspace/device-snmp-go/14 # timeout=10 20:56:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 20:56:10 > git --version # timeout=10 20:56:10 > git --version # 'git version 2.17.1' 20:56:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:56:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:12 Avoid second fetch 20:56:12 Checking out Revision 0686e34266a91fa2107915df6132c8d4297bd730 (main) 20:56:12 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 20:56:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:56:12 > git config core.sparsecheckout # timeout=10 20:56:12 > git checkout -f 0686e34266a91fa2107915df6132c8d4297bd730 # timeout=10 20:56:16 Commit message: "Merge pull request #134 from ernestojeda/go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:56:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:17 Dload Upload Total Spent Left Speed 20:56:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 20:56:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:56:18 + sudo tee /etc/docker/daemon.new 20:56:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:56:18 { 20:56:18 "registry-mirrors": [ 20:56:18 "https://nexus3.edgexfoundry.org:10001" 20:56:18 ], 20:56:18 "bip": "10.250.0.254/24", 20:56:18 "hosts": [ 20:56:18 "tcp://0.0.0.0:5555", 20:56:18 "unix:///var/run/docker.sock" 20:56:18 ], 20:56:18 "mtu": 1458, 20:56:18 "selinux-enabled": true, 20:56:18 "seccomp-profile": "/etc/docker/seccomp.json" 20:56:18 } [Pipeline] sh 20:56:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:56:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:37 provisioning config files... 20:56:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config2691303972297803977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:37 ---> docker-login.sh 20:56:37 nexus3.edgexfoundry.org:10001 20:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:38 Configure a credential helper to remove this warning. See 20:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:38 20:56:38 Login Succeeded 20:56:38 nexus3.edgexfoundry.org:10002 20:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:39 Configure a credential helper to remove this warning. See 20:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:39 20:56:39 Login Succeeded 20:56:39 nexus3.edgexfoundry.org:10003 20:56:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:39 Configure a credential helper to remove this warning. See 20:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:39 20:56:39 Login Succeeded 20:56:39 nexus3.edgexfoundry.org:10004 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:40 Configure a credential helper to remove this warning. See 20:56:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:40 20:56:40 Login Succeeded 20:56:40 docker.io 20:56:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:56:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:56:41 Configure a credential helper to remove this warning. See 20:56:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:56:41 20:56:41 Login Succeeded 20:56:41 ---> docker-login.sh ends [Pipeline] } 20:56:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:56:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:56:41 ========================================================= 20:56:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:56:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:56:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:56:42 Sending build context to Docker daemon 2.689MB 20:56:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:56:42 Step 2/12 : FROM ${BASE} AS builder 20:56:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:56:42 9b3977197b4f: Pulling fs layer 20:56:42 1a89e8eeedd5: Pulling fs layer 20:56:42 94645a83ff95: Pulling fs layer 20:56:42 3f3a8bcf1eab: Pulling fs layer 20:56:42 0c92f367c5e7: Pulling fs layer 20:56:42 4b8299f9d1f4: Pulling fs layer 20:56:42 9a6b49a46696: Pulling fs layer 20:56:42 cf05db05a679: Pulling fs layer 20:56:42 3f3a8bcf1eab: Waiting 20:56:42 0c92f367c5e7: Waiting 20:56:42 4b8299f9d1f4: Waiting 20:56:42 cf05db05a679: Waiting 20:56:42 9a6b49a46696: Waiting 20:56:42 94645a83ff95: Verifying Checksum 20:56:42 94645a83ff95: Download complete 20:56:42 1a89e8eeedd5: Verifying Checksum 20:56:42 1a89e8eeedd5: Download complete 20:56:42 0c92f367c5e7: Verifying Checksum 20:56:42 0c92f367c5e7: Download complete 20:56:42 4b8299f9d1f4: Verifying Checksum 20:56:42 4b8299f9d1f4: Download complete 20:56:42 9b3977197b4f: Verifying Checksum 20:56:42 9b3977197b4f: Download complete 20:56:42 9a6b49a46696: Verifying Checksum 20:56:42 9a6b49a46696: Download complete 20:56:43 9b3977197b4f: Pull complete 20:56:44 1a89e8eeedd5: Pull complete 20:56:44 94645a83ff95: Pull complete 20:56:44 cf05db05a679: Verifying Checksum 20:56:44 cf05db05a679: Download complete 20:56:45 3f3a8bcf1eab: Verifying Checksum 20:56:45 3f3a8bcf1eab: Download complete 20:56:57 3f3a8bcf1eab: Pull complete 20:56:57 0c92f367c5e7: Pull complete 20:56:57 4b8299f9d1f4: Pull complete 20:56:57 9a6b49a46696: Pull complete 20:57:04 cf05db05a679: Pull complete 20:57:04 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:57:04 ---> 0ccda1f7e2ee 20:57:04 Step 3/12 : ARG MAKE='make build' 20:57:04 ---> Running in 8ca0545b3325 20:57:04 Removing intermediate container 8ca0545b3325 20:57:04 ---> 43b832a85d55 20:57:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:57:04 ---> Running in be7d112e156f 20:57:05 Removing intermediate container be7d112e156f 20:57:05 ---> 329ef9c80499 20:57:05 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:57:05 ---> Running in 5c793b3b06c6 20:57:05 Removing intermediate container 5c793b3b06c6 20:57:05 ---> b0cd4dbdd7a1 20:57:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:57:06 ---> Running in 31767bbe6a79 20:57:08 Removing intermediate container 31767bbe6a79 20:57:08 ---> b1d4b5c6b8be 20:57:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:57:08 ---> Running in d6930f95ac25 20:57:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:57:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:57:11 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:57:11 (2/4) Installing libedit (20210910.3.1-r0) 20:57:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:57:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:57:11 Executing busybox-1.34.1-r3.trigger 20:57:11 OK: 224 MiB in 56 packages 20:57:12 Removing intermediate container d6930f95ac25 20:57:12 ---> 78c210de9b56 20:57:12 Step 8/12 : WORKDIR /device-snmp-go 20:57:12 ---> Running in 0e507b8bb457 20:57:13 Removing intermediate container 0e507b8bb457 20:57:13 ---> aec7f370fde4 20:57:13 Step 9/12 : COPY go.mod vendor* ./ 20:57:13 ---> d8ece9082a56 20:57:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:57:13 ---> Running in 66cb8159a370 20:58:35 Removing intermediate container 66cb8159a370 20:58:35 ---> bc109f2b531a 20:58:35 Step 11/12 : COPY . . 20:58:35 ---> 6c87e4c759c2 20:58:35 Step 12/12 : RUN ${MAKE} 20:58:35 ---> Running in 291bd5b305bb 20:58:35 noop 20:58:35 Removing intermediate container 291bd5b305bb 20:58:35 ---> 879e721ba1e5 20:58:35 Successfully built 879e721ba1e5 20:58:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:58:35 + docker inspect -f . ci-base-image-arm64 20:58:35 . [Pipeline] withDockerContainer 20:58:36 prd-ubuntu18.04-docker-arm64-4c-16g-2105 does not seem to be running inside a container 20:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:58:37 $ docker top 6a935996040f4cdf4f07fd910371f824050f2655c6bf96a5acfc8b48dbd32958 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:38 + go version 20:58:38 go version go1.17.6 linux/arm64 [Pipeline] } 20:58:38 $ docker stop --time=1 6a935996040f4cdf4f07fd910371f824050f2655c6bf96a5acfc8b48dbd32958 20:58:40 $ docker rm -f 6a935996040f4cdf4f07fd910371f824050f2655c6bf96a5acfc8b48dbd32958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:58:40 + docker inspect -f . ci-base-image-arm64 20:58:40 . [Pipeline] withDockerContainer 20:58:41 prd-ubuntu18.04-docker-arm64-4c-16g-2105 does not seem to be running inside a container 20:58:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:58:42 $ docker top 419c5b215c2426044ec77da6778452d9676907abb83431085d73c13595b685fa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:58:43 + make test 20:58:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:58:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 20:59:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 20:59:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.038s coverage: 0.0% of statements 20:59:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:59:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:51 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:52 $ docker stop --time=1 419c5b215c2426044ec77da6778452d9676907abb83431085d73c13595b685fa 20:59:54 $ docker rm -f 419c5b215c2426044ec77da6778452d9676907abb83431085d73c13595b685fa [Pipeline] // withDockerContainer [Pipeline] sh 20:59:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:55 Warning: overwriting stash ‘coverage-report’ 20:59:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:56 + ls -al . 20:59:56 total 172 20:59:56 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:59 . 20:59:56 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:56 .. 20:59:56 -rw-rw-r-- 1 jenkins jenkins 6 Jan 19 20:56 .dockerignore 20:59:56 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:56 .git 20:59:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:56 .github 20:59:56 -rw-rw-r-- 1 jenkins jenkins 262 Jan 19 20:56 .gitignore 20:59:56 -rw-rw-r-- 1 jenkins jenkins 6926 Jan 19 20:56 Attribution.txt 20:59:56 -rw-rw-r-- 1 jenkins jenkins 4401 Jan 19 20:56 CHANGELOG.md 20:59:56 -rw-rw-r-- 1 jenkins jenkins 1516 Jan 19 20:56 Dockerfile 20:59:56 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:56 GOVERNANCE.md 20:59:56 -rw-rw-r-- 1 jenkins jenkins 656 Jan 19 20:56 Jenkinsfile 20:59:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:56 LICENSE 20:59:56 -rw-rw-r-- 1 jenkins jenkins 1057 Jan 19 20:56 Makefile 20:59:56 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 20:56 OWNERS.md 20:59:56 -rw-rw-r-- 1 jenkins jenkins 9073 Jan 19 20:56 README.md 20:59:56 -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:53 VERSION 20:59:56 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:56 bin 20:59:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:56 cmd 20:59:56 -rw-r--r-- 1 jenkins jenkins 7631 Jan 19 20:59 coverage.out 20:59:56 -rw-rw-r-- 1 jenkins jenkins 214 Jan 19 20:56 go.mod 20:59:56 -rw-rw-r-- 1 jenkins jenkins 49501 Jan 19 20:56 go.sum 20:59:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:56 internal 20:59:56 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:56 snap 20:59:56 -rw-rw-r-- 1 jenkins jenkins 209 Jan 19 20:56 version.go [Pipeline] isUnix [Pipeline] sh 20:59:56 + 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=0686e34266a91fa2107915df6132c8d4297bd730 --label arch=arm64 --label version=2.2.0-dev.5 . 20:59:57 Sending build context to Docker daemon 2.697MB 20:59:57 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:59:57 Step 2/24 : FROM ${BASE} AS builder 20:59:57 ---> 879e721ba1e5 20:59:57 Step 3/24 : ARG MAKE='make build' 20:59:57 ---> Running in 4615e9bb0c62 20:59:57 Removing intermediate container 4615e9bb0c62 20:59:57 ---> 20ff48b93a0e 20:59:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:59:57 ---> Running in 3b2a0080697c 20:59:57 Removing intermediate container 3b2a0080697c 20:59:57 ---> fcc7667c8964 20:59:57 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:59:58 ---> Running in 43b747030cf9 20:59:58 Removing intermediate container 43b747030cf9 20:59:58 ---> ff95d6bd9193 20:59:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:58 ---> Running in 4e4512931321 21:00:00 Removing intermediate container 4e4512931321 21:00:00 ---> f803f1389e15 21:00:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:00 ---> Running in 53fbaca2e289 21:00:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:00:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:00:03 OK: 224 MiB in 56 packages 21:00:04 Removing intermediate container 53fbaca2e289 21:00:04 ---> ab0d65e44433 21:00:04 Step 8/24 : WORKDIR /device-snmp-go 21:00:04 ---> Running in 95366cb69e5a 21:00:04 Removing intermediate container 95366cb69e5a 21:00:04 ---> e141120cd72e 21:00:04 Step 9/24 : COPY go.mod vendor* ./ 21:00:05 ---> a18dd942ecb8 21:00:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:05 ---> Running in 3c7f0cebc7ff 21:00:07 Removing intermediate container 3c7f0cebc7ff 21:00:07 ---> 29afb459cd3a 21:00:07 Step 11/24 : COPY . . 21:00:08 ---> d90de0aa6d62 21:00:08 Step 12/24 : RUN ${MAKE} 21:00:08 ---> Running in 81320e1c2f00 21:00:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.5" -o cmd/device-snmp ./cmd 21:00:56 Removing intermediate container 81320e1c2f00 21:00:56 ---> 88fc18d67ed1 21:00:56 Step 13/24 : FROM alpine:3.14 21:00:56 3.14: Pulling from library/alpine 21:00:56 be307f383ecc: Pulling fs layer 21:00:56 be307f383ecc: Verifying Checksum 21:00:56 be307f383ecc: Download complete 21:00:56 be307f383ecc: Pull complete 21:00:56 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 21:00:56 Status: Downloaded newer image for alpine:3.14 21:00:56 ---> 5b8b7b635229 21:00:56 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:00:56 ---> Running in 886424ce60f8 21:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:00:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:00:56 (1/6) Installing dumb-init (1.2.5-r1) 21:00:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:00:56 (3/6) Installing libsodium (1.0.18-r0) 21:00:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:00:56 (5/6) Installing libzmq (4.3.4-r0) 21:00:56 (6/6) Installing zeromq (4.3.4-r0) 21:00:56 Executing busybox-1.33.1-r6.trigger 21:00:56 OK: 8 MiB in 20 packages 21:00:56 Removing intermediate container 886424ce60f8 21:00:56 ---> 533b9643e375 21:00:56 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:00:56 ---> 2b942ebbad2e 21:00:56 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:00:56 ---> 415e7c945266 21:00:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:00:56 ---> 92ef0e230372 21:00:56 Step 18/24 : EXPOSE 59993 21:00:56 ---> Running in a72111e64145 21:00:56 Removing intermediate container a72111e64145 21:00:56 ---> 5b460ea78db4 21:00:56 Step 19/24 : EXPOSE 161 21:00:57 ---> Running in 10b48613d5fa 21:00:57 Removing intermediate container 10b48613d5fa 21:00:57 ---> 0fe1c9174af2 21:00:57 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:00:57 ---> Running in 97a0fe1f4ef6 21:00:58 Removing intermediate container 97a0fe1f4ef6 21:00:58 ---> 8cfb1ffa9997 21:00:58 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:00:58 ---> Running in fb63a53500fd 21:00:58 Removing intermediate container fb63a53500fd 21:00:58 ---> 856e932615be 21:00:58 Step 22/24 : LABEL arch=arm64 21:00:58 ---> Running in 5fc4afe74ed2 21:00:58 Removing intermediate container 5fc4afe74ed2 21:00:58 ---> 11534a45bfc9 21:00:58 Step 23/24 : LABEL git_sha=0686e34266a91fa2107915df6132c8d4297bd730 21:00:58 ---> Running in 77374c997e42 21:00:59 Removing intermediate container 77374c997e42 21:00:59 ---> b6e2f0ad5794 21:00:59 Step 24/24 : LABEL version=2.2.0-dev.5 21:00:59 ---> Running in 3dfdb9823c29 21:00:59 Removing intermediate container 3dfdb9823c29 21:00:59 ---> 8f63c29f4059 21:00:59 [Warning] One or more build-args [ARCH] were not consumed 21:00:59 Successfully built 8f63c29f4059 21:00:59 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 21:00:59 provisioning config files... 21:01:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/14@tmp/config4686154084357556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:00 ---> docker-login.sh 21:01:00 nexus3.edgexfoundry.org:10001 21:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:00 Configure a credential helper to remove this warning. See 21:01:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:00 21:01:00 Login Succeeded 21:01:00 nexus3.edgexfoundry.org:10002 21:01:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:01 Configure a credential helper to remove this warning. See 21:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:01 21:01:01 Login Succeeded 21:01:01 nexus3.edgexfoundry.org:10003 21:01:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:01 Configure a credential helper to remove this warning. See 21:01:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:01 21:01:01 Login Succeeded 21:01:01 nexus3.edgexfoundry.org:10004 21:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:02 Configure a credential helper to remove this warning. See 21:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:02 21:01:02 Login Succeeded 21:01:02 docker.io 21:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:02 Configure a credential helper to remove this warning. See 21:01:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:02 21:01:02 Login Succeeded 21:01:02 ---> docker-login.sh ends [Pipeline] } 21:01:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:02 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 21:01:02 0686e34266a91fa2107915df6132c8d4297bd730 21:01:02 latest 21:01:02 2.2.0-dev.5 21:01:02 0686e34266a91fa2107915df6132c8d4297bd730-2.2.0-dev.5 21:01:02 main 21:01:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:01:03 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730 [Pipeline] isUnix [Pipeline] sh 21:01:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730 21:01:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:01:03 0302d54139fa: Preparing 21:01:03 47c8820772dd: Preparing 21:01:03 36d80981224d: Preparing 21:01:03 b3e5ae00be21: Preparing 21:01:03 62170e181a92: Preparing 21:01:03 62170e181a92: Layer already exists 21:01:03 47c8820772dd: Pushed 21:01:03 0302d54139fa: Pushed 21:01:04 b3e5ae00be21: Pushed 21:01:06 36d80981224d: Pushed 21:01:06 0686e34266a91fa2107915df6132c8d4297bd730: digest: sha256:668e736f3516176528e07319fbf66a9678e24d9734ede190362ce28eca364293 size: 1365 [Pipeline] isUnix [Pipeline] sh 21:01:07 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:01:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:01:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:01:07 0302d54139fa: Preparing 21:01:07 47c8820772dd: Preparing 21:01:07 36d80981224d: Preparing 21:01:07 b3e5ae00be21: Preparing 21:01:07 62170e181a92: Preparing 21:01:07 36d80981224d: Layer already exists 21:01:07 47c8820772dd: Layer already exists 21:01:07 62170e181a92: Layer already exists 21:01:07 b3e5ae00be21: Layer already exists 21:01:07 0302d54139fa: Layer already exists 21:01:07 latest: digest: sha256:668e736f3516176528e07319fbf66a9678e24d9734ede190362ce28eca364293 size: 1365 [Pipeline] isUnix [Pipeline] sh 21:01:08 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 21:01:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 21:01:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:01:08 0302d54139fa: Preparing 21:01:08 47c8820772dd: Preparing 21:01:08 36d80981224d: Preparing 21:01:08 b3e5ae00be21: Preparing 21:01:08 62170e181a92: Preparing 21:01:08 0302d54139fa: Layer already exists 21:01:08 36d80981224d: Layer already exists 21:01:08 47c8820772dd: Layer already exists 21:01:08 62170e181a92: Layer already exists 21:01:08 b3e5ae00be21: Layer already exists 21:01:08 2.2.0-dev.5: digest: sha256:668e736f3516176528e07319fbf66a9678e24d9734ede190362ce28eca364293 size: 1365 [Pipeline] isUnix [Pipeline] sh 21:01:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 21:01:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730-2.2.0-dev.5 21:01:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:01:09 0302d54139fa: Preparing 21:01:09 47c8820772dd: Preparing 21:01:09 36d80981224d: Preparing 21:01:09 b3e5ae00be21: Preparing 21:01:09 62170e181a92: Preparing 21:01:09 62170e181a92: Layer already exists 21:01:09 b3e5ae00be21: Layer already exists 21:01:09 0302d54139fa: Layer already exists 21:01:09 47c8820772dd: Layer already exists 21:01:09 36d80981224d: Layer already exists 21:01:09 0686e34266a91fa2107915df6132c8d4297bd730-2.2.0-dev.5: digest: sha256:668e736f3516176528e07319fbf66a9678e24d9734ede190362ce28eca364293 size: 1365 [Pipeline] isUnix [Pipeline] sh 21:01:10 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 21:01:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 21:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 21:01:10 0302d54139fa: Preparing 21:01:10 47c8820772dd: Preparing 21:01:10 36d80981224d: Preparing 21:01:10 b3e5ae00be21: Preparing 21:01:10 62170e181a92: Preparing 21:01:10 47c8820772dd: Layer already exists 21:01:10 62170e181a92: Layer already exists 21:01:10 0302d54139fa: Layer already exists 21:01:10 36d80981224d: Layer already exists 21:01:10 b3e5ae00be21: Layer already exists 21:01:10 main: digest: sha256:668e736f3516176528e07319fbf66a9678e24d9734ede190362ce28eca364293 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:01:10 ===================================================== [Pipeline] echo 21:01:10 taggedImages: 21:01:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730 21:01:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 21:01:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.5 21:01:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0686e34266a91fa2107915df6132c8d4297bd730-2.2.0-dev.5 21:01:10 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:01:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:11 21:01:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:01:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:11 arm64: Pulling from edgex-lftools-log-publisher 21:01:11 448f6bf000e3: Pulling fs layer 21:01:11 f757da607395: Pulling fs layer 21:01:11 05883995daec: Pulling fs layer 21:01:11 8603b9c90790: Pulling fs layer 21:01:11 1560dd03e051: Pulling fs layer 21:01:11 27f5ce0e4adf: Pulling fs layer 21:01:11 c2d8d7efcc4b: Pulling fs layer 21:01:11 1560dd03e051: Waiting 21:01:11 c2d8d7efcc4b: Waiting 21:01:11 27f5ce0e4adf: Waiting 21:01:11 8603b9c90790: Waiting 21:01:11 f757da607395: Verifying Checksum 21:01:11 f757da607395: Download complete 21:01:11 8603b9c90790: Verifying Checksum 21:01:11 8603b9c90790: Download complete 21:01:11 1560dd03e051: Verifying Checksum 21:01:11 1560dd03e051: Download complete 21:01:11 27f5ce0e4adf: Verifying Checksum 21:01:11 27f5ce0e4adf: Download complete 21:01:12 05883995daec: Download complete 21:01:12 448f6bf000e3: Verifying Checksum 21:01:12 448f6bf000e3: Download complete 21:01:15 c2d8d7efcc4b: Verifying Checksum 21:01:15 c2d8d7efcc4b: Download complete 21:01:16 448f6bf000e3: Pull complete 21:01:16 f757da607395: Pull complete 21:01:18 05883995daec: Pull complete 21:01:18 8603b9c90790: Pull complete 21:01:19 1560dd03e051: Pull complete 21:01:19 27f5ce0e4adf: Pull complete 21:01:34 c2d8d7efcc4b: Pull complete 21:01:34 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:01:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:01:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:01:35 prd-ubuntu18.04-docker-arm64-4c-16g-2105 does not seem to be running inside a container 21:01:35 $ 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/14 -v /w/workspace/device-snmp-go/14:/w/workspace/device-snmp-go/14:rw,z -v /w/workspace/device-snmp-go/14@tmp:/w/workspace/device-snmp-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:01:37 $ docker top 56613ef9abfe3e068ef0dc49bc04e8dc260a04440d59a1523294faa4b5a9d734 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:38 ---> job-cost.sh 21:01:38 lf-activate-venv: SKIPPING 21:01:38 INFO: No Stack... 21:01:38 INFO: Retrieving Pricing Info for: v3-standard-4 21:01:39 INFO: Archiving Costs [Pipeline] sh 21:01:39 + cat /w/workspace/device-snmp-go/14/archives/cost.csv 21:01:39 + cut -d, -f6 [Pipeline] lock 21:01:39 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] 21:01:39 Resource [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] did not exist. Created. 21:01:39 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:40 /w/workspace/device-snmp-go/14@tmp/durable-3040d39c/script.sh: 1: /w/workspace/device-snmp-go/14@tmp/durable-3040d39c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:01:41 + echo total: 0.10999999940395355 [Pipeline] stash 21:01:41 Warning: overwriting stash ‘stack-cost’ 21:01:41 Stashed 1 file(s) [Pipeline] } 21:01:41 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:41 $ docker stop --time=1 56613ef9abfe3e068ef0dc49bc04e8dc260a04440d59a1523294faa4b5a9d734 21:01:42 $ docker rm -f 56613ef9abfe3e068ef0dc49bc04e8dc260a04440d59a1523294faa4b5a9d734 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:01:43 + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' 21:01:43 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:01:43 total 8 21:01:43 drwxr-xr-x. 3 root root 34 Jan 19 20:54 . 21:01:43 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:54 .. 21:01:43 drwxr-xr-x. 2 root root 6 Jan 19 20:54 cost 21:01:43 -rw-r--r--. 1 root root 84 Jan 19 20:54 cost.csv 21:01:43 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:01:43 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 21:01:43 total 8 21:01:43 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:54 . 21:01:43 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:54 .. 21:01:43 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:54 cost 21:01:43 -rw-r--r--. 1 jenkins jenkins 84 Jan 19 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:01:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:01:44 ---> package-listing.sh 21:01:44 ++ facter osfamily 21:01:44 ++ tr '[:upper:]' '[:lower:]' 21:01:44 + OS_FAMILY=redhat 21:01:44 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 21:01:44 + START_PACKAGES=/tmp/packages_start.txt 21:01:44 + END_PACKAGES=/tmp/packages_end.txt 21:01:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:01:44 + PACKAGES=/tmp/packages_start.txt 21:01:44 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:01:44 + PACKAGES=/tmp/packages_end.txt 21:01:44 + case "${OS_FAMILY}" in 21:01:44 + rpm -qa 21:01:44 + sort 21:01:45 + '[' -f /tmp/packages_start.txt ']' 21:01:45 + '[' -f /tmp/packages_end.txt ']' 21:01:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:01:45 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 21:01:45 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 21:01:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 21:01:45 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 21:01:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:46 . [Pipeline] withDockerContainer 21:01:46 prd-centos7-docker-4c-2g-2103 does not seem to be running inside a container 21:01:46 $ 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 21:01:46 $ docker top fa9d887c3078b1dae17ceecf9fa27b331d1c38fb3d2861bc9f3b9a9dfe531179 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:46 + touch /tmp/pre-build-complete [Pipeline] sh 21:01:47 + mkdir -p /var/log/sysstat [Pipeline] sh 21:01:47 + ls /var/log/sa-host 21:01:47 + sadf -c /var/log/sa-host/sa17 21:01:47 file_magic: OK 21:01:47 HZ: Using current value: 100 21:01:47 file_header: OK 21:01:47 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 21:01:47 Statistics: 21:01:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:47 File successfully converted to sysstat format version 12.0.3 21:01:47 + sadf -c /var/log/sa-host/sa19 21:01:47 file_magic: OK 21:01:47 HZ: Using current value: 100 21:01:47 file_header: OK 21:01:47 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 21:01:47 Statistics: 21:01:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:47 provisioning config files... 21:01:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8801679800622263635tmp [Pipeline] { [Pipeline] echo 21:01:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:01:47 ---> create-netrc.sh [Pipeline] } 21:01:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:01:48 ---> python-tools-install.sh [Pipeline] echo 21:01:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:01:48 ---> sudo-logs.sh 21:01:48 Archiving 'sudo' log.. 21:01:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-2103.novalocal: Name or service not known 21:01:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-2103.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:01:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:01:48 ---> job-cost.sh 21:01:48 lf-activate-venv: SKIPPING 21:01:48 DEBUG: total: 0.05999999865889549 21:01:48 INFO: Retrieving Stack Cost... 21:01:49 INFO: Retrieving Pricing Info for: v3-standard-2 21:01:49 INFO: Archiving Costs [Pipeline] echo 21:01:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:01:50 ---> logs-deploy.sh 21:01:50 lf-activate-venv: SKIPPING 21:01:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/14 21:01:50 INFO: archiving workspace using pattern(s): 21:01:50 Archives upload complete. 21:01:50 INFO: archiving logs to Nexus