Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d6a2d4438fc175be031f77f972aa414c83442272 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6871629720782516456.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh7805743343820673031.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh1699894469507220198.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh6583359886415394927.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-ssh6918137884629343855.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-743 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-ssh7574824926446052855.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 d6a2d4438fc175be031f77f972aa414c83442272 (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 d6a2d4438fc175be031f77f972aa414c83442272 # timeout=10 Commit message: "Merge pull request #128 from lenny-intel/released-sdk" > git rev-list --no-walk 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-16T00:10:02.009Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-16T00:10:02.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-16T00:10:02.066Z] ========================================================= [2021-11-16T00:10:02.066Z] EdgeX Global Pipelines Version Info [2021-11-16T00:10:02.066Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:10:03.227Z] ------------------- [2021-11-16T00:10:03.227Z] stable info: [2021-11-16T00:10:03.227Z] ------------------- [2021-11-16T00:10:03.227Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-16T00:10:03.227Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T00:10:03.227Z] Message: update stable to v1.0.215 [2021-11-16T00:10:04.165Z] ------------------- [2021-11-16T00:10:04.165Z] experimental info: [2021-11-16T00:10:04.165Z] ------------------- [2021-11-16T00:10:04.165Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-16T00:10:04.165Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T00:10:04.165Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-16T00:10:04.251Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-11-16T00:10:04.263Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-11-16T00:10:04.279Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-16T00:10:04.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-16T00:10:04.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-16T00:10:04.308Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-16T00:10:04.319Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-16T00:10:04.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-16T00:10:04.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-16T00:10:04.353Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-16T00:10:04.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-16T00:10:04.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-11-16T00:10:04.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-16T00:10:04.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-16T00:10:04.408Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T00:10:04.420Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T00:10:04.428Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T00:10:04.438Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T00:10:04.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-16T00:10:04.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-16T00:10:04.498Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-16T00:10:04.509Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-16T00:10:04.521Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-16T00:10:04.532Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-16T00:10:04.544Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-16T00:10:04.553Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-16T00:10:04.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-16T00:10:04.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-16T00:10:04.589Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-16T00:10:04.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] echo [2021-11-16T00:10:04.612Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6a2d44 [Pipeline] echo [2021-11-16T00:10:04.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:10:04.663Z] provisioning config files... [2021-11-16T00:10:04.675Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3690814913276332283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:10:04.998Z] ---> docker-login.sh [2021-11-16T00:10:04.998Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:10:04.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:04.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:04.998Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:04.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:04.998Z] [2021-11-16T00:10:05.263Z] Login Succeeded [2021-11-16T00:10:05.263Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:10:05.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:05.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:05.263Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:05.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:05.263Z] [2021-11-16T00:10:05.263Z] Login Succeeded [2021-11-16T00:10:05.263Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:10:05.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:05.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:05.525Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:05.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:05.525Z] [2021-11-16T00:10:05.525Z] Login Succeeded [2021-11-16T00:10:05.525Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:10:05.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:05.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:05.525Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:05.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:05.525Z] [2021-11-16T00:10:05.525Z] Login Succeeded [2021-11-16T00:10:05.525Z] docker.io [2021-11-16T00:10:05.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:05.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:05.786Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:05.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:05.786Z] [2021-11-16T00:10:05.786Z] Login Succeeded [2021-11-16T00:10:05.786Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:10:05.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-16T00:10:06.218Z] + git rev-list -1 --merges d6a2d4438fc175be031f77f972aa414c83442272~1..d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] echo [2021-11-16T00:10:06.253Z] -----------> git rev-list -1 --merges d6a2d4438fc175be031f77f972aa414c83442272~1..d6a2d4438fc175be031f77f972aa414c83442272 d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:10:06.253Z] d6a2d4438fc175be031f77f972aa414c83442272 [false] [Pipeline] sh [2021-11-16T00:10:06.554Z] + git log --format=format:%s -1 d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] echo [2021-11-16T00:10:06.568Z] ========================================================= [2021-11-16T00:10:06.568Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-16T00:10:06.568Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:10:06.903Z] + git log --format=format:%s -1 d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] echo [2021-11-16T00:10:06.919Z] [semverPrep] GIT_COMMIT: d6a2d4438fc175be031f77f972aa414c83442272, Commit Message: Merge pull request #128 from lenny-intel/released-sdk [Pipeline] echo [2021-11-16T00:10:06.927Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:10:07.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:10:07.361Z] [2021-11-16T00:10:07.361Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:10:07.670Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:10:07.670Z] latest: Pulling from edgex-devops/git-semver [2021-11-16T00:10:07.670Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T00:10:07.670Z] 3e5f54012d9b: Pulling fs layer [2021-11-16T00:10:07.670Z] 4c7163046ea9: Pulling fs layer [2021-11-16T00:10:07.670Z] 0c2d73faf560: Pulling fs layer [2021-11-16T00:10:07.670Z] 0c2d73faf560: Waiting [2021-11-16T00:10:07.670Z] 3e5f54012d9b: Verifying Checksum [2021-11-16T00:10:07.670Z] 3e5f54012d9b: Download complete [2021-11-16T00:10:07.670Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T00:10:07.670Z] a0d0a0d46f8b: Download complete [2021-11-16T00:10:07.670Z] 0c2d73faf560: Verifying Checksum [2021-11-16T00:10:07.670Z] 0c2d73faf560: Download complete [2021-11-16T00:10:07.670Z] 4c7163046ea9: Verifying Checksum [2021-11-16T00:10:07.670Z] 4c7163046ea9: Download complete [2021-11-16T00:10:07.944Z] a0d0a0d46f8b: Pull complete [2021-11-16T00:10:07.944Z] 3e5f54012d9b: Pull complete [2021-11-16T00:10:08.214Z] 4c7163046ea9: Pull complete [2021-11-16T00:10:08.474Z] 0c2d73faf560: Pull complete [2021-11-16T00:10:08.474Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-16T00:10:08.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:10:08.474Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-16T00:10:08.559Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:10:08.601Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:10:09.327Z] $ docker top adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:10:09.428Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:10:09.428Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:10:09.558Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:10:09.559Z] $ docker exec adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 ssh-agent [2021-11-16T00:10:09.683Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnJcegK/agent.15 [2021-11-16T00:10:09.683Z] SSH_AGENT_PID=21 [2021-11-16T00:10:09.693Z] Running ssh-add (command line suppressed) [2021-11-16T00:10:09.798Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_263314635518827531.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_263314635518827531.key) [2021-11-16T00:10:09.819Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:10:10.113Z] + git tag --points-at HEAD [Pipeline] } [2021-11-16T00:10:10.124Z] $ docker exec --env ******** --env ******** adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 ssh-agent -k [2021-11-16T00:10:10.226Z] unset SSH_AUTH_SOCK; [2021-11-16T00:10:10.226Z] unset SSH_AGENT_PID; [2021-11-16T00:10:10.226Z] echo Agent pid 21 killed; [2021-11-16T00:10:10.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-16T00:10:10.260Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:10:10.260Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:10:10.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:10:10.381Z] $ docker exec adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 ssh-agent [2021-11-16T00:10:10.503Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEdOGjL/agent.54 [2021-11-16T00:10:10.503Z] SSH_AGENT_PID=60 [2021-11-16T00:10:10.510Z] Running ssh-add (command line suppressed) [2021-11-16T00:10:10.610Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3346543080816186289.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3346543080816186289.key) [2021-11-16T00:10:10.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:10:10.928Z] + git semver init [2021-11-16T00:10:10.928Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:10:10.928Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-16T00:10:10.928Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:10:10.928Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:10:10.928Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:10:10.928Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:10:10.928Z] # $SEMVER_BRANCH = main [2021-11-16T00:10:10.928Z] # $SEMVER_TEMP = /tmp/semver-585245003 [2021-11-16T00:10:10.928Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-11-16T00:10:11.507Z] # '/tmp/semver-585245003' -> '/w/workspace/edgexfoundry_device-snmp-go_main/.semver' [2021-11-16T00:10:11.507Z] # -> Force: false [2021-11-16T00:10:11.507Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-11-16T00:10:11.516Z] $ docker exec --env ******** --env ******** adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 ssh-agent -k [2021-11-16T00:10:11.624Z] unset SSH_AUTH_SOCK; [2021-11-16T00:10:11.624Z] unset SSH_AGENT_PID; [2021-11-16T00:10:11.624Z] echo Agent pid 60 killed; [2021-11-16T00:10:11.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:10:11.946Z] + git semver [Pipeline] } [2021-11-16T00:10:11.958Z] $ docker stop --time=1 adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 [2021-11-16T00:10:13.187Z] $ docker rm -f adafa1132347180eeac2b69ae207c68587cf3016a7dc25dd1a53a9fe1c403577 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:10:13.525Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-16T00:10:13.844Z] Stashed 1 file(s) [Pipeline] echo [2021-11-16T00:10:13.846Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-16T00:10:28.972Z] Still waiting to schedule task [2021-11-16T00:10:28.973Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-16T00:10:28.974Z] Still waiting to schedule task [2021-11-16T00:10:28.975Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-16T00:11:13.859Z] Running on prd-centos7-docker-4c-2g-748 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-11-16T00:11:13.871Z] Running in /w/workspace/device-snmp-go/9 [Pipeline] { [Pipeline] checkout [2021-11-16T00:11:13.939Z] Selected Git installation does not exist. Using Default [2021-11-16T00:11:13.939Z] The recommended git tool is: NONE [2021-11-16T00:11:15.777Z] using credential edgex-jenkins-ssh [2021-11-16T00:11:15.787Z] Cloning the remote Git repository [2021-11-16T00:11:16.078Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-16T00:11:16.130Z] > git init /w/workspace/device-snmp-go/9 # timeout=10 [2021-11-16T00:11:16.172Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-16T00:11:16.172Z] > git --version # timeout=10 [2021-11-16T00:11:16.179Z] > git --version # 'git version 2.24.4' [2021-11-16T00:11:16.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T00:11:16.208Z] [INFO] Currently running in a labeled security context [2021-11-16T00:11:16.208Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T00:11:16.208Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/9@tmp/jenkins-gitclient-ssh5410094839472204083.key [2021-11-16T00:11:16.237Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:11:16.550Z] Avoid second fetch [2021-11-16T00:11:16.550Z] Checking out Revision d6a2d4438fc175be031f77f972aa414c83442272 (main) [2021-11-16T00:11:16.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-16T00:11:16.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:11:16.828Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T00:11:16.834Z] > git checkout -f d6a2d4438fc175be031f77f972aa414c83442272 # timeout=10 [2021-11-16T00:11:20.231Z] Commit message: "Merge pull request #128 from lenny-intel/released-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:11:20.558Z] provisioning config files... [2021-11-16T00:11:20.574Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config2613484856806810358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:11:20.996Z] ---> docker-login.sh [2021-11-16T00:11:20.996Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:11:20.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:11:20.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:11:20.996Z] Configure a credential helper to remove this warning. See [2021-11-16T00:11:20.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:11:20.996Z] [2021-11-16T00:11:20.996Z] Login Succeeded [2021-11-16T00:11:20.996Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:11:21.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:11:21.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:11:21.267Z] Configure a credential helper to remove this warning. See [2021-11-16T00:11:21.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:11:21.267Z] [2021-11-16T00:11:21.267Z] Login Succeeded [2021-11-16T00:11:21.267Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:11:21.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:11:21.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:11:21.267Z] Configure a credential helper to remove this warning. See [2021-11-16T00:11:21.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:11:21.267Z] [2021-11-16T00:11:21.267Z] Login Succeeded [2021-11-16T00:11:21.267Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:11:21.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:11:21.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:11:21.530Z] Configure a credential helper to remove this warning. See [2021-11-16T00:11:21.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:11:21.530Z] [2021-11-16T00:11:21.530Z] Login Succeeded [2021-11-16T00:11:21.530Z] docker.io [2021-11-16T00:11:21.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:11:21.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:11:21.792Z] Configure a credential helper to remove this warning. See [2021-11-16T00:11:21.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:11:21.792Z] [2021-11-16T00:11:21.792Z] Login Succeeded [2021-11-16T00:11:21.792Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:11:21.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T00:11:21.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:11:21.973Z] ========================================================= [2021-11-16T00:11:21.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-16T00:11:21.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:11:22.292Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-16T00:11:22.292Z] Sending build context to Docker daemon 469kB [2021-11-16T00:11:22.292Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:11:22.292Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T00:11:22.292Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-16T00:11:22.292Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T00:11:22.292Z] 31adcdaf11c8: Pulling fs layer [2021-11-16T00:11:22.292Z] b8b176561691: Pulling fs layer [2021-11-16T00:11:22.292Z] 4527c011a84f: Pulling fs layer [2021-11-16T00:11:22.292Z] 5d74067f8e1e: Pulling fs layer [2021-11-16T00:11:22.292Z] e0aca202a116: Pulling fs layer [2021-11-16T00:11:22.292Z] 3a43be97a3b4: Pulling fs layer [2021-11-16T00:11:22.292Z] 34cad66bf833: Pulling fs layer [2021-11-16T00:11:22.292Z] b4e3c513aaa6: Pulling fs layer [2021-11-16T00:11:22.292Z] 4527c011a84f: Waiting [2021-11-16T00:11:22.292Z] 5d74067f8e1e: Waiting [2021-11-16T00:11:22.292Z] e0aca202a116: Waiting [2021-11-16T00:11:22.292Z] 3a43be97a3b4: Waiting [2021-11-16T00:11:22.292Z] 34cad66bf833: Waiting [2021-11-16T00:11:22.292Z] b4e3c513aaa6: Waiting [2021-11-16T00:11:22.292Z] b8b176561691: Verifying Checksum [2021-11-16T00:11:22.292Z] b8b176561691: Download complete [2021-11-16T00:11:22.292Z] 31adcdaf11c8: Verifying Checksum [2021-11-16T00:11:22.292Z] 31adcdaf11c8: Download complete [2021-11-16T00:11:22.292Z] 5d74067f8e1e: Verifying Checksum [2021-11-16T00:11:22.292Z] 5d74067f8e1e: Download complete [2021-11-16T00:11:22.292Z] e0aca202a116: Verifying Checksum [2021-11-16T00:11:22.292Z] e0aca202a116: Download complete [2021-11-16T00:11:22.292Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T00:11:22.292Z] a0d0a0d46f8b: Download complete [2021-11-16T00:11:22.564Z] 3a43be97a3b4: Verifying Checksum [2021-11-16T00:11:22.564Z] 3a43be97a3b4: Download complete [2021-11-16T00:11:22.564Z] 34cad66bf833: Verifying Checksum [2021-11-16T00:11:22.564Z] 34cad66bf833: Download complete [2021-11-16T00:11:22.837Z] b4e3c513aaa6: Verifying Checksum [2021-11-16T00:11:22.837Z] b4e3c513aaa6: Download complete [2021-11-16T00:11:23.101Z] a0d0a0d46f8b: Pull complete [2021-11-16T00:11:23.101Z] 4527c011a84f: Verifying Checksum [2021-11-16T00:11:23.101Z] 4527c011a84f: Download complete [2021-11-16T00:11:23.101Z] 31adcdaf11c8: Pull complete [2021-11-16T00:11:23.101Z] b8b176561691: Pull complete [2021-11-16T00:11:27.385Z] 4527c011a84f: Pull complete [2021-11-16T00:11:27.385Z] 5d74067f8e1e: Pull complete [2021-11-16T00:11:27.385Z] e0aca202a116: Pull complete [2021-11-16T00:11:27.385Z] 3a43be97a3b4: Pull complete [2021-11-16T00:11:27.385Z] 34cad66bf833: Pull complete [2021-11-16T00:11:29.975Z] b4e3c513aaa6: Pull complete [2021-11-16T00:11:29.975Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-16T00:11:29.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-16T00:11:29.975Z] ---> 9f6097aaca64 [2021-11-16T00:11:29.975Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T00:11:34.208Z] ---> Running in e25206bbc206 [2021-11-16T00:11:34.208Z] Removing intermediate container e25206bbc206 [2021-11-16T00:11:34.208Z] ---> fecdbed8e7e5 [2021-11-16T00:11:34.208Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:11:34.208Z] ---> Running in f45c30e86f1a [2021-11-16T00:11:34.208Z] Removing intermediate container f45c30e86f1a [2021-11-16T00:11:34.208Z] ---> 6b35e5d1048b [2021-11-16T00:11:34.208Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:11:34.208Z] ---> Running in f1640c6ad87c [2021-11-16T00:11:34.208Z] Removing intermediate container f1640c6ad87c [2021-11-16T00:11:34.208Z] ---> 5d4891e89fa5 [2021-11-16T00:11:34.208Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:11:34.208Z] ---> Running in 64ee6856a8b0 [2021-11-16T00:11:34.791Z] Removing intermediate container 64ee6856a8b0 [2021-11-16T00:11:34.791Z] ---> bd7c4c41bee2 [2021-11-16T00:11:34.791Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:11:34.791Z] ---> Running in 43f2f8967e3c [2021-11-16T00:11:35.059Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:11:36.014Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:11:36.280Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T00:11:36.280Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T00:11:36.547Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T00:11:36.547Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T00:11:36.547Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T00:11:36.547Z] OK: 224 MiB in 56 packages [2021-11-16T00:11:37.128Z] Removing intermediate container 43f2f8967e3c [2021-11-16T00:11:37.128Z] ---> 10b566b33a19 [2021-11-16T00:11:37.128Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-16T00:11:37.128Z] ---> Running in 7df6eb2bb133 [2021-11-16T00:11:37.128Z] Removing intermediate container 7df6eb2bb133 [2021-11-16T00:11:37.128Z] ---> 1bbd7d581731 [2021-11-16T00:11:37.128Z] Step 9/11 : COPY . . [2021-11-16T00:11:37.390Z] ---> 60b5afd27a1c [2021-11-16T00:11:37.390Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:11:37.390Z] ---> Running in dcb62530a3d2 [2021-11-16T00:12:09.592Z] Removing intermediate container dcb62530a3d2 [2021-11-16T00:12:09.592Z] ---> f58fc61f4168 [2021-11-16T00:12:09.592Z] Step 11/11 : RUN ${MAKE} [2021-11-16T00:12:09.592Z] ---> Running in fff31aa12601 [2021-11-16T00:12:09.592Z] noop [2021-11-16T00:12:09.592Z] Removing intermediate container fff31aa12601 [2021-11-16T00:12:09.593Z] ---> 799bd3ac662c [2021-11-16T00:12:09.593Z] Successfully built 799bd3ac662c [2021-11-16T00:12:09.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:09.896Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T00:12:09.896Z] . [Pipeline] withDockerContainer [2021-11-16T00:12:09.963Z] prd-centos7-docker-4c-2g-748 does not seem to be running inside a container [2021-11-16T00:12:09.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-16T00:12:10.377Z] $ docker top 3baf6142c05d8ca3f637389cabda48ac56eb452643b7e180530e146a472453bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:12:10.743Z] + go version [2021-11-16T00:12:10.743Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-16T00:12:10.751Z] $ docker stop --time=1 3baf6142c05d8ca3f637389cabda48ac56eb452643b7e180530e146a472453bd [2021-11-16T00:12:11.922Z] $ docker rm -f 3baf6142c05d8ca3f637389cabda48ac56eb452643b7e180530e146a472453bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:12.491Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T00:12:12.491Z] . [Pipeline] withDockerContainer [2021-11-16T00:12:12.560Z] prd-centos7-docker-4c-2g-748 does not seem to be running inside a container [2021-11-16T00:12:12.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-16T00:12:12.977Z] $ docker top 1551d6cf674ffcdcdf4098fd5e5af3b7f560f6a8e4adb7a1e8881ff9b536f00d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T00:12:13.353Z] + make test [2021-11-16T00:12:13.353Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-16T00:12:13.614Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-16T00:12:28.590Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-16T00:12:28.854Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2021-11-16T00:12:28.854Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T00:12:35.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T00:12:35.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T00:12:35.511Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T00:12:35.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T00:12:35.539Z] $ docker stop --time=1 1551d6cf674ffcdcdf4098fd5e5af3b7f560f6a8e4adb7a1e8881ff9b536f00d [2021-11-16T00:12:37.020Z] $ docker rm -f 1551d6cf674ffcdcdf4098fd5e5af3b7f560f6a8e4adb7a1e8881ff9b536f00d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:12:37.409Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T00:12:37.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-16T00:12:38.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T00:12:38.540Z] + ls -al . [2021-11-16T00:12:38.540Z] total 144 [2021-11-16T00:12:38.540Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 16 00:12 . [2021-11-16T00:12:38.540Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 16 00:11 .. [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 6926 Nov 16 00:11 Attribution.txt [2021-11-16T00:12:38.540Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 00:11 bin [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 4401 Nov 16 00:11 CHANGELOG.md [2021-11-16T00:12:38.540Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 00:11 cmd [2021-11-16T00:12:38.540Z] -rw-r--r--. 1 jenkins jenkins 7631 Nov 16 00:12 coverage.out [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 1493 Nov 16 00:11 Dockerfile [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 6 Nov 16 00:11 .dockerignore [2021-11-16T00:12:38.540Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 00:11 .git [2021-11-16T00:12:38.540Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 00:11 .github [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 262 Nov 16 00:11 .gitignore [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 208 Nov 16 00:11 go.mod [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 49477 Nov 16 00:11 go.sum [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 00:11 GOVERNANCE.md [2021-11-16T00:12:38.540Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 00:11 internal [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 656 Nov 16 00:11 Jenkinsfile [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 00:11 LICENSE [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 1057 Nov 16 00:11 Makefile [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 00:11 OWNERS.md [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 9073 Nov 16 00:11 README.md [2021-11-16T00:12:38.540Z] drwxrwxr-x. 3 jenkins jenkins 58 Nov 16 00:11 snap [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 16 00:10 VERSION [2021-11-16T00:12:38.540Z] -rw-rw-r--. 1 jenkins jenkins 209 Nov 16 00:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:38.858Z] + 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=d6a2d4438fc175be031f77f972aa414c83442272 --label arch=amd64 --label version=2.0.1-dev.6 . [2021-11-16T00:12:38.858Z] Sending build context to Docker daemon 477.2kB [2021-11-16T00:12:38.858Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:12:38.858Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-16T00:12:38.858Z] ---> 799bd3ac662c [2021-11-16T00:12:38.858Z] Step 3/23 : ARG MAKE='make build' [2021-11-16T00:12:38.858Z] ---> Running in 5f08932f7dd0 [2021-11-16T00:12:38.859Z] Removing intermediate container 5f08932f7dd0 [2021-11-16T00:12:38.859Z] ---> cb095b566ad8 [2021-11-16T00:12:38.859Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:12:38.859Z] ---> Running in b4982954e86c [2021-11-16T00:12:39.121Z] Removing intermediate container b4982954e86c [2021-11-16T00:12:39.121Z] ---> 4ca80256a505 [2021-11-16T00:12:39.121Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:12:39.121Z] ---> Running in 7096f640186a [2021-11-16T00:12:39.121Z] Removing intermediate container 7096f640186a [2021-11-16T00:12:39.121Z] ---> de8f404884ea [2021-11-16T00:12:39.121Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:12:39.121Z] ---> Running in 8b490c0f02d8 [2021-11-16T00:12:39.697Z] Removing intermediate container 8b490c0f02d8 [2021-11-16T00:12:39.697Z] ---> 044fd8e5edb0 [2021-11-16T00:12:39.697Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:12:39.697Z] ---> Running in f367a795e8d8 [2021-11-16T00:12:39.960Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:40.898Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:41.158Z] OK: 224 MiB in 56 packages [2021-11-16T00:12:41.419Z] Removing intermediate container f367a795e8d8 [2021-11-16T00:12:41.419Z] ---> 83a80bd82930 [2021-11-16T00:12:41.419Z] Step 8/23 : WORKDIR /device-snmp-go [2021-11-16T00:12:41.419Z] ---> Running in ca16d80a4d82 [2021-11-16T00:12:41.419Z] Removing intermediate container ca16d80a4d82 [2021-11-16T00:12:41.419Z] ---> d4e0fb93c508 [2021-11-16T00:12:41.419Z] Step 9/23 : COPY . . [2021-11-16T00:12:41.685Z] ---> 74aeae55abac [2021-11-16T00:12:41.685Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:12:41.685Z] ---> Running in 1b455253fd9a [2021-11-16T00:12:42.255Z] Removing intermediate container 1b455253fd9a [2021-11-16T00:12:42.255Z] ---> 2b5ae536b764 [2021-11-16T00:12:42.255Z] Step 11/23 : RUN ${MAKE} [2021-11-16T00:12:42.255Z] ---> Running in 5b22b9bf1945 [2021-11-16T00:12:42.520Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.6" -o cmd/device-snmp ./cmd [2021-11-16T00:12:54.856Z] Removing intermediate container 5b22b9bf1945 [2021-11-16T00:12:54.856Z] ---> 34ea05cedd79 [2021-11-16T00:12:54.856Z] Step 12/23 : FROM alpine:3.14 [2021-11-16T00:12:55.268Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-752 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2021-11-16T00:12:55.280Z] Running in /w/workspace/device-snmp-go/9 [Pipeline] { [Pipeline] checkout [2021-11-16T00:12:55.509Z] Selected Git installation does not exist. Using Default [2021-11-16T00:12:55.510Z] The recommended git tool is: NONE [2021-11-16T00:12:58.151Z] 3.14: Pulling from library/alpine [2021-11-16T00:12:58.151Z] 97518928ae5f: Pulling fs layer [2021-11-16T00:12:58.151Z] 97518928ae5f: Verifying Checksum [2021-11-16T00:12:58.151Z] 97518928ae5f: Download complete [2021-11-16T00:12:58.151Z] 97518928ae5f: Pull complete [2021-11-16T00:12:58.151Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T00:12:58.151Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T00:12:58.151Z] ---> 0a97eee8041e [2021-11-16T00:12:58.151Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T00:12:58.151Z] ---> Running in f4f84a0ef215 [2021-11-16T00:12:58.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:58.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:58.674Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T00:12:58.674Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T00:12:58.674Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T00:12:58.674Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T00:12:58.674Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T00:12:58.935Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T00:12:58.935Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T00:12:58.935Z] OK: 8 MiB in 20 packages [2021-11-16T00:12:59.196Z] Removing intermediate container f4f84a0ef215 [2021-11-16T00:12:59.196Z] ---> edc0592c6b94 [2021-11-16T00:12:59.196Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-11-16T00:12:59.457Z] ---> 13cd3ff02965 [2021-11-16T00:12:59.457Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-11-16T00:12:59.457Z] ---> c14a155db84e [2021-11-16T00:12:59.457Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-11-16T00:12:59.718Z] ---> 71c501764853 [2021-11-16T00:12:59.718Z] Step 17/23 : EXPOSE 59993 [2021-11-16T00:12:59.718Z] ---> Running in 0e1fb1f335ed [2021-11-16T00:12:59.718Z] Removing intermediate container 0e1fb1f335ed [2021-11-16T00:12:59.718Z] ---> 00202d5b2b55 [2021-11-16T00:12:59.718Z] Step 18/23 : EXPOSE 161 [2021-11-16T00:12:59.718Z] ---> Running in 1e947b67c1b0 [2021-11-16T00:12:59.977Z] Removing intermediate container 1e947b67c1b0 [2021-11-16T00:12:59.977Z] ---> 4c13e36250df [2021-11-16T00:12:59.977Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-11-16T00:12:59.977Z] ---> Running in 51eb69dceee1 [2021-11-16T00:12:59.977Z] Removing intermediate container 51eb69dceee1 [2021-11-16T00:12:59.977Z] ---> b443b09dc6a5 [2021-11-16T00:12:59.977Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T00:12:59.977Z] ---> Running in f50727deb154 [2021-11-16T00:13:00.237Z] Removing intermediate container f50727deb154 [2021-11-16T00:13:00.237Z] ---> da9878dea3bf [2021-11-16T00:13:00.237Z] Step 21/23 : LABEL arch=amd64 [2021-11-16T00:13:00.237Z] ---> Running in cbe6d685e922 [2021-11-16T00:13:00.237Z] Removing intermediate container cbe6d685e922 [2021-11-16T00:13:00.237Z] ---> 823055cb9c24 [2021-11-16T00:13:00.237Z] Step 22/23 : LABEL git_sha=d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:13:00.237Z] ---> Running in 3c6247934b40 [2021-11-16T00:13:00.237Z] Removing intermediate container 3c6247934b40 [2021-11-16T00:13:00.237Z] ---> 96287d312864 [2021-11-16T00:13:00.237Z] Step 23/23 : LABEL version=2.0.1-dev.6 [2021-11-16T00:13:00.497Z] ---> Running in c9286198eeca [2021-11-16T00:13:00.497Z] Removing intermediate container c9286198eeca [2021-11-16T00:13:00.497Z] ---> fb1e66e8e8c0 [2021-11-16T00:13:00.497Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T00:13:00.497Z] Successfully built fb1e66e8e8c0 [2021-11-16T00:13:00.497Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:13:00.913Z] provisioning config files... [2021-11-16T00:13:00.923Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config5198860211886520915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:13:01.230Z] ---> docker-login.sh [2021-11-16T00:13:01.231Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:13:01.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:01.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:01.231Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:01.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:01.231Z] [2021-11-16T00:13:01.231Z] Login Succeeded [2021-11-16T00:13:01.231Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:13:01.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:01.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:01.231Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:01.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:01.231Z] [2021-11-16T00:13:01.231Z] Login Succeeded [2021-11-16T00:13:01.231Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:13:01.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:01.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:01.496Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:01.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:01.496Z] [2021-11-16T00:13:01.496Z] Login Succeeded [2021-11-16T00:13:01.496Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:13:01.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:01.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:01.496Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:01.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:01.496Z] [2021-11-16T00:13:01.496Z] Login Succeeded [2021-11-16T00:13:01.496Z] docker.io [2021-11-16T00:13:01.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:02.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:02.020Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:02.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:02.020Z] [2021-11-16T00:13:02.020Z] Login Succeeded [2021-11-16T00:13:02.020Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:13:02.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:13:02.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:13:02.078Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2021-11-16T00:13:02.078Z] d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:13:02.078Z] latest [2021-11-16T00:13:02.078Z] 2.0.1-dev.6 [2021-11-16T00:13:02.078Z] d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:13:02.078Z] main [2021-11-16T00:13:02.078Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:02.171Z] using credential edgex-jenkins-ssh [2021-11-16T00:13:02.210Z] Cloning the remote Git repository [2021-11-16T00:13:02.393Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:02.685Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:13:02.685Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-16T00:13:02.685Z] eafd065785ef: Preparing [2021-11-16T00:13:02.685Z] f85f8eeb0e1f: Preparing [2021-11-16T00:13:02.685Z] 2c777d3433d1: Preparing [2021-11-16T00:13:02.685Z] ab1915ac2a42: Preparing [2021-11-16T00:13:02.685Z] 1a058d5342cc: Preparing [2021-11-16T00:13:02.685Z] 1a058d5342cc: Layer already exists [2021-11-16T00:13:02.945Z] eafd065785ef: Pushed [2021-11-16T00:13:02.945Z] f85f8eeb0e1f: Pushed [2021-11-16T00:13:02.945Z] ab1915ac2a42: Pushed [2021-11-16T00:13:02.275Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-16T00:13:02.490Z] > git init /w/workspace/device-snmp-go/9 # timeout=10 [2021-11-16T00:13:02.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-16T00:13:02.579Z] > git --version # timeout=10 [2021-11-16T00:13:02.609Z] > git --version # 'git version 2.17.1' [2021-11-16T00:13:02.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T00:13:02.739Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:13:03.541Z] Avoid second fetch [2021-11-16T00:13:03.541Z] Checking out Revision d6a2d4438fc175be031f77f972aa414c83442272 (main) [2021-11-16T00:13:03.889Z] 2c777d3433d1: Pushed [2021-11-16T00:13:03.889Z] d6a2d4438fc175be031f77f972aa414c83442272: digest: sha256:b308d55d0d120af282a52f343ca8e05158b1812cd3b516d0bd7c07ea3344d05e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:04.182Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:04.480Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-11-16T00:13:04.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-16T00:13:04.480Z] eafd065785ef: Preparing [2021-11-16T00:13:04.480Z] f85f8eeb0e1f: Preparing [2021-11-16T00:13:04.480Z] 2c777d3433d1: Preparing [2021-11-16T00:13:04.480Z] ab1915ac2a42: Preparing [2021-11-16T00:13:04.480Z] 1a058d5342cc: Preparing [2021-11-16T00:13:04.480Z] 2c777d3433d1: Layer already exists [2021-11-16T00:13:04.480Z] eafd065785ef: Layer already exists [2021-11-16T00:13:04.480Z] 1a058d5342cc: Layer already exists [2021-11-16T00:13:04.480Z] ab1915ac2a42: Layer already exists [2021-11-16T00:13:04.480Z] f85f8eeb0e1f: Layer already exists [2021-11-16T00:13:04.480Z] latest: digest: sha256:b308d55d0d120af282a52f343ca8e05158b1812cd3b516d0bd7c07ea3344d05e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:03.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-16T00:13:03.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:13:03.565Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T00:13:03.583Z] > git checkout -f d6a2d4438fc175be031f77f972aa414c83442272 # timeout=10 [2021-11-16T00:13:04.780Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:05.072Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.6 [2021-11-16T00:13:05.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-16T00:13:05.072Z] eafd065785ef: Preparing [2021-11-16T00:13:05.072Z] f85f8eeb0e1f: Preparing [2021-11-16T00:13:05.072Z] 2c777d3433d1: Preparing [2021-11-16T00:13:05.072Z] ab1915ac2a42: Preparing [2021-11-16T00:13:05.072Z] 1a058d5342cc: Preparing [2021-11-16T00:13:05.072Z] 1a058d5342cc: Layer already exists [2021-11-16T00:13:05.072Z] ab1915ac2a42: Layer already exists [2021-11-16T00:13:05.072Z] 2c777d3433d1: Layer already exists [2021-11-16T00:13:05.072Z] eafd065785ef: Layer already exists [2021-11-16T00:13:05.072Z] f85f8eeb0e1f: Layer already exists [2021-11-16T00:13:05.072Z] 2.0.1-dev.6: digest: sha256:b308d55d0d120af282a52f343ca8e05158b1812cd3b516d0bd7c07ea3344d05e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:05.370Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:05.664Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:13:05.664Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-16T00:13:05.664Z] eafd065785ef: Preparing [2021-11-16T00:13:05.664Z] f85f8eeb0e1f: Preparing [2021-11-16T00:13:05.664Z] 2c777d3433d1: Preparing [2021-11-16T00:13:05.664Z] ab1915ac2a42: Preparing [2021-11-16T00:13:05.664Z] 1a058d5342cc: Preparing [2021-11-16T00:13:05.664Z] ab1915ac2a42: Layer already exists [2021-11-16T00:13:05.664Z] 2c777d3433d1: Layer already exists [2021-11-16T00:13:05.664Z] f85f8eeb0e1f: Layer already exists [2021-11-16T00:13:05.664Z] 1a058d5342cc: Layer already exists [2021-11-16T00:13:05.664Z] eafd065785ef: Layer already exists [2021-11-16T00:13:05.664Z] d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6: digest: sha256:b308d55d0d120af282a52f343ca8e05158b1812cd3b516d0bd7c07ea3344d05e size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:05.964Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:06.260Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2021-11-16T00:13:06.260Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2021-11-16T00:13:06.260Z] eafd065785ef: Preparing [2021-11-16T00:13:06.260Z] f85f8eeb0e1f: Preparing [2021-11-16T00:13:06.260Z] 2c777d3433d1: Preparing [2021-11-16T00:13:06.260Z] ab1915ac2a42: Preparing [2021-11-16T00:13:06.260Z] 1a058d5342cc: Preparing [2021-11-16T00:13:06.260Z] 1a058d5342cc: Layer already exists [2021-11-16T00:13:06.260Z] f85f8eeb0e1f: Layer already exists [2021-11-16T00:13:06.260Z] eafd065785ef: Layer already exists [2021-11-16T00:13:06.260Z] 2c777d3433d1: Layer already exists [2021-11-16T00:13:06.260Z] ab1915ac2a42: Layer already exists [2021-11-16T00:13:06.260Z] main: digest: sha256:b308d55d0d120af282a52f343ca8e05158b1812cd3b516d0bd7c07ea3344d05e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:13:06.298Z] ===================================================== [Pipeline] echo [2021-11-16T00:13:06.307Z] taggedImages: [2021-11-16T00:13:06.307Z] - nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:13:06.307Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2021-11-16T00:13:06.307Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.0.1-dev.6 [2021-11-16T00:13:06.307Z] - nexus3.edgexfoundry.org:10004/device-snmp:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:13:06.307Z] - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:06.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:13:06.769Z] [2021-11-16T00:13:06.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:07.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:13:07.083Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T00:13:07.083Z] b4d181a07f80: Pulling fs layer [2021-11-16T00:13:07.083Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T00:13:07.083Z] ed53099fbce6: Pulling fs layer [2021-11-16T00:13:07.083Z] dc539afda2c1: Pulling fs layer [2021-11-16T00:13:07.083Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T00:13:07.083Z] 9065ff56babe: Pulling fs layer [2021-11-16T00:13:07.083Z] d287ab97295c: Pulling fs layer [2021-11-16T00:13:07.083Z] dc539afda2c1: Waiting [2021-11-16T00:13:07.083Z] 77bc0d833cb6: Waiting [2021-11-16T00:13:07.083Z] 9065ff56babe: Waiting [2021-11-16T00:13:07.083Z] d287ab97295c: Waiting [2021-11-16T00:13:07.083Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T00:13:07.083Z] a1111a8f2ec3: Download complete [2021-11-16T00:13:07.083Z] dc539afda2c1: Verifying Checksum [2021-11-16T00:13:07.083Z] dc539afda2c1: Download complete [2021-11-16T00:13:07.343Z] ed53099fbce6: Verifying Checksum [2021-11-16T00:13:07.343Z] ed53099fbce6: Download complete [2021-11-16T00:13:07.343Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T00:13:07.343Z] 77bc0d833cb6: Download complete [2021-11-16T00:13:07.343Z] 9065ff56babe: Verifying Checksum [2021-11-16T00:13:07.343Z] 9065ff56babe: Download complete [2021-11-16T00:13:07.343Z] b4d181a07f80: Verifying Checksum [2021-11-16T00:13:07.343Z] b4d181a07f80: Download complete [2021-11-16T00:13:07.909Z] Commit message: "Merge pull request #128 from lenny-intel/released-sdk" [2021-11-16T00:13:07.917Z] d287ab97295c: Verifying Checksum [2021-11-16T00:13:07.917Z] d287ab97295c: Download complete [2021-11-16T00:13:08.233Z] [2021-11-16T00:13:08.233Z] GitHub has been notified of this commit’s build result [2021-11-16T00:13:08.233Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:13:08.836Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-16T00:13:08.836Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T00:13:08.836Z] Dload Upload Total Spent Left Speed [2021-11-16T00:13:08.836Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [2021-11-16T00:13:08.877Z] b4d181a07f80: Pull complete [Pipeline] sh [2021-11-16T00:13:09.148Z] a1111a8f2ec3: Pull complete [2021-11-16T00:13:09.283Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-16T00:13:09.633Z] + + sudo tee /etc/docker/daemon.new [2021-11-16T00:13:09.633Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-16T00:13:09.633Z] { [2021-11-16T00:13:09.633Z] "registry-mirrors": [ [2021-11-16T00:13:09.633Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-16T00:13:09.633Z] ], [2021-11-16T00:13:09.633Z] "bip": "10.250.0.254/24", [2021-11-16T00:13:09.633Z] "hosts": [ [2021-11-16T00:13:09.633Z] "tcp://0.0.0.0:5555", [2021-11-16T00:13:09.633Z] "unix:///var/run/docker.sock" [2021-11-16T00:13:09.633Z] ], [2021-11-16T00:13:09.633Z] "mtu": 1458, [2021-11-16T00:13:09.633Z] "selinux-enabled": true, [2021-11-16T00:13:09.633Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-16T00:13:09.633Z] } [Pipeline] sh [2021-11-16T00:13:09.728Z] ed53099fbce6: Pull complete [2021-11-16T00:13:09.728Z] dc539afda2c1: Pull complete [2021-11-16T00:13:09.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-16T00:13:10.300Z] 77bc0d833cb6: Pull complete [2021-11-16T00:13:10.300Z] 9065ff56babe: Pull complete [2021-11-16T00:13:10.344Z] + sudo service docker restart [2021-11-16T00:13:15.604Z] d287ab97295c: Pull complete [2021-11-16T00:13:15.604Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T00:13:15.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:13:15.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T00:13:15.680Z] prd-centos7-docker-4c-2g-748 does not seem to be running inside a container [2021-11-16T00:13:15.724Z] $ 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/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-16T00:13:18.120Z] $ docker top f6ba661deedef47d398490bf88b7658d803aef2b6c989fbb2e7a1f6f81eacf38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:13:18.509Z] ---> job-cost.sh [2021-11-16T00:13:18.509Z] lf-activate-venv: SKIPPING [2021-11-16T00:13:18.509Z] INFO: No Stack... [2021-11-16T00:13:18.768Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T00:13:19.027Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T00:13:19.318Z] + cat /w/workspace/device-snmp-go/9/archives/cost.csv [2021-11-16T00:13:19.318Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T00:13:19.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [2021-11-16T00:13:19.350Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] did not exist. Created. [2021-11-16T00:13:19.350Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T00:13:19.654Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-16T00:13:19.688Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T00:13:19.695Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T00:13:19.715Z] $ docker stop --time=1 f6ba661deedef47d398490bf88b7658d803aef2b6c989fbb2e7a1f6f81eacf38 [2021-11-16T00:13:20.872Z] $ docker rm -f f6ba661deedef47d398490bf88b7658d803aef2b6c989fbb2e7a1f6f81eacf38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:13:28.683Z] provisioning config files... [2021-11-16T00:13:28.707Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config379627564981543737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:13:29.063Z] ---> docker-login.sh [2021-11-16T00:13:29.063Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:13:29.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:30.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:30.253Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:30.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:30.253Z] [2021-11-16T00:13:30.253Z] Login Succeeded [2021-11-16T00:13:30.253Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:13:30.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:30.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:30.797Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:30.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:30.797Z] [2021-11-16T00:13:30.797Z] Login Succeeded [2021-11-16T00:13:30.797Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:13:31.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:31.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:31.461Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:31.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:31.461Z] [2021-11-16T00:13:31.461Z] Login Succeeded [2021-11-16T00:13:31.461Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:13:31.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:31.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:31.735Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:31.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:31.735Z] [2021-11-16T00:13:31.735Z] Login Succeeded [2021-11-16T00:13:31.735Z] docker.io [2021-11-16T00:13:32.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:32.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:32.934Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:32.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:32.934Z] [2021-11-16T00:13:32.934Z] Login Succeeded [2021-11-16T00:13:32.934Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:13:32.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T00:13:33.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:13:33.296Z] ========================================================= [2021-11-16T00:13:33.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-16T00:13:33.296Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:33.647Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-16T00:13:33.925Z] Sending build context to Docker daemon 468kB [2021-11-16T00:13:34.203Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:13:34.203Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T00:13:34.477Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-16T00:13:34.477Z] 552d1f2373af: Pulling fs layer [2021-11-16T00:13:34.477Z] ea3f2d53f512: Pulling fs layer [2021-11-16T00:13:34.477Z] 9e70ebbbe112: Pulling fs layer [2021-11-16T00:13:34.477Z] 7a9cfe048b4a: Pulling fs layer [2021-11-16T00:13:34.477Z] 72dc09318566: Pulling fs layer [2021-11-16T00:13:34.477Z] f4f7b4309257: Pulling fs layer [2021-11-16T00:13:34.477Z] 0ac9a79272e3: Pulling fs layer [2021-11-16T00:13:34.477Z] b78e95d17946: Pulling fs layer [2021-11-16T00:13:34.477Z] 7a9cfe048b4a: Waiting [2021-11-16T00:13:34.477Z] 72dc09318566: Waiting [2021-11-16T00:13:34.477Z] f4f7b4309257: Waiting [2021-11-16T00:13:34.477Z] 0ac9a79272e3: Waiting [2021-11-16T00:13:34.477Z] b78e95d17946: Waiting [2021-11-16T00:13:34.477Z] 9e70ebbbe112: Download complete [2021-11-16T00:13:34.477Z] ea3f2d53f512: Verifying Checksum [2021-11-16T00:13:34.477Z] ea3f2d53f512: Download complete [2021-11-16T00:13:34.477Z] 72dc09318566: Verifying Checksum [2021-11-16T00:13:34.477Z] 72dc09318566: Download complete [2021-11-16T00:13:34.477Z] f4f7b4309257: Verifying Checksum [2021-11-16T00:13:34.477Z] f4f7b4309257: Download complete [2021-11-16T00:13:34.477Z] 552d1f2373af: Verifying Checksum [2021-11-16T00:13:34.477Z] 552d1f2373af: Download complete [2021-11-16T00:13:34.477Z] 0ac9a79272e3: Verifying Checksum [2021-11-16T00:13:34.477Z] 0ac9a79272e3: Download complete [2021-11-16T00:13:35.462Z] 552d1f2373af: Pull complete [2021-11-16T00:13:36.068Z] ea3f2d53f512: Pull complete [2021-11-16T00:13:36.347Z] 9e70ebbbe112: Pull complete [2021-11-16T00:13:36.619Z] b78e95d17946: Verifying Checksum [2021-11-16T00:13:36.619Z] b78e95d17946: Download complete [2021-11-16T00:13:36.892Z] 7a9cfe048b4a: Verifying Checksum [2021-11-16T00:13:36.892Z] 7a9cfe048b4a: Download complete [2021-11-16T00:13:47.041Z] 7a9cfe048b4a: Pull complete [2021-11-16T00:13:47.041Z] 72dc09318566: Pull complete [2021-11-16T00:13:47.041Z] f4f7b4309257: Pull complete [2021-11-16T00:13:47.647Z] 0ac9a79272e3: Pull complete [2021-11-16T00:13:54.401Z] b78e95d17946: Pull complete [2021-11-16T00:13:54.401Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-16T00:13:54.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-16T00:13:54.401Z] ---> 8b459fc5aaf0 [2021-11-16T00:13:54.401Z] Step 3/11 : ARG MAKE='make build' [2021-11-16T00:13:55.843Z] ---> Running in 95908cf78faa [2021-11-16T00:13:56.442Z] Removing intermediate container 95908cf78faa [2021-11-16T00:13:56.443Z] ---> 39485ff63000 [2021-11-16T00:13:56.443Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:13:56.443Z] ---> Running in 3facb75f7b40 [2021-11-16T00:13:57.045Z] Removing intermediate container 3facb75f7b40 [2021-11-16T00:13:57.046Z] ---> 6cf026e4d195 [2021-11-16T00:13:57.046Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:13:57.046Z] ---> Running in 6c07c924ec66 [2021-11-16T00:13:57.648Z] Removing intermediate container 6c07c924ec66 [2021-11-16T00:13:57.648Z] ---> e01cce8b991f [2021-11-16T00:13:57.648Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:13:57.648Z] ---> Running in fc8a9477d02c [2021-11-16T00:14:00.274Z] Removing intermediate container fc8a9477d02c [2021-11-16T00:14:00.274Z] ---> 56472ef0c6a8 [2021-11-16T00:14:00.274Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:14:00.274Z] ---> Running in 16023ae0e67d [2021-11-16T00:14:01.259Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:14:02.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:14:03.231Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T00:14:03.507Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T00:14:03.507Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T00:14:03.782Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T00:14:03.782Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T00:14:03.782Z] OK: 223 MiB in 56 packages [2021-11-16T00:14:05.250Z] Removing intermediate container 16023ae0e67d [2021-11-16T00:14:05.250Z] ---> c317bc4f9239 [2021-11-16T00:14:05.250Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-16T00:14:05.250Z] ---> Running in 81c0400467d5 [2021-11-16T00:14:05.530Z] Removing intermediate container 81c0400467d5 [2021-11-16T00:14:05.530Z] ---> d9b621149f45 [2021-11-16T00:14:05.530Z] Step 9/11 : COPY . . [2021-11-16T00:14:06.984Z] ---> fe769f6c5360 [2021-11-16T00:14:06.984Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:14:06.985Z] ---> Running in debd8436c698 [2021-11-16T00:15:28.851Z] Removing intermediate container debd8436c698 [2021-11-16T00:15:28.851Z] ---> 9fc6a39ded91 [2021-11-16T00:15:28.851Z] Step 11/11 : RUN ${MAKE} [2021-11-16T00:15:28.851Z] ---> Running in 16ba74fcd21c [2021-11-16T00:15:29.128Z] noop [2021-11-16T00:15:30.118Z] Removing intermediate container 16ba74fcd21c [2021-11-16T00:15:30.118Z] ---> 960ff6c72d4f [2021-11-16T00:15:30.118Z] Successfully built 960ff6c72d4f [2021-11-16T00:15:30.118Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:15:30.484Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T00:15:30.484Z] . [Pipeline] withDockerContainer [2021-11-16T00:15:30.820Z] prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container [2021-11-16T00:15:30.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-16T00:15:32.697Z] $ docker top 82c1a2ef63df33beca4141fe3501e01bfa8443d11b3a1b35ad1b826f1d7acd94 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:15:33.724Z] + go version [2021-11-16T00:15:33.724Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-16T00:15:33.755Z] $ docker stop --time=1 82c1a2ef63df33beca4141fe3501e01bfa8443d11b3a1b35ad1b826f1d7acd94 [2021-11-16T00:15:35.586Z] $ docker rm -f 82c1a2ef63df33beca4141fe3501e01bfa8443d11b3a1b35ad1b826f1d7acd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:15:36.348Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T00:15:36.348Z] . [Pipeline] withDockerContainer [2021-11-16T00:15:36.626Z] prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container [2021-11-16T00:15:36.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-16T00:15:38.419Z] $ docker top 2fe541f1c22e48717e0fc5421f38b6cc65862a6a071b12d38a58e51a1f26e011 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T00:15:39.452Z] + make test [2021-11-16T00:15:39.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-16T00:15:41.468Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-16T00:16:49.594Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-16T00:16:49.594Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2021-11-16T00:16:49.594Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T00:17:16.457Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T00:17:16.457Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T00:17:16.457Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T00:17:16.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T00:17:16.503Z] $ docker stop --time=1 2fe541f1c22e48717e0fc5421f38b6cc65862a6a071b12d38a58e51a1f26e011 [2021-11-16T00:17:18.427Z] $ docker rm -f 2fe541f1c22e48717e0fc5421f38b6cc65862a6a071b12d38a58e51a1f26e011 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:17:19.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T00:17:19.384Z] Warning: overwriting stash ‘coverage-report’ [2021-11-16T00:17:19.932Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:17:20.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T00:17:20.862Z] + ls -al . [2021-11-16T00:17:20.862Z] total 172 [2021-11-16T00:17:20.862Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 00:17 . [2021-11-16T00:17:20.862Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 00:13 .. [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 6 Nov 16 00:13 .dockerignore [2021-11-16T00:17:20.862Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 00:13 .git [2021-11-16T00:17:20.862Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 00:13 .github [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 262 Nov 16 00:13 .gitignore [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 6926 Nov 16 00:13 Attribution.txt [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 4401 Nov 16 00:13 CHANGELOG.md [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 1493 Nov 16 00:13 Dockerfile [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 00:13 GOVERNANCE.md [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 656 Nov 16 00:13 Jenkinsfile [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 00:13 LICENSE [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 1057 Nov 16 00:13 Makefile [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 00:13 OWNERS.md [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 9073 Nov 16 00:13 README.md [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 16 00:10 VERSION [2021-11-16T00:17:20.862Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 00:13 bin [2021-11-16T00:17:20.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 00:13 cmd [2021-11-16T00:17:20.862Z] -rw-r--r-- 1 jenkins jenkins 7631 Nov 16 00:16 coverage.out [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 208 Nov 16 00:13 go.mod [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 49477 Nov 16 00:13 go.sum [2021-11-16T00:17:20.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 00:13 internal [2021-11-16T00:17:20.862Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 00:13 snap [2021-11-16T00:17:20.862Z] -rw-rw-r-- 1 jenkins jenkins 209 Nov 16 00:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:17:21.211Z] + 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=d6a2d4438fc175be031f77f972aa414c83442272 --label arch=arm64 --label version=2.0.1-dev.6 . [2021-11-16T00:17:21.806Z] Sending build context to Docker daemon 476.2kB [2021-11-16T00:17:21.806Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:17:21.806Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-16T00:17:21.806Z] ---> 960ff6c72d4f [2021-11-16T00:17:21.806Z] Step 3/23 : ARG MAKE='make build' [2021-11-16T00:17:21.806Z] ---> Running in 1ddfbd08fd1b [2021-11-16T00:17:22.405Z] Removing intermediate container 1ddfbd08fd1b [2021-11-16T00:17:22.405Z] ---> 175edf09e94c [2021-11-16T00:17:22.405Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:17:22.405Z] ---> Running in 62142281e63d [2021-11-16T00:17:23.008Z] Removing intermediate container 62142281e63d [2021-11-16T00:17:23.008Z] ---> 6dd046ea2100 [2021-11-16T00:17:23.008Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:17:23.008Z] ---> Running in abe16c29b520 [2021-11-16T00:17:23.286Z] Removing intermediate container abe16c29b520 [2021-11-16T00:17:23.286Z] ---> 80049429ada5 [2021-11-16T00:17:23.286Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:17:23.562Z] ---> Running in 92925313adb4 [2021-11-16T00:17:25.550Z] Removing intermediate container 92925313adb4 [2021-11-16T00:17:25.550Z] ---> 44887814e050 [2021-11-16T00:17:25.550Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:17:25.550Z] ---> Running in 42e0da29a2dc [2021-11-16T00:17:26.985Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:17:27.963Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:17:28.944Z] OK: 223 MiB in 56 packages [2021-11-16T00:17:29.926Z] Removing intermediate container 42e0da29a2dc [2021-11-16T00:17:29.926Z] ---> a129b1ea0b64 [2021-11-16T00:17:29.926Z] Step 8/23 : WORKDIR /device-snmp-go [2021-11-16T00:17:29.926Z] ---> Running in 08786b2dce10 [2021-11-16T00:17:30.523Z] Removing intermediate container 08786b2dce10 [2021-11-16T00:17:30.523Z] ---> fca0773c1b18 [2021-11-16T00:17:30.523Z] Step 9/23 : COPY . . [2021-11-16T00:17:31.549Z] ---> 3a31ae6117de [2021-11-16T00:17:31.549Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:17:31.549Z] ---> Running in bb16103001d0 [2021-11-16T00:17:34.177Z] Removing intermediate container bb16103001d0 [2021-11-16T00:17:34.177Z] ---> 830d875d7f01 [2021-11-16T00:17:34.177Z] Step 11/23 : RUN ${MAKE} [2021-11-16T00:17:34.177Z] ---> Running in 386c59cd1ca9 [2021-11-16T00:17:35.618Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.0.1-dev.6" -o cmd/device-snmp ./cmd [2021-11-16T00:18:22.645Z] Removing intermediate container 386c59cd1ca9 [2021-11-16T00:18:22.645Z] ---> e6b8358ab92b [2021-11-16T00:18:22.645Z] Step 12/23 : FROM alpine:3.14 [2021-11-16T00:18:23.618Z] 3.14: Pulling from library/alpine [2021-11-16T00:18:23.619Z] be307f383ecc: Pulling fs layer [2021-11-16T00:18:23.893Z] be307f383ecc: Verifying Checksum [2021-11-16T00:18:23.893Z] be307f383ecc: Download complete [2021-11-16T00:18:24.508Z] be307f383ecc: Pull complete [2021-11-16T00:18:24.508Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T00:18:24.508Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T00:18:24.508Z] ---> 5b8b7b635229 [2021-11-16T00:18:24.508Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T00:18:24.780Z] ---> Running in 8d0e99fa26cd [2021-11-16T00:18:25.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:18:26.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:18:26.996Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T00:18:26.996Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T00:18:26.996Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T00:18:26.996Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T00:18:26.996Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T00:18:26.996Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T00:18:26.996Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T00:18:26.996Z] OK: 8 MiB in 20 packages [2021-11-16T00:18:27.984Z] Removing intermediate container 8d0e99fa26cd [2021-11-16T00:18:27.984Z] ---> 7989608117bd [2021-11-16T00:18:27.984Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2021-11-16T00:18:29.422Z] ---> f4c2aff77b76 [2021-11-16T00:18:29.422Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2021-11-16T00:18:30.022Z] ---> 3de177a2dd57 [2021-11-16T00:18:30.022Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2021-11-16T00:18:31.004Z] ---> 06992a359585 [2021-11-16T00:18:31.004Z] Step 17/23 : EXPOSE 59993 [2021-11-16T00:18:31.004Z] ---> Running in 460e5882519d [2021-11-16T00:18:31.603Z] Removing intermediate container 460e5882519d [2021-11-16T00:18:31.603Z] ---> 8ef58e4030e6 [2021-11-16T00:18:31.603Z] Step 18/23 : EXPOSE 161 [2021-11-16T00:18:31.603Z] ---> Running in 1e4c802be248 [2021-11-16T00:18:31.875Z] Removing intermediate container 1e4c802be248 [2021-11-16T00:18:31.875Z] ---> dc76d4013b9b [2021-11-16T00:18:31.875Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2021-11-16T00:18:32.148Z] ---> Running in 739ad227fd72 [2021-11-16T00:18:32.421Z] Removing intermediate container 739ad227fd72 [2021-11-16T00:18:32.421Z] ---> f9f75320b9b0 [2021-11-16T00:18:32.421Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-16T00:18:32.699Z] ---> Running in 8c441d9a8aab [2021-11-16T00:18:32.975Z] Removing intermediate container 8c441d9a8aab [2021-11-16T00:18:32.975Z] ---> 6e54c490b858 [2021-11-16T00:18:32.975Z] Step 21/23 : LABEL arch=arm64 [2021-11-16T00:18:33.249Z] ---> Running in b801a5faec95 [2021-11-16T00:18:33.523Z] Removing intermediate container b801a5faec95 [2021-11-16T00:18:33.523Z] ---> 7ccf0ed2a09c [2021-11-16T00:18:33.523Z] Step 22/23 : LABEL git_sha=d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:18:33.798Z] ---> Running in 6b028fac3040 [2021-11-16T00:18:34.070Z] Removing intermediate container 6b028fac3040 [2021-11-16T00:18:34.070Z] ---> 757a40ddd6ce [2021-11-16T00:18:34.070Z] Step 23/23 : LABEL version=2.0.1-dev.6 [2021-11-16T00:18:34.348Z] ---> Running in 2c6e5f1acfab [2021-11-16T00:18:34.621Z] Removing intermediate container 2c6e5f1acfab [2021-11-16T00:18:34.621Z] ---> 887e7aac343f [2021-11-16T00:18:34.621Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T00:18:34.621Z] Successfully built 887e7aac343f [2021-11-16T00:18:34.621Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:18:34.768Z] provisioning config files... [2021-11-16T00:18:34.789Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/9@tmp/config6140298174202908795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:18:35.147Z] ---> docker-login.sh [2021-11-16T00:18:35.147Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:18:35.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:35.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:35.705Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:35.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:35.705Z] [2021-11-16T00:18:35.705Z] Login Succeeded [2021-11-16T00:18:35.705Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:18:35.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:36.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:36.260Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:36.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:36.260Z] [2021-11-16T00:18:36.260Z] Login Succeeded [2021-11-16T00:18:36.260Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:18:36.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:36.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:36.861Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:36.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:36.861Z] [2021-11-16T00:18:36.861Z] Login Succeeded [2021-11-16T00:18:36.861Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:18:37.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:37.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:37.737Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:37.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:37.737Z] [2021-11-16T00:18:37.737Z] Login Succeeded [2021-11-16T00:18:37.737Z] docker.io [2021-11-16T00:18:38.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:38.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:38.613Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:38.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:38.613Z] [2021-11-16T00:18:38.614Z] Login Succeeded [2021-11-16T00:18:38.614Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:18:38.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:18:38.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:18:38.679Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2021-11-16T00:18:38.679Z] d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:18:38.679Z] latest [2021-11-16T00:18:38.679Z] 2.0.1-dev.6 [2021-11-16T00:18:38.679Z] d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:18:38.679Z] main [2021-11-16T00:18:38.679Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:39.041Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:39.402Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:18:39.402Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-16T00:18:39.402Z] ce3b91cf3026: Preparing [2021-11-16T00:18:39.402Z] 8b93f01c9e2c: Preparing [2021-11-16T00:18:39.402Z] 607b218d149a: Preparing [2021-11-16T00:18:39.402Z] 4f4d44271019: Preparing [2021-11-16T00:18:39.402Z] 62170e181a92: Preparing [2021-11-16T00:18:39.680Z] 62170e181a92: Layer already exists [2021-11-16T00:18:39.680Z] 8b93f01c9e2c: Pushed [2021-11-16T00:18:39.680Z] ce3b91cf3026: Pushed [2021-11-16T00:18:40.670Z] 4f4d44271019: Pushed [2021-11-16T00:18:43.303Z] 607b218d149a: Pushed [2021-11-16T00:18:43.303Z] d6a2d4438fc175be031f77f972aa414c83442272: digest: sha256:eba7dff58f771e288ccc118e25eedd648f27a6dadc57b431f76052235e9dae60 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:43.657Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:44.017Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-11-16T00:18:44.018Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-16T00:18:44.018Z] ce3b91cf3026: Preparing [2021-11-16T00:18:44.018Z] 8b93f01c9e2c: Preparing [2021-11-16T00:18:44.018Z] 607b218d149a: Preparing [2021-11-16T00:18:44.018Z] 4f4d44271019: Preparing [2021-11-16T00:18:44.018Z] 62170e181a92: Preparing [2021-11-16T00:18:44.290Z] 62170e181a92: Layer already exists [2021-11-16T00:18:44.290Z] 607b218d149a: Layer already exists [2021-11-16T00:18:44.290Z] 4f4d44271019: Layer already exists [2021-11-16T00:18:44.290Z] 8b93f01c9e2c: Layer already exists [2021-11-16T00:18:44.290Z] ce3b91cf3026: Layer already exists [2021-11-16T00:18:44.290Z] latest: digest: sha256:eba7dff58f771e288ccc118e25eedd648f27a6dadc57b431f76052235e9dae60 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:44.641Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:44.993Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.6 [2021-11-16T00:18:44.993Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-16T00:18:44.993Z] ce3b91cf3026: Preparing [2021-11-16T00:18:44.993Z] 8b93f01c9e2c: Preparing [2021-11-16T00:18:44.993Z] 607b218d149a: Preparing [2021-11-16T00:18:44.993Z] 4f4d44271019: Preparing [2021-11-16T00:18:44.993Z] 62170e181a92: Preparing [2021-11-16T00:18:45.268Z] 62170e181a92: Layer already exists [2021-11-16T00:18:45.268Z] 4f4d44271019: Layer already exists [2021-11-16T00:18:45.268Z] 8b93f01c9e2c: Layer already exists [2021-11-16T00:18:45.268Z] ce3b91cf3026: Layer already exists [2021-11-16T00:18:45.268Z] 607b218d149a: Layer already exists [2021-11-16T00:18:45.268Z] 2.0.1-dev.6: digest: sha256:eba7dff58f771e288ccc118e25eedd648f27a6dadc57b431f76052235e9dae60 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:45.625Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:45.981Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:18:45.981Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-16T00:18:45.981Z] ce3b91cf3026: Preparing [2021-11-16T00:18:45.981Z] 8b93f01c9e2c: Preparing [2021-11-16T00:18:45.981Z] 607b218d149a: Preparing [2021-11-16T00:18:45.981Z] 4f4d44271019: Preparing [2021-11-16T00:18:45.981Z] 62170e181a92: Preparing [2021-11-16T00:18:46.263Z] 607b218d149a: Layer already exists [2021-11-16T00:18:46.264Z] ce3b91cf3026: Layer already exists [2021-11-16T00:18:46.264Z] 8b93f01c9e2c: Layer already exists [2021-11-16T00:18:46.264Z] 4f4d44271019: Layer already exists [2021-11-16T00:18:46.264Z] 62170e181a92: Layer already exists [2021-11-16T00:18:46.264Z] d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6: digest: sha256:eba7dff58f771e288ccc118e25eedd648f27a6dadc57b431f76052235e9dae60 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:46.618Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:46.975Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2021-11-16T00:18:46.976Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2021-11-16T00:18:46.976Z] ce3b91cf3026: Preparing [2021-11-16T00:18:46.976Z] 8b93f01c9e2c: Preparing [2021-11-16T00:18:46.976Z] 607b218d149a: Preparing [2021-11-16T00:18:46.976Z] 4f4d44271019: Preparing [2021-11-16T00:18:46.976Z] 62170e181a92: Preparing [2021-11-16T00:18:47.250Z] 8b93f01c9e2c: Layer already exists [2021-11-16T00:18:47.250Z] 607b218d149a: Layer already exists [2021-11-16T00:18:47.250Z] 62170e181a92: Layer already exists [2021-11-16T00:18:47.250Z] 4f4d44271019: Layer already exists [2021-11-16T00:18:47.250Z] ce3b91cf3026: Layer already exists [2021-11-16T00:18:47.250Z] main: digest: sha256:eba7dff58f771e288ccc118e25eedd648f27a6dadc57b431f76052235e9dae60 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:18:47.298Z] ===================================================== [Pipeline] echo [2021-11-16T00:18:47.304Z] taggedImages: [2021-11-16T00:18:47.304Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272 [2021-11-16T00:18:47.304Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2021-11-16T00:18:47.304Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.0.1-dev.6 [2021-11-16T00:18:47.304Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d6a2d4438fc175be031f77f972aa414c83442272-2.0.1-dev.6 [2021-11-16T00:18:47.304Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:47.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:18:47.770Z] [2021-11-16T00:18:47.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:48.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:18:48.688Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-16T00:18:48.688Z] 448f6bf000e3: Pulling fs layer [2021-11-16T00:18:48.688Z] f757da607395: Pulling fs layer [2021-11-16T00:18:48.688Z] 05883995daec: Pulling fs layer [2021-11-16T00:18:48.688Z] 8603b9c90790: Pulling fs layer [2021-11-16T00:18:48.688Z] 1560dd03e051: Pulling fs layer [2021-11-16T00:18:48.688Z] 27f5ce0e4adf: Pulling fs layer [2021-11-16T00:18:48.688Z] c2d8d7efcc4b: Pulling fs layer [2021-11-16T00:18:48.688Z] 1560dd03e051: Waiting [2021-11-16T00:18:48.688Z] 27f5ce0e4adf: Waiting [2021-11-16T00:18:48.688Z] c2d8d7efcc4b: Waiting [2021-11-16T00:18:48.688Z] 8603b9c90790: Waiting [2021-11-16T00:18:48.688Z] f757da607395: Verifying Checksum [2021-11-16T00:18:48.688Z] f757da607395: Download complete [2021-11-16T00:18:48.688Z] 8603b9c90790: Verifying Checksum [2021-11-16T00:18:48.688Z] 8603b9c90790: Download complete [2021-11-16T00:18:48.965Z] 1560dd03e051: Retrying in 5 seconds [2021-11-16T00:18:48.965Z] 05883995daec: Download complete [2021-11-16T00:18:48.965Z] 27f5ce0e4adf: Verifying Checksum [2021-11-16T00:18:49.238Z] 448f6bf000e3: Verifying Checksum [2021-11-16T00:18:49.238Z] 448f6bf000e3: Download complete [2021-11-16T00:18:49.842Z] 1560dd03e051: Retrying in 4 seconds [2021-11-16T00:18:50.826Z] 1560dd03e051: Retrying in 3 seconds [2021-11-16T00:18:51.816Z] 1560dd03e051: Retrying in 2 seconds [2021-11-16T00:18:52.091Z] c2d8d7efcc4b: Verifying Checksum [2021-11-16T00:18:52.091Z] c2d8d7efcc4b: Download complete [2021-11-16T00:18:53.079Z] 1560dd03e051: Retrying in 1 second [2021-11-16T00:18:53.353Z] 448f6bf000e3: Pull complete [2021-11-16T00:18:53.955Z] 1560dd03e051: Retrying in 10 seconds [2021-11-16T00:18:53.955Z] f757da607395: Pull complete [2021-11-16T00:18:54.940Z] 1560dd03e051: Retrying in 9 seconds [2021-11-16T00:18:55.541Z] 05883995daec: Pull complete [2021-11-16T00:18:56.144Z] 1560dd03e051: Retrying in 8 seconds [2021-11-16T00:18:56.144Z] 8603b9c90790: Pull complete [2021-11-16T00:18:57.127Z] 1560dd03e051: Retrying in 7 seconds [2021-11-16T00:18:58.103Z] 1560dd03e051: Retrying in 6 seconds [2021-11-16T00:18:59.083Z] 1560dd03e051: Retrying in 5 seconds [2021-11-16T00:19:00.065Z] 1560dd03e051: Retrying in 4 seconds [2021-11-16T00:19:01.042Z] 1560dd03e051: Retrying in 3 seconds [2021-11-16T00:19:02.023Z] 1560dd03e051: Retrying in 2 seconds [2021-11-16T00:19:03.008Z] 1560dd03e051: Retrying in 1 second [2021-11-16T00:19:03.988Z] 1560dd03e051: Verifying Checksum [2021-11-16T00:19:03.988Z] 1560dd03e051: Download complete [2021-11-16T00:19:04.965Z] 1560dd03e051: Pull complete [2021-11-16T00:19:05.238Z] 27f5ce0e4adf: Pull complete [2021-11-16T00:19:20.322Z] c2d8d7efcc4b: Pull complete [2021-11-16T00:19:20.322Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-16T00:19:20.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:19:20.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-16T00:19:20.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-752 does not seem to be running inside a container [2021-11-16T00:19:20.658Z] $ 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/9 -v /w/workspace/device-snmp-go/9:/w/workspace/device-snmp-go/9:rw,z -v /w/workspace/device-snmp-go/9@tmp:/w/workspace/device-snmp-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-16T00:19:23.689Z] $ docker top b0ffe94b2a3ca2872a0fb2ff61b9871276760870e2e041e7215df6a9c76d48f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:19:24.650Z] ---> job-cost.sh [2021-11-16T00:19:24.650Z] lf-activate-venv: SKIPPING [2021-11-16T00:19:24.650Z] INFO: No Stack... [2021-11-16T00:19:24.922Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-16T00:19:25.514Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T00:19:26.176Z] + cat /w/workspace/device-snmp-go/9/archives/cost.csv [2021-11-16T00:19:26.176Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T00:19:26.238Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [2021-11-16T00:19:26.249Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] did not exist. Created. [2021-11-16T00:19:26.249Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T00:19:26.912Z] /w/workspace/device-snmp-go/9@tmp/durable-b40c452b/script.sh: 1: /w/workspace/device-snmp-go/9@tmp/durable-b40c452b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-16T00:19:27.615Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-16T00:19:27.636Z] Warning: overwriting stash ‘stack-cost’ [2021-11-16T00:19:27.695Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T00:19:27.701Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-9-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T00:19:27.726Z] $ docker stop --time=1 b0ffe94b2a3ca2872a0fb2ff61b9871276760870e2e041e7215df6a9c76d48f9 [2021-11-16T00:19:29.321Z] $ docker rm -f b0ffe94b2a3ca2872a0fb2ff61b9871276760870e2e041e7215df6a9c76d48f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-16T00:19:29.932Z] provisioning config files... [2021-11-16T00:19:29.940Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7804461278784062419tmp [Pipeline] { [Pipeline] sh [2021-11-16T00:19:30.253Z] + set +x [2021-11-16T00:19:30.253Z] + bash -s -- [2021-11-16T00:19:30.253Z] + curl -s https://codecov.io/bash [2021-11-16T00:19:30.253Z] [2021-11-16T00:19:30.253Z] _____ _ [2021-11-16T00:19:30.253Z] / ____| | | [2021-11-16T00:19:30.253Z] | | ___ __| | ___ ___ _____ __ [2021-11-16T00:19:30.253Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-16T00:19:30.253Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-16T00:19:30.253Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-16T00:19:30.253Z] Bash-1.0.6 [2021-11-16T00:19:30.253Z] [2021-11-16T00:19:30.253Z] [2021-11-16T00:19:30.253Z] ==> git version 2.24.4 found [2021-11-16T00:19:30.253Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-16T00:19:30.253Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-16T00:19:30.253Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-16T00:19:30.253Z] ==> Jenkins CI detected. [2021-11-16T00:19:30.253Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:19:30.253Z] project root: . [2021-11-16T00:19:30.253Z] --> token set from env [2021-11-16T00:19:30.253Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-16T00:19:30.253Z] ==> Running gcov in . (disable via -X gcov) [2021-11-16T00:19:30.253Z] ==> Python coveragepy not found [2021-11-16T00:19:30.253Z] ==> Searching for coverage reports in: [2021-11-16T00:19:30.253Z] + . [2021-11-16T00:19:30.253Z] -> Found 1 reports [2021-11-16T00:19:30.253Z] ==> Detecting git/mercurial file structure [2021-11-16T00:19:30.253Z] ==> Reading reports [2021-11-16T00:19:30.253Z] + ./coverage.out bytes=7631 [2021-11-16T00:19:30.253Z] ==> Appending adjustments [2021-11-16T00:19:30.253Z] https://docs.codecov.io/docs/fixing-reports [2021-11-16T00:19:30.516Z] + Found adjustments [2021-11-16T00:19:30.516Z] ==> Gzipping contents [2021-11-16T00:19:30.516Z] 4.0K /tmp/codecov.sSxsRC.gz [2021-11-16T00:19:30.516Z] ==> Uploading reports [2021-11-16T00:19:30.516Z] url: https://codecov.io [2021-11-16T00:19:30.516Z] query: branch=main&commit=d6a2d4438fc175be031f77f972aa414c83442272&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T00:19:30.516Z] -> Pinging Codecov [2021-11-16T00:19:30.516Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=d6a2d4438fc175be031f77f972aa414c83442272&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T00:19:30.777Z] -> Uploading to [2021-11-16T00:19:30.777Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-16/6C56EA5C29638FB4528AC87E60AF5AE0/d6a2d4438fc175be031f77f972aa414c83442272/c91ef297-d7b8-4014-9183-296c25f9f0e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T001930Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf9954ce9509168e7da71aa46d946b4b14bfb0d50403afa34cef2c1af0045e80 [2021-11-16T00:19:30.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T00:19:30.777Z] Dload Upload Total Spent Left Speed [2021-11-16T00:19:31.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1578 0 0 100 1578 0 5020 --:--:-- --:--:-- --:--:-- 5025 [2021-11-16T00:19:31.348Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] } [2021-11-16T00:19:31.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-16T00:19:31.566Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-16T00:19:31.578Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:31.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:31.870Z] [2021-11-16T00:19:31.870Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:32.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:32.170Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-16T00:19:32.170Z] 188c0c94c7c5: Pulling fs layer [2021-11-16T00:19:32.170Z] 0ef7d3d256c8: Pulling fs layer [2021-11-16T00:19:32.170Z] de9db76c5a1d: Pulling fs layer [2021-11-16T00:19:32.170Z] 0eba1c9be4d2: Pulling fs layer [2021-11-16T00:19:32.170Z] 0d57e429df01: Pulling fs layer [2021-11-16T00:19:32.170Z] 4e4be7b47b0d: Pulling fs layer [2021-11-16T00:19:32.170Z] e1f770b5df2f: Pulling fs layer [2021-11-16T00:19:32.170Z] 85a0685a4137: Pulling fs layer [2021-11-16T00:19:32.170Z] 0eba1c9be4d2: Waiting [2021-11-16T00:19:32.170Z] 0d57e429df01: Waiting [2021-11-16T00:19:32.170Z] 4e4be7b47b0d: Waiting [2021-11-16T00:19:32.170Z] e1f770b5df2f: Waiting [2021-11-16T00:19:32.170Z] 85a0685a4137: Waiting [2021-11-16T00:19:32.170Z] de9db76c5a1d: Download complete [2021-11-16T00:19:32.170Z] 0ef7d3d256c8: Verifying Checksum [2021-11-16T00:19:32.170Z] 0ef7d3d256c8: Download complete [2021-11-16T00:19:32.170Z] 0d57e429df01: Verifying Checksum [2021-11-16T00:19:32.170Z] 0d57e429df01: Download complete [2021-11-16T00:19:32.170Z] 4e4be7b47b0d: Verifying Checksum [2021-11-16T00:19:32.170Z] 4e4be7b47b0d: Download complete [2021-11-16T00:19:32.170Z] 188c0c94c7c5: Verifying Checksum [2021-11-16T00:19:32.170Z] 188c0c94c7c5: Download complete [2021-11-16T00:19:32.774Z] e1f770b5df2f: Verifying Checksum [2021-11-16T00:19:32.774Z] e1f770b5df2f: Download complete [2021-11-16T00:19:32.774Z] 0eba1c9be4d2: Verifying Checksum [2021-11-16T00:19:32.774Z] 0eba1c9be4d2: Download complete [2021-11-16T00:19:33.042Z] 188c0c94c7c5: Pull complete [2021-11-16T00:19:33.042Z] 85a0685a4137: Verifying Checksum [2021-11-16T00:19:33.042Z] 85a0685a4137: Download complete [2021-11-16T00:19:33.042Z] 0ef7d3d256c8: Pull complete [2021-11-16T00:19:33.042Z] de9db76c5a1d: Pull complete [2021-11-16T00:19:37.271Z] 0eba1c9be4d2: Pull complete [2021-11-16T00:19:37.271Z] 0d57e429df01: Pull complete [2021-11-16T00:19:37.271Z] 4e4be7b47b0d: Pull complete [2021-11-16T00:19:37.856Z] e1f770b5df2f: Pull complete [2021-11-16T00:19:42.103Z] 85a0685a4137: Pull complete [2021-11-16T00:19:42.103Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-16T00:19:42.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:42.103Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-16T00:19:42.182Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:19:42.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-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-devops/edgex-snyk-go:1.410.4 cat [2021-11-16T00:19:44.383Z] $ docker top efdc496f91f5d5e963cc541c48dc658bb54c3d1f776709aab0f70b88e4e6259f -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-16T00:19:44.481Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-16T00:19:44.772Z] + set -o pipefail [2021-11-16T00:19:44.773Z] + snyk monitor '--org=edgex-jenkins' [2021-11-16T00:19:50.090Z] [2021-11-16T00:19:50.090Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2021-11-16T00:19:50.090Z] [2021-11-16T00:19:50.090Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/1e77e31e-25a2-4201-9ca4-5333e713f044 [2021-11-16T00:19:50.090Z] [2021-11-16T00:19:50.090Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-16T00:19:50.090Z] [2021-11-16T00:19:50.090Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-16T00:19:50.090Z] [2021-11-16T00:19:50.090Z] [Pipeline] } [2021-11-16T00:19:50.101Z] $ docker stop --time=1 efdc496f91f5d5e963cc541c48dc658bb54c3d1f776709aab0f70b88e4e6259f [2021-11-16T00:19:52.136Z] $ docker rm -f efdc496f91f5d5e963cc541c48dc658bb54c3d1f776709aab0f70b88e4e6259f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T00:19:53.160Z] + git log --format=format:%s -1 d6a2d4438fc175be031f77f972aa414c83442272 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:53.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:19:53.461Z] . [Pipeline] withDockerContainer [2021-11-16T00:19:53.529Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:19:53.562Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:19:54.012Z] $ docker top 828f27c57921f82e4b953889f01f9edbda7d45aabd54b4bbeeb3b3e863a96cbc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:19:54.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:19:54.114Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:19:54.239Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:19:54.239Z] $ docker exec 828f27c57921f82e4b953889f01f9edbda7d45aabd54b4bbeeb3b3e863a96cbc ssh-agent [2021-11-16T00:19:54.362Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIOBbo/agent.14 [2021-11-16T00:19:54.362Z] SSH_AGENT_PID=20 [2021-11-16T00:19:54.368Z] Running ssh-add (command line suppressed) [2021-11-16T00:19:54.475Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2788997247634946809.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2788997247634946809.key) [2021-11-16T00:19:54.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:19:54.780Z] + git semver tag [2021-11-16T00:19:54.780Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:19:54.780Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-16T00:19:54.780Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:19:54.780Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:19:54.780Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:19:54.780Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:19:54.780Z] # $SEMVER_BRANCH = main [2021-11-16T00:19:54.780Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-11-16T00:19:54.780Z] # d6a2d4438fc175be031f77f972aa414c83442272 HEAD [2021-11-16T00:19:54.780Z] # -> Force: false [2021-11-16T00:19:54.780Z] # e4de7e2b73dfaf3864abbc220634dd21d2343d6f refs/tags/v2.0.1-dev.6 [Pipeline] } [2021-11-16T00:19:54.789Z] $ docker exec --env ******** --env ******** 828f27c57921f82e4b953889f01f9edbda7d45aabd54b4bbeeb3b3e863a96cbc ssh-agent -k [2021-11-16T00:19:54.885Z] unset SSH_AUTH_SOCK; [2021-11-16T00:19:54.886Z] unset SSH_AGENT_PID; [2021-11-16T00:19:54.886Z] echo Agent pid 20 killed; [2021-11-16T00:19:54.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:19:55.216Z] + git semver [Pipeline] } [2021-11-16T00:19:55.228Z] $ docker stop --time=1 828f27c57921f82e4b953889f01f9edbda7d45aabd54b4bbeeb3b3e863a96cbc [2021-11-16T00:19:56.428Z] $ docker rm -f 828f27c57921f82e4b953889f01f9edbda7d45aabd54b4bbeeb3b3e863a96cbc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:56.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:19:56.821Z] [2021-11-16T00:19:56.821Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:57.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:19:57.152Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-16T00:19:57.152Z] ab5ef0e58194: Pulling fs layer [2021-11-16T00:19:57.152Z] 9712f1f96733: Pulling fs layer [2021-11-16T00:19:57.152Z] 63f879dbbcfc: Pulling fs layer [2021-11-16T00:19:57.152Z] 0d9ebad4ef96: Pulling fs layer [2021-11-16T00:19:57.152Z] e9a5061849ea: Pulling fs layer [2021-11-16T00:19:57.152Z] d747dcd14b5f: Pulling fs layer [2021-11-16T00:19:57.152Z] 2de7ff778b66: Pulling fs layer [2021-11-16T00:19:57.152Z] 0d9ebad4ef96: Waiting [2021-11-16T00:19:57.152Z] e9a5061849ea: Waiting [2021-11-16T00:19:57.152Z] d747dcd14b5f: Waiting [2021-11-16T00:19:57.152Z] 2de7ff778b66: Waiting [2021-11-16T00:19:57.152Z] 9712f1f96733: Verifying Checksum [2021-11-16T00:19:57.152Z] 9712f1f96733: Download complete [2021-11-16T00:19:57.414Z] 63f879dbbcfc: Verifying Checksum [2021-11-16T00:19:57.414Z] 63f879dbbcfc: Download complete [2021-11-16T00:19:57.678Z] ab5ef0e58194: Verifying Checksum [2021-11-16T00:19:57.678Z] ab5ef0e58194: Download complete [2021-11-16T00:19:57.678Z] 0d9ebad4ef96: Verifying Checksum [2021-11-16T00:19:57.678Z] 0d9ebad4ef96: Download complete [2021-11-16T00:19:57.678Z] d747dcd14b5f: Verifying Checksum [2021-11-16T00:19:57.678Z] d747dcd14b5f: Download complete [2021-11-16T00:19:57.678Z] e9a5061849ea: Verifying Checksum [2021-11-16T00:19:57.678Z] e9a5061849ea: Download complete [2021-11-16T00:19:57.937Z] 2de7ff778b66: Verifying Checksum [2021-11-16T00:19:57.937Z] 2de7ff778b66: Download complete [2021-11-16T00:20:01.238Z] ab5ef0e58194: Pull complete [2021-11-16T00:20:01.238Z] 9712f1f96733: Pull complete [2021-11-16T00:20:01.830Z] 63f879dbbcfc: Pull complete [2021-11-16T00:20:06.104Z] 0d9ebad4ef96: Pull complete [2021-11-16T00:20:06.368Z] e9a5061849ea: Pull complete [2021-11-16T00:20:06.368Z] d747dcd14b5f: Pull complete [2021-11-16T00:20:08.286Z] 2de7ff778b66: Pull complete [2021-11-16T00:20:08.286Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-16T00:20:08.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:20:08.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-16T00:20:08.358Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:20:08.389Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-16T00:20:11.743Z] $ docker top 419a47a190a1ba952f6ca41f20bfbc14be7a17b115517622a03e1ce6144bab27 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:20:11.821Z] provisioning config files... [2021-11-16T00:20:11.832Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6507189959692374626tmp [2021-11-16T00:20:11.842Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7350981194140812983tmp [2021-11-16T00:20:11.853Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6929200371835016389tmp [Pipeline] { [Pipeline] echo [2021-11-16T00:20:11.865Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:12.148Z] ---> sigul-configuration.sh [2021-11-16T00:20:12.148Z] gpg: directory `/root/.gnupg' created [2021-11-16T00:20:12.148Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-16T00:20:12.148Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-16T00:20:12.148Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-16T00:20:12.148Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-16T00:20:12.148Z] gpg: CAST5 encrypted data [2021-11-16T00:20:12.148Z] gpg: encrypted with 1 passphrase [2021-11-16T00:20:12.148Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-16T00:20:12.440Z] + mkdir /home/jenkins [2021-11-16T00:20:12.440Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-16T00:20:12.729Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-16T00:20:12.739Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:13.030Z] ---> sigul-install.sh [2021-11-16T00:20:13.030Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-16T00:20:13.318Z] + git tag --list [2021-11-16T00:20:13.318Z] 1.0.0 [2021-11-16T00:20:13.318Z] v0.0.0 [2021-11-16T00:20:13.318Z] v1.1.0 [2021-11-16T00:20:13.318Z] v1.1.1 [2021-11-16T00:20:13.318Z] v1.2.2 [2021-11-16T00:20:13.318Z] v1.3.0 [2021-11-16T00:20:13.318Z] v1.3.1 [2021-11-16T00:20:13.318Z] v2.0.0 [2021-11-16T00:20:13.318Z] v2.0.1-dev.1 [2021-11-16T00:20:13.318Z] v2.0.1-dev.2 [2021-11-16T00:20:13.318Z] v2.0.1-dev.3 [2021-11-16T00:20:13.318Z] v2.0.1-dev.4 [2021-11-16T00:20:13.318Z] v2.0.1-dev.5 [2021-11-16T00:20:13.318Z] v2.0.1-dev.6 [Pipeline] sh [2021-11-16T00:20:13.609Z] + lftools sign git-tag v2.0.1-dev.6 [2021-11-16T00:20:14.182Z] Signing Git tag with Sigul... [2021-11-16T00:20:14.182Z] Signing v2.0.1-dev.6 [Pipeline] echo [2021-11-16T00:20:15.131Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:15.428Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-16T00:20:15.435Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-16T00:20:15.454Z] $ docker stop --time=1 419a47a190a1ba952f6ca41f20bfbc14be7a17b115517622a03e1ce6144bab27 [2021-11-16T00:20:16.671Z] $ docker rm -f 419a47a190a1ba952f6ca41f20bfbc14be7a17b115517622a03e1ce6144bab27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:17.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:20:17.186Z] . [Pipeline] withDockerContainer [2021-11-16T00:20:17.254Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:20:17.289Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:20:17.657Z] $ docker top db7e2dfc0d86196021062a72e423ccd660e40a70504ae904781d731b34d5fb46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:20:17.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:20:17.758Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:20:17.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:20:17.871Z] $ docker exec db7e2dfc0d86196021062a72e423ccd660e40a70504ae904781d731b34d5fb46 ssh-agent [2021-11-16T00:20:17.981Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmiAcdJ/agent.15 [2021-11-16T00:20:17.981Z] SSH_AGENT_PID=21 [2021-11-16T00:20:17.987Z] Running ssh-add (command line suppressed) [2021-11-16T00:20:18.087Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7779013126728261627.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7779013126728261627.key) [2021-11-16T00:20:18.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:20:18.395Z] + git semver bump pre [2021-11-16T00:20:18.395Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:20:18.395Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-16T00:20:18.395Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:20:18.395Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:20:18.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:20:18.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:20:18.395Z] # $SEMVER_BRANCH = main [2021-11-16T00:20:18.395Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2021-11-16T00:20:18.395Z] 2.0.1-dev.7 [Pipeline] } [2021-11-16T00:20:18.404Z] $ docker exec --env ******** --env ******** db7e2dfc0d86196021062a72e423ccd660e40a70504ae904781d731b34d5fb46 ssh-agent -k [2021-11-16T00:20:18.498Z] unset SSH_AUTH_SOCK; [2021-11-16T00:20:18.498Z] unset SSH_AGENT_PID; [2021-11-16T00:20:18.498Z] echo Agent pid 21 killed; [2021-11-16T00:20:18.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:20:18.822Z] + git semver [Pipeline] } [2021-11-16T00:20:18.835Z] $ docker stop --time=1 db7e2dfc0d86196021062a72e423ccd660e40a70504ae904781d731b34d5fb46 [2021-11-16T00:20:20.054Z] $ docker rm -f db7e2dfc0d86196021062a72e423ccd660e40a70504ae904781d731b34d5fb46 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:20.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:20:20.590Z] . [Pipeline] withDockerContainer [2021-11-16T00:20:20.763Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:20:20.801Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:20:21.197Z] $ docker top 10a761d779baa04f814b8d5392351bd327f365767c86ba038bd65920d6898bc7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:20:21.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:20:21.295Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:20:21.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:20:21.406Z] $ docker exec 10a761d779baa04f814b8d5392351bd327f365767c86ba038bd65920d6898bc7 ssh-agent [2021-11-16T00:20:21.511Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgiFDAh/agent.13 [2021-11-16T00:20:21.511Z] SSH_AGENT_PID=19 [2021-11-16T00:20:21.515Z] Running ssh-add (command line suppressed) [2021-11-16T00:20:21.616Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1824031125547122296.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1824031125547122296.key) [2021-11-16T00:20:21.630Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:20:21.921Z] + git semver push [2021-11-16T00:20:21.921Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:20:21.921Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.git [2021-11-16T00:20:21.921Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:20:21.921Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:20:21.921Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:20:21.921Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:20:21.921Z] # $SEMVER_BRANCH = main [2021-11-16T00:20:21.921Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-snmp-go_main/.semver [Pipeline] } [2021-11-16T00:20:23.835Z] $ docker exec --env ******** --env ******** 10a761d779baa04f814b8d5392351bd327f365767c86ba038bd65920d6898bc7 ssh-agent -k [2021-11-16T00:20:23.938Z] unset SSH_AUTH_SOCK; [2021-11-16T00:20:23.938Z] unset SSH_AGENT_PID; [2021-11-16T00:20:23.939Z] echo Agent pid 19 killed; [2021-11-16T00:20:23.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:20:24.255Z] + git semver [Pipeline] } [2021-11-16T00:20:24.267Z] $ docker stop --time=1 10a761d779baa04f814b8d5392351bd327f365767c86ba038bd65920d6898bc7 [2021-11-16T00:20:25.476Z] $ docker rm -f 10a761d779baa04f814b8d5392351bd327f365767c86ba038bd65920d6898bc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-16T00:20:26.283Z] + '[' -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:26.583Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:27.131Z] ---> package-listing.sh [2021-11-16T00:20:27.131Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-16T00:20:27.131Z] ++ facter osfamily [2021-11-16T00:20:27.391Z] + OS_FAMILY=redhat [2021-11-16T00:20:27.391Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2021-11-16T00:20:27.391Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-16T00:20:27.391Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-16T00:20:27.391Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-16T00:20:27.391Z] + PACKAGES=/tmp/packages_start.txt [2021-11-16T00:20:27.391Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-11-16T00:20:27.391Z] + PACKAGES=/tmp/packages_end.txt [2021-11-16T00:20:27.391Z] + case "${OS_FAMILY}" in [2021-11-16T00:20:27.391Z] + rpm -qa [2021-11-16T00:20:27.391Z] + sort [2021-11-16T00:20:27.961Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-16T00:20:27.961Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-16T00:20:27.961Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-16T00:20:27.961Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2021-11-16T00:20:27.961Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2021-11-16T00:20:27.961Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2021-11-16T00:20:27.973Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-16T00:20:28.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:28.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:28.815Z] [2021-11-16T00:20:28.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:29.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:29.110Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T00:20:29.110Z] b4d181a07f80: Pulling fs layer [2021-11-16T00:20:29.110Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T00:20:29.110Z] ed53099fbce6: Pulling fs layer [2021-11-16T00:20:29.110Z] dc539afda2c1: Pulling fs layer [2021-11-16T00:20:29.110Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T00:20:29.110Z] 9065ff56babe: Pulling fs layer [2021-11-16T00:20:29.110Z] d287ab97295c: Pulling fs layer [2021-11-16T00:20:29.110Z] dc539afda2c1: Waiting [2021-11-16T00:20:29.110Z] 77bc0d833cb6: Waiting [2021-11-16T00:20:29.110Z] 9065ff56babe: Waiting [2021-11-16T00:20:29.110Z] d287ab97295c: Waiting [2021-11-16T00:20:29.110Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T00:20:29.110Z] a1111a8f2ec3: Download complete [2021-11-16T00:20:29.110Z] dc539afda2c1: Verifying Checksum [2021-11-16T00:20:29.110Z] dc539afda2c1: Download complete [2021-11-16T00:20:29.110Z] ed53099fbce6: Verifying Checksum [2021-11-16T00:20:29.110Z] ed53099fbce6: Download complete [2021-11-16T00:20:29.110Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T00:20:29.110Z] 77bc0d833cb6: Download complete [2021-11-16T00:20:29.110Z] 9065ff56babe: Verifying Checksum [2021-11-16T00:20:29.110Z] 9065ff56babe: Download complete [2021-11-16T00:20:29.371Z] b4d181a07f80: Verifying Checksum [2021-11-16T00:20:29.371Z] b4d181a07f80: Download complete [2021-11-16T00:20:29.957Z] d287ab97295c: Verifying Checksum [2021-11-16T00:20:29.957Z] d287ab97295c: Download complete [2021-11-16T00:20:30.906Z] b4d181a07f80: Pull complete [2021-11-16T00:20:30.906Z] a1111a8f2ec3: Pull complete [2021-11-16T00:20:31.481Z] ed53099fbce6: Pull complete [2021-11-16T00:20:31.752Z] dc539afda2c1: Pull complete [2021-11-16T00:20:32.012Z] 77bc0d833cb6: Pull complete [2021-11-16T00:20:32.012Z] 9065ff56babe: Pull complete [2021-11-16T00:20:37.372Z] d287ab97295c: Pull complete [2021-11-16T00:20:37.372Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T00:20:37.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:37.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T00:20:37.443Z] prd-centos7-docker-4c-2g-743 does not seem to be running inside a container [2021-11-16T00:20:37.477Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-16T00:20:39.798Z] $ docker top ffe4b3b3058601363a7a10c78ce81626b2418c911694de29f42d096d55328f61 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:20:40.156Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-16T00:20:40.464Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-16T00:20:40.755Z] + ls /var/log/sa-host [2021-11-16T00:20:40.755Z] + sadf -c /var/log/sa-host/sa16 [2021-11-16T00:20:40.755Z] file_magic: OK [2021-11-16T00:20:40.755Z] HZ: Using current value: 100 [2021-11-16T00:20:40.755Z] file_header: OK [2021-11-16T00:20:40.755Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-16T00:20:40.755Z] Statistics: [2021-11-16T00:20:40.755Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T00:20:40.755Z] File successfully converted to sysstat format version 12.0.3 [2021-11-16T00:20:40.755Z] + sadf -c /var/log/sa-host/sa30 [2021-11-16T00:20:40.755Z] file_magic: OK [2021-11-16T00:20:40.755Z] HZ: Using current value: 100 [2021-11-16T00:20:40.755Z] file_header: OK [2021-11-16T00:20:40.755Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-16T00:20:40.755Z] Statistics: [2021-11-16T00:20:40.755Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T00:20:40.755Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:20:40.829Z] provisioning config files... [2021-11-16T00:20:40.839Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3551797776855818355tmp [Pipeline] { [Pipeline] echo [2021-11-16T00:20:40.852Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:41.143Z] ---> create-netrc.sh [Pipeline] } [2021-11-16T00:20:41.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:41.481Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-16T00:20:41.492Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:41.782Z] ---> sudo-logs.sh [2021-11-16T00:20:41.782Z] Archiving 'sudo' log.. [2021-11-16T00:20:41.782Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-743.novalocal: Name or service not known [2021-11-16T00:20:41.782Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-743.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-16T00:20:41.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:42.095Z] ---> job-cost.sh [2021-11-16T00:20:42.095Z] lf-activate-venv: SKIPPING [2021-11-16T00:20:42.095Z] DEBUG: total: 0.10999999940395355 [2021-11-16T00:20:42.095Z] INFO: Retrieving Stack Cost... [2021-11-16T00:20:42.354Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T00:20:42.923Z] INFO: Archiving Costs [Pipeline] echo [2021-11-16T00:20:42.937Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:43.223Z] ---> logs-deploy.sh [2021-11-16T00:20:43.223Z] lf-activate-venv: SKIPPING [2021-11-16T00:20:43.223Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/9 [2021-11-16T00:20:43.223Z] INFO: archiving workspace using pattern(s): [2021-11-16T00:20:43.790Z] Archives upload complete. [2021-11-16T00:20:44.051Z] INFO: archiving logs to Nexus