Pull request #189 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fd60ec623f25115f74e82a0371e9617e416d407d+bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 (4ab61f9c9885c0ae748e044dfb73d85e1530f5bc) 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-ssh9522835007308285727.key > 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-ssh6330718184772981417.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-189/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-189/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13070181480786110583.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-189/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2060873915148589463.key > 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-ssh2143996085937869746.key > 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-189/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-189/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7790205036147184848.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24591 in /w/workspace/gexfoundry_device-snmp-go_PR-189 [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-189 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 into PR head commit fd60ec623f25115f74e82a0371e9617e416d407d Merge succeeded, producing fd60ec623f25115f74e82a0371e9617e416d407d Checking out Revision fd60ec623f25115f74e82a0371e9617e416d407d (PR-189) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd60ec623f25115f74e82a0371e9617e416d407d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd60ec623f25115f74e82a0371e9617e416d407d # timeout=10 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-05T13:54:42.143Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-05T13:54:42.322Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-05T13:54:42.422Z] ========================================================= [2022-09-05T13:54:42.422Z] EdgeX Global Pipelines Version Info [2022-09-05T13:54:42.422Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:54:43.206Z] ------------------- [2022-09-05T13:54:43.206Z] stable info: [2022-09-05T13:54:43.206Z] ------------------- [2022-09-05T13:54:43.206Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-05T13:54:43.206Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:54:43.206Z] Message: update stable to v1.0.239 [2022-09-05T13:54:43.778Z] ------------------- [2022-09-05T13:54:43.778Z] experimental info: [2022-09-05T13:54:43.778Z] ------------------- [2022-09-05T13:54:43.778Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-05T13:54:43.778Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-05T13:54:43.778Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-05T13:54:44.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-09-05T13:54:44.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-09-05T13:54:44.235Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-05T13:54:44.277Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-05T13:54:44.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-05T13:54:44.361Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-05T13:54:44.404Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-05T13:54:44.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-05T13:54:44.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-05T13:54:44.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-05T13:54:44.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-05T13:54:44.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-09-05T13:54:44.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-05T13:54:44.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-05T13:54:44.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:54:44.785Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-05T13:54:44.833Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:54:44.880Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-05T13:54:44.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-05T13:54:44.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-05T13:54:45.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-05T13:54:45.071Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-05T13:54:45.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-05T13:54:45.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-05T13:54:45.219Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-05T13:54:45.263Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-05T13:54:45.310Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-05T13:54:45.351Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-189 [Pipeline] echo [2022-09-05T13:54:45.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-189 [Pipeline] echo [2022-09-05T13:54:45.432Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-189 [Pipeline] echo [2022-09-05T13:54:45.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd60ec623f25115f74e82a0371e9617e416d407d [Pipeline] echo [2022-09-05T13:54:45.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd60ec6 [Pipeline] echo [2022-09-05T13:54:45.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:54:45.651Z] provisioning config files... [2022-09-05T13:54:45.666Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/config4800335340292075971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:54:46.014Z] ---> docker-login.sh [2022-09-05T13:54:46.015Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:54:46.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:54:46.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:54:46.545Z] Configure a credential helper to remove this warning. See [2022-09-05T13:54:46.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:54:46.545Z] [2022-09-05T13:54:46.545Z] Login Succeeded [2022-09-05T13:54:46.545Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:54:46.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:54:46.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:54:46.545Z] Configure a credential helper to remove this warning. See [2022-09-05T13:54:46.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:54:46.545Z] [2022-09-05T13:54:46.545Z] Login Succeeded [2022-09-05T13:54:46.545Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:54:46.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:54:46.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:54:46.806Z] Configure a credential helper to remove this warning. See [2022-09-05T13:54:46.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:54:46.806Z] [2022-09-05T13:54:46.806Z] Login Succeeded [2022-09-05T13:54:46.806Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:54:46.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:54:46.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:54:46.806Z] Configure a credential helper to remove this warning. See [2022-09-05T13:54:46.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:54:46.806Z] [2022-09-05T13:54:46.806Z] Login Succeeded [2022-09-05T13:54:46.806Z] docker.io [2022-09-05T13:54:47.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:54:47.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:54:47.331Z] Configure a credential helper to remove this warning. See [2022-09-05T13:54:47.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:54:47.331Z] [2022-09-05T13:54:47.331Z] Login Succeeded [2022-09-05T13:54:47.331Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:54:47.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-05T13:54:48.000Z] + git rev-list -1 --merges fd60ec623f25115f74e82a0371e9617e416d407d~1..fd60ec623f25115f74e82a0371e9617e416d407d [Pipeline] echo [2022-09-05T13:54:48.052Z] -----------> git rev-list -1 --merges fd60ec623f25115f74e82a0371e9617e416d407d~1..fd60ec623f25115f74e82a0371e9617e416d407d fd60ec623f25115f74e82a0371e9617e416d407d [false] [Pipeline] sh [2022-09-05T13:54:48.364Z] + git log --format=format:%s -1 fd60ec623f25115f74e82a0371e9617e416d407d [Pipeline] echo [2022-09-05T13:54:48.399Z] ========================================================= [2022-09-05T13:54:48.399Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-05T13:54:48.399Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:54:48.844Z] + git log --format=format:%s -1 fd60ec623f25115f74e82a0371e9617e416d407d [Pipeline] echo [2022-09-05T13:54:48.875Z] [semverPrep] GIT_COMMIT: fd60ec623f25115f74e82a0371e9617e416d407d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-09-05T13:54:48.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-05T13:54:49.312Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-05T13:54:49.312Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-05T13:54:49.312Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-05T13:54:49.312Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-05T13:54:49.312Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-05T13:54:49.312Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-05T13:54:49.312Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:54:49.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:54:49.806Z] [2022-09-05T13:54:49.806Z] 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-05T13:54:50.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:54:50.181Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-05T13:54:50.181Z] b85a868b505f: Pulling fs layer [2022-09-05T13:54:50.181Z] e2be974225ed: Pulling fs layer [2022-09-05T13:54:50.181Z] 339a4e72a1f5: Pulling fs layer [2022-09-05T13:54:50.181Z] 988bab9f4d93: Pulling fs layer [2022-09-05T13:54:50.181Z] 1469e6f7b9e6: Pulling fs layer [2022-09-05T13:54:50.181Z] eaf3925da568: Pulling fs layer [2022-09-05T13:54:50.181Z] bab4dde63d76: Pulling fs layer [2022-09-05T13:54:50.181Z] bde34c3a00c8: Pulling fs layer [2022-09-05T13:54:50.181Z] b352a97aabf1: Pulling fs layer [2022-09-05T13:54:50.181Z] 4872d77fe225: Pulling fs layer [2022-09-05T13:54:50.181Z] 5851b861e8e6: Pulling fs layer [2022-09-05T13:54:50.181Z] bde34c3a00c8: Waiting [2022-09-05T13:54:50.181Z] 988bab9f4d93: Waiting [2022-09-05T13:54:50.181Z] 1469e6f7b9e6: Waiting [2022-09-05T13:54:50.181Z] eaf3925da568: Waiting [2022-09-05T13:54:50.181Z] bab4dde63d76: Waiting [2022-09-05T13:54:50.181Z] b352a97aabf1: Waiting [2022-09-05T13:54:50.181Z] 4872d77fe225: Waiting [2022-09-05T13:54:50.181Z] 5851b861e8e6: Waiting [2022-09-05T13:54:50.181Z] e2be974225ed: Verifying Checksum [2022-09-05T13:54:50.181Z] e2be974225ed: Download complete [2022-09-05T13:54:50.181Z] 988bab9f4d93: Verifying Checksum [2022-09-05T13:54:50.181Z] 988bab9f4d93: Download complete [2022-09-05T13:54:50.442Z] 1469e6f7b9e6: Verifying Checksum [2022-09-05T13:54:50.442Z] 1469e6f7b9e6: Download complete [2022-09-05T13:54:50.442Z] eaf3925da568: Verifying Checksum [2022-09-05T13:54:50.442Z] eaf3925da568: Download complete [2022-09-05T13:54:50.442Z] 339a4e72a1f5: Verifying Checksum [2022-09-05T13:54:50.442Z] 339a4e72a1f5: Download complete [2022-09-05T13:54:50.442Z] bde34c3a00c8: Download complete [2022-09-05T13:54:50.442Z] b352a97aabf1: Verifying Checksum [2022-09-05T13:54:50.442Z] b352a97aabf1: Download complete [2022-09-05T13:54:50.442Z] 4872d77fe225: Verifying Checksum [2022-09-05T13:54:50.442Z] 4872d77fe225: Download complete [2022-09-05T13:54:50.442Z] 5851b861e8e6: Verifying Checksum [2022-09-05T13:54:50.442Z] 5851b861e8e6: Download complete [2022-09-05T13:54:50.442Z] b85a868b505f: Verifying Checksum [2022-09-05T13:54:50.442Z] b85a868b505f: Download complete [2022-09-05T13:54:50.703Z] bab4dde63d76: Verifying Checksum [2022-09-05T13:54:50.703Z] bab4dde63d76: Download complete [2022-09-05T13:54:51.644Z] b85a868b505f: Pull complete [2022-09-05T13:54:51.905Z] e2be974225ed: Pull complete [2022-09-05T13:54:52.476Z] 339a4e72a1f5: Pull complete [2022-09-05T13:54:52.476Z] 988bab9f4d93: Pull complete [2022-09-05T13:54:52.737Z] 1469e6f7b9e6: Pull complete [2022-09-05T13:54:52.737Z] eaf3925da568: Pull complete [2022-09-05T13:54:54.646Z] bab4dde63d76: Pull complete [2022-09-05T13:54:54.911Z] bde34c3a00c8: Pull complete [2022-09-05T13:54:54.911Z] b352a97aabf1: Pull complete [2022-09-05T13:54:54.911Z] 4872d77fe225: Pull complete [2022-09-05T13:54:55.172Z] 5851b861e8e6: Pull complete [2022-09-05T13:54:55.172Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-05T13:54:55.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-05T13:54:55.172Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:54:55.408Z] prd-ubuntu20.04-docker-8c-8g-24591 does not seem to be running inside a container [2022-09-05T13:54:55.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-189 -v /w/workspace/gexfoundry_device-snmp-go_PR-189:/w/workspace/gexfoundry_device-snmp-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-05T13:54:57.738Z] $ docker top f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 -eo pid,comm [2022-09-05T13:54:57.811Z] 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-05T13:54:57.811Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-05T13:54:57.929Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:54:57.929Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:54:58.063Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:54:58.067Z] $ docker exec f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 ssh-agent [2022-09-05T13:54:58.196Z] SSH_AUTH_SOCK=/tmp/ssh-DUqjwVmLk8hl/agent.33 [2022-09-05T13:54:58.196Z] SSH_AGENT_PID=39 [2022-09-05T13:54:58.207Z] Running ssh-add (command line suppressed) [2022-09-05T13:54:58.317Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/private_key_4343531098836892003.key (/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/private_key_4343531098836892003.key) [2022-09-05T13:54:58.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:54:58.665Z] + git tag --points-at HEAD [Pipeline] } [2022-09-05T13:54:58.687Z] $ docker exec --env ******** --env ******** f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 ssh-agent -k [2022-09-05T13:54:58.816Z] unset SSH_AUTH_SOCK; [2022-09-05T13:54:58.817Z] unset SSH_AGENT_PID; [2022-09-05T13:54:58.817Z] echo Agent pid 39 killed; [2022-09-05T13:54:58.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-05T13:54:58.918Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-05T13:54:58.918Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-05T13:54:59.053Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-05T13:54:59.056Z] $ docker exec f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 ssh-agent [2022-09-05T13:54:59.167Z] SSH_AUTH_SOCK=/tmp/ssh-Nm6gIZT79DY4/agent.72 [2022-09-05T13:54:59.167Z] SSH_AGENT_PID=78 [2022-09-05T13:54:59.172Z] Running ssh-add (command line suppressed) [2022-09-05T13:54:59.293Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/private_key_4876316157240960267.key (/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/private_key_4876316157240960267.key) [2022-09-05T13:54:59.309Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-05T13:54:59.644Z] + git semver init [2022-09-05T13:54:59.904Z] 2022-09-05 13:54:59,839 [run_init] DEBUG init version:0.0.0 force:False [2022-09-05T13:54:59.904Z] 2022-09-05 13:54:59,840 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver [2022-09-05T13:54:59.904Z] 2022-09-05 13:54:59,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-189/.semver [2022-09-05T13:54:59.904Z] 2022-09-05 13:54:59,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-189, universal_newlines=False, shell=None, istream=None) [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,720 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-189/.git/info/exclude [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,721 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver/PR-189 with force:False [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,721 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver/PR-189 [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,726 [execute] INFO git cat-file --batch-check [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,731 [execute] INFO git cat-file --batch [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-189/.semver, universal_newlines=False, shell=None, istream=) [2022-09-05T13:55:00.844Z] 2022-09-05 13:55:00,736 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-189/.semver/PR-189 [2022-09-05T13:55:00.844Z] 0.0.0 [Pipeline] } [2022-09-05T13:55:00.873Z] $ docker exec --env ******** --env ******** f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 ssh-agent -k [2022-09-05T13:55:00.994Z] unset SSH_AUTH_SOCK; [2022-09-05T13:55:00.994Z] unset SSH_AGENT_PID; [2022-09-05T13:55:00.994Z] echo Agent pid 78 killed; [2022-09-05T13:55:01.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-05T13:55:01.435Z] + git semver [Pipeline] } [2022-09-05T13:55:01.722Z] $ docker stop --time=1 f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 [2022-09-05T13:55:03.019Z] $ docker rm -f f930861ecf982199c350d22f1b0cb344e3c532034e1dbb03aadb60844e3dd000 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:55:03.434Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-05T13:55:03.714Z] Stashed 1 file(s) [Pipeline] echo [2022-09-05T13:55:03.731Z] [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-05T13:55:04.402Z] provisioning config files... [2022-09-05T13:55:04.413Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/config9157862298439856426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:55:04.770Z] ---> docker-login.sh [2022-09-05T13:55:04.770Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:55:04.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:55:04.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:55:04.770Z] Configure a credential helper to remove this warning. See [2022-09-05T13:55:04.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:55:04.770Z] [2022-09-05T13:55:04.770Z] Login Succeeded [2022-09-05T13:55:04.770Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:55:04.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:55:05.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:55:05.037Z] Configure a credential helper to remove this warning. See [2022-09-05T13:55:05.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:55:05.037Z] [2022-09-05T13:55:05.037Z] Login Succeeded [2022-09-05T13:55:05.037Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:55:05.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:55:05.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:55:05.037Z] Configure a credential helper to remove this warning. See [2022-09-05T13:55:05.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:55:05.037Z] [2022-09-05T13:55:05.037Z] Login Succeeded [2022-09-05T13:55:05.037Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:55:05.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:55:05.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:55:05.299Z] Configure a credential helper to remove this warning. See [2022-09-05T13:55:05.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:55:05.299Z] [2022-09-05T13:55:05.299Z] Login Succeeded [2022-09-05T13:55:05.299Z] docker.io [2022-09-05T13:55:05.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:55:05.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:55:05.560Z] Configure a credential helper to remove this warning. See [2022-09-05T13:55:05.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:55:05.560Z] [2022-09-05T13:55:05.560Z] Login Succeeded [2022-09-05T13:55:05.560Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:55:05.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:55:05.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:55:05.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:55:05.854Z] ========================================================= [2022-09-05T13:55:05.854Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-05T13:55:05.854Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:55:06.319Z] + 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-05T13:55:06.319Z] Sending build context to Docker daemon 5.469MB [2022-09-05T13:55:06.319Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:55:06.319Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-05T13:55:06.319Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-05T13:55:06.319Z] 2408cc74d12b: Pulling fs layer [2022-09-05T13:55:06.319Z] ea60b727a1ce: Pulling fs layer [2022-09-05T13:55:06.319Z] 30c4a7721957: Pulling fs layer [2022-09-05T13:55:06.319Z] 370296b7ddb6: Pulling fs layer [2022-09-05T13:55:06.319Z] 7c6cee850709: Pulling fs layer [2022-09-05T13:55:06.319Z] 39a5fcdaea64: Pulling fs layer [2022-09-05T13:55:06.319Z] d94ebbe4e438: Pulling fs layer [2022-09-05T13:55:06.319Z] bcfd1f05c69d: Pulling fs layer [2022-09-05T13:55:06.319Z] 59ccb84bbe0f: Pulling fs layer [2022-09-05T13:55:06.319Z] 7c6cee850709: Waiting [2022-09-05T13:55:06.319Z] 39a5fcdaea64: Waiting [2022-09-05T13:55:06.319Z] d94ebbe4e438: Waiting [2022-09-05T13:55:06.319Z] 370296b7ddb6: Waiting [2022-09-05T13:55:06.319Z] bcfd1f05c69d: Waiting [2022-09-05T13:55:06.319Z] 59ccb84bbe0f: Waiting [2022-09-05T13:55:06.319Z] ea60b727a1ce: Verifying Checksum [2022-09-05T13:55:06.319Z] ea60b727a1ce: Download complete [2022-09-05T13:55:06.319Z] 30c4a7721957: Verifying Checksum [2022-09-05T13:55:06.319Z] 30c4a7721957: Download complete [2022-09-05T13:55:06.319Z] 7c6cee850709: Verifying Checksum [2022-09-05T13:55:06.319Z] 7c6cee850709: Download complete [2022-09-05T13:55:06.581Z] 39a5fcdaea64: Download complete [2022-09-05T13:55:06.581Z] 2408cc74d12b: Verifying Checksum [2022-09-05T13:55:06.581Z] 2408cc74d12b: Download complete [2022-09-05T13:55:06.581Z] d94ebbe4e438: Download complete [2022-09-05T13:55:06.581Z] 2408cc74d12b: Pull complete [2022-09-05T13:55:06.842Z] ea60b727a1ce: Pull complete [2022-09-05T13:55:06.842Z] 30c4a7721957: Pull complete [2022-09-05T13:55:06.842Z] 59ccb84bbe0f: Verifying Checksum [2022-09-05T13:55:06.842Z] 59ccb84bbe0f: Download complete [2022-09-05T13:55:07.100Z] bcfd1f05c69d: Verifying Checksum [2022-09-05T13:55:07.100Z] bcfd1f05c69d: Download complete [2022-09-05T13:55:07.100Z] 370296b7ddb6: Verifying Checksum [2022-09-05T13:55:07.100Z] 370296b7ddb6: Download complete [2022-09-05T13:55:11.291Z] 370296b7ddb6: Pull complete [2022-09-05T13:55:11.291Z] 7c6cee850709: Pull complete [2022-09-05T13:55:11.291Z] 39a5fcdaea64: Pull complete [2022-09-05T13:55:11.291Z] d94ebbe4e438: Pull complete [2022-09-05T13:55:13.830Z] bcfd1f05c69d: Pull complete [2022-09-05T13:55:14.397Z] 59ccb84bbe0f: Pull complete [2022-09-05T13:55:14.397Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-05T13:55:14.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-05T13:55:14.397Z] ---> a4fb48ad2a94 [2022-09-05T13:55:14.397Z] Step 3/12 : ARG MAKE='make build' [2022-09-05T13:55:18.604Z] ---> Running in d8835ce13d60 [2022-09-05T13:55:18.604Z] Removing intermediate container d8835ce13d60 [2022-09-05T13:55:18.604Z] ---> be126c1bf5a3 [2022-09-05T13:55:18.604Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:55:18.604Z] ---> Running in d37414ebf6c4 [2022-09-05T13:55:18.604Z] Removing intermediate container d37414ebf6c4 [2022-09-05T13:55:18.604Z] ---> 74a03bd4cb09 [2022-09-05T13:55:18.604Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:55:18.604Z] ---> Running in 3611c4a1704d [2022-09-05T13:55:18.604Z] Removing intermediate container 3611c4a1704d [2022-09-05T13:55:18.604Z] ---> 032de9b747b7 [2022-09-05T13:55:18.604Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:55:18.604Z] ---> Running in 4ea17b16cf1f [2022-09-05T13:55:19.175Z] Removing intermediate container 4ea17b16cf1f [2022-09-05T13:55:19.175Z] ---> 3a8445c76c5b [2022-09-05T13:55:19.175Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:55:19.175Z] ---> Running in e2801fb371b2 [2022-09-05T13:55:19.200Z] Still waiting to schedule task [2022-09-05T13:55:19.201Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-05T13:55:19.435Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:55:20.381Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:55:20.641Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T13:55:20.641Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T13:55:20.901Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T13:55:20.901Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T13:55:21.166Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T13:55:21.166Z] OK: 216 MiB in 55 packages [2022-09-05T13:55:21.428Z] Removing intermediate container e2801fb371b2 [2022-09-05T13:55:21.428Z] ---> 5e0559d5278b [2022-09-05T13:55:21.428Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-05T13:55:21.428Z] ---> Running in 1a15dd115b58 [2022-09-05T13:55:21.690Z] Removing intermediate container 1a15dd115b58 [2022-09-05T13:55:21.690Z] ---> d41d790d4b3e [2022-09-05T13:55:21.690Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-05T13:55:21.690Z] ---> 7b30326fa355 [2022-09-05T13:55:21.690Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:55:21.690Z] ---> Running in 90a393a654ab [2022-09-05T13:55:43.655Z] Removing intermediate container 90a393a654ab [2022-09-05T13:55:43.655Z] ---> d246ccb6be34 [2022-09-05T13:55:43.655Z] Step 11/12 : COPY . . [2022-09-05T13:55:43.655Z] ---> 253f61f6f17f [2022-09-05T13:55:43.655Z] Step 12/12 : RUN ${MAKE} [2022-09-05T13:55:43.655Z] ---> Running in 3ebcaaa2b2b7 [2022-09-05T13:55:43.655Z] noop [2022-09-05T13:55:43.655Z] Removing intermediate container 3ebcaaa2b2b7 [2022-09-05T13:55:43.655Z] ---> d530640798e5 [2022-09-05T13:55:43.655Z] Successfully built d530640798e5 [2022-09-05T13:55:43.655Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:55:44.084Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:55:44.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:55:44.243Z] prd-ubuntu20.04-docker-8c-8g-24591 does not seem to be running inside a container [2022-09-05T13:55:44.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-189 -v /w/workspace/gexfoundry_device-snmp-go_PR-189:/w/workspace/gexfoundry_device-snmp-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-189@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:55:44.630Z] $ docker top 450717aa56d574d7881f05c21222404436fe726e45b2378270b4385234eae7c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:55:45.061Z] + go version [2022-09-05T13:55:45.061Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-05T13:55:45.091Z] $ docker stop --time=1 450717aa56d574d7881f05c21222404436fe726e45b2378270b4385234eae7c3 [2022-09-05T13:55:46.360Z] $ docker rm -f 450717aa56d574d7881f05c21222404436fe726e45b2378270b4385234eae7c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:55:47.068Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-05T13:55:47.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:55:47.244Z] prd-ubuntu20.04-docker-8c-8g-24591 does not seem to be running inside a container [2022-09-05T13:55:47.368Z] $ 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-189 -v /w/workspace/gexfoundry_device-snmp-go_PR-189:/w/workspace/gexfoundry_device-snmp-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-189@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 ******** ci-base-image-x86_64 cat [2022-09-05T13:55:47.696Z] $ docker top ecdd6252da0b76b4678a98913b621159f5b48a3cbe8a21e0b06df8622a8ace73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:55:48.105Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-189 [Pipeline] fileExists [Pipeline] sh [2022-09-05T13:55:48.465Z] + make test [2022-09-05T13:55:48.465Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T13:55:48.723Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-05T13:55:56.834Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-05T13:55:56.834Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2022-09-05T13:56:03.406Z] 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-05T13:56:03.406Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T13:56:05.314Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T13:56:05.314Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T13:56:05.314Z] ./bin/test-attribution-txt.sh [2022-09-05T13:56:05.575Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T13:56:05.575Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T13:56:05.575Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T13:56:05.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T13:56:05.639Z] $ docker stop --time=1 ecdd6252da0b76b4678a98913b621159f5b48a3cbe8a21e0b06df8622a8ace73 [2022-09-05T13:56:08.056Z] $ docker rm -f ecdd6252da0b76b4678a98913b621159f5b48a3cbe8a21e0b06df8622a8ace73 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T13:56:08.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T13:56:08.612Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-05T13:56:09.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T13:56:09.591Z] + ls -al . [2022-09-05T13:56:09.591Z] total 172 [2022-09-05T13:56:09.591Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 13:55 . [2022-09-05T13:56:09.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:54 .. [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 5 13:54 .dockerignore [2022-09-05T13:56:09.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:55 .git [2022-09-05T13:56:09.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:54 .github [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 5 13:54 .gitignore [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 13:54 .golangci.yml [2022-09-05T13:56:09.591Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:55 .semver [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 5 13:54 Attribution.txt [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 5 13:54 CHANGELOG.md [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 5 13:54 Dockerfile [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:54 GOVERNANCE.md [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 5 13:54 Jenkinsfile [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 13:54 LICENSE [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 5 13:54 Makefile [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 13:54 OWNERS.md [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 5 13:54 README.md [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:55 VERSION [2022-09-05T13:56:09.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:54 bin [2022-09-05T13:56:09.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:54 cmd [2022-09-05T13:56:09.591Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 5 13:55 coverage.out [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 5 13:54 go.mod [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 5 13:54 go.sum [2022-09-05T13:56:09.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:54 internal [2022-09-05T13:56:09.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:54 snap [2022-09-05T13:56:09.591Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 5 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:56:09.977Z] + 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=fd60ec623f25115f74e82a0371e9617e416d407d --label arch=amd64 --label version=0.0.0 . [2022-09-05T13:56:09.977Z] Sending build context to Docker daemon 5.477MB [2022-09-05T13:56:09.977Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:56:09.977Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-05T13:56:09.977Z] ---> d530640798e5 [2022-09-05T13:56:09.977Z] Step 3/24 : ARG MAKE='make build' [2022-09-05T13:56:10.238Z] ---> Running in 05b035a811e5 [2022-09-05T13:56:10.238Z] Removing intermediate container 05b035a811e5 [2022-09-05T13:56:10.238Z] ---> bf839f3f65cd [2022-09-05T13:56:10.238Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:56:10.238Z] ---> Running in 19083245081e [2022-09-05T13:56:10.238Z] Removing intermediate container 19083245081e [2022-09-05T13:56:10.238Z] ---> fe80ab3cd81d [2022-09-05T13:56:10.238Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:56:10.238Z] ---> Running in 2884098ff997 [2022-09-05T13:56:10.238Z] Removing intermediate container 2884098ff997 [2022-09-05T13:56:10.238Z] ---> 2d335b64700d [2022-09-05T13:56:10.238Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:56:10.499Z] ---> Running in 017fdf3709e3 [2022-09-05T13:56:11.069Z] Removing intermediate container 017fdf3709e3 [2022-09-05T13:56:11.069Z] ---> b3e7361c255d [2022-09-05T13:56:11.069Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:56:11.069Z] ---> Running in 47e31e57bf41 [2022-09-05T13:56:11.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:12.272Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:12.272Z] OK: 216 MiB in 55 packages [2022-09-05T13:56:12.532Z] Removing intermediate container 47e31e57bf41 [2022-09-05T13:56:12.532Z] ---> 5db6816bb539 [2022-09-05T13:56:12.532Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-05T13:56:12.792Z] ---> Running in 879ef67cad6f [2022-09-05T13:56:12.792Z] Removing intermediate container 879ef67cad6f [2022-09-05T13:56:12.792Z] ---> 7ec5970875d0 [2022-09-05T13:56:12.792Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-05T13:56:12.792Z] ---> 190ce11358f1 [2022-09-05T13:56:12.792Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:56:12.792Z] ---> Running in e663f8e6d7ee [2022-09-05T13:56:13.728Z] Removing intermediate container e663f8e6d7ee [2022-09-05T13:56:13.728Z] ---> 21d31b9390c6 [2022-09-05T13:56:13.728Z] Step 11/24 : COPY . . [2022-09-05T13:56:13.988Z] ---> 4c1122195413 [2022-09-05T13:56:13.988Z] Step 12/24 : RUN ${MAKE} [2022-09-05T13:56:13.988Z] ---> Running in b845e72b2d27 [2022-09-05T13:56:14.250Z] 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-05T13:56:36.183Z] Removing intermediate container b845e72b2d27 [2022-09-05T13:56:36.183Z] ---> b2521a34da24 [2022-09-05T13:56:36.183Z] Step 13/24 : FROM alpine:3.16 [2022-09-05T13:56:36.451Z] 3.16: Pulling from library/alpine [2022-09-05T13:56:36.737Z] 213ec9aee27d: Pulling fs layer [2022-09-05T13:56:36.737Z] 213ec9aee27d: Verifying Checksum [2022-09-05T13:56:36.737Z] 213ec9aee27d: Download complete [2022-09-05T13:56:37.014Z] 213ec9aee27d: Pull complete [2022-09-05T13:56:37.014Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T13:56:37.014Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T13:56:37.014Z] ---> 9c6f07244728 [2022-09-05T13:56:37.014Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T13:56:37.273Z] ---> Running in 24c0d06ad99d [2022-09-05T13:56:37.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:37.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-05T13:56:37.793Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T13:56:37.793Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T13:56:37.793Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T13:56:37.793Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T13:56:37.793Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T13:56:37.793Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T13:56:37.793Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T13:56:37.793Z] OK: 8 MiB in 20 packages [2022-09-05T13:56:38.403Z] Removing intermediate container 24c0d06ad99d [2022-09-05T13:56:38.403Z] ---> 0f0de0fe4862 [2022-09-05T13:56:38.403Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-05T13:56:39.074Z] ---> 4c3caba0cfd8 [2022-09-05T13:56:39.074Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-05T13:56:39.335Z] ---> 3b8fb54f77cb [2022-09-05T13:56:39.335Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-05T13:56:39.335Z] ---> b8c7725333f9 [2022-09-05T13:56:39.335Z] Step 18/24 : EXPOSE 59993 [2022-09-05T13:56:39.335Z] ---> Running in 44f722dec2b8 [2022-09-05T13:56:39.335Z] Removing intermediate container 44f722dec2b8 [2022-09-05T13:56:39.335Z] ---> 08f65a560457 [2022-09-05T13:56:39.335Z] Step 19/24 : EXPOSE 161 [2022-09-05T13:56:39.335Z] ---> Running in 9467727d423b [2022-09-05T13:56:39.598Z] Removing intermediate container 9467727d423b [2022-09-05T13:56:39.598Z] ---> 15742d8b22f8 [2022-09-05T13:56:39.598Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-05T13:56:39.598Z] ---> Running in 9de502cfa79a [2022-09-05T13:56:39.598Z] Removing intermediate container 9de502cfa79a [2022-09-05T13:56:39.598Z] ---> de1ed28159fd [2022-09-05T13:56:39.598Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-05T13:56:39.598Z] ---> Running in a9afc0b5b055 [2022-09-05T13:56:39.598Z] Removing intermediate container a9afc0b5b055 [2022-09-05T13:56:39.598Z] ---> e90cbe13fc13 [2022-09-05T13:56:39.598Z] Step 22/24 : LABEL arch=amd64 [2022-09-05T13:56:39.598Z] ---> Running in 68490566f472 [2022-09-05T13:56:39.858Z] Removing intermediate container 68490566f472 [2022-09-05T13:56:39.858Z] ---> 28441a4c7a95 [2022-09-05T13:56:39.858Z] Step 23/24 : LABEL git_sha=fd60ec623f25115f74e82a0371e9617e416d407d [2022-09-05T13:56:39.858Z] ---> Running in 840748efea16 [2022-09-05T13:56:39.858Z] Removing intermediate container 840748efea16 [2022-09-05T13:56:39.858Z] ---> d3cffac291f7 [2022-09-05T13:56:39.858Z] Step 24/24 : LABEL version=0.0.0 [2022-09-05T13:56:39.858Z] ---> Running in 52d2d8bb9fa5 [2022-09-05T13:56:39.858Z] Removing intermediate container 52d2d8bb9fa5 [2022-09-05T13:56:39.858Z] ---> 80cb2c2d1d82 [2022-09-05T13:56:39.858Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T13:56:39.858Z] Successfully built 80cb2c2d1d82 [2022-09-05T13:56:39.858Z] 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-05T13:56:40.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:56:40.693Z] [2022-09-05T13:56:40.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:56:41.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:56:41.071Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-05T13:56:41.071Z] 5eb5b503b376: Pulling fs layer [2022-09-05T13:56:41.071Z] 5c69ac0246d0: Pulling fs layer [2022-09-05T13:56:41.071Z] ec43610c2a17: Pulling fs layer [2022-09-05T13:56:41.071Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-05T13:56:41.071Z] 33b1e0a273af: Pulling fs layer [2022-09-05T13:56:41.071Z] 5d3b04190fa2: Pulling fs layer [2022-09-05T13:56:41.071Z] 2f39f015ded8: Pulling fs layer [2022-09-05T13:56:41.071Z] 3a2ae6a8a46f: Waiting [2022-09-05T13:56:41.071Z] 33b1e0a273af: Waiting [2022-09-05T13:56:41.071Z] 5d3b04190fa2: Waiting [2022-09-05T13:56:41.071Z] 2f39f015ded8: Waiting [2022-09-05T13:56:41.071Z] 5c69ac0246d0: Verifying Checksum [2022-09-05T13:56:41.071Z] 5c69ac0246d0: Download complete [2022-09-05T13:56:41.071Z] 3a2ae6a8a46f: Download complete [2022-09-05T13:56:41.071Z] 33b1e0a273af: Verifying Checksum [2022-09-05T13:56:41.071Z] 33b1e0a273af: Download complete [2022-09-05T13:56:41.330Z] 5d3b04190fa2: Verifying Checksum [2022-09-05T13:56:41.330Z] 5d3b04190fa2: Download complete [2022-09-05T13:56:41.330Z] ec43610c2a17: Verifying Checksum [2022-09-05T13:56:41.330Z] ec43610c2a17: Download complete [2022-09-05T13:56:41.330Z] 5eb5b503b376: Verifying Checksum [2022-09-05T13:56:41.330Z] 5eb5b503b376: Download complete [2022-09-05T13:56:41.897Z] 2f39f015ded8: Download complete [2022-09-05T13:56:42.466Z] 5eb5b503b376: Pull complete [2022-09-05T13:56:42.725Z] 5c69ac0246d0: Pull complete [2022-09-05T13:56:43.294Z] ec43610c2a17: Pull complete [2022-09-05T13:56:43.294Z] 3a2ae6a8a46f: Pull complete [2022-09-05T13:56:43.552Z] 33b1e0a273af: Pull complete [2022-09-05T13:56:43.552Z] 5d3b04190fa2: Pull complete [2022-09-05T13:56:47.794Z] 2f39f015ded8: Pull complete [2022-09-05T13:56:47.794Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-05T13:56:48.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T13:56:48.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:56:48.281Z] prd-ubuntu20.04-docker-8c-8g-24591 does not seem to be running inside a container [2022-09-05T13:56:48.320Z] $ 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-189 -v /w/workspace/gexfoundry_device-snmp-go_PR-189:/w/workspace/gexfoundry_device-snmp-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-189@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-05T13:56:52.555Z] $ docker top 3395672b96a6ab1f0b59aaf335f554254b46c2fa217b3b67991238f08eca633d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:56:53.067Z] ---> job-cost.sh [2022-09-05T13:56:53.067Z] lf-activate-venv: SKIPPING [2022-09-05T13:56:53.067Z] INFO: No Stack... [2022-09-05T13:56:53.327Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T13:56:53.899Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T13:56:54.220Z] + + cat /w/workspace/gexfoundry_device-snmp-go_PR-189/archives/cost.csvcut [2022-09-05T13:56:54.220Z] -d, -f6 [Pipeline] lock [2022-09-05T13:56:54.256Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [2022-09-05T13:56:54.260Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] did not exist. Created. [2022-09-05T13:56:54.260Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T13:56:54.698Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-05T13:56:54.768Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T13:56:54.779Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T13:56:54.861Z] $ docker stop --time=1 3395672b96a6ab1f0b59aaf335f554254b46c2fa217b3b67991238f08eca633d [2022-09-05T13:56:56.010Z] $ docker rm -f 3395672b96a6ab1f0b59aaf335f554254b46c2fa217b3b67991238f08eca633d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-05T13:57:00.995Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24593 in /w/workspace/gexfoundry_device-snmp-go_PR-189 [Pipeline] { [Pipeline] ws [2022-09-05T13:57:01.037Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-09-05T13:57:01.120Z] Selected Git installation does not exist. Using Default [2022-09-05T13:57:01.120Z] The recommended git tool is: NONE [2022-09-05T13:57:06.936Z] using credential edgex-jenkins-ssh [2022-09-05T13:57:06.956Z] Cloning the remote Git repository [2022-09-05T13:57:07.022Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-09-05T13:57:07.114Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-09-05T13:57:07.201Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-05T13:57:07.205Z] > git --version # timeout=10 [2022-09-05T13:57:07.235Z] > git --version # 'git version 2.25.1' [2022-09-05T13:57:07.236Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:57:07.364Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:57:08.418Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-05T13:57:08.437Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-05T13:57:08.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-09-05T13:57:08.498Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-09-05T13:57:08.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:57:08.511Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-05T13:57:09.078Z] Merging remotes/origin/main commit bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 into PR head commit fd60ec623f25115f74e82a0371e9617e416d407d [2022-09-05T13:57:09.267Z] Merge succeeded, producing fd60ec623f25115f74e82a0371e9617e416d407d [2022-09-05T13:57:09.268Z] Checking out Revision fd60ec623f25115f74e82a0371e9617e416d407d (PR-189) [2022-09-05T13:57:09.094Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:57:09.109Z] > git checkout -f fd60ec623f25115f74e82a0371e9617e416d407d # timeout=10 [2022-09-05T13:57:09.187Z] > git remote # timeout=10 [2022-09-05T13:57:09.203Z] > git config --get remote.origin.url # timeout=10 [2022-09-05T13:57:09.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-05T13:57:09.225Z] > git merge bc9e5fc4f6f386374dc08e9c841744ba7db9ed84 # timeout=10 [2022-09-05T13:57:09.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-05T13:57:09.272Z] > git config core.sparsecheckout # timeout=10 [2022-09-05T13:57:09.288Z] > git checkout -f fd60ec623f25115f74e82a0371e9617e416d407d # timeout=10 [2022-09-05T13:57:13.423Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-09-05T13:57:13.474Z] > git --version # timeout=10 [2022-09-05T13:57:13.483Z] > git --version # 'git version 2.25.1' [2022-09-05T13:57:13.493Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T13:57:14.604Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-05T13:57:14.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T13:57:14.604Z] Dload Upload Total Spent Left Speed [2022-09-05T13:57:14.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82366 [Pipeline] sh [2022-09-05T13:57:15.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-05T13:57:15.980Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-09-05T13:57:15.981Z] [2022-09-05T13:57:15.981Z] { [2022-09-05T13:57:15.981Z] "registry-mirrors": [ [2022-09-05T13:57:15.981Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-05T13:57:15.981Z] ], [2022-09-05T13:57:15.981Z] "bip": "10.250.0.254/24", [2022-09-05T13:57:15.981Z] "hosts": [ [2022-09-05T13:57:15.981Z] "tcp://0.0.0.0:5555", [2022-09-05T13:57:15.981Z] "unix:///var/run/docker.sock" [2022-09-05T13:57:15.981Z] ], [2022-09-05T13:57:15.981Z] "mtu": 1458, [2022-09-05T13:57:15.981Z] "selinux-enabled": true, [2022-09-05T13:57:15.981Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-05T13:57:15.981Z] } [Pipeline] sh [2022-09-05T13:57:16.335Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-05T13:57:16.689Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T13:57:35.071Z] provisioning config files... [2022-09-05T13:57:35.096Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8274821422943070818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T13:57:35.484Z] ---> docker-login.sh [2022-09-05T13:57:35.484Z] nexus3.edgexfoundry.org:10001 [2022-09-05T13:57:36.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:57:36.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:57:36.353Z] Configure a credential helper to remove this warning. See [2022-09-05T13:57:36.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:57:36.353Z] [2022-09-05T13:57:36.353Z] Login Succeeded [2022-09-05T13:57:36.353Z] nexus3.edgexfoundry.org:10002 [2022-09-05T13:57:36.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:57:36.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:57:36.624Z] Configure a credential helper to remove this warning. See [2022-09-05T13:57:36.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:57:36.624Z] [2022-09-05T13:57:36.624Z] Login Succeeded [2022-09-05T13:57:36.624Z] nexus3.edgexfoundry.org:10003 [2022-09-05T13:57:36.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:57:37.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:57:37.172Z] Configure a credential helper to remove this warning. See [2022-09-05T13:57:37.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:57:37.172Z] [2022-09-05T13:57:37.172Z] Login Succeeded [2022-09-05T13:57:37.172Z] nexus3.edgexfoundry.org:10004 [2022-09-05T13:57:37.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:57:37.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:57:37.443Z] Configure a credential helper to remove this warning. See [2022-09-05T13:57:37.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:57:37.443Z] [2022-09-05T13:57:37.443Z] Login Succeeded [2022-09-05T13:57:37.443Z] docker.io [2022-09-05T13:57:37.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-05T13:57:38.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-05T13:57:38.308Z] Configure a credential helper to remove this warning. See [2022-09-05T13:57:38.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-05T13:57:38.308Z] [2022-09-05T13:57:38.308Z] Login Succeeded [2022-09-05T13:57:38.308Z] ---> docker-login.sh ends [Pipeline] } [2022-09-05T13:57:38.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-05T13:57:38.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:57:38.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-05T13:57:38.815Z] ========================================================= [2022-09-05T13:57:38.815Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-05T13:57:38.815Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:57:39.309Z] + 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-05T13:57:39.581Z] Sending build context to Docker daemon 2.821MB [2022-09-05T13:57:39.581Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T13:57:39.581Z] Step 2/12 : FROM ${BASE} AS builder [2022-09-05T13:57:39.863Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-05T13:57:39.863Z] b3c136eddcbf: Pulling fs layer [2022-09-05T13:57:39.863Z] c0a3192eca97: Pulling fs layer [2022-09-05T13:57:39.863Z] a050256f5b6f: Pulling fs layer [2022-09-05T13:57:39.863Z] 656be50a0ddc: Pulling fs layer [2022-09-05T13:57:39.863Z] 2bbca73fdf42: Pulling fs layer [2022-09-05T13:57:39.863Z] 46d945488cbd: Pulling fs layer [2022-09-05T13:57:39.863Z] 8a5474983e97: Pulling fs layer [2022-09-05T13:57:39.863Z] 329c88fbcd65: Pulling fs layer [2022-09-05T13:57:39.863Z] 46d945488cbd: Waiting [2022-09-05T13:57:39.863Z] 8a5474983e97: Waiting [2022-09-05T13:57:39.863Z] 329c88fbcd65: Waiting [2022-09-05T13:57:39.863Z] 656be50a0ddc: Waiting [2022-09-05T13:57:39.863Z] 2bbca73fdf42: Waiting [2022-09-05T13:57:39.863Z] a050256f5b6f: Verifying Checksum [2022-09-05T13:57:39.863Z] a050256f5b6f: Download complete [2022-09-05T13:57:39.863Z] c0a3192eca97: Verifying Checksum [2022-09-05T13:57:39.863Z] c0a3192eca97: Download complete [2022-09-05T13:57:39.863Z] 2bbca73fdf42: Verifying Checksum [2022-09-05T13:57:39.863Z] 2bbca73fdf42: Download complete [2022-09-05T13:57:39.863Z] 46d945488cbd: Verifying Checksum [2022-09-05T13:57:39.863Z] 46d945488cbd: Download complete [2022-09-05T13:57:39.863Z] b3c136eddcbf: Download complete [2022-09-05T13:57:40.880Z] b3c136eddcbf: Pull complete [2022-09-05T13:57:40.880Z] 329c88fbcd65: Verifying Checksum [2022-09-05T13:57:40.880Z] 329c88fbcd65: Download complete [2022-09-05T13:57:41.156Z] c0a3192eca97: Pull complete [2022-09-05T13:57:41.757Z] a050256f5b6f: Pull complete [2022-09-05T13:57:41.757Z] 8a5474983e97: Verifying Checksum [2022-09-05T13:57:41.757Z] 8a5474983e97: Download complete [2022-09-05T13:57:42.730Z] 656be50a0ddc: Download complete [2022-09-05T13:57:55.120Z] 656be50a0ddc: Pull complete [2022-09-05T13:57:55.120Z] 2bbca73fdf42: Pull complete [2022-09-05T13:57:55.120Z] 46d945488cbd: Pull complete [2022-09-05T13:58:01.850Z] 8a5474983e97: Pull complete [2022-09-05T13:58:03.846Z] 329c88fbcd65: Pull complete [2022-09-05T13:58:03.846Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-05T13:58:03.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-05T13:58:03.846Z] ---> ff4287adb874 [2022-09-05T13:58:03.846Z] Step 3/12 : ARG MAKE='make build' [2022-09-05T13:58:04.856Z] ---> Running in 1e210a58a585 [2022-09-05T13:58:05.131Z] Removing intermediate container 1e210a58a585 [2022-09-05T13:58:05.131Z] ---> f8345142b6ff [2022-09-05T13:58:05.131Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T13:58:05.131Z] ---> Running in b5769e096f0a [2022-09-05T13:58:05.735Z] Removing intermediate container b5769e096f0a [2022-09-05T13:58:05.735Z] ---> 05412d80d358 [2022-09-05T13:58:05.735Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T13:58:05.735Z] ---> Running in 8dbb737da7c2 [2022-09-05T13:58:07.186Z] Removing intermediate container 8dbb737da7c2 [2022-09-05T13:58:07.186Z] ---> e40056b51f0f [2022-09-05T13:58:07.186Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T13:58:07.186Z] ---> Running in c7db8ded9913 [2022-09-05T13:58:08.634Z] Removing intermediate container c7db8ded9913 [2022-09-05T13:58:08.634Z] ---> ff93b56b2533 [2022-09-05T13:58:08.634Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T13:58:08.912Z] ---> Running in a2cc75d54f47 [2022-09-05T13:58:09.893Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T13:58:10.876Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T13:58:11.860Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-05T13:58:11.860Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-05T13:58:11.860Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-05T13:58:12.134Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-05T13:58:12.408Z] Executing busybox-1.35.0-r13.trigger [2022-09-05T13:58:12.409Z] OK: 226 MiB in 55 packages [2022-09-05T13:58:13.399Z] Removing intermediate container a2cc75d54f47 [2022-09-05T13:58:13.399Z] ---> b83ad7dc4bfd [2022-09-05T13:58:13.399Z] Step 8/12 : WORKDIR /device-snmp-go [2022-09-05T13:58:13.399Z] ---> Running in cedd41bd10c9 [2022-09-05T13:58:13.678Z] Removing intermediate container cedd41bd10c9 [2022-09-05T13:58:13.678Z] ---> 8d919444fa34 [2022-09-05T13:58:13.678Z] Step 9/12 : COPY go.mod vendor* ./ [2022-09-05T13:58:14.284Z] ---> 10f067797f75 [2022-09-05T13:58:14.284Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T13:58:14.284Z] ---> Running in 5412be96aec3 [2022-09-05T13:59:01.288Z] Removing intermediate container 5412be96aec3 [2022-09-05T13:59:01.288Z] ---> bc34b1443b6f [2022-09-05T13:59:01.288Z] Step 11/12 : COPY . . [2022-09-05T13:59:01.288Z] ---> 765961adfb7d [2022-09-05T13:59:01.288Z] Step 12/12 : RUN ${MAKE} [2022-09-05T13:59:01.288Z] ---> Running in 44285a268587 [2022-09-05T13:59:01.288Z] noop [2022-09-05T13:59:02.263Z] Removing intermediate container 44285a268587 [2022-09-05T13:59:02.263Z] ---> c8ea63f6b60d [2022-09-05T13:59:02.263Z] Successfully built c8ea63f6b60d [2022-09-05T13:59:02.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:59:02.756Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T13:59:02.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:59:03.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-24593 does not seem to be running inside a container [2022-09-05T13:59:03.143Z] $ 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-05T13:59:04.476Z] $ docker top da7e7e56f736497977d22e7b22a35a3a4dd4d8b0fc3c865ee7d2b5c03aaec1a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:59:05.416Z] + go version [2022-09-05T13:59:05.416Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-05T13:59:05.448Z] $ docker stop --time=1 da7e7e56f736497977d22e7b22a35a3a4dd4d8b0fc3c865ee7d2b5c03aaec1a4 [2022-09-05T13:59:07.174Z] $ docker rm -f da7e7e56f736497977d22e7b22a35a3a4dd4d8b0fc3c865ee7d2b5c03aaec1a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T13:59:08.131Z] + docker inspect -f . ci-base-image-arm64 [2022-09-05T13:59:08.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T13:59:08.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-24593 does not seem to be running inside a container [2022-09-05T13:59:08.515Z] $ 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-05T13:59:09.797Z] $ docker top d9c307a60534f8e5183e68bf98f6bb95e59b118b6d49aab3f4a5ee886e630973 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T13:59:10.746Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-09-05T13:59:11.464Z] + make test [2022-09-05T13:59:11.465Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-05T13:59:12.898Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-09-05T14:00:34.807Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-09-05T14:00:34.807Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-09-05T14:00:34.807Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-05T14:00:34.807Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-05T14:00:53.171Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-05T14:00:53.171Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-05T14:00:53.171Z] ./bin/test-attribution-txt.sh [2022-09-05T14:00:53.171Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-05T14:00:53.171Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-05T14:00:53.171Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-05T14:00:53.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-05T14:00:53.242Z] $ docker stop --time=1 d9c307a60534f8e5183e68bf98f6bb95e59b118b6d49aab3f4a5ee886e630973 [2022-09-05T14:00:55.084Z] $ docker rm -f d9c307a60534f8e5183e68bf98f6bb95e59b118b6d49aab3f4a5ee886e630973 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-05T14:00:56.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-05T14:00:56.236Z] Warning: overwriting stash ‘coverage-report’ [2022-09-05T14:00:56.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-05T14:00:57.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-05T14:00:57.702Z] + ls -al . [2022-09-05T14:00:57.702Z] total 168 [2022-09-05T14:00:57.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:59 . [2022-09-05T14:00:57.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:57 .. [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 6 Sep 5 13:57 .dockerignore [2022-09-05T14:00:57.702Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 13:57 .git [2022-09-05T14:00:57.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:57 .github [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 328 Sep 5 13:57 .gitignore [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 13:57 .golangci.yml [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 8556 Sep 5 13:57 Attribution.txt [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 6948 Sep 5 13:57 CHANGELOG.md [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 1518 Sep 5 13:57 Dockerfile [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 13:57 GOVERNANCE.md [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 656 Sep 5 13:57 Jenkinsfile [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 13:57 LICENSE [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 2334 Sep 5 13:57 Makefile [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 13:57 OWNERS.md [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 9390 Sep 5 13:57 README.md [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 13:55 VERSION [2022-09-05T14:00:57.702Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 13:57 bin [2022-09-05T14:00:57.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:57 cmd [2022-09-05T14:00:57.702Z] -rw-r--r-- 1 jenkins jenkins 7631 Sep 5 14:00 coverage.out [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 3439 Sep 5 13:57 go.mod [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 36897 Sep 5 13:57 go.sum [2022-09-05T14:00:57.702Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 13:57 internal [2022-09-05T14:00:57.702Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 13:57 snap [2022-09-05T14:00:57.702Z] -rw-rw-r-- 1 jenkins jenkins 228 Sep 5 13:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:00:58.141Z] + 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=fd60ec623f25115f74e82a0371e9617e416d407d --label arch=arm64 --label version=0.0.0 . [2022-09-05T14:00:58.417Z] Sending build context to Docker daemon 2.829MB [2022-09-05T14:00:58.417Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-09-05T14:00:58.417Z] Step 2/24 : FROM ${BASE} AS builder [2022-09-05T14:00:58.417Z] ---> c8ea63f6b60d [2022-09-05T14:00:58.417Z] Step 3/24 : ARG MAKE='make build' [2022-09-05T14:00:58.700Z] ---> Running in 2503e61e07a6 [2022-09-05T14:00:58.975Z] Removing intermediate container 2503e61e07a6 [2022-09-05T14:00:58.975Z] ---> edebaee0db9d [2022-09-05T14:00:58.975Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-05T14:00:58.975Z] ---> Running in 96d6af1e5371 [2022-09-05T14:00:59.254Z] Removing intermediate container 96d6af1e5371 [2022-09-05T14:00:59.254Z] ---> c49a24eb3021 [2022-09-05T14:00:59.254Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-09-05T14:00:59.530Z] ---> Running in 5c1f716a9a3e [2022-09-05T14:00:59.812Z] Removing intermediate container 5c1f716a9a3e [2022-09-05T14:00:59.812Z] ---> a87d667a119c [2022-09-05T14:00:59.812Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-05T14:00:59.812Z] ---> Running in dac2e370b8ad [2022-09-05T14:01:01.804Z] Removing intermediate container dac2e370b8ad [2022-09-05T14:01:01.805Z] ---> 2cbcf5f0f4e9 [2022-09-05T14:01:01.805Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-05T14:01:01.805Z] ---> Running in 8360421ec301 [2022-09-05T14:01:02.798Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T14:01:03.783Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T14:01:04.381Z] OK: 226 MiB in 55 packages [2022-09-05T14:01:05.365Z] Removing intermediate container 8360421ec301 [2022-09-05T14:01:05.365Z] ---> 4430fe084ba4 [2022-09-05T14:01:05.365Z] Step 8/24 : WORKDIR /device-snmp-go [2022-09-05T14:01:05.365Z] ---> Running in 7c68b117c895 [2022-09-05T14:01:05.969Z] Removing intermediate container 7c68b117c895 [2022-09-05T14:01:05.969Z] ---> a2f2aa363978 [2022-09-05T14:01:05.969Z] Step 9/24 : COPY go.mod vendor* ./ [2022-09-05T14:01:06.250Z] ---> 92900f30ba86 [2022-09-05T14:01:06.250Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-05T14:01:06.533Z] ---> Running in 90556151a360 [2022-09-05T14:01:08.523Z] Removing intermediate container 90556151a360 [2022-09-05T14:01:08.523Z] ---> a8480a4d7721 [2022-09-05T14:01:08.523Z] Step 11/24 : COPY . . [2022-09-05T14:01:09.121Z] ---> 8a304a048833 [2022-09-05T14:01:09.121Z] Step 12/24 : RUN ${MAKE} [2022-09-05T14:01:09.396Z] ---> Running in fa0b5c08d873 [2022-09-05T14:01:10.376Z] 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.20 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-09-05T14:03:32.301Z] Removing intermediate container fa0b5c08d873 [2022-09-05T14:03:32.301Z] ---> 55c2ebd9cc38 [2022-09-05T14:03:32.301Z] Step 13/24 : FROM alpine:3.16 [2022-09-05T14:03:32.301Z] 3.16: Pulling from library/alpine [2022-09-05T14:03:32.301Z] 9b18e9b68314: Pulling fs layer [2022-09-05T14:03:32.301Z] 9b18e9b68314: Verifying Checksum [2022-09-05T14:03:32.301Z] 9b18e9b68314: Download complete [2022-09-05T14:03:32.301Z] 9b18e9b68314: Pull complete [2022-09-05T14:03:32.301Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-05T14:03:32.301Z] Status: Downloaded newer image for alpine:3.16 [2022-09-05T14:03:32.301Z] ---> a6215f271958 [2022-09-05T14:03:32.301Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-05T14:03:32.301Z] ---> Running in a28bd7ebd5a9 [2022-09-05T14:03:32.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-05T14:03:32.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-05T14:03:32.301Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-05T14:03:32.301Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-05T14:03:32.301Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-05T14:03:32.301Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-05T14:03:32.301Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-05T14:03:32.301Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-05T14:03:32.301Z] Executing busybox-1.35.0-r17.trigger [2022-09-05T14:03:32.301Z] OK: 8 MiB in 20 packages [2022-09-05T14:03:32.301Z] Removing intermediate container a28bd7ebd5a9 [2022-09-05T14:03:32.301Z] ---> 3da88c16ca9e [2022-09-05T14:03:32.301Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-09-05T14:03:32.301Z] ---> b544355ba720 [2022-09-05T14:03:32.301Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-09-05T14:03:32.301Z] ---> 13fbdf4c570a [2022-09-05T14:03:32.301Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-09-05T14:03:32.301Z] ---> 6c9332d0fcb3 [2022-09-05T14:03:32.301Z] Step 18/24 : EXPOSE 59993 [2022-09-05T14:03:32.301Z] ---> Running in 8a96185eb670 [2022-09-05T14:03:32.301Z] Removing intermediate container 8a96185eb670 [2022-09-05T14:03:32.301Z] ---> 2e6baa7dd646 [2022-09-05T14:03:32.301Z] Step 19/24 : EXPOSE 161 [2022-09-05T14:03:32.301Z] ---> Running in 84d3ca9ee707 [2022-09-05T14:03:32.301Z] Removing intermediate container 84d3ca9ee707 [2022-09-05T14:03:32.301Z] ---> 882a9bee1af2 [2022-09-05T14:03:32.301Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-09-05T14:03:32.301Z] ---> Running in f85237e66984 [2022-09-05T14:03:32.301Z] Removing intermediate container f85237e66984 [2022-09-05T14:03:32.301Z] ---> e78c09ada4c5 [2022-09-05T14:03:32.301Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-09-05T14:03:32.301Z] ---> Running in 82fb75327e4b [2022-09-05T14:03:32.301Z] Removing intermediate container 82fb75327e4b [2022-09-05T14:03:32.301Z] ---> e5210078d85a [2022-09-05T14:03:32.301Z] Step 22/24 : LABEL arch=arm64 [2022-09-05T14:03:32.301Z] ---> Running in 381b7c9cfea6 [2022-09-05T14:03:32.301Z] Removing intermediate container 381b7c9cfea6 [2022-09-05T14:03:32.301Z] ---> e99f69b4f5fb [2022-09-05T14:03:32.301Z] Step 23/24 : LABEL git_sha=fd60ec623f25115f74e82a0371e9617e416d407d [2022-09-05T14:03:32.301Z] ---> Running in 7084322114e9 [2022-09-05T14:03:32.301Z] Removing intermediate container 7084322114e9 [2022-09-05T14:03:32.301Z] ---> 699ccd0b8404 [2022-09-05T14:03:32.301Z] Step 24/24 : LABEL version=0.0.0 [2022-09-05T14:03:32.301Z] ---> Running in 28b4bbeed78f [2022-09-05T14:03:32.301Z] Removing intermediate container 28b4bbeed78f [2022-09-05T14:03:32.301Z] ---> 6cf456a99cb2 [2022-09-05T14:03:32.301Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-05T14:03:32.301Z] Successfully built 6cf456a99cb2 [2022-09-05T14:03:32.301Z] 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-05T14:03:33.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:03:33.134Z] [2022-09-05T14:03:33.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:03:33.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:03:33.835Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-05T14:03:33.835Z] 8998bd30e6a1: Pulling fs layer [2022-09-05T14:03:33.835Z] 04944245beec: Pulling fs layer [2022-09-05T14:03:33.835Z] 699f458cf7ca: Pulling fs layer [2022-09-05T14:03:33.835Z] 765212b225bb: Pulling fs layer [2022-09-05T14:03:33.835Z] f23df028b6ca: Pulling fs layer [2022-09-05T14:03:33.835Z] d65c8cfc05b1: Pulling fs layer [2022-09-05T14:03:33.835Z] 2437ff75d9bd: Pulling fs layer [2022-09-05T14:03:33.835Z] 765212b225bb: Waiting [2022-09-05T14:03:33.835Z] f23df028b6ca: Waiting [2022-09-05T14:03:33.835Z] 2437ff75d9bd: Waiting [2022-09-05T14:03:33.835Z] d65c8cfc05b1: Waiting [2022-09-05T14:03:33.835Z] 04944245beec: Verifying Checksum [2022-09-05T14:03:33.835Z] 04944245beec: Download complete [2022-09-05T14:03:33.835Z] 765212b225bb: Verifying Checksum [2022-09-05T14:03:33.835Z] 765212b225bb: Download complete [2022-09-05T14:03:33.835Z] f23df028b6ca: Verifying Checksum [2022-09-05T14:03:33.835Z] f23df028b6ca: Download complete [2022-09-05T14:03:33.835Z] d65c8cfc05b1: Verifying Checksum [2022-09-05T14:03:33.835Z] d65c8cfc05b1: Download complete [2022-09-05T14:03:34.115Z] 699f458cf7ca: Verifying Checksum [2022-09-05T14:03:34.115Z] 699f458cf7ca: Download complete [2022-09-05T14:03:34.393Z] 8998bd30e6a1: Verifying Checksum [2022-09-05T14:03:34.393Z] 8998bd30e6a1: Download complete [2022-09-05T14:03:37.027Z] 2437ff75d9bd: Verifying Checksum [2022-09-05T14:03:37.027Z] 2437ff75d9bd: Download complete [2022-09-05T14:03:39.009Z] 8998bd30e6a1: Pull complete [2022-09-05T14:03:39.283Z] 04944245beec: Pull complete [2022-09-05T14:03:40.720Z] 699f458cf7ca: Pull complete [2022-09-05T14:03:40.720Z] 765212b225bb: Pull complete [2022-09-05T14:03:41.705Z] f23df028b6ca: Pull complete [2022-09-05T14:03:41.978Z] d65c8cfc05b1: Pull complete [2022-09-05T14:03:57.066Z] 2437ff75d9bd: Pull complete [2022-09-05T14:03:57.066Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-05T14:03:57.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-05T14:03:57.066Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:03:57.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-24593 does not seem to be running inside a container [2022-09-05T14:03:57.561Z] $ 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-05T14:04:00.341Z] $ docker top 2b33076a35030e9fc84e9374e5fcdb7c9995b238c5fec45cd0d4c7e0221c6e69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:01.328Z] ---> job-cost.sh [2022-09-05T14:04:01.328Z] lf-activate-venv: SKIPPING [2022-09-05T14:04:01.328Z] INFO: No Stack... [2022-09-05T14:04:01.925Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-05T14:04:02.520Z] INFO: Archiving Costs [Pipeline] sh [2022-09-05T14:04:03.208Z] + + catcut /w/workspace/device-snmp-go/1/archives/cost.csv -d, [2022-09-05T14:04:03.208Z] -f6 [Pipeline] lock [2022-09-05T14:04:03.291Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [2022-09-05T14:04:03.296Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] did not exist. Created. [2022-09-05T14:04:03.296Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-05T14:04:04.059Z] /w/workspace/device-snmp-go/1@tmp/durable-e36bbf6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-05T14:04:04.773Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-05T14:04:04.809Z] Warning: overwriting stash ‘stack-cost’ [2022-09-05T14:04:04.858Z] Stashed 1 file(s) [Pipeline] } [2022-09-05T14:04:04.873Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-189-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-05T14:04:04.949Z] $ docker stop --time=1 2b33076a35030e9fc84e9374e5fcdb7c9995b238c5fec45cd0d4c7e0221c6e69 [2022-09-05T14:04:06.441Z] $ docker rm -f 2b33076a35030e9fc84e9374e5fcdb7c9995b238c5fec45cd0d4c7e0221c6e69 [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-05T14:04:07.464Z] provisioning config files... [2022-09-05T14:04:07.473Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/config2630557404295127694tmp [Pipeline] { [Pipeline] sh [2022-09-05T14:04:07.814Z] + set +x [2022-09-05T14:04:07.814Z] + curl -s https://codecov.io/bash [2022-09-05T14:04:07.814Z] + bash -s -- [2022-09-05T14:04:07.814Z] [2022-09-05T14:04:07.814Z] _____ _ [2022-09-05T14:04:07.814Z] / ____| | | [2022-09-05T14:04:07.814Z] | | ___ __| | ___ ___ _____ __ [2022-09-05T14:04:07.814Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-05T14:04:07.814Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-05T14:04:07.814Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-05T14:04:07.814Z] Bash-1.0.6 [2022-09-05T14:04:07.814Z] [2022-09-05T14:04:07.814Z] [2022-09-05T14:04:07.814Z] ==> git version 2.25.1 found [2022-09-05T14:04:07.814Z] ==> 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-05T14:04:07.814Z] Release-Date: 2020-01-08 [2022-09-05T14:04:07.814Z] 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-05T14:04:07.814Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-05T14:04:07.814Z] ==> Jenkins CI detected. [2022-09-05T14:04:07.814Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-189 [2022-09-05T14:04:07.814Z] project root: . [2022-09-05T14:04:07.814Z] --> token set from env [2022-09-05T14:04:07.814Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-05T14:04:07.814Z] ==> Running gcov in . (disable via -X gcov) [2022-09-05T14:04:07.814Z] ==> Python coveragepy not found [2022-09-05T14:04:07.814Z] ==> Searching for coverage reports in: [2022-09-05T14:04:07.814Z] + . [2022-09-05T14:04:07.814Z] -> Found 1 reports [2022-09-05T14:04:07.814Z] ==> Detecting git/mercurial file structure [2022-09-05T14:04:07.814Z] ==> Reading reports [2022-09-05T14:04:07.814Z] + ./coverage.out bytes=7631 [2022-09-05T14:04:07.814Z] ==> Appending adjustments [2022-09-05T14:04:07.814Z] https://docs.codecov.io/docs/fixing-reports [2022-09-05T14:04:08.075Z] + Found adjustments [2022-09-05T14:04:08.075Z] ==> Gzipping contents [2022-09-05T14:04:08.075Z] 4.0K /tmp/codecov.Lgf5ra.gz [2022-09-05T14:04:08.075Z] ==> Uploading reports [2022-09-05T14:04:08.075Z] url: https://codecov.io [2022-09-05T14:04:08.075Z] query: branch=PR-189&commit=fd60ec623f25115f74e82a0371e9617e416d407d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2022-09-05T14:04:08.075Z] -> Pinging Codecov [2022-09-05T14:04:08.075Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-189&commit=fd60ec623f25115f74e82a0371e9617e416d407d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2022-09-05T14:04:08.336Z] -> Uploading to [2022-09-05T14:04:08.336Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-05/6C56EA5C29638FB4528AC87E60AF5AE0/fd60ec623f25115f74e82a0371e9617e416d407d/7874ce7d-5983-4cc4-a5c0-eaf8ebbb48ad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T140408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bceb8f54b725885a9d76dc22eae58887a74c624e8b1d89007b4f0c773c5827c0 [2022-09-05T14:04:08.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-05T14:04:08.336Z] Dload Upload Total Spent Left Speed [2022-09-05T14:04:08.596Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1535 0 0 100 1535 0 6587 --:--:-- --:--:-- --:--:-- 6587 [2022-09-05T14:04:08.596Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/fd60ec623f25115f74e82a0371e9617e416d407d [Pipeline] } [2022-09-05T14:04:08.626Z] 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-05T14:04:10.397Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-189/archives ] [2022-09-05T14:04:10.397Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-189/archives [2022-09-05T14:04:10.397Z] total 16 [2022-09-05T14:04:10.397Z] drwxr-xr-x 3 root root 4096 Sep 5 13:56 . [2022-09-05T14:04:10.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 13:56 .. [2022-09-05T14:04:10.397Z] drwxr-xr-x 2 root root 4096 Sep 5 13:56 cost [2022-09-05T14:04:10.397Z] -rw-r--r-- 1 root root 86 Sep 5 13:56 cost.csv [2022-09-05T14:04:10.397Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-189/archives [2022-09-05T14:04:10.397Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-189/archives [2022-09-05T14:04:10.397Z] total 16 [2022-09-05T14:04:10.397Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 13:56 . [2022-09-05T14:04:10.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 13:56 .. [2022-09-05T14:04:10.397Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 13:56 cost [2022-09-05T14:04:10.397Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 5 13:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:10.727Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:11.624Z] ---> package-listing.sh [2022-09-05T14:04:11.624Z] ++ facter osfamily [2022-09-05T14:04:11.624Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-05T14:04:11.884Z] + OS_FAMILY=debian [2022-09-05T14:04:11.884Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-189 [2022-09-05T14:04:11.884Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-05T14:04:11.884Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-05T14:04:11.884Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-05T14:04:11.884Z] + PACKAGES=/tmp/packages_start.txt [2022-09-05T14:04:11.884Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-189 ']' [2022-09-05T14:04:11.884Z] + PACKAGES=/tmp/packages_end.txt [2022-09-05T14:04:11.884Z] + case "${OS_FAMILY}" in [2022-09-05T14:04:11.884Z] + dpkg -l [2022-09-05T14:04:11.884Z] + grep '^ii' [2022-09-05T14:04:11.884Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-05T14:04:11.884Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-05T14:04:11.884Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-05T14:04:11.884Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-189 ']' [2022-09-05T14:04:11.884Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-189/archives/ [2022-09-05T14:04:11.884Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-189/archives/ [Pipeline] echo [2022-09-05T14:04:11.917Z] 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-189/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-05T14:04:12.212Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-05T14:04:12.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-05T14:04:12.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-05T14:04:12.999Z] prd-ubuntu20.04-docker-8c-8g-24591 does not seem to be running inside a container [2022-09-05T14:04:13.031Z] $ 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-189/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-189 -v /w/workspace/gexfoundry_device-snmp-go_PR-189:/w/workspace/gexfoundry_device-snmp-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-189@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-189@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-05T14:04:13.710Z] $ docker top 1c4df5af94b721101c4fba43e0504fbbbc0ccec9e502906351e7f4d85151cbd8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-05T14:04:14.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-05T14:04:14.447Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-05T14:04:14.761Z] + ls /var/log/sa-host [2022-09-05T14:04:14.761Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-05T14:04:14.961Z] provisioning config files... [2022-09-05T14:04:14.971Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-189@tmp/config7816365719537363771tmp [Pipeline] { [Pipeline] echo [2022-09-05T14:04:15.023Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:15.338Z] ---> create-netrc.sh [Pipeline] } [2022-09-05T14:04:15.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:15.765Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-05T14:04:15.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:16.111Z] ---> sudo-logs.sh [2022-09-05T14:04:16.111Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-05T14:04:16.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:16.512Z] ---> job-cost.sh [2022-09-05T14:04:16.512Z] lf-activate-venv: SKIPPING [2022-09-05T14:04:16.512Z] DEBUG: total: 0.2199999988079071 [2022-09-05T14:04:16.512Z] INFO: Retrieving Stack Cost... [2022-09-05T14:04:16.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-05T14:04:17.345Z] INFO: Archiving Costs [Pipeline] echo [2022-09-05T14:04:17.387Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-05T14:04:17.707Z] ---> logs-deploy.sh [2022-09-05T14:04:17.707Z] lf-activate-venv: SKIPPING [2022-09-05T14:04:17.707Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-189/1 [2022-09-05T14:04:17.707Z] INFO: archiving workspace using pattern(s): [2022-09-05T14:04:18.645Z] Archives upload complete. [2022-09-05T14:04:18.904Z] INFO: archiving logs to Nexus [2022-09-05T14:04:19.473Z] ---> uname -a: [2022-09-05T14:04:19.473Z] Linux prd-ubuntu20-04-docker-8c-8g-24591 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-05T14:04:19.473Z] [2022-09-05T14:04:19.473Z] [2022-09-05T14:04:19.473Z] ---> lscpu: [2022-09-05T14:04:19.473Z] Architecture: x86_64 [2022-09-05T14:04:19.473Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-05T14:04:19.473Z] Byte Order: Little Endian [2022-09-05T14:04:19.473Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-05T14:04:19.473Z] CPU(s): 8 [2022-09-05T14:04:19.473Z] On-line CPU(s) list: 0-7 [2022-09-05T14:04:19.473Z] Thread(s) per core: 1 [2022-09-05T14:04:19.473Z] Core(s) per socket: 1 [2022-09-05T14:04:19.473Z] Socket(s): 8 [2022-09-05T14:04:19.473Z] NUMA node(s): 1 [2022-09-05T14:04:19.473Z] Vendor ID: AuthenticAMD [2022-09-05T14:04:19.473Z] CPU family: 23 [2022-09-05T14:04:19.473Z] Model: 49 [2022-09-05T14:04:19.473Z] Model name: AMD EPYC-Rome Processor [2022-09-05T14:04:19.473Z] Stepping: 0 [2022-09-05T14:04:19.473Z] CPU MHz: 2799.994 [2022-09-05T14:04:19.473Z] BogoMIPS: 5599.98 [2022-09-05T14:04:19.473Z] Virtualization: AMD-V [2022-09-05T14:04:19.473Z] Hypervisor vendor: KVM [2022-09-05T14:04:19.473Z] Virtualization type: full [2022-09-05T14:04:19.473Z] L1d cache: 256 KiB [2022-09-05T14:04:19.473Z] L1i cache: 256 KiB [2022-09-05T14:04:19.473Z] L2 cache: 4 MiB [2022-09-05T14:04:19.473Z] L3 cache: 128 MiB [2022-09-05T14:04:19.473Z] NUMA node0 CPU(s): 0-7 [2022-09-05T14:04:19.473Z] Vulnerability Itlb multihit: Not affected [2022-09-05T14:04:19.473Z] Vulnerability L1tf: Not affected [2022-09-05T14:04:19.473Z] Vulnerability Mds: Not affected [2022-09-05T14:04:19.473Z] Vulnerability Meltdown: Not affected [2022-09-05T14:04:19.473Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-05T14:04:19.473Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-05T14:04:19.473Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-05T14:04:19.473Z] Vulnerability Srbds: Not affected [2022-09-05T14:04:19.473Z] Vulnerability Tsx async abort: Not affected [2022-09-05T14:04:19.473Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-05T14:04:19.473Z] [2022-09-05T14:04:19.473Z]