Pull request #192 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75ddd7262cb1573847bca0b8c880f5d5789b72d7+1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 (79bb37974d26af7e864f3ba05134c4112695d433) 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-ssh5874569797601311036.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh17422143416360915204.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/PR-192/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/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8659266587630938788.key Verifying host key using known hosts file > 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/PR-192/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16334531679812504839.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17917123854388608341.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/PR-192/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/PR-192/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8335608925672461048.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-1124 in /w/workspace/gexfoundry_device-snmp-go_PR-192 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-192 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 into PR head commit 75ddd7262cb1573847bca0b8c880f5d5789b72d7 Merge succeeded, producing 75ddd7262cb1573847bca0b8c880f5d5789b72d7 Checking out Revision 75ddd7262cb1573847bca0b8c880f5d5789b72d7 (PR-192) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-26T05:03:34.290Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-26T05:03:34.495Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-26T05:03:34.589Z] ========================================================= [2022-09-26T05:03:34.589Z] EdgeX Global Pipelines Version Info [2022-09-26T05:03:34.589Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f 75ddd7262cb1573847bca0b8c880f5d5789b72d7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75ddd7262cb1573847bca0b8c880f5d5789b72d7 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:03:35.710Z] ------------------- [2022-09-26T05:03:35.710Z] stable info: [2022-09-26T05:03:35.710Z] ------------------- [2022-09-26T05:03:35.710Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-26T05:03:35.710Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T05:03:35.710Z] Message: update stable to v1.0.239 [2022-09-26T05:03:35.970Z] ------------------- [2022-09-26T05:03:35.970Z] experimental info: [2022-09-26T05:03:35.970Z] ------------------- [2022-09-26T05:03:35.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-26T05:03:35.970Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T05:03:35.970Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-26T05:03:36.238Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-26T05:03:36.278Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-26T05:03:36.315Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-26T05:03:36.352Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-26T05:03:36.391Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-26T05:03:36.429Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-26T05:03:36.472Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-26T05:03:36.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-26T05:03:36.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-26T05:03:36.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-26T05:03:36.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-26T05:03:36.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-26T05:03:36.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-26T05:03:36.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-26T05:03:36.781Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T05:03:36.818Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-26T05:03:36.863Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T05:03:36.903Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-26T05:03:36.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-26T05:03:36.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-26T05:03:37.024Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-26T05:03:37.064Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-26T05:03:37.104Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-26T05:03:37.144Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-26T05:03:37.185Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-26T05:03:37.226Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-26T05:03:37.270Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-26T05:03:37.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-192 [Pipeline] echo [2022-09-26T05:03:37.359Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-192 [Pipeline] echo [2022-09-26T05:03:37.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-192 [Pipeline] echo [2022-09-26T05:03:37.440Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] echo [2022-09-26T05:03:37.476Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75ddd72 [Pipeline] echo [2022-09-26T05:03:37.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:03:37.635Z] provisioning config files... [2022-09-26T05:03:37.672Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/config11533024044727106192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:03:38.012Z] ---> docker-login.sh [2022-09-26T05:03:38.012Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:03:38.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:38.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:38.531Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:38.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:38.531Z] [2022-09-26T05:03:38.531Z] Login Succeeded [2022-09-26T05:03:38.531Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:03:38.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:38.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:38.531Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:38.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:38.531Z] [2022-09-26T05:03:38.531Z] Login Succeeded [2022-09-26T05:03:38.531Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:03:38.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:38.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:38.791Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:38.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:38.791Z] [2022-09-26T05:03:38.791Z] Login Succeeded [2022-09-26T05:03:38.791Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:03:38.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:38.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:38.791Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:38.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:38.791Z] [2022-09-26T05:03:38.791Z] Login Succeeded [2022-09-26T05:03:38.791Z] docker.io [2022-09-26T05:03:38.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:39.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:39.359Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:39.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:39.359Z] [2022-09-26T05:03:39.359Z] Login Succeeded [2022-09-26T05:03:39.359Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:03:39.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-26T05:03:40.025Z] + git rev-list -1 --merges 75ddd7262cb1573847bca0b8c880f5d5789b72d7~1..75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] echo [2022-09-26T05:03:40.072Z] -----------> git rev-list -1 --merges 75ddd7262cb1573847bca0b8c880f5d5789b72d7~1..75ddd7262cb1573847bca0b8c880f5d5789b72d7 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [false] [Pipeline] sh [2022-09-26T05:03:40.379Z] + git log --format=format:%s -1 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] echo [2022-09-26T05:03:40.416Z] ========================================================= [2022-09-26T05:03:40.416Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-26T05:03:40.416Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:03:40.843Z] + git log --format=format:%s -1 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] echo [2022-09-26T05:03:40.876Z] [semverPrep] GIT_COMMIT: 75ddd7262cb1573847bca0b8c880f5d5789b72d7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-26T05:03:40.906Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-26T05:03:41.296Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-26T05:03:41.296Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-26T05:03:41.296Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-26T05:03:41.296Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-26T05:03:41.296Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-26T05:03:41.296Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-26T05:03:41.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:03:41.775Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:03:41.776Z] [2022-09-26T05:03:41.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:03:42.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:03:42.145Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-26T05:03:42.145Z] b85a868b505f: Pulling fs layer [2022-09-26T05:03:42.145Z] e2be974225ed: Pulling fs layer [2022-09-26T05:03:42.145Z] 339a4e72a1f5: Pulling fs layer [2022-09-26T05:03:42.145Z] 988bab9f4d93: Pulling fs layer [2022-09-26T05:03:42.145Z] 1469e6f7b9e6: Pulling fs layer [2022-09-26T05:03:42.145Z] eaf3925da568: Pulling fs layer [2022-09-26T05:03:42.145Z] bab4dde63d76: Pulling fs layer [2022-09-26T05:03:42.145Z] bde34c3a00c8: Pulling fs layer [2022-09-26T05:03:42.145Z] b352a97aabf1: Pulling fs layer [2022-09-26T05:03:42.145Z] 4872d77fe225: Pulling fs layer [2022-09-26T05:03:42.145Z] 5851b861e8e6: Pulling fs layer [2022-09-26T05:03:42.145Z] bde34c3a00c8: Waiting [2022-09-26T05:03:42.145Z] 988bab9f4d93: Waiting [2022-09-26T05:03:42.145Z] 1469e6f7b9e6: Waiting [2022-09-26T05:03:42.145Z] eaf3925da568: Waiting [2022-09-26T05:03:42.145Z] b352a97aabf1: Waiting [2022-09-26T05:03:42.145Z] bab4dde63d76: Waiting [2022-09-26T05:03:42.145Z] 4872d77fe225: Waiting [2022-09-26T05:03:42.145Z] 5851b861e8e6: Waiting [2022-09-26T05:03:42.145Z] e2be974225ed: Verifying Checksum [2022-09-26T05:03:42.145Z] e2be974225ed: Download complete [2022-09-26T05:03:42.145Z] 988bab9f4d93: Download complete [2022-09-26T05:03:42.405Z] 339a4e72a1f5: Verifying Checksum [2022-09-26T05:03:42.405Z] 339a4e72a1f5: Download complete [2022-09-26T05:03:42.405Z] 1469e6f7b9e6: Verifying Checksum [2022-09-26T05:03:42.405Z] 1469e6f7b9e6: Download complete [2022-09-26T05:03:42.405Z] eaf3925da568: Verifying Checksum [2022-09-26T05:03:42.405Z] eaf3925da568: Download complete [2022-09-26T05:03:42.405Z] bde34c3a00c8: Verifying Checksum [2022-09-26T05:03:42.405Z] bde34c3a00c8: Download complete [2022-09-26T05:03:42.405Z] b352a97aabf1: Verifying Checksum [2022-09-26T05:03:42.405Z] b352a97aabf1: Download complete [2022-09-26T05:03:42.405Z] 4872d77fe225: Verifying Checksum [2022-09-26T05:03:42.405Z] 4872d77fe225: Download complete [2022-09-26T05:03:42.405Z] b85a868b505f: Verifying Checksum [2022-09-26T05:03:42.405Z] b85a868b505f: Download complete [2022-09-26T05:03:42.405Z] 5851b861e8e6: Verifying Checksum [2022-09-26T05:03:42.405Z] 5851b861e8e6: Download complete [2022-09-26T05:03:42.665Z] bab4dde63d76: Verifying Checksum [2022-09-26T05:03:42.665Z] bab4dde63d76: Download complete [2022-09-26T05:03:43.601Z] b85a868b505f: Pull complete [2022-09-26T05:03:43.859Z] e2be974225ed: Pull complete [2022-09-26T05:03:44.118Z] 339a4e72a1f5: Pull complete [2022-09-26T05:03:44.376Z] 988bab9f4d93: Pull complete [2022-09-26T05:03:44.636Z] 1469e6f7b9e6: Pull complete [2022-09-26T05:03:44.636Z] eaf3925da568: Pull complete [2022-09-26T05:03:46.541Z] bab4dde63d76: Pull complete [2022-09-26T05:03:46.541Z] bde34c3a00c8: Pull complete [2022-09-26T05:03:46.541Z] b352a97aabf1: Pull complete [2022-09-26T05:03:46.541Z] 4872d77fe225: Pull complete [2022-09-26T05:03:46.802Z] 5851b861e8e6: Pull complete [2022-09-26T05:03:46.802Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-26T05:03:46.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-26T05:03:46.802Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:03:47.030Z] prd-ubuntu20.04-docker-8c-8g-1124 does not seem to be running inside a container [2022-09-26T05:03:47.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-192 -v /w/workspace/gexfoundry_device-snmp-go_PR-192:/w/workspace/gexfoundry_device-snmp-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-26T05:03:50.000Z] $ docker top 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb -eo pid,comm [2022-09-26T05:03:50.052Z] 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-09-26T05:03:50.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-26T05:03:50.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T05:03:50.186Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T05:03:50.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T05:03:50.327Z] $ docker exec 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb ssh-agent [2022-09-26T05:03:50.439Z] SSH_AUTH_SOCK=/tmp/ssh-f1z7UGi1zkWM/agent.32 [2022-09-26T05:03:50.439Z] SSH_AGENT_PID=38 [2022-09-26T05:03:50.449Z] Running ssh-add (command line suppressed) [2022-09-26T05:03:50.544Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/private_key_16422189806070529810.key (/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/private_key_16422189806070529810.key) [2022-09-26T05:03:50.556Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T05:03:50.891Z] + git tag --points-at HEAD [Pipeline] } [2022-09-26T05:03:50.921Z] $ docker exec --env ******** --env ******** 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb ssh-agent -k [2022-09-26T05:03:51.022Z] unset SSH_AUTH_SOCK; [2022-09-26T05:03:51.022Z] unset SSH_AGENT_PID; [2022-09-26T05:03:51.022Z] echo Agent pid 38 killed; [2022-09-26T05:03:51.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-26T05:03:51.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-26T05:03:51.127Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-26T05:03:51.245Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-26T05:03:51.251Z] $ docker exec 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb ssh-agent [2022-09-26T05:03:51.358Z] SSH_AUTH_SOCK=/tmp/ssh-3VmBLRtVnEub/agent.70 [2022-09-26T05:03:51.358Z] SSH_AGENT_PID=76 [2022-09-26T05:03:51.364Z] Running ssh-add (command line suppressed) [2022-09-26T05:03:51.462Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/private_key_6945569638623623410.key (/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/private_key_6945569638623623410.key) [2022-09-26T05:03:51.472Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-26T05:03:51.816Z] + git semver init [2022-09-26T05:03:52.075Z] 2022-09-26 05:03:51,979 [run_init] DEBUG init version:0.0.0 force:False [2022-09-26T05:03:52.075Z] 2022-09-26 05:03:51,980 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver [2022-09-26T05:03:52.075Z] 2022-09-26 05:03:51,980 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-192/.semver [2022-09-26T05:03:52.075Z] 2022-09-26 05:03:51,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-192, universal_newlines=False, shell=None, istream=None) [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,884 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-192/.git/info/exclude [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver/PR-192 with force:False [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,885 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver/PR-192 [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,889 [execute] INFO git cat-file --batch-check [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,896 [execute] INFO git cat-file --batch [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-192/.semver, universal_newlines=False, shell=None, istream=) [2022-09-26T05:03:53.016Z] 2022-09-26 05:03:52,901 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-192/.semver/PR-192 [2022-09-26T05:03:53.016Z] 0.0.0 [Pipeline] } [2022-09-26T05:03:53.049Z] $ docker exec --env ******** --env ******** 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb ssh-agent -k [2022-09-26T05:03:53.150Z] unset SSH_AUTH_SOCK; [2022-09-26T05:03:53.151Z] unset SSH_AGENT_PID; [2022-09-26T05:03:53.151Z] echo Agent pid 76 killed; [2022-09-26T05:03:53.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-26T05:03:53.595Z] + git semver [Pipeline] } [2022-09-26T05:03:53.880Z] $ docker stop --time=1 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb [2022-09-26T05:03:55.164Z] $ docker rm -f 22fe55fe8b966b38aeaf918536462b60aeb58900de94b2f921508069cd0830fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:03:55.590Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-26T05:03:55.847Z] Stashed 1 file(s) [Pipeline] echo [2022-09-26T05:03:55.864Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-09-26T05:03:56.450Z] provisioning config files... [2022-09-26T05:03:56.462Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/config4922082493118314184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:03:56.808Z] ---> docker-login.sh [2022-09-26T05:03:56.808Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:03:56.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:56.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:56.808Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:56.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:56.808Z] [2022-09-26T05:03:56.808Z] Login Succeeded [2022-09-26T05:03:56.808Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:03:56.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:56.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:56.808Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:56.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:56.808Z] [2022-09-26T05:03:56.808Z] Login Succeeded [2022-09-26T05:03:56.808Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:03:57.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:57.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:57.067Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:57.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:57.067Z] [2022-09-26T05:03:57.067Z] Login Succeeded [2022-09-26T05:03:57.067Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:03:57.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:57.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:57.067Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:57.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:57.067Z] [2022-09-26T05:03:57.067Z] Login Succeeded [2022-09-26T05:03:57.067Z] docker.io [2022-09-26T05:03:57.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:03:57.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:03:57.585Z] Configure a credential helper to remove this warning. See [2022-09-26T05:03:57.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:03:57.585Z] [2022-09-26T05:03:57.585Z] Login Succeeded [2022-09-26T05:03:57.585Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:03:57.616Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T05:03:57.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:03:57.853Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:03:57.882Z] ========================================================= [2022-09-26T05:03:57.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-26T05:03:57.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:03:58.337Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-26T05:03:58.337Z] Sending build context to Docker daemon 5.48MB [2022-09-26T05:03:58.337Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:03:58.337Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-26T05:03:58.337Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-26T05:03:58.337Z] 2408cc74d12b: Pulling fs layer [2022-09-26T05:03:58.337Z] ea60b727a1ce: Pulling fs layer [2022-09-26T05:03:58.337Z] 30c4a7721957: Pulling fs layer [2022-09-26T05:03:58.337Z] 370296b7ddb6: Pulling fs layer [2022-09-26T05:03:58.337Z] 7c6cee850709: Pulling fs layer [2022-09-26T05:03:58.337Z] 39a5fcdaea64: Pulling fs layer [2022-09-26T05:03:58.337Z] d94ebbe4e438: Pulling fs layer [2022-09-26T05:03:58.337Z] bcfd1f05c69d: Pulling fs layer [2022-09-26T05:03:58.337Z] 59ccb84bbe0f: Pulling fs layer [2022-09-26T05:03:58.337Z] 39a5fcdaea64: Waiting [2022-09-26T05:03:58.337Z] d94ebbe4e438: Waiting [2022-09-26T05:03:58.337Z] 370296b7ddb6: Waiting [2022-09-26T05:03:58.337Z] bcfd1f05c69d: Waiting [2022-09-26T05:03:58.337Z] 7c6cee850709: Waiting [2022-09-26T05:03:58.337Z] 59ccb84bbe0f: Waiting [2022-09-26T05:03:58.337Z] 30c4a7721957: Verifying Checksum [2022-09-26T05:03:58.337Z] 30c4a7721957: Download complete [2022-09-26T05:03:58.337Z] ea60b727a1ce: Verifying Checksum [2022-09-26T05:03:58.337Z] ea60b727a1ce: Download complete [2022-09-26T05:03:58.337Z] 7c6cee850709: Verifying Checksum [2022-09-26T05:03:58.337Z] 7c6cee850709: Download complete [2022-09-26T05:03:58.604Z] 39a5fcdaea64: Download complete [2022-09-26T05:03:58.604Z] 2408cc74d12b: Verifying Checksum [2022-09-26T05:03:58.604Z] 2408cc74d12b: Download complete [2022-09-26T05:03:58.604Z] d94ebbe4e438: Download complete [2022-09-26T05:03:58.604Z] 2408cc74d12b: Pull complete [2022-09-26T05:03:58.878Z] ea60b727a1ce: Pull complete [2022-09-26T05:03:58.878Z] 30c4a7721957: Pull complete [2022-09-26T05:03:59.146Z] 59ccb84bbe0f: Verifying Checksum [2022-09-26T05:03:59.146Z] 59ccb84bbe0f: Download complete [2022-09-26T05:03:59.407Z] 370296b7ddb6: Verifying Checksum [2022-09-26T05:03:59.407Z] 370296b7ddb6: Download complete [2022-09-26T05:03:59.665Z] bcfd1f05c69d: Verifying Checksum [2022-09-26T05:03:59.666Z] bcfd1f05c69d: Download complete [2022-09-26T05:04:03.860Z] 370296b7ddb6: Pull complete [2022-09-26T05:04:03.860Z] 7c6cee850709: Pull complete [2022-09-26T05:04:03.860Z] 39a5fcdaea64: Pull complete [2022-09-26T05:04:03.860Z] d94ebbe4e438: Pull complete [2022-09-26T05:04:05.240Z] bcfd1f05c69d: Pull complete [2022-09-26T05:04:06.171Z] 59ccb84bbe0f: Pull complete [2022-09-26T05:04:06.171Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-26T05:04:06.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-26T05:04:06.171Z] ---> a4fb48ad2a94 [2022-09-26T05:04:06.171Z] Step 3/12 : ARG MAKE='make build' [2022-09-26T05:04:11.268Z] Still waiting to schedule task [2022-09-26T05:04:11.268Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-26T05:04:11.463Z] ---> Running in 62ec0b473b2f [2022-09-26T05:04:11.463Z] Removing intermediate container 62ec0b473b2f [2022-09-26T05:04:11.463Z] ---> 421e439cc4aa [2022-09-26T05:04:11.463Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T05:04:11.463Z] ---> Running in 79a0c87b92f5 [2022-09-26T05:04:11.463Z] Removing intermediate container 79a0c87b92f5 [2022-09-26T05:04:11.463Z] ---> 60d134982351 [2022-09-26T05:04:11.463Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T05:04:11.463Z] ---> Running in de3a78570860 [2022-09-26T05:04:11.463Z] Removing intermediate container de3a78570860 [2022-09-26T05:04:11.463Z] ---> d1f208afb342 [2022-09-26T05:04:11.463Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:04:11.463Z] ---> Running in 5e9c87e133d7 [2022-09-26T05:04:12.031Z] Removing intermediate container 5e9c87e133d7 [2022-09-26T05:04:12.031Z] ---> cb86cca26b7a [2022-09-26T05:04:12.031Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T05:04:12.031Z] ---> Running in 46354749ed74 [2022-09-26T05:04:12.291Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:04:13.227Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:04:13.486Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T05:04:13.745Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T05:04:13.745Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T05:04:13.745Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T05:04:14.004Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T05:04:14.004Z] OK: 216 MiB in 55 packages [2022-09-26T05:04:14.572Z] Removing intermediate container 46354749ed74 [2022-09-26T05:04:14.572Z] ---> 8679f28dd5fb [2022-09-26T05:04:14.572Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-26T05:04:14.572Z] ---> Running in d2c30897770b [2022-09-26T05:04:14.572Z] Removing intermediate container d2c30897770b [2022-09-26T05:04:14.572Z] ---> 0d5f3ea3db79 [2022-09-26T05:04:14.572Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-26T05:04:14.832Z] ---> 09e1b9ca3584 [2022-09-26T05:04:14.832Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:04:14.832Z] ---> Running in 1bc880f483a9 [2022-09-26T05:04:41.390Z] Removing intermediate container 1bc880f483a9 [2022-09-26T05:04:41.390Z] ---> 21952dcbfb1a [2022-09-26T05:04:41.390Z] Step 11/12 : COPY . . [2022-09-26T05:04:41.390Z] ---> c3ec8dbae4b8 [2022-09-26T05:04:41.390Z] Step 12/12 : RUN ${MAKE} [2022-09-26T05:04:41.390Z] ---> Running in 9ffb0579763b [2022-09-26T05:04:41.390Z] noop [2022-09-26T05:04:41.650Z] Removing intermediate container 9ffb0579763b [2022-09-26T05:04:41.650Z] ---> c2bf39eba2bc [2022-09-26T05:04:41.650Z] Successfully built c2bf39eba2bc [2022-09-26T05:04:41.650Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:04:42.090Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T05:04:42.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:04:42.220Z] prd-ubuntu20.04-docker-8c-8g-1124 does not seem to be running inside a container [2022-09-26T05:04:42.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-192 -v /w/workspace/gexfoundry_device-snmp-go_PR-192:/w/workspace/gexfoundry_device-snmp-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-192@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T05:04:42.580Z] $ docker top ff505aad6aaf20bb208eb57fc297986945f9e820dd3ff0dab3913f4341a02239 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:04:42.947Z] + go version [2022-09-26T05:04:42.947Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-26T05:04:42.976Z] $ docker stop --time=1 ff505aad6aaf20bb208eb57fc297986945f9e820dd3ff0dab3913f4341a02239 [2022-09-26T05:04:44.286Z] $ docker rm -f ff505aad6aaf20bb208eb57fc297986945f9e820dd3ff0dab3913f4341a02239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:04:44.976Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-26T05:04:44.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:04:45.130Z] prd-ubuntu20.04-docker-8c-8g-1124 does not seem to be running inside a container [2022-09-26T05:04:45.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-192 -v /w/workspace/gexfoundry_device-snmp-go_PR-192:/w/workspace/gexfoundry_device-snmp-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-192@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-26T05:04:45.529Z] $ docker top 54ac4af90b7f34b8906b758a8456a04a9f9f048ad5d2f62f6a56f548c9b47e90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:04:45.914Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-192 [Pipeline] fileExists [Pipeline] sh [2022-09-26T05:04:46.269Z] + make test [2022-09-26T05:04:46.269Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T05:04:46.834Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-26T05:04:56.800Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-26T05:04:56.800Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.018s coverage: 0.0% of statements [2022-09-26T05:05:03.466Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-26T05:05:03.466Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T05:05:06.081Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T05:05:06.081Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T05:05:06.081Z] ./bin/test-attribution-txt.sh [2022-09-26T05:05:06.081Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T05:05:06.081Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T05:05:06.081Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T05:05:06.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T05:05:06.148Z] $ docker stop --time=1 54ac4af90b7f34b8906b758a8456a04a9f9f048ad5d2f62f6a56f548c9b47e90 [2022-09-26T05:05:08.564Z] $ docker rm -f 54ac4af90b7f34b8906b758a8456a04a9f9f048ad5d2f62f6a56f548c9b47e90 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:05:09.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T05:05:09.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-26T05:05:09.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T05:05:10.087Z] + ls -al . [2022-09-26T05:05:10.087Z] total 172 [2022-09-26T05:05:10.087Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 05:04 . [2022-09-26T05:05:10.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:03 .. [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 26 05:03 .dockerignore [2022-09-26T05:05:10.087Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:04 .git [2022-09-26T05:05:10.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:03 .github [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 26 05:03 .gitignore [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:03 .golangci.yml [2022-09-26T05:05:10.087Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:03 .semver [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 26 05:03 Attribution.txt [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 26 05:03 CHANGELOG.md [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 26 05:03 Dockerfile [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:03 GOVERNANCE.md [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 26 05:03 Jenkinsfile [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:03 LICENSE [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 26 05:03 Makefile [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 05:03 OWNERS.md [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 26 05:03 README.md [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:03 VERSION [2022-09-26T05:05:10.087Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:03 bin [2022-09-26T05:05:10.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:03 cmd [2022-09-26T05:05:10.087Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 26 05:04 coverage.out [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 26 05:03 go.mod [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 26 05:03 go.sum [2022-09-26T05:05:10.087Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:03 internal [2022-09-26T05:05:10.087Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:03 snap [2022-09-26T05:05:10.087Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 26 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:05:10.475Z] + 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=75ddd7262cb1573847bca0b8c880f5d5789b72d7 --label arch=amd64 --label version=0.0.0 . [2022-09-26T05:05:10.475Z] Sending build context to Docker daemon 5.488MB [2022-09-26T05:05:10.475Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:05:10.475Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-26T05:05:10.475Z] ---> c2bf39eba2bc [2022-09-26T05:05:10.475Z] Step 3/24 : ARG MAKE='make build' [2022-09-26T05:05:10.734Z] ---> Running in fa1260ab6e5a [2022-09-26T05:05:10.734Z] Removing intermediate container fa1260ab6e5a [2022-09-26T05:05:10.734Z] ---> 247305c5fe27 [2022-09-26T05:05:10.734Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T05:05:10.734Z] ---> Running in 7b2c79a6bf96 [2022-09-26T05:05:10.734Z] Removing intermediate container 7b2c79a6bf96 [2022-09-26T05:05:10.734Z] ---> 71a4a54bbc8e [2022-09-26T05:05:10.734Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T05:05:10.994Z] ---> Running in 07ccad873495 [2022-09-26T05:05:10.994Z] Removing intermediate container 07ccad873495 [2022-09-26T05:05:10.994Z] ---> 73924572550b [2022-09-26T05:05:10.994Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:05:10.994Z] ---> Running in 2603f5141b2b [2022-09-26T05:05:11.562Z] Removing intermediate container 2603f5141b2b [2022-09-26T05:05:11.562Z] ---> 6014674a08da [2022-09-26T05:05:11.562Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T05:05:11.562Z] ---> Running in 52e662d4a212 [2022-09-26T05:05:11.824Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:13.205Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:14.143Z] OK: 216 MiB in 55 packages [2022-09-26T05:05:14.404Z] Removing intermediate container 52e662d4a212 [2022-09-26T05:05:14.404Z] ---> 72edb2b237dc [2022-09-26T05:05:14.404Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-26T05:05:14.662Z] ---> Running in 6a935a13060f [2022-09-26T05:05:14.662Z] Removing intermediate container 6a935a13060f [2022-09-26T05:05:14.662Z] ---> 735c81f75824 [2022-09-26T05:05:14.662Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-26T05:05:14.662Z] ---> 02f879399624 [2022-09-26T05:05:14.662Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:05:14.662Z] ---> Running in afa70002174e [2022-09-26T05:05:15.229Z] Removing intermediate container afa70002174e [2022-09-26T05:05:15.229Z] ---> f4430fd77147 [2022-09-26T05:05:15.229Z] Step 11/24 : COPY . . [2022-09-26T05:05:15.902Z] ---> 321a24968813 [2022-09-26T05:05:15.902Z] Step 12/24 : RUN ${MAKE} [2022-09-26T05:05:15.902Z] ---> Running in eb8344a7076a [2022-09-26T05:05:16.161Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.26 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-26T05:05:42.739Z] Removing intermediate container eb8344a7076a [2022-09-26T05:05:42.739Z] ---> 5142ddce643d [2022-09-26T05:05:42.739Z] Step 13/24 : FROM alpine:3.16 [2022-09-26T05:05:42.739Z] 3.16: Pulling from library/alpine [2022-09-26T05:05:42.739Z] 213ec9aee27d: Pulling fs layer [2022-09-26T05:05:42.739Z] 213ec9aee27d: Verifying Checksum [2022-09-26T05:05:42.739Z] 213ec9aee27d: Download complete [2022-09-26T05:05:42.739Z] 213ec9aee27d: Pull complete [2022-09-26T05:05:42.739Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T05:05:42.739Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T05:05:42.739Z] ---> 9c6f07244728 [2022-09-26T05:05:42.739Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T05:05:42.739Z] ---> Running in 13f1e335e52c [2022-09-26T05:05:42.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:42.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-26T05:05:42.739Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T05:05:42.739Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T05:05:42.739Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T05:05:42.739Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T05:05:42.739Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T05:05:42.739Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T05:05:42.739Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T05:05:42.739Z] OK: 8 MiB in 20 packages [2022-09-26T05:05:42.739Z] Removing intermediate container 13f1e335e52c [2022-09-26T05:05:42.739Z] ---> 9e7cf28e3ecb [2022-09-26T05:05:42.739Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-26T05:05:42.739Z] ---> 19e5d238ab44 [2022-09-26T05:05:42.739Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-26T05:05:42.739Z] ---> 0d8ed9a983e5 [2022-09-26T05:05:42.739Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-26T05:05:42.739Z] ---> c5452fccca73 [2022-09-26T05:05:42.739Z] Step 18/24 : EXPOSE 59993 [2022-09-26T05:05:42.739Z] ---> Running in 093ddc3d41ae [2022-09-26T05:05:42.739Z] Removing intermediate container 093ddc3d41ae [2022-09-26T05:05:42.739Z] ---> a47a2cbac2d5 [2022-09-26T05:05:42.739Z] Step 19/24 : EXPOSE 161 [2022-09-26T05:05:42.739Z] ---> Running in 057e331afc42 [2022-09-26T05:05:42.739Z] Removing intermediate container 057e331afc42 [2022-09-26T05:05:42.739Z] ---> 7317d8e91090 [2022-09-26T05:05:42.739Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-26T05:05:42.739Z] ---> Running in 5b28dd7efe91 [2022-09-26T05:05:42.739Z] Removing intermediate container 5b28dd7efe91 [2022-09-26T05:05:42.739Z] ---> daec536c820f [2022-09-26T05:05:42.739Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-26T05:05:42.739Z] ---> Running in e59ab1a4deae [2022-09-26T05:05:42.739Z] Removing intermediate container e59ab1a4deae [2022-09-26T05:05:42.739Z] ---> 864272f43b33 [2022-09-26T05:05:42.739Z] Step 22/24 : LABEL arch=amd64 [2022-09-26T05:05:42.739Z] ---> Running in f80dedf2b1b4 [2022-09-26T05:05:42.739Z] Removing intermediate container f80dedf2b1b4 [2022-09-26T05:05:42.739Z] ---> 4b79d7404971 [2022-09-26T05:05:42.739Z] Step 23/24 : LABEL git_sha=75ddd7262cb1573847bca0b8c880f5d5789b72d7 [2022-09-26T05:05:42.739Z] ---> Running in f6277ac17aaf [2022-09-26T05:05:42.998Z] Removing intermediate container f6277ac17aaf [2022-09-26T05:05:42.998Z] ---> 81a69ea76764 [2022-09-26T05:05:42.998Z] Step 24/24 : LABEL version=0.0.0 [2022-09-26T05:05:42.998Z] ---> Running in 6dfe84938408 [2022-09-26T05:05:42.998Z] Removing intermediate container 6dfe84938408 [2022-09-26T05:05:42.998Z] ---> e3288c41415b [2022-09-26T05:05:42.998Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T05:05:42.998Z] Successfully built e3288c41415b [2022-09-26T05:05:42.998Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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-09-26T05:05:43.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:05:43.867Z] [2022-09-26T05:05:43.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:05:44.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:05:44.241Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-26T05:05:44.241Z] 5eb5b503b376: Pulling fs layer [2022-09-26T05:05:44.241Z] 5c69ac0246d0: Pulling fs layer [2022-09-26T05:05:44.241Z] ec43610c2a17: Pulling fs layer [2022-09-26T05:05:44.241Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-26T05:05:44.241Z] 33b1e0a273af: Pulling fs layer [2022-09-26T05:05:44.241Z] 3a2ae6a8a46f: Waiting [2022-09-26T05:05:44.241Z] 33b1e0a273af: Waiting [2022-09-26T05:05:44.241Z] 5d3b04190fa2: Pulling fs layer [2022-09-26T05:05:44.241Z] 2f39f015ded8: Pulling fs layer [2022-09-26T05:05:44.241Z] 2f39f015ded8: Waiting [2022-09-26T05:05:44.241Z] 5d3b04190fa2: Waiting [2022-09-26T05:05:44.241Z] 5c69ac0246d0: Verifying Checksum [2022-09-26T05:05:44.241Z] 5c69ac0246d0: Download complete [2022-09-26T05:05:44.241Z] 3a2ae6a8a46f: Download complete [2022-09-26T05:05:44.241Z] 33b1e0a273af: Verifying Checksum [2022-09-26T05:05:44.241Z] 33b1e0a273af: Download complete [2022-09-26T05:05:44.241Z] 5d3b04190fa2: Download complete [2022-09-26T05:05:44.501Z] ec43610c2a17: Verifying Checksum [2022-09-26T05:05:44.501Z] ec43610c2a17: Download complete [2022-09-26T05:05:44.501Z] 5eb5b503b376: Verifying Checksum [2022-09-26T05:05:44.501Z] 5eb5b503b376: Download complete [2022-09-26T05:05:45.066Z] 2f39f015ded8: Verifying Checksum [2022-09-26T05:05:45.066Z] 2f39f015ded8: Download complete [2022-09-26T05:05:45.632Z] 5eb5b503b376: Pull complete [2022-09-26T05:05:45.891Z] 5c69ac0246d0: Pull complete [2022-09-26T05:05:46.457Z] ec43610c2a17: Pull complete [2022-09-26T05:05:46.457Z] 3a2ae6a8a46f: Pull complete [2022-09-26T05:05:46.479Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1127 in /w/workspace/gexfoundry_device-snmp-go_PR-192 [Pipeline] { [Pipeline] ws [2022-09-26T05:05:46.521Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-09-26T05:05:46.602Z] Selected Git installation does not exist. Using Default [2022-09-26T05:05:46.602Z] The recommended git tool is: NONE [2022-09-26T05:05:46.717Z] 33b1e0a273af: Pull complete [2022-09-26T05:05:46.717Z] 5d3b04190fa2: Pull complete [2022-09-26T05:05:50.906Z] 2f39f015ded8: Pull complete [2022-09-26T05:05:50.906Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-26T05:05:50.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:05:50.906Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:05:51.130Z] prd-ubuntu20.04-docker-8c-8g-1124 does not seem to be running inside a container [2022-09-26T05:05:51.161Z] $ 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/gexfoundry_device-snmp-go_PR-192 -v /w/workspace/gexfoundry_device-snmp-go_PR-192:/w/workspace/gexfoundry_device-snmp-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-192@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T05:05:51.673Z] using credential edgex-jenkins-ssh [2022-09-26T05:05:51.693Z] Cloning the remote Git repository [2022-09-26T05:05:51.732Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-26T05:05:51.808Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-09-26T05:05:51.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-26T05:05:51.945Z] > git --version # timeout=10 [2022-09-26T05:05:51.974Z] > git --version # 'git version 2.25.1' [2022-09-26T05:05:51.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:05:52.022Z] Verifying host key using known hosts file [2022-09-26T05:05:52.216Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:05:52.232Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T05:05:53.329Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-26T05:05:53.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-26T05:05:54.746Z] $ docker top 800c1f4ab9c1a52be8b8a072239a34f11e4ca6e679c330c14f960fadaf0068d4 -eo pid,comm [Pipeline] { [2022-09-26T05:05:54.862Z] Merging remotes/origin/main commit 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 into PR head commit 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:05:55.081Z] Merge succeeded, producing 75ddd7262cb1573847bca0b8c880f5d5789b72d7 [2022-09-26T05:05:55.082Z] Checking out Revision 75ddd7262cb1573847bca0b8c880f5d5789b72d7 (PR-192) [2022-09-26T05:05:55.209Z] ---> job-cost.sh [2022-09-26T05:05:55.209Z] lf-activate-venv: SKIPPING [2022-09-26T05:05:55.209Z] INFO: No Stack... [2022-09-26T05:05:54.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-26T05:05:54.284Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-26T05:05:54.286Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:05:54.291Z] Verifying host key using known hosts file [2022-09-26T05:05:54.298Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:05:54.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/192/head:refs/remotes/origin/PR-192 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-26T05:05:54.876Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T05:05:54.892Z] > git checkout -f 75ddd7262cb1573847bca0b8c880f5d5789b72d7 # timeout=10 [2022-09-26T05:05:54.978Z] > git remote # timeout=10 [2022-09-26T05:05:54.997Z] > git config --get remote.origin.url # timeout=10 [2022-09-26T05:05:55.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-26T05:05:55.018Z] Verifying host key using known hosts file [2022-09-26T05:05:55.025Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-26T05:05:55.034Z] > git merge 1c0032f84a9a855f7b8ebbc06207ce7b5fd1cf17 # timeout=10 [2022-09-26T05:05:55.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-26T05:05:55.083Z] > git config core.sparsecheckout # timeout=10 [2022-09-26T05:05:55.096Z] > git checkout -f 75ddd7262cb1573847bca0b8c880f5d5789b72d7 # timeout=10 [2022-09-26T05:05:55.467Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T05:05:55.557Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-26T05:05:55.608Z] > git --version # timeout=10 [2022-09-26T05:05:55.620Z] > git --version # 'git version 2.25.1' [2022-09-26T05:05:55.642Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-26T05:05:55.968Z] [2022-09-26T05:05:55.968Z] GitHub has been notified of this commit’s build result [2022-09-26T05:05:55.968Z] [Pipeline] withEnv [Pipeline] { [2022-09-26T05:05:56.035Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:05:56.350Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-192/archives/cost.csv [2022-09-26T05:05:56.350Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T05:05:56.496Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [2022-09-26T05:05:56.501Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] did not exist. Created. [2022-09-26T05:05:56.501Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T05:05:56.746Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-26T05:05:56.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T05:05:56.746Z] Dload Upload Total Spent Left Speed [2022-09-26T05:05:56.746Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [2022-09-26T05:05:56.898Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-26T05:05:56.949Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T05:05:56.979Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T05:05:57.061Z] $ docker stop --time=1 800c1f4ab9c1a52be8b8a072239a34f11e4ca6e679c330c14f960fadaf0068d4 [2022-09-26T05:05:58.255Z] $ docker rm -f 800c1f4ab9c1a52be8b8a072239a34f11e4ca6e679c330c14f960fadaf0068d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-26T05:05:58.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-26T05:05:59.040Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-26T05:05:59.040Z] + sudo tee /etc/docker/daemon.new [2022-09-26T05:05:59.040Z] { [2022-09-26T05:05:59.040Z] "registry-mirrors": [ [2022-09-26T05:05:59.040Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-26T05:05:59.040Z] ], [2022-09-26T05:05:59.040Z] "bip": "10.250.0.254/24", [2022-09-26T05:05:59.040Z] "hosts": [ [2022-09-26T05:05:59.040Z] "tcp://0.0.0.0:5555", [2022-09-26T05:05:59.040Z] "unix:///var/run/docker.sock" [2022-09-26T05:05:59.040Z] ], [2022-09-26T05:05:59.040Z] "mtu": 1458, [2022-09-26T05:05:59.040Z] "selinux-enabled": true, [2022-09-26T05:05:59.040Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-26T05:05:59.040Z] } [Pipeline] sh [2022-09-26T05:05:59.384Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-26T05:05:59.737Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:06:18.081Z] provisioning config files... [2022-09-26T05:06:18.114Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config14572746703351739489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:06:18.513Z] ---> docker-login.sh [2022-09-26T05:06:18.513Z] nexus3.edgexfoundry.org:10001 [2022-09-26T05:06:19.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:06:19.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:06:19.102Z] Configure a credential helper to remove this warning. See [2022-09-26T05:06:19.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:06:19.102Z] [2022-09-26T05:06:19.102Z] Login Succeeded [2022-09-26T05:06:19.102Z] nexus3.edgexfoundry.org:10002 [2022-09-26T05:06:19.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:06:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:06:19.654Z] Configure a credential helper to remove this warning. See [2022-09-26T05:06:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:06:19.654Z] [2022-09-26T05:06:19.654Z] Login Succeeded [2022-09-26T05:06:19.654Z] nexus3.edgexfoundry.org:10003 [2022-09-26T05:06:19.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:06:19.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:06:19.926Z] Configure a credential helper to remove this warning. See [2022-09-26T05:06:19.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:06:19.926Z] [2022-09-26T05:06:19.926Z] Login Succeeded [2022-09-26T05:06:19.926Z] nexus3.edgexfoundry.org:10004 [2022-09-26T05:06:20.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:06:20.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:06:20.471Z] Configure a credential helper to remove this warning. See [2022-09-26T05:06:20.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:06:20.471Z] [2022-09-26T05:06:20.471Z] Login Succeeded [2022-09-26T05:06:20.471Z] docker.io [2022-09-26T05:06:20.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-26T05:06:21.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-26T05:06:21.009Z] Configure a credential helper to remove this warning. See [2022-09-26T05:06:21.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-26T05:06:21.009Z] [2022-09-26T05:06:21.009Z] Login Succeeded [2022-09-26T05:06:21.009Z] ---> docker-login.sh ends [Pipeline] } [2022-09-26T05:06:21.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-26T05:06:21.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:06:21.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-26T05:06:21.422Z] ========================================================= [2022-09-26T05:06:21.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-26T05:06:21.422Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:06:21.918Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-26T05:06:23.330Z] Sending build context to Docker daemon 2.827MB [2022-09-26T05:06:23.330Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:06:23.330Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-26T05:06:23.601Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-26T05:06:23.602Z] b3c136eddcbf: Pulling fs layer [2022-09-26T05:06:23.602Z] c0a3192eca97: Pulling fs layer [2022-09-26T05:06:23.602Z] a050256f5b6f: Pulling fs layer [2022-09-26T05:06:23.602Z] 656be50a0ddc: Pulling fs layer [2022-09-26T05:06:23.602Z] 2bbca73fdf42: Pulling fs layer [2022-09-26T05:06:23.602Z] 46d945488cbd: Pulling fs layer [2022-09-26T05:06:23.602Z] 8a5474983e97: Pulling fs layer [2022-09-26T05:06:23.602Z] 329c88fbcd65: Pulling fs layer [2022-09-26T05:06:23.602Z] 46d945488cbd: Waiting [2022-09-26T05:06:23.602Z] 8a5474983e97: Waiting [2022-09-26T05:06:23.602Z] 329c88fbcd65: Waiting [2022-09-26T05:06:23.602Z] 656be50a0ddc: Waiting [2022-09-26T05:06:23.602Z] 2bbca73fdf42: Waiting [2022-09-26T05:06:23.602Z] a050256f5b6f: Verifying Checksum [2022-09-26T05:06:23.602Z] a050256f5b6f: Download complete [2022-09-26T05:06:23.602Z] c0a3192eca97: Verifying Checksum [2022-09-26T05:06:23.602Z] c0a3192eca97: Download complete [2022-09-26T05:06:23.602Z] 2bbca73fdf42: Verifying Checksum [2022-09-26T05:06:23.602Z] 2bbca73fdf42: Download complete [2022-09-26T05:06:23.602Z] 46d945488cbd: Verifying Checksum [2022-09-26T05:06:23.602Z] 46d945488cbd: Download complete [2022-09-26T05:06:23.602Z] b3c136eddcbf: Verifying Checksum [2022-09-26T05:06:24.582Z] b3c136eddcbf: Pull complete [2022-09-26T05:06:24.853Z] 329c88fbcd65: Verifying Checksum [2022-09-26T05:06:24.853Z] 329c88fbcd65: Download complete [2022-09-26T05:06:25.123Z] c0a3192eca97: Pull complete [2022-09-26T05:06:25.393Z] a050256f5b6f: Pull complete [2022-09-26T05:06:25.987Z] 8a5474983e97: Verifying Checksum [2022-09-26T05:06:25.987Z] 8a5474983e97: Download complete [2022-09-26T05:06:26.573Z] 656be50a0ddc: Verifying Checksum [2022-09-26T05:06:26.573Z] 656be50a0ddc: Download complete [2022-09-26T05:06:39.105Z] 656be50a0ddc: Pull complete [2022-09-26T05:06:39.105Z] 2bbca73fdf42: Pull complete [2022-09-26T05:06:39.372Z] 46d945488cbd: Pull complete [2022-09-26T05:06:47.613Z] 8a5474983e97: Pull complete [2022-09-26T05:06:48.577Z] 329c88fbcd65: Pull complete [2022-09-26T05:06:48.577Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-26T05:06:48.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-26T05:06:48.577Z] ---> ff4287adb874 [2022-09-26T05:06:48.577Z] Step 3/12 : ARG MAKE='make build' [2022-09-26T05:06:49.541Z] ---> Running in 62c11b8cbfd7 [2022-09-26T05:06:49.812Z] Removing intermediate container 62c11b8cbfd7 [2022-09-26T05:06:49.812Z] ---> ab05fbfb66e9 [2022-09-26T05:06:49.812Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T05:06:49.812Z] ---> Running in 01ae62dcf0c4 [2022-09-26T05:06:50.080Z] Removing intermediate container 01ae62dcf0c4 [2022-09-26T05:06:50.080Z] ---> 2587d99c5a4a [2022-09-26T05:06:50.080Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T05:06:50.347Z] ---> Running in 1a58e493fdb9 [2022-09-26T05:06:50.616Z] Removing intermediate container 1a58e493fdb9 [2022-09-26T05:06:50.616Z] ---> 53e6b9208885 [2022-09-26T05:06:50.616Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:06:50.616Z] ---> Running in 9c4f67eb193e [2022-09-26T05:06:52.561Z] Removing intermediate container 9c4f67eb193e [2022-09-26T05:06:52.561Z] ---> 6eb960a7be23 [2022-09-26T05:06:52.561Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T05:06:52.561Z] ---> Running in d2e588ad33a5 [2022-09-26T05:06:53.519Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:06:54.486Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:06:55.446Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-26T05:06:55.446Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-26T05:06:55.446Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-26T05:06:55.715Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-26T05:06:55.715Z] Executing busybox-1.35.0-r13.trigger [2022-09-26T05:06:55.715Z] OK: 226 MiB in 55 packages [2022-09-26T05:06:56.680Z] Removing intermediate container d2e588ad33a5 [2022-09-26T05:06:56.680Z] ---> 073b50072b6e [2022-09-26T05:06:56.680Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-26T05:06:56.951Z] ---> Running in 49352f50fe91 [2022-09-26T05:06:57.222Z] Removing intermediate container 49352f50fe91 [2022-09-26T05:06:57.222Z] ---> 4114c2473256 [2022-09-26T05:06:57.222Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-26T05:06:57.812Z] ---> 297672d14352 [2022-09-26T05:06:57.812Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:06:57.812Z] ---> Running in b98e091325b0 [2022-09-26T05:07:44.685Z] Removing intermediate container b98e091325b0 [2022-09-26T05:07:44.686Z] ---> 257cfbf3fa31 [2022-09-26T05:07:44.686Z] Step 11/12 : COPY . . [2022-09-26T05:07:44.686Z] ---> 4163bb10a995 [2022-09-26T05:07:44.686Z] Step 12/12 : RUN ${MAKE} [2022-09-26T05:07:44.686Z] ---> Running in 36bc2ab059d8 [2022-09-26T05:07:44.686Z] noop [2022-09-26T05:07:45.276Z] Removing intermediate container 36bc2ab059d8 [2022-09-26T05:07:45.276Z] ---> f3b132692577 [2022-09-26T05:07:45.276Z] Successfully built f3b132692577 [2022-09-26T05:07:45.276Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:07:45.761Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T05:07:45.761Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:07:46.015Z] prd-ubuntu20.04-docker-arm64-4c-16g-1127 does not seem to be running inside a container [2022-09-26T05:07:46.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-26T05:07:47.266Z] $ docker top d755dec043c6b414f02446a37feffd7ff476e4ebf6cb90dff315ab9dc9eb3f81 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:07:48.130Z] + go version [2022-09-26T05:07:48.130Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-26T05:07:48.171Z] $ docker stop --time=1 d755dec043c6b414f02446a37feffd7ff476e4ebf6cb90dff315ab9dc9eb3f81 [2022-09-26T05:07:49.791Z] $ docker rm -f d755dec043c6b414f02446a37feffd7ff476e4ebf6cb90dff315ab9dc9eb3f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:07:50.669Z] + docker inspect -f . ci-base-image-arm64 [2022-09-26T05:07:50.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:07:50.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-1127 does not seem to be running inside a container [2022-09-26T05:07:50.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-26T05:07:52.124Z] $ docker top 509c19f0b7eac648628598519766e819dc18954eb0889a7161fb3f8053a1a7d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:07:53.006Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-26T05:07:53.720Z] + make test [2022-09-26T05:07:53.720Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-26T05:07:55.672Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-26T05:09:32.369Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-26T05:09:32.369Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2022-09-26T05:09:32.369Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-26T05:09:32.369Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-26T05:09:44.696Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-26T05:09:44.696Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-26T05:09:44.696Z] ./bin/test-attribution-txt.sh [2022-09-26T05:09:44.696Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-26T05:09:44.696Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-26T05:09:44.696Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-26T05:09:44.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-26T05:09:44.778Z] $ docker stop --time=1 509c19f0b7eac648628598519766e819dc18954eb0889a7161fb3f8053a1a7d2 [2022-09-26T05:09:46.576Z] $ docker rm -f 509c19f0b7eac648628598519766e819dc18954eb0889a7161fb3f8053a1a7d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-26T05:09:47.618Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-26T05:09:47.654Z] Warning: overwriting stash ‘coverage-report’ [2022-09-26T05:09:48.089Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-26T05:09:48.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-26T05:09:49.027Z] + ls -al . [2022-09-26T05:09:49.027Z] total 168 [2022-09-26T05:09:49.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:07 . [2022-09-26T05:09:49.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:05 .. [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 26 05:05 .dockerignore [2022-09-26T05:09:49.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 05:05 .git [2022-09-26T05:09:49.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:05 .github [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 26 05:05 .gitignore [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 05:05 .golangci.yml [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 26 05:05 Attribution.txt [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 26 05:05 CHANGELOG.md [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 26 05:05 Dockerfile [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 05:05 GOVERNANCE.md [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 26 05:05 Jenkinsfile [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 05:05 LICENSE [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 26 05:05 Makefile [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 26 05:05 OWNERS.md [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 26 05:05 README.md [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 05:03 VERSION [2022-09-26T05:09:49.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 05:05 bin [2022-09-26T05:09:49.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:05 cmd [2022-09-26T05:09:49.027Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 26 05:09 coverage.out [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 3473 Sep 26 05:05 go.mod [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 38137 Sep 26 05:05 go.sum [2022-09-26T05:09:49.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 05:05 internal [2022-09-26T05:09:49.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 05:05 snap [2022-09-26T05:09:49.027Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 26 05:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:09:49.454Z] + 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=75ddd7262cb1573847bca0b8c880f5d5789b72d7 --label arch=arm64 --label version=0.0.0 . [2022-09-26T05:09:49.724Z] Sending build context to Docker daemon 2.835MB [2022-09-26T05:09:49.724Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-26T05:09:49.724Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-26T05:09:49.724Z] ---> f3b132692577 [2022-09-26T05:09:49.724Z] Step 3/24 : ARG MAKE='make build' [2022-09-26T05:09:49.993Z] ---> Running in c7508f3ceaeb [2022-09-26T05:09:50.262Z] Removing intermediate container c7508f3ceaeb [2022-09-26T05:09:50.262Z] ---> 300a32533fd8 [2022-09-26T05:09:50.262Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-26T05:09:50.262Z] ---> Running in dda4e9224ea7 [2022-09-26T05:09:50.532Z] Removing intermediate container dda4e9224ea7 [2022-09-26T05:09:50.532Z] ---> fa99c84e151a [2022-09-26T05:09:50.532Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-26T05:09:50.800Z] ---> Running in ea58cec0aa5c [2022-09-26T05:09:51.075Z] Removing intermediate container ea58cec0aa5c [2022-09-26T05:09:51.075Z] ---> 13f3de41ae8e [2022-09-26T05:09:51.075Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-26T05:09:51.075Z] ---> Running in d80917606c85 [2022-09-26T05:09:53.023Z] Removing intermediate container d80917606c85 [2022-09-26T05:09:53.023Z] ---> 86879d464c0b [2022-09-26T05:09:53.023Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-26T05:09:53.023Z] ---> Running in 736f5c42ac13 [2022-09-26T05:09:53.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:09:54.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:09:55.905Z] OK: 226 MiB in 55 packages [2022-09-26T05:09:56.875Z] Removing intermediate container 736f5c42ac13 [2022-09-26T05:09:56.875Z] ---> 9b2669b9651a [2022-09-26T05:09:56.875Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-26T05:09:56.875Z] ---> Running in 083b330ae9be [2022-09-26T05:09:57.146Z] Removing intermediate container 083b330ae9be [2022-09-26T05:09:57.146Z] ---> 5d25c3940a36 [2022-09-26T05:09:57.146Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-26T05:09:57.731Z] ---> 1e4eb8d1b886 [2022-09-26T05:09:57.731Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-26T05:09:57.731Z] ---> Running in be2e36274d75 [2022-09-26T05:09:59.682Z] Removing intermediate container be2e36274d75 [2022-09-26T05:09:59.682Z] ---> 07ac0e3e3f1b [2022-09-26T05:09:59.682Z] Step 11/24 : COPY . . [2022-09-26T05:10:00.646Z] ---> e5d84f25be12 [2022-09-26T05:10:00.646Z] Step 12/24 : RUN ${MAKE} [2022-09-26T05:10:00.646Z] ---> Running in 674bbfdcee1d [2022-09-26T05:10:01.610Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.26 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-26T05:12:53.398Z] Removing intermediate container 674bbfdcee1d [2022-09-26T05:12:53.398Z] ---> e952abfbddbd [2022-09-26T05:12:53.398Z] Step 13/24 : FROM alpine:3.16 [2022-09-26T05:12:53.398Z] 3.16: Pulling from library/alpine [2022-09-26T05:12:53.398Z] 9b18e9b68314: Pulling fs layer [2022-09-26T05:12:53.398Z] 9b18e9b68314: Verifying Checksum [2022-09-26T05:12:53.398Z] 9b18e9b68314: Download complete [2022-09-26T05:12:53.398Z] 9b18e9b68314: Pull complete [2022-09-26T05:12:53.398Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-26T05:12:53.398Z] Status: Downloaded newer image for alpine:3.16 [2022-09-26T05:12:53.398Z] ---> a6215f271958 [2022-09-26T05:12:53.398Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-26T05:12:53.398Z] ---> Running in 6cc351327ced [2022-09-26T05:12:53.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-26T05:12:53.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-26T05:12:53.398Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-26T05:12:53.398Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-26T05:12:53.398Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-26T05:12:53.398Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-26T05:12:53.398Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-26T05:12:53.398Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-26T05:12:53.398Z] Executing busybox-1.35.0-r17.trigger [2022-09-26T05:12:53.398Z] OK: 8 MiB in 20 packages [2022-09-26T05:12:53.398Z] Removing intermediate container 6cc351327ced [2022-09-26T05:12:53.398Z] ---> 613cd714d1fa [2022-09-26T05:12:53.398Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-26T05:12:53.398Z] ---> 18e07b65d279 [2022-09-26T05:12:53.398Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-26T05:12:53.398Z] ---> 49719134bdf0 [2022-09-26T05:12:53.398Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-26T05:12:53.398Z] ---> 44b6ab032d08 [2022-09-26T05:12:53.398Z] Step 18/24 : EXPOSE 59993 [2022-09-26T05:12:53.398Z] ---> Running in af7ac5213ff8 [2022-09-26T05:12:53.398Z] Removing intermediate container af7ac5213ff8 [2022-09-26T05:12:53.398Z] ---> c943ece5ccdd [2022-09-26T05:12:53.398Z] Step 19/24 : EXPOSE 161 [2022-09-26T05:12:53.398Z] ---> Running in e17e27e3a558 [2022-09-26T05:12:53.398Z] Removing intermediate container e17e27e3a558 [2022-09-26T05:12:53.398Z] ---> aedcde9c70c1 [2022-09-26T05:12:53.398Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-26T05:12:53.398Z] ---> Running in 9713ebb6f913 [2022-09-26T05:12:53.398Z] Removing intermediate container 9713ebb6f913 [2022-09-26T05:12:53.398Z] ---> 7db1ab0ed1f5 [2022-09-26T05:12:53.398Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-26T05:12:53.398Z] ---> Running in 48b5f0923948 [2022-09-26T05:12:53.398Z] Removing intermediate container 48b5f0923948 [2022-09-26T05:12:53.398Z] ---> 15f8c8ff0773 [2022-09-26T05:12:53.398Z] Step 22/24 : LABEL arch=arm64 [2022-09-26T05:12:53.398Z] ---> Running in 4698e540807f [2022-09-26T05:12:53.398Z] Removing intermediate container 4698e540807f [2022-09-26T05:12:53.398Z] ---> a4e4a26e6c9c [2022-09-26T05:12:53.398Z] Step 23/24 : LABEL git_sha=75ddd7262cb1573847bca0b8c880f5d5789b72d7 [2022-09-26T05:12:53.398Z] ---> Running in d35dd8d69f27 [2022-09-26T05:12:53.398Z] Removing intermediate container d35dd8d69f27 [2022-09-26T05:12:53.398Z] ---> 2a8b99879619 [2022-09-26T05:12:53.398Z] Step 24/24 : LABEL version=0.0.0 [2022-09-26T05:12:53.398Z] ---> Running in 01b6c32c56b3 [2022-09-26T05:12:53.398Z] Removing intermediate container 01b6c32c56b3 [2022-09-26T05:12:53.398Z] ---> 9f7c65c893b1 [2022-09-26T05:12:53.398Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-26T05:12:53.398Z] Successfully built 9f7c65c893b1 [2022-09-26T05:12:53.398Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:12:54.248Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:12:54.248Z] [2022-09-26T05:12:54.248Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:12:54.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:12:54.659Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-26T05:12:54.659Z] 8998bd30e6a1: Pulling fs layer [2022-09-26T05:12:54.659Z] 04944245beec: Pulling fs layer [2022-09-26T05:12:54.659Z] 699f458cf7ca: Pulling fs layer [2022-09-26T05:12:54.659Z] 765212b225bb: Pulling fs layer [2022-09-26T05:12:54.659Z] f23df028b6ca: Pulling fs layer [2022-09-26T05:12:54.659Z] d65c8cfc05b1: Pulling fs layer [2022-09-26T05:12:54.659Z] 2437ff75d9bd: Pulling fs layer [2022-09-26T05:12:54.659Z] f23df028b6ca: Waiting [2022-09-26T05:12:54.659Z] d65c8cfc05b1: Waiting [2022-09-26T05:12:54.659Z] 2437ff75d9bd: Waiting [2022-09-26T05:12:54.659Z] 765212b225bb: Waiting [2022-09-26T05:12:54.927Z] 04944245beec: Verifying Checksum [2022-09-26T05:12:54.927Z] 04944245beec: Download complete [2022-09-26T05:12:54.927Z] 765212b225bb: Verifying Checksum [2022-09-26T05:12:54.927Z] 765212b225bb: Download complete [2022-09-26T05:12:54.927Z] f23df028b6ca: Verifying Checksum [2022-09-26T05:12:54.927Z] f23df028b6ca: Download complete [2022-09-26T05:12:54.927Z] d65c8cfc05b1: Verifying Checksum [2022-09-26T05:12:54.927Z] d65c8cfc05b1: Download complete [2022-09-26T05:12:54.927Z] 699f458cf7ca: Verifying Checksum [2022-09-26T05:12:54.927Z] 699f458cf7ca: Download complete [2022-09-26T05:12:55.512Z] 8998bd30e6a1: Download complete [2022-09-26T05:12:57.452Z] 2437ff75d9bd: Verifying Checksum [2022-09-26T05:12:57.452Z] 2437ff75d9bd: Download complete [2022-09-26T05:12:58.872Z] 8998bd30e6a1: Pull complete [2022-09-26T05:12:59.454Z] 04944245beec: Pull complete [2022-09-26T05:13:00.858Z] 699f458cf7ca: Pull complete [2022-09-26T05:13:00.858Z] 765212b225bb: Pull complete [2022-09-26T05:13:01.438Z] f23df028b6ca: Pull complete [2022-09-26T05:13:01.705Z] d65c8cfc05b1: Pull complete [2022-09-26T05:13:14.008Z] 2437ff75d9bd: Pull complete [2022-09-26T05:13:14.008Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-26T05:13:14.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-26T05:13:14.008Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:13:14.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-1127 does not seem to be running inside a container [2022-09-26T05:13:14.392Z] $ 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/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-26T05:13:17.045Z] $ docker top 568aa2df7259b2cdae57c83d883a30647288e71499053448c90349b1f16a3f9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:17.999Z] ---> job-cost.sh [2022-09-26T05:13:17.999Z] lf-activate-venv: SKIPPING [2022-09-26T05:13:17.999Z] INFO: No Stack... [2022-09-26T05:13:18.586Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-26T05:13:19.554Z] INFO: Archiving Costs [Pipeline] sh [2022-09-26T05:13:19.919Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-09-26T05:13:19.919Z] + cut -d, -f6 [Pipeline] lock [2022-09-26T05:13:20.089Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [2022-09-26T05:13:20.094Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] did not exist. Created. [2022-09-26T05:13:20.094Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-26T05:13:20.818Z] /w/workspace/device-snmp-go/1@tmp/durable-d7c40646/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-26T05:13:21.165Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-26T05:13:21.202Z] Warning: overwriting stash ‘stack-cost’ [2022-09-26T05:13:21.244Z] Stashed 1 file(s) [Pipeline] } [2022-09-26T05:13:21.257Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-192-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-26T05:13:21.344Z] $ docker stop --time=1 568aa2df7259b2cdae57c83d883a30647288e71499053448c90349b1f16a3f9c [2022-09-26T05:13:22.822Z] $ docker rm -f 568aa2df7259b2cdae57c83d883a30647288e71499053448c90349b1f16a3f9c [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-09-26T05:13:23.760Z] provisioning config files... [2022-09-26T05:13:23.768Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/config1220186712848067865tmp [Pipeline] { [Pipeline] sh [2022-09-26T05:13:24.105Z] + set +x [2022-09-26T05:13:24.105Z] + curl+ -s https://codecov.io/bash [2022-09-26T05:13:24.105Z] bash -s -- [2022-09-26T05:13:24.105Z] [2022-09-26T05:13:24.105Z] _____ _ [2022-09-26T05:13:24.105Z] / ____| | | [2022-09-26T05:13:24.105Z] | | ___ __| | ___ ___ _____ __ [2022-09-26T05:13:24.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-26T05:13:24.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-26T05:13:24.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-26T05:13:24.105Z] Bash-1.0.6 [2022-09-26T05:13:24.105Z] [2022-09-26T05:13:24.105Z] [2022-09-26T05:13:24.105Z] ==> git version 2.25.1 found [2022-09-26T05:13:24.105Z] ==> 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-09-26T05:13:24.105Z] Release-Date: 2020-01-08 [2022-09-26T05:13:24.105Z] 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-09-26T05:13:24.105Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-26T05:13:24.105Z] ==> Jenkins CI detected. [2022-09-26T05:13:24.105Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-192 [2022-09-26T05:13:24.105Z] project root: . [2022-09-26T05:13:24.105Z] --> token set from env [2022-09-26T05:13:24.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-26T05:13:24.105Z] ==> Running gcov in . (disable via -X gcov) [2022-09-26T05:13:24.105Z] ==> Python coveragepy not found [2022-09-26T05:13:24.105Z] ==> Searching for coverage reports in: [2022-09-26T05:13:24.105Z] + . [2022-09-26T05:13:24.105Z] -> Found 1 reports [2022-09-26T05:13:24.105Z] ==> Detecting git/mercurial file structure [2022-09-26T05:13:24.105Z] ==> Reading reports [2022-09-26T05:13:24.365Z] + ./coverage.out bytes=7631 [2022-09-26T05:13:24.365Z] ==> Appending adjustments [2022-09-26T05:13:24.365Z] https://docs.codecov.io/docs/fixing-reports [2022-09-26T05:13:24.365Z] + Found adjustments [2022-09-26T05:13:24.365Z] ==> Gzipping contents [2022-09-26T05:13:24.365Z] 4.0K /tmp/codecov.GVbjEg.gz [2022-09-26T05:13:24.365Z] ==> Uploading reports [2022-09-26T05:13:24.365Z] url: https://codecov.io [2022-09-26T05:13:24.365Z] query: branch=PR-192&commit=75ddd7262cb1573847bca0b8c880f5d5789b72d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=192&job=&cmd_args= [2022-09-26T05:13:24.365Z] -> Pinging Codecov [2022-09-26T05:13:24.365Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-192&commit=75ddd7262cb1573847bca0b8c880f5d5789b72d7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-192%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=192&job=&cmd_args= [2022-09-26T05:13:24.625Z] -> Uploading to [2022-09-26T05:13:24.625Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-26/6C56EA5C29638FB4528AC87E60AF5AE0/75ddd7262cb1573847bca0b8c880f5d5789b72d7/f8c9367e-0104-4ff7-b734-e89aa1b3eb4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T051324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c783691c22fd8e7d7d37efc30e1ce759d014d547a19e7f0b2201f3c93ebc76f4 [2022-09-26T05:13:24.625Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-26T05:13:24.625Z] Dload Upload Total Spent Left Speed [2022-09-26T05:13:24.890Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 6650 --:--:-- --:--:-- --:--:-- 6679 [2022-09-26T05:13:24.890Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/75ddd7262cb1573847bca0b8c880f5d5789b72d7 [Pipeline] } [2022-09-26T05:13:24.915Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-09-26T05:13:26.595Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-192/archives ] [2022-09-26T05:13:26.595Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-192/archives [2022-09-26T05:13:26.595Z] total 16 [2022-09-26T05:13:26.595Z] drwxr-xr-x 3 root root 4096 Sep 26 05:05 . [2022-09-26T05:13:26.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 05:05 .. [2022-09-26T05:13:26.595Z] drwxr-xr-x 2 root root 4096 Sep 26 05:05 cost [2022-09-26T05:13:26.595Z] -rw-r--r-- 1 root root 86 Sep 26 05:05 cost.csv [2022-09-26T05:13:26.595Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-192/archives [2022-09-26T05:13:26.595Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-192/archives [2022-09-26T05:13:26.595Z] total 16 [2022-09-26T05:13:26.595Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 05:05 . [2022-09-26T05:13:26.595Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 05:05 .. [2022-09-26T05:13:26.595Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 05:05 cost [2022-09-26T05:13:26.595Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 26 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:26.932Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:27.827Z] ---> package-listing.sh [2022-09-26T05:13:27.827Z] ++ facter osfamily [2022-09-26T05:13:27.827Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-26T05:13:28.087Z] + OS_FAMILY=debian [2022-09-26T05:13:28.087Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-192 [2022-09-26T05:13:28.087Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-26T05:13:28.087Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-26T05:13:28.087Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-26T05:13:28.087Z] + PACKAGES=/tmp/packages_start.txt [2022-09-26T05:13:28.087Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-192 ']' [2022-09-26T05:13:28.087Z] + PACKAGES=/tmp/packages_end.txt [2022-09-26T05:13:28.087Z] + case "${OS_FAMILY}" in [2022-09-26T05:13:28.087Z] + dpkg -l [2022-09-26T05:13:28.087Z] + grep '^ii' [2022-09-26T05:13:28.087Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-26T05:13:28.088Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-26T05:13:28.088Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-26T05:13:28.088Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-192 ']' [2022-09-26T05:13:28.088Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-192/archives/ [2022-09-26T05:13:28.088Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-192/archives/ [Pipeline] echo [2022-09-26T05:13:28.125Z] 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/gexfoundry_device-snmp-go_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-26T05:13:28.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-26T05:13:29.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-26T05:13:29.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-26T05:13:29.194Z] prd-ubuntu20.04-docker-8c-8g-1124 does not seem to be running inside a container [2022-09-26T05:13:29.228Z] $ 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/gexfoundry_device-snmp-go_PR-192/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-192 -v /w/workspace/gexfoundry_device-snmp-go_PR-192:/w/workspace/gexfoundry_device-snmp-go_PR-192:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-192@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-192@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-26T05:13:29.431Z] $ docker top 9e4d78c3aef4b9afe1a80c7495845e71b432c6aba1dc17d916104d578f82b7cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-26T05:13:29.827Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-26T05:13:30.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-26T05:13:30.450Z] + ls /var/log/sa-host [2022-09-26T05:13:30.450Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-26T05:13:30.652Z] provisioning config files... [2022-09-26T05:13:30.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-192@tmp/config3887148669282219600tmp [Pipeline] { [Pipeline] echo [2022-09-26T05:13:30.711Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:31.035Z] ---> create-netrc.sh [Pipeline] } [2022-09-26T05:13:31.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:31.468Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-26T05:13:31.505Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:31.817Z] ---> sudo-logs.sh [2022-09-26T05:13:31.817Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-26T05:13:31.904Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:32.218Z] ---> job-cost.sh [2022-09-26T05:13:32.218Z] lf-activate-venv: SKIPPING [2022-09-26T05:13:32.218Z] DEBUG: total: 0.2199999988079071 [2022-09-26T05:13:32.218Z] INFO: Retrieving Stack Cost... [2022-09-26T05:13:32.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-26T05:13:33.046Z] INFO: Archiving Costs [Pipeline] echo [2022-09-26T05:13:33.080Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-26T05:13:33.390Z] ---> logs-deploy.sh [2022-09-26T05:13:33.390Z] lf-activate-venv: SKIPPING [2022-09-26T05:13:33.390Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-192/1 [2022-09-26T05:13:33.390Z] INFO: archiving workspace using pattern(s): [2022-09-26T05:13:34.328Z] Archives upload complete. [2022-09-26T05:13:34.589Z] INFO: archiving logs to Nexus