Pull request #128 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from efb603a6ac693a095867cc8253d748648daa91ea+8cef9076ddadae0bb4a2071504c212bd6ac7a64c (0e7eb8d33f0cd0875257f823a53913d27f685970) Running in Durability level: MAX_SURVIVABILITY 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-ssh983003749426648766.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh702145032762452707.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-128/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-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh242188783616858024.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-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9004976875395743798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh4988925288471147587.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-128/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-128/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6709898047657614588.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-704 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [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-128 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/jenkins-gitclient-ssh8584254513763245274.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/jenkins-gitclient-ssh568150355422538336.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit efb603a6ac693a095867cc8253d748648daa91ea Merge succeeded, producing efb603a6ac693a095867cc8253d748648daa91ea Checking out Revision efb603a6ac693a095867cc8253d748648daa91ea (PR-128) > git config core.sparsecheckout # timeout=10 > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/jenkins-gitclient-ssh6103426542920723421.key > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 Commit message: "build: Update to use released SDK and go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-15T23:23:43.792Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-15T23:23:43.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-15T23:23:44.000Z] ========================================================= [2021-11-15T23:23:44.000Z] EdgeX Global Pipelines Version Info [2021-11-15T23:23:44.000Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:23:45.177Z] ------------------- [2021-11-15T23:23:45.177Z] stable info: [2021-11-15T23:23:45.177Z] ------------------- [2021-11-15T23:23:45.177Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-15T23:23:45.177Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T23:23:45.177Z] Message: update stable to v1.0.215 [2021-11-15T23:23:45.752Z] ------------------- [2021-11-15T23:23:45.752Z] experimental info: [2021-11-15T23:23:45.752Z] ------------------- [2021-11-15T23:23:45.752Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-15T23:23:45.752Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T23:23:45.752Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-15T23:23:45.902Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-11-15T23:23:45.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-11-15T23:23:45.972Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-15T23:23:46.005Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-15T23:23:46.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-15T23:23:46.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-15T23:23:46.105Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-15T23:23:46.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-15T23:23:46.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-15T23:23:46.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-15T23:23:46.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-15T23:23:46.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-11-15T23:23:46.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-15T23:23:46.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-15T23:23:46.413Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T23:23:46.449Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T23:23:46.491Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T23:23:46.533Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T23:23:46.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-15T23:23:46.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-15T23:23:46.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-15T23:23:46.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-15T23:23:46.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-15T23:23:46.761Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-15T23:23:46.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-15T23:23:46.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-15T23:23:46.871Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo [2021-11-15T23:23:46.910Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo [2021-11-15T23:23:46.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo [2021-11-15T23:23:46.988Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efb603a6ac693a095867cc8253d748648daa91ea [Pipeline] echo [2021-11-15T23:23:47.028Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efb603a [Pipeline] echo [2021-11-15T23:23:47.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:23:47.156Z] provisioning config files... [2021-11-15T23:23:47.172Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/config1871088723823364101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:23:47.515Z] ---> docker-login.sh [2021-11-15T23:23:47.515Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:23:47.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:23:47.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:23:47.515Z] Configure a credential helper to remove this warning. See [2021-11-15T23:23:47.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:23:47.515Z] [2021-11-15T23:23:47.515Z] Login Succeeded [2021-11-15T23:23:47.515Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:23:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:23:47.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:23:47.778Z] Configure a credential helper to remove this warning. See [2021-11-15T23:23:47.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:23:47.778Z] [2021-11-15T23:23:47.778Z] Login Succeeded [2021-11-15T23:23:47.778Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:23:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:23:47.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:23:47.778Z] Configure a credential helper to remove this warning. See [2021-11-15T23:23:47.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:23:47.778Z] [2021-11-15T23:23:47.778Z] Login Succeeded [2021-11-15T23:23:47.778Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:23:48.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:23:48.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:23:48.044Z] Configure a credential helper to remove this warning. See [2021-11-15T23:23:48.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:23:48.044Z] [2021-11-15T23:23:48.044Z] Login Succeeded [2021-11-15T23:23:48.044Z] docker.io [2021-11-15T23:23:48.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:23:48.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:23:48.305Z] Configure a credential helper to remove this warning. See [2021-11-15T23:23:48.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:23:48.305Z] [2021-11-15T23:23:48.305Z] Login Succeeded [2021-11-15T23:23:48.305Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:23:48.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-15T23:23:48.903Z] + git rev-list -1 --merges efb603a6ac693a095867cc8253d748648daa91ea~1..efb603a6ac693a095867cc8253d748648daa91ea [Pipeline] echo [2021-11-15T23:23:48.949Z] -----------> git rev-list -1 --merges efb603a6ac693a095867cc8253d748648daa91ea~1..efb603a6ac693a095867cc8253d748648daa91ea efb603a6ac693a095867cc8253d748648daa91ea [false] [Pipeline] sh [2021-11-15T23:23:49.263Z] + git log --format=format:%s -1 efb603a6ac693a095867cc8253d748648daa91ea [Pipeline] echo [2021-11-15T23:23:49.290Z] ========================================================= [2021-11-15T23:23:49.290Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-15T23:23:49.290Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T23:23:49.727Z] + git log --format=format:%s -1 efb603a6ac693a095867cc8253d748648daa91ea [Pipeline] echo [2021-11-15T23:23:49.751Z] [semverPrep] GIT_COMMIT: efb603a6ac693a095867cc8253d748648daa91ea, Commit Message: build: Update to use released SDK and go-mods [Pipeline] echo [2021-11-15T23:23:49.785Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:23:50.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:23:50.245Z] [2021-11-15T23:23:50.245Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:23:50.581Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:23:50.581Z] latest: Pulling from edgex-devops/git-semver [2021-11-15T23:23:50.581Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T23:23:50.581Z] 3e5f54012d9b: Pulling fs layer [2021-11-15T23:23:50.581Z] 4c7163046ea9: Pulling fs layer [2021-11-15T23:23:50.581Z] 0c2d73faf560: Pulling fs layer [2021-11-15T23:23:50.581Z] 0c2d73faf560: Waiting [2021-11-15T23:23:50.581Z] 3e5f54012d9b: Verifying Checksum [2021-11-15T23:23:50.581Z] 3e5f54012d9b: Download complete [2021-11-15T23:23:50.581Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T23:23:50.581Z] a0d0a0d46f8b: Download complete [2021-11-15T23:23:50.581Z] 4c7163046ea9: Verifying Checksum [2021-11-15T23:23:50.581Z] 4c7163046ea9: Download complete [2021-11-15T23:23:50.581Z] 0c2d73faf560: Verifying Checksum [2021-11-15T23:23:50.581Z] 0c2d73faf560: Download complete [2021-11-15T23:23:50.844Z] a0d0a0d46f8b: Pull complete [2021-11-15T23:23:50.844Z] 3e5f54012d9b: Pull complete [2021-11-15T23:23:51.111Z] 4c7163046ea9: Pull complete [2021-11-15T23:23:51.382Z] 0c2d73faf560: Pull complete [2021-11-15T23:23:51.382Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-15T23:23:51.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:23:51.382Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-15T23:23:51.472Z] prd-centos7-docker-4c-2g-704 does not seem to be running inside a container [2021-11-15T23:23:51.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-128 -v /w/workspace/gexfoundry_device-snmp-go_PR-128:/w/workspace/gexfoundry_device-snmp-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-128@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 [2021-11-15T23:23:52.095Z] $ docker top fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T23:23:52.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T23:23:52.290Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T23:23:52.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T23:23:52.397Z] $ docker exec fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 ssh-agent [2021-11-15T23:23:52.493Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoKMmMC/agent.13 [2021-11-15T23:23:52.493Z] SSH_AGENT_PID=19 [2021-11-15T23:23:52.500Z] Running ssh-add (command line suppressed) [2021-11-15T23:23:52.591Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_3914304067383302902.key (/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_3914304067383302902.key) [2021-11-15T23:23:52.603Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T23:23:52.925Z] + git tag --points-at HEAD [Pipeline] } [2021-11-15T23:23:52.946Z] $ docker exec --env ******** --env ******** fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 ssh-agent -k [2021-11-15T23:23:53.031Z] unset SSH_AUTH_SOCK; [2021-11-15T23:23:53.031Z] unset SSH_AGENT_PID; [2021-11-15T23:23:53.031Z] echo Agent pid 19 killed; [2021-11-15T23:23:53.039Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-15T23:23:53.102Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T23:23:53.102Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T23:23:53.212Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T23:23:53.215Z] $ docker exec fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 ssh-agent [2021-11-15T23:23:53.317Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFcHboL/agent.53 [2021-11-15T23:23:53.317Z] SSH_AGENT_PID=59 [2021-11-15T23:23:53.323Z] Running ssh-add (command line suppressed) [2021-11-15T23:23:53.409Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_5152284909252933284.key (/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/private_key_5152284909252933284.key) [2021-11-15T23:23:53.421Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T23:23:53.744Z] + git semver init [2021-11-15T23:23:53.744Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T23:23:53.744Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-128/.git [2021-11-15T23:23:53.744Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-128 [2021-11-15T23:23:53.744Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T23:23:53.744Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T23:23:53.744Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T23:23:53.744Z] # $SEMVER_BRANCH = PR-128 [2021-11-15T23:23:53.744Z] # $SEMVER_TEMP = /tmp/semver-772196220 [2021-11-15T23:23:53.744Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-11-15T23:23:54.318Z] # '/tmp/semver-772196220' -> '/w/workspace/gexfoundry_device-snmp-go_PR-128/.semver' [2021-11-15T23:23:54.319Z] # -> Force: false [2021-11-15T23:23:54.319Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-128/.semver [Pipeline] } [2021-11-15T23:23:54.333Z] $ docker exec --env ******** --env ******** fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 ssh-agent -k [2021-11-15T23:23:54.429Z] unset SSH_AUTH_SOCK; [2021-11-15T23:23:54.430Z] unset SSH_AGENT_PID; [2021-11-15T23:23:54.430Z] echo Agent pid 59 killed; [2021-11-15T23:23:54.438Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T23:23:54.836Z] + git semver [Pipeline] } [2021-11-15T23:23:54.860Z] $ docker stop --time=1 fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 [2021-11-15T23:23:56.059Z] $ docker rm -f fab1232dbba47a0dc5543d85cea2854f3e87b6cd112a01daa146687985e46155 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T23:23:56.448Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-15T23:23:56.700Z] Stashed 1 file(s) [Pipeline] echo [2021-11-15T23:23:56.719Z] [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] node [Pipeline] node [2021-11-15T23:24:12.083Z] Still waiting to schedule task [2021-11-15T23:24:12.084Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-15T23:24:12.105Z] Still waiting to schedule task [2021-11-15T23:24:12.105Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-15T23:26:23.779Z] Running on prd-centos7-docker-4c-2g-706 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [Pipeline] { [Pipeline] ws [2021-11-15T23:26:23.854Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T23:26:24.014Z] Selected Git installation does not exist. Using Default [2021-11-15T23:26:24.014Z] The recommended git tool is: NONE [2021-11-15T23:26:26.024Z] using credential edgex-jenkins-ssh [2021-11-15T23:26:26.040Z] Cloning the remote Git repository [2021-11-15T23:26:26.310Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:26:26.366Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-11-15T23:26:26.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:26:26.413Z] > git --version # timeout=10 [2021-11-15T23:26:26.427Z] > git --version # 'git version 2.24.4' [2021-11-15T23:26:26.428Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:26:26.450Z] [INFO] Currently running in a labeled security context [2021-11-15T23:26:26.450Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:26:26.450Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh1326760612589425875.key [2021-11-15T23:26:26.477Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:26:27.380Z] Merging remotes/origin/main commit 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit efb603a6ac693a095867cc8253d748648daa91ea [2021-11-15T23:26:27.071Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-15T23:26:27.085Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:26:27.096Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-15T23:26:27.114Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:26:27.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:26:27.116Z] [INFO] Currently running in a labeled security context [2021-11-15T23:26:27.116Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:26:27.116Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh633622404294388588.key [2021-11-15T23:26:27.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T23:26:27.634Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:26:27.646Z] > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 [2021-11-15T23:26:27.674Z] > git remote # timeout=10 [2021-11-15T23:26:27.685Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T23:26:27.497Z] Merge succeeded, producing efb603a6ac693a095867cc8253d748648daa91ea [2021-11-15T23:26:27.497Z] Checking out Revision efb603a6ac693a095867cc8253d748648daa91ea (PR-128) [2021-11-15T23:26:27.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:26:27.699Z] [INFO] Currently running in a labeled security context [2021-11-15T23:26:27.699Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:26:27.699Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/1@tmp/jenkins-gitclient-ssh2767084286193237036.key [2021-11-15T23:26:27.719Z] > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 [2021-11-15T23:26:27.729Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T23:26:27.744Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:26:27.759Z] > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 [2021-11-15T23:26:31.094Z] Commit message: "build: Update to use released SDK and go-mods" [2021-11-15T23:26:31.358Z] > git --version # timeout=10 [2021-11-15T23:26:31.363Z] > git --version # 'git version 2.24.4' [2021-11-15T23:26:31.375Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:26:31.679Z] provisioning config files... [2021-11-15T23:26:31.693Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8440039138558608793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:26:32.118Z] ---> docker-login.sh [2021-11-15T23:26:32.118Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:26:32.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:26:32.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:26:32.379Z] Configure a credential helper to remove this warning. See [2021-11-15T23:26:32.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:26:32.379Z] [2021-11-15T23:26:32.379Z] Login Succeeded [2021-11-15T23:26:32.379Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:26:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:26:32.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:26:32.379Z] Configure a credential helper to remove this warning. See [2021-11-15T23:26:32.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:26:32.379Z] [2021-11-15T23:26:32.379Z] Login Succeeded [2021-11-15T23:26:32.379Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:26:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:26:32.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:26:32.638Z] Configure a credential helper to remove this warning. See [2021-11-15T23:26:32.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:26:32.638Z] [2021-11-15T23:26:32.638Z] Login Succeeded [2021-11-15T23:26:32.638Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:26:32.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:26:32.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:26:32.638Z] Configure a credential helper to remove this warning. See [2021-11-15T23:26:32.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:26:32.638Z] [2021-11-15T23:26:32.638Z] Login Succeeded [2021-11-15T23:26:32.638Z] docker.io [2021-11-15T23:26:32.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:26:33.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:26:33.208Z] Configure a credential helper to remove this warning. See [2021-11-15T23:26:33.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:26:33.208Z] [2021-11-15T23:26:33.208Z] Login Succeeded [2021-11-15T23:26:33.208Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:26:33.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T23:26:33.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T23:26:33.528Z] ========================================================= [2021-11-15T23:26:33.528Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-15T23:26:33.528Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:26:33.925Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-15T23:26:33.925Z] Sending build context to Docker daemon 484.4kB [2021-11-15T23:26:33.925Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:26:33.925Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T23:26:33.925Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-15T23:26:33.925Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T23:26:33.925Z] 31adcdaf11c8: Pulling fs layer [2021-11-15T23:26:33.925Z] b8b176561691: Pulling fs layer [2021-11-15T23:26:33.925Z] 4527c011a84f: Pulling fs layer [2021-11-15T23:26:33.925Z] 5d74067f8e1e: Pulling fs layer [2021-11-15T23:26:33.925Z] e0aca202a116: Pulling fs layer [2021-11-15T23:26:33.925Z] 3a43be97a3b4: Pulling fs layer [2021-11-15T23:26:33.925Z] 34cad66bf833: Pulling fs layer [2021-11-15T23:26:33.925Z] b4e3c513aaa6: Pulling fs layer [2021-11-15T23:26:33.925Z] 4527c011a84f: Waiting [2021-11-15T23:26:33.925Z] 5d74067f8e1e: Waiting [2021-11-15T23:26:33.925Z] e0aca202a116: Waiting [2021-11-15T23:26:33.925Z] 3a43be97a3b4: Waiting [2021-11-15T23:26:33.925Z] 34cad66bf833: Waiting [2021-11-15T23:26:33.925Z] b4e3c513aaa6: Waiting [2021-11-15T23:26:33.925Z] b8b176561691: Verifying Checksum [2021-11-15T23:26:33.925Z] b8b176561691: Download complete [2021-11-15T23:26:33.925Z] 31adcdaf11c8: Verifying Checksum [2021-11-15T23:26:33.925Z] 31adcdaf11c8: Download complete [2021-11-15T23:26:33.925Z] 5d74067f8e1e: Verifying Checksum [2021-11-15T23:26:33.925Z] 5d74067f8e1e: Download complete [2021-11-15T23:26:33.925Z] e0aca202a116: Verifying Checksum [2021-11-15T23:26:33.925Z] e0aca202a116: Download complete [2021-11-15T23:26:33.925Z] 3a43be97a3b4: Verifying Checksum [2021-11-15T23:26:33.925Z] 3a43be97a3b4: Download complete [2021-11-15T23:26:33.925Z] a0d0a0d46f8b: Download complete [2021-11-15T23:26:34.190Z] 34cad66bf833: Verifying Checksum [2021-11-15T23:26:34.190Z] 34cad66bf833: Download complete [2021-11-15T23:26:34.774Z] 4527c011a84f: Verifying Checksum [2021-11-15T23:26:34.774Z] 4527c011a84f: Download complete [2021-11-15T23:26:34.774Z] b4e3c513aaa6: Verifying Checksum [2021-11-15T23:26:34.774Z] b4e3c513aaa6: Download complete [2021-11-15T23:26:34.774Z] a0d0a0d46f8b: Pull complete [2021-11-15T23:26:34.774Z] 31adcdaf11c8: Pull complete [2021-11-15T23:26:34.774Z] b8b176561691: Pull complete [2021-11-15T23:26:39.018Z] 4527c011a84f: Pull complete [2021-11-15T23:26:39.018Z] 5d74067f8e1e: Pull complete [2021-11-15T23:26:39.018Z] e0aca202a116: Pull complete [2021-11-15T23:26:39.018Z] 3a43be97a3b4: Pull complete [2021-11-15T23:26:39.018Z] 34cad66bf833: Pull complete [2021-11-15T23:26:41.588Z] b4e3c513aaa6: Pull complete [2021-11-15T23:26:41.588Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-15T23:26:41.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-15T23:26:41.588Z] ---> 9f6097aaca64 [2021-11-15T23:26:41.588Z] Step 3/11 : ARG MAKE='make build' [2021-11-15T23:26:44.881Z] ---> Running in 77808b7f1edd [2021-11-15T23:26:44.881Z] Removing intermediate container 77808b7f1edd [2021-11-15T23:26:44.881Z] ---> d73aa55decbd [2021-11-15T23:26:44.881Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:26:44.881Z] ---> Running in 1fb1cdf6ddc7 [2021-11-15T23:26:45.145Z] Removing intermediate container 1fb1cdf6ddc7 [2021-11-15T23:26:45.145Z] ---> 38d8609bb59f [2021-11-15T23:26:45.145Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:26:45.145Z] ---> Running in a9462ac732f9 [2021-11-15T23:26:45.145Z] Removing intermediate container a9462ac732f9 [2021-11-15T23:26:45.145Z] ---> b312e877503a [2021-11-15T23:26:45.145Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:26:45.145Z] ---> Running in eb5a709b90d5 [2021-11-15T23:26:45.727Z] Removing intermediate container eb5a709b90d5 [2021-11-15T23:26:45.727Z] ---> 35174205069f [2021-11-15T23:26:45.727Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:26:45.727Z] ---> Running in 4f64aa62073b [2021-11-15T23:26:45.991Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T23:26:46.939Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T23:26:47.211Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T23:26:47.211Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T23:26:47.211Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T23:26:47.472Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T23:26:47.472Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T23:26:47.472Z] OK: 224 MiB in 56 packages [2021-11-15T23:26:47.733Z] Removing intermediate container 4f64aa62073b [2021-11-15T23:26:47.733Z] ---> 8c4f38aef6dd [2021-11-15T23:26:47.733Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-15T23:26:47.733Z] ---> Running in 63781364d157 [2021-11-15T23:26:47.999Z] Removing intermediate container 63781364d157 [2021-11-15T23:26:47.999Z] ---> b1761407f482 [2021-11-15T23:26:47.999Z] Step 9/11 : COPY . . [2021-11-15T23:26:47.999Z] ---> 01b0856045b9 [2021-11-15T23:26:47.999Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:26:47.999Z] ---> Running in c58ccd569a47 [2021-11-15T23:27:20.180Z] Removing intermediate container c58ccd569a47 [2021-11-15T23:27:20.180Z] ---> 05015ed77a0e [2021-11-15T23:27:20.180Z] Step 11/11 : RUN ${MAKE} [2021-11-15T23:27:20.180Z] ---> Running in f8bcbd95f436 [2021-11-15T23:27:20.180Z] noop [2021-11-15T23:27:20.180Z] Removing intermediate container f8bcbd95f436 [2021-11-15T23:27:20.180Z] ---> e2520864b59e [2021-11-15T23:27:20.180Z] Successfully built e2520864b59e [2021-11-15T23:27:20.180Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:27:20.513Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T23:27:20.513Z] . [Pipeline] withDockerContainer [2021-11-15T23:27:20.597Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-11-15T23:27:20.639Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-15T23:27:20.985Z] $ docker top 7ca630b8d3a46c8fa83d4a10f4038f88204c382fe7671920f70f2a02c86a56e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:27:21.408Z] + go version [2021-11-15T23:27:21.408Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-15T23:27:21.439Z] $ docker stop --time=1 7ca630b8d3a46c8fa83d4a10f4038f88204c382fe7671920f70f2a02c86a56e3 [2021-11-15T23:27:22.628Z] $ docker rm -f 7ca630b8d3a46c8fa83d4a10f4038f88204c382fe7671920f70f2a02c86a56e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:27:23.382Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T23:27:23.382Z] . [Pipeline] withDockerContainer [2021-11-15T23:27:23.470Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-11-15T23:27:23.521Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-15T23:27:23.872Z] $ docker top 4e5e12c0f00ad995830ebcec31bac0fb736e47b8559d88b926fc04bb13b41d11 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T23:27:24.369Z] + make test [2021-11-15T23:27:24.369Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T23:27:24.635Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-15T23:27:28.908Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-707 in /w/workspace/gexfoundry_device-snmp-go_PR-128 [Pipeline] { [Pipeline] ws [2021-11-15T23:27:28.974Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2021-11-15T23:27:29.330Z] Selected Git installation does not exist. Using Default [2021-11-15T23:27:29.330Z] The recommended git tool is: NONE [2021-11-15T23:27:34.568Z] using credential edgex-jenkins-ssh [2021-11-15T23:27:34.592Z] Cloning the remote Git repository [2021-11-15T23:27:34.669Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:27:34.821Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2021-11-15T23:27:34.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:27:34.905Z] > git --version # timeout=10 [2021-11-15T23:27:34.923Z] > git --version # 'git version 2.17.1' [2021-11-15T23:27:34.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:27:35.030Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:27:36.507Z] Merging remotes/origin/main commit 8cef9076ddadae0bb4a2071504c212bd6ac7a64c into PR head commit efb603a6ac693a095867cc8253d748648daa91ea [2021-11-15T23:27:36.719Z] Merge succeeded, producing efb603a6ac693a095867cc8253d748648daa91ea [2021-11-15T23:27:36.719Z] Checking out Revision efb603a6ac693a095867cc8253d748648daa91ea (PR-128) [2021-11-15T23:27:35.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-15T23:27:35.779Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:27:35.809Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-11-15T23:27:35.865Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-11-15T23:27:35.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:27:35.878Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T23:27:36.522Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:27:36.546Z] > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 [2021-11-15T23:27:36.627Z] > git remote # timeout=10 [2021-11-15T23:27:36.642Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T23:27:36.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:27:36.677Z] > git merge 8cef9076ddadae0bb4a2071504c212bd6ac7a64c # timeout=10 [2021-11-15T23:27:36.701Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T23:27:36.722Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:27:36.743Z] > git checkout -f efb603a6ac693a095867cc8253d748648daa91ea # timeout=10 [2021-11-15T23:27:39.611Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-15T23:27:39.611Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2021-11-15T23:27:39.871Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-15T23:27:40.868Z] Commit message: "build: Update to use released SDK and go-mods" [2021-11-15T23:27:40.922Z] > git --version # timeout=10 [2021-11-15T23:27:40.931Z] > git --version # 'git version 2.17.1' [2021-11-15T23:27:40.943Z] fatal: bad object 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T23:27:41.935Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-15T23:27:41.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T23:27:41.935Z] Dload Upload Total Spent Left Speed [2021-11-15T23:27:41.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 88902 0 --:--:-- --:--:-- --:--:-- 89575 [Pipeline] sh [2021-11-15T23:27:42.349Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-15T23:27:42.707Z] + sudo tee+ /etc/docker/daemon.new [2021-11-15T23:27:42.707Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-15T23:27:42.707Z] { [2021-11-15T23:27:42.707Z] "registry-mirrors": [ [2021-11-15T23:27:42.707Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-15T23:27:42.707Z] ], [2021-11-15T23:27:42.707Z] "bip": "10.250.0.254/24", [2021-11-15T23:27:42.707Z] "hosts": [ [2021-11-15T23:27:42.707Z] "tcp://0.0.0.0:5555", [2021-11-15T23:27:42.707Z] "unix:///var/run/docker.sock" [2021-11-15T23:27:42.707Z] ], [2021-11-15T23:27:42.707Z] "mtu": 1458, [2021-11-15T23:27:42.707Z] "selinux-enabled": true, [2021-11-15T23:27:42.707Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-15T23:27:42.707Z] } [Pipeline] sh [2021-11-15T23:27:43.062Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-15T23:27:43.511Z] + sudo service docker restart [2021-11-15T23:27:46.470Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T23:27:46.470Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T23:27:46.470Z] ./bin/test-attribution-txt.sh [2021-11-15T23:27:46.732Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-11-15T23:27:46.732Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-11-15T23:27:46.732Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-11-15T23:27:46.732Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-11-15T23:27:46.766Z] $ docker stop --time=1 4e5e12c0f00ad995830ebcec31bac0fb736e47b8559d88b926fc04bb13b41d11 [2021-11-15T23:27:48.216Z] $ docker rm -f 4e5e12c0f00ad995830ebcec31bac0fb736e47b8559d88b926fc04bb13b41d11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:27:49.480Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:27:49.480Z] [2021-11-15T23:27:49.480Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:27:49.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:27:49.816Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T23:27:49.816Z] b4d181a07f80: Pulling fs layer [2021-11-15T23:27:49.816Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T23:27:49.816Z] ed53099fbce6: Pulling fs layer [2021-11-15T23:27:49.816Z] dc539afda2c1: Pulling fs layer [2021-11-15T23:27:49.816Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T23:27:49.816Z] 9065ff56babe: Pulling fs layer [2021-11-15T23:27:49.816Z] d287ab97295c: Pulling fs layer [2021-11-15T23:27:49.816Z] 77bc0d833cb6: Waiting [2021-11-15T23:27:49.816Z] 9065ff56babe: Waiting [2021-11-15T23:27:49.816Z] d287ab97295c: Waiting [2021-11-15T23:27:49.816Z] dc539afda2c1: Waiting [2021-11-15T23:27:50.086Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T23:27:50.086Z] a1111a8f2ec3: Download complete [2021-11-15T23:27:50.086Z] dc539afda2c1: Verifying Checksum [2021-11-15T23:27:50.086Z] dc539afda2c1: Download complete [2021-11-15T23:27:50.086Z] ed53099fbce6: Verifying Checksum [2021-11-15T23:27:50.086Z] ed53099fbce6: Download complete [2021-11-15T23:27:50.086Z] 9065ff56babe: Verifying Checksum [2021-11-15T23:27:50.086Z] 9065ff56babe: Download complete [2021-11-15T23:27:50.086Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T23:27:50.086Z] 77bc0d833cb6: Download complete [2021-11-15T23:27:50.086Z] b4d181a07f80: Verifying Checksum [2021-11-15T23:27:50.086Z] b4d181a07f80: Download complete [2021-11-15T23:27:50.663Z] d287ab97295c: Verifying Checksum [2021-11-15T23:27:50.663Z] d287ab97295c: Download complete [2021-11-15T23:27:54.870Z] b4d181a07f80: Pull complete [2021-11-15T23:27:54.870Z] a1111a8f2ec3: Pull complete [2021-11-15T23:27:55.453Z] ed53099fbce6: Pull complete [2021-11-15T23:27:55.716Z] dc539afda2c1: Pull complete [2021-11-15T23:27:55.978Z] 77bc0d833cb6: Pull complete [2021-11-15T23:27:55.978Z] 9065ff56babe: Pull complete [2021-11-15T23:28:01.319Z] d287ab97295c: Pull complete [2021-11-15T23:28:01.319Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T23:28:01.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:28:01.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T23:28:01.425Z] prd-centos7-docker-4c-2g-706 does not seem to be running inside a container [2021-11-15T23:28:01.478Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-15T23:28:03.789Z] $ docker top d1770364f1e34e11c26820e672ca79c077f684338ddf5848a536f06dd2121fd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2021-11-15T23:28:04.035Z] provisioning config files... [2021-11-15T23:28:04.061Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5172975407442348596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:28:04.265Z] ---> job-cost.sh [2021-11-15T23:28:04.265Z] lf-activate-venv: SKIPPING [2021-11-15T23:28:04.265Z] INFO: No Stack... [2021-11-15T23:28:04.465Z] ---> docker-login.sh [2021-11-15T23:28:04.465Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:28:04.524Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T23:28:04.785Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T23:28:05.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:28:05.104Z] + cut -d, -f6 [2021-11-15T23:28:05.104Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2021-11-15T23:28:05.156Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [2021-11-15T23:28:05.161Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] did not exist. Created. [2021-11-15T23:28:05.161Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T23:28:05.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:28:05.336Z] Configure a credential helper to remove this warning. See [2021-11-15T23:28:05.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:28:05.336Z] [2021-11-15T23:28:05.336Z] Login Succeeded [2021-11-15T23:28:05.336Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:28:05.539Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-15T23:28:05.724Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T23:28:05.739Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T23:28:05.807Z] $ docker stop --time=1 d1770364f1e34e11c26820e672ca79c077f684338ddf5848a536f06dd2121fd2 [2021-11-15T23:28:05.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:28:05.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:28:05.937Z] Configure a credential helper to remove this warning. See [2021-11-15T23:28:05.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:28:05.937Z] [2021-11-15T23:28:05.937Z] Login Succeeded [2021-11-15T23:28:05.937Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:28:06.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:28:06.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:28:06.488Z] Configure a credential helper to remove this warning. See [2021-11-15T23:28:06.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:28:06.488Z] [2021-11-15T23:28:06.488Z] Login Succeeded [2021-11-15T23:28:06.488Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:28:06.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:28:06.941Z] $ docker rm -f d1770364f1e34e11c26820e672ca79c077f684338ddf5848a536f06dd2121fd2 [2021-11-15T23:28:07.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:28:07.037Z] Configure a credential helper to remove this warning. See [2021-11-15T23:28:07.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:28:07.037Z] [2021-11-15T23:28:07.037Z] Login Succeeded [2021-11-15T23:28:07.037Z] docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-15T23:28:07.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T23:28:07.612Z] Failed in branch amd64 [2021-11-15T23:28:07.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:28:07.909Z] Configure a credential helper to remove this warning. See [2021-11-15T23:28:07.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:28:07.909Z] [2021-11-15T23:28:07.909Z] Login Succeeded [2021-11-15T23:28:07.909Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:28:07.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T23:28:08.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T23:28:08.548Z] ========================================================= [2021-11-15T23:28:08.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-15T23:28:08.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:28:08.981Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-15T23:28:09.254Z] Sending build context to Docker daemon 483.3kB [2021-11-15T23:28:09.530Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:28:09.530Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T23:28:09.530Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-15T23:28:09.530Z] 552d1f2373af: Pulling fs layer [2021-11-15T23:28:09.530Z] ea3f2d53f512: Pulling fs layer [2021-11-15T23:28:09.530Z] 9e70ebbbe112: Pulling fs layer [2021-11-15T23:28:09.530Z] 7a9cfe048b4a: Pulling fs layer [2021-11-15T23:28:09.530Z] 72dc09318566: Pulling fs layer [2021-11-15T23:28:09.530Z] f4f7b4309257: Pulling fs layer [2021-11-15T23:28:09.530Z] 0ac9a79272e3: Pulling fs layer [2021-11-15T23:28:09.530Z] b78e95d17946: Pulling fs layer [2021-11-15T23:28:09.530Z] 7a9cfe048b4a: Waiting [2021-11-15T23:28:09.530Z] 72dc09318566: Waiting [2021-11-15T23:28:09.530Z] f4f7b4309257: Waiting [2021-11-15T23:28:09.530Z] 0ac9a79272e3: Waiting [2021-11-15T23:28:09.530Z] b78e95d17946: Waiting [2021-11-15T23:28:09.530Z] 9e70ebbbe112: Verifying Checksum [2021-11-15T23:28:09.530Z] 9e70ebbbe112: Download complete [2021-11-15T23:28:09.530Z] ea3f2d53f512: Verifying Checksum [2021-11-15T23:28:09.530Z] ea3f2d53f512: Download complete [2021-11-15T23:28:09.530Z] 72dc09318566: Download complete [2021-11-15T23:28:09.530Z] f4f7b4309257: Download complete [2021-11-15T23:28:09.530Z] 552d1f2373af: Verifying Checksum [2021-11-15T23:28:09.530Z] 552d1f2373af: Download complete [2021-11-15T23:28:09.807Z] 0ac9a79272e3: Verifying Checksum [2021-11-15T23:28:09.807Z] 0ac9a79272e3: Download complete [2021-11-15T23:28:10.409Z] 552d1f2373af: Pull complete [2021-11-15T23:28:11.023Z] ea3f2d53f512: Pull complete [2021-11-15T23:28:11.625Z] 9e70ebbbe112: Pull complete [2021-11-15T23:28:11.625Z] b78e95d17946: Download complete [2021-11-15T23:28:12.220Z] 7a9cfe048b4a: Verifying Checksum [2021-11-15T23:28:12.220Z] 7a9cfe048b4a: Download complete [2021-11-15T23:28:22.372Z] 7a9cfe048b4a: Pull complete [2021-11-15T23:28:22.646Z] 72dc09318566: Pull complete [2021-11-15T23:28:22.920Z] f4f7b4309257: Pull complete [2021-11-15T23:28:23.196Z] 0ac9a79272e3: Pull complete [2021-11-15T23:28:29.910Z] b78e95d17946: Pull complete [2021-11-15T23:28:29.910Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-15T23:28:29.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-15T23:28:29.910Z] ---> 8b459fc5aaf0 [2021-11-15T23:28:29.910Z] Step 3/11 : ARG MAKE='make build' [2021-11-15T23:28:30.507Z] ---> Running in 1263a8d730b5 [2021-11-15T23:28:30.783Z] Removing intermediate container 1263a8d730b5 [2021-11-15T23:28:30.783Z] ---> 8f9859647ac1 [2021-11-15T23:28:30.783Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:28:31.061Z] ---> Running in 54914e861c9c [2021-11-15T23:28:31.334Z] Removing intermediate container 54914e861c9c [2021-11-15T23:28:31.334Z] ---> 000366e47c96 [2021-11-15T23:28:31.334Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:28:31.606Z] ---> Running in f5163115db99 [2021-11-15T23:28:31.886Z] Removing intermediate container f5163115db99 [2021-11-15T23:28:31.886Z] ---> c23a01df91f4 [2021-11-15T23:28:31.886Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:28:31.886Z] ---> Running in b474f7dca4e3 [2021-11-15T23:28:33.861Z] Removing intermediate container b474f7dca4e3 [2021-11-15T23:28:33.861Z] ---> f407fd770888 [2021-11-15T23:28:33.861Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:28:34.133Z] ---> Running in 53b7a910fc8a [2021-11-15T23:28:35.111Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T23:28:36.092Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T23:28:37.066Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T23:28:37.066Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T23:28:37.066Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T23:28:37.066Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T23:28:37.341Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T23:28:37.341Z] OK: 223 MiB in 56 packages [2021-11-15T23:28:38.318Z] Removing intermediate container 53b7a910fc8a [2021-11-15T23:28:38.318Z] ---> fdfdb9cfa165 [2021-11-15T23:28:38.318Z] Step 8/11 : WORKDIR /device-snmp-go [2021-11-15T23:28:38.318Z] ---> Running in e8f4add496f4 [2021-11-15T23:28:38.914Z] Removing intermediate container e8f4add496f4 [2021-11-15T23:28:38.914Z] ---> 94d242778ab1 [2021-11-15T23:28:38.914Z] Step 9/11 : COPY . . [2021-11-15T23:28:39.923Z] ---> 6878788bb4b4 [2021-11-15T23:28:39.923Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:28:39.923Z] ---> Running in 564a07922bee [2021-11-15T23:30:01.752Z] Removing intermediate container 564a07922bee [2021-11-15T23:30:01.752Z] ---> 4f51d7e1a167 [2021-11-15T23:30:01.752Z] Step 11/11 : RUN ${MAKE} [2021-11-15T23:30:01.752Z] ---> Running in 481ace9e3bb1 [2021-11-15T23:30:01.752Z] noop [2021-11-15T23:30:01.752Z] Removing intermediate container 481ace9e3bb1 [2021-11-15T23:30:01.752Z] ---> 33b3f5678bda [2021-11-15T23:30:01.752Z] Successfully built 33b3f5678bda [2021-11-15T23:30:01.752Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:30:02.132Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T23:30:02.132Z] . [Pipeline] withDockerContainer [2021-11-15T23:30:02.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-707 does not seem to be running inside a container [2021-11-15T23:30:02.541Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T23:30:04.108Z] $ docker top b6ea859bf5d45f6b03770497f06e162cf64bddb10c252c11ac9cb25a6047b22c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:30:05.066Z] + go version [2021-11-15T23:30:05.067Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-15T23:30:05.146Z] $ docker stop --time=1 b6ea859bf5d45f6b03770497f06e162cf64bddb10c252c11ac9cb25a6047b22c [2021-11-15T23:30:06.875Z] $ docker rm -f b6ea859bf5d45f6b03770497f06e162cf64bddb10c252c11ac9cb25a6047b22c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:30:07.678Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T23:30:07.678Z] . [Pipeline] withDockerContainer [2021-11-15T23:30:07.957Z] prd-ubuntu18.04-docker-arm64-4c-16g-707 does not seem to be running inside a container [2021-11-15T23:30:08.076Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T23:30:09.616Z] $ docker top 500cb9d6d8d5cf447ab80880bb791db479cc07ffdf7410ac9c1ed9e75291c900 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T23:30:10.615Z] + make test [2021-11-15T23:30:10.615Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-15T23:30:12.063Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-11-15T23:31:08.683Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-11-15T23:31:08.683Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements [2021-11-15T23:31:08.683Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-15T23:31:30.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T23:31:30.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T23:31:31.172Z] ./bin/test-attribution-txt.sh [2021-11-15T23:31:33.153Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-11-15T23:31:33.153Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-11-15T23:31:33.153Z] An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add [2021-11-15T23:31:33.153Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-11-15T23:31:33.266Z] $ docker stop --time=1 500cb9d6d8d5cf447ab80880bb791db479cc07ffdf7410ac9c1ed9e75291c900 [2021-11-15T23:31:35.104Z] $ docker rm -f 500cb9d6d8d5cf447ab80880bb791db479cc07ffdf7410ac9c1ed9e75291c900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:31:36.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:31:36.871Z] [2021-11-15T23:31:36.871Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:31:37.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:31:37.537Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-15T23:31:37.537Z] 448f6bf000e3: Pulling fs layer [2021-11-15T23:31:37.537Z] f757da607395: Pulling fs layer [2021-11-15T23:31:37.537Z] 05883995daec: Pulling fs layer [2021-11-15T23:31:37.537Z] 8603b9c90790: Pulling fs layer [2021-11-15T23:31:37.537Z] 1560dd03e051: Pulling fs layer [2021-11-15T23:31:37.537Z] 27f5ce0e4adf: Pulling fs layer [2021-11-15T23:31:37.537Z] c2d8d7efcc4b: Pulling fs layer [2021-11-15T23:31:37.537Z] 1560dd03e051: Waiting [2021-11-15T23:31:37.537Z] 27f5ce0e4adf: Waiting [2021-11-15T23:31:37.537Z] c2d8d7efcc4b: Waiting [2021-11-15T23:31:37.537Z] 8603b9c90790: Waiting [2021-11-15T23:31:37.537Z] f757da607395: Verifying Checksum [2021-11-15T23:31:37.537Z] f757da607395: Download complete [2021-11-15T23:31:37.537Z] 8603b9c90790: Verifying Checksum [2021-11-15T23:31:37.537Z] 8603b9c90790: Download complete [2021-11-15T23:31:37.812Z] 1560dd03e051: Verifying Checksum [2021-11-15T23:31:37.812Z] 1560dd03e051: Download complete [2021-11-15T23:31:37.812Z] 05883995daec: Verifying Checksum [2021-11-15T23:31:37.812Z] 05883995daec: Download complete [2021-11-15T23:31:37.812Z] 27f5ce0e4adf: Verifying Checksum [2021-11-15T23:31:37.812Z] 27f5ce0e4adf: Download complete [2021-11-15T23:31:38.086Z] 448f6bf000e3: Verifying Checksum [2021-11-15T23:31:38.086Z] 448f6bf000e3: Download complete [2021-11-15T23:31:40.710Z] c2d8d7efcc4b: Download complete [2021-11-15T23:31:41.706Z] 448f6bf000e3: Pull complete [2021-11-15T23:31:42.305Z] f757da607395: Pull complete [2021-11-15T23:31:43.739Z] 05883995daec: Pull complete [2021-11-15T23:31:44.012Z] 8603b9c90790: Pull complete [2021-11-15T23:31:44.995Z] 1560dd03e051: Pull complete [2021-11-15T23:31:45.273Z] 27f5ce0e4adf: Pull complete [2021-11-15T23:32:00.366Z] c2d8d7efcc4b: Pull complete [2021-11-15T23:32:00.366Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-15T23:32:00.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:32:00.366Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-15T23:32:00.665Z] prd-ubuntu18.04-docker-arm64-4c-16g-707 does not seem to be running inside a container [2021-11-15T23:32:00.824Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-15T23:32:03.620Z] $ docker top f7330dd61b5d37e15a33301687057f53a32e6665348e62346ef6d98469e3198a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:04.565Z] ---> job-cost.sh [2021-11-15T23:32:04.565Z] lf-activate-venv: SKIPPING [2021-11-15T23:32:04.565Z] INFO: No Stack... [2021-11-15T23:32:04.838Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-15T23:32:05.437Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T23:32:06.136Z] + cat+ /w/workspace/device-snmp-go/1/archives/cost.csv [2021-11-15T23:32:06.136Z] cut -d, -f6 [Pipeline] lock [2021-11-15T23:32:06.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [2021-11-15T23:32:06.230Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] did not exist. Created. [2021-11-15T23:32:06.230Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T23:32:06.964Z] /w/workspace/device-snmp-go/1@tmp/durable-28e78e16/script.sh: 1: /w/workspace/device-snmp-go/1@tmp/durable-28e78e16/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-15T23:32:07.684Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-15T23:32:07.723Z] Warning: overwriting stash ‘stack-cost’ [2021-11-15T23:32:08.299Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T23:32:08.317Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-128-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T23:32:08.443Z] $ docker stop --time=1 f7330dd61b5d37e15a33301687057f53a32e6665348e62346ef6d98469e3198a [2021-11-15T23:32:10.084Z] $ docker rm -f f7330dd61b5d37e15a33301687057f53a32e6665348e62346ef6d98469e3198a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T23:32:10.753Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [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 [2021-11-15T23:32:12.960Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-128/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:13.305Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:13.889Z] ---> package-listing.sh [2021-11-15T23:32:13.889Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-15T23:32:13.889Z] ++ facter osfamily [2021-11-15T23:32:14.155Z] + OS_FAMILY=redhat [2021-11-15T23:32:14.155Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-128 [2021-11-15T23:32:14.155Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-15T23:32:14.155Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-15T23:32:14.155Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-15T23:32:14.155Z] + PACKAGES=/tmp/packages_start.txt [2021-11-15T23:32:14.155Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-128 ']' [2021-11-15T23:32:14.155Z] + PACKAGES=/tmp/packages_end.txt [2021-11-15T23:32:14.155Z] + case "${OS_FAMILY}" in [2021-11-15T23:32:14.155Z] + rpm -qa [2021-11-15T23:32:14.155Z] + sort [2021-11-15T23:32:14.751Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-15T23:32:14.751Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-15T23:32:14.751Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-15T23:32:14.751Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-128 ']' [2021-11-15T23:32:14.751Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-128/archives/ [2021-11-15T23:32:14.751Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-128/archives/ [Pipeline] echo [2021-11-15T23:32:14.779Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-15T23:32:15.086Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:32:15.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:32:15.411Z] [2021-11-15T23:32:15.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:32:15.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:32:15.749Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T23:32:15.749Z] b4d181a07f80: Pulling fs layer [2021-11-15T23:32:15.749Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T23:32:15.749Z] ed53099fbce6: Pulling fs layer [2021-11-15T23:32:15.749Z] dc539afda2c1: Pulling fs layer [2021-11-15T23:32:15.749Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T23:32:15.749Z] 9065ff56babe: Pulling fs layer [2021-11-15T23:32:15.749Z] d287ab97295c: Pulling fs layer [2021-11-15T23:32:15.749Z] 77bc0d833cb6: Waiting [2021-11-15T23:32:15.749Z] 9065ff56babe: Waiting [2021-11-15T23:32:15.749Z] d287ab97295c: Waiting [2021-11-15T23:32:15.749Z] dc539afda2c1: Waiting [2021-11-15T23:32:15.749Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T23:32:15.749Z] a1111a8f2ec3: Download complete [2021-11-15T23:32:15.749Z] dc539afda2c1: Verifying Checksum [2021-11-15T23:32:15.749Z] dc539afda2c1: Download complete [2021-11-15T23:32:15.749Z] ed53099fbce6: Verifying Checksum [2021-11-15T23:32:15.749Z] ed53099fbce6: Download complete [2021-11-15T23:32:15.749Z] 9065ff56babe: Verifying Checksum [2021-11-15T23:32:15.749Z] 9065ff56babe: Download complete [2021-11-15T23:32:16.011Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T23:32:16.011Z] 77bc0d833cb6: Download complete [2021-11-15T23:32:16.011Z] b4d181a07f80: Verifying Checksum [2021-11-15T23:32:16.011Z] b4d181a07f80: Download complete [2021-11-15T23:32:16.612Z] d287ab97295c: Verifying Checksum [2021-11-15T23:32:16.612Z] d287ab97295c: Download complete [2021-11-15T23:32:17.563Z] b4d181a07f80: Pull complete [2021-11-15T23:32:17.564Z] a1111a8f2ec3: Pull complete [2021-11-15T23:32:18.143Z] ed53099fbce6: Pull complete [2021-11-15T23:32:18.143Z] dc539afda2c1: Pull complete [2021-11-15T23:32:18.720Z] 77bc0d833cb6: Pull complete [2021-11-15T23:32:18.720Z] 9065ff56babe: Pull complete [2021-11-15T23:32:24.040Z] d287ab97295c: Pull complete [2021-11-15T23:32:24.041Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T23:32:24.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:32:24.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T23:32:24.132Z] prd-centos7-docker-4c-2g-704 does not seem to be running inside a container [2021-11-15T23:32:24.164Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-128/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-128 -v /w/workspace/gexfoundry_device-snmp-go_PR-128:/w/workspace/gexfoundry_device-snmp-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-128@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-128@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 [2021-11-15T23:32:26.296Z] $ docker top 146967e6e85c4fb23df776fa9cd53a327e43722efddcc8b2132dba4b0fbe5d56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:32:26.686Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-15T23:32:26.993Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-15T23:32:27.304Z] + ls /var/log/sa-host [2021-11-15T23:32:27.304Z] + sadf -c /var/log/sa-host/sa15 [2021-11-15T23:32:27.304Z] file_magic: OK [2021-11-15T23:32:27.304Z] HZ: Using current value: 100 [2021-11-15T23:32:27.304Z] file_header: OK [2021-11-15T23:32:27.304Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T23:32:27.304Z] Statistics: [2021-11-15T23:32:27.304Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T23:32:27.304Z] File successfully converted to sysstat format version 12.0.3 [2021-11-15T23:32:27.304Z] + sadf -c /var/log/sa-host/sa30 [2021-11-15T23:32:27.304Z] file_magic: OK [2021-11-15T23:32:27.304Z] HZ: Using current value: 100 [2021-11-15T23:32:27.304Z] file_header: OK [2021-11-15T23:32:27.304Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T23:32:27.304Z] Statistics: [2021-11-15T23:32:27.304Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T23:32:27.304Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:32:27.430Z] provisioning config files... [2021-11-15T23:32:27.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-128@tmp/config6832458139458466210tmp [Pipeline] { [Pipeline] echo [2021-11-15T23:32:27.481Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:27.811Z] ---> create-netrc.sh [Pipeline] } [2021-11-15T23:32:27.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:28.229Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-15T23:32:28.259Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:28.585Z] ---> sudo-logs.sh [2021-11-15T23:32:28.585Z] Archiving 'sudo' log.. [2021-11-15T23:32:28.585Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-704.novalocal: Name or service not known [2021-11-15T23:32:28.585Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-704.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-15T23:32:28.663Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:28.995Z] ---> job-cost.sh [2021-11-15T23:32:28.995Z] lf-activate-venv: SKIPPING [2021-11-15T23:32:28.995Z] DEBUG: total: 0.10999999940395355 [2021-11-15T23:32:28.995Z] INFO: Retrieving Stack Cost... [2021-11-15T23:32:29.255Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T23:32:29.514Z] INFO: Archiving Costs [Pipeline] echo [2021-11-15T23:32:29.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:32:29.866Z] ---> logs-deploy.sh [2021-11-15T23:32:29.866Z] lf-activate-venv: SKIPPING [2021-11-15T23:32:29.866Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-128/1 [2021-11-15T23:32:29.866Z] INFO: archiving workspace using pattern(s): [2021-11-15T23:32:30.447Z] Archives upload complete. [2021-11-15T23:32:30.707Z] INFO: archiving logs to Nexus