Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 8bb32805f03fb28af25e69a0648a2076882556f1 rather than dd9a9d848815c925435f7fd8d2711bc0a2ea26eb Obtained Jenkinsfile from 8bb32805f03fb28af25e69a0648a2076882556f1 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1858140131253642179.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh5575942352711353608.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2853520311063285207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh7080625974607112314.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4219837684053700802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13407’ Running on prd-centos7-docker-4c-2g-13410 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [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-127 # 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-127@tmp/jenkins-gitclient-ssh8523340534994041585.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit dd9a9d848815c925435f7fd8d2711bc0a2ea26eb Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (PR-127) > 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-127@tmp/jenkins-gitclient-ssh8636208026968388952.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # 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-127@tmp/jenkins-gitclient-ssh8598195998486973231.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 4)" First time build. Skipping changelog. > git rev-list --no-walk 9a08a510461eaf59e40d51060415424e250a91d4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-29T11:23:02.601Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T11:23:02.637Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T11:23:02.651Z] ========================================================= [2021-10-29T11:23:02.651Z] EdgeX Global Pipelines Version Info [2021-10-29T11:23:02.651Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:23:03.808Z] ------------------- [2021-10-29T11:23:03.808Z] stable info: [2021-10-29T11:23:03.808Z] ------------------- [2021-10-29T11:23:03.808Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T11:23:03.808Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T11:23:03.808Z] Message: update stable to v1.0.210 [2021-10-29T11:23:04.382Z] ------------------- [2021-10-29T11:23:04.382Z] experimental info: [2021-10-29T11:23:04.382Z] ------------------- [2021-10-29T11:23:04.382Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T11:23:04.382Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T11:23:04.382Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T11:23:04.453Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-10-29T11:23:04.462Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-10-29T11:23:04.472Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T11:23:04.481Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T11:23:04.492Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T11:23:04.501Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T11:23:04.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T11:23:04.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T11:23:04.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T11:23:04.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T11:23:04.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T11:23:04.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-10-29T11:23:04.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T11:23:04.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T11:23:04.579Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T11:23:04.585Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T11:23:04.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T11:23:04.598Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T11:23:04.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T11:23:04.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-29T11:23:04.621Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T11:23:04.635Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T11:23:04.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T11:23:04.651Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T11:23:04.661Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T11:23:04.670Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T11:23:04.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-10-29T11:23:04.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-10-29T11:23:04.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-10-29T11:23:04.701Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [Pipeline] echo [2021-10-29T11:23:04.711Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd9a9d8 [Pipeline] echo [2021-10-29T11:23:04.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T11:23:04.753Z] provisioning config files... [2021-10-29T11:23:04.767Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config7998939201176494091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:23:05.071Z] ---> docker-login.sh [2021-10-29T11:23:05.071Z] nexus3.edgexfoundry.org:10001 [2021-10-29T11:23:05.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:23:05.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:23:05.336Z] Configure a credential helper to remove this warning. See [2021-10-29T11:23:05.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:23:05.336Z] [2021-10-29T11:23:05.336Z] Login Succeeded [2021-10-29T11:23:05.336Z] nexus3.edgexfoundry.org:10002 [2021-10-29T11:23:05.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:23:05.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:23:05.336Z] Configure a credential helper to remove this warning. See [2021-10-29T11:23:05.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:23:05.336Z] [2021-10-29T11:23:05.336Z] Login Succeeded [2021-10-29T11:23:05.336Z] nexus3.edgexfoundry.org:10003 [2021-10-29T11:23:05.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:23:05.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:23:05.602Z] Configure a credential helper to remove this warning. See [2021-10-29T11:23:05.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:23:05.602Z] [2021-10-29T11:23:05.602Z] Login Succeeded [2021-10-29T11:23:05.602Z] nexus3.edgexfoundry.org:10004 [2021-10-29T11:23:05.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:23:05.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:23:05.602Z] Configure a credential helper to remove this warning. See [2021-10-29T11:23:05.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:23:05.602Z] [2021-10-29T11:23:05.602Z] Login Succeeded [2021-10-29T11:23:05.602Z] docker.io [2021-10-29T11:23:05.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:23:06.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:23:06.175Z] Configure a credential helper to remove this warning. See [2021-10-29T11:23:06.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:23:06.175Z] [2021-10-29T11:23:06.175Z] Login Succeeded [2021-10-29T11:23:06.175Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T11:23:06.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T11:23:06.610Z] + git log --format=format:%s -1 dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [Pipeline] echo [2021-10-29T11:23:06.644Z] GIT_COMMIT: dd9a9d848815c925435f7fd8d2711bc0a2ea26eb, Commit Message: feat(snap): add initial snap packaging (part 4) [Pipeline] echo [2021-10-29T11:23:06.653Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:23:07.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T11:23:07.067Z] [2021-10-29T11:23:07.067Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:23:07.365Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T11:23:07.365Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T11:23:07.365Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T11:23:07.365Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T11:23:07.365Z] 4c7163046ea9: Pulling fs layer [2021-10-29T11:23:07.365Z] 0c2d73faf560: Pulling fs layer [2021-10-29T11:23:07.365Z] 0c2d73faf560: Waiting [2021-10-29T11:23:07.365Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T11:23:07.365Z] 3e5f54012d9b: Download complete [2021-10-29T11:23:07.365Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T11:23:07.365Z] a0d0a0d46f8b: Download complete [2021-10-29T11:23:07.365Z] 4c7163046ea9: Verifying Checksum [2021-10-29T11:23:07.365Z] 4c7163046ea9: Download complete [2021-10-29T11:23:07.365Z] 0c2d73faf560: Verifying Checksum [2021-10-29T11:23:07.365Z] 0c2d73faf560: Download complete [2021-10-29T11:23:07.625Z] a0d0a0d46f8b: Pull complete [2021-10-29T11:23:07.625Z] 3e5f54012d9b: Pull complete [2021-10-29T11:23:07.886Z] 4c7163046ea9: Pull complete [2021-10-29T11:23:08.150Z] 0c2d73faf560: Pull complete [2021-10-29T11:23:08.150Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T11:23:08.150Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T11:23:08.150Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T11:23:08.217Z] prd-centos7-docker-4c-2g-13410 does not seem to be running inside a container [2021-10-29T11:23:07.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@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:10004/edgex-devops/git-semver:latest cat [2021-10-29T11:23:08.551Z] $ docker top e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T11:23:08.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T11:23:08.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T11:23:08.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T11:23:08.750Z] $ docker exec e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent [2021-10-29T11:23:09.067Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaECpHN/agent.14 [2021-10-29T11:23:09.067Z] SSH_AGENT_PID=21 [2021-10-29T11:23:09.075Z] Running ssh-add (command line suppressed) [2021-10-29T11:23:08.945Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4683413827049762863.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_4683413827049762863.key) [2021-10-29T11:23:09.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T11:23:09.475Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T11:23:09.302Z] $ docker exec --env ******** --env ******** e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent -k [2021-10-29T11:23:09.393Z] unset SSH_AUTH_SOCK; [2021-10-29T11:23:09.394Z] unset SSH_AGENT_PID; [2021-10-29T11:23:09.394Z] echo Agent pid 21 killed; [2021-10-29T11:23:09.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T11:23:09.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T11:23:09.603Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T11:23:09.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T11:23:09.535Z] $ docker exec e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent [2021-10-29T11:23:09.793Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpMBcNA/agent.54 [2021-10-29T11:23:09.793Z] SSH_AGENT_PID=61 [2021-10-29T11:23:09.797Z] Running ssh-add (command line suppressed) [2021-10-29T11:23:09.727Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5734134621121149346.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_5734134621121149346.key) [2021-10-29T11:23:09.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T11:23:10.184Z] + git semver init [2021-10-29T11:23:10.185Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T11:23:10.185Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git [2021-10-29T11:23:10.185Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T11:23:10.185Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T11:23:10.185Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T11:23:10.185Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T11:23:10.185Z] # $SEMVER_BRANCH = PR-127 [2021-10-29T11:23:10.185Z] # $SEMVER_TEMP = /tmp/semver-929323481 [2021-10-29T11:23:10.185Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-10-29T11:23:10.760Z] # '/tmp/semver-929323481' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' [2021-10-29T11:23:10.760Z] # -> Force: false [2021-10-29T11:23:10.760Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } [2021-10-29T11:23:10.721Z] $ docker exec --env ******** --env ******** e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 ssh-agent -k [2021-10-29T11:23:10.821Z] unset SSH_AUTH_SOCK; [2021-10-29T11:23:10.822Z] unset SSH_AGENT_PID; [2021-10-29T11:23:10.822Z] echo Agent pid 61 killed; [2021-10-29T11:23:10.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T11:23:11.217Z] + git semver [Pipeline] } [2021-10-29T11:23:11.187Z] $ docker stop --time=1 e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 [2021-10-29T11:23:12.399Z] $ docker rm -f e1e87eff3536eb50f5766cc67ba071d734d4bf16013a3622ad74e7dcd9bbcfb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T11:23:12.744Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T11:23:12.968Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T11:23:12.970Z] [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-10-29T11:23:28.102Z] Still waiting to schedule task [2021-10-29T11:23:28.103Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-29T11:23:28.103Z] Still waiting to schedule task [2021-10-29T11:23:28.104Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13408’ is offline [2021-10-29T11:24:14.618Z] Running on prd-centos7-docker-4c-2g-13412 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T11:24:14.629Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-10-29T11:24:14.711Z] Selected Git installation does not exist. Using Default [2021-10-29T11:24:14.712Z] The recommended git tool is: NONE [2021-10-29T11:24:16.567Z] using credential edgex-jenkins-ssh [2021-10-29T11:24:16.581Z] Cloning the remote Git repository [2021-10-29T11:24:16.455Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:24:16.506Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-10-29T11:24:16.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:24:16.539Z] > git --version # timeout=10 [2021-10-29T11:24:16.552Z] > git --version # 'git version 2.24.4' [2021-10-29T11:24:16.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:24:16.581Z] [INFO] Currently running in a labeled security context [2021-10-29T11:24:16.581Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T11:24:16.581Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh1338486391476448610.key [2021-10-29T11:24:16.604Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T11:24:17.882Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [2021-10-29T11:24:17.987Z] Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [2021-10-29T11:24:17.987Z] Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (PR-127) [2021-10-29T11:24:17.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T11:24:17.175Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T11:24:17.184Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T11:24:17.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:24:17.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:24:17.198Z] [INFO] Currently running in a labeled security context [2021-10-29T11:24:17.198Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T11:24:17.198Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh8592010540368393378.key [2021-10-29T11:24:17.211Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-29T11:24:17.744Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T11:24:17.754Z] > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 [2021-10-29T11:24:17.796Z] > git remote # timeout=10 [2021-10-29T11:24:17.806Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T11:24:17.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:24:17.813Z] [INFO] Currently running in a labeled security context [2021-10-29T11:24:17.813Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T11:24:17.813Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/4@tmp/jenkins-gitclient-ssh6122103225265728666.key [2021-10-29T11:24:17.819Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T11:24:17.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T11:24:17.841Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T11:24:17.848Z] > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 [2021-10-29T11:24:21.529Z] Commit message: "feat(snap): add initial snap packaging (part 4)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T11:24:21.897Z] provisioning config files... [2021-10-29T11:24:21.916Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config6329557452403098381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:24:22.314Z] ---> docker-login.sh [2021-10-29T11:24:22.314Z] nexus3.edgexfoundry.org:10001 [2021-10-29T11:24:22.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:24:22.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:24:22.314Z] Configure a credential helper to remove this warning. See [2021-10-29T11:24:22.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:24:22.314Z] [2021-10-29T11:24:22.314Z] Login Succeeded [2021-10-29T11:24:22.314Z] nexus3.edgexfoundry.org:10002 [2021-10-29T11:24:22.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:24:22.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:24:22.581Z] Configure a credential helper to remove this warning. See [2021-10-29T11:24:22.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:24:22.581Z] [2021-10-29T11:24:22.581Z] Login Succeeded [2021-10-29T11:24:22.581Z] nexus3.edgexfoundry.org:10003 [2021-10-29T11:24:22.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:24:22.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:24:22.581Z] Configure a credential helper to remove this warning. See [2021-10-29T11:24:22.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:24:22.581Z] [2021-10-29T11:24:22.581Z] Login Succeeded [2021-10-29T11:24:22.581Z] nexus3.edgexfoundry.org:10004 [2021-10-29T11:24:22.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:24:22.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:24:22.843Z] Configure a credential helper to remove this warning. See [2021-10-29T11:24:22.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:24:22.843Z] [2021-10-29T11:24:22.843Z] Login Succeeded [2021-10-29T11:24:22.843Z] docker.io [2021-10-29T11:24:22.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:24:23.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:24:23.103Z] Configure a credential helper to remove this warning. See [2021-10-29T11:24:23.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:24:23.103Z] [2021-10-29T11:24:23.103Z] Login Succeeded [2021-10-29T11:24:23.103Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T11:24:23.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T11:24:23.260Z] ========================================================= [2021-10-29T11:24:23.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T11:24:23.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:24:23.567Z] + 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-10-29T11:24:23.567Z] Sending build context to Docker daemon 487.9kB [2021-10-29T11:24:23.567Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T11:24:23.567Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T11:24:23.567Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T11:24:23.567Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T11:24:23.567Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T11:24:23.567Z] b8b176561691: Pulling fs layer [2021-10-29T11:24:23.567Z] 4527c011a84f: Pulling fs layer [2021-10-29T11:24:23.567Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T11:24:23.567Z] e0aca202a116: Pulling fs layer [2021-10-29T11:24:23.567Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T11:24:23.567Z] 34cad66bf833: Pulling fs layer [2021-10-29T11:24:23.567Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T11:24:23.567Z] 4527c011a84f: Waiting [2021-10-29T11:24:23.567Z] 5d74067f8e1e: Waiting [2021-10-29T11:24:23.567Z] e0aca202a116: Waiting [2021-10-29T11:24:23.567Z] 3a43be97a3b4: Waiting [2021-10-29T11:24:23.567Z] 34cad66bf833: Waiting [2021-10-29T11:24:23.567Z] b4e3c513aaa6: Waiting [2021-10-29T11:24:23.567Z] b8b176561691: Download complete [2021-10-29T11:24:23.567Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T11:24:23.567Z] 31adcdaf11c8: Download complete [2021-10-29T11:24:23.567Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T11:24:23.567Z] 5d74067f8e1e: Download complete [2021-10-29T11:24:23.567Z] e0aca202a116: Verifying Checksum [2021-10-29T11:24:23.567Z] e0aca202a116: Download complete [2021-10-29T11:24:23.567Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T11:24:23.567Z] a0d0a0d46f8b: Download complete [2021-10-29T11:24:23.828Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T11:24:23.828Z] 3a43be97a3b4: Download complete [2021-10-29T11:24:23.828Z] 34cad66bf833: Verifying Checksum [2021-10-29T11:24:23.828Z] 34cad66bf833: Download complete [2021-10-29T11:24:24.407Z] 4527c011a84f: Verifying Checksum [2021-10-29T11:24:24.407Z] 4527c011a84f: Download complete [2021-10-29T11:24:24.407Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T11:24:24.407Z] b4e3c513aaa6: Download complete [2021-10-29T11:24:24.407Z] a0d0a0d46f8b: Pull complete [2021-10-29T11:24:24.407Z] 31adcdaf11c8: Pull complete [2021-10-29T11:24:24.407Z] b8b176561691: Pull complete [2021-10-29T11:24:28.713Z] 4527c011a84f: Pull complete [2021-10-29T11:24:28.713Z] 5d74067f8e1e: Pull complete [2021-10-29T11:24:28.713Z] e0aca202a116: Pull complete [2021-10-29T11:24:28.713Z] 3a43be97a3b4: Pull complete [2021-10-29T11:24:28.713Z] 34cad66bf833: Pull complete [2021-10-29T11:24:30.640Z] b4e3c513aaa6: Pull complete [2021-10-29T11:24:30.640Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T11:24:30.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T11:24:30.640Z] ---> 9f6097aaca64 [2021-10-29T11:24:30.640Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T11:24:33.949Z] ---> Running in 09575dd177c8 [2021-10-29T11:24:34.213Z] Removing intermediate container 09575dd177c8 [2021-10-29T11:24:34.213Z] ---> 0a9fe6223ab3 [2021-10-29T11:24:34.213Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T11:24:34.213Z] ---> Running in 35e04da806e1 [2021-10-29T11:24:34.213Z] Removing intermediate container 35e04da806e1 [2021-10-29T11:24:34.213Z] ---> 45af777759e8 [2021-10-29T11:24:34.213Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T11:24:34.213Z] ---> Running in a22287fd6052 [2021-10-29T11:24:34.478Z] Removing intermediate container a22287fd6052 [2021-10-29T11:24:34.478Z] ---> b3f096c83c96 [2021-10-29T11:24:34.478Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T11:24:34.478Z] ---> Running in db2f51e28843 [2021-10-29T11:24:35.050Z] Removing intermediate container db2f51e28843 [2021-10-29T11:24:35.050Z] ---> 1b1409b01532 [2021-10-29T11:24:35.050Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T11:24:35.050Z] ---> Running in 3563cc012bc4 [2021-10-29T11:24:35.050Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T11:24:35.992Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T11:24:36.571Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T11:24:36.571Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T11:24:36.571Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T11:24:36.833Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T11:24:36.833Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T11:24:36.833Z] OK: 224 MiB in 56 packages [2021-10-29T11:24:37.097Z] Removing intermediate container 3563cc012bc4 [2021-10-29T11:24:37.097Z] ---> 6190e45633dc [2021-10-29T11:24:37.097Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T11:24:37.097Z] ---> Running in 841501e2156b [2021-10-29T11:24:37.357Z] Removing intermediate container 841501e2156b [2021-10-29T11:24:37.358Z] ---> 2fce3a461da6 [2021-10-29T11:24:37.358Z] Step 9/11 : COPY . . [2021-10-29T11:24:37.623Z] ---> eb17e6c206e1 [2021-10-29T11:24:37.623Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T11:24:37.623Z] ---> Running in b8fc4dbf3bb7 [2021-10-29T11:24:52.546Z] Removing intermediate container b8fc4dbf3bb7 [2021-10-29T11:24:52.546Z] ---> 64feae14ec5e [2021-10-29T11:24:52.546Z] Step 11/11 : RUN ${MAKE} [2021-10-29T11:24:52.546Z] ---> Running in 5404aeb8211e [2021-10-29T11:24:52.546Z] noop [2021-10-29T11:24:52.546Z] Removing intermediate container 5404aeb8211e [2021-10-29T11:24:52.546Z] ---> 6d066f3d5e9c [2021-10-29T11:24:52.546Z] Successfully built 6d066f3d5e9c [2021-10-29T11:24:52.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:24:52.857Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T11:24:52.858Z] . [Pipeline] withDockerContainer [2021-10-29T11:24:52.930Z] prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container [2021-10-29T11:24:52.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T11:24:53.315Z] $ docker top c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T11:24:53.685Z] + go version [2021-10-29T11:24:53.685Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T11:24:53.696Z] $ docker stop --time=1 c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f [2021-10-29T11:24:54.864Z] $ docker rm -f c03191d254bd9f9558e5d50f11605f486d12b47f0b8385c008f901e01a3b666f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:24:55.456Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T11:24:55.456Z] . [Pipeline] withDockerContainer [2021-10-29T11:24:55.524Z] prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container [2021-10-29T11:24:55.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T11:24:55.948Z] $ docker top bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T11:24:56.314Z] + make test [2021-10-29T11:24:56.314Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T11:24:56.581Z] /go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.3.5/netconn.go:26:2: missing go.sum entry for module providing package golang.org/x/net/proxy (imported by github.com/eclipse/paho.mqtt.golang); to add: [2021-10-29T11:24:56.581Z] go get github.com/eclipse/paho.mqtt.golang@v1.3.5 [2021-10-29T11:24:56.581Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.6.1/baked_in.go:21:2: missing go.sum entry for module providing package golang.org/x/text/language (imported by github.com/go-playground/validator/v10); to add: [2021-10-29T11:24:56.581Z] go get github.com/go-playground/validator/v10@v10.6.1 [2021-10-29T11:24:56.581Z] make: *** [Makefile:26: test] Error 1 [Pipeline] } [2021-10-29T11:24:56.594Z] $ docker stop --time=1 bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec [2021-10-29T11:24:57.777Z] $ docker rm -f bb4a1262d44c9d61f69cd8795113821cdcb172dc691c2a0037694d9fc6ad84ec [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-10-29T11:24:58.435Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:24:58.435Z] [2021-10-29T11:24:58.435Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:24:58.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:24:58.731Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T11:24:58.731Z] b4d181a07f80: Pulling fs layer [2021-10-29T11:24:58.731Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T11:24:58.731Z] ed53099fbce6: Pulling fs layer [2021-10-29T11:24:58.731Z] dc539afda2c1: Pulling fs layer [2021-10-29T11:24:58.731Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T11:24:58.731Z] 9065ff56babe: Pulling fs layer [2021-10-29T11:24:58.731Z] d287ab97295c: Pulling fs layer [2021-10-29T11:24:58.731Z] dc539afda2c1: Waiting [2021-10-29T11:24:58.731Z] 77bc0d833cb6: Waiting [2021-10-29T11:24:58.731Z] 9065ff56babe: Waiting [2021-10-29T11:24:58.731Z] d287ab97295c: Waiting [2021-10-29T11:24:58.731Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T11:24:58.731Z] a1111a8f2ec3: Download complete [2021-10-29T11:24:58.731Z] dc539afda2c1: Verifying Checksum [2021-10-29T11:24:58.731Z] dc539afda2c1: Download complete [2021-10-29T11:24:58.731Z] ed53099fbce6: Verifying Checksum [2021-10-29T11:24:58.731Z] ed53099fbce6: Download complete [2021-10-29T11:24:58.998Z] 9065ff56babe: Verifying Checksum [2021-10-29T11:24:58.998Z] 9065ff56babe: Download complete [2021-10-29T11:24:58.998Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T11:24:58.998Z] 77bc0d833cb6: Download complete [2021-10-29T11:24:58.998Z] b4d181a07f80: Verifying Checksum [2021-10-29T11:24:58.998Z] b4d181a07f80: Download complete [2021-10-29T11:24:59.579Z] d287ab97295c: Verifying Checksum [2021-10-29T11:24:59.579Z] d287ab97295c: Download complete [2021-10-29T11:25:00.528Z] b4d181a07f80: Pull complete [2021-10-29T11:25:00.528Z] a1111a8f2ec3: Pull complete [2021-10-29T11:25:01.099Z] ed53099fbce6: Pull complete [2021-10-29T11:25:01.099Z] dc539afda2c1: Pull complete [2021-10-29T11:25:01.365Z] 77bc0d833cb6: Pull complete [2021-10-29T11:25:01.365Z] 9065ff56babe: Pull complete [2021-10-29T11:25:06.700Z] d287ab97295c: Pull complete [2021-10-29T11:25:06.700Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T11:25:06.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:25:06.700Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T11:25:06.768Z] prd-centos7-docker-4c-2g-13412 does not seem to be running inside a container [2021-10-29T11:25:06.815Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T11:25:09.000Z] $ docker top 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:25:09.422Z] ---> job-cost.sh [2021-10-29T11:25:09.422Z] lf-activate-venv: SKIPPING [2021-10-29T11:25:09.422Z] INFO: No Stack... [2021-10-29T11:25:09.681Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T11:25:09.942Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T11:25:10.236Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2021-10-29T11:25:10.236Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T11:25:10.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [2021-10-29T11:25:10.267Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] did not exist. Created. [2021-10-29T11:25:10.267Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T11:25:10.566Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T11:25:10.726Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T11:25:10.732Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T11:25:10.746Z] $ docker stop --time=1 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 [2021-10-29T11:25:11.874Z] $ docker rm -f 3ebba768a0b10db2d71a4880a6692f6e61ec05df89d8188b2b3eb94d97575456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T11:25:12.113Z] Failed in branch amd64 [2021-10-29T11:25:12.258Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13411 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T11:25:12.270Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2021-10-29T11:25:12.456Z] Selected Git installation does not exist. Using Default [2021-10-29T11:25:12.456Z] The recommended git tool is: NONE [2021-10-29T11:25:17.386Z] using credential edgex-jenkins-ssh [2021-10-29T11:25:17.410Z] Cloning the remote Git repository [2021-10-29T11:25:17.560Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:25:17.685Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2021-10-29T11:25:17.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:25:17.791Z] > git --version # timeout=10 [2021-10-29T11:25:17.805Z] > git --version # 'git version 2.17.1' [2021-10-29T11:25:17.806Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:25:17.894Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T11:25:19.364Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [2021-10-29T11:25:19.571Z] Merge succeeded, producing dd9a9d848815c925435f7fd8d2711bc0a2ea26eb [2021-10-29T11:25:19.572Z] Checking out Revision dd9a9d848815c925435f7fd8d2711bc0a2ea26eb (PR-127) [2021-10-29T11:25:18.654Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T11:25:18.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T11:25:18.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T11:25:18.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T11:25:18.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:25:18.738Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-29T11:25:19.384Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T11:25:19.398Z] > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 [2021-10-29T11:25:19.480Z] > git remote # timeout=10 [2021-10-29T11:25:19.497Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T11:25:19.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T11:25:19.532Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T11:25:19.553Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T11:25:19.579Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T11:25:19.590Z] > git checkout -f dd9a9d848815c925435f7fd8d2711bc0a2ea26eb # timeout=10 [2021-10-29T11:25:23.789Z] Commit message: "feat(snap): add initial snap packaging (part 4)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T11:25:24.694Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T11:25:24.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T11:25:24.694Z] Dload Upload Total Spent Left Speed [2021-10-29T11:25:24.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90259 0 --:--:-- --:--:-- --:--:-- 90259 [Pipeline] sh [2021-10-29T11:25:25.101Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T11:25:25.439Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-29T11:25:25.439Z] + sudo tee /etc/docker/daemon.new [2021-10-29T11:25:25.439Z] { [2021-10-29T11:25:25.439Z] "registry-mirrors": [ [2021-10-29T11:25:25.439Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T11:25:25.439Z] ], [2021-10-29T11:25:25.439Z] "bip": "10.250.0.254/24", [2021-10-29T11:25:25.439Z] "hosts": [ [2021-10-29T11:25:25.439Z] "tcp://0.0.0.0:5555", [2021-10-29T11:25:25.439Z] "unix:///var/run/docker.sock" [2021-10-29T11:25:25.439Z] ], [2021-10-29T11:25:25.439Z] "mtu": 1458, [2021-10-29T11:25:25.439Z] "selinux-enabled": true, [2021-10-29T11:25:25.439Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T11:25:25.439Z] } [Pipeline] sh [2021-10-29T11:25:25.775Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T11:25:26.124Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T11:25:44.455Z] provisioning config files... [2021-10-29T11:25:44.478Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config6042010917568290917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:25:44.832Z] ---> docker-login.sh [2021-10-29T11:25:44.832Z] nexus3.edgexfoundry.org:10001 [2021-10-29T11:25:45.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:25:46.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:25:46.083Z] Configure a credential helper to remove this warning. See [2021-10-29T11:25:46.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:25:46.083Z] [2021-10-29T11:25:46.083Z] Login Succeeded [2021-10-29T11:25:46.083Z] nexus3.edgexfoundry.org:10002 [2021-10-29T11:25:46.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:25:46.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:25:46.635Z] Configure a credential helper to remove this warning. See [2021-10-29T11:25:46.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:25:46.635Z] [2021-10-29T11:25:46.635Z] Login Succeeded [2021-10-29T11:25:46.635Z] nexus3.edgexfoundry.org:10003 [2021-10-29T11:25:46.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:25:47.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:25:47.189Z] Configure a credential helper to remove this warning. See [2021-10-29T11:25:47.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:25:47.189Z] [2021-10-29T11:25:47.189Z] Login Succeeded [2021-10-29T11:25:47.189Z] nexus3.edgexfoundry.org:10004 [2021-10-29T11:25:47.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:25:47.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:25:47.737Z] Configure a credential helper to remove this warning. See [2021-10-29T11:25:47.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:25:47.737Z] [2021-10-29T11:25:47.737Z] Login Succeeded [2021-10-29T11:25:47.737Z] docker.io [2021-10-29T11:25:48.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T11:25:48.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T11:25:48.603Z] Configure a credential helper to remove this warning. See [2021-10-29T11:25:48.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T11:25:48.603Z] [2021-10-29T11:25:48.603Z] Login Succeeded [2021-10-29T11:25:48.603Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T11:25:48.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T11:25:49.153Z] ========================================================= [2021-10-29T11:25:49.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T11:25:49.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:25:49.565Z] + 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-10-29T11:25:50.215Z] Sending build context to Docker daemon 486.9kB [2021-10-29T11:25:50.215Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T11:25:50.215Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T11:25:50.215Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T11:25:50.215Z] 552d1f2373af: Pulling fs layer [2021-10-29T11:25:50.215Z] ea3f2d53f512: Pulling fs layer [2021-10-29T11:25:50.215Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T11:25:50.215Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T11:25:50.215Z] 72dc09318566: Pulling fs layer [2021-10-29T11:25:50.215Z] f4f7b4309257: Pulling fs layer [2021-10-29T11:25:50.215Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T11:25:50.215Z] b78e95d17946: Pulling fs layer [2021-10-29T11:25:50.215Z] f4f7b4309257: Waiting [2021-10-29T11:25:50.215Z] 0ac9a79272e3: Waiting [2021-10-29T11:25:50.215Z] b78e95d17946: Waiting [2021-10-29T11:25:50.215Z] 72dc09318566: Waiting [2021-10-29T11:25:50.215Z] 7a9cfe048b4a: Waiting [2021-10-29T11:25:50.215Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T11:25:50.215Z] 9e70ebbbe112: Download complete [2021-10-29T11:25:50.215Z] ea3f2d53f512: Verifying Checksum [2021-10-29T11:25:50.215Z] ea3f2d53f512: Download complete [2021-10-29T11:25:50.215Z] 72dc09318566: Verifying Checksum [2021-10-29T11:25:50.215Z] 72dc09318566: Download complete [2021-10-29T11:25:50.489Z] f4f7b4309257: Verifying Checksum [2021-10-29T11:25:50.489Z] f4f7b4309257: Download complete [2021-10-29T11:25:50.489Z] 552d1f2373af: Verifying Checksum [2021-10-29T11:25:50.489Z] 552d1f2373af: Download complete [2021-10-29T11:25:50.489Z] 0ac9a79272e3: Verifying Checksum [2021-10-29T11:25:50.489Z] 0ac9a79272e3: Download complete [2021-10-29T11:25:51.096Z] 552d1f2373af: Pull complete [2021-10-29T11:25:51.708Z] ea3f2d53f512: Pull complete [2021-10-29T11:25:52.324Z] 9e70ebbbe112: Pull complete [2021-10-29T11:25:52.324Z] b78e95d17946: Verifying Checksum [2021-10-29T11:25:52.324Z] b78e95d17946: Download complete [2021-10-29T11:25:52.920Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T11:25:52.920Z] 7a9cfe048b4a: Download complete [2021-10-29T11:26:03.080Z] 7a9cfe048b4a: Pull complete [2021-10-29T11:26:03.080Z] 72dc09318566: Pull complete [2021-10-29T11:26:03.675Z] f4f7b4309257: Pull complete [2021-10-29T11:26:03.952Z] 0ac9a79272e3: Pull complete [2021-10-29T11:26:10.674Z] b78e95d17946: Pull complete [2021-10-29T11:26:10.674Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T11:26:10.674Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T11:26:10.674Z] ---> 8b459fc5aaf0 [2021-10-29T11:26:10.674Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T11:26:12.105Z] ---> Running in 0abe75f8637e [2021-10-29T11:26:12.377Z] Removing intermediate container 0abe75f8637e [2021-10-29T11:26:12.377Z] ---> 85e6aae7a729 [2021-10-29T11:26:12.377Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T11:26:12.377Z] ---> Running in 64a6793fbb77 [2021-10-29T11:26:12.974Z] Removing intermediate container 64a6793fbb77 [2021-10-29T11:26:12.974Z] ---> 3252442c10c8 [2021-10-29T11:26:12.974Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T11:26:12.974Z] ---> Running in 8b8977faf3bd [2021-10-29T11:26:13.568Z] Removing intermediate container 8b8977faf3bd [2021-10-29T11:26:13.568Z] ---> 1e026b61d74d [2021-10-29T11:26:13.568Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T11:26:13.568Z] ---> Running in 39779d2455f4 [2021-10-29T11:26:16.188Z] Removing intermediate container 39779d2455f4 [2021-10-29T11:26:16.188Z] ---> 140bb1821da2 [2021-10-29T11:26:16.188Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T11:26:16.188Z] ---> Running in 5cfa862298b7 [2021-10-29T11:26:17.163Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T11:26:18.141Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T11:26:18.733Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T11:26:19.004Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T11:26:19.004Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T11:26:19.280Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T11:26:19.280Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T11:26:19.280Z] OK: 223 MiB in 56 packages [2021-10-29T11:26:20.726Z] Removing intermediate container 5cfa862298b7 [2021-10-29T11:26:20.726Z] ---> e391327cd7ab [2021-10-29T11:26:20.726Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T11:26:20.726Z] ---> Running in 20cb7373ae79 [2021-10-29T11:26:21.000Z] Removing intermediate container 20cb7373ae79 [2021-10-29T11:26:21.000Z] ---> 134bcc93cc8c [2021-10-29T11:26:21.000Z] Step 9/11 : COPY . . [2021-10-29T11:26:22.444Z] ---> 54cc559e1d32 [2021-10-29T11:26:22.444Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T11:26:22.444Z] ---> Running in 905a6e7b92f2 [2021-10-29T11:26:49.254Z] Removing intermediate container 905a6e7b92f2 [2021-10-29T11:26:49.254Z] ---> a2c2ed52c0b6 [2021-10-29T11:26:49.254Z] Step 11/11 : RUN ${MAKE} [2021-10-29T11:26:49.254Z] ---> Running in f38e3f279048 [2021-10-29T11:26:49.254Z] noop [2021-10-29T11:26:49.254Z] Removing intermediate container f38e3f279048 [2021-10-29T11:26:49.254Z] ---> 4cd9a0c3d38d [2021-10-29T11:26:49.254Z] Successfully built 4cd9a0c3d38d [2021-10-29T11:26:49.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:26:49.594Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T11:26:49.594Z] . [Pipeline] withDockerContainer [2021-10-29T11:26:49.846Z] prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container [2021-10-29T11:26:49.924Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T11:26:51.347Z] $ docker top 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T11:26:52.266Z] + go version [2021-10-29T11:26:52.266Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T11:26:52.288Z] $ docker stop --time=1 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 [2021-10-29T11:26:54.019Z] $ docker rm -f 61967ca01ee3ea006be856fc24c4a8de39b4d93f110ab2849b35a42b2b10a817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:26:54.735Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T11:26:54.735Z] . [Pipeline] withDockerContainer [2021-10-29T11:26:55.011Z] prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container [2021-10-29T11:26:55.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T11:26:56.659Z] $ docker top 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T11:26:57.607Z] + make test [2021-10-29T11:26:57.607Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T11:26:58.204Z] /go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.3.5/netconn.go:26:2: missing go.sum entry for module providing package golang.org/x/net/proxy (imported by github.com/eclipse/paho.mqtt.golang); to add: [2021-10-29T11:26:58.204Z] go get github.com/eclipse/paho.mqtt.golang@v1.3.5 [2021-10-29T11:26:58.204Z] /go/pkg/mod/github.com/go-playground/validator/v10@v10.6.1/baked_in.go:21:2: missing go.sum entry for module providing package golang.org/x/text/language (imported by github.com/go-playground/validator/v10); to add: [2021-10-29T11:26:58.204Z] go get github.com/go-playground/validator/v10@v10.6.1 [2021-10-29T11:26:58.204Z] make: *** [Makefile:26: test] Error 1 [Pipeline] } [2021-10-29T11:26:58.228Z] $ docker stop --time=1 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 [2021-10-29T11:27:00.014Z] $ docker rm -f 453729a6e514dd4223455433fc2fe774dc3fc2ac69cd755b67c97483dba9a668 [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-10-29T11:27:00.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T11:27:00.913Z] [2021-10-29T11:27:00.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:27:01.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T11:27:01.531Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T11:27:01.531Z] 448f6bf000e3: Pulling fs layer [2021-10-29T11:27:01.531Z] f757da607395: Pulling fs layer [2021-10-29T11:27:01.531Z] 05883995daec: Pulling fs layer [2021-10-29T11:27:01.531Z] 8603b9c90790: Pulling fs layer [2021-10-29T11:27:01.531Z] 1560dd03e051: Pulling fs layer [2021-10-29T11:27:01.531Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T11:27:01.531Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T11:27:01.531Z] 1560dd03e051: Waiting [2021-10-29T11:27:01.531Z] 27f5ce0e4adf: Waiting [2021-10-29T11:27:01.531Z] 8603b9c90790: Waiting [2021-10-29T11:27:01.531Z] c2d8d7efcc4b: Waiting [2021-10-29T11:27:01.531Z] f757da607395: Verifying Checksum [2021-10-29T11:27:01.531Z] f757da607395: Download complete [2021-10-29T11:27:01.531Z] 8603b9c90790: Verifying Checksum [2021-10-29T11:27:01.531Z] 8603b9c90790: Download complete [2021-10-29T11:27:01.805Z] 1560dd03e051: Verifying Checksum [2021-10-29T11:27:01.805Z] 1560dd03e051: Download complete [2021-10-29T11:27:01.805Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T11:27:01.805Z] 27f5ce0e4adf: Download complete [2021-10-29T11:27:01.805Z] 05883995daec: Verifying Checksum [2021-10-29T11:27:01.805Z] 05883995daec: Download complete [2021-10-29T11:27:02.079Z] 448f6bf000e3: Download complete [2021-10-29T11:27:04.706Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T11:27:04.706Z] c2d8d7efcc4b: Download complete [2021-10-29T11:27:05.688Z] 448f6bf000e3: Pull complete [2021-10-29T11:27:06.283Z] f757da607395: Pull complete [2021-10-29T11:27:07.716Z] 05883995daec: Pull complete [2021-10-29T11:27:07.991Z] 8603b9c90790: Pull complete [2021-10-29T11:27:08.974Z] 1560dd03e051: Pull complete [2021-10-29T11:27:09.247Z] 27f5ce0e4adf: Pull complete [2021-10-29T11:27:24.324Z] c2d8d7efcc4b: Pull complete [2021-10-29T11:27:24.324Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T11:27:24.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T11:27:24.324Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T11:27:24.551Z] prd-ubuntu18.04-docker-arm64-4c-16g-13411 does not seem to be running inside a container [2021-10-29T11:27:24.628Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-29T11:27:27.272Z] $ docker top bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:28.189Z] ---> job-cost.sh [2021-10-29T11:27:28.189Z] lf-activate-venv: SKIPPING [2021-10-29T11:27:28.189Z] INFO: No Stack... [2021-10-29T11:27:28.782Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T11:27:29.372Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T11:27:30.029Z] + cut -d, -f6 [2021-10-29T11:27:30.029Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [Pipeline] lock [2021-10-29T11:27:30.088Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [2021-10-29T11:27:30.094Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] did not exist. Created. [2021-10-29T11:27:30.094Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T11:27:30.768Z] /w/workspace/device-snmp-go/4@tmp/durable-967a4955/script.sh: 1: /w/workspace/device-snmp-go/4@tmp/durable-967a4955/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-29T11:27:31.438Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T11:27:31.465Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T11:27:31.957Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T11:27:31.967Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T11:27:31.986Z] $ docker stop --time=1 bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab [2021-10-29T11:27:33.567Z] $ docker rm -f bc262c07998c4d9028c50de289804d1f66d39d052198d83cf58381d0b2957dab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T11:27:34.049Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-29T11:27:35.224Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:35.524Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:36.086Z] ---> package-listing.sh [2021-10-29T11:27:36.086Z] ++ facter osfamily [2021-10-29T11:27:36.086Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T11:27:36.378Z] + OS_FAMILY=redhat [2021-10-29T11:27:36.378Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T11:27:36.378Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T11:27:36.378Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T11:27:36.378Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T11:27:36.378Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T11:27:36.378Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T11:27:36.378Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T11:27:36.378Z] + case "${OS_FAMILY}" in [2021-10-29T11:27:36.378Z] + sort [2021-10-29T11:27:36.378Z] + rpm -qa [2021-10-29T11:27:36.951Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T11:27:36.951Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T11:27:36.951Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T11:27:36.951Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T11:27:36.951Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [2021-10-29T11:27:36.951Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [Pipeline] echo [2021-10-29T11:27:36.964Z] 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-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-29T11:27:37.253Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:27:37.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:27:37.819Z] [2021-10-29T11:27:37.819Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T11:27:38.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:27:38.118Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T11:27:38.118Z] b4d181a07f80: Pulling fs layer [2021-10-29T11:27:38.118Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T11:27:38.118Z] ed53099fbce6: Pulling fs layer [2021-10-29T11:27:38.118Z] dc539afda2c1: Pulling fs layer [2021-10-29T11:27:38.118Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T11:27:38.118Z] 9065ff56babe: Pulling fs layer [2021-10-29T11:27:38.118Z] d287ab97295c: Pulling fs layer [2021-10-29T11:27:38.118Z] 77bc0d833cb6: Waiting [2021-10-29T11:27:38.118Z] 9065ff56babe: Waiting [2021-10-29T11:27:38.118Z] d287ab97295c: Waiting [2021-10-29T11:27:38.118Z] dc539afda2c1: Waiting [2021-10-29T11:27:38.118Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T11:27:38.118Z] a1111a8f2ec3: Download complete [2021-10-29T11:27:38.118Z] dc539afda2c1: Verifying Checksum [2021-10-29T11:27:38.118Z] dc539afda2c1: Download complete [2021-10-29T11:27:38.385Z] ed53099fbce6: Download complete [2021-10-29T11:27:38.385Z] 9065ff56babe: Verifying Checksum [2021-10-29T11:27:38.385Z] 9065ff56babe: Download complete [2021-10-29T11:27:38.385Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T11:27:38.385Z] 77bc0d833cb6: Download complete [2021-10-29T11:27:38.385Z] b4d181a07f80: Verifying Checksum [2021-10-29T11:27:38.385Z] b4d181a07f80: Download complete [2021-10-29T11:27:38.968Z] d287ab97295c: Verifying Checksum [2021-10-29T11:27:38.969Z] d287ab97295c: Download complete [2021-10-29T11:27:39.933Z] b4d181a07f80: Pull complete [2021-10-29T11:27:39.933Z] a1111a8f2ec3: Pull complete [2021-10-29T11:27:40.504Z] ed53099fbce6: Pull complete [2021-10-29T11:27:40.504Z] dc539afda2c1: Pull complete [2021-10-29T11:27:40.766Z] 77bc0d833cb6: Pull complete [2021-10-29T11:27:41.032Z] 9065ff56babe: Pull complete [2021-10-29T11:27:46.373Z] d287ab97295c: Pull complete [2021-10-29T11:27:46.373Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T11:27:46.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T11:27:46.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T11:27:46.435Z] prd-centos7-docker-4c-2g-13410 does not seem to be running inside a container [2021-10-29T11:27:46.468Z] $ 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-127/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-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@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-10-29T11:27:48.534Z] $ docker top 5a988903561eca0e69e618f5b9a12f82772d0613207b174a9b8c31d6d64104e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T11:27:48.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T11:27:49.204Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T11:27:49.505Z] + ls /var/log/sa-host [2021-10-29T11:27:49.506Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T11:27:49.506Z] file_magic: OK [2021-10-29T11:27:49.506Z] HZ: Using current value: 100 [2021-10-29T11:27:49.506Z] file_header: OK [2021-10-29T11:27:49.506Z] 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-10-29T11:27:49.506Z] Statistics: [2021-10-29T11:27:49.506Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T11:27:49.506Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T11:27:49.506Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T11:27:49.506Z] file_magic: OK [2021-10-29T11:27:49.506Z] HZ: Using current value: 100 [2021-10-29T11:27:49.506Z] file_header: OK [2021-10-29T11:27:49.506Z] 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-10-29T11:27:49.506Z] Statistics: [2021-10-29T11:27:49.506Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T11:27:49.506Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T11:27:49.584Z] provisioning config files... [2021-10-29T11:27:49.593Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config4406488177245423461tmp [Pipeline] { [Pipeline] echo [2021-10-29T11:27:49.606Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:49.898Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T11:27:49.905Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:50.227Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T11:27:50.234Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:50.525Z] ---> sudo-logs.sh [2021-10-29T11:27:50.525Z] Archiving 'sudo' log.. [2021-10-29T11:27:51.466Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13410.novalocal: Name or service not known [2021-10-29T11:27:51.466Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13410.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T11:27:51.502Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:51.804Z] ---> job-cost.sh [2021-10-29T11:27:51.804Z] lf-activate-venv: SKIPPING [2021-10-29T11:27:51.804Z] DEBUG: total: 0.10999999940395355 [2021-10-29T11:27:51.804Z] INFO: Retrieving Stack Cost... [2021-10-29T11:27:52.065Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T11:27:52.327Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T11:27:52.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T11:27:52.633Z] ---> logs-deploy.sh [2021-10-29T11:27:52.633Z] lf-activate-venv: SKIPPING [2021-10-29T11:27:52.633Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/4 [2021-10-29T11:27:52.633Z] INFO: archiving workspace using pattern(s): [2021-10-29T11:27:53.206Z] Archives upload complete. [2021-10-29T11:27:53.468Z] INFO: archiving logs to Nexus