Pull request #155 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 0413261fd6b454820a227c0b076e094c9f4db28c rather than 93edbb87d91a8067ee69c1ea5306256e64a6066b Obtained Jenkinsfile from 0413261fd6b454820a227c0b076e094c9f4db28c 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-ssh16696417314689829698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2717956527658779978.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-155/workspace@libs/edgex-global-pipelines # 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-155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2698042770659692164.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-155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4923602487353048267.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16694655887459395230.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-155/workspace@libs/lf-pipelines # 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-155/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5695899504873473884.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-19519’ Running on prd-ubuntu20.04-docker-8c-8g-19521 in /w/workspace/gexfoundry_device-snmp-go_PR-155 [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-155 # 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 0413261fd6b454820a227c0b076e094c9f4db28c into PR head commit 93edbb87d91a8067ee69c1ea5306256e64a6066b Merge succeeded, producing 93edbb87d91a8067ee69c1ea5306256e64a6066b Checking out Revision 93edbb87d91a8067ee69c1ea5306256e64a6066b (PR-155) > 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/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93edbb87d91a8067ee69c1ea5306256e64a6066b # 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 0413261fd6b454820a227c0b076e094c9f4db28c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93edbb87d91a8067ee69c1ea5306256e64a6066b # timeout=10 Commit message: "test(snap): add CI workflow (#2)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T15:55:23.835Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T15:55:24.016Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T15:55:24.120Z] ========================================================= [2022-04-11T15:55:24.120Z] EdgeX Global Pipelines Version Info [2022-04-11T15:55:24.120Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:55:24.997Z] ------------------- [2022-04-11T15:55:24.997Z] stable info: [2022-04-11T15:55:24.997Z] ------------------- [2022-04-11T15:55:24.997Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T15:55:24.997Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T15:55:24.997Z] Message: update stable to v1.0.221 [2022-04-11T15:55:25.571Z] ------------------- [2022-04-11T15:55:25.571Z] experimental info: [2022-04-11T15:55:25.571Z] ------------------- [2022-04-11T15:55:25.571Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T15:55:25.571Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T15:55:25.571Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T15:55:25.821Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-11T15:55:25.862Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-11T15:55:25.911Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T15:55:25.950Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T15:55:25.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T15:55:26.027Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T15:55:26.068Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T15:55:26.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T15:55:26.150Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T15:55:26.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T15:55:26.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T15:55:26.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-11T15:55:26.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T15:55:26.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T15:55:26.379Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T15:55:26.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T15:55:26.455Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T15:55:26.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T15:55:26.531Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T15:55:26.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T15:55:26.608Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T15:55:26.652Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T15:55:26.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T15:55:26.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T15:55:26.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T15:55:26.839Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T15:55:26.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2022-04-11T15:55:26.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2022-04-11T15:55:26.973Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2022-04-11T15:55:27.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93edbb87d91a8067ee69c1ea5306256e64a6066b [Pipeline] echo [2022-04-11T15:55:27.053Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93edbb8 [Pipeline] echo [2022-04-11T15:55:27.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T15:55:27.214Z] provisioning config files... [2022-04-11T15:55:27.229Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config331353391303211061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:55:27.573Z] ---> docker-login.sh [2022-04-11T15:55:27.573Z] nexus3.edgexfoundry.org:10001 [2022-04-11T15:55:27.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:28.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:28.096Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:28.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:28.096Z] [2022-04-11T15:55:28.096Z] Login Succeeded [2022-04-11T15:55:28.096Z] nexus3.edgexfoundry.org:10002 [2022-04-11T15:55:28.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:28.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:28.096Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:28.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:28.096Z] [2022-04-11T15:55:28.096Z] Login Succeeded [2022-04-11T15:55:28.096Z] nexus3.edgexfoundry.org:10003 [2022-04-11T15:55:28.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:28.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:28.360Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:28.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:28.360Z] [2022-04-11T15:55:28.360Z] Login Succeeded [2022-04-11T15:55:28.360Z] nexus3.edgexfoundry.org:10004 [2022-04-11T15:55:28.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:28.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:28.625Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:28.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:28.625Z] [2022-04-11T15:55:28.625Z] Login Succeeded [2022-04-11T15:55:28.625Z] docker.io [2022-04-11T15:55:28.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:28.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:28.888Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:28.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:28.888Z] [2022-04-11T15:55:28.888Z] Login Succeeded [2022-04-11T15:55:28.888Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T15:55:28.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T15:55:29.539Z] + git rev-list -1 --merges 93edbb87d91a8067ee69c1ea5306256e64a6066b~1..93edbb87d91a8067ee69c1ea5306256e64a6066b [Pipeline] echo [2022-04-11T15:55:29.588Z] -----------> git rev-list -1 --merges 93edbb87d91a8067ee69c1ea5306256e64a6066b~1..93edbb87d91a8067ee69c1ea5306256e64a6066b 93edbb87d91a8067ee69c1ea5306256e64a6066b [false] [Pipeline] sh [2022-04-11T15:55:29.908Z] + git log --format=format:%s -1 93edbb87d91a8067ee69c1ea5306256e64a6066b [Pipeline] echo [2022-04-11T15:55:29.944Z] ========================================================= [2022-04-11T15:55:29.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T15:55:29.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T15:55:30.370Z] + git log --format=format:%s -1 93edbb87d91a8067ee69c1ea5306256e64a6066b [Pipeline] echo [2022-04-11T15:55:30.403Z] [semverPrep] GIT_COMMIT: 93edbb87d91a8067ee69c1ea5306256e64a6066b, Commit Message: test(snap): add CI workflow (#2) [Pipeline] echo [2022-04-11T15:55:30.433Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T15:55:30.840Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T15:55:30.840Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T15:55:30.840Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T15:55:30.840Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T15:55:30.840Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T15:55:30.840Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T15:55:30.840Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:55:31.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:55:31.213Z] [2022-04-11T15:55:31.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:55:31.552Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:55:31.552Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T15:55:31.552Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T15:55:31.552Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T15:55:31.552Z] 4c7163046ea9: Pulling fs layer [2022-04-11T15:55:31.552Z] 0c2d73faf560: Pulling fs layer [2022-04-11T15:55:31.552Z] 0c2d73faf560: Waiting [2022-04-11T15:55:31.552Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T15:55:31.552Z] 3e5f54012d9b: Download complete [2022-04-11T15:55:31.552Z] a0d0a0d46f8b: Verifying Checksum [2022-04-11T15:55:31.552Z] 0c2d73faf560: Verifying Checksum [2022-04-11T15:55:31.552Z] 0c2d73faf560: Download complete [2022-04-11T15:55:31.552Z] 4c7163046ea9: Download complete [2022-04-11T15:55:31.818Z] a0d0a0d46f8b: Pull complete [2022-04-11T15:55:31.818Z] 3e5f54012d9b: Pull complete [2022-04-11T15:55:32.760Z] 4c7163046ea9: Pull complete [2022-04-11T15:55:32.760Z] 0c2d73faf560: Pull complete [2022-04-11T15:55:32.760Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T15:55:32.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T15:55:32.760Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T15:55:32.860Z] prd-ubuntu20.04-docker-8c-8g-19521 does not seem to be running inside a container [2022-04-11T15:55:32.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@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:10004/edgex-devops/git-semver:latest cat [2022-04-11T15:55:33.764Z] $ docker top f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T15:55:33.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T15:55:33.962Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T15:55:34.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T15:55:34.091Z] $ docker exec f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 ssh-agent [2022-04-11T15:55:34.235Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHCJKnN/agent.15 [2022-04-11T15:55:34.235Z] SSH_AGENT_PID=22 [2022-04-11T15:55:34.244Z] Running ssh-add (command line suppressed) [2022-04-11T15:55:34.358Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_5145042566451919510.key (/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_5145042566451919510.key) [2022-04-11T15:55:34.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T15:55:34.715Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T15:55:34.729Z] $ docker exec --env ******** --env ******** f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 ssh-agent -k [2022-04-11T15:55:34.848Z] unset SSH_AUTH_SOCK; [2022-04-11T15:55:34.849Z] unset SSH_AGENT_PID; [2022-04-11T15:55:34.849Z] echo Agent pid 22 killed; [2022-04-11T15:55:34.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T15:55:34.949Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T15:55:34.949Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T15:55:35.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T15:55:35.073Z] $ docker exec f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 ssh-agent [2022-04-11T15:55:35.196Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKANiMh/agent.56 [2022-04-11T15:55:35.196Z] SSH_AGENT_PID=63 [2022-04-11T15:55:35.202Z] Running ssh-add (command line suppressed) [2022-04-11T15:55:35.312Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_7141850594292833571.key (/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/private_key_7141850594292833571.key) [2022-04-11T15:55:35.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T15:55:35.664Z] + git semver init [2022-04-11T15:55:35.664Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T15:55:35.664Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-155/.git [2022-04-11T15:55:35.664Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-155 [2022-04-11T15:55:35.664Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T15:55:35.664Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T15:55:35.664Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T15:55:35.664Z] # $SEMVER_BRANCH = PR-155 [2022-04-11T15:55:35.664Z] # $SEMVER_TEMP = /tmp/semver-030527630 [2022-04-11T15:55:35.664Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-11T15:55:36.608Z] # '/tmp/semver-030527630' -> '/w/workspace/gexfoundry_device-snmp-go_PR-155/.semver' [2022-04-11T15:55:36.608Z] # -> Force: false [2022-04-11T15:55:36.608Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-155/.semver [Pipeline] } [2022-04-11T15:55:36.628Z] $ docker exec --env ******** --env ******** f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 ssh-agent -k [2022-04-11T15:55:36.726Z] unset SSH_AUTH_SOCK; [2022-04-11T15:55:36.726Z] unset SSH_AGENT_PID; [2022-04-11T15:55:36.726Z] echo Agent pid 63 killed; [2022-04-11T15:55:36.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T15:55:37.202Z] + git semver [Pipeline] } [2022-04-11T15:55:37.227Z] $ docker stop --time=1 f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 [2022-04-11T15:55:38.590Z] $ docker rm -f f579540b62d1100a1f026e85f7830f7a380bc64cc60151c5e45fe2377723b0a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T15:55:39.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T15:55:39.380Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T15:55:39.398Z] [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-04-11T15:55:40.019Z] provisioning config files... [2022-04-11T15:55:40.030Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config3985599327457445449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:55:40.395Z] ---> docker-login.sh [2022-04-11T15:55:40.395Z] nexus3.edgexfoundry.org:10001 [2022-04-11T15:55:40.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:40.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:40.395Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:40.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:40.395Z] [2022-04-11T15:55:40.395Z] Login Succeeded [2022-04-11T15:55:40.395Z] nexus3.edgexfoundry.org:10002 [2022-04-11T15:55:40.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:40.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:40.656Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:40.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:40.656Z] [2022-04-11T15:55:40.656Z] Login Succeeded [2022-04-11T15:55:40.656Z] nexus3.edgexfoundry.org:10003 [2022-04-11T15:55:40.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:40.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:40.656Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:40.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:40.656Z] [2022-04-11T15:55:40.656Z] Login Succeeded [2022-04-11T15:55:40.656Z] nexus3.edgexfoundry.org:10004 [2022-04-11T15:55:40.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:40.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:40.917Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:40.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:40.917Z] [2022-04-11T15:55:40.917Z] Login Succeeded [2022-04-11T15:55:40.917Z] docker.io [2022-04-11T15:55:40.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T15:55:41.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T15:55:41.179Z] Configure a credential helper to remove this warning. See [2022-04-11T15:55:41.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T15:55:41.179Z] [2022-04-11T15:55:41.179Z] Login Succeeded [2022-04-11T15:55:41.179Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T15:55:41.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T15:55:41.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T15:55:41.424Z] ========================================================= [2022-04-11T15:55:41.424Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T15:55:41.424Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:55:41.825Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-11T15:55:41.825Z] Sending build context to Docker daemon 5.251MB [2022-04-11T15:55:41.825Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T15:55:41.825Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T15:55:41.825Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T15:55:41.825Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T15:55:41.825Z] 666ba61612fd: Pulling fs layer [2022-04-11T15:55:41.825Z] 8ed8ca486205: Pulling fs layer [2022-04-11T15:55:41.825Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T15:55:41.825Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T15:55:41.825Z] 640e595b4fbd: Pulling fs layer [2022-04-11T15:55:41.825Z] 763cafe07f6e: Pulling fs layer [2022-04-11T15:55:41.825Z] 0c0b528cf693: Pulling fs layer [2022-04-11T15:55:41.825Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T15:55:41.825Z] 640e595b4fbd: Waiting [2022-04-11T15:55:41.825Z] 0c0b528cf693: Waiting [2022-04-11T15:55:41.825Z] 763cafe07f6e: Waiting [2022-04-11T15:55:41.825Z] 10935f4eaf8b: Waiting [2022-04-11T15:55:41.825Z] 8ed8ca486205: Verifying Checksum [2022-04-11T15:55:41.825Z] 8ed8ca486205: Download complete [2022-04-11T15:55:41.825Z] 666ba61612fd: Download complete [2022-04-11T15:55:42.086Z] 22a0e8bec74d: Download complete [2022-04-11T15:55:42.086Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T15:55:42.086Z] 59bf1c3509f3: Download complete [2022-04-11T15:55:42.086Z] 640e595b4fbd: Verifying Checksum [2022-04-11T15:55:42.086Z] 640e595b4fbd: Download complete [2022-04-11T15:55:42.086Z] 763cafe07f6e: Verifying Checksum [2022-04-11T15:55:42.086Z] 763cafe07f6e: Download complete [2022-04-11T15:55:42.086Z] 0c0b528cf693: Verifying Checksum [2022-04-11T15:55:42.086Z] 0c0b528cf693: Download complete [2022-04-11T15:55:42.086Z] 59bf1c3509f3: Pull complete [2022-04-11T15:55:42.347Z] 666ba61612fd: Pull complete [2022-04-11T15:55:42.347Z] 8ed8ca486205: Pull complete [2022-04-11T15:55:42.607Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T15:55:42.607Z] 10935f4eaf8b: Download complete [2022-04-11T15:55:42.868Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T15:55:42.868Z] 4fe6c5a15a65: Download complete [2022-04-11T15:55:47.072Z] 4fe6c5a15a65: Pull complete [2022-04-11T15:55:47.072Z] 22a0e8bec74d: Pull complete [2022-04-11T15:55:47.072Z] 640e595b4fbd: Pull complete [2022-04-11T15:55:47.072Z] 763cafe07f6e: Pull complete [2022-04-11T15:55:47.332Z] 0c0b528cf693: Pull complete [2022-04-11T15:55:49.878Z] 10935f4eaf8b: Pull complete [2022-04-11T15:55:49.878Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T15:55:49.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T15:55:49.878Z] ---> 99d49a6021b9 [2022-04-11T15:55:49.878Z] Step 3/12 : ARG MAKE='make build' [2022-04-11T15:55:52.434Z] ---> Running in 0f041d5bbb1f [2022-04-11T15:55:52.435Z] Removing intermediate container 0f041d5bbb1f [2022-04-11T15:55:52.435Z] ---> 3e1dfa822b30 [2022-04-11T15:55:52.435Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T15:55:52.435Z] ---> Running in 416a66275aac [2022-04-11T15:55:52.435Z] Removing intermediate container 416a66275aac [2022-04-11T15:55:52.435Z] ---> e8ac08aebf2c [2022-04-11T15:55:52.435Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T15:55:52.696Z] ---> Running in f10b4d538701 [2022-04-11T15:55:52.696Z] Removing intermediate container f10b4d538701 [2022-04-11T15:55:52.696Z] ---> 9cfc218fc99b [2022-04-11T15:55:52.696Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T15:55:52.957Z] ---> Running in 6f543afae135 [2022-04-11T15:55:53.900Z] Removing intermediate container 6f543afae135 [2022-04-11T15:55:53.900Z] ---> 3f418488f8bf [2022-04-11T15:55:53.900Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T15:55:54.161Z] ---> Running in e03e8309aff1 [2022-04-11T15:55:54.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:55:54.825Z] Still waiting to schedule task [2022-04-11T15:55:54.825Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-19520’ is offline [2022-04-11T15:55:55.366Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:55:55.627Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T15:55:55.627Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T15:55:55.889Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T15:55:55.889Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T15:55:55.889Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T15:55:55.889Z] OK: 224 MiB in 56 packages [2022-04-11T15:55:56.461Z] Removing intermediate container e03e8309aff1 [2022-04-11T15:55:56.461Z] ---> 37f7f715e5e3 [2022-04-11T15:55:56.461Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-11T15:55:56.461Z] ---> Running in 017ffd3b00b3 [2022-04-11T15:55:56.722Z] Removing intermediate container 017ffd3b00b3 [2022-04-11T15:55:56.722Z] ---> f74feb1cc9bc [2022-04-11T15:55:56.722Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-11T15:55:56.722Z] ---> d54b535531d7 [2022-04-11T15:55:56.722Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T15:55:56.982Z] ---> Running in 18c6528f95df [2022-04-11T15:56:11.927Z] Removing intermediate container 18c6528f95df [2022-04-11T15:56:11.927Z] ---> f1688848b73b [2022-04-11T15:56:11.927Z] Step 11/12 : COPY . . [2022-04-11T15:56:12.206Z] ---> 26b36c6cc31d [2022-04-11T15:56:12.206Z] Step 12/12 : RUN ${MAKE} [2022-04-11T15:56:12.206Z] ---> Running in 2f3b85c4d500 [2022-04-11T15:56:12.475Z] noop [2022-04-11T15:56:12.765Z] Removing intermediate container 2f3b85c4d500 [2022-04-11T15:56:12.765Z] ---> 5a253946ba2a [2022-04-11T15:56:12.765Z] Successfully built 5a253946ba2a [2022-04-11T15:56:12.765Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:56:13.145Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T15:56:13.145Z] . [Pipeline] withDockerContainer [2022-04-11T15:56:13.240Z] prd-ubuntu20.04-docker-8c-8g-19521 does not seem to be running inside a container [2022-04-11T15:56:13.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T15:56:13.702Z] $ docker top 605fc685b81481b42c6d180a901a81fe1b599cf19df3e95171e77bac5d58f77e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T15:56:14.109Z] + go version [2022-04-11T15:56:14.109Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T15:56:14.152Z] $ docker stop --time=1 605fc685b81481b42c6d180a901a81fe1b599cf19df3e95171e77bac5d58f77e [2022-04-11T15:56:15.439Z] $ docker rm -f 605fc685b81481b42c6d180a901a81fe1b599cf19df3e95171e77bac5d58f77e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:56:16.143Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T15:56:16.143Z] . [Pipeline] withDockerContainer [2022-04-11T15:56:16.239Z] prd-ubuntu20.04-docker-8c-8g-19521 does not seem to be running inside a container [2022-04-11T15:56:16.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-11T15:56:16.693Z] $ docker top e1de7c3fbfa82eac9f69c36df56b12bcadbcc8527ff5eafbcdb9ce1b70bd94da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T15:56:17.148Z] + make test [2022-04-11T15:56:17.149Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T15:56:17.408Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-11T15:56:27.397Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-11T15:56:27.397Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-04-11T15:56:33.973Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T15:56:38.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T15:56:38.169Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T15:56:38.169Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T15:56:38.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T15:56:38.266Z] $ docker stop --time=1 e1de7c3fbfa82eac9f69c36df56b12bcadbcc8527ff5eafbcdb9ce1b70bd94da [2022-04-11T15:56:40.240Z] $ docker rm -f e1de7c3fbfa82eac9f69c36df56b12bcadbcc8527ff5eafbcdb9ce1b70bd94da [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T15:56:40.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T15:56:40.843Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T15:56:41.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T15:56:41.998Z] + ls -al . [2022-04-11T15:56:41.998Z] total 164 [2022-04-11T15:56:41.998Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 15:56 . [2022-04-11T15:56:41.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 15:55 .. [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 11 15:55 .dockerignore [2022-04-11T15:56:41.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 15:55 .git [2022-04-11T15:56:41.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:55 .github [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 11 15:55 .gitignore [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 15:55 .golangci.yml [2022-04-11T15:56:41.998Z] drwx------ 3 jenkins jenkins 4096 Apr 11 15:55 .semver [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 8164 Apr 11 15:55 Attribution.txt [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 11 15:55 CHANGELOG.md [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 11 15:55 Dockerfile [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 15:55 GOVERNANCE.md [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 11 15:55 Jenkinsfile [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 15:55 LICENSE [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 11 15:55 Makefile [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 15:55 OWNERS.md [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 11 15:55 README.md [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 15:55 VERSION [2022-04-11T15:56:41.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 15:55 bin [2022-04-11T15:56:41.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:55 cmd [2022-04-11T15:56:41.998Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 11 15:56 coverage.out [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 3245 Apr 11 15:55 go.mod [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 35250 Apr 11 15:55 go.sum [2022-04-11T15:56:41.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:55 internal [2022-04-11T15:56:41.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 15:55 snap [2022-04-11T15:56:41.998Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 11 15:55 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:56:42.344Z] + 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=93edbb87d91a8067ee69c1ea5306256e64a6066b --label arch=amd64 --label version=0.0.0 . [2022-04-11T15:56:42.344Z] Sending build context to Docker daemon 5.259MB [2022-04-11T15:56:42.344Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T15:56:42.344Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T15:56:42.344Z] ---> 5a253946ba2a [2022-04-11T15:56:42.344Z] Step 3/24 : ARG MAKE='make build' [2022-04-11T15:56:42.344Z] ---> Running in 68068f91419e [2022-04-11T15:56:42.606Z] Removing intermediate container 68068f91419e [2022-04-11T15:56:42.606Z] ---> 3eff338d7921 [2022-04-11T15:56:42.606Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T15:56:42.606Z] ---> Running in 8b86432b00ec [2022-04-11T15:56:42.606Z] Removing intermediate container 8b86432b00ec [2022-04-11T15:56:42.606Z] ---> 4f90f1509f00 [2022-04-11T15:56:42.606Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T15:56:42.606Z] ---> Running in 4a1cf97e9270 [2022-04-11T15:56:42.867Z] Removing intermediate container 4a1cf97e9270 [2022-04-11T15:56:42.867Z] ---> 1af0f2047a71 [2022-04-11T15:56:42.867Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T15:56:42.867Z] ---> Running in 656b48f7a587 [2022-04-11T15:56:43.443Z] Removing intermediate container 656b48f7a587 [2022-04-11T15:56:43.443Z] ---> da81648b7eb8 [2022-04-11T15:56:43.443Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T15:56:43.443Z] ---> Running in 4c2d55ee6b7e [2022-04-11T15:56:43.704Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:56:44.649Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:56:44.913Z] OK: 224 MiB in 56 packages [2022-04-11T15:56:45.484Z] Removing intermediate container 4c2d55ee6b7e [2022-04-11T15:56:45.484Z] ---> e4476ad850f3 [2022-04-11T15:56:45.484Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-11T15:56:45.484Z] ---> Running in f6f6e391ae32 [2022-04-11T15:56:45.484Z] Removing intermediate container f6f6e391ae32 [2022-04-11T15:56:45.484Z] ---> 692eb4a73009 [2022-04-11T15:56:45.484Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-11T15:56:45.745Z] ---> 1bf8c43888c9 [2022-04-11T15:56:45.745Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T15:56:45.745Z] ---> Running in 32fded55efde [2022-04-11T15:56:46.316Z] Removing intermediate container 32fded55efde [2022-04-11T15:56:46.316Z] ---> 3ef9becfbf25 [2022-04-11T15:56:46.316Z] Step 11/24 : COPY . . [2022-04-11T15:56:46.888Z] ---> c02e2056463a [2022-04-11T15:56:46.888Z] Step 12/24 : RUN ${MAKE} [2022-04-11T15:56:46.888Z] ---> Running in 1a44af41b443 [2022-04-11T15:56:47.150Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-11T15:57:09.106Z] Removing intermediate container 1a44af41b443 [2022-04-11T15:57:09.106Z] ---> cc7edbf9e23f [2022-04-11T15:57:09.106Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T15:57:09.106Z] 3.14: Pulling from library/alpine [2022-04-11T15:57:09.106Z] 8663204ce13b: Pulling fs layer [2022-04-11T15:57:09.106Z] 8663204ce13b: Verifying Checksum [2022-04-11T15:57:09.106Z] 8663204ce13b: Download complete [2022-04-11T15:57:09.106Z] 8663204ce13b: Pull complete [2022-04-11T15:57:09.106Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T15:57:09.106Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T15:57:09.106Z] ---> e04c818066af [2022-04-11T15:57:09.106Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T15:57:09.106Z] ---> Running in bb9ef3feb0fc [2022-04-11T15:57:09.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T15:57:09.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T15:57:09.106Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T15:57:09.106Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T15:57:09.106Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T15:57:09.106Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T15:57:09.106Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T15:57:09.106Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T15:57:09.106Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T15:57:09.106Z] OK: 8 MiB in 20 packages [2022-04-11T15:57:09.106Z] Removing intermediate container bb9ef3feb0fc [2022-04-11T15:57:09.106Z] ---> fd97d906c967 [2022-04-11T15:57:09.106Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-11T15:57:10.065Z] ---> 450831354a26 [2022-04-11T15:57:10.065Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-11T15:57:10.065Z] ---> e35aa1239c0c [2022-04-11T15:57:10.065Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-11T15:57:10.326Z] ---> f2149ce8c481 [2022-04-11T15:57:10.326Z] Step 18/24 : EXPOSE 59993 [2022-04-11T15:57:10.326Z] ---> Running in ef56079f0cef [2022-04-11T15:57:10.326Z] Removing intermediate container ef56079f0cef [2022-04-11T15:57:10.326Z] ---> 88077d25bb23 [2022-04-11T15:57:10.326Z] Step 19/24 : EXPOSE 161 [2022-04-11T15:57:10.587Z] ---> Running in ff7bec5b9c00 [2022-04-11T15:57:10.587Z] Removing intermediate container ff7bec5b9c00 [2022-04-11T15:57:10.587Z] ---> 171abeca38a1 [2022-04-11T15:57:10.587Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-11T15:57:10.861Z] ---> Running in 9be6322e9fbb [2022-04-11T15:57:10.861Z] Removing intermediate container 9be6322e9fbb [2022-04-11T15:57:10.861Z] ---> 0800b8441452 [2022-04-11T15:57:10.861Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-11T15:57:11.125Z] ---> Running in 05c5a7135307 [2022-04-11T15:57:11.125Z] Removing intermediate container 05c5a7135307 [2022-04-11T15:57:11.125Z] ---> fcc8e5376df2 [2022-04-11T15:57:11.125Z] Step 22/24 : LABEL arch=amd64 [2022-04-11T15:57:11.388Z] ---> Running in fc34c6f4fad0 [2022-04-11T15:57:11.648Z] Removing intermediate container fc34c6f4fad0 [2022-04-11T15:57:11.648Z] ---> 0e669b90d5fc [2022-04-11T15:57:11.648Z] Step 23/24 : LABEL git_sha=93edbb87d91a8067ee69c1ea5306256e64a6066b [2022-04-11T15:57:11.648Z] ---> Running in cf9e57ad5307 [2022-04-11T15:57:11.909Z] Removing intermediate container cf9e57ad5307 [2022-04-11T15:57:11.909Z] ---> d12da2319e8b [2022-04-11T15:57:11.909Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T15:57:12.170Z] ---> Running in 705b5134bf97 [2022-04-11T15:57:12.170Z] Removing intermediate container 705b5134bf97 [2022-04-11T15:57:12.170Z] ---> 1a2690f5dbe6 [2022-04-11T15:57:12.170Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T15:57:12.431Z] Successfully built 1a2690f5dbe6 [2022-04-11T15:57:12.431Z] Successfully tagged device-snmp:latest [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] sh [2022-04-11T15:57:13.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:57:13.148Z] [2022-04-11T15:57:13.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:13.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:57:13.488Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T15:57:13.488Z] 5eb5b503b376: Pulling fs layer [2022-04-11T15:57:13.488Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T15:57:13.488Z] ec43610c2a17: Pulling fs layer [2022-04-11T15:57:13.488Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T15:57:13.488Z] 33b1e0a273af: Pulling fs layer [2022-04-11T15:57:13.488Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T15:57:13.488Z] 2f39f015ded8: Pulling fs layer [2022-04-11T15:57:13.488Z] 33b1e0a273af: Waiting [2022-04-11T15:57:13.488Z] 3a2ae6a8a46f: Waiting [2022-04-11T15:57:13.488Z] 5d3b04190fa2: Waiting [2022-04-11T15:57:13.488Z] 5c69ac0246d0: Verifying Checksum [2022-04-11T15:57:13.488Z] 5c69ac0246d0: Download complete [2022-04-11T15:57:13.488Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T15:57:13.488Z] 3a2ae6a8a46f: Download complete [2022-04-11T15:57:13.488Z] 33b1e0a273af: Verifying Checksum [2022-04-11T15:57:13.488Z] 33b1e0a273af: Download complete [2022-04-11T15:57:13.488Z] ec43610c2a17: Verifying Checksum [2022-04-11T15:57:13.488Z] ec43610c2a17: Download complete [2022-04-11T15:57:13.488Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T15:57:13.488Z] 5d3b04190fa2: Download complete [2022-04-11T15:57:13.748Z] 5eb5b503b376: Verifying Checksum [2022-04-11T15:57:13.748Z] 5eb5b503b376: Download complete [2022-04-11T15:57:14.317Z] 2f39f015ded8: Download complete [2022-04-11T15:57:14.883Z] 5eb5b503b376: Pull complete [2022-04-11T15:57:15.142Z] 5c69ac0246d0: Pull complete [2022-04-11T15:57:15.716Z] ec43610c2a17: Pull complete [2022-04-11T15:57:15.716Z] 3a2ae6a8a46f: Pull complete [2022-04-11T15:57:15.976Z] 33b1e0a273af: Pull complete [2022-04-11T15:57:15.976Z] 5d3b04190fa2: Pull complete [2022-04-11T15:57:20.176Z] 2f39f015ded8: Pull complete [2022-04-11T15:57:20.176Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T15:57:20.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:57:20.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T15:57:20.272Z] prd-ubuntu20.04-docker-8c-8g-19521 does not seem to be running inside a container [2022-04-11T15:57:20.322Z] $ 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-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T15:57:22.167Z] $ docker top 17fe6cc71c60d67247cbdae827357a142c1cd406108acf2fd7d82fba4af8ba6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:22.626Z] ---> job-cost.sh [2022-04-11T15:57:22.626Z] lf-activate-venv: SKIPPING [2022-04-11T15:57:22.626Z] INFO: No Stack... [2022-04-11T15:57:22.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T15:57:23.457Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T15:57:23.803Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/cost.csv [2022-04-11T15:57:23.803Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T15:57:23.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-155-1-stack-cost] [2022-04-11T15:57:23.849Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-155-1-stack-cost] did not exist. Created. [2022-04-11T15:57:23.849Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T15:57:24.243Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T15:57:24.296Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T15:57:24.322Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T15:57:24.407Z] $ docker stop --time=1 17fe6cc71c60d67247cbdae827357a142c1cd406108acf2fd7d82fba4af8ba6b [2022-04-11T15:57:25.576Z] $ docker rm -f 17fe6cc71c60d67247cbdae827357a142c1cd406108acf2fd7d82fba4af8ba6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T15:57:28.386Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19523 in /w/workspace/gexfoundry_device-snmp-go_PR-155 [Pipeline] { [Pipeline] ws [2022-04-11T15:57:28.434Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-11T15:57:28.699Z] Selected Git installation does not exist. Using Default [2022-04-11T15:57:28.699Z] The recommended git tool is: NONE [2022-04-11T15:57:36.109Z] using credential edgex-jenkins-ssh [2022-04-11T15:57:36.151Z] Cloning the remote Git repository [2022-04-11T15:57:36.235Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:57:36.407Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-11T15:57:36.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:57:36.696Z] > git --version # timeout=10 [2022-04-11T15:57:36.722Z] > git --version # 'git version 2.25.1' [2022-04-11T15:57:36.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T15:57:36.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T15:57:37.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T15:57:38.722Z] Merging remotes/origin/main commit 0413261fd6b454820a227c0b076e094c9f4db28c into PR head commit 93edbb87d91a8067ee69c1ea5306256e64a6066b [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T15:57:39.087Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [2022-04-11T15:57:38.045Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T15:57:38.084Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-11T15:57:38.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-11T15:57:38.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T15:57:38.156Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-11T15:57:38.749Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T15:57:38.785Z] > git checkout -f 93edbb87d91a8067ee69c1ea5306256e64a6066b # timeout=10 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-04-11T15:57:41.194Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-155/archives ] [2022-04-11T15:57:41.194Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T15:57:41.194Z] total 16 [2022-04-11T15:57:41.194Z] drwxr-xr-x 3 root root 4096 Apr 11 15:57 . [2022-04-11T15:57:41.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 15:57 .. [2022-04-11T15:57:41.194Z] drwxr-xr-x 2 root root 4096 Apr 11 15:57 cost [2022-04-11T15:57:41.194Z] -rw-r--r-- 1 root root 85 Apr 11 15:57 cost.csv [2022-04-11T15:57:41.194Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T15:57:41.194Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-155/archives [2022-04-11T15:57:41.194Z] total 16 [2022-04-11T15:57:41.194Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 15:57 . [2022-04-11T15:57:41.194Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 15:57 .. [2022-04-11T15:57:41.194Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 15:57 cost [2022-04-11T15:57:41.194Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 11 15:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:41.554Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:42.450Z] ---> package-listing.sh [2022-04-11T15:57:42.450Z] ++ facter osfamily [2022-04-11T15:57:42.450Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T15:57:42.711Z] + OS_FAMILY=debian [2022-04-11T15:57:42.711Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-155 [2022-04-11T15:57:42.711Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T15:57:42.711Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T15:57:42.711Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T15:57:42.711Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T15:57:42.711Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-155 ']' [2022-04-11T15:57:42.711Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T15:57:42.711Z] + case "${OS_FAMILY}" in [2022-04-11T15:57:42.711Z] + dpkg -l [2022-04-11T15:57:42.711Z] + grep '^ii' [2022-04-11T15:57:42.711Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T15:57:42.711Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T15:57:42.711Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T15:57:42.711Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-155 ']' [2022-04-11T15:57:42.711Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/ [2022-04-11T15:57:42.711Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-155/archives/ [Pipeline] echo [2022-04-11T15:57:42.746Z] 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-11T15:57:43.045Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T15:57:43.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T15:57:43.625Z] . [Pipeline] withDockerContainer [2022-04-11T15:57:43.721Z] prd-ubuntu20.04-docker-8c-8g-19521 does not seem to be running inside a container [2022-04-11T15:57:43.772Z] $ 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-155/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-155 -v /w/workspace/gexfoundry_device-snmp-go_PR-155:/w/workspace/gexfoundry_device-snmp-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T15:57:44.015Z] $ docker top 5d0e21c569fd91409515d2b474267b4eb755fa1649b7ecd342145d477563fc27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T15:57:44.403Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T15:57:44.726Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T15:57:45.054Z] + ls /var/log/sa-host [2022-04-11T15:57:45.054Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T15:57:45.207Z] provisioning config files... [2022-04-11T15:57:45.217Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-155@tmp/config1674771693142118335tmp [Pipeline] { [Pipeline] echo [2022-04-11T15:57:45.263Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:45.579Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T15:57:45.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:46.022Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T15:57:46.053Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:46.373Z] ---> sudo-logs.sh [2022-04-11T15:57:46.373Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T15:57:46.459Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:46.774Z] ---> job-cost.sh [2022-04-11T15:57:46.774Z] lf-activate-venv: SKIPPING [2022-04-11T15:57:46.774Z] DEBUG: total: 0.2199999988079071 [2022-04-11T15:57:46.774Z] INFO: Retrieving Stack Cost... [2022-04-11T15:57:47.036Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T15:57:47.613Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T15:57:47.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T15:57:47.972Z] ---> logs-deploy.sh [2022-04-11T15:57:47.972Z] lf-activate-venv: SKIPPING [2022-04-11T15:57:47.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-155/1 [2022-04-11T15:57:47.972Z] INFO: archiving workspace using pattern(s): [2022-04-11T15:57:48.917Z] Archives upload complete. [2022-04-11T15:57:48.917Z] INFO: archiving logs to Nexus