Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c4b573a2bf76d46acd5797026015b66a4b354b83 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-ssh6481148122269141588.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-ssh8491766548184928040.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15265653468057339756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10393521035255046557.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 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-ssh12834763587515388905.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18059206346972341675.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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-499 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 Avoid second fetch Checking out Revision c4b573a2bf76d46acd5797026015b66a4b354b83 (main) 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 > 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 c4b573a2bf76d46acd5797026015b66a4b354b83 # timeout=10 Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#175)" > git rev-list --no-walk 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-31T17:49:24.029Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-31T17:49:24.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-31T17:49:24.101Z] ========================================================= [2022-05-31T17:49:24.101Z] EdgeX Global Pipelines Version Info [2022-05-31T17:49:24.101Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:49:24.887Z] ------------------- [2022-05-31T17:49:24.888Z] stable info: [2022-05-31T17:49:24.888Z] ------------------- [2022-05-31T17:49:24.888Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:49:24.888Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-31T17:49:24.888Z] Message: update stable to v1.0.230 [2022-05-31T17:49:25.462Z] ------------------- [2022-05-31T17:49:25.462Z] experimental info: [2022-05-31T17:49:25.462Z] ------------------- [2022-05-31T17:49:25.462Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-31T17:49:25.462Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-05-31T17:49:25.462Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-31T17:49:25.708Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-05-31T17:49:25.719Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-05-31T17:49:25.728Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-31T17:49:25.738Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-31T17:49:25.748Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-31T17:49:25.757Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-31T17:49:25.767Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-31T17:49:25.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-31T17:49:25.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-31T17:49:25.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-31T17:49:25.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-31T17:49:25.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-05-31T17:49:25.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-31T17:49:25.844Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-31T17:49:25.855Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:49:25.868Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-31T17:49:25.883Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:49:25.895Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-31T17:49:25.906Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-31T17:49:25.920Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-31T17:49:25.934Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-31T17:49:25.943Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-31T17:49:25.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-31T17:49:25.966Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-31T17:49:25.977Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-31T17:49:25.986Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-31T17:49:25.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-31T17:49:26.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-31T17:49:26.024Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-31T17:49:26.035Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] echo [2022-05-31T17:49:26.047Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c4b573a [Pipeline] echo [2022-05-31T17:49:26.057Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:49:26.097Z] provisioning config files... [2022-05-31T17:49:26.115Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8870228551758714460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:49:26.425Z] ---> docker-login.sh [2022-05-31T17:49:26.425Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:49:26.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:26.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:26.690Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:26.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:26.690Z] [2022-05-31T17:49:26.690Z] Login Succeeded [2022-05-31T17:49:26.690Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:49:26.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:26.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:26.952Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:26.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:26.952Z] [2022-05-31T17:49:26.952Z] Login Succeeded [2022-05-31T17:49:26.952Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:49:26.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:26.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:26.952Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:26.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:26.952Z] [2022-05-31T17:49:26.952Z] Login Succeeded [2022-05-31T17:49:26.952Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:49:27.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:27.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:27.213Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:27.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:27.213Z] [2022-05-31T17:49:27.213Z] Login Succeeded [2022-05-31T17:49:27.213Z] docker.io [2022-05-31T17:49:27.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:27.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:27.787Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:27.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:27.787Z] [2022-05-31T17:49:27.787Z] Login Succeeded [2022-05-31T17:49:27.787Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:49:27.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-31T17:49:28.173Z] + git rev-list -1 --merges c4b573a2bf76d46acd5797026015b66a4b354b83~1..c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] echo [2022-05-31T17:49:28.211Z] -----------> git rev-list -1 --merges c4b573a2bf76d46acd5797026015b66a4b354b83~1..c4b573a2bf76d46acd5797026015b66a4b354b83 c4b573a2bf76d46acd5797026015b66a4b354b83 [false] [Pipeline] sh [2022-05-31T17:49:28.508Z] + git log --format=format:%s -1 c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] echo [2022-05-31T17:49:28.524Z] ========================================================= [2022-05-31T17:49:28.524Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-31T17:49:28.524Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:49:28.862Z] + git log --format=format:%s -1 c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] echo [2022-05-31T17:49:28.875Z] [semverPrep] GIT_COMMIT: c4b573a2bf76d46acd5797026015b66a4b354b83, Commit Message: feat: Add go-winio to attribution (new SPIFFE dependency) (#175) [Pipeline] echo [2022-05-31T17:49:28.885Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-31T17:49:29.262Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:49:29.262Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-31T17:49:29.262Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-31T17:49:29.262Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-31T17:49:29.262Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-31T17:49:29.262Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-31T17:49:29.262Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:49:29.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:49:29.686Z] [2022-05-31T17:49:29.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:49:29.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:49:29.994Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-31T17:49:29.994Z] 1fe172e4850f: Pulling fs layer [2022-05-31T17:49:29.994Z] caf521ccaac6: Pulling fs layer [2022-05-31T17:49:29.994Z] 3ead6fa29328: Pulling fs layer [2022-05-31T17:49:29.994Z] 5c2a1cbceb83: Pulling fs layer [2022-05-31T17:49:29.994Z] a8d5f1318db7: Pulling fs layer [2022-05-31T17:49:29.994Z] c427282e49a2: Pulling fs layer [2022-05-31T17:49:29.994Z] 1827001aaf11: Pulling fs layer [2022-05-31T17:49:29.994Z] 0714d37db230: Pulling fs layer [2022-05-31T17:49:29.994Z] ac28cf19c067: Pulling fs layer [2022-05-31T17:49:29.994Z] ca983d60f3e2: Pulling fs layer [2022-05-31T17:49:29.994Z] 9f894cec8388: Pulling fs layer [2022-05-31T17:49:29.994Z] 0714d37db230: Waiting [2022-05-31T17:49:29.994Z] 1827001aaf11: Waiting [2022-05-31T17:49:29.994Z] ac28cf19c067: Waiting [2022-05-31T17:49:29.994Z] c427282e49a2: Waiting [2022-05-31T17:49:29.994Z] 5c2a1cbceb83: Waiting [2022-05-31T17:49:29.994Z] ca983d60f3e2: Waiting [2022-05-31T17:49:29.994Z] a8d5f1318db7: Waiting [2022-05-31T17:49:29.994Z] 9f894cec8388: Waiting [2022-05-31T17:49:30.255Z] caf521ccaac6: Download complete [2022-05-31T17:49:30.255Z] 5c2a1cbceb83: Verifying Checksum [2022-05-31T17:49:30.255Z] 5c2a1cbceb83: Download complete [2022-05-31T17:49:30.255Z] 3ead6fa29328: Verifying Checksum [2022-05-31T17:49:30.255Z] 3ead6fa29328: Download complete [2022-05-31T17:49:30.255Z] a8d5f1318db7: Verifying Checksum [2022-05-31T17:49:30.255Z] a8d5f1318db7: Download complete [2022-05-31T17:49:30.256Z] c427282e49a2: Verifying Checksum [2022-05-31T17:49:30.256Z] c427282e49a2: Download complete [2022-05-31T17:49:30.256Z] 0714d37db230: Verifying Checksum [2022-05-31T17:49:30.256Z] 0714d37db230: Download complete [2022-05-31T17:49:30.256Z] ac28cf19c067: Verifying Checksum [2022-05-31T17:49:30.256Z] ac28cf19c067: Download complete [2022-05-31T17:49:30.256Z] ca983d60f3e2: Verifying Checksum [2022-05-31T17:49:30.256Z] ca983d60f3e2: Download complete [2022-05-31T17:49:30.256Z] 9f894cec8388: Verifying Checksum [2022-05-31T17:49:30.256Z] 9f894cec8388: Download complete [2022-05-31T17:49:30.516Z] 1fe172e4850f: Verifying Checksum [2022-05-31T17:49:30.516Z] 1fe172e4850f: Download complete [2022-05-31T17:49:30.776Z] 1827001aaf11: Verifying Checksum [2022-05-31T17:49:30.776Z] 1827001aaf11: Download complete [2022-05-31T17:49:31.719Z] 1fe172e4850f: Pull complete [2022-05-31T17:49:31.979Z] caf521ccaac6: Pull complete [2022-05-31T17:49:32.552Z] 3ead6fa29328: Pull complete [2022-05-31T17:49:32.552Z] 5c2a1cbceb83: Pull complete [2022-05-31T17:49:32.813Z] a8d5f1318db7: Pull complete [2022-05-31T17:49:33.078Z] c427282e49a2: Pull complete [2022-05-31T17:49:34.993Z] 1827001aaf11: Pull complete [2022-05-31T17:49:35.257Z] 0714d37db230: Pull complete [2022-05-31T17:49:35.257Z] ac28cf19c067: Pull complete [2022-05-31T17:49:35.521Z] ca983d60f3e2: Pull complete [2022-05-31T17:49:35.521Z] 9f894cec8388: Pull complete [2022-05-31T17:49:35.521Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-31T17:49:35.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:49:35.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:49:35.629Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:49:35.680Z] $ 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-31T17:49:36.886Z] $ docker top d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 -eo pid,comm [2022-05-31T17:49:36.953Z] 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-31T17:49:36.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:49:36.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:49:36.988Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:49:37.142Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:49:37.151Z] $ docker exec d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 ssh-agent [2022-05-31T17:49:37.275Z] SSH_AUTH_SOCK=/tmp/ssh-2zOn2KAnmBfy/agent.34 [2022-05-31T17:49:37.275Z] SSH_AGENT_PID=40 [2022-05-31T17:49:37.282Z] Running ssh-add (command line suppressed) [2022-05-31T17:49:37.411Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3718067380526386378.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3718067380526386378.key) [2022-05-31T17:49:37.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:49:37.711Z] + git tag --points-at HEAD [Pipeline] } [2022-05-31T17:49:37.730Z] $ docker exec --env ******** --env ******** d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 ssh-agent -k [2022-05-31T17:49:37.850Z] unset SSH_AUTH_SOCK; [2022-05-31T17:49:37.850Z] unset SSH_AGENT_PID; [2022-05-31T17:49:37.851Z] echo Agent pid 40 killed; [2022-05-31T17:49:37.858Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-31T17:49:37.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:49:37.882Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:49:38.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:49:38.023Z] $ docker exec d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 ssh-agent [2022-05-31T17:49:38.144Z] SSH_AUTH_SOCK=/tmp/ssh-jL7TBoRuus8h/agent.73 [2022-05-31T17:49:38.144Z] SSH_AGENT_PID=80 [2022-05-31T17:49:38.150Z] Running ssh-add (command line suppressed) [2022-05-31T17:49:38.282Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3873199499008825131.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3873199499008825131.key) [2022-05-31T17:49:38.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:49:38.588Z] + git semver init [2022-05-31T17:49:38.850Z] 2022-05-31 17:49:38,797 [run_init] DEBUG init version:0.0.0 force:False [2022-05-31T17:49:38.850Z] 2022-05-31 17:49:38,797 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-31T17:49:38.850Z] 2022-05-31 17:49:38,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2022-05-31T17:49:38.850Z] 2022-05-31 17:49:38,798 [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-31T17:49:39.796Z] 2022-05-31 17:49:39,478 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2022-05-31T17:49:39.796Z] 2022-05-31 17:49:39,479 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2022-05-31T17:49:39.796Z] 2022-05-31 17:49:39,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:49:39.796Z] 2022-05-31 17:49:39,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:49:39.796Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:49:39.813Z] $ docker exec --env ******** --env ******** d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 ssh-agent -k [2022-05-31T17:49:39.926Z] unset SSH_AUTH_SOCK; [2022-05-31T17:49:39.927Z] unset SSH_AGENT_PID; [2022-05-31T17:49:39.927Z] echo Agent pid 80 killed; [2022-05-31T17:49:39.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:49:40.248Z] + git semver [Pipeline] } [2022-05-31T17:49:40.528Z] $ docker stop --time=1 d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 [2022-05-31T17:49:41.848Z] $ docker rm -f d8917d47c7a292eb63d816081cb205f8be0e14cadcc5d1a7f7b843246ed31135 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:49:42.209Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-31T17:49:42.496Z] Stashed 1 file(s) [Pipeline] echo [2022-05-31T17:49:42.498Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [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-31T17:49:42.599Z] provisioning config files... [2022-05-31T17:49:42.610Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3477797541145166637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:49:42.910Z] ---> docker-login.sh [2022-05-31T17:49:42.910Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:49:42.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:42.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:42.910Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:42.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:42.910Z] [2022-05-31T17:49:42.910Z] Login Succeeded [2022-05-31T17:49:42.910Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:49:42.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:43.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:43.171Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:43.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:43.171Z] [2022-05-31T17:49:43.171Z] Login Succeeded [2022-05-31T17:49:43.171Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:49:43.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:43.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:43.171Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:43.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:43.171Z] [2022-05-31T17:49:43.171Z] Login Succeeded [2022-05-31T17:49:43.171Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:49:43.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:43.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:43.440Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:43.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:43.440Z] [2022-05-31T17:49:43.440Z] Login Succeeded [2022-05-31T17:49:43.440Z] docker.io [2022-05-31T17:49:43.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:49:43.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:49:43.705Z] Configure a credential helper to remove this warning. See [2022-05-31T17:49:43.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:49:43.705Z] [2022-05-31T17:49:43.705Z] Login Succeeded [2022-05-31T17:49:43.705Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:49:43.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:49:43.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:49:43.781Z] ========================================================= [2022-05-31T17:49:43.781Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-31T17:49:43.781Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:49:44.098Z] + 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-31T17:49:44.098Z] Sending build context to Docker daemon 5.303MB [2022-05-31T17:49:44.098Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:49:44.098Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:49:44.098Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-31T17:49:44.098Z] 59bf1c3509f3: Pulling fs layer [2022-05-31T17:49:44.098Z] 666ba61612fd: Pulling fs layer [2022-05-31T17:49:44.098Z] 8ed8ca486205: Pulling fs layer [2022-05-31T17:49:44.098Z] 4fe6c5a15a65: Pulling fs layer [2022-05-31T17:49:44.098Z] 22a0e8bec74d: Pulling fs layer [2022-05-31T17:49:44.098Z] 4fe6c5a15a65: Waiting [2022-05-31T17:49:44.098Z] 22a0e8bec74d: Waiting [2022-05-31T17:49:44.098Z] ca2b28591e48: Pulling fs layer [2022-05-31T17:49:44.098Z] a51346096db8: Pulling fs layer [2022-05-31T17:49:44.098Z] daebc70d1ce1: Pulling fs layer [2022-05-31T17:49:44.098Z] 0e18a0eac166: Pulling fs layer [2022-05-31T17:49:44.098Z] daebc70d1ce1: Waiting [2022-05-31T17:49:44.098Z] 0e18a0eac166: Waiting [2022-05-31T17:49:44.098Z] ca2b28591e48: Waiting [2022-05-31T17:49:44.098Z] a51346096db8: Waiting [2022-05-31T17:49:44.098Z] 8ed8ca486205: Download complete [2022-05-31T17:49:44.098Z] 666ba61612fd: Download complete [2022-05-31T17:49:44.098Z] 22a0e8bec74d: Download complete [2022-05-31T17:49:44.360Z] 59bf1c3509f3: Verifying Checksum [2022-05-31T17:49:44.360Z] 59bf1c3509f3: Download complete [2022-05-31T17:49:44.360Z] ca2b28591e48: Download complete [2022-05-31T17:49:44.360Z] a51346096db8: Verifying Checksum [2022-05-31T17:49:44.360Z] a51346096db8: Download complete [2022-05-31T17:49:44.360Z] daebc70d1ce1: Verifying Checksum [2022-05-31T17:49:44.360Z] daebc70d1ce1: Download complete [2022-05-31T17:49:44.360Z] 59bf1c3509f3: Pull complete [2022-05-31T17:49:44.622Z] 666ba61612fd: Pull complete [2022-05-31T17:49:44.622Z] 8ed8ca486205: Pull complete [2022-05-31T17:49:44.885Z] 0e18a0eac166: Verifying Checksum [2022-05-31T17:49:44.885Z] 0e18a0eac166: Download complete [2022-05-31T17:49:45.145Z] 4fe6c5a15a65: Verifying Checksum [2022-05-31T17:49:45.145Z] 4fe6c5a15a65: Download complete [2022-05-31T17:49:49.349Z] 4fe6c5a15a65: Pull complete [2022-05-31T17:49:49.349Z] 22a0e8bec74d: Pull complete [2022-05-31T17:49:49.349Z] ca2b28591e48: Pull complete [2022-05-31T17:49:49.349Z] a51346096db8: Pull complete [2022-05-31T17:49:49.615Z] daebc70d1ce1: Pull complete [2022-05-31T17:49:52.159Z] 0e18a0eac166: Pull complete [2022-05-31T17:49:52.159Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-31T17:49:52.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-31T17:49:52.159Z] ---> f018257e8ee9 [2022-05-31T17:49:52.159Z] Step 3/12 : ARG MAKE='make build' [2022-05-31T17:49:53.102Z] ---> Running in 21ac689ce4cf [2022-05-31T17:49:53.102Z] Removing intermediate container 21ac689ce4cf [2022-05-31T17:49:53.102Z] ---> 83117e354a8f [2022-05-31T17:49:53.102Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:49:53.364Z] ---> Running in 813699a90fa0 [2022-05-31T17:49:53.364Z] Removing intermediate container 813699a90fa0 [2022-05-31T17:49:53.364Z] ---> a4b1547a4d97 [2022-05-31T17:49:53.364Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:49:53.364Z] ---> Running in f4786c290689 [2022-05-31T17:49:53.364Z] Removing intermediate container f4786c290689 [2022-05-31T17:49:53.364Z] ---> e3dc8b1b6a85 [2022-05-31T17:49:53.364Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:49:53.364Z] ---> Running in cd11d80dadb7 [2022-05-31T17:49:54.306Z] Removing intermediate container cd11d80dadb7 [2022-05-31T17:49:54.306Z] ---> 6eb4286ed256 [2022-05-31T17:49:54.306Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:49:54.306Z] ---> Running in fc79449d4c51 [2022-05-31T17:49:54.306Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:49:55.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:49:55.512Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:49:55.774Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:49:55.774Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:49:55.774Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:49:56.036Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:49:56.036Z] OK: 224 MiB in 56 packages [2022-05-31T17:49:56.298Z] Removing intermediate container fc79449d4c51 [2022-05-31T17:49:56.298Z] ---> 678a60b93ee9 [2022-05-31T17:49:56.298Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-31T17:49:56.298Z] ---> Running in 4e0e08acbdc6 [2022-05-31T17:49:56.557Z] Removing intermediate container 4e0e08acbdc6 [2022-05-31T17:49:56.557Z] ---> b90b85987f24 [2022-05-31T17:49:56.557Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-31T17:49:56.557Z] ---> 308ad56e5c7f [2022-05-31T17:49:56.557Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:49:56.557Z] ---> Running in a13731f3c32b [2022-05-31T17:49:57.575Z] Still waiting to schedule task [2022-05-31T17:49:57.575Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-31T17:50:11.466Z] Removing intermediate container a13731f3c32b [2022-05-31T17:50:11.466Z] ---> cd72bd2d1185 [2022-05-31T17:50:11.466Z] Step 11/12 : COPY . . [2022-05-31T17:50:11.466Z] ---> aae587c3e71d [2022-05-31T17:50:11.466Z] Step 12/12 : RUN ${MAKE} [2022-05-31T17:50:11.466Z] ---> Running in f3310e75ad60 [2022-05-31T17:50:11.466Z] noop [2022-05-31T17:50:11.726Z] Removing intermediate container f3310e75ad60 [2022-05-31T17:50:11.726Z] ---> 021331b83623 [2022-05-31T17:50:11.726Z] Successfully built 021331b83623 [2022-05-31T17:50:11.726Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:50:12.057Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:50:12.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:50:12.144Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:50:12.187Z] $ 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-31T17:50:12.548Z] $ docker top 6fc7f970d70221f6ff06f04d5b8397df46079e7bd333d843c0be1fae2ccff021 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:50:12.907Z] + go version [2022-05-31T17:50:12.907Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-31T17:50:12.925Z] $ docker stop --time=1 6fc7f970d70221f6ff06f04d5b8397df46079e7bd333d843c0be1fae2ccff021 [2022-05-31T17:50:14.200Z] $ docker rm -f 6fc7f970d70221f6ff06f04d5b8397df46079e7bd333d843c0be1fae2ccff021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:50:14.615Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-31T17:50:14.615Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:50:14.729Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:50:14.790Z] $ 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-31T17:50:15.193Z] $ docker top 3ca432fb4fff3e95f9b8082a66a1a00c3a59409d357d4c4f1cb5f06a4b3803f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:50:15.554Z] + make test [2022-05-31T17:50:15.554Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:50:15.814Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-31T17:50:25.803Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-31T17:50:25.803Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-05-31T17:50:33.939Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:50:37.240Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:50:37.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:50:37.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:50:37.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:50:37.846Z] $ docker stop --time=1 3ca432fb4fff3e95f9b8082a66a1a00c3a59409d357d4c4f1cb5f06a4b3803f8 [2022-05-31T17:50:39.227Z] $ docker rm -f 3ca432fb4fff3e95f9b8082a66a1a00c3a59409d357d4c4f1cb5f06a4b3803f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:50:39.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:50:39.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-31T17:50:40.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:50:40.507Z] + ls -al . [2022-05-31T17:50:40.508Z] total 168 [2022-05-31T17:50:40.508Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 17:50 . [2022-05-31T17:50:40.508Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:49 .. [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 17:49 .dockerignore [2022-05-31T17:50:40.508Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:49 .git [2022-05-31T17:50:40.508Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:49 .github [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 17:49 .gitignore [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:49 .golangci.yml [2022-05-31T17:50:40.508Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:49 .semver [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 8429 May 31 17:49 Attribution.txt [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 6948 May 31 17:49 CHANGELOG.md [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 31 17:49 Dockerfile [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:49 GOVERNANCE.md [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 17:49 Jenkinsfile [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:49 LICENSE [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 2334 May 31 17:49 Makefile [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:49 OWNERS.md [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 31 17:49 README.md [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:49 VERSION [2022-05-31T17:50:40.508Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:49 bin [2022-05-31T17:50:40.508Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:49 cmd [2022-05-31T17:50:40.508Z] -rw-r--r-- 1 jenkins jenkins 7631 May 31 17:50 coverage.out [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 3250 May 31 17:49 go.mod [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 35701 May 31 17:49 go.sum [2022-05-31T17:50:40.508Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:49 internal [2022-05-31T17:50:40.508Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:49 snap [2022-05-31T17:50:40.508Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 17:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:50:40.812Z] + 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=c4b573a2bf76d46acd5797026015b66a4b354b83 --label arch=amd64 --label version=2.2.1-dev.2 . [2022-05-31T17:50:40.812Z] Sending build context to Docker daemon 5.311MB [2022-05-31T17:50:40.812Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:50:40.812Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-31T17:50:40.812Z] ---> 021331b83623 [2022-05-31T17:50:40.812Z] Step 3/24 : ARG MAKE='make build' [2022-05-31T17:50:40.812Z] ---> Running in 741024152a53 [2022-05-31T17:50:41.072Z] Removing intermediate container 741024152a53 [2022-05-31T17:50:41.072Z] ---> 19a8af9c2175 [2022-05-31T17:50:41.072Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:50:41.072Z] ---> Running in ec7982a6f445 [2022-05-31T17:50:41.072Z] Removing intermediate container ec7982a6f445 [2022-05-31T17:50:41.072Z] ---> 12174070a863 [2022-05-31T17:50:41.072Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:50:41.072Z] ---> Running in d003e12a0aff [2022-05-31T17:50:41.072Z] Removing intermediate container d003e12a0aff [2022-05-31T17:50:41.072Z] ---> 73744b80657d [2022-05-31T17:50:41.072Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:50:41.333Z] ---> Running in 2b7124a90240 [2022-05-31T17:50:41.903Z] Removing intermediate container 2b7124a90240 [2022-05-31T17:50:41.903Z] ---> 7ac001edb45d [2022-05-31T17:50:41.903Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:50:41.903Z] ---> Running in 0a8a4a721744 [2022-05-31T17:50:42.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:50:43.107Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:50:43.107Z] OK: 224 MiB in 56 packages [2022-05-31T17:50:43.681Z] Removing intermediate container 0a8a4a721744 [2022-05-31T17:50:43.681Z] ---> 0c916d6b9855 [2022-05-31T17:50:43.681Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-31T17:50:43.681Z] ---> Running in 42d39e17d809 [2022-05-31T17:50:43.681Z] Removing intermediate container 42d39e17d809 [2022-05-31T17:50:43.681Z] ---> 39e34fdb0a18 [2022-05-31T17:50:43.681Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-31T17:50:43.681Z] ---> 53c3d836b9a3 [2022-05-31T17:50:43.681Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:50:43.940Z] ---> Running in 2afc140af498 [2022-05-31T17:50:44.512Z] Removing intermediate container 2afc140af498 [2022-05-31T17:50:44.512Z] ---> 70390a89f39f [2022-05-31T17:50:44.512Z] Step 11/24 : COPY . . [2022-05-31T17:50:44.773Z] ---> 643bebebcba4 [2022-05-31T17:50:44.773Z] Step 12/24 : RUN ${MAKE} [2022-05-31T17:50:44.773Z] ---> Running in 09146ad7aa25 [2022-05-31T17:50:45.033Z] 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.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-31T17:51:06.997Z] Removing intermediate container 09146ad7aa25 [2022-05-31T17:51:06.997Z] ---> ad6f206e80aa [2022-05-31T17:51:06.997Z] Step 13/24 : FROM alpine:3.14 [2022-05-31T17:51:06.997Z] 3.14: Pulling from library/alpine [2022-05-31T17:51:06.997Z] 8663204ce13b: Pulling fs layer [2022-05-31T17:51:06.997Z] 8663204ce13b: Verifying Checksum [2022-05-31T17:51:06.997Z] 8663204ce13b: Download complete [2022-05-31T17:51:06.997Z] 8663204ce13b: Pull complete [2022-05-31T17:51:06.997Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:51:06.997Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:51:06.997Z] ---> e04c818066af [2022-05-31T17:51:06.997Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:51:06.997Z] ---> Running in 39ded73bebeb [2022-05-31T17:51:06.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-31T17:51:06.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-31T17:51:06.997Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:51:06.997Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:51:06.997Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:51:06.997Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:51:06.997Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:51:06.997Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:51:06.997Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:51:06.997Z] OK: 8 MiB in 20 packages [2022-05-31T17:51:06.997Z] Removing intermediate container 39ded73bebeb [2022-05-31T17:51:06.997Z] ---> 96b402799634 [2022-05-31T17:51:06.997Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-31T17:51:07.258Z] ---> 40edbecd3f46 [2022-05-31T17:51:07.259Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-31T17:51:07.259Z] ---> 654dd120e52d [2022-05-31T17:51:07.259Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-31T17:51:07.517Z] ---> a73e51be88d2 [2022-05-31T17:51:07.517Z] Step 18/24 : EXPOSE 59993 [2022-05-31T17:51:07.517Z] ---> Running in 4a694737db4b [2022-05-31T17:51:07.517Z] Removing intermediate container 4a694737db4b [2022-05-31T17:51:07.517Z] ---> 963167eafe50 [2022-05-31T17:51:07.517Z] Step 19/24 : EXPOSE 161 [2022-05-31T17:51:07.517Z] ---> Running in 44c6fe8abf5c [2022-05-31T17:51:07.776Z] Removing intermediate container 44c6fe8abf5c [2022-05-31T17:51:07.776Z] ---> 9554a7279bc1 [2022-05-31T17:51:07.776Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-31T17:51:07.776Z] ---> Running in 579263366dad [2022-05-31T17:51:07.776Z] Removing intermediate container 579263366dad [2022-05-31T17:51:07.776Z] ---> 955a57e1fe26 [2022-05-31T17:51:07.776Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-31T17:51:07.776Z] ---> Running in 42f002f762b2 [2022-05-31T17:51:08.037Z] Removing intermediate container 42f002f762b2 [2022-05-31T17:51:08.037Z] ---> 2c8a18a9e8e0 [2022-05-31T17:51:08.037Z] Step 22/24 : LABEL arch=amd64 [2022-05-31T17:51:08.037Z] ---> Running in f0ce3342e652 [2022-05-31T17:51:08.037Z] Removing intermediate container f0ce3342e652 [2022-05-31T17:51:08.037Z] ---> f296517f4484 [2022-05-31T17:51:08.037Z] Step 23/24 : LABEL git_sha=c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:51:08.037Z] ---> Running in 77ba0f6eb384 [2022-05-31T17:51:08.299Z] Removing intermediate container 77ba0f6eb384 [2022-05-31T17:51:08.299Z] ---> b710ab4100d1 [2022-05-31T17:51:08.299Z] Step 24/24 : LABEL version=2.2.1-dev.2 [2022-05-31T17:51:08.299Z] ---> Running in 705182acdb0c [2022-05-31T17:51:08.299Z] Removing intermediate container 705182acdb0c [2022-05-31T17:51:08.299Z] ---> 2cc7498c72ed [2022-05-31T17:51:08.299Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:51:08.299Z] Successfully built 2cc7498c72ed [2022-05-31T17:51:08.299Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:51:08.401Z] provisioning config files... [2022-05-31T17:51:08.413Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8579844267501028816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:51:08.708Z] ---> docker-login.sh [2022-05-31T17:51:08.709Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:51:08.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:51:08.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:51:08.709Z] Configure a credential helper to remove this warning. See [2022-05-31T17:51:08.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:51:08.709Z] [2022-05-31T17:51:08.709Z] Login Succeeded [2022-05-31T17:51:08.709Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:51:08.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:51:08.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:51:08.971Z] Configure a credential helper to remove this warning. See [2022-05-31T17:51:08.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:51:08.971Z] [2022-05-31T17:51:08.971Z] Login Succeeded [2022-05-31T17:51:08.971Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:51:08.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:51:08.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:51:08.971Z] Configure a credential helper to remove this warning. See [2022-05-31T17:51:08.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:51:08.971Z] [2022-05-31T17:51:08.971Z] Login Succeeded [2022-05-31T17:51:08.971Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:51:08.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:51:09.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:51:09.232Z] Configure a credential helper to remove this warning. See [2022-05-31T17:51:09.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:51:09.232Z] [2022-05-31T17:51:09.232Z] Login Succeeded [2022-05-31T17:51:09.232Z] docker.io [2022-05-31T17:51:09.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:51:09.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:51:09.492Z] Configure a credential helper to remove this warning. See [2022-05-31T17:51:09.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:51:09.492Z] [2022-05-31T17:51:09.492Z] Login Succeeded [2022-05-31T17:51:09.492Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:51:09.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:51:09.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:51:09.548Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2022-05-31T17:51:09.548Z] c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:51:09.548Z] latest [2022-05-31T17:51:09.548Z] 2.2.1-dev.2 [2022-05-31T17:51:09.548Z] c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:51:09.548Z] main [2022-05-31T17:51:09.548Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:09.862Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:10.177Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:51:10.177Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-31T17:51:10.177Z] b668e54ed7f8: Preparing [2022-05-31T17:51:10.177Z] c1ec958bf013: Preparing [2022-05-31T17:51:10.177Z] 77f30373fea8: Preparing [2022-05-31T17:51:10.177Z] 467a7b7fd051: Preparing [2022-05-31T17:51:10.177Z] b541d28bf3b4: Preparing [2022-05-31T17:51:10.177Z] b541d28bf3b4: Layer already exists [2022-05-31T17:51:10.177Z] c1ec958bf013: Pushed [2022-05-31T17:51:10.177Z] b668e54ed7f8: Pushed [2022-05-31T17:51:10.437Z] 467a7b7fd051: Pushed [2022-05-31T17:51:12.984Z] 77f30373fea8: Pushed [2022-05-31T17:51:12.984Z] c4b573a2bf76d46acd5797026015b66a4b354b83: digest: sha256:957d33ec5975152e2db61d5bcfe25565a0a9bc6031d20fb67079fbc4a3ab0a08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:13.303Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:13.617Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-31T17:51:13.617Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-31T17:51:13.617Z] b668e54ed7f8: Preparing [2022-05-31T17:51:13.617Z] c1ec958bf013: Preparing [2022-05-31T17:51:13.617Z] 77f30373fea8: Preparing [2022-05-31T17:51:13.617Z] 467a7b7fd051: Preparing [2022-05-31T17:51:13.617Z] b541d28bf3b4: Preparing [2022-05-31T17:51:13.617Z] c1ec958bf013: Layer already exists [2022-05-31T17:51:13.617Z] b541d28bf3b4: Layer already exists [2022-05-31T17:51:13.617Z] b668e54ed7f8: Layer already exists [2022-05-31T17:51:13.617Z] 467a7b7fd051: Layer already exists [2022-05-31T17:51:13.617Z] 77f30373fea8: Layer already exists [2022-05-31T17:51:13.617Z] latest: digest: sha256:957d33ec5975152e2db61d5bcfe25565a0a9bc6031d20fb67079fbc4a3ab0a08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:13.935Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:14.250Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.2 [2022-05-31T17:51:14.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-31T17:51:14.250Z] b668e54ed7f8: Preparing [2022-05-31T17:51:14.250Z] c1ec958bf013: Preparing [2022-05-31T17:51:14.250Z] 77f30373fea8: Preparing [2022-05-31T17:51:14.250Z] 467a7b7fd051: Preparing [2022-05-31T17:51:14.250Z] b541d28bf3b4: Preparing [2022-05-31T17:51:14.250Z] 467a7b7fd051: Layer already exists [2022-05-31T17:51:14.250Z] c1ec958bf013: Layer already exists [2022-05-31T17:51:14.250Z] 77f30373fea8: Layer already exists [2022-05-31T17:51:14.250Z] b668e54ed7f8: Layer already exists [2022-05-31T17:51:14.250Z] b541d28bf3b4: Layer already exists [2022-05-31T17:51:14.250Z] 2.2.1-dev.2: digest: sha256:957d33ec5975152e2db61d5bcfe25565a0a9bc6031d20fb67079fbc4a3ab0a08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:14.574Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:14.889Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:51:14.889Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-31T17:51:14.889Z] b668e54ed7f8: Preparing [2022-05-31T17:51:14.889Z] c1ec958bf013: Preparing [2022-05-31T17:51:14.889Z] 77f30373fea8: Preparing [2022-05-31T17:51:14.889Z] 467a7b7fd051: Preparing [2022-05-31T17:51:14.889Z] b541d28bf3b4: Preparing [2022-05-31T17:51:14.889Z] 77f30373fea8: Layer already exists [2022-05-31T17:51:14.889Z] b668e54ed7f8: Layer already exists [2022-05-31T17:51:14.889Z] 467a7b7fd051: Layer already exists [2022-05-31T17:51:14.889Z] c1ec958bf013: Layer already exists [2022-05-31T17:51:14.889Z] b541d28bf3b4: Layer already exists [2022-05-31T17:51:14.889Z] c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2: digest: sha256:957d33ec5975152e2db61d5bcfe25565a0a9bc6031d20fb67079fbc4a3ab0a08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:15.217Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:15.537Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2022-05-31T17:51:15.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2022-05-31T17:51:15.538Z] b668e54ed7f8: Preparing [2022-05-31T17:51:15.538Z] c1ec958bf013: Preparing [2022-05-31T17:51:15.538Z] 77f30373fea8: Preparing [2022-05-31T17:51:15.538Z] 467a7b7fd051: Preparing [2022-05-31T17:51:15.538Z] b541d28bf3b4: Preparing [2022-05-31T17:51:15.538Z] b541d28bf3b4: Layer already exists [2022-05-31T17:51:15.538Z] 467a7b7fd051: Layer already exists [2022-05-31T17:51:15.538Z] c1ec958bf013: Layer already exists [2022-05-31T17:51:15.538Z] 77f30373fea8: Layer already exists [2022-05-31T17:51:15.538Z] b668e54ed7f8: Layer already exists [2022-05-31T17:51:15.538Z] main: digest: sha256:957d33ec5975152e2db61d5bcfe25565a0a9bc6031d20fb67079fbc4a3ab0a08 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:51:15.587Z] ===================================================== [Pipeline] echo [2022-05-31T17:51:15.594Z] taggedImages: [2022-05-31T17:51:15.594Z] - nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:51:15.594Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2022-05-31T17:51:15.594Z] - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.2 [2022-05-31T17:51:15.594Z] - nexus3.edgexfoundry.org:10004/device-snmp:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:51:15.594Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:15.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:51:15.966Z] [2022-05-31T17:51:15.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:51:16.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:51:16.267Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-31T17:51:16.267Z] 5eb5b503b376: Pulling fs layer [2022-05-31T17:51:16.267Z] 5c69ac0246d0: Pulling fs layer [2022-05-31T17:51:16.267Z] ec43610c2a17: Pulling fs layer [2022-05-31T17:51:16.267Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-31T17:51:16.267Z] 33b1e0a273af: Pulling fs layer [2022-05-31T17:51:16.267Z] 5d3b04190fa2: Pulling fs layer [2022-05-31T17:51:16.267Z] 2f39f015ded8: Pulling fs layer [2022-05-31T17:51:16.267Z] 3a2ae6a8a46f: Waiting [2022-05-31T17:51:16.267Z] 33b1e0a273af: Waiting [2022-05-31T17:51:16.267Z] 5d3b04190fa2: Waiting [2022-05-31T17:51:16.267Z] 2f39f015ded8: Waiting [2022-05-31T17:51:16.267Z] 5c69ac0246d0: Download complete [2022-05-31T17:51:16.267Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-31T17:51:16.267Z] 3a2ae6a8a46f: Download complete [2022-05-31T17:51:16.267Z] 33b1e0a273af: Verifying Checksum [2022-05-31T17:51:16.267Z] 33b1e0a273af: Download complete [2022-05-31T17:51:16.267Z] 5d3b04190fa2: Verifying Checksum [2022-05-31T17:51:16.267Z] 5d3b04190fa2: Download complete [2022-05-31T17:51:16.267Z] ec43610c2a17: Verifying Checksum [2022-05-31T17:51:16.267Z] ec43610c2a17: Download complete [2022-05-31T17:51:16.527Z] 5eb5b503b376: Download complete [2022-05-31T17:51:17.095Z] 2f39f015ded8: Download complete [2022-05-31T17:51:18.035Z] 5eb5b503b376: Pull complete [2022-05-31T17:51:18.035Z] 5c69ac0246d0: Pull complete [2022-05-31T17:51:18.294Z] ec43610c2a17: Pull complete [2022-05-31T17:51:18.553Z] 3a2ae6a8a46f: Pull complete [2022-05-31T17:51:18.553Z] 33b1e0a273af: Pull complete [2022-05-31T17:51:18.813Z] 5d3b04190fa2: Pull complete [2022-05-31T17:51:23.170Z] 2f39f015ded8: Pull complete [2022-05-31T17:51:23.170Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-31T17:51:23.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:51:23.170Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:51:23.272Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:51:23.312Z] $ 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-31T17:51:24.639Z] $ docker top 8f64ff5e5b8a319f097bbc7e826e27c2e64e3631257a37c300d7489dc4c16fdd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:51:25.037Z] ---> job-cost.sh [2022-05-31T17:51:25.037Z] lf-activate-venv: SKIPPING [2022-05-31T17:51:25.037Z] INFO: No Stack... [2022-05-31T17:51:25.610Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:51:25.871Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:51:26.165Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2022-05-31T17:51:26.165Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:51:26.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [2022-05-31T17:51:26.186Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] did not exist. Created. [2022-05-31T17:51:26.186Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:51:26.485Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-31T17:51:26.506Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:51:26.512Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:51:26.531Z] $ docker stop --time=1 8f64ff5e5b8a319f097bbc7e826e27c2e64e3631257a37c300d7489dc4c16fdd [2022-05-31T17:51:27.682Z] $ docker rm -f 8f64ff5e5b8a319f097bbc7e826e27c2e64e3631257a37c300d7489dc4c16fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-31T17:51:36.980Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-500 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2022-05-31T17:51:36.993Z] Running in /w/workspace/device-snmp-go/33 [Pipeline] { [Pipeline] checkout [2022-05-31T17:51:37.032Z] Selected Git installation does not exist. Using Default [2022-05-31T17:51:37.033Z] The recommended git tool is: NONE [2022-05-31T17:51:43.812Z] using credential edgex-jenkins-ssh [2022-05-31T17:51:43.834Z] Cloning the remote Git repository [2022-05-31T17:51:43.899Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-05-31T17:51:43.973Z] > git init /w/workspace/device-snmp-go/33 # timeout=10 [2022-05-31T17:51:44.069Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-05-31T17:51:44.071Z] > git --version # timeout=10 [2022-05-31T17:51:44.094Z] > git --version # 'git version 2.25.1' [2022-05-31T17:51:44.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-31T17:51:44.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:51:45.245Z] Avoid second fetch [2022-05-31T17:51:45.245Z] Checking out Revision c4b573a2bf76d46acd5797026015b66a4b354b83 (main) [2022-05-31T17:51:45.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-05-31T17:51:45.229Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-31T17:51:45.268Z] > git config core.sparsecheckout # timeout=10 [2022-05-31T17:51:45.283Z] > git checkout -f c4b573a2bf76d46acd5797026015b66a4b354b83 # timeout=10 [2022-05-31T17:51:49.447Z] Commit message: "feat: Add go-winio to attribution (new SPIFFE dependency) (#175)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:51:50.361Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-31T17:51:50.361Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:51:50.361Z] Dload Upload Total Spent Left Speed [2022-05-31T17:51:50.361Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50012 0 --:--:-- --:--:-- --:--:-- 50217 [Pipeline] sh [2022-05-31T17:51:51.001Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-31T17:51:51.410Z] + sudo tee /etc/docker/daemon.new [2022-05-31T17:51:51.410Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-31T17:51:51.410Z] { [2022-05-31T17:51:51.410Z] "registry-mirrors": [ [2022-05-31T17:51:51.410Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-31T17:51:51.410Z] ], [2022-05-31T17:51:51.410Z] "bip": "10.250.0.254/24", [2022-05-31T17:51:51.410Z] "hosts": [ [2022-05-31T17:51:51.410Z] "tcp://0.0.0.0:5555", [2022-05-31T17:51:51.410Z] "unix:///var/run/docker.sock" [2022-05-31T17:51:51.410Z] ], [2022-05-31T17:51:51.410Z] "mtu": 1458, [2022-05-31T17:51:51.410Z] "selinux-enabled": true, [2022-05-31T17:51:51.410Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-31T17:51:51.410Z] } [Pipeline] sh [2022-05-31T17:51:51.769Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-31T17:51:52.106Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:52:10.449Z] provisioning config files... [2022-05-31T17:52:10.474Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config4221883987272792748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:52:10.845Z] ---> docker-login.sh [2022-05-31T17:52:10.845Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:52:11.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:52:11.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:52:11.720Z] Configure a credential helper to remove this warning. See [2022-05-31T17:52:11.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:52:11.720Z] [2022-05-31T17:52:11.720Z] Login Succeeded [2022-05-31T17:52:11.720Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:52:11.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:52:12.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:52:12.276Z] Configure a credential helper to remove this warning. See [2022-05-31T17:52:12.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:52:12.276Z] [2022-05-31T17:52:12.276Z] Login Succeeded [2022-05-31T17:52:12.276Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:52:12.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:52:12.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:52:12.555Z] Configure a credential helper to remove this warning. See [2022-05-31T17:52:12.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:52:12.555Z] [2022-05-31T17:52:12.555Z] Login Succeeded [2022-05-31T17:52:12.555Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:52:13.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:52:13.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:52:13.157Z] Configure a credential helper to remove this warning. See [2022-05-31T17:52:13.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:52:13.157Z] [2022-05-31T17:52:13.157Z] Login Succeeded [2022-05-31T17:52:13.157Z] docker.io [2022-05-31T17:52:13.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:52:14.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:52:14.027Z] Configure a credential helper to remove this warning. See [2022-05-31T17:52:14.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:52:14.027Z] [2022-05-31T17:52:14.027Z] Login Succeeded [2022-05-31T17:52:14.027Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:52:14.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-31T17:52:14.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:52:14.615Z] ========================================================= [2022-05-31T17:52:14.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-31T17:52:14.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:52:14.990Z] + 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-31T17:52:15.265Z] Sending build context to Docker daemon 2.73MB [2022-05-31T17:52:15.265Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:52:15.265Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-31T17:52:15.541Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-31T17:52:15.541Z] 9b3977197b4f: Pulling fs layer [2022-05-31T17:52:15.541Z] 1a89e8eeedd5: Pulling fs layer [2022-05-31T17:52:15.541Z] 94645a83ff95: Pulling fs layer [2022-05-31T17:52:15.541Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-31T17:52:15.541Z] 0c92f367c5e7: Pulling fs layer [2022-05-31T17:52:15.541Z] 3096ccb668a1: Pulling fs layer [2022-05-31T17:52:15.541Z] e8cf19c19ddd: Pulling fs layer [2022-05-31T17:52:15.541Z] a4caa8a26152: Pulling fs layer [2022-05-31T17:52:15.541Z] 3096ccb668a1: Waiting [2022-05-31T17:52:15.541Z] 3f3a8bcf1eab: Waiting [2022-05-31T17:52:15.541Z] e8cf19c19ddd: Waiting [2022-05-31T17:52:15.541Z] 0c92f367c5e7: Waiting [2022-05-31T17:52:15.541Z] a4caa8a26152: Waiting [2022-05-31T17:52:15.541Z] 94645a83ff95: Download complete [2022-05-31T17:52:15.541Z] 1a89e8eeedd5: Verifying Checksum [2022-05-31T17:52:15.541Z] 1a89e8eeedd5: Download complete [2022-05-31T17:52:15.541Z] 0c92f367c5e7: Verifying Checksum [2022-05-31T17:52:15.541Z] 0c92f367c5e7: Download complete [2022-05-31T17:52:15.541Z] 3096ccb668a1: Verifying Checksum [2022-05-31T17:52:15.541Z] 3096ccb668a1: Download complete [2022-05-31T17:52:15.541Z] 9b3977197b4f: Download complete [2022-05-31T17:52:15.541Z] e8cf19c19ddd: Download complete [2022-05-31T17:52:16.154Z] 9b3977197b4f: Pull complete [2022-05-31T17:52:16.759Z] 1a89e8eeedd5: Pull complete [2022-05-31T17:52:17.370Z] 94645a83ff95: Pull complete [2022-05-31T17:52:17.647Z] a4caa8a26152: Verifying Checksum [2022-05-31T17:52:17.647Z] a4caa8a26152: Download complete [2022-05-31T17:52:18.245Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-31T17:52:18.245Z] 3f3a8bcf1eab: Download complete [2022-05-31T17:52:30.660Z] 3f3a8bcf1eab: Pull complete [2022-05-31T17:52:30.660Z] 0c92f367c5e7: Pull complete [2022-05-31T17:52:30.933Z] 3096ccb668a1: Pull complete [2022-05-31T17:52:31.207Z] e8cf19c19ddd: Pull complete [2022-05-31T17:52:37.931Z] a4caa8a26152: Pull complete [2022-05-31T17:52:37.931Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-31T17:52:37.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-31T17:52:37.931Z] ---> 725f1c02e7f9 [2022-05-31T17:52:37.931Z] Step 3/12 : ARG MAKE='make build' [2022-05-31T17:52:38.537Z] ---> Running in 03d345626320 [2022-05-31T17:52:38.809Z] Removing intermediate container 03d345626320 [2022-05-31T17:52:38.809Z] ---> 0f1b15099f94 [2022-05-31T17:52:38.809Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:52:38.809Z] ---> Running in 557eadbac7be [2022-05-31T17:52:39.084Z] Removing intermediate container 557eadbac7be [2022-05-31T17:52:39.084Z] ---> 8c1777ea345f [2022-05-31T17:52:39.084Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:52:39.084Z] ---> Running in 09fc369eee09 [2022-05-31T17:52:39.359Z] Removing intermediate container 09fc369eee09 [2022-05-31T17:52:39.359Z] ---> 9fe6ac3c1314 [2022-05-31T17:52:39.359Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:52:39.359Z] ---> Running in cd4a86d687b6 [2022-05-31T17:52:41.346Z] Removing intermediate container cd4a86d687b6 [2022-05-31T17:52:41.346Z] ---> b0cecf344051 [2022-05-31T17:52:41.346Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:52:41.346Z] ---> Running in 0429de11a783 [2022-05-31T17:52:42.344Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:52:42.941Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:52:43.928Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-31T17:52:43.928Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-31T17:52:44.211Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-31T17:52:44.211Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-31T17:52:44.485Z] Executing busybox-1.34.1-r3.trigger [2022-05-31T17:52:44.485Z] OK: 224 MiB in 56 packages [2022-05-31T17:52:46.480Z] Removing intermediate container 0429de11a783 [2022-05-31T17:52:46.480Z] ---> 60349ef9b880 [2022-05-31T17:52:46.480Z] Step 8/12 : WORKDIR /device-snmp-go [2022-05-31T17:52:46.480Z] ---> Running in ce50e0910968 [2022-05-31T17:52:46.755Z] Removing intermediate container ce50e0910968 [2022-05-31T17:52:46.755Z] ---> 2a039080d10c [2022-05-31T17:52:46.755Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-31T17:52:47.042Z] ---> dbca3a7c3da4 [2022-05-31T17:52:47.042Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:52:47.318Z] ---> Running in f500cfb22c82 [2022-05-31T17:53:34.318Z] Removing intermediate container f500cfb22c82 [2022-05-31T17:53:34.318Z] ---> 9757d25930a9 [2022-05-31T17:53:34.318Z] Step 11/12 : COPY . . [2022-05-31T17:53:34.318Z] ---> 9e40e6aa9d39 [2022-05-31T17:53:34.318Z] Step 12/12 : RUN ${MAKE} [2022-05-31T17:53:34.318Z] ---> Running in 162b7dcc5cd6 [2022-05-31T17:53:34.318Z] noop [2022-05-31T17:53:34.318Z] Removing intermediate container 162b7dcc5cd6 [2022-05-31T17:53:34.318Z] ---> 44efe4ad3b04 [2022-05-31T17:53:34.318Z] Successfully built 44efe4ad3b04 [2022-05-31T17:53:34.318Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:53:34.686Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:53:34.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:53:34.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-500 does not seem to be running inside a container [2022-05-31T17:53:35.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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-31T17:53:36.265Z] $ docker top 4380abebfcb6dc6dda831bcd547f49a6583fa600cf82aec3bf1d51915944bfe1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:53:37.163Z] + go version [2022-05-31T17:53:37.163Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-31T17:53:37.197Z] $ docker stop --time=1 4380abebfcb6dc6dda831bcd547f49a6583fa600cf82aec3bf1d51915944bfe1 [2022-05-31T17:53:38.835Z] $ docker rm -f 4380abebfcb6dc6dda831bcd547f49a6583fa600cf82aec3bf1d51915944bfe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:53:39.449Z] + docker inspect -f . ci-base-image-arm64 [2022-05-31T17:53:39.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:53:39.701Z] prd-ubuntu20.04-docker-arm64-4c-16g-500 does not seem to be running inside a container [2022-05-31T17:53:39.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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-31T17:53:41.056Z] $ docker top c81851bd6a3e12a88b583e378bfaf2cbec11ea592a55a1ab6cad041b4b7e10f8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-31T17:53:41.948Z] + make test [2022-05-31T17:53:41.948Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-31T17:53:43.387Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-31T17:55:05.223Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-31T17:55:05.223Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements [2022-05-31T17:55:05.223Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-31T17:55:05.223Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-31T17:55:23.590Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-31T17:55:23.590Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-31T17:55:23.590Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-31T17:55:27.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-31T17:55:27.120Z] $ docker stop --time=1 c81851bd6a3e12a88b583e378bfaf2cbec11ea592a55a1ab6cad041b4b7e10f8 [2022-05-31T17:55:28.885Z] $ docker rm -f c81851bd6a3e12a88b583e378bfaf2cbec11ea592a55a1ab6cad041b4b7e10f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:55:29.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-31T17:55:29.848Z] Warning: overwriting stash ‘coverage-report’ [2022-05-31T17:55:30.309Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-31T17:55:30.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-31T17:55:31.052Z] + ls -al . [2022-05-31T17:55:31.052Z] total 164 [2022-05-31T17:55:31.052Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:55 . [2022-05-31T17:55:31.052Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 17:51 .. [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 6 May 31 17:51 .dockerignore [2022-05-31T17:55:31.052Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 17:51 .git [2022-05-31T17:55:31.052Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:51 .github [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 328 May 31 17:51 .gitignore [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 17:51 .golangci.yml [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 8429 May 31 17:51 Attribution.txt [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 6948 May 31 17:51 CHANGELOG.md [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 1516 May 31 17:51 Dockerfile [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 17:51 GOVERNANCE.md [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 656 May 31 17:51 Jenkinsfile [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 17:51 LICENSE [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 2334 May 31 17:51 Makefile [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 17:51 OWNERS.md [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 9390 May 31 17:51 README.md [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 11 May 31 17:49 VERSION [2022-05-31T17:55:31.052Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 17:51 bin [2022-05-31T17:55:31.052Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:51 cmd [2022-05-31T17:55:31.052Z] -rw-r--r-- 1 jenkins jenkins 7631 May 31 17:54 coverage.out [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 3250 May 31 17:51 go.mod [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 35701 May 31 17:51 go.sum [2022-05-31T17:55:31.052Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:51 internal [2022-05-31T17:55:31.052Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 17:51 snap [2022-05-31T17:55:31.052Z] -rw-rw-r-- 1 jenkins jenkins 228 May 31 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:55:31.417Z] + 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=c4b573a2bf76d46acd5797026015b66a4b354b83 --label arch=arm64 --label version=2.2.1-dev.2 . [2022-05-31T17:55:31.694Z] Sending build context to Docker daemon 2.739MB [2022-05-31T17:55:31.694Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-31T17:55:31.694Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-31T17:55:31.694Z] ---> 44efe4ad3b04 [2022-05-31T17:55:31.694Z] Step 3/24 : ARG MAKE='make build' [2022-05-31T17:55:31.971Z] ---> Running in 19bb1c6bf00c [2022-05-31T17:55:32.244Z] Removing intermediate container 19bb1c6bf00c [2022-05-31T17:55:32.244Z] ---> 33fdb0eab0be [2022-05-31T17:55:32.244Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-31T17:55:32.244Z] ---> Running in f9e14c15542c [2022-05-31T17:55:32.522Z] Removing intermediate container f9e14c15542c [2022-05-31T17:55:32.522Z] ---> b3845af2dd4b [2022-05-31T17:55:32.522Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-31T17:55:32.522Z] ---> Running in e761b9c64279 [2022-05-31T17:55:33.122Z] Removing intermediate container e761b9c64279 [2022-05-31T17:55:33.122Z] ---> 56e5f0e41eb5 [2022-05-31T17:55:33.122Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-31T17:55:33.122Z] ---> Running in 784bd8c1187b [2022-05-31T17:55:34.574Z] Removing intermediate container 784bd8c1187b [2022-05-31T17:55:34.574Z] ---> 247b78bcfc9d [2022-05-31T17:55:34.574Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-31T17:55:34.574Z] ---> Running in 6284cc47aa09 [2022-05-31T17:55:35.552Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:55:36.527Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:55:37.508Z] OK: 224 MiB in 56 packages [2022-05-31T17:55:38.104Z] Removing intermediate container 6284cc47aa09 [2022-05-31T17:55:38.104Z] ---> 846847b095cd [2022-05-31T17:55:38.104Z] Step 8/24 : WORKDIR /device-snmp-go [2022-05-31T17:55:38.380Z] ---> Running in 698d4592c043 [2022-05-31T17:55:38.653Z] Removing intermediate container 698d4592c043 [2022-05-31T17:55:38.653Z] ---> 4caacf6d7fbc [2022-05-31T17:55:38.653Z] Step 9/24 : COPY go.mod vendor* ./ [2022-05-31T17:55:39.249Z] ---> 78321328c74f [2022-05-31T17:55:39.249Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-31T17:55:39.249Z] ---> Running in 704f458d3c31 [2022-05-31T17:55:41.221Z] Removing intermediate container 704f458d3c31 [2022-05-31T17:55:41.221Z] ---> 597aed908c6a [2022-05-31T17:55:41.221Z] Step 11/24 : COPY . . [2022-05-31T17:55:41.821Z] ---> 5d867cb7411f [2022-05-31T17:55:41.821Z] Step 12/24 : RUN ${MAKE} [2022-05-31T17:55:42.096Z] ---> Running in 2e19346ba6c7 [2022-05-31T17:55:43.085Z] 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.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-05-31T17:57:49.970Z] Removing intermediate container 2e19346ba6c7 [2022-05-31T17:57:49.970Z] ---> a56815561864 [2022-05-31T17:57:49.970Z] Step 13/24 : FROM alpine:3.14 [2022-05-31T17:57:49.970Z] 3.14: Pulling from library/alpine [2022-05-31T17:57:49.970Z] 455c02918c45: Pulling fs layer [2022-05-31T17:57:49.970Z] 455c02918c45: Verifying Checksum [2022-05-31T17:57:49.970Z] 455c02918c45: Download complete [2022-05-31T17:57:49.970Z] 455c02918c45: Pull complete [2022-05-31T17:57:49.970Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-31T17:57:49.970Z] Status: Downloaded newer image for alpine:3.14 [2022-05-31T17:57:49.970Z] ---> ac73e934f311 [2022-05-31T17:57:49.970Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-31T17:57:49.970Z] ---> Running in ab3b3fc2ee83 [2022-05-31T17:57:49.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-31T17:57:49.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-31T17:57:49.970Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-31T17:57:49.970Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-31T17:57:49.970Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-31T17:57:49.970Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-31T17:57:49.970Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-31T17:57:49.970Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-31T17:57:49.970Z] Executing busybox-1.33.1-r7.trigger [2022-05-31T17:57:49.970Z] OK: 8 MiB in 20 packages [2022-05-31T17:57:49.970Z] Removing intermediate container ab3b3fc2ee83 [2022-05-31T17:57:49.970Z] ---> 15a2aefb15c3 [2022-05-31T17:57:49.970Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-05-31T17:57:49.970Z] ---> 8e4bb2172e65 [2022-05-31T17:57:49.970Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-31T17:57:49.970Z] ---> e08f202775ea [2022-05-31T17:57:49.970Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-31T17:57:49.970Z] ---> 19dc6ec93018 [2022-05-31T17:57:49.970Z] Step 18/24 : EXPOSE 59993 [2022-05-31T17:57:49.970Z] ---> Running in 7f6dab4a7b1b [2022-05-31T17:57:49.970Z] Removing intermediate container 7f6dab4a7b1b [2022-05-31T17:57:49.970Z] ---> 9c94f281d117 [2022-05-31T17:57:49.970Z] Step 19/24 : EXPOSE 161 [2022-05-31T17:57:49.970Z] ---> Running in ae394a1989c8 [2022-05-31T17:57:49.970Z] Removing intermediate container ae394a1989c8 [2022-05-31T17:57:49.970Z] ---> 53b2501afb80 [2022-05-31T17:57:49.970Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-05-31T17:57:49.970Z] ---> Running in 81774199a89a [2022-05-31T17:57:49.970Z] Removing intermediate container 81774199a89a [2022-05-31T17:57:49.970Z] ---> b426b6a38848 [2022-05-31T17:57:49.970Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-31T17:57:49.970Z] ---> Running in 94a178db258f [2022-05-31T17:57:49.970Z] Removing intermediate container 94a178db258f [2022-05-31T17:57:49.970Z] ---> 70effcf638d3 [2022-05-31T17:57:49.970Z] Step 22/24 : LABEL arch=arm64 [2022-05-31T17:57:49.970Z] ---> Running in f164d05b9894 [2022-05-31T17:57:49.970Z] Removing intermediate container f164d05b9894 [2022-05-31T17:57:49.970Z] ---> e1e3469ff15b [2022-05-31T17:57:49.970Z] Step 23/24 : LABEL git_sha=c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:57:49.970Z] ---> Running in f3e5a8910ef8 [2022-05-31T17:57:49.970Z] Removing intermediate container f3e5a8910ef8 [2022-05-31T17:57:49.970Z] ---> 5b7cb614ac6d [2022-05-31T17:57:49.970Z] Step 24/24 : LABEL version=2.2.1-dev.2 [2022-05-31T17:57:49.970Z] ---> Running in 6144d6a79c94 [2022-05-31T17:57:49.970Z] Removing intermediate container 6144d6a79c94 [2022-05-31T17:57:49.970Z] ---> b80eae967649 [2022-05-31T17:57:49.970Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-31T17:57:49.970Z] Successfully built b80eae967649 [2022-05-31T17:57:49.970Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:57:50.092Z] provisioning config files... [2022-05-31T17:57:50.110Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/33@tmp/config527877491422751234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:57:50.459Z] ---> docker-login.sh [2022-05-31T17:57:50.459Z] nexus3.edgexfoundry.org:10001 [2022-05-31T17:57:50.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:57:50.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:57:50.733Z] Configure a credential helper to remove this warning. See [2022-05-31T17:57:50.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:57:50.733Z] [2022-05-31T17:57:50.733Z] Login Succeeded [2022-05-31T17:57:50.733Z] nexus3.edgexfoundry.org:10002 [2022-05-31T17:57:51.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:57:51.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:57:51.335Z] Configure a credential helper to remove this warning. See [2022-05-31T17:57:51.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:57:51.335Z] [2022-05-31T17:57:51.335Z] Login Succeeded [2022-05-31T17:57:51.335Z] nexus3.edgexfoundry.org:10003 [2022-05-31T17:57:51.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:57:51.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:57:51.881Z] Configure a credential helper to remove this warning. See [2022-05-31T17:57:51.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:57:51.881Z] [2022-05-31T17:57:51.881Z] Login Succeeded [2022-05-31T17:57:51.881Z] nexus3.edgexfoundry.org:10004 [2022-05-31T17:57:52.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:57:52.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:57:52.424Z] Configure a credential helper to remove this warning. See [2022-05-31T17:57:52.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:57:52.424Z] [2022-05-31T17:57:52.424Z] Login Succeeded [2022-05-31T17:57:52.424Z] docker.io [2022-05-31T17:57:52.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-31T17:57:52.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-31T17:57:52.967Z] Configure a credential helper to remove this warning. See [2022-05-31T17:57:52.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-31T17:57:52.967Z] [2022-05-31T17:57:52.967Z] Login Succeeded [2022-05-31T17:57:52.967Z] ---> docker-login.sh ends [Pipeline] } [2022-05-31T17:57:52.985Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:57:53.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-31T17:57:53.034Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2022-05-31T17:57:53.034Z] c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:57:53.034Z] latest [2022-05-31T17:57:53.034Z] 2.2.1-dev.2 [2022-05-31T17:57:53.034Z] c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:57:53.034Z] main [2022-05-31T17:57:53.034Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:57:53.375Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:57:53.736Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:57:53.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-31T17:57:53.736Z] 522aae012e9c: Preparing [2022-05-31T17:57:53.736Z] 370b21a56283: Preparing [2022-05-31T17:57:53.736Z] 89902f35fc3f: Preparing [2022-05-31T17:57:53.736Z] db3a43fdb482: Preparing [2022-05-31T17:57:53.736Z] f73e7dbfee58: Preparing [2022-05-31T17:57:54.009Z] f73e7dbfee58: Layer already exists [2022-05-31T17:57:54.009Z] 522aae012e9c: Pushed [2022-05-31T17:57:54.009Z] 370b21a56283: Pushed [2022-05-31T17:57:54.605Z] db3a43fdb482: Pushed [2022-05-31T17:57:59.997Z] 89902f35fc3f: Pushed [2022-05-31T17:58:00.269Z] c4b573a2bf76d46acd5797026015b66a4b354b83: digest: sha256:3f411eb0213c263f4dbd1970caf6141f735593016808baa8265900fa9f485706 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:00.631Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:00.987Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-31T17:58:00.987Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-31T17:58:00.987Z] 522aae012e9c: Preparing [2022-05-31T17:58:00.987Z] 370b21a56283: Preparing [2022-05-31T17:58:00.987Z] 89902f35fc3f: Preparing [2022-05-31T17:58:00.987Z] db3a43fdb482: Preparing [2022-05-31T17:58:00.987Z] f73e7dbfee58: Preparing [2022-05-31T17:58:00.987Z] 370b21a56283: Layer already exists [2022-05-31T17:58:00.987Z] f73e7dbfee58: Layer already exists [2022-05-31T17:58:00.987Z] db3a43fdb482: Layer already exists [2022-05-31T17:58:00.987Z] 89902f35fc3f: Layer already exists [2022-05-31T17:58:00.987Z] 522aae012e9c: Layer already exists [2022-05-31T17:58:01.259Z] latest: digest: sha256:3f411eb0213c263f4dbd1970caf6141f735593016808baa8265900fa9f485706 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:01.617Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:01.971Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.2 [2022-05-31T17:58:01.971Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-31T17:58:01.971Z] 522aae012e9c: Preparing [2022-05-31T17:58:01.971Z] 370b21a56283: Preparing [2022-05-31T17:58:01.971Z] 89902f35fc3f: Preparing [2022-05-31T17:58:01.971Z] db3a43fdb482: Preparing [2022-05-31T17:58:01.971Z] f73e7dbfee58: Preparing [2022-05-31T17:58:01.971Z] 89902f35fc3f: Layer already exists [2022-05-31T17:58:01.971Z] 522aae012e9c: Layer already exists [2022-05-31T17:58:01.971Z] f73e7dbfee58: Layer already exists [2022-05-31T17:58:01.971Z] 370b21a56283: Layer already exists [2022-05-31T17:58:01.971Z] db3a43fdb482: Layer already exists [2022-05-31T17:58:02.241Z] 2.2.1-dev.2: digest: sha256:3f411eb0213c263f4dbd1970caf6141f735593016808baa8265900fa9f485706 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:02.598Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:02.945Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:58:02.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-31T17:58:02.946Z] 522aae012e9c: Preparing [2022-05-31T17:58:02.946Z] 370b21a56283: Preparing [2022-05-31T17:58:02.946Z] 89902f35fc3f: Preparing [2022-05-31T17:58:02.946Z] db3a43fdb482: Preparing [2022-05-31T17:58:02.946Z] f73e7dbfee58: Preparing [2022-05-31T17:58:02.946Z] 370b21a56283: Layer already exists [2022-05-31T17:58:02.946Z] db3a43fdb482: Layer already exists [2022-05-31T17:58:02.946Z] f73e7dbfee58: Layer already exists [2022-05-31T17:58:02.946Z] 89902f35fc3f: Layer already exists [2022-05-31T17:58:02.946Z] 522aae012e9c: Layer already exists [2022-05-31T17:58:03.215Z] c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2: digest: sha256:3f411eb0213c263f4dbd1970caf6141f735593016808baa8265900fa9f485706 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:03.571Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:03.927Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2022-05-31T17:58:03.927Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2022-05-31T17:58:03.927Z] 522aae012e9c: Preparing [2022-05-31T17:58:03.927Z] 370b21a56283: Preparing [2022-05-31T17:58:03.927Z] 89902f35fc3f: Preparing [2022-05-31T17:58:03.927Z] db3a43fdb482: Preparing [2022-05-31T17:58:03.927Z] f73e7dbfee58: Preparing [2022-05-31T17:58:03.927Z] f73e7dbfee58: Layer already exists [2022-05-31T17:58:03.927Z] 89902f35fc3f: Layer already exists [2022-05-31T17:58:03.927Z] db3a43fdb482: Layer already exists [2022-05-31T17:58:03.927Z] 522aae012e9c: Layer already exists [2022-05-31T17:58:03.927Z] 370b21a56283: Layer already exists [2022-05-31T17:58:04.195Z] main: digest: sha256:3f411eb0213c263f4dbd1970caf6141f735593016808baa8265900fa9f485706 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-31T17:58:04.255Z] ===================================================== [Pipeline] echo [2022-05-31T17:58:04.262Z] taggedImages: [2022-05-31T17:58:04.262Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83 [2022-05-31T17:58:04.262Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2022-05-31T17:58:04.262Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.2 [2022-05-31T17:58:04.262Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:c4b573a2bf76d46acd5797026015b66a4b354b83-2.2.1-dev.2 [2022-05-31T17:58:04.262Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:04.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:58:04.615Z] [2022-05-31T17:58:04.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:05.016Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:58:05.314Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-31T17:58:05.314Z] 8998bd30e6a1: Pulling fs layer [2022-05-31T17:58:05.314Z] 04944245beec: Pulling fs layer [2022-05-31T17:58:05.314Z] 699f458cf7ca: Pulling fs layer [2022-05-31T17:58:05.314Z] 765212b225bb: Pulling fs layer [2022-05-31T17:58:05.314Z] f23df028b6ca: Pulling fs layer [2022-05-31T17:58:05.314Z] d65c8cfc05b1: Pulling fs layer [2022-05-31T17:58:05.314Z] 2437ff75d9bd: Pulling fs layer [2022-05-31T17:58:05.314Z] f23df028b6ca: Waiting [2022-05-31T17:58:05.314Z] d65c8cfc05b1: Waiting [2022-05-31T17:58:05.314Z] 2437ff75d9bd: Waiting [2022-05-31T17:58:05.314Z] 765212b225bb: Waiting [2022-05-31T17:58:05.314Z] 04944245beec: Verifying Checksum [2022-05-31T17:58:05.314Z] 04944245beec: Download complete [2022-05-31T17:58:05.314Z] 765212b225bb: Verifying Checksum [2022-05-31T17:58:05.314Z] 765212b225bb: Download complete [2022-05-31T17:58:05.314Z] f23df028b6ca: Verifying Checksum [2022-05-31T17:58:05.314Z] f23df028b6ca: Download complete [2022-05-31T17:58:05.314Z] d65c8cfc05b1: Verifying Checksum [2022-05-31T17:58:05.314Z] d65c8cfc05b1: Download complete [2022-05-31T17:58:05.615Z] 699f458cf7ca: Verifying Checksum [2022-05-31T17:58:05.615Z] 699f458cf7ca: Download complete [2022-05-31T17:58:05.908Z] 8998bd30e6a1: Verifying Checksum [2022-05-31T17:58:05.908Z] 8998bd30e6a1: Download complete [2022-05-31T17:58:08.544Z] 2437ff75d9bd: Verifying Checksum [2022-05-31T17:58:08.544Z] 2437ff75d9bd: Download complete [2022-05-31T17:58:10.549Z] 8998bd30e6a1: Pull complete [2022-05-31T17:58:11.142Z] 04944245beec: Pull complete [2022-05-31T17:58:12.578Z] 699f458cf7ca: Pull complete [2022-05-31T17:58:12.578Z] 765212b225bb: Pull complete [2022-05-31T17:58:13.555Z] f23df028b6ca: Pull complete [2022-05-31T17:58:13.828Z] d65c8cfc05b1: Pull complete [2022-05-31T17:58:28.919Z] 2437ff75d9bd: Pull complete [2022-05-31T17:58:28.919Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-31T17:58:28.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-31T17:58:28.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:58:29.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-500 does not seem to be running inside a container [2022-05-31T17:58:29.256Z] $ 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/33 -v /w/workspace/device-snmp-go/33:/w/workspace/device-snmp-go/33:rw,z -v /w/workspace/device-snmp-go/33@tmp:/w/workspace/device-snmp-go/33@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-31T17:58:31.750Z] $ docker top 8aa1ca1f03f12b674c820452333309f47b468c1e2db3ab1942231e5fea7e0262 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:58:32.663Z] ---> job-cost.sh [2022-05-31T17:58:32.663Z] lf-activate-venv: SKIPPING [2022-05-31T17:58:32.663Z] INFO: No Stack... [2022-05-31T17:58:32.934Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-31T17:58:33.918Z] INFO: Archiving Costs [Pipeline] sh [2022-05-31T17:58:34.578Z] + cat /w/workspace/device-snmp-go/33/archives/cost.csv [2022-05-31T17:58:34.578Z] + cut -d, -f6 [Pipeline] lock [2022-05-31T17:58:34.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [2022-05-31T17:58:34.615Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] did not exist. Created. [2022-05-31T17:58:34.616Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-31T17:58:35.282Z] /w/workspace/device-snmp-go/33@tmp/durable-36a3acde/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-31T17:58:35.959Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-31T17:58:35.985Z] Warning: overwriting stash ‘stack-cost’ [2022-05-31T17:58:36.030Z] Stashed 1 file(s) [Pipeline] } [2022-05-31T17:58:36.037Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-31T17:58:36.070Z] $ docker stop --time=1 8aa1ca1f03f12b674c820452333309f47b468c1e2db3ab1942231e5fea7e0262 [2022-05-31T17:58:37.585Z] $ docker rm -f 8aa1ca1f03f12b674c820452333309f47b468c1e2db3ab1942231e5fea7e0262 [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-31T17:58:37.982Z] provisioning config files... [2022-05-31T17:58:37.991Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3969667597918343056tmp [Pipeline] { [Pipeline] sh [2022-05-31T17:58:38.289Z] + set +x [2022-05-31T17:58:38.289Z] + curl -s https://codecov.io/bash [2022-05-31T17:58:38.289Z] + bash -s -- [2022-05-31T17:58:38.289Z] [2022-05-31T17:58:38.289Z] _____ _ [2022-05-31T17:58:38.289Z] / ____| | | [2022-05-31T17:58:38.289Z] | | ___ __| | ___ ___ _____ __ [2022-05-31T17:58:38.289Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-31T17:58:38.289Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-31T17:58:38.289Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-31T17:58:38.289Z] Bash-1.0.6 [2022-05-31T17:58:38.289Z] [2022-05-31T17:58:38.289Z] [2022-05-31T17:58:38.289Z] ==> git version 2.25.1 found [2022-05-31T17:58:38.289Z] ==> 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-31T17:58:38.289Z] Release-Date: 2020-01-08 [2022-05-31T17:58:38.289Z] 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-31T17:58:38.289Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-31T17:58:38.289Z] ==> Jenkins CI detected. [2022-05-31T17:58:38.289Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2022-05-31T17:58:38.289Z] project root: . [2022-05-31T17:58:38.289Z] --> token set from env [2022-05-31T17:58:38.289Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-31T17:58:38.289Z] ==> Running gcov in . (disable via -X gcov) [2022-05-31T17:58:38.289Z] ==> Python coveragepy not found [2022-05-31T17:58:38.289Z] ==> Searching for coverage reports in: [2022-05-31T17:58:38.289Z] + . [2022-05-31T17:58:38.289Z] -> Found 1 reports [2022-05-31T17:58:38.289Z] ==> Detecting git/mercurial file structure [2022-05-31T17:58:38.289Z] ==> Reading reports [2022-05-31T17:58:38.289Z] + ./coverage.out bytes=7631 [2022-05-31T17:58:38.289Z] ==> Appending adjustments [2022-05-31T17:58:38.289Z] https://docs.codecov.io/docs/fixing-reports [2022-05-31T17:58:38.549Z] + Found adjustments [2022-05-31T17:58:38.549Z] ==> Gzipping contents [2022-05-31T17:58:38.549Z] 4.0K /tmp/codecov.PzqN91.gz [2022-05-31T17:58:38.549Z] ==> Uploading reports [2022-05-31T17:58:38.549Z] url: https://codecov.io [2022-05-31T17:58:38.549Z] query: branch=main&commit=c4b573a2bf76d46acd5797026015b66a4b354b83&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:58:38.549Z] -> Pinging Codecov [2022-05-31T17:58:38.549Z] 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=c4b573a2bf76d46acd5797026015b66a4b354b83&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-31T17:58:38.811Z] -> Uploading to [2022-05-31T17:58:38.811Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-31/6C56EA5C29638FB4528AC87E60AF5AE0/c4b573a2bf76d46acd5797026015b66a4b354b83/953ec7e2-d331-432d-8fda-dae6fd5d8a50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220531%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220531T175838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16163f30ca1fc1ed8952a4744473d5e6cf85316eec8d73776c2cf5b794d59256 [2022-05-31T17:58:38.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-31T17:58:38.811Z] Dload Upload Total Spent Left Speed [2022-05-31T17:58:39.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 5704 --:--:-- --:--:-- --:--:-- 5704 [2022-05-31T17:58:39.072Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] } [2022-05-31T17:58:39.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-31T17:58:39.244Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-31T17:58:39.252Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:39.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:58:39.556Z] [2022-05-31T17:58:39.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:39.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:58:39.862Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-31T17:58:39.862Z] df9b9388f04a: Pulling fs layer [2022-05-31T17:58:39.862Z] 52dc419b0ee2: Pulling fs layer [2022-05-31T17:58:39.862Z] 25bc292e5bac: Pulling fs layer [2022-05-31T17:58:39.862Z] 114826534d7a: Pulling fs layer [2022-05-31T17:58:39.862Z] 4657fd5d0bcf: Pulling fs layer [2022-05-31T17:58:39.862Z] 6ad1cebc031e: Pulling fs layer [2022-05-31T17:58:39.862Z] 8a3aa393b2d8: Pulling fs layer [2022-05-31T17:58:39.862Z] 8a3aa393b2d8: Waiting [2022-05-31T17:58:39.862Z] 114826534d7a: Waiting [2022-05-31T17:58:39.862Z] 25bc292e5bac: Verifying Checksum [2022-05-31T17:58:39.862Z] 25bc292e5bac: Download complete [2022-05-31T17:58:39.862Z] 52dc419b0ee2: Download complete [2022-05-31T17:58:39.862Z] 4657fd5d0bcf: Download complete [2022-05-31T17:58:39.862Z] df9b9388f04a: Download complete [2022-05-31T17:58:40.123Z] 6ad1cebc031e: Verifying Checksum [2022-05-31T17:58:40.123Z] 6ad1cebc031e: Download complete [2022-05-31T17:58:40.123Z] df9b9388f04a: Pull complete [2022-05-31T17:58:40.123Z] 52dc419b0ee2: Pull complete [2022-05-31T17:58:40.384Z] 25bc292e5bac: Pull complete [2022-05-31T17:58:40.643Z] 114826534d7a: Verifying Checksum [2022-05-31T17:58:40.643Z] 114826534d7a: Download complete [2022-05-31T17:58:40.643Z] 8a3aa393b2d8: Verifying Checksum [2022-05-31T17:58:40.643Z] 8a3aa393b2d8: Download complete [2022-05-31T17:58:44.837Z] 114826534d7a: Pull complete [2022-05-31T17:58:44.837Z] 4657fd5d0bcf: Pull complete [2022-05-31T17:58:44.837Z] 6ad1cebc031e: Pull complete [2022-05-31T17:58:47.382Z] 8a3aa393b2d8: Pull complete [2022-05-31T17:58:47.382Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-05-31T17:58:47.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-31T17:58:47.382Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:58:47.482Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:58:47.525Z] $ 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-31T17:58:49.190Z] $ docker top 3a1319fb5ce4bd9bd88da064a48b0a8d81ff1b2c9f937aa9cd9e80217e0df137 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-31T17:58:49.271Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-31T17:58:49.555Z] + set -o pipefail [2022-05-31T17:58:49.555Z] + snyk monitor '--org=edgex-jenkins' [2022-05-31T17:58:53.753Z] [2022-05-31T17:58:53.753Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2022-05-31T17:58:53.753Z] [2022-05-31T17:58:53.753Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/0d4b1aa5-78d9-47c5-aafd-b15ad32dfd43/history/03c22366-a8ea-4cc7-af5d-48ecf276df3f [2022-05-31T17:58:53.753Z] [2022-05-31T17:58:53.753Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-31T17:58:53.753Z] [2022-05-31T17:58:53.753Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-31T17:58:53.753Z] [2022-05-31T17:58:54.015Z] [Pipeline] } [2022-05-31T17:58:54.030Z] $ docker stop --time=1 3a1319fb5ce4bd9bd88da064a48b0a8d81ff1b2c9f937aa9cd9e80217e0df137 [2022-05-31T17:58:56.014Z] $ docker rm -f 3a1319fb5ce4bd9bd88da064a48b0a8d81ff1b2c9f937aa9cd9e80217e0df137 [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-31T17:58:56.751Z] + git log --format=format:%s -1 c4b573a2bf76d46acd5797026015b66a4b354b83 [Pipeline] sh [2022-05-31T17:58:57.044Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:58:57.044Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:58:57.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:58:57.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:58:57.453Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:58:57.491Z] $ 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-31T17:58:57.907Z] $ docker top 34dc9e71aa0b0cb03b222bd94b1a338031890fbd9fdff3592a4bad44583ae381 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:58:57.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:58:57.995Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:58:58.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:58:58.134Z] $ docker exec 34dc9e71aa0b0cb03b222bd94b1a338031890fbd9fdff3592a4bad44583ae381 ssh-agent [2022-05-31T17:58:58.252Z] SSH_AUTH_SOCK=/tmp/ssh-tehynyxUVV6E/agent.33 [2022-05-31T17:58:58.252Z] SSH_AGENT_PID=40 [2022-05-31T17:58:58.258Z] Running ssh-add (command line suppressed) [2022-05-31T17:58:58.380Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5806254631132602183.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5806254631132602183.key) [2022-05-31T17:58:58.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:58:58.675Z] + git semver tag [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,878 [run_tag] DEBUG tag force:False [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,878 [check_head_tag] DEBUG check head tag [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,879 [execute] INFO git cat-file --batch-check [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,882 [execute] INFO git cat-file --batch [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,889 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,889 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,890 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-31T17:58:58.934Z] 2022-05-31 17:58:58,894 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:58:58.934Z] 2.2.1-dev.2 [Pipeline] } [2022-05-31T17:58:58.948Z] $ docker exec --env ******** --env ******** 34dc9e71aa0b0cb03b222bd94b1a338031890fbd9fdff3592a4bad44583ae381 ssh-agent -k [2022-05-31T17:58:59.068Z] unset SSH_AUTH_SOCK; [2022-05-31T17:58:59.068Z] unset SSH_AGENT_PID; [2022-05-31T17:58:59.068Z] echo Agent pid 40 killed; [2022-05-31T17:58:59.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:58:59.376Z] + git semver [Pipeline] } [2022-05-31T17:58:59.656Z] $ docker stop --time=1 34dc9e71aa0b0cb03b222bd94b1a338031890fbd9fdff3592a4bad44583ae381 [2022-05-31T17:59:00.937Z] $ docker rm -f 34dc9e71aa0b0cb03b222bd94b1a338031890fbd9fdff3592a4bad44583ae381 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:59:01.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:59:01.374Z] [2022-05-31T17:59:01.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:59:01.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:59:01.676Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-31T17:59:01.676Z] ab5ef0e58194: Pulling fs layer [2022-05-31T17:59:01.676Z] 9712f1f96733: Pulling fs layer [2022-05-31T17:59:01.676Z] 63f879dbbcfc: Pulling fs layer [2022-05-31T17:59:01.676Z] 0d9ebad4ef96: Pulling fs layer [2022-05-31T17:59:01.676Z] e9a5061849ea: Pulling fs layer [2022-05-31T17:59:01.676Z] d747dcd14b5f: Pulling fs layer [2022-05-31T17:59:01.676Z] 2de7ff778b66: Pulling fs layer [2022-05-31T17:59:01.676Z] e9a5061849ea: Waiting [2022-05-31T17:59:01.676Z] d747dcd14b5f: Waiting [2022-05-31T17:59:01.676Z] 2de7ff778b66: Waiting [2022-05-31T17:59:01.676Z] 0d9ebad4ef96: Waiting [2022-05-31T17:59:01.676Z] 9712f1f96733: Download complete [2022-05-31T17:59:02.262Z] 63f879dbbcfc: Verifying Checksum [2022-05-31T17:59:02.262Z] 63f879dbbcfc: Download complete [2022-05-31T17:59:02.262Z] e9a5061849ea: Verifying Checksum [2022-05-31T17:59:02.262Z] e9a5061849ea: Download complete [2022-05-31T17:59:02.262Z] d747dcd14b5f: Verifying Checksum [2022-05-31T17:59:02.262Z] d747dcd14b5f: Download complete [2022-05-31T17:59:02.262Z] 0d9ebad4ef96: Verifying Checksum [2022-05-31T17:59:02.262Z] 0d9ebad4ef96: Download complete [2022-05-31T17:59:02.262Z] 2de7ff778b66: Verifying Checksum [2022-05-31T17:59:02.262Z] 2de7ff778b66: Download complete [2022-05-31T17:59:02.262Z] ab5ef0e58194: Verifying Checksum [2022-05-31T17:59:02.262Z] ab5ef0e58194: Download complete [2022-05-31T17:59:05.555Z] ab5ef0e58194: Pull complete [2022-05-31T17:59:05.555Z] 9712f1f96733: Pull complete [2022-05-31T17:59:05.814Z] 63f879dbbcfc: Pull complete [2022-05-31T17:59:10.008Z] 0d9ebad4ef96: Pull complete [2022-05-31T17:59:10.008Z] e9a5061849ea: Pull complete [2022-05-31T17:59:10.008Z] d747dcd14b5f: Pull complete [2022-05-31T17:59:10.946Z] 2de7ff778b66: Pull complete [2022-05-31T17:59:10.946Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-31T17:59:10.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-31T17:59:10.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:59:11.032Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:59:11.070Z] $ 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-31T17:59:12.812Z] $ docker top 30f2225f5253f0dab5733a3845cf322c7af0777c1be43c62eff11a16330f3657 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:59:12.894Z] provisioning config files... [2022-05-31T17:59:12.901Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5330076291931741911tmp [2022-05-31T17:59:12.912Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8701829099215111581tmp [2022-05-31T17:59:12.921Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1179568489782538793tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:59:12.936Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:13.219Z] ---> sigul-configuration.sh [2022-05-31T17:59:13.219Z] gpg: directory `/root/.gnupg' created [2022-05-31T17:59:13.219Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-31T17:59:13.219Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-31T17:59:13.219Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-31T17:59:13.219Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-31T17:59:13.219Z] gpg: CAST5 encrypted data [2022-05-31T17:59:13.219Z] gpg: encrypted with 1 passphrase [2022-05-31T17:59:13.219Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-31T17:59:13.502Z] + mkdir /home/jenkins [2022-05-31T17:59:13.502Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-31T17:59:13.790Z] + 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-31T17:59:13.799Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:14.087Z] ---> sigul-install.sh [2022-05-31T17:59:14.087Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-31T17:59:14.379Z] + git tag --list [2022-05-31T17:59:14.379Z] 1.0.0 [2022-05-31T17:59:14.379Z] v0.0.0 [2022-05-31T17:59:14.379Z] v1.1.0 [2022-05-31T17:59:14.379Z] v1.1.1 [2022-05-31T17:59:14.379Z] v1.2.2 [2022-05-31T17:59:14.379Z] v1.3.0 [2022-05-31T17:59:14.379Z] v1.3.1 [2022-05-31T17:59:14.379Z] v2.0.0 [2022-05-31T17:59:14.379Z] v2.1.0 [2022-05-31T17:59:14.379Z] v2.2.0 [2022-05-31T17:59:14.379Z] v2.2.1-dev.1 [2022-05-31T17:59:14.379Z] v2.2.1-dev.2 [Pipeline] sh [2022-05-31T17:59:14.669Z] + lftools sign git-tag v2.2.1-dev.2 [2022-05-31T17:59:15.240Z] Signing Git tag with Sigul... [2022-05-31T17:59:15.240Z] Signing v2.2.1-dev.2 [Pipeline] echo [2022-05-31T17:59:15.510Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:15.797Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-31T17:59:15.805Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-31T17:59:15.831Z] $ docker stop --time=1 30f2225f5253f0dab5733a3845cf322c7af0777c1be43c62eff11a16330f3657 [2022-05-31T17:59:17.126Z] $ docker rm -f 30f2225f5253f0dab5733a3845cf322c7af0777c1be43c62eff11a16330f3657 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-31T17:59:17.519Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:59:17.519Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:59:17.816Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:59:17.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:59:17.897Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:59:17.940Z] $ 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-31T17:59:18.316Z] $ docker top 9500a57cf0c0cf710ffe060553aeb7405b1e770e514a58cc1fc9812189f9bcc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:59:18.403Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:59:18.404Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:59:18.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:59:18.541Z] $ docker exec 9500a57cf0c0cf710ffe060553aeb7405b1e770e514a58cc1fc9812189f9bcc1 ssh-agent [2022-05-31T17:59:18.656Z] SSH_AUTH_SOCK=/tmp/ssh-gGfnxDfNWa0t/agent.33 [2022-05-31T17:59:18.656Z] SSH_AGENT_PID=40 [2022-05-31T17:59:18.662Z] Running ssh-add (command line suppressed) [2022-05-31T17:59:18.792Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8158577535358680651.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8158577535358680651.key) [2022-05-31T17:59:18.802Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:59:19.088Z] + git semver bump pre [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,269 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,269 [bump_version] DEBUG bumped version:2.2.1-dev.3 [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,269 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,269 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,269 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,273 [execute] INFO git cat-file --batch-check [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,274 [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-31T17:59:19.348Z] 2022-05-31 17:59:19,279 [execute] INFO git cat-file --batch [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-31T17:59:19.348Z] 2022-05-31 17:59:19,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:59:19.348Z] 2.2.1-dev.3 [Pipeline] } [2022-05-31T17:59:19.363Z] $ docker exec --env ******** --env ******** 9500a57cf0c0cf710ffe060553aeb7405b1e770e514a58cc1fc9812189f9bcc1 ssh-agent -k [2022-05-31T17:59:19.469Z] unset SSH_AUTH_SOCK; [2022-05-31T17:59:19.469Z] unset SSH_AGENT_PID; [2022-05-31T17:59:19.469Z] echo Agent pid 40 killed; [2022-05-31T17:59:19.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:59:19.782Z] + git semver [Pipeline] } [2022-05-31T17:59:20.063Z] $ docker stop --time=1 9500a57cf0c0cf710ffe060553aeb7405b1e770e514a58cc1fc9812189f9bcc1 [2022-05-31T17:59:21.352Z] $ docker rm -f 9500a57cf0c0cf710ffe060553aeb7405b1e770e514a58cc1fc9812189f9bcc1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-31T17:59:21.706Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-31T17:59:21.706Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:59:22.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-31T17:59:22.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:59:22.134Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:59:22.173Z] $ 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-31T17:59:22.541Z] $ docker top ebca6d9f21a440ed063a200ec10418c483093d0b22ab66eeb9f1dd9cbf9a812e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-31T17:59:22.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-31T17:59:22.634Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-31T17:59:22.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-31T17:59:22.785Z] $ docker exec ebca6d9f21a440ed063a200ec10418c483093d0b22ab66eeb9f1dd9cbf9a812e ssh-agent [2022-05-31T17:59:22.920Z] SSH_AUTH_SOCK=/tmp/ssh-CHOMGwgEI94E/agent.32 [2022-05-31T17:59:22.920Z] SSH_AGENT_PID=38 [2022-05-31T17:59:22.925Z] Running ssh-add (command line suppressed) [2022-05-31T17:59:23.062Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9072584642589195707.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9072584642589195707.key) [2022-05-31T17:59:23.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-31T17:59:23.435Z] + git semver push [2022-05-31T17:59:23.696Z] 2022-05-31 17:59:23,623 [run_push] DEBUG push [2022-05-31T17:59:23.696Z] 2022-05-31 17:59:23,625 [execute] INFO git push origin semver [2022-05-31T17:59:23.696Z] 2022-05-31 17:59:23,625 [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-31T17:59:24.635Z] 2022-05-31 17:59:24,426 [run_push] DEBUG push all version tags [2022-05-31T17:59:24.635Z] 2022-05-31 17:59:24,426 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-31T17:59:24.635Z] 2022-05-31 17:59:24,427 [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-31T17:59:25.578Z] 2022-05-31 17:59:25,261 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2022-05-31T17:59:25.578Z] 2.2.1-dev.3 [Pipeline] } [2022-05-31T17:59:25.593Z] $ docker exec --env ******** --env ******** ebca6d9f21a440ed063a200ec10418c483093d0b22ab66eeb9f1dd9cbf9a812e ssh-agent -k [2022-05-31T17:59:25.696Z] unset SSH_AUTH_SOCK; [2022-05-31T17:59:25.696Z] unset SSH_AGENT_PID; [2022-05-31T17:59:25.696Z] echo Agent pid 38 killed; [2022-05-31T17:59:25.706Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-31T17:59:26.019Z] + git semver [Pipeline] } [2022-05-31T17:59:26.297Z] $ docker stop --time=1 ebca6d9f21a440ed063a200ec10418c483093d0b22ab66eeb9f1dd9cbf9a812e [2022-05-31T17:59:27.633Z] $ docker rm -f ebca6d9f21a440ed063a200ec10418c483093d0b22ab66eeb9f1dd9cbf9a812e [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-31T17:59:28.210Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2022-05-31T17:59:28.210Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-31T17:59:28.210Z] total 16 [2022-05-31T17:59:28.210Z] drwxr-xr-x 3 root root 4096 May 31 17:51 . [2022-05-31T17:59:28.210Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:59 .. [2022-05-31T17:59:28.210Z] drwxr-xr-x 2 root root 4096 May 31 17:51 cost [2022-05-31T17:59:28.210Z] -rw-r--r-- 1 root root 84 May 31 17:51 cost.csv [2022-05-31T17:59:28.210Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-31T17:59:28.210Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2022-05-31T17:59:28.210Z] total 16 [2022-05-31T17:59:28.210Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 17:51 . [2022-05-31T17:59:28.210Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 17:59 .. [2022-05-31T17:59:28.210Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 17:51 cost [2022-05-31T17:59:28.210Z] -rw-r--r-- 1 jenkins jenkins 84 May 31 17:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:28.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:29.369Z] ---> package-listing.sh [2022-05-31T17:59:29.369Z] ++ facter osfamily [2022-05-31T17:59:29.369Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-31T17:59:29.630Z] + OS_FAMILY=debian [2022-05-31T17:59:29.630Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2022-05-31T17:59:29.630Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-31T17:59:29.630Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-31T17:59:29.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-31T17:59:29.630Z] + PACKAGES=/tmp/packages_start.txt [2022-05-31T17:59:29.630Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-31T17:59:29.630Z] + PACKAGES=/tmp/packages_end.txt [2022-05-31T17:59:29.630Z] + case "${OS_FAMILY}" in [2022-05-31T17:59:29.630Z] + dpkg -l [2022-05-31T17:59:29.630Z] + grep '^ii' [2022-05-31T17:59:29.630Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-31T17:59:29.630Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-31T17:59:29.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-31T17:59:29.630Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2022-05-31T17:59:29.630Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2022-05-31T17:59:29.630Z] + 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-31T17:59:29.641Z] 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-31T17:59:29.923Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-31T17:59:30.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-31T17:59:30.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-31T17:59:30.572Z] prd-ubuntu20.04-docker-8c-8g-499 does not seem to be running inside a container [2022-05-31T17:59:30.613Z] $ 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-31T17:59:30.829Z] $ docker top 217cf760935ff2210f8825b8003628570affae47863258f197c54fbd75b4367a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-31T17:59:31.179Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-31T17:59:31.468Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-31T17:59:31.768Z] + ls /var/log/sa-host [2022-05-31T17:59:31.768Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-31T17:59:31.893Z] provisioning config files... [2022-05-31T17:59:31.903Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7782923071683765587tmp [Pipeline] { [Pipeline] echo [2022-05-31T17:59:31.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:32.204Z] ---> create-netrc.sh [Pipeline] } [2022-05-31T17:59:32.211Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:32.547Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-31T17:59:32.556Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:32.840Z] ---> sudo-logs.sh [2022-05-31T17:59:32.841Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-31T17:59:32.871Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:33.161Z] ---> job-cost.sh [2022-05-31T17:59:33.161Z] lf-activate-venv: SKIPPING [2022-05-31T17:59:33.161Z] DEBUG: total: 0.2199999988079071 [2022-05-31T17:59:33.161Z] INFO: Retrieving Stack Cost... [2022-05-31T17:59:33.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-31T17:59:33.996Z] INFO: Archiving Costs [Pipeline] echo [2022-05-31T17:59:34.009Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-31T17:59:34.296Z] ---> logs-deploy.sh [2022-05-31T17:59:34.296Z] lf-activate-venv: SKIPPING [2022-05-31T17:59:34.296Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/33 [2022-05-31T17:59:34.296Z] INFO: archiving workspace using pattern(s): [2022-05-31T17:59:35.236Z] Archives upload complete. [2022-05-31T17:59:35.236Z] INFO: archiving logs to Nexus