Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9505b3b9fb87609b3cd85be587e030c33719d431 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-ssh7104940293800248115.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh3284256360634533090.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh12975524191901813327.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh7345896951693629704.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh11344550559506580491.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64486 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 9505b3b9fb87609b3cd85be587e030c33719d431 (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 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" > git rev-list --no-walk 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-24T15:30:12.248Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-24T15:30:12.298Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-24T15:30:12.313Z] ========================================================= [2022-05-24T15:30:12.313Z] EdgeX Global Pipelines Version Info [2022-05-24T15:30:12.313Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:30:13.098Z] ------------------- [2022-05-24T15:30:13.098Z] stable info: [2022-05-24T15:30:13.098Z] ------------------- [2022-05-24T15:30:13.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T15:30:13.098Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T15:30:13.098Z] Message: update stable to v1.0.230 [2022-05-24T15:30:13.673Z] ------------------- [2022-05-24T15:30:13.673Z] experimental info: [2022-05-24T15:30:13.673Z] ------------------- [2022-05-24T15:30:13.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T15:30:13.673Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T15:30:13.673Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-24T15:30:13.822Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-05-24T15:30:13.835Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-05-24T15:30:13.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-24T15:30:13.859Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-24T15:30:13.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-24T15:30:13.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-24T15:30:13.900Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-24T15:30:13.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-24T15:30:13.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-24T15:30:13.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-24T15:30:13.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-24T15:30:13.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-05-24T15:30:13.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-24T15:30:13.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-24T15:30:13.988Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T15:30:13.998Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T15:30:14.010Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T15:30:14.028Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T15:30:14.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-24T15:30:14.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-24T15:30:14.086Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-24T15:30:14.103Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-24T15:30:14.116Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-24T15:30:14.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-24T15:30:14.146Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-24T15:30:14.160Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-24T15:30:14.178Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-24T15:30:14.197Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-24T15:30:14.216Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-24T15:30:14.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo [2022-05-24T15:30:14.247Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9505b3b [Pipeline] echo [2022-05-24T15:30:14.259Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:30:14.302Z] provisioning config files... [2022-05-24T15:30:14.317Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2854080595491134585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:30:14.682Z] ---> docker-login.sh [2022-05-24T15:30:14.682Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:30:14.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:14.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:14.942Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:14.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:14.942Z] [2022-05-24T15:30:14.942Z] Login Succeeded [2022-05-24T15:30:14.942Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:30:15.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:15.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:15.203Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:15.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:15.203Z] [2022-05-24T15:30:15.203Z] Login Succeeded [2022-05-24T15:30:15.203Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:30:15.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:15.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:15.203Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:15.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:15.203Z] [2022-05-24T15:30:15.203Z] Login Succeeded [2022-05-24T15:30:15.203Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:30:15.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:15.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:15.464Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:15.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:15.464Z] [2022-05-24T15:30:15.464Z] Login Succeeded [2022-05-24T15:30:15.464Z] docker.io [2022-05-24T15:30:15.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:15.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:15.725Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:15.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:15.725Z] [2022-05-24T15:30:15.725Z] Login Succeeded [2022-05-24T15:30:15.725Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:30:15.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-24T15:30:16.120Z] + git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo [2022-05-24T15:30:16.161Z] -----------> git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 9505b3b9fb87609b3cd85be587e030c33719d431 [false] [Pipeline] sh [2022-05-24T15:30:16.454Z] + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo [2022-05-24T15:30:16.469Z] ========================================================= [2022-05-24T15:30:16.469Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-24T15:30:16.469Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T15:30:16.820Z] + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo [2022-05-24T15:30:16.830Z] [semverPrep] GIT_COMMIT: 9505b3b9fb87609b3cd85be587e030c33719d431, Commit Message: fix: Correctly set the versions for the service and sdk when building the binary (#173) [Pipeline] echo [2022-05-24T15:30:16.838Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-24T15:30:17.263Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T15:30:17.263Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-24T15:30:17.263Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-24T15:30:17.263Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-24T15:30:17.263Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-24T15:30:17.263Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-24T15:30:17.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:30:17.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:30:17.689Z] [2022-05-24T15:30:17.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:30:17.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:30:17.996Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-24T15:30:17.996Z] 1fe172e4850f: Pulling fs layer [2022-05-24T15:30:17.996Z] caf521ccaac6: Pulling fs layer [2022-05-24T15:30:17.996Z] 3ead6fa29328: Pulling fs layer [2022-05-24T15:30:17.996Z] 5c2a1cbceb83: Pulling fs layer [2022-05-24T15:30:17.996Z] a8d5f1318db7: Pulling fs layer [2022-05-24T15:30:17.996Z] c427282e49a2: Pulling fs layer [2022-05-24T15:30:17.996Z] 1827001aaf11: Pulling fs layer [2022-05-24T15:30:17.996Z] 0714d37db230: Pulling fs layer [2022-05-24T15:30:17.996Z] ac28cf19c067: Pulling fs layer [2022-05-24T15:30:17.996Z] ca983d60f3e2: Pulling fs layer [2022-05-24T15:30:17.996Z] 9f894cec8388: Pulling fs layer [2022-05-24T15:30:17.996Z] 1827001aaf11: Waiting [2022-05-24T15:30:17.996Z] 0714d37db230: Waiting [2022-05-24T15:30:17.996Z] ac28cf19c067: Waiting [2022-05-24T15:30:17.996Z] ca983d60f3e2: Waiting [2022-05-24T15:30:17.996Z] 5c2a1cbceb83: Waiting [2022-05-24T15:30:17.996Z] c427282e49a2: Waiting [2022-05-24T15:30:17.996Z] caf521ccaac6: Verifying Checksum [2022-05-24T15:30:17.996Z] caf521ccaac6: Download complete [2022-05-24T15:30:17.996Z] 5c2a1cbceb83: Verifying Checksum [2022-05-24T15:30:17.996Z] 5c2a1cbceb83: Download complete [2022-05-24T15:30:17.996Z] a8d5f1318db7: Verifying Checksum [2022-05-24T15:30:17.996Z] a8d5f1318db7: Download complete [2022-05-24T15:30:17.996Z] 3ead6fa29328: Verifying Checksum [2022-05-24T15:30:17.996Z] 3ead6fa29328: Download complete [2022-05-24T15:30:18.256Z] c427282e49a2: Verifying Checksum [2022-05-24T15:30:18.256Z] c427282e49a2: Download complete [2022-05-24T15:30:18.256Z] 0714d37db230: Download complete [2022-05-24T15:30:18.256Z] ac28cf19c067: Download complete [2022-05-24T15:30:18.256Z] ca983d60f3e2: Verifying Checksum [2022-05-24T15:30:18.256Z] ca983d60f3e2: Download complete [2022-05-24T15:30:18.256Z] 9f894cec8388: Verifying Checksum [2022-05-24T15:30:18.256Z] 9f894cec8388: Download complete [2022-05-24T15:30:18.256Z] 1fe172e4850f: Download complete [2022-05-24T15:30:18.518Z] 1827001aaf11: Verifying Checksum [2022-05-24T15:30:18.518Z] 1827001aaf11: Download complete [2022-05-24T15:30:19.459Z] 1fe172e4850f: Pull complete [2022-05-24T15:30:19.720Z] caf521ccaac6: Pull complete [2022-05-24T15:30:20.294Z] 3ead6fa29328: Pull complete [2022-05-24T15:30:20.294Z] 5c2a1cbceb83: Pull complete [2022-05-24T15:30:20.554Z] a8d5f1318db7: Pull complete [2022-05-24T15:30:20.554Z] c427282e49a2: Pull complete [2022-05-24T15:30:22.470Z] 1827001aaf11: Pull complete [2022-05-24T15:30:22.470Z] 0714d37db230: Pull complete [2022-05-24T15:30:22.470Z] ac28cf19c067: Pull complete [2022-05-24T15:30:22.731Z] ca983d60f3e2: Pull complete [2022-05-24T15:30:22.731Z] 9f894cec8388: Pull complete [2022-05-24T15:30:22.731Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-24T15:30:22.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:30:22.731Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-24T15:30:22.803Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:30:22.847Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T15:30:24.318Z] $ docker top c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b -eo pid,comm [2022-05-24T15:30:24.388Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-24T15:30:24.388Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T15:30:24.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:30:24.434Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:30:24.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:30:24.575Z] $ docker exec c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent [2022-05-24T15:30:24.699Z] SSH_AUTH_SOCK=/tmp/ssh-aeqi4r0U8e53/agent.33 [2022-05-24T15:30:24.699Z] SSH_AGENT_PID=39 [2022-05-24T15:30:24.708Z] Running ssh-add (command line suppressed) [2022-05-24T15:30:24.815Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8311130973807958571.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8311130973807958571.key) [2022-05-24T15:30:24.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:30:25.123Z] + git tag --points-at HEAD [Pipeline] } [2022-05-24T15:30:25.141Z] $ docker exec --env ******** --env ******** c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent -k [2022-05-24T15:30:25.251Z] unset SSH_AUTH_SOCK; [2022-05-24T15:30:25.251Z] unset SSH_AGENT_PID; [2022-05-24T15:30:25.252Z] echo Agent pid 39 killed; [2022-05-24T15:30:25.260Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-24T15:30:25.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:30:25.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:30:25.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:30:25.438Z] $ docker exec c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent [2022-05-24T15:30:25.565Z] SSH_AUTH_SOCK=/tmp/ssh-bycDz5uZQod8/agent.73 [2022-05-24T15:30:25.565Z] SSH_AGENT_PID=79 [2022-05-24T15:30:25.571Z] Running ssh-add (command line suppressed) [2022-05-24T15:30:25.697Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9075013759327578407.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9075013759327578407.key) [2022-05-24T15:30:25.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:30:26.006Z] + git semver init [2022-05-24T15:30:26.578Z] 2022-05-24 15:30:26,279 [run_init] DEBUG init version:0.0.0 force:False [2022-05-24T15:30:26.578Z] 2022-05-24 15:30:26,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-24T15:30:26.578Z] 2022-05-24 15:30:26,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-24T15:30:26.578Z] 2022-05-24 15:30:26,281 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-24T15:30:27.152Z] 2022-05-24 15:30:26,996 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-05-24T15:30:27.152Z] 2022-05-24 15:30:26,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-05-24T15:30:27.152Z] 2022-05-24 15:30:26,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:30:27.152Z] 2022-05-24 15:30:26,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:30:27.152Z] 2.2.1-dev.1 [Pipeline] } [2022-05-24T15:30:27.166Z] $ docker exec --env ******** --env ******** c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent -k [2022-05-24T15:30:27.272Z] unset SSH_AUTH_SOCK; [2022-05-24T15:30:27.272Z] unset SSH_AGENT_PID; [2022-05-24T15:30:27.272Z] echo Agent pid 79 killed; [2022-05-24T15:30:27.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T15:30:27.597Z] + git semver [Pipeline] } [2022-05-24T15:30:27.877Z] $ docker stop --time=1 c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b [2022-05-24T15:30:29.188Z] $ docker rm -f c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:30:29.532Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-24T15:30:29.772Z] Stashed 1 file(s) [Pipeline] echo [2022-05-24T15:30:29.776Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:30:29.897Z] provisioning config files... [2022-05-24T15:30:29.908Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6242687322867678515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:30:30.202Z] ---> docker-login.sh [2022-05-24T15:30:30.202Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:30:30.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:30.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:30.202Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:30.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:30.202Z] [2022-05-24T15:30:30.202Z] Login Succeeded [2022-05-24T15:30:30.202Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:30:30.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:30.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:30.202Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:30.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:30.202Z] [2022-05-24T15:30:30.202Z] Login Succeeded [2022-05-24T15:30:30.202Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:30:30.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:30.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:30.463Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:30.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:30.463Z] [2022-05-24T15:30:30.463Z] Login Succeeded [2022-05-24T15:30:30.463Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:30:30.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:30.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:30.722Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:30.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:30.722Z] [2022-05-24T15:30:30.722Z] Login Succeeded [2022-05-24T15:30:30.722Z] docker.io [2022-05-24T15:30:30.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:30:30.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:30:30.984Z] Configure a credential helper to remove this warning. See [2022-05-24T15:30:30.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:30:30.984Z] [2022-05-24T15:30:30.984Z] Login Succeeded [2022-05-24T15:30:30.984Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:30:30.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T15:30:31.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:30:31.082Z] ========================================================= [2022-05-24T15:30:31.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-24T15:30:31.082Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:30:31.402Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-24T15:30:31.402Z] Sending build context to Docker daemon 5.356MB [2022-05-24T15:30:31.402Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:30:31.402Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-24T15:30:31.402Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-24T15:30:31.402Z] 59bf1c3509f3: Pulling fs layer [2022-05-24T15:30:31.402Z] 666ba61612fd: Pulling fs layer [2022-05-24T15:30:31.402Z] 8ed8ca486205: Pulling fs layer [2022-05-24T15:30:31.402Z] 4fe6c5a15a65: Pulling fs layer [2022-05-24T15:30:31.402Z] 22a0e8bec74d: Pulling fs layer [2022-05-24T15:30:31.402Z] ca2b28591e48: Pulling fs layer [2022-05-24T15:30:31.402Z] a51346096db8: Pulling fs layer [2022-05-24T15:30:31.402Z] daebc70d1ce1: Pulling fs layer [2022-05-24T15:30:31.402Z] 0e18a0eac166: Pulling fs layer [2022-05-24T15:30:31.402Z] 4fe6c5a15a65: Waiting [2022-05-24T15:30:31.402Z] 22a0e8bec74d: Waiting [2022-05-24T15:30:31.402Z] ca2b28591e48: Waiting [2022-05-24T15:30:31.402Z] a51346096db8: Waiting [2022-05-24T15:30:31.402Z] daebc70d1ce1: Waiting [2022-05-24T15:30:31.402Z] 0e18a0eac166: Waiting [2022-05-24T15:30:31.402Z] 8ed8ca486205: Verifying Checksum [2022-05-24T15:30:31.402Z] 8ed8ca486205: Download complete [2022-05-24T15:30:31.402Z] 666ba61612fd: Verifying Checksum [2022-05-24T15:30:31.402Z] 666ba61612fd: Download complete [2022-05-24T15:30:31.402Z] 22a0e8bec74d: Download complete [2022-05-24T15:30:31.402Z] ca2b28591e48: Verifying Checksum [2022-05-24T15:30:31.402Z] ca2b28591e48: Download complete [2022-05-24T15:30:31.402Z] a51346096db8: Verifying Checksum [2022-05-24T15:30:31.402Z] a51346096db8: Download complete [2022-05-24T15:30:31.402Z] 59bf1c3509f3: Verifying Checksum [2022-05-24T15:30:31.402Z] 59bf1c3509f3: Download complete [2022-05-24T15:30:31.666Z] daebc70d1ce1: Verifying Checksum [2022-05-24T15:30:31.666Z] daebc70d1ce1: Download complete [2022-05-24T15:30:31.666Z] 59bf1c3509f3: Pull complete [2022-05-24T15:30:31.933Z] 666ba61612fd: Pull complete [2022-05-24T15:30:31.933Z] 8ed8ca486205: Pull complete [2022-05-24T15:30:32.194Z] 0e18a0eac166: Verifying Checksum [2022-05-24T15:30:32.194Z] 0e18a0eac166: Download complete [2022-05-24T15:30:32.194Z] 4fe6c5a15a65: Verifying Checksum [2022-05-24T15:30:32.194Z] 4fe6c5a15a65: Download complete [2022-05-24T15:30:36.392Z] 4fe6c5a15a65: Pull complete [2022-05-24T15:30:36.392Z] 22a0e8bec74d: Pull complete [2022-05-24T15:30:36.392Z] ca2b28591e48: Pull complete [2022-05-24T15:30:36.392Z] a51346096db8: Pull complete [2022-05-24T15:30:36.392Z] daebc70d1ce1: Pull complete [2022-05-24T15:30:38.300Z] 0e18a0eac166: Pull complete [2022-05-24T15:30:38.300Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-24T15:30:38.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-24T15:30:38.300Z] ---> f018257e8ee9 [2022-05-24T15:30:38.300Z] Step 3/12 : ARG MAKE='make build' [2022-05-24T15:30:40.220Z] ---> Running in 88591c83726d [2022-05-24T15:30:40.220Z] Removing intermediate container 88591c83726d [2022-05-24T15:30:40.220Z] ---> 3d4b8457b5b6 [2022-05-24T15:30:40.220Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:30:40.220Z] ---> Running in 530cf3682d8a [2022-05-24T15:30:40.220Z] Removing intermediate container 530cf3682d8a [2022-05-24T15:30:40.220Z] ---> 7b9522ec7024 [2022-05-24T15:30:40.220Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:30:40.220Z] ---> Running in 3ee0a0783b57 [2022-05-24T15:30:40.220Z] Removing intermediate container 3ee0a0783b57 [2022-05-24T15:30:40.220Z] ---> e2530259bd16 [2022-05-24T15:30:40.220Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:30:40.220Z] ---> Running in 214bd9d6c697 [2022-05-24T15:30:40.792Z] Removing intermediate container 214bd9d6c697 [2022-05-24T15:30:40.792Z] ---> 8f0768c47d76 [2022-05-24T15:30:40.792Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:30:40.792Z] ---> Running in 9fbda180d015 [2022-05-24T15:30:41.361Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:30:42.301Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:30:42.301Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-24T15:30:42.561Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-24T15:30:42.561Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-24T15:30:42.821Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-24T15:30:42.821Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T15:30:42.821Z] OK: 224 MiB in 56 packages [2022-05-24T15:30:43.081Z] Removing intermediate container 9fbda180d015 [2022-05-24T15:30:43.081Z] ---> f417087c88fd [2022-05-24T15:30:43.081Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-24T15:30:43.081Z] ---> Running in 91243ad79a2e [2022-05-24T15:30:43.341Z] Removing intermediate container 91243ad79a2e [2022-05-24T15:30:43.341Z] ---> 2c841ccc0f53 [2022-05-24T15:30:43.342Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T15:30:43.342Z] ---> 5b8bb4c96672 [2022-05-24T15:30:43.342Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:30:43.602Z] ---> Running in ba03cf52705a [2022-05-24T15:30:44.865Z] Still waiting to schedule task [2022-05-24T15:30:44.866Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-24T15:30:58.524Z] Removing intermediate container ba03cf52705a [2022-05-24T15:30:58.524Z] ---> 3a71952f23c2 [2022-05-24T15:30:58.524Z] Step 11/12 : COPY . . [2022-05-24T15:30:58.524Z] ---> 1866fce5cf53 [2022-05-24T15:30:58.524Z] Step 12/12 : RUN ${MAKE} [2022-05-24T15:30:58.524Z] ---> Running in c98cb2986832 [2022-05-24T15:30:58.524Z] noop [2022-05-24T15:30:58.524Z] Removing intermediate container c98cb2986832 [2022-05-24T15:30:58.524Z] ---> f925b74b392b [2022-05-24T15:30:58.524Z] Successfully built f925b74b392b [2022-05-24T15:30:58.524Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:30:58.821Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T15:30:58.821Z] . [Pipeline] withDockerContainer [2022-05-24T15:30:58.897Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:30:58.939Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-24T15:30:59.354Z] $ docker top 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:30:59.723Z] + go version [2022-05-24T15:30:59.723Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-24T15:30:59.737Z] $ docker stop --time=1 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da [2022-05-24T15:31:01.014Z] $ docker rm -f 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:01.443Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T15:31:01.444Z] . [Pipeline] withDockerContainer [2022-05-24T15:31:01.520Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:31:01.558Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-24T15:31:02.030Z] $ docker top 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T15:31:02.436Z] + make test [2022-05-24T15:31:02.437Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-24T15:31:02.700Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-24T15:31:12.698Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-24T15:31:12.698Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-05-24T15:31:19.285Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-24T15:31:22.577Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T15:31:22.577Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T15:31:22.577Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T15:31:22.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T15:31:22.867Z] $ docker stop --time=1 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c [2022-05-24T15:31:24.653Z] $ docker rm -f 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:31:25.118Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T15:31:25.167Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-24T15:31:25.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T15:31:26.141Z] + ls -al . [2022-05-24T15:31:26.141Z] total 168 [2022-05-24T15:31:26.141Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:31 . [2022-05-24T15:31:26.141Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:30 .. [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 6 May 24 15:30 .dockerignore [2022-05-24T15:31:26.141Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:30 .git [2022-05-24T15:31:26.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 .github [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 328 May 24 15:30 .gitignore [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 15:30 .golangci.yml [2022-05-24T15:31:26.141Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:30 .semver [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 8296 May 24 15:30 Attribution.txt [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 6948 May 24 15:30 CHANGELOG.md [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 24 15:30 Dockerfile [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:30 GOVERNANCE.md [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 656 May 24 15:30 Jenkinsfile [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 15:30 LICENSE [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 2334 May 24 15:30 Makefile [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 15:30 OWNERS.md [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 24 15:30 README.md [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:30 VERSION [2022-05-24T15:31:26.141Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:30 bin [2022-05-24T15:31:26.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 cmd [2022-05-24T15:31:26.141Z] -rw-r--r-- 1 jenkins jenkins 7631 May 24 15:31 coverage.out [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 3250 May 24 15:30 go.mod [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 35701 May 24 15:30 go.sum [2022-05-24T15:31:26.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 internal [2022-05-24T15:31:26.141Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 snap [2022-05-24T15:31:26.141Z] -rw-rw-r-- 1 jenkins jenkins 228 May 24 15:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:26.438Z] + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=amd64 --label version=2.2.1-dev.1 . [2022-05-24T15:31:26.438Z] Sending build context to Docker daemon 5.364MB [2022-05-24T15:31:26.438Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:31:26.438Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-24T15:31:26.438Z] ---> f925b74b392b [2022-05-24T15:31:26.438Z] Step 3/24 : ARG MAKE='make build' [2022-05-24T15:31:26.438Z] ---> Running in 4ed52745e9f9 [2022-05-24T15:31:26.699Z] Removing intermediate container 4ed52745e9f9 [2022-05-24T15:31:26.699Z] ---> d94a437e48e9 [2022-05-24T15:31:26.699Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:31:26.699Z] ---> Running in f9e229470c90 [2022-05-24T15:31:26.699Z] Removing intermediate container f9e229470c90 [2022-05-24T15:31:26.699Z] ---> 55d4113e2edf [2022-05-24T15:31:26.699Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:31:26.699Z] ---> Running in 820063e4f19e [2022-05-24T15:31:26.699Z] Removing intermediate container 820063e4f19e [2022-05-24T15:31:26.699Z] ---> 8f02a4b95364 [2022-05-24T15:31:26.699Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:31:26.960Z] ---> Running in fa12d9cd5f11 [2022-05-24T15:31:27.534Z] Removing intermediate container fa12d9cd5f11 [2022-05-24T15:31:27.534Z] ---> c64ba4d36e12 [2022-05-24T15:31:27.534Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:31:27.534Z] ---> Running in 4e1406e44e90 [2022-05-24T15:31:27.796Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:31:28.740Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:31:29.001Z] OK: 224 MiB in 56 packages [2022-05-24T15:31:29.266Z] Removing intermediate container 4e1406e44e90 [2022-05-24T15:31:29.266Z] ---> 38b6c65c8d95 [2022-05-24T15:31:29.266Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-24T15:31:29.266Z] ---> Running in 0bd0ffcc4356 [2022-05-24T15:31:29.266Z] Removing intermediate container 0bd0ffcc4356 [2022-05-24T15:31:29.266Z] ---> 6dfb6e40fcae [2022-05-24T15:31:29.266Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-24T15:31:29.526Z] ---> a5219053b5a1 [2022-05-24T15:31:29.526Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:31:29.526Z] ---> Running in de6d90ddac93 [2022-05-24T15:31:30.095Z] Removing intermediate container de6d90ddac93 [2022-05-24T15:31:30.095Z] ---> 145c2bdd0fac [2022-05-24T15:31:30.095Z] Step 11/24 : COPY . . [2022-05-24T15:31:30.354Z] ---> 3f21d73889ac [2022-05-24T15:31:30.354Z] Step 12/24 : RUN ${MAKE} [2022-05-24T15:31:30.354Z] ---> Running in 964d02bb3ee5 [2022-05-24T15:31:30.614Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-24T15:31:52.561Z] Removing intermediate container 964d02bb3ee5 [2022-05-24T15:31:52.561Z] ---> e6565ed9c5ad [2022-05-24T15:31:52.561Z] Step 13/24 : FROM alpine:3.14 [2022-05-24T15:31:52.561Z] 3.14: Pulling from library/alpine [2022-05-24T15:31:52.561Z] 8663204ce13b: Pulling fs layer [2022-05-24T15:31:52.561Z] 8663204ce13b: Verifying Checksum [2022-05-24T15:31:52.562Z] 8663204ce13b: Download complete [2022-05-24T15:31:52.562Z] 8663204ce13b: Pull complete [2022-05-24T15:31:52.562Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-24T15:31:52.562Z] Status: Downloaded newer image for alpine:3.14 [2022-05-24T15:31:52.562Z] ---> e04c818066af [2022-05-24T15:31:52.562Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-24T15:31:52.562Z] ---> Running in d17b13909e01 [2022-05-24T15:31:52.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-24T15:31:52.562Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-24T15:31:52.562Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-24T15:31:52.562Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-24T15:31:52.562Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-24T15:31:52.562Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-24T15:31:52.562Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-24T15:31:52.562Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-24T15:31:52.562Z] Executing busybox-1.33.1-r7.trigger [2022-05-24T15:31:52.562Z] OK: 8 MiB in 20 packages [2022-05-24T15:31:52.562Z] Removing intermediate container d17b13909e01 [2022-05-24T15:31:52.562Z] ---> ba6a73c72728 [2022-05-24T15:31:52.562Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-24T15:31:52.819Z] ---> 733486b0f3d9 [2022-05-24T15:31:52.819Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-24T15:31:53.079Z] ---> a504c1603d78 [2022-05-24T15:31:53.079Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-24T15:31:53.340Z] ---> 78dc51507685 [2022-05-24T15:31:53.340Z] Step 18/24 : EXPOSE 59993 [2022-05-24T15:31:53.340Z] ---> Running in 642b70152b6b [2022-05-24T15:31:53.340Z] Removing intermediate container 642b70152b6b [2022-05-24T15:31:53.340Z] ---> 438165709eec [2022-05-24T15:31:53.340Z] Step 19/24 : EXPOSE 161 [2022-05-24T15:31:53.340Z] ---> Running in 1bda754d143d [2022-05-24T15:31:53.599Z] Removing intermediate container 1bda754d143d [2022-05-24T15:31:53.599Z] ---> b45412c91829 [2022-05-24T15:31:53.599Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-24T15:31:53.599Z] ---> Running in d010cd4bfeea [2022-05-24T15:31:53.599Z] Removing intermediate container d010cd4bfeea [2022-05-24T15:31:53.599Z] ---> 845e9788868e [2022-05-24T15:31:53.599Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-24T15:31:53.599Z] ---> Running in 57d26653f393 [2022-05-24T15:31:53.858Z] Removing intermediate container 57d26653f393 [2022-05-24T15:31:53.859Z] ---> 8a8ff2e50d86 [2022-05-24T15:31:53.859Z] Step 22/24 : LABEL arch=amd64 [2022-05-24T15:31:53.859Z] ---> Running in 06e7516926e7 [2022-05-24T15:31:53.859Z] Removing intermediate container 06e7516926e7 [2022-05-24T15:31:53.859Z] ---> ae814a989a1b [2022-05-24T15:31:53.859Z] Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:31:53.859Z] ---> Running in 1b2e7a2f9c77 [2022-05-24T15:31:54.120Z] Removing intermediate container 1b2e7a2f9c77 [2022-05-24T15:31:54.120Z] ---> bb0c09445a25 [2022-05-24T15:31:54.120Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-24T15:31:54.120Z] ---> Running in 29d776a3fd57 [2022-05-24T15:31:54.120Z] Removing intermediate container 29d776a3fd57 [2022-05-24T15:31:54.120Z] ---> e6b7471996bb [2022-05-24T15:31:54.120Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T15:31:54.120Z] Successfully built e6b7471996bb [2022-05-24T15:31:54.120Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:31:54.210Z] provisioning config files... [2022-05-24T15:31:54.220Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3484388600447053040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:31:54.517Z] ---> docker-login.sh [2022-05-24T15:31:54.517Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:31:54.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:31:54.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:31:54.517Z] Configure a credential helper to remove this warning. See [2022-05-24T15:31:54.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:31:54.517Z] [2022-05-24T15:31:54.517Z] Login Succeeded [2022-05-24T15:31:54.517Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:31:54.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:31:54.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:31:54.776Z] Configure a credential helper to remove this warning. See [2022-05-24T15:31:54.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:31:54.776Z] [2022-05-24T15:31:54.776Z] Login Succeeded [2022-05-24T15:31:54.776Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:31:54.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:31:54.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:31:54.777Z] Configure a credential helper to remove this warning. See [2022-05-24T15:31:54.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:31:54.777Z] [2022-05-24T15:31:54.777Z] Login Succeeded [2022-05-24T15:31:54.777Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:31:54.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:31:55.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:31:55.037Z] Configure a credential helper to remove this warning. See [2022-05-24T15:31:55.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:31:55.037Z] [2022-05-24T15:31:55.037Z] Login Succeeded [2022-05-24T15:31:55.037Z] docker.io [2022-05-24T15:31:55.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:31:55.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:31:55.298Z] Configure a credential helper to remove this warning. See [2022-05-24T15:31:55.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:31:55.298Z] [2022-05-24T15:31:55.298Z] Login Succeeded [2022-05-24T15:31:55.298Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:31:55.306Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-24T15:31:55.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:31:55.361Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-05-24T15:31:55.361Z] 9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:31:55.361Z] latest [2022-05-24T15:31:55.361Z] 2.2.1-dev.1 [2022-05-24T15:31:55.361Z] 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:31:55.361Z] main [2022-05-24T15:31:55.361Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:55.665Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:55.965Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:31:55.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-24T15:31:55.965Z] 1c536eea36e2: Preparing [2022-05-24T15:31:55.965Z] 56dc71ecbc2d: Preparing [2022-05-24T15:31:55.965Z] baf96907b884: Preparing [2022-05-24T15:31:55.965Z] cdf5ba17a470: Preparing [2022-05-24T15:31:55.965Z] b541d28bf3b4: Preparing [2022-05-24T15:31:55.965Z] b541d28bf3b4: Layer already exists [2022-05-24T15:31:55.965Z] 56dc71ecbc2d: Pushed [2022-05-24T15:31:55.965Z] 1c536eea36e2: Pushed [2022-05-24T15:31:56.225Z] cdf5ba17a470: Pushed [2022-05-24T15:31:58.767Z] baf96907b884: Pushed [2022-05-24T15:31:58.767Z] 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:59.067Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:59.364Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-24T15:31:59.364Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-24T15:31:59.364Z] 1c536eea36e2: Preparing [2022-05-24T15:31:59.364Z] 56dc71ecbc2d: Preparing [2022-05-24T15:31:59.364Z] baf96907b884: Preparing [2022-05-24T15:31:59.364Z] cdf5ba17a470: Preparing [2022-05-24T15:31:59.364Z] b541d28bf3b4: Preparing [2022-05-24T15:31:59.364Z] 56dc71ecbc2d: Layer already exists [2022-05-24T15:31:59.364Z] 1c536eea36e2: Layer already exists [2022-05-24T15:31:59.364Z] b541d28bf3b4: Layer already exists [2022-05-24T15:31:59.364Z] cdf5ba17a470: Layer already exists [2022-05-24T15:31:59.364Z] baf96907b884: Layer already exists [2022-05-24T15:31:59.364Z] latest: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:59.667Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:31:59.956Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 [2022-05-24T15:31:59.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-24T15:31:59.956Z] 1c536eea36e2: Preparing [2022-05-24T15:31:59.956Z] 56dc71ecbc2d: Preparing [2022-05-24T15:31:59.956Z] baf96907b884: Preparing [2022-05-24T15:31:59.956Z] cdf5ba17a470: Preparing [2022-05-24T15:31:59.956Z] b541d28bf3b4: Preparing [2022-05-24T15:31:59.956Z] baf96907b884: Layer already exists [2022-05-24T15:31:59.956Z] cdf5ba17a470: Layer already exists [2022-05-24T15:31:59.956Z] 1c536eea36e2: Layer already exists [2022-05-24T15:31:59.956Z] b541d28bf3b4: Layer already exists [2022-05-24T15:31:59.956Z] 56dc71ecbc2d: Layer already exists [2022-05-24T15:31:59.956Z] 2.2.1-dev.1: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:00.255Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:00.549Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:32:00.549Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-24T15:32:00.549Z] 1c536eea36e2: Preparing [2022-05-24T15:32:00.549Z] 56dc71ecbc2d: Preparing [2022-05-24T15:32:00.549Z] baf96907b884: Preparing [2022-05-24T15:32:00.549Z] cdf5ba17a470: Preparing [2022-05-24T15:32:00.549Z] b541d28bf3b4: Preparing [2022-05-24T15:32:00.549Z] 1c536eea36e2: Layer already exists [2022-05-24T15:32:00.549Z] cdf5ba17a470: Layer already exists [2022-05-24T15:32:00.549Z] baf96907b884: Layer already exists [2022-05-24T15:32:00.549Z] 56dc71ecbc2d: Layer already exists [2022-05-24T15:32:00.549Z] b541d28bf3b4: Layer already exists [2022-05-24T15:32:00.549Z] 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:00.846Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:01.139Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-05-24T15:32:01.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-24T15:32:01.140Z] 1c536eea36e2: Preparing [2022-05-24T15:32:01.140Z] 56dc71ecbc2d: Preparing [2022-05-24T15:32:01.140Z] baf96907b884: Preparing [2022-05-24T15:32:01.140Z] cdf5ba17a470: Preparing [2022-05-24T15:32:01.140Z] b541d28bf3b4: Preparing [2022-05-24T15:32:01.140Z] 56dc71ecbc2d: Layer already exists [2022-05-24T15:32:01.140Z] baf96907b884: Layer already exists [2022-05-24T15:32:01.140Z] cdf5ba17a470: Layer already exists [2022-05-24T15:32:01.140Z] b541d28bf3b4: Layer already exists [2022-05-24T15:32:01.140Z] 1c536eea36e2: Layer already exists [2022-05-24T15:32:01.140Z] main: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-24T15:32:01.183Z] ===================================================== [Pipeline] echo [2022-05-24T15:32:01.194Z] taggedImages: [2022-05-24T15:32:01.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:32:01.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-24T15:32:01.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 [2022-05-24T15:32:01.194Z] - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:32:01.194Z] - 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 [2022-05-24T15:32:01.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:32:01.562Z] [2022-05-24T15:32:01.562Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:01.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:32:01.882Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-24T15:32:01.882Z] 5eb5b503b376: Pulling fs layer [2022-05-24T15:32:01.882Z] 5c69ac0246d0: Pulling fs layer [2022-05-24T15:32:01.882Z] ec43610c2a17: Pulling fs layer [2022-05-24T15:32:01.882Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-24T15:32:01.882Z] 33b1e0a273af: Pulling fs layer [2022-05-24T15:32:01.882Z] 5d3b04190fa2: Pulling fs layer [2022-05-24T15:32:01.882Z] 2f39f015ded8: Pulling fs layer [2022-05-24T15:32:01.882Z] 3a2ae6a8a46f: Waiting [2022-05-24T15:32:01.882Z] 33b1e0a273af: Waiting [2022-05-24T15:32:01.882Z] 5d3b04190fa2: Waiting [2022-05-24T15:32:01.882Z] 5c69ac0246d0: Verifying Checksum [2022-05-24T15:32:01.882Z] 5c69ac0246d0: Download complete [2022-05-24T15:32:01.882Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-24T15:32:01.882Z] 3a2ae6a8a46f: Download complete [2022-05-24T15:32:01.882Z] 33b1e0a273af: Verifying Checksum [2022-05-24T15:32:01.882Z] 33b1e0a273af: Download complete [2022-05-24T15:32:01.882Z] 5d3b04190fa2: Verifying Checksum [2022-05-24T15:32:01.882Z] 5d3b04190fa2: Download complete [2022-05-24T15:32:01.882Z] ec43610c2a17: Verifying Checksum [2022-05-24T15:32:01.882Z] ec43610c2a17: Download complete [2022-05-24T15:32:02.143Z] 5eb5b503b376: Verifying Checksum [2022-05-24T15:32:02.143Z] 5eb5b503b376: Download complete [2022-05-24T15:32:02.712Z] 2f39f015ded8: Download complete [2022-05-24T15:32:03.650Z] 5eb5b503b376: Pull complete [2022-05-24T15:32:03.650Z] 5c69ac0246d0: Pull complete [2022-05-24T15:32:04.219Z] ec43610c2a17: Pull complete [2022-05-24T15:32:04.219Z] 3a2ae6a8a46f: Pull complete [2022-05-24T15:32:04.480Z] 33b1e0a273af: Pull complete [2022-05-24T15:32:04.480Z] 5d3b04190fa2: Pull complete [2022-05-24T15:32:09.770Z] 2f39f015ded8: Pull complete [2022-05-24T15:32:09.770Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-24T15:32:09.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:32:09.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-24T15:32:09.844Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:32:09.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T15:32:11.546Z] $ docker top 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:32:12.055Z] ---> job-cost.sh [2022-05-24T15:32:12.055Z] lf-activate-venv: SKIPPING [2022-05-24T15:32:12.055Z] INFO: No Stack... [2022-05-24T15:32:12.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T15:32:12.884Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T15:32:13.183Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-05-24T15:32:13.183Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T15:32:13.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [2022-05-24T15:32:13.207Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] did not exist. Created. [2022-05-24T15:32:13.207Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T15:32:13.513Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-24T15:32:13.548Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T15:32:13.553Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T15:32:13.573Z] $ docker stop --time=1 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 [2022-05-24T15:32:14.745Z] $ docker rm -f 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T15:32:21.579Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64487 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-05-24T15:32:21.594Z] Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout [2022-05-24T15:32:21.817Z] Selected Git installation does not exist. Using Default [2022-05-24T15:32:21.817Z] The recommended git tool is: NONE [2022-05-24T15:32:27.528Z] using credential edgex-jenkins-ssh [2022-05-24T15:32:27.550Z] Cloning the remote Git repository [2022-05-24T15:32:27.617Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-05-24T15:32:27.698Z] > git init /w/workspace/device-snmp-go/31 # timeout=10 [2022-05-24T15:32:27.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-05-24T15:32:27.786Z] > git --version # timeout=10 [2022-05-24T15:32:27.828Z] > git --version # 'git version 2.25.1' [2022-05-24T15:32:27.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T15:32:27.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T15:32:28.904Z] Avoid second fetch [2022-05-24T15:32:28.905Z] Checking out Revision 9505b3b9fb87609b3cd85be587e030c33719d431 (main) [2022-05-24T15:32:28.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-05-24T15:32:28.888Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T15:32:28.928Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T15:32:28.940Z] > git checkout -f 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 [2022-05-24T15:32:33.040Z] Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T15:32:33.911Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-24T15:32:33.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T15:32:33.911Z] Dload Upload Total Spent Left Speed [2022-05-24T15:32:33.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48623 0 --:--:-- --:--:-- --:--:-- 48623 [Pipeline] sh [2022-05-24T15:32:34.430Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-24T15:32:34.775Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-24T15:32:34.775Z] + sudo tee /etc/docker/daemon.new [2022-05-24T15:32:34.775Z] { [2022-05-24T15:32:34.775Z] "registry-mirrors": [ [2022-05-24T15:32:34.775Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-24T15:32:34.775Z] ], [2022-05-24T15:32:34.775Z] "bip": "10.250.0.254/24", [2022-05-24T15:32:34.775Z] "hosts": [ [2022-05-24T15:32:34.775Z] "tcp://0.0.0.0:5555", [2022-05-24T15:32:34.775Z] "unix:///var/run/docker.sock" [2022-05-24T15:32:34.775Z] ], [2022-05-24T15:32:34.775Z] "mtu": 1458, [2022-05-24T15:32:34.775Z] "selinux-enabled": true, [2022-05-24T15:32:34.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-24T15:32:34.775Z] } [Pipeline] sh [2022-05-24T15:32:35.122Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-24T15:32:35.468Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:32:53.966Z] provisioning config files... [2022-05-24T15:32:53.990Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config8037344144950043983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:32:54.361Z] ---> docker-login.sh [2022-05-24T15:32:54.361Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:32:54.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:32:55.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:32:55.241Z] Configure a credential helper to remove this warning. See [2022-05-24T15:32:55.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:32:55.241Z] [2022-05-24T15:32:55.241Z] Login Succeeded [2022-05-24T15:32:55.241Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:32:55.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:32:55.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:32:55.515Z] Configure a credential helper to remove this warning. See [2022-05-24T15:32:55.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:32:55.515Z] [2022-05-24T15:32:55.515Z] Login Succeeded [2022-05-24T15:32:55.515Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:32:56.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:32:56.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:32:56.119Z] Configure a credential helper to remove this warning. See [2022-05-24T15:32:56.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:32:56.119Z] [2022-05-24T15:32:56.119Z] Login Succeeded [2022-05-24T15:32:56.119Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:32:56.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:32:56.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:32:56.669Z] Configure a credential helper to remove this warning. See [2022-05-24T15:32:56.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:32:56.669Z] [2022-05-24T15:32:56.669Z] Login Succeeded [2022-05-24T15:32:56.669Z] docker.io [2022-05-24T15:32:56.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:32:57.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:32:57.219Z] Configure a credential helper to remove this warning. See [2022-05-24T15:32:57.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:32:57.219Z] [2022-05-24T15:32:57.219Z] Login Succeeded [2022-05-24T15:32:57.219Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:32:57.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T15:32:57.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:32:57.731Z] ========================================================= [2022-05-24T15:32:57.732Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-24T15:32:57.732Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:32:58.077Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-24T15:32:58.352Z] Sending build context to Docker daemon 2.769MB [2022-05-24T15:32:58.352Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:32:58.352Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-24T15:32:58.638Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-24T15:32:58.638Z] 9b3977197b4f: Pulling fs layer [2022-05-24T15:32:58.638Z] 1a89e8eeedd5: Pulling fs layer [2022-05-24T15:32:58.638Z] 94645a83ff95: Pulling fs layer [2022-05-24T15:32:58.638Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-24T15:32:58.638Z] 0c92f367c5e7: Pulling fs layer [2022-05-24T15:32:58.638Z] 3096ccb668a1: Pulling fs layer [2022-05-24T15:32:58.638Z] e8cf19c19ddd: Pulling fs layer [2022-05-24T15:32:58.638Z] a4caa8a26152: Pulling fs layer [2022-05-24T15:32:58.638Z] 0c92f367c5e7: Waiting [2022-05-24T15:32:58.638Z] 3096ccb668a1: Waiting [2022-05-24T15:32:58.638Z] e8cf19c19ddd: Waiting [2022-05-24T15:32:58.638Z] a4caa8a26152: Waiting [2022-05-24T15:32:58.638Z] 3f3a8bcf1eab: Waiting [2022-05-24T15:32:58.638Z] 94645a83ff95: Verifying Checksum [2022-05-24T15:32:58.638Z] 94645a83ff95: Download complete [2022-05-24T15:32:58.638Z] 1a89e8eeedd5: Download complete [2022-05-24T15:32:58.638Z] 0c92f367c5e7: Verifying Checksum [2022-05-24T15:32:58.638Z] 0c92f367c5e7: Download complete [2022-05-24T15:32:58.638Z] 3096ccb668a1: Verifying Checksum [2022-05-24T15:32:58.638Z] 3096ccb668a1: Download complete [2022-05-24T15:32:58.638Z] e8cf19c19ddd: Download complete [2022-05-24T15:32:58.638Z] 9b3977197b4f: Verifying Checksum [2022-05-24T15:32:58.638Z] 9b3977197b4f: Download complete [2022-05-24T15:32:59.648Z] 9b3977197b4f: Pull complete [2022-05-24T15:32:59.927Z] 1a89e8eeedd5: Pull complete [2022-05-24T15:33:00.530Z] 94645a83ff95: Pull complete [2022-05-24T15:33:00.806Z] a4caa8a26152: Verifying Checksum [2022-05-24T15:33:00.806Z] a4caa8a26152: Download complete [2022-05-24T15:33:01.406Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-24T15:33:01.406Z] 3f3a8bcf1eab: Download complete [2022-05-24T15:33:13.824Z] 3f3a8bcf1eab: Pull complete [2022-05-24T15:33:13.824Z] 0c92f367c5e7: Pull complete [2022-05-24T15:33:13.824Z] 3096ccb668a1: Pull complete [2022-05-24T15:33:13.824Z] e8cf19c19ddd: Pull complete [2022-05-24T15:33:20.552Z] a4caa8a26152: Pull complete [2022-05-24T15:33:20.552Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-24T15:33:20.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-24T15:33:20.552Z] ---> 725f1c02e7f9 [2022-05-24T15:33:20.552Z] Step 3/12 : ARG MAKE='make build' [2022-05-24T15:33:20.827Z] ---> Running in 5e329933535a [2022-05-24T15:33:21.101Z] Removing intermediate container 5e329933535a [2022-05-24T15:33:21.101Z] ---> bc0a9aa41443 [2022-05-24T15:33:21.101Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:33:21.101Z] ---> Running in 48a65402e255 [2022-05-24T15:33:21.381Z] Removing intermediate container 48a65402e255 [2022-05-24T15:33:21.381Z] ---> d5f50f0a909e [2022-05-24T15:33:21.381Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:33:21.658Z] ---> Running in 8310f86a3942 [2022-05-24T15:33:21.934Z] Removing intermediate container 8310f86a3942 [2022-05-24T15:33:21.934Z] ---> 7379cb962997 [2022-05-24T15:33:21.934Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:33:21.934Z] ---> Running in 46686d7d0b3c [2022-05-24T15:33:23.919Z] Removing intermediate container 46686d7d0b3c [2022-05-24T15:33:23.919Z] ---> c4b4b9c55765 [2022-05-24T15:33:23.919Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:33:23.919Z] ---> Running in a4fdd1a17822 [2022-05-24T15:33:24.899Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:33:25.495Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:33:26.478Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-24T15:33:26.478Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-24T15:33:26.478Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-24T15:33:26.757Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-24T15:33:26.757Z] Executing busybox-1.34.1-r3.trigger [2022-05-24T15:33:26.757Z] OK: 224 MiB in 56 packages [2022-05-24T15:33:28.743Z] Removing intermediate container a4fdd1a17822 [2022-05-24T15:33:28.743Z] ---> ac911d6d400e [2022-05-24T15:33:28.743Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-24T15:33:28.743Z] ---> Running in ec3bf86f37f7 [2022-05-24T15:33:28.743Z] Removing intermediate container ec3bf86f37f7 [2022-05-24T15:33:28.743Z] ---> bdb91b98eefb [2022-05-24T15:33:28.743Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-24T15:33:29.343Z] ---> a46510245e1d [2022-05-24T15:33:29.344Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:33:29.344Z] ---> Running in c28bc848be36 [2022-05-24T15:34:16.353Z] Removing intermediate container c28bc848be36 [2022-05-24T15:34:16.353Z] ---> e1ff1e8b8d35 [2022-05-24T15:34:16.353Z] Step 11/12 : COPY . . [2022-05-24T15:34:16.353Z] ---> 8b88a7c1879d [2022-05-24T15:34:16.353Z] Step 12/12 : RUN ${MAKE} [2022-05-24T15:34:16.353Z] ---> Running in a1e653573a6f [2022-05-24T15:34:16.353Z] noop [2022-05-24T15:34:16.353Z] Removing intermediate container a1e653573a6f [2022-05-24T15:34:16.353Z] ---> 32cc6f35eff6 [2022-05-24T15:34:16.353Z] Successfully built 32cc6f35eff6 [2022-05-24T15:34:16.353Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:34:16.710Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T15:34:16.710Z] . [Pipeline] withDockerContainer [2022-05-24T15:34:16.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container [2022-05-24T15:34:17.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 [2022-05-24T15:34:18.179Z] $ docker top b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:34:19.059Z] + go version [2022-05-24T15:34:19.059Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-24T15:34:19.090Z] $ docker stop --time=1 b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf [2022-05-24T15:34:20.706Z] $ docker rm -f b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:34:21.334Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T15:34:21.335Z] . [Pipeline] withDockerContainer [2022-05-24T15:34:21.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container [2022-05-24T15:34:21.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 [2022-05-24T15:34:22.806Z] $ docker top 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T15:34:23.702Z] + make test [2022-05-24T15:34:23.702Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-24T15:34:25.144Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-24T15:35:47.005Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-24T15:35:47.005Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements [2022-05-24T15:35:47.005Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-24T15:35:47.005Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-24T15:36:13.860Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T15:36:13.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T15:36:13.860Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-24T15:36:13.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-24T15:36:13.904Z] $ docker stop --time=1 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 [2022-05-24T15:36:15.668Z] $ docker rm -f 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:36:16.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-24T15:36:16.590Z] Warning: overwriting stash ‘coverage-report’ [2022-05-24T15:36:17.017Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T15:36:17.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-24T15:36:17.749Z] + ls -al . [2022-05-24T15:36:17.749Z] total 164 [2022-05-24T15:36:17.749Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:36 . [2022-05-24T15:36:17.749Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:32 .. [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 6 May 24 15:32 .dockerignore [2022-05-24T15:36:17.749Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:32 .git [2022-05-24T15:36:17.749Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 .github [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 328 May 24 15:32 .gitignore [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 15:32 .golangci.yml [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 8296 May 24 15:32 Attribution.txt [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 6948 May 24 15:32 CHANGELOG.md [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 24 15:32 Dockerfile [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:32 GOVERNANCE.md [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 656 May 24 15:32 Jenkinsfile [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 15:32 LICENSE [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 2334 May 24 15:32 Makefile [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 15:32 OWNERS.md [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 24 15:32 README.md [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:30 VERSION [2022-05-24T15:36:17.749Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:32 bin [2022-05-24T15:36:17.749Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 cmd [2022-05-24T15:36:17.749Z] -rw-r--r-- 1 jenkins jenkins 7631 May 24 15:35 coverage.out [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 3250 May 24 15:32 go.mod [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 35701 May 24 15:32 go.sum [2022-05-24T15:36:17.749Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 internal [2022-05-24T15:36:17.749Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 snap [2022-05-24T15:36:17.749Z] -rw-rw-r-- 1 jenkins jenkins 228 May 24 15:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:36:18.097Z] + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=arm64 --label version=2.2.1-dev.1 . [2022-05-24T15:36:18.372Z] Sending build context to Docker daemon 2.778MB [2022-05-24T15:36:18.372Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T15:36:18.372Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-24T15:36:18.372Z] ---> 32cc6f35eff6 [2022-05-24T15:36:18.372Z] Step 3/24 : ARG MAKE='make build' [2022-05-24T15:36:18.647Z] ---> Running in 918e0de3ae5f [2022-05-24T15:36:18.921Z] Removing intermediate container 918e0de3ae5f [2022-05-24T15:36:18.921Z] ---> 29230fd6d081 [2022-05-24T15:36:18.921Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-24T15:36:18.921Z] ---> Running in 7decc70e72e6 [2022-05-24T15:36:19.195Z] Removing intermediate container 7decc70e72e6 [2022-05-24T15:36:19.195Z] ---> bc4838cd4f52 [2022-05-24T15:36:19.195Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-24T15:36:19.195Z] ---> Running in de3613927892 [2022-05-24T15:36:19.491Z] Removing intermediate container de3613927892 [2022-05-24T15:36:19.491Z] ---> 026e55fc9a19 [2022-05-24T15:36:19.491Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T15:36:19.774Z] ---> Running in 07f704e63379 [2022-05-24T15:36:21.209Z] Removing intermediate container 07f704e63379 [2022-05-24T15:36:21.209Z] ---> 59d337336d5e [2022-05-24T15:36:21.209Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-24T15:36:21.209Z] ---> Running in 0e498be46741 [2022-05-24T15:36:22.187Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:36:23.163Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:36:24.146Z] OK: 224 MiB in 56 packages [2022-05-24T15:36:24.746Z] Removing intermediate container 0e498be46741 [2022-05-24T15:36:24.746Z] ---> f140c24df349 [2022-05-24T15:36:24.746Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-24T15:36:24.746Z] ---> Running in e11136ce3240 [2022-05-24T15:36:25.016Z] Removing intermediate container e11136ce3240 [2022-05-24T15:36:25.016Z] ---> dace7edd5d5a [2022-05-24T15:36:25.016Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-24T15:36:25.615Z] ---> 9049110bd328 [2022-05-24T15:36:25.615Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T15:36:25.615Z] ---> Running in 2d05553bf9f0 [2022-05-24T15:36:27.591Z] Removing intermediate container 2d05553bf9f0 [2022-05-24T15:36:27.591Z] ---> b881a18590ef [2022-05-24T15:36:27.591Z] Step 11/24 : COPY . . [2022-05-24T15:36:28.185Z] ---> a70938486065 [2022-05-24T15:36:28.185Z] Step 12/24 : RUN ${MAKE} [2022-05-24T15:36:28.185Z] ---> Running in c7169954eab8 [2022-05-24T15:36:29.164Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-24T15:38:36.001Z] Removing intermediate container c7169954eab8 [2022-05-24T15:38:36.001Z] ---> 97546fbb64db [2022-05-24T15:38:36.001Z] Step 13/24 : FROM alpine:3.14 [2022-05-24T15:38:36.001Z] 3.14: Pulling from library/alpine [2022-05-24T15:38:36.001Z] 455c02918c45: Pulling fs layer [2022-05-24T15:38:36.001Z] 455c02918c45: Verifying Checksum [2022-05-24T15:38:36.001Z] 455c02918c45: Download complete [2022-05-24T15:38:36.001Z] 455c02918c45: Pull complete [2022-05-24T15:38:36.001Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-24T15:38:36.001Z] Status: Downloaded newer image for alpine:3.14 [2022-05-24T15:38:36.001Z] ---> ac73e934f311 [2022-05-24T15:38:36.001Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-24T15:38:36.001Z] ---> Running in a65d0d1736e7 [2022-05-24T15:38:36.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-24T15:38:36.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-24T15:38:37.537Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-24T15:38:37.537Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-24T15:38:37.537Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-24T15:38:37.537Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-24T15:38:37.537Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-24T15:38:37.537Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-24T15:38:37.537Z] Executing busybox-1.33.1-r7.trigger [2022-05-24T15:38:37.537Z] OK: 8 MiB in 20 packages [2022-05-24T15:38:38.529Z] Removing intermediate container a65d0d1736e7 [2022-05-24T15:38:38.529Z] ---> c47cbe63f552 [2022-05-24T15:38:38.529Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-24T15:38:39.965Z] ---> 90a4b0d504c2 [2022-05-24T15:38:39.965Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-24T15:38:40.561Z] ---> 194e0f6bc7bc [2022-05-24T15:38:40.561Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-24T15:38:41.162Z] ---> 7a850802da49 [2022-05-24T15:38:41.163Z] Step 18/24 : EXPOSE 59993 [2022-05-24T15:38:41.163Z] ---> Running in 823b95cd1bbe [2022-05-24T15:38:41.436Z] Removing intermediate container 823b95cd1bbe [2022-05-24T15:38:41.436Z] ---> c92591e0d9a1 [2022-05-24T15:38:41.436Z] Step 19/24 : EXPOSE 161 [2022-05-24T15:38:41.436Z] ---> Running in 6bb1a0b229df [2022-05-24T15:38:41.712Z] Removing intermediate container 6bb1a0b229df [2022-05-24T15:38:41.712Z] ---> 06e100dab17e [2022-05-24T15:38:41.712Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-24T15:38:41.987Z] ---> Running in 8c39bd41b4d2 [2022-05-24T15:38:42.263Z] Removing intermediate container 8c39bd41b4d2 [2022-05-24T15:38:42.263Z] ---> 3cae2a9b31e3 [2022-05-24T15:38:42.263Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-24T15:38:42.263Z] ---> Running in 2672d1a3b8de [2022-05-24T15:38:42.537Z] Removing intermediate container 2672d1a3b8de [2022-05-24T15:38:42.537Z] ---> d61ed971d44c [2022-05-24T15:38:42.537Z] Step 22/24 : LABEL arch=arm64 [2022-05-24T15:38:42.537Z] ---> Running in e8a373a04d08 [2022-05-24T15:38:43.137Z] Removing intermediate container e8a373a04d08 [2022-05-24T15:38:43.137Z] ---> 7fe396925760 [2022-05-24T15:38:43.137Z] Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:38:43.137Z] ---> Running in 7ae614925741 [2022-05-24T15:38:43.421Z] Removing intermediate container 7ae614925741 [2022-05-24T15:38:43.421Z] ---> 079390e6f617 [2022-05-24T15:38:43.421Z] Step 24/24 : LABEL version=2.2.1-dev.1 [2022-05-24T15:38:43.421Z] ---> Running in 5c644d324d8e [2022-05-24T15:38:43.694Z] Removing intermediate container 5c644d324d8e [2022-05-24T15:38:43.694Z] ---> 5841a1526c10 [2022-05-24T15:38:43.694Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-24T15:38:43.694Z] Successfully built 5841a1526c10 [2022-05-24T15:38:43.694Z] 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 [2022-05-24T15:38:44.061Z] provisioning config files... [2022-05-24T15:38:44.079Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config5101076884077834612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:38:44.437Z] ---> docker-login.sh [2022-05-24T15:38:44.437Z] nexus3.edgexfoundry.org:10001 [2022-05-24T15:38:44.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:38:44.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:38:44.711Z] Configure a credential helper to remove this warning. See [2022-05-24T15:38:44.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:38:44.711Z] [2022-05-24T15:38:44.711Z] Login Succeeded [2022-05-24T15:38:44.711Z] nexus3.edgexfoundry.org:10002 [2022-05-24T15:38:45.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:38:45.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:38:45.307Z] Configure a credential helper to remove this warning. See [2022-05-24T15:38:45.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:38:45.307Z] [2022-05-24T15:38:45.307Z] Login Succeeded [2022-05-24T15:38:45.307Z] nexus3.edgexfoundry.org:10003 [2022-05-24T15:38:45.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:38:45.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:38:45.906Z] Configure a credential helper to remove this warning. See [2022-05-24T15:38:45.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:38:45.906Z] [2022-05-24T15:38:45.906Z] Login Succeeded [2022-05-24T15:38:45.906Z] nexus3.edgexfoundry.org:10004 [2022-05-24T15:38:46.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:38:46.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:38:46.456Z] Configure a credential helper to remove this warning. See [2022-05-24T15:38:46.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:38:46.456Z] [2022-05-24T15:38:46.456Z] Login Succeeded [2022-05-24T15:38:46.456Z] docker.io [2022-05-24T15:38:46.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T15:38:47.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T15:38:47.328Z] Configure a credential helper to remove this warning. See [2022-05-24T15:38:47.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T15:38:47.328Z] [2022-05-24T15:38:47.328Z] Login Succeeded [2022-05-24T15:38:47.328Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T15:38:47.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-24T15:38:47.381Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T15:38:47.406Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-05-24T15:38:47.406Z] 9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:38:47.406Z] latest [2022-05-24T15:38:47.406Z] 2.2.1-dev.1 [2022-05-24T15:38:47.406Z] 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:38:47.406Z] main [2022-05-24T15:38:47.406Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:47.775Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:48.127Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:38:48.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-24T15:38:48.128Z] a0b42ffb1aac: Preparing [2022-05-24T15:38:48.128Z] 86da820c36f2: Preparing [2022-05-24T15:38:48.128Z] f288eab90bb5: Preparing [2022-05-24T15:38:48.128Z] 084aaa49e47b: Preparing [2022-05-24T15:38:48.128Z] f73e7dbfee58: Preparing [2022-05-24T15:38:48.402Z] f73e7dbfee58: Layer already exists [2022-05-24T15:38:48.402Z] a0b42ffb1aac: Pushed [2022-05-24T15:38:48.402Z] 86da820c36f2: Pushed [2022-05-24T15:38:49.000Z] 084aaa49e47b: Pushed [2022-05-24T15:38:54.396Z] f288eab90bb5: Pushed [2022-05-24T15:38:54.396Z] 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:54.751Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:55.094Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-24T15:38:55.094Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-24T15:38:55.094Z] a0b42ffb1aac: Preparing [2022-05-24T15:38:55.094Z] 86da820c36f2: Preparing [2022-05-24T15:38:55.094Z] f288eab90bb5: Preparing [2022-05-24T15:38:55.094Z] 084aaa49e47b: Preparing [2022-05-24T15:38:55.094Z] f73e7dbfee58: Preparing [2022-05-24T15:38:55.094Z] a0b42ffb1aac: Layer already exists [2022-05-24T15:38:55.094Z] f288eab90bb5: Layer already exists [2022-05-24T15:38:55.094Z] 86da820c36f2: Layer already exists [2022-05-24T15:38:55.094Z] f73e7dbfee58: Layer already exists [2022-05-24T15:38:55.094Z] 084aaa49e47b: Layer already exists [2022-05-24T15:38:55.368Z] latest: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:55.719Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:56.070Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 [2022-05-24T15:38:56.070Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-24T15:38:56.070Z] a0b42ffb1aac: Preparing [2022-05-24T15:38:56.070Z] 86da820c36f2: Preparing [2022-05-24T15:38:56.070Z] f288eab90bb5: Preparing [2022-05-24T15:38:56.070Z] 084aaa49e47b: Preparing [2022-05-24T15:38:56.070Z] f73e7dbfee58: Preparing [2022-05-24T15:38:56.343Z] 084aaa49e47b: Layer already exists [2022-05-24T15:38:56.343Z] a0b42ffb1aac: Layer already exists [2022-05-24T15:38:56.343Z] 86da820c36f2: Layer already exists [2022-05-24T15:38:56.343Z] f288eab90bb5: Layer already exists [2022-05-24T15:38:56.343Z] f73e7dbfee58: Layer already exists [2022-05-24T15:38:56.343Z] 2.2.1-dev.1: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:56.697Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:57.043Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:38:57.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-24T15:38:57.043Z] a0b42ffb1aac: Preparing [2022-05-24T15:38:57.043Z] 86da820c36f2: Preparing [2022-05-24T15:38:57.043Z] f288eab90bb5: Preparing [2022-05-24T15:38:57.043Z] 084aaa49e47b: Preparing [2022-05-24T15:38:57.043Z] f73e7dbfee58: Preparing [2022-05-24T15:38:57.043Z] f73e7dbfee58: Layer already exists [2022-05-24T15:38:57.043Z] f288eab90bb5: Layer already exists [2022-05-24T15:38:57.043Z] 084aaa49e47b: Layer already exists [2022-05-24T15:38:57.043Z] a0b42ffb1aac: Layer already exists [2022-05-24T15:38:57.043Z] 86da820c36f2: Layer already exists [2022-05-24T15:38:57.317Z] 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:57.667Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:58.016Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-05-24T15:38:58.016Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-24T15:38:58.016Z] a0b42ffb1aac: Preparing [2022-05-24T15:38:58.016Z] 86da820c36f2: Preparing [2022-05-24T15:38:58.016Z] f288eab90bb5: Preparing [2022-05-24T15:38:58.016Z] 084aaa49e47b: Preparing [2022-05-24T15:38:58.016Z] f73e7dbfee58: Preparing [2022-05-24T15:38:58.016Z] 084aaa49e47b: Layer already exists [2022-05-24T15:38:58.016Z] f288eab90bb5: Layer already exists [2022-05-24T15:38:58.016Z] 86da820c36f2: Layer already exists [2022-05-24T15:38:58.016Z] a0b42ffb1aac: Layer already exists [2022-05-24T15:38:58.016Z] f73e7dbfee58: Layer already exists [2022-05-24T15:38:58.289Z] main: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-24T15:38:58.340Z] ===================================================== [Pipeline] echo [2022-05-24T15:38:58.351Z] taggedImages: [2022-05-24T15:38:58.351Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 [2022-05-24T15:38:58.351Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-24T15:38:58.351Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 [2022-05-24T15:38:58.351Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [2022-05-24T15:38:58.351Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:58.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:38:58.725Z] [2022-05-24T15:38:58.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:38:59.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:38:59.357Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-24T15:38:59.357Z] 8998bd30e6a1: Pulling fs layer [2022-05-24T15:38:59.357Z] 04944245beec: Pulling fs layer [2022-05-24T15:38:59.357Z] 699f458cf7ca: Pulling fs layer [2022-05-24T15:38:59.357Z] 765212b225bb: Pulling fs layer [2022-05-24T15:38:59.357Z] f23df028b6ca: Pulling fs layer [2022-05-24T15:38:59.357Z] d65c8cfc05b1: Pulling fs layer [2022-05-24T15:38:59.357Z] 2437ff75d9bd: Pulling fs layer [2022-05-24T15:38:59.357Z] f23df028b6ca: Waiting [2022-05-24T15:38:59.357Z] 2437ff75d9bd: Waiting [2022-05-24T15:38:59.357Z] d65c8cfc05b1: Waiting [2022-05-24T15:38:59.357Z] 765212b225bb: Waiting [2022-05-24T15:38:59.357Z] 04944245beec: Verifying Checksum [2022-05-24T15:38:59.357Z] 04944245beec: Download complete [2022-05-24T15:38:59.357Z] 765212b225bb: Download complete [2022-05-24T15:38:59.357Z] f23df028b6ca: Download complete [2022-05-24T15:38:59.357Z] d65c8cfc05b1: Verifying Checksum [2022-05-24T15:38:59.357Z] d65c8cfc05b1: Download complete [2022-05-24T15:38:59.632Z] 699f458cf7ca: Verifying Checksum [2022-05-24T15:38:59.633Z] 699f458cf7ca: Download complete [2022-05-24T15:38:59.907Z] 8998bd30e6a1: Verifying Checksum [2022-05-24T15:38:59.907Z] 8998bd30e6a1: Download complete [2022-05-24T15:39:02.531Z] 2437ff75d9bd: Verifying Checksum [2022-05-24T15:39:02.531Z] 2437ff75d9bd: Download complete [2022-05-24T15:39:03.967Z] 8998bd30e6a1: Pull complete [2022-05-24T15:39:04.565Z] 04944245beec: Pull complete [2022-05-24T15:39:06.003Z] 699f458cf7ca: Pull complete [2022-05-24T15:39:06.277Z] 765212b225bb: Pull complete [2022-05-24T15:39:06.876Z] f23df028b6ca: Pull complete [2022-05-24T15:39:07.151Z] d65c8cfc05b1: Pull complete [2022-05-24T15:39:22.249Z] 2437ff75d9bd: Pull complete [2022-05-24T15:39:22.249Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-24T15:39:22.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T15:39:22.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-24T15:39:22.494Z] prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container [2022-05-24T15:39:22.583Z] $ 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/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 [2022-05-24T15:39:25.271Z] $ docker top 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:39:26.223Z] ---> job-cost.sh [2022-05-24T15:39:26.223Z] lf-activate-venv: SKIPPING [2022-05-24T15:39:26.223Z] INFO: No Stack... [2022-05-24T15:39:26.819Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-24T15:39:27.417Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T15:39:28.103Z] + cat /w/workspace/device-snmp-go/31/archives/cost.csv [2022-05-24T15:39:28.103Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T15:39:28.177Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [2022-05-24T15:39:28.184Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] did not exist. Created. [2022-05-24T15:39:28.185Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T15:39:28.869Z] /w/workspace/device-snmp-go/31@tmp/durable-8bc8113b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-24T15:39:29.557Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-24T15:39:29.579Z] Warning: overwriting stash ‘stack-cost’ [2022-05-24T15:39:29.637Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T15:39:29.647Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T15:39:29.672Z] $ docker stop --time=1 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 [2022-05-24T15:39:31.290Z] $ docker rm -f 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 [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 [2022-05-24T15:39:31.818Z] provisioning config files... [2022-05-24T15:39:31.827Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1071106515438252913tmp [Pipeline] { [Pipeline] sh [2022-05-24T15:39:32.121Z] + set +x [2022-05-24T15:39:32.121Z] + curl -s https://codecov.io/bash [2022-05-24T15:39:32.121Z] + bash -s -- [2022-05-24T15:39:32.121Z] [2022-05-24T15:39:32.121Z] _____ _ [2022-05-24T15:39:32.121Z] / ____| | | [2022-05-24T15:39:32.121Z] | | ___ __| | ___ ___ _____ __ [2022-05-24T15:39:32.121Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-24T15:39:32.121Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-24T15:39:32.121Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-24T15:39:32.121Z] Bash-1.0.6 [2022-05-24T15:39:32.121Z] [2022-05-24T15:39:32.121Z] [2022-05-24T15:39:32.121Z] ==> git version 2.25.1 found [2022-05-24T15:39:32.121Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-24T15:39:32.121Z] Release-Date: 2020-01-08 [2022-05-24T15:39:32.121Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-24T15:39:32.121Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-24T15:39:32.121Z] ==> Jenkins CI detected. [2022-05-24T15:39:32.121Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-05-24T15:39:32.121Z] project root: . [2022-05-24T15:39:32.121Z] --> token set from env [2022-05-24T15:39:32.121Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-24T15:39:32.121Z] ==> Running gcov in . (disable via -X gcov) [2022-05-24T15:39:32.121Z] ==> Python coveragepy not found [2022-05-24T15:39:32.121Z] ==> Searching for coverage reports in: [2022-05-24T15:39:32.121Z] + . [2022-05-24T15:39:32.121Z] -> Found 1 reports [2022-05-24T15:39:32.121Z] ==> Detecting git/mercurial file structure [2022-05-24T15:39:32.121Z] ==> Reading reports [2022-05-24T15:39:32.382Z] + ./coverage.out bytes=7631 [2022-05-24T15:39:32.382Z] ==> Appending adjustments [2022-05-24T15:39:32.382Z] https://docs.codecov.io/docs/fixing-reports [2022-05-24T15:39:32.382Z] + Found adjustments [2022-05-24T15:39:32.382Z] ==> Gzipping contents [2022-05-24T15:39:32.382Z] 4.0K /tmp/codecov.MPCgWo.gz [2022-05-24T15:39:32.382Z] ==> Uploading reports [2022-05-24T15:39:32.382Z] url: https://codecov.io [2022-05-24T15:39:32.382Z] query: branch=main&commit=9505b3b9fb87609b3cd85be587e030c33719d431&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-24T15:39:32.382Z] -> Pinging Codecov [2022-05-24T15:39:32.382Z] 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=9505b3b9fb87609b3cd85be587e030c33719d431&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-24T15:39:32.642Z] -> Uploading to [2022-05-24T15:39:32.642Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-24/6C56EA5C29638FB4528AC87E60AF5AE0/9505b3b9fb87609b3cd85be587e030c33719d431/3bb07f4e-6727-4035-ac3f-5bb05f18673f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T153932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d1fa68b84a38b6a30f723a421c7ded3b9dfab63793070aabf08d4945764c068 [2022-05-24T15:39:32.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T15:39:32.642Z] Dload Upload Total Spent Left Speed [2022-05-24T15:39:32.903Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7896 --:--:-- --:--:-- --:--:-- 7857 100 1603 0 0 100 1603 0 6189 --:--:-- --:--:-- --:--:-- 6165 [2022-05-24T15:39:32.903Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] } [2022-05-24T15:39:32.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-24T15:39:33.164Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-24T15:39:33.174Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:39:33.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-24T15:39:33.469Z] [2022-05-24T15:39:33.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:39:33.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-24T15:39:33.769Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-24T15:39:33.769Z] 188c0c94c7c5: Pulling fs layer [2022-05-24T15:39:33.769Z] 0ef7d3d256c8: Pulling fs layer [2022-05-24T15:39:33.769Z] de9db76c5a1d: Pulling fs layer [2022-05-24T15:39:33.769Z] 0eba1c9be4d2: Pulling fs layer [2022-05-24T15:39:33.769Z] 0d57e429df01: Pulling fs layer [2022-05-24T15:39:33.769Z] 4e4be7b47b0d: Pulling fs layer [2022-05-24T15:39:33.769Z] e1f770b5df2f: Pulling fs layer [2022-05-24T15:39:33.769Z] 85a0685a4137: Pulling fs layer [2022-05-24T15:39:33.769Z] 0eba1c9be4d2: Waiting [2022-05-24T15:39:33.769Z] 0d57e429df01: Waiting [2022-05-24T15:39:33.769Z] e1f770b5df2f: Waiting [2022-05-24T15:39:33.769Z] 4e4be7b47b0d: Waiting [2022-05-24T15:39:33.769Z] 85a0685a4137: Waiting [2022-05-24T15:39:33.769Z] de9db76c5a1d: Verifying Checksum [2022-05-24T15:39:33.769Z] de9db76c5a1d: Download complete [2022-05-24T15:39:33.769Z] 0ef7d3d256c8: Verifying Checksum [2022-05-24T15:39:33.769Z] 0ef7d3d256c8: Download complete [2022-05-24T15:39:33.769Z] 0d57e429df01: Download complete [2022-05-24T15:39:33.769Z] 4e4be7b47b0d: Verifying Checksum [2022-05-24T15:39:33.769Z] 4e4be7b47b0d: Download complete [2022-05-24T15:39:33.769Z] 188c0c94c7c5: Verifying Checksum [2022-05-24T15:39:33.769Z] 188c0c94c7c5: Download complete [2022-05-24T15:39:34.030Z] 188c0c94c7c5: Pull complete [2022-05-24T15:39:34.030Z] e1f770b5df2f: Verifying Checksum [2022-05-24T15:39:34.030Z] e1f770b5df2f: Download complete [2022-05-24T15:39:34.030Z] 0ef7d3d256c8: Pull complete [2022-05-24T15:39:34.291Z] de9db76c5a1d: Pull complete [2022-05-24T15:39:34.552Z] 0eba1c9be4d2: Verifying Checksum [2022-05-24T15:39:34.552Z] 0eba1c9be4d2: Download complete [2022-05-24T15:39:34.812Z] 85a0685a4137: Verifying Checksum [2022-05-24T15:39:34.812Z] 85a0685a4137: Download complete [2022-05-24T15:39:38.100Z] 0eba1c9be4d2: Pull complete [2022-05-24T15:39:38.100Z] 0d57e429df01: Pull complete [2022-05-24T15:39:38.100Z] 4e4be7b47b0d: Pull complete [2022-05-24T15:39:38.668Z] e1f770b5df2f: Pull complete [2022-05-24T15:39:41.957Z] 85a0685a4137: Pull complete [2022-05-24T15:39:41.957Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-24T15:39:41.957Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-24T15:39:41.957Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-24T15:39:42.027Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:39:42.059Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-24T15:39:44.182Z] $ docker top aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-24T15:39:44.269Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-24T15:39:44.554Z] + set -o pipefail [2022-05-24T15:39:44.555Z] + snyk monitor '--org=edgex-jenkins' [2022-05-24T15:39:49.833Z] [2022-05-24T15:39:49.833Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-05-24T15:39:49.833Z] [2022-05-24T15:39:49.833Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/cbb236dd-7ab1-4814-9413-dc2449b800ac [2022-05-24T15:39:49.833Z] [2022-05-24T15:39:49.833Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-24T15:39:49.833Z] [2022-05-24T15:39:49.833Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-24T15:39:49.833Z] [2022-05-24T15:39:50.095Z] [Pipeline] } [2022-05-24T15:39:50.106Z] $ docker stop --time=1 aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 [2022-05-24T15:39:52.352Z] $ docker rm -f aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 [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 [2022-05-24T15:39:53.170Z] + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] sh [2022-05-24T15:39:53.467Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T15:39:53.467Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:39:53.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:39:53.762Z] . [Pipeline] withDockerContainer [2022-05-24T15:39:53.833Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:39:53.864Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T15:39:54.278Z] $ docker top d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T15:39:54.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:39:54.381Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:39:54.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:39:54.499Z] $ docker exec d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 ssh-agent [2022-05-24T15:39:54.625Z] SSH_AUTH_SOCK=/tmp/ssh-UNUjsJC8Q2nz/agent.33 [2022-05-24T15:39:54.625Z] SSH_AGENT_PID=40 [2022-05-24T15:39:54.630Z] Running ssh-add (command line suppressed) [2022-05-24T15:39:54.731Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7890867523298504876.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7890867523298504876.key) [2022-05-24T15:39:54.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:39:55.096Z] + git semver tag [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,234 [run_tag] DEBUG tag force:False [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,234 [check_head_tag] DEBUG check head tag [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,235 [execute] INFO git cat-file --batch-check [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,238 [execute] INFO git cat-file --batch [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,251 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,251 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-24T15:39:55.361Z] 2022-05-24 15:39:55,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:39:55.361Z] 2.2.1-dev.1 [Pipeline] } [2022-05-24T15:39:55.368Z] $ docker exec --env ******** --env ******** d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 ssh-agent -k [2022-05-24T15:39:55.477Z] unset SSH_AUTH_SOCK; [2022-05-24T15:39:55.477Z] unset SSH_AGENT_PID; [2022-05-24T15:39:55.478Z] echo Agent pid 40 killed; [2022-05-24T15:39:55.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T15:39:55.803Z] + git semver [Pipeline] } [2022-05-24T15:39:56.078Z] $ docker stop --time=1 d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 [2022-05-24T15:39:57.382Z] $ docker rm -f d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:39:57.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-24T15:39:57.805Z] [2022-05-24T15:39:57.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:39:58.106Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-24T15:39:58.106Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-24T15:39:58.106Z] ab5ef0e58194: Pulling fs layer [2022-05-24T15:39:58.106Z] 9712f1f96733: Pulling fs layer [2022-05-24T15:39:58.106Z] 63f879dbbcfc: Pulling fs layer [2022-05-24T15:39:58.106Z] 0d9ebad4ef96: Pulling fs layer [2022-05-24T15:39:58.106Z] e9a5061849ea: Pulling fs layer [2022-05-24T15:39:58.106Z] d747dcd14b5f: Pulling fs layer [2022-05-24T15:39:58.106Z] 2de7ff778b66: Pulling fs layer [2022-05-24T15:39:58.106Z] 2de7ff778b66: Waiting [2022-05-24T15:39:58.106Z] e9a5061849ea: Waiting [2022-05-24T15:39:58.106Z] d747dcd14b5f: Waiting [2022-05-24T15:39:58.106Z] 0d9ebad4ef96: Waiting [2022-05-24T15:39:58.106Z] 9712f1f96733: Verifying Checksum [2022-05-24T15:39:58.106Z] 9712f1f96733: Download complete [2022-05-24T15:39:58.369Z] 63f879dbbcfc: Verifying Checksum [2022-05-24T15:39:58.369Z] 63f879dbbcfc: Download complete [2022-05-24T15:39:58.640Z] e9a5061849ea: Verifying Checksum [2022-05-24T15:39:58.640Z] e9a5061849ea: Download complete [2022-05-24T15:39:58.640Z] d747dcd14b5f: Verifying Checksum [2022-05-24T15:39:58.640Z] d747dcd14b5f: Download complete [2022-05-24T15:39:58.640Z] ab5ef0e58194: Verifying Checksum [2022-05-24T15:39:58.640Z] ab5ef0e58194: Download complete [2022-05-24T15:39:58.640Z] 0d9ebad4ef96: Verifying Checksum [2022-05-24T15:39:58.640Z] 0d9ebad4ef96: Download complete [2022-05-24T15:39:58.899Z] 2de7ff778b66: Verifying Checksum [2022-05-24T15:39:58.899Z] 2de7ff778b66: Download complete [2022-05-24T15:40:02.198Z] ab5ef0e58194: Pull complete [2022-05-24T15:40:02.199Z] 9712f1f96733: Pull complete [2022-05-24T15:40:02.460Z] 63f879dbbcfc: Pull complete [2022-05-24T15:40:06.661Z] 0d9ebad4ef96: Pull complete [2022-05-24T15:40:06.661Z] e9a5061849ea: Pull complete [2022-05-24T15:40:06.661Z] d747dcd14b5f: Pull complete [2022-05-24T15:40:07.602Z] 2de7ff778b66: Pull complete [2022-05-24T15:40:07.602Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-24T15:40:07.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-24T15:40:07.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-24T15:40:07.663Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:40:07.695Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-24T15:40:09.979Z] $ docker top 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:40:10.073Z] provisioning config files... [2022-05-24T15:40:10.081Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1583859539202219008tmp [2022-05-24T15:40:10.093Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1620987097944503086tmp [2022-05-24T15:40:10.105Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3933279590523018285tmp [Pipeline] { [Pipeline] echo [2022-05-24T15:40:10.121Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:10.410Z] ---> sigul-configuration.sh [2022-05-24T15:40:10.410Z] gpg: directory `/root/.gnupg' created [2022-05-24T15:40:10.410Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-24T15:40:10.410Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-24T15:40:10.410Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-24T15:40:10.410Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-24T15:40:10.410Z] gpg: CAST5 encrypted data [2022-05-24T15:40:10.410Z] gpg: encrypted with 1 passphrase [2022-05-24T15:40:10.410Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-24T15:40:10.700Z] + mkdir /home/jenkins [2022-05-24T15:40:10.700Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-24T15:40:10.987Z] + 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 [2022-05-24T15:40:10.998Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:11.284Z] ---> sigul-install.sh [2022-05-24T15:40:11.284Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-24T15:40:11.575Z] + git tag --list [2022-05-24T15:40:11.575Z] 1.0.0 [2022-05-24T15:40:11.575Z] v0.0.0 [2022-05-24T15:40:11.575Z] v1.1.0 [2022-05-24T15:40:11.575Z] v1.1.1 [2022-05-24T15:40:11.575Z] v1.2.2 [2022-05-24T15:40:11.575Z] v1.3.0 [2022-05-24T15:40:11.575Z] v1.3.1 [2022-05-24T15:40:11.575Z] v2.0.0 [2022-05-24T15:40:11.575Z] v2.0.1-dev.1 [2022-05-24T15:40:11.575Z] v2.0.1-dev.2 [2022-05-24T15:40:11.575Z] v2.0.1-dev.3 [2022-05-24T15:40:11.575Z] v2.0.1-dev.4 [2022-05-24T15:40:11.575Z] v2.0.1-dev.5 [2022-05-24T15:40:11.575Z] v2.0.1-dev.6 [2022-05-24T15:40:11.575Z] v2.1.0 [2022-05-24T15:40:11.575Z] v2.2.0 [2022-05-24T15:40:11.575Z] v2.2.0-dev.1 [2022-05-24T15:40:11.575Z] v2.2.0-dev.10 [2022-05-24T15:40:11.575Z] v2.2.0-dev.11 [2022-05-24T15:40:11.575Z] v2.2.0-dev.12 [2022-05-24T15:40:11.575Z] v2.2.0-dev.13 [2022-05-24T15:40:11.575Z] v2.2.0-dev.14 [2022-05-24T15:40:11.575Z] v2.2.0-dev.15 [2022-05-24T15:40:11.575Z] v2.2.0-dev.16 [2022-05-24T15:40:11.575Z] v2.2.0-dev.17 [2022-05-24T15:40:11.575Z] v2.2.0-dev.18 [2022-05-24T15:40:11.575Z] v2.2.0-dev.19 [2022-05-24T15:40:11.575Z] v2.2.0-dev.2 [2022-05-24T15:40:11.575Z] v2.2.0-dev.3 [2022-05-24T15:40:11.575Z] v2.2.0-dev.4 [2022-05-24T15:40:11.575Z] v2.2.0-dev.5 [2022-05-24T15:40:11.575Z] v2.2.0-dev.6 [2022-05-24T15:40:11.575Z] v2.2.0-dev.7 [2022-05-24T15:40:11.575Z] v2.2.0-dev.8 [2022-05-24T15:40:11.575Z] v2.2.0-dev.9 [2022-05-24T15:40:11.575Z] v2.2.1-dev.1 [Pipeline] sh [2022-05-24T15:40:11.865Z] + lftools sign git-tag v2.2.1-dev.1 [2022-05-24T15:40:12.435Z] Signing Git tag with Sigul... [2022-05-24T15:40:12.435Z] Signing v2.2.1-dev.1 [Pipeline] echo [2022-05-24T15:40:13.017Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:13.306Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-24T15:40:13.314Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-24T15:40:13.333Z] $ docker stop --time=1 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa [2022-05-24T15:40:14.658Z] $ docker rm -f 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-24T15:40:15.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T15:40:15.128Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:40:15.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:40:15.424Z] . [Pipeline] withDockerContainer [2022-05-24T15:40:15.491Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:40:15.528Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T15:40:15.911Z] $ docker top ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T15:40:16.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:40:16.016Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:40:16.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:40:16.166Z] $ docker exec ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f ssh-agent [2022-05-24T15:40:16.286Z] SSH_AUTH_SOCK=/tmp/ssh-6gWYLGX5WQiz/agent.31 [2022-05-24T15:40:16.286Z] SSH_AGENT_PID=37 [2022-05-24T15:40:16.292Z] Running ssh-add (command line suppressed) [2022-05-24T15:40:16.395Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5477906708882694231.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5477906708882694231.key) [2022-05-24T15:40:16.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:40:16.714Z] + git semver bump pre [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,885 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,886 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,886 [bump_version] DEBUG bumped version:2.2.1-dev.2 [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,886 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,886 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,889 [execute] INFO git cat-file --batch-check [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,894 [execute] INFO git cat-file --batch [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T15:40:16.975Z] 2022-05-24 15:40:16,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:40:16.975Z] 2.2.1-dev.2 [Pipeline] } [2022-05-24T15:40:16.983Z] $ docker exec --env ******** --env ******** ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f ssh-agent -k [2022-05-24T15:40:17.090Z] unset SSH_AUTH_SOCK; [2022-05-24T15:40:17.090Z] unset SSH_AGENT_PID; [2022-05-24T15:40:17.090Z] echo Agent pid 37 killed; [2022-05-24T15:40:17.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T15:40:17.409Z] + git semver [Pipeline] } [2022-05-24T15:40:17.682Z] $ docker stop --time=1 ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f [2022-05-24T15:40:18.971Z] $ docker rm -f ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T15:40:19.330Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T15:40:19.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:40:19.629Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T15:40:19.629Z] . [Pipeline] withDockerContainer [2022-05-24T15:40:19.703Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:40:19.735Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-24T15:40:20.092Z] $ docker top cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T15:40:20.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T15:40:20.192Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T15:40:20.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T15:40:20.324Z] $ docker exec cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 ssh-agent [2022-05-24T15:40:20.453Z] SSH_AUTH_SOCK=/tmp/ssh-iNBoHMbxFw8m/agent.33 [2022-05-24T15:40:20.453Z] SSH_AGENT_PID=40 [2022-05-24T15:40:20.457Z] Running ssh-add (command line suppressed) [2022-05-24T15:40:20.580Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6849791067799110596.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6849791067799110596.key) [2022-05-24T15:40:20.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T15:40:20.894Z] + git semver push [2022-05-24T15:40:21.154Z] 2022-05-24 15:40:21,107 [run_push] DEBUG push [2022-05-24T15:40:21.154Z] 2022-05-24 15:40:21,108 [execute] INFO git push origin semver [2022-05-24T15:40:21.154Z] 2022-05-24 15:40:21,108 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-24T15:40:22.171Z] 2022-05-24 15:40:21,831 [run_push] DEBUG push all version tags [2022-05-24T15:40:22.171Z] 2022-05-24 15:40:21,832 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-24T15:40:22.171Z] 2022-05-24 15:40:21,832 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-24T15:40:22.740Z] 2022-05-24 15:40:22,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-24T15:40:22.740Z] 2.2.1-dev.2 [Pipeline] } [2022-05-24T15:40:22.748Z] $ docker exec --env ******** --env ******** cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 ssh-agent -k [2022-05-24T15:40:22.860Z] unset SSH_AUTH_SOCK; [2022-05-24T15:40:22.861Z] unset SSH_AGENT_PID; [2022-05-24T15:40:22.861Z] echo Agent pid 40 killed; [2022-05-24T15:40:22.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T15:40:23.191Z] + git semver [Pipeline] } [2022-05-24T15:40:23.462Z] $ docker stop --time=1 cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 [2022-05-24T15:40:24.735Z] $ docker rm -f cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 [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 [2022-05-24T15:40:25.368Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-05-24T15:40:25.368Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-24T15:40:25.368Z] total 16 [2022-05-24T15:40:25.368Z] drwxr-xr-x 3 root root 4096 May 24 15:32 . [2022-05-24T15:40:25.368Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:40 .. [2022-05-24T15:40:25.368Z] drwxr-xr-x 2 root root 4096 May 24 15:32 cost [2022-05-24T15:40:25.368Z] -rw-r--r-- 1 root root 84 May 24 15:32 cost.csv [2022-05-24T15:40:25.368Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-24T15:40:25.368Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-24T15:40:25.368Z] total 16 [2022-05-24T15:40:25.368Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:32 . [2022-05-24T15:40:25.368Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:40 .. [2022-05-24T15:40:25.368Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:32 cost [2022-05-24T15:40:25.368Z] -rw-r--r-- 1 jenkins jenkins 84 May 24 15:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:25.667Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:26.532Z] ---> package-listing.sh [2022-05-24T15:40:26.532Z] ++ facter osfamily [2022-05-24T15:40:26.532Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-24T15:40:26.794Z] + OS_FAMILY=debian [2022-05-24T15:40:26.794Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-05-24T15:40:26.794Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-24T15:40:26.794Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-24T15:40:26.794Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-24T15:40:26.794Z] + PACKAGES=/tmp/packages_start.txt [2022-05-24T15:40:26.794Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-24T15:40:26.794Z] + PACKAGES=/tmp/packages_end.txt [2022-05-24T15:40:26.794Z] + case "${OS_FAMILY}" in [2022-05-24T15:40:26.794Z] + dpkg -l [2022-05-24T15:40:26.794Z] + grep '^ii' [2022-05-24T15:40:26.794Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-24T15:40:26.794Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-24T15:40:26.794Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-24T15:40:26.794Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-24T15:40:26.794Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-05-24T15:40:26.794Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2022-05-24T15:40:26.810Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-05-24T15:40:27.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-24T15:40:27.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T15:40:27.649Z] . [Pipeline] withDockerContainer [2022-05-24T15:40:27.714Z] prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container [2022-05-24T15:40:27.744Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T15:40:28.001Z] $ docker top c647aa34c723c32aa2bc229f1341ebd3be09d30a7304a6c60c875deb4dae4ced -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T15:40:28.364Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-24T15:40:28.650Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-24T15:40:28.936Z] + ls /var/log/sa-host [2022-05-24T15:40:28.936Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T15:40:29.156Z] provisioning config files... [2022-05-24T15:40:29.167Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1203601310790677283tmp [Pipeline] { [Pipeline] echo [2022-05-24T15:40:29.183Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:29.469Z] ---> create-netrc.sh [Pipeline] } [2022-05-24T15:40:29.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:29.815Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-24T15:40:29.826Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:30.120Z] ---> sudo-logs.sh [2022-05-24T15:40:30.120Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-24T15:40:30.251Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:30.536Z] ---> job-cost.sh [2022-05-24T15:40:30.536Z] lf-activate-venv: SKIPPING [2022-05-24T15:40:30.536Z] DEBUG: total: 0.2199999988079071 [2022-05-24T15:40:30.536Z] INFO: Retrieving Stack Cost... [2022-05-24T15:40:30.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T15:40:31.368Z] INFO: Archiving Costs [Pipeline] echo [2022-05-24T15:40:31.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T15:40:31.662Z] ---> logs-deploy.sh [2022-05-24T15:40:31.662Z] lf-activate-venv: SKIPPING [2022-05-24T15:40:31.662Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/31 [2022-05-24T15:40:31.662Z] INFO: archiving workspace using pattern(s): [2022-05-24T15:40:32.605Z] Archives upload complete. [2022-05-24T15:40:32.866Z] INFO: archiving logs to Nexus