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 eb1105640fcffa27d685b45bf17743249533ede2 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-ssh20509239202663052.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-ssh6868318711412574490.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-ssh8449825995917228367.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-ssh241789905310503463.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-ssh3229998953208437716.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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13420 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-ssh8173401615951730015.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh1335826731922000127.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 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit eb1105640fcffa27d685b45bf17743249533ede2 Merge succeeded, producing eb1105640fcffa27d685b45bf17743249533ede2 Checking out Revision eb1105640fcffa27d685b45bf17743249533ede2 (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # 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-ssh1740316146135309742.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # timeout=10 Commit message: "Revert "feat(snap): add initial snap packaging (part 4)"" > git rev-list --no-walk 49a578ba562e9b09b4cabde25b317bacc9cad314 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-29T15:11:16.968Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T15:11:17.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T15:11:17.030Z] ========================================================= [2021-10-29T15:11:17.030Z] EdgeX Global Pipelines Version Info [2021-10-29T15:11:17.030Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:11:18.188Z] ------------------- [2021-10-29T15:11:18.188Z] stable info: [2021-10-29T15:11:18.188Z] ------------------- [2021-10-29T15:11:18.188Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T15:11:18.188Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T15:11:18.188Z] Message: update stable to v1.0.210 [2021-10-29T15:11:18.768Z] ------------------- [2021-10-29T15:11:18.768Z] experimental info: [2021-10-29T15:11:18.768Z] ------------------- [2021-10-29T15:11:18.768Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T15:11:18.768Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T15:11:18.768Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T15:11:18.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-10-29T15:11:18.860Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-10-29T15:11:18.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T15:11:18.874Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T15:11:18.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T15:11:18.895Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T15:11:18.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T15:11:18.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T15:11:18.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T15:11:18.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T15:11:18.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T15:11:18.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-10-29T15:11:18.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T15:11:18.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T15:11:18.986Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T15:11:18.997Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T15:11:19.007Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T15:11:19.021Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T15:11:19.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T15:11:19.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-29T15:11:19.059Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T15:11:19.071Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T15:11:19.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T15:11:19.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T15:11:19.101Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T15:11:19.110Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T15:11:19.120Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-10-29T15:11:19.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-10-29T15:11:19.139Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-10-29T15:11:19.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb1105640fcffa27d685b45bf17743249533ede2 [Pipeline] echo [2021-10-29T15:11:19.159Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb11056 [Pipeline] echo [2021-10-29T15:11:19.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T15:11:19.207Z] provisioning config files... [2021-10-29T15:11:19.224Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config908740741809851547tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:11:19.530Z] ---> docker-login.sh [2021-10-29T15:11:19.530Z] nexus3.edgexfoundry.org:10001 [2021-10-29T15:11:19.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:11:19.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:11:19.791Z] Configure a credential helper to remove this warning. See [2021-10-29T15:11:19.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:11:19.791Z] [2021-10-29T15:11:19.791Z] Login Succeeded [2021-10-29T15:11:19.791Z] nexus3.edgexfoundry.org:10002 [2021-10-29T15:11:19.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:11:19.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:11:19.792Z] Configure a credential helper to remove this warning. See [2021-10-29T15:11:19.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:11:19.792Z] [2021-10-29T15:11:19.792Z] Login Succeeded [2021-10-29T15:11:19.792Z] nexus3.edgexfoundry.org:10003 [2021-10-29T15:11:19.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:11:20.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:11:20.056Z] Configure a credential helper to remove this warning. See [2021-10-29T15:11:20.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:11:20.056Z] [2021-10-29T15:11:20.056Z] Login Succeeded [2021-10-29T15:11:20.056Z] nexus3.edgexfoundry.org:10004 [2021-10-29T15:11:20.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:11:20.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:11:20.056Z] Configure a credential helper to remove this warning. See [2021-10-29T15:11:20.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:11:20.056Z] [2021-10-29T15:11:20.056Z] Login Succeeded [2021-10-29T15:11:20.056Z] docker.io [2021-10-29T15:11:20.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:11:20.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:11:20.628Z] Configure a credential helper to remove this warning. See [2021-10-29T15:11:20.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:11:20.628Z] [2021-10-29T15:11:20.628Z] Login Succeeded [2021-10-29T15:11:20.628Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T15:11:20.636Z] 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-29T15:11:21.088Z] + git log --format=format:%s -1 eb1105640fcffa27d685b45bf17743249533ede2 [Pipeline] echo [2021-10-29T15:11:21.124Z] GIT_COMMIT: eb1105640fcffa27d685b45bf17743249533ede2, Commit Message: Revert "feat(snap): add initial snap packaging (part 4)" [Pipeline] echo [2021-10-29T15:11:21.132Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:11:21.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T15:11:21.555Z] [2021-10-29T15:11:21.555Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:11:21.867Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T15:11:21.867Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T15:11:21.867Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T15:11:21.867Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T15:11:21.867Z] 4c7163046ea9: Pulling fs layer [2021-10-29T15:11:21.867Z] 0c2d73faf560: Pulling fs layer [2021-10-29T15:11:21.867Z] 0c2d73faf560: Waiting [2021-10-29T15:11:21.867Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T15:11:21.867Z] 3e5f54012d9b: Download complete [2021-10-29T15:11:21.867Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T15:11:21.867Z] a0d0a0d46f8b: Download complete [2021-10-29T15:11:21.867Z] 0c2d73faf560: Verifying Checksum [2021-10-29T15:11:21.867Z] 0c2d73faf560: Download complete [2021-10-29T15:11:21.867Z] 4c7163046ea9: Verifying Checksum [2021-10-29T15:11:21.867Z] 4c7163046ea9: Download complete [2021-10-29T15:11:22.148Z] a0d0a0d46f8b: Pull complete [2021-10-29T15:11:22.148Z] 3e5f54012d9b: Pull complete [2021-10-29T15:11:22.417Z] 4c7163046ea9: Pull complete [2021-10-29T15:11:22.681Z] 0c2d73faf560: Pull complete [2021-10-29T15:11:22.681Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T15:11:22.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T15:11:22.681Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T15:11:22.763Z] prd-centos7-docker-4c-2g-13420 does not seem to be running inside a container [2021-10-29T15:11:22.807Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-29T15:11:23.504Z] $ docker top 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T15:11:23.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T15:11:23.608Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T15:11:23.721Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T15:11:23.723Z] $ docker exec 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 ssh-agent [2021-10-29T15:11:23.848Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbpacaM/agent.15 [2021-10-29T15:11:23.848Z] SSH_AGENT_PID=22 [2021-10-29T15:11:23.857Z] Running ssh-add (command line suppressed) [2021-10-29T15:11:23.967Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1772281015909535952.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1772281015909535952.key) [2021-10-29T15:11:23.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T15:11:24.285Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T15:11:24.300Z] $ docker exec --env ******** --env ******** 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 ssh-agent -k [2021-10-29T15:11:24.400Z] unset SSH_AUTH_SOCK; [2021-10-29T15:11:24.400Z] unset SSH_AGENT_PID; [2021-10-29T15:11:24.400Z] echo Agent pid 22 killed; [2021-10-29T15:11:24.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T15:11:24.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T15:11:24.434Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T15:11:24.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T15:11:24.549Z] $ docker exec 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 ssh-agent [2021-10-29T15:11:24.656Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXagNOGd/agent.55 [2021-10-29T15:11:24.656Z] SSH_AGENT_PID=61 [2021-10-29T15:11:24.661Z] Running ssh-add (command line suppressed) [2021-10-29T15:11:24.767Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_505204662344499061.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_505204662344499061.key) [2021-10-29T15:11:24.782Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T15:11:25.093Z] + git semver init [2021-10-29T15:11:25.093Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T15:11:25.093Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git [2021-10-29T15:11:25.093Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T15:11:25.093Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T15:11:25.093Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T15:11:25.093Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T15:11:25.093Z] # $SEMVER_BRANCH = PR-127 [2021-10-29T15:11:25.093Z] # $SEMVER_TEMP = /tmp/semver-186211347 [2021-10-29T15:11:25.093Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-10-29T15:11:25.667Z] # '/tmp/semver-186211347' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' [2021-10-29T15:11:25.667Z] # -> Force: false [2021-10-29T15:11:25.667Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } [2021-10-29T15:11:25.678Z] $ docker exec --env ******** --env ******** 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 ssh-agent -k [2021-10-29T15:11:25.781Z] unset SSH_AUTH_SOCK; [2021-10-29T15:11:25.781Z] unset SSH_AGENT_PID; [2021-10-29T15:11:25.781Z] echo Agent pid 61 killed; [2021-10-29T15:11:25.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T15:11:26.121Z] + git semver [Pipeline] } [2021-10-29T15:11:26.136Z] $ docker stop --time=1 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 [2021-10-29T15:11:27.339Z] $ docker rm -f 4de101b4ace73b03f804b5def515691b95d126317727896fb698fb30d8e5c022 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T15:11:27.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T15:11:27.945Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T15:11:27.948Z] [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-29T15:11:43.147Z] Still waiting to schedule task [2021-10-29T15:11:43.147Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-29T15:11:43.148Z] Still waiting to schedule task [2021-10-29T15:11:43.149Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13418’ is offline [2021-10-29T15:13:07.156Z] Running on prd-centos7-docker-4c-2g-13422 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T15:13:07.168Z] Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout [2021-10-29T15:13:07.280Z] Selected Git installation does not exist. Using Default [2021-10-29T15:13:07.280Z] The recommended git tool is: NONE [2021-10-29T15:13:09.312Z] using credential edgex-jenkins-ssh [2021-10-29T15:13:09.326Z] Cloning the remote Git repository [2021-10-29T15:13:08.823Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:08.881Z] > git init /w/workspace/device-snmp-go/6 # timeout=10 [2021-10-29T15:13:08.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:08.920Z] > git --version # timeout=10 [2021-10-29T15:13:08.931Z] > git --version # 'git version 2.24.4' [2021-10-29T15:13:08.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:08.955Z] [INFO] Currently running in a labeled security context [2021-10-29T15:13:08.956Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T15:13:08.956Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh6264910848282714397.key [2021-10-29T15:13:08.983Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T15:13:10.722Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit eb1105640fcffa27d685b45bf17743249533ede2 [2021-10-29T15:13:09.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T15:13:09.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T15:13:09.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T15:13:09.667Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:09.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:09.668Z] [INFO] Currently running in a labeled security context [2021-10-29T15:13:09.668Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T15:13:09.668Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh2932098707634480069.key [2021-10-29T15:13:09.682Z] > 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-29T15:13:10.859Z] Merge succeeded, producing eb1105640fcffa27d685b45bf17743249533ede2 [2021-10-29T15:13:10.859Z] Checking out Revision eb1105640fcffa27d685b45bf17743249533ede2 (PR-127) [2021-10-29T15:13:10.217Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T15:13:10.227Z] > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # timeout=10 [2021-10-29T15:13:10.263Z] > git remote # timeout=10 [2021-10-29T15:13:10.279Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T15:13:10.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:10.291Z] [INFO] Currently running in a labeled security context [2021-10-29T15:13:10.291Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T15:13:10.291Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/6@tmp/jenkins-gitclient-ssh134976733060722091.key [2021-10-29T15:13:10.297Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T15:13:10.312Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T15:13:10.339Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T15:13:10.356Z] > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # timeout=10 [2021-10-29T15:13:14.510Z] Commit message: "Revert "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-29T15:13:14.830Z] provisioning config files... [2021-10-29T15:13:14.847Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config3814059309797088012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:13:15.250Z] ---> docker-login.sh [2021-10-29T15:13:15.251Z] nexus3.edgexfoundry.org:10001 [2021-10-29T15:13:15.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:13:15.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:13:15.519Z] Configure a credential helper to remove this warning. See [2021-10-29T15:13:15.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:13:15.519Z] [2021-10-29T15:13:15.519Z] Login Succeeded [2021-10-29T15:13:15.519Z] nexus3.edgexfoundry.org:10002 [2021-10-29T15:13:15.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:13:15.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:13:15.519Z] Configure a credential helper to remove this warning. See [2021-10-29T15:13:15.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:13:15.519Z] [2021-10-29T15:13:15.519Z] Login Succeeded [2021-10-29T15:13:15.519Z] nexus3.edgexfoundry.org:10003 [2021-10-29T15:13:15.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:13:15.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:13:15.780Z] Configure a credential helper to remove this warning. See [2021-10-29T15:13:15.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:13:15.780Z] [2021-10-29T15:13:15.780Z] Login Succeeded [2021-10-29T15:13:15.780Z] nexus3.edgexfoundry.org:10004 [2021-10-29T15:13:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:13:15.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:13:15.780Z] Configure a credential helper to remove this warning. See [2021-10-29T15:13:15.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:13:15.780Z] [2021-10-29T15:13:15.780Z] Login Succeeded [2021-10-29T15:13:15.780Z] docker.io [2021-10-29T15:13:15.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:13:16.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:13:16.363Z] Configure a credential helper to remove this warning. See [2021-10-29T15:13:16.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:13:16.363Z] [2021-10-29T15:13:16.363Z] Login Succeeded [2021-10-29T15:13:16.363Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T15:13:16.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T15:13:16.544Z] ========================================================= [2021-10-29T15:13:16.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T15:13:16.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:13:16.856Z] + 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-29T15:13:16.857Z] Sending build context to Docker daemon 493.1kB [2021-10-29T15:13:16.857Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T15:13:16.857Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T15:13:16.857Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T15:13:16.857Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T15:13:16.857Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T15:13:16.857Z] b8b176561691: Pulling fs layer [2021-10-29T15:13:16.857Z] 4527c011a84f: Pulling fs layer [2021-10-29T15:13:16.857Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T15:13:16.857Z] e0aca202a116: Pulling fs layer [2021-10-29T15:13:16.857Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T15:13:16.857Z] 34cad66bf833: Pulling fs layer [2021-10-29T15:13:16.857Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T15:13:16.857Z] e0aca202a116: Waiting [2021-10-29T15:13:16.857Z] 3a43be97a3b4: Waiting [2021-10-29T15:13:16.857Z] 34cad66bf833: Waiting [2021-10-29T15:13:16.857Z] b4e3c513aaa6: Waiting [2021-10-29T15:13:16.857Z] 4527c011a84f: Waiting [2021-10-29T15:13:16.857Z] 5d74067f8e1e: Waiting [2021-10-29T15:13:16.857Z] b8b176561691: Download complete [2021-10-29T15:13:16.857Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T15:13:16.857Z] 31adcdaf11c8: Download complete [2021-10-29T15:13:17.125Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T15:13:17.125Z] 5d74067f8e1e: Download complete [2021-10-29T15:13:17.125Z] e0aca202a116: Verifying Checksum [2021-10-29T15:13:17.125Z] e0aca202a116: Download complete [2021-10-29T15:13:17.125Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T15:13:17.125Z] 3a43be97a3b4: Download complete [2021-10-29T15:13:17.125Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T15:13:17.125Z] a0d0a0d46f8b: Download complete [2021-10-29T15:13:17.125Z] 34cad66bf833: Verifying Checksum [2021-10-29T15:13:17.125Z] 34cad66bf833: Download complete [2021-10-29T15:13:17.405Z] a0d0a0d46f8b: Pull complete [2021-10-29T15:13:17.668Z] 4527c011a84f: Verifying Checksum [2021-10-29T15:13:17.668Z] 4527c011a84f: Download complete [2021-10-29T15:13:17.668Z] 31adcdaf11c8: Pull complete [2021-10-29T15:13:17.668Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T15:13:17.668Z] b4e3c513aaa6: Download complete [2021-10-29T15:13:17.938Z] b8b176561691: Pull complete [2021-10-29T15:13:22.205Z] 4527c011a84f: Pull complete [2021-10-29T15:13:22.205Z] 5d74067f8e1e: Pull complete [2021-10-29T15:13:22.205Z] e0aca202a116: Pull complete [2021-10-29T15:13:22.205Z] 3a43be97a3b4: Pull complete [2021-10-29T15:13:22.205Z] 34cad66bf833: Pull complete [2021-10-29T15:13:24.769Z] b4e3c513aaa6: Pull complete [2021-10-29T15:13:24.769Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T15:13:24.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T15:13:24.769Z] ---> 9f6097aaca64 [2021-10-29T15:13:24.769Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T15:13:27.321Z] ---> Running in 4b82cb8e817a [2021-10-29T15:13:27.321Z] Removing intermediate container 4b82cb8e817a [2021-10-29T15:13:27.321Z] ---> c27e8d34d32e [2021-10-29T15:13:27.321Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T15:13:27.321Z] ---> Running in ed0c3701ec72 [2021-10-29T15:13:27.321Z] Removing intermediate container ed0c3701ec72 [2021-10-29T15:13:27.321Z] ---> 58b3c2960cb6 [2021-10-29T15:13:27.321Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T15:13:27.321Z] ---> Running in 82ea073a6bd9 [2021-10-29T15:13:27.321Z] Removing intermediate container 82ea073a6bd9 [2021-10-29T15:13:27.321Z] ---> b861ecf2d4ff [2021-10-29T15:13:27.321Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T15:13:27.582Z] ---> Running in 6fa9eafe89ff [2021-10-29T15:13:27.599Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13421 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T15:13:27.610Z] Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout [2021-10-29T15:13:27.834Z] Selected Git installation does not exist. Using Default [2021-10-29T15:13:27.834Z] The recommended git tool is: NONE [2021-10-29T15:13:28.155Z] Removing intermediate container 6fa9eafe89ff [2021-10-29T15:13:28.155Z] ---> d3945454ab18 [2021-10-29T15:13:28.155Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T15:13:28.155Z] ---> Running in 78263c00aa42 [2021-10-29T15:13:28.416Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T15:13:29.371Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T15:13:29.946Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T15:13:29.946Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T15:13:29.946Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T15:13:30.219Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T15:13:30.219Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T15:13:30.219Z] OK: 224 MiB in 56 packages [2021-10-29T15:13:30.478Z] Removing intermediate container 78263c00aa42 [2021-10-29T15:13:30.478Z] ---> 10c6248b0ef5 [2021-10-29T15:13:30.478Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T15:13:30.742Z] ---> Running in 8915ada028ac [2021-10-29T15:13:30.742Z] Removing intermediate container 8915ada028ac [2021-10-29T15:13:30.742Z] ---> 8ffbf577c7e1 [2021-10-29T15:13:30.742Z] Step 9/11 : COPY . . [2021-10-29T15:13:31.002Z] ---> f112e1ac57a9 [2021-10-29T15:13:31.002Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T15:13:31.002Z] ---> Running in 41fc23ac5cee [2021-10-29T15:13:33.146Z] using credential edgex-jenkins-ssh [2021-10-29T15:13:33.208Z] Cloning the remote Git repository [2021-10-29T15:13:33.297Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:33.464Z] > git init /w/workspace/device-snmp-go/6 # timeout=10 [2021-10-29T15:13:33.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:33.539Z] > git --version # timeout=10 [2021-10-29T15:13:33.556Z] > git --version # 'git version 2.17.1' [2021-10-29T15:13:33.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:33.651Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T15:13:35.139Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit eb1105640fcffa27d685b45bf17743249533ede2 [2021-10-29T15:13:34.360Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T15:13:34.379Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T15:13:34.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T15:13:34.452Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T15:13:34.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:34.466Z] > 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-29T15:13:35.164Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T15:13:35.188Z] > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # timeout=10 [2021-10-29T15:13:35.269Z] > git remote # timeout=10 [2021-10-29T15:13:35.292Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T15:13:35.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T15:13:35.325Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T15:13:35.350Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T15:13:35.364Z] Merge succeeded, producing eb1105640fcffa27d685b45bf17743249533ede2 [2021-10-29T15:13:35.365Z] Checking out Revision eb1105640fcffa27d685b45bf17743249533ede2 (PR-127) [2021-10-29T15:13:35.376Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T15:13:35.392Z] > git checkout -f eb1105640fcffa27d685b45bf17743249533ede2 # timeout=10 [2021-10-29T15:13:39.578Z] Commit message: "Revert "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-29T15:13:40.412Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T15:13:40.412Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T15:13:40.412Z] Dload Upload Total Spent Left Speed [2021-10-29T15:13:40.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2021-10-29T15:13:40.818Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T15:13:41.031Z] Removing intermediate container 41fc23ac5cee [2021-10-29T15:13:41.031Z] ---> ee0bc89a40e5 [2021-10-29T15:13:41.031Z] Step 11/11 : RUN ${MAKE} [2021-10-29T15:13:41.031Z] ---> Running in c99faf498ba0 [2021-10-29T15:13:41.031Z] noop [2021-10-29T15:13:41.156Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-29T15:13:41.156Z] + sudo tee /etc/docker/daemon.new [2021-10-29T15:13:41.156Z] { [2021-10-29T15:13:41.156Z] "registry-mirrors": [ [2021-10-29T15:13:41.156Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T15:13:41.156Z] ], [2021-10-29T15:13:41.156Z] "bip": "10.250.0.254/24", [2021-10-29T15:13:41.156Z] "hosts": [ [2021-10-29T15:13:41.156Z] "tcp://0.0.0.0:5555", [2021-10-29T15:13:41.156Z] "unix:///var/run/docker.sock" [2021-10-29T15:13:41.156Z] ], [2021-10-29T15:13:41.156Z] "mtu": 1458, [2021-10-29T15:13:41.156Z] "selinux-enabled": true, [2021-10-29T15:13:41.156Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T15:13:41.156Z] } [Pipeline] sh [2021-10-29T15:13:41.292Z] Removing intermediate container c99faf498ba0 [2021-10-29T15:13:41.292Z] ---> f8f2e61e7e33 [2021-10-29T15:13:41.292Z] Successfully built f8f2e61e7e33 [2021-10-29T15:13:41.292Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:13:41.499Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T15:13:41.596Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T15:13:41.596Z] . [Pipeline] withDockerContainer [2021-10-29T15:13:41.682Z] prd-centos7-docker-4c-2g-13422 does not seem to be running inside a container [2021-10-29T15:13:41.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-29T15:13:41.845Z] + sudo service docker restart [2021-10-29T15:13:42.151Z] $ docker top daa53f0308939bd555a4629d594315d0eb928a5849054c9fc0eb64b71aa3f44d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T15:13:42.537Z] + go version [2021-10-29T15:13:42.537Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T15:13:42.549Z] $ docker stop --time=1 daa53f0308939bd555a4629d594315d0eb928a5849054c9fc0eb64b71aa3f44d [2021-10-29T15:13:43.780Z] $ docker rm -f daa53f0308939bd555a4629d594315d0eb928a5849054c9fc0eb64b71aa3f44d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:13:44.253Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T15:13:44.253Z] . [Pipeline] withDockerContainer [2021-10-29T15:13:44.330Z] prd-centos7-docker-4c-2g-13422 does not seem to be running inside a container [2021-10-29T15:13:44.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-29T15:13:44.765Z] $ docker top 0cb89364d8aa7a2a798fe55457582ddc32d35c6cf452664100f78332e598c3a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T15:13:45.158Z] + make test [2021-10-29T15:13:45.158Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T15:13:45.751Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T15:14:00.197Z] provisioning config files... [2021-10-29T15:14:00.221Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config4902628574367856944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:14:00.654Z] ---> docker-login.sh [2021-10-29T15:14:00.654Z] nexus3.edgexfoundry.org:10001 [2021-10-29T15:14:01.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:14:01.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:14:01.929Z] Configure a credential helper to remove this warning. See [2021-10-29T15:14:01.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:14:01.929Z] [2021-10-29T15:14:01.929Z] Login Succeeded [2021-10-29T15:14:01.929Z] nexus3.edgexfoundry.org:10002 [2021-10-29T15:14:02.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:14:02.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:14:02.483Z] Configure a credential helper to remove this warning. See [2021-10-29T15:14:02.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:14:02.483Z] [2021-10-29T15:14:02.483Z] Login Succeeded [2021-10-29T15:14:02.483Z] nexus3.edgexfoundry.org:10003 [2021-10-29T15:14:02.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:14:03.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:14:03.033Z] Configure a credential helper to remove this warning. See [2021-10-29T15:14:03.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:14:03.033Z] [2021-10-29T15:14:03.033Z] Login Succeeded [2021-10-29T15:14:03.033Z] nexus3.edgexfoundry.org:10004 [2021-10-29T15:14:03.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:14:03.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:14:03.580Z] Configure a credential helper to remove this warning. See [2021-10-29T15:14:03.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:14:03.580Z] [2021-10-29T15:14:03.580Z] Login Succeeded [2021-10-29T15:14:03.580Z] docker.io [2021-10-29T15:14:03.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T15:14:03.989Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-29T15:14:03.989Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements [2021-10-29T15:14:03.989Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T15:14:04.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T15:14:04.446Z] Configure a credential helper to remove this warning. See [2021-10-29T15:14:04.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T15:14:04.446Z] [2021-10-29T15:14:04.446Z] Login Succeeded [2021-10-29T15:14:04.446Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T15:14:04.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T15:14:04.903Z] ========================================================= [2021-10-29T15:14:04.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T15:14:04.903Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:14:05.247Z] + 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-29T15:14:05.521Z] Sending build context to Docker daemon 492kB [2021-10-29T15:14:05.795Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T15:14:05.795Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T15:14:05.795Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T15:14:05.795Z] 552d1f2373af: Pulling fs layer [2021-10-29T15:14:05.795Z] ea3f2d53f512: Pulling fs layer [2021-10-29T15:14:05.795Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T15:14:05.795Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T15:14:05.795Z] 72dc09318566: Pulling fs layer [2021-10-29T15:14:05.795Z] f4f7b4309257: Pulling fs layer [2021-10-29T15:14:05.795Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T15:14:05.795Z] b78e95d17946: Pulling fs layer [2021-10-29T15:14:05.795Z] f4f7b4309257: Waiting [2021-10-29T15:14:05.795Z] 0ac9a79272e3: Waiting [2021-10-29T15:14:05.795Z] b78e95d17946: Waiting [2021-10-29T15:14:05.795Z] 72dc09318566: Waiting [2021-10-29T15:14:05.795Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T15:14:05.795Z] 9e70ebbbe112: Download complete [2021-10-29T15:14:05.795Z] ea3f2d53f512: Verifying Checksum [2021-10-29T15:14:05.795Z] ea3f2d53f512: Download complete [2021-10-29T15:14:06.071Z] 72dc09318566: Verifying Checksum [2021-10-29T15:14:06.071Z] 72dc09318566: Download complete [2021-10-29T15:14:06.071Z] f4f7b4309257: Verifying Checksum [2021-10-29T15:14:06.071Z] f4f7b4309257: Download complete [2021-10-29T15:14:06.071Z] 0ac9a79272e3: Verifying Checksum [2021-10-29T15:14:06.071Z] 0ac9a79272e3: Download complete [2021-10-29T15:14:06.071Z] 552d1f2373af: Verifying Checksum [2021-10-29T15:14:06.071Z] 552d1f2373af: Download complete [2021-10-29T15:14:06.673Z] 552d1f2373af: Pull complete [2021-10-29T15:14:07.666Z] ea3f2d53f512: Pull complete [2021-10-29T15:14:07.940Z] 9e70ebbbe112: Pull complete [2021-10-29T15:14:07.940Z] b78e95d17946: Verifying Checksum [2021-10-29T15:14:07.940Z] b78e95d17946: Download complete [2021-10-29T15:14:08.215Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T15:14:08.215Z] 7a9cfe048b4a: Download complete [2021-10-29T15:14:09.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T15:14:09.368Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-29T15:14:09.368Z] ./snap/local/hooks/cmd/install/install.go [2021-10-29T15:14:09.368Z] ./snap/local/hooks/const.go [2021-10-29T15:14:09.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T15:14:09.368Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-29T15:14:09.382Z] $ docker stop --time=1 0cb89364d8aa7a2a798fe55457582ddc32d35c6cf452664100f78332e598c3a7 [2021-10-29T15:14:10.879Z] $ docker rm -f 0cb89364d8aa7a2a798fe55457582ddc32d35c6cf452664100f78332e598c3a7 [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-29T15:14:11.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:14:11.711Z] [2021-10-29T15:14:11.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:14:12.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:14:12.019Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T15:14:12.019Z] b4d181a07f80: Pulling fs layer [2021-10-29T15:14:12.019Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T15:14:12.019Z] ed53099fbce6: Pulling fs layer [2021-10-29T15:14:12.019Z] dc539afda2c1: Pulling fs layer [2021-10-29T15:14:12.019Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T15:14:12.019Z] 9065ff56babe: Pulling fs layer [2021-10-29T15:14:12.019Z] d287ab97295c: Pulling fs layer [2021-10-29T15:14:12.019Z] dc539afda2c1: Waiting [2021-10-29T15:14:12.019Z] 77bc0d833cb6: Waiting [2021-10-29T15:14:12.019Z] d287ab97295c: Waiting [2021-10-29T15:14:12.019Z] 9065ff56babe: Waiting [2021-10-29T15:14:12.019Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T15:14:12.019Z] a1111a8f2ec3: Download complete [2021-10-29T15:14:12.019Z] dc539afda2c1: Verifying Checksum [2021-10-29T15:14:12.019Z] dc539afda2c1: Download complete [2021-10-29T15:14:12.019Z] ed53099fbce6: Verifying Checksum [2021-10-29T15:14:12.019Z] ed53099fbce6: Download complete [2021-10-29T15:14:12.019Z] 9065ff56babe: Verifying Checksum [2021-10-29T15:14:12.019Z] 9065ff56babe: Download complete [2021-10-29T15:14:12.283Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T15:14:12.283Z] 77bc0d833cb6: Download complete [2021-10-29T15:14:12.283Z] b4d181a07f80: Verifying Checksum [2021-10-29T15:14:12.283Z] b4d181a07f80: Download complete [2021-10-29T15:14:12.864Z] d287ab97295c: Verifying Checksum [2021-10-29T15:14:12.864Z] d287ab97295c: Download complete [2021-10-29T15:14:13.819Z] b4d181a07f80: Pull complete [2021-10-29T15:14:14.083Z] a1111a8f2ec3: Pull complete [2021-10-29T15:14:14.665Z] ed53099fbce6: Pull complete [2021-10-29T15:14:14.665Z] dc539afda2c1: Pull complete [2021-10-29T15:14:15.248Z] 77bc0d833cb6: Pull complete [2021-10-29T15:14:15.248Z] 9065ff56babe: Pull complete [2021-10-29T15:14:18.360Z] 7a9cfe048b4a: Pull complete [2021-10-29T15:14:18.955Z] 72dc09318566: Pull complete [2021-10-29T15:14:19.229Z] f4f7b4309257: Pull complete [2021-10-29T15:14:19.503Z] 0ac9a79272e3: Pull complete [2021-10-29T15:14:20.587Z] d287ab97295c: Pull complete [2021-10-29T15:14:20.587Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T15:14:20.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:14:20.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T15:14:20.655Z] prd-centos7-docker-4c-2g-13422 does not seem to be running inside a container [2021-10-29T15:14:20.708Z] $ 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/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-29T15:14:23.549Z] $ docker top da3cdc9f8486f38a4a6d0baf7adf3b9a279928519ddda6fdb999e8737e739273 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:14:23.956Z] ---> job-cost.sh [2021-10-29T15:14:23.956Z] lf-activate-venv: SKIPPING [2021-10-29T15:14:23.956Z] INFO: No Stack... [2021-10-29T15:14:24.908Z] b78e95d17946: Pull complete [2021-10-29T15:14:25.180Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T15:14:25.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T15:14:25.180Z] ---> 8b459fc5aaf0 [2021-10-29T15:14:25.180Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T15:14:25.342Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T15:14:25.342Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T15:14:25.652Z] + cat /w/workspace/device-snmp-go/6/archives/cost.csv [2021-10-29T15:14:25.652Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T15:14:25.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [2021-10-29T15:14:25.684Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] did not exist. Created. [2021-10-29T15:14:25.684Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T15:14:25.990Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T15:14:26.169Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T15:14:26.178Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T15:14:26.196Z] $ docker stop --time=1 da3cdc9f8486f38a4a6d0baf7adf3b9a279928519ddda6fdb999e8737e739273 [2021-10-29T15:14:27.346Z] $ docker rm -f da3cdc9f8486f38a4a6d0baf7adf3b9a279928519ddda6fdb999e8737e739273 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T15:14:27.623Z] Failed in branch amd64 [2021-10-29T15:14:27.794Z] ---> Running in 423310790cae [2021-10-29T15:14:27.794Z] Removing intermediate container 423310790cae [2021-10-29T15:14:27.794Z] ---> 960dc8f433b0 [2021-10-29T15:14:27.794Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T15:14:27.794Z] ---> Running in 0a7cbf15d889 [2021-10-29T15:14:28.067Z] Removing intermediate container 0a7cbf15d889 [2021-10-29T15:14:28.067Z] ---> 8232500192ea [2021-10-29T15:14:28.067Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T15:14:28.340Z] ---> Running in db25bcd5ebd0 [2021-10-29T15:14:28.937Z] Removing intermediate container db25bcd5ebd0 [2021-10-29T15:14:28.938Z] ---> d53e86ce5858 [2021-10-29T15:14:28.938Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T15:14:28.938Z] ---> Running in 7374a7b22877 [2021-10-29T15:14:31.559Z] Removing intermediate container 7374a7b22877 [2021-10-29T15:14:31.559Z] ---> 9ab34170f09b [2021-10-29T15:14:31.559Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T15:14:31.559Z] ---> Running in 5eb2ddfd047e [2021-10-29T15:14:32.536Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T15:14:33.512Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T15:14:34.104Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T15:14:34.104Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T15:14:34.372Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T15:14:34.372Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T15:14:34.646Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T15:14:34.646Z] OK: 223 MiB in 56 packages [2021-10-29T15:14:35.626Z] Removing intermediate container 5eb2ddfd047e [2021-10-29T15:14:35.626Z] ---> 4197bd7ac09a [2021-10-29T15:14:35.626Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T15:14:35.899Z] ---> Running in faf3fb56eac9 [2021-10-29T15:14:36.175Z] Removing intermediate container faf3fb56eac9 [2021-10-29T15:14:36.175Z] ---> 36cbe9aad58e [2021-10-29T15:14:36.175Z] Step 9/11 : COPY . . [2021-10-29T15:14:37.174Z] ---> 2630502c4148 [2021-10-29T15:14:37.174Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T15:14:37.451Z] ---> Running in e4688ef756c5 [2021-10-29T15:15:04.254Z] Removing intermediate container e4688ef756c5 [2021-10-29T15:15:04.254Z] ---> 7d4500ed04ab [2021-10-29T15:15:04.254Z] Step 11/11 : RUN ${MAKE} [2021-10-29T15:15:04.254Z] ---> Running in bd52d8078052 [2021-10-29T15:15:04.254Z] noop [2021-10-29T15:15:04.254Z] Removing intermediate container bd52d8078052 [2021-10-29T15:15:04.254Z] ---> 4e0ed2fea9fa [2021-10-29T15:15:04.254Z] Successfully built 4e0ed2fea9fa [2021-10-29T15:15:04.254Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:15:04.594Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T15:15:04.594Z] . [Pipeline] withDockerContainer [2021-10-29T15:15:04.818Z] prd-ubuntu18.04-docker-arm64-4c-16g-13421 does not seem to be running inside a container [2021-10-29T15:15:04.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-arm64 cat [2021-10-29T15:15:06.503Z] $ docker top 461b6c025ed49eb982ce8ca275b9f4ee47e63ce5c5772d094983d2afdad8cfe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T15:15:07.426Z] + go version [2021-10-29T15:15:07.426Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T15:15:07.452Z] $ docker stop --time=1 461b6c025ed49eb982ce8ca275b9f4ee47e63ce5c5772d094983d2afdad8cfe7 [2021-10-29T15:15:09.220Z] $ docker rm -f 461b6c025ed49eb982ce8ca275b9f4ee47e63ce5c5772d094983d2afdad8cfe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:15:09.901Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T15:15:09.901Z] . [Pipeline] withDockerContainer [2021-10-29T15:15:10.162Z] prd-ubuntu18.04-docker-arm64-4c-16g-13421 does not seem to be running inside a container [2021-10-29T15:15:10.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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-arm64 cat [2021-10-29T15:15:11.751Z] $ docker top 1706e5e3db1ba1941080c9a59d3aff00b766880823dbeda2b359c20a8577e4ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T15:15:12.682Z] + make test [2021-10-29T15:15:12.682Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T15:15:14.116Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-29T15:16:01.146Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-29T15:16:01.146Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.034s coverage: 0.0% of statements [2021-10-29T15:16:01.146Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T15:16:27.974Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T15:16:27.974Z] ./snap/local/hooks/const.go [2021-10-29T15:16:27.974Z] ./snap/local/hooks/cmd/install/install.go [2021-10-29T15:16:27.974Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-29T15:16:27.975Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T15:16:27.975Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-29T15:16:27.996Z] $ docker stop --time=1 1706e5e3db1ba1941080c9a59d3aff00b766880823dbeda2b359c20a8577e4ca [2021-10-29T15:16:29.864Z] $ docker rm -f 1706e5e3db1ba1941080c9a59d3aff00b766880823dbeda2b359c20a8577e4ca [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-29T15:16:31.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T15:16:31.057Z] [2021-10-29T15:16:31.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:16:31.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T15:16:31.676Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T15:16:31.676Z] 448f6bf000e3: Pulling fs layer [2021-10-29T15:16:31.676Z] f757da607395: Pulling fs layer [2021-10-29T15:16:31.676Z] 05883995daec: Pulling fs layer [2021-10-29T15:16:31.676Z] 8603b9c90790: Pulling fs layer [2021-10-29T15:16:31.676Z] 1560dd03e051: Pulling fs layer [2021-10-29T15:16:31.676Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T15:16:31.676Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T15:16:31.676Z] 8603b9c90790: Waiting [2021-10-29T15:16:31.676Z] 1560dd03e051: Waiting [2021-10-29T15:16:31.676Z] 27f5ce0e4adf: Waiting [2021-10-29T15:16:31.676Z] c2d8d7efcc4b: Waiting [2021-10-29T15:16:31.676Z] f757da607395: Verifying Checksum [2021-10-29T15:16:31.676Z] f757da607395: Download complete [2021-10-29T15:16:31.676Z] 8603b9c90790: Verifying Checksum [2021-10-29T15:16:31.676Z] 8603b9c90790: Download complete [2021-10-29T15:16:31.676Z] 1560dd03e051: Verifying Checksum [2021-10-29T15:16:31.676Z] 1560dd03e051: Download complete [2021-10-29T15:16:31.951Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T15:16:31.951Z] 27f5ce0e4adf: Download complete [2021-10-29T15:16:31.951Z] 05883995daec: Verifying Checksum [2021-10-29T15:16:31.951Z] 05883995daec: Download complete [2021-10-29T15:16:32.224Z] 448f6bf000e3: Verifying Checksum [2021-10-29T15:16:32.224Z] 448f6bf000e3: Download complete [2021-10-29T15:16:34.851Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T15:16:34.851Z] c2d8d7efcc4b: Download complete [2021-10-29T15:16:35.834Z] 448f6bf000e3: Pull complete [2021-10-29T15:16:36.432Z] f757da607395: Pull complete [2021-10-29T15:16:37.872Z] 05883995daec: Pull complete [2021-10-29T15:16:38.155Z] 8603b9c90790: Pull complete [2021-10-29T15:16:39.136Z] 1560dd03e051: Pull complete [2021-10-29T15:16:39.409Z] 27f5ce0e4adf: Pull complete [2021-10-29T15:16:54.496Z] c2d8d7efcc4b: Pull complete [2021-10-29T15:16:54.496Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T15:16:54.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T15:16:54.497Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T15:16:54.755Z] prd-ubuntu18.04-docker-arm64-4c-16g-13421 does not seem to be running inside a container [2021-10-29T15:16:54.838Z] $ 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/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@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:arm64 cat [2021-10-29T15:16:57.704Z] $ docker top cdf5950a3bbb7b99c7f0f8c5e45af24de293cadfd849ece244f0f8692869c930 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:16:58.634Z] ---> job-cost.sh [2021-10-29T15:16:58.634Z] lf-activate-venv: SKIPPING [2021-10-29T15:16:58.634Z] INFO: No Stack... [2021-10-29T15:16:58.906Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T15:16:59.499Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T15:17:00.156Z] + cut -d, -f6+ [2021-10-29T15:17:00.156Z] cat /w/workspace/device-snmp-go/6/archives/cost.csv [Pipeline] lock [2021-10-29T15:17:00.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [2021-10-29T15:17:00.223Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] did not exist. Created. [2021-10-29T15:17:00.223Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T15:17:00.899Z] /w/workspace/device-snmp-go/6@tmp/durable-ed76b27d/script.sh: 1: /w/workspace/device-snmp-go/6@tmp/durable-ed76b27d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-29T15:17:01.563Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T15:17:01.586Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T15:17:02.063Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T15:17:02.071Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T15:17:02.088Z] $ docker stop --time=1 cdf5950a3bbb7b99c7f0f8c5e45af24de293cadfd849ece244f0f8692869c930 [2021-10-29T15:17:03.698Z] $ docker rm -f cdf5950a3bbb7b99c7f0f8c5e45af24de293cadfd849ece244f0f8692869c930 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T15:17:04.168Z] 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-29T15:17:05.453Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:05.766Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:06.330Z] ---> package-listing.sh [2021-10-29T15:17:06.330Z] ++ facter osfamily [2021-10-29T15:17:06.330Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T15:17:06.602Z] + OS_FAMILY=redhat [2021-10-29T15:17:06.602Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T15:17:06.602Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T15:17:06.602Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T15:17:06.602Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T15:17:06.602Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T15:17:06.602Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T15:17:06.602Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T15:17:06.602Z] + case "${OS_FAMILY}" in [2021-10-29T15:17:06.602Z] + sort [2021-10-29T15:17:06.602Z] + rpm -qa [2021-10-29T15:17:07.187Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T15:17:07.187Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T15:17:07.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T15:17:07.187Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T15:17:07.187Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [2021-10-29T15:17:07.187Z] + 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-29T15:17:07.199Z] 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-29T15:17:07.494Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:17:08.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:17:08.071Z] [2021-10-29T15:17:08.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T15:17:08.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:17:08.380Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T15:17:08.380Z] b4d181a07f80: Pulling fs layer [2021-10-29T15:17:08.380Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T15:17:08.381Z] ed53099fbce6: Pulling fs layer [2021-10-29T15:17:08.381Z] dc539afda2c1: Pulling fs layer [2021-10-29T15:17:08.381Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T15:17:08.381Z] 9065ff56babe: Pulling fs layer [2021-10-29T15:17:08.381Z] d287ab97295c: Pulling fs layer [2021-10-29T15:17:08.381Z] 77bc0d833cb6: Waiting [2021-10-29T15:17:08.381Z] 9065ff56babe: Waiting [2021-10-29T15:17:08.381Z] d287ab97295c: Waiting [2021-10-29T15:17:08.381Z] dc539afda2c1: Waiting [2021-10-29T15:17:08.381Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T15:17:08.381Z] a1111a8f2ec3: Download complete [2021-10-29T15:17:08.381Z] dc539afda2c1: Verifying Checksum [2021-10-29T15:17:08.381Z] dc539afda2c1: Download complete [2021-10-29T15:17:08.651Z] ed53099fbce6: Verifying Checksum [2021-10-29T15:17:08.651Z] ed53099fbce6: Download complete [2021-10-29T15:17:08.651Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T15:17:08.651Z] 77bc0d833cb6: Download complete [2021-10-29T15:17:08.651Z] 9065ff56babe: Verifying Checksum [2021-10-29T15:17:08.651Z] 9065ff56babe: Download complete [2021-10-29T15:17:08.651Z] b4d181a07f80: Verifying Checksum [2021-10-29T15:17:08.651Z] b4d181a07f80: Download complete [2021-10-29T15:17:09.232Z] d287ab97295c: Verifying Checksum [2021-10-29T15:17:09.232Z] d287ab97295c: Download complete [2021-10-29T15:17:10.206Z] b4d181a07f80: Pull complete [2021-10-29T15:17:10.206Z] a1111a8f2ec3: Pull complete [2021-10-29T15:17:10.778Z] ed53099fbce6: Pull complete [2021-10-29T15:17:11.046Z] dc539afda2c1: Pull complete [2021-10-29T15:17:11.309Z] 77bc0d833cb6: Pull complete [2021-10-29T15:17:11.309Z] 9065ff56babe: Pull complete [2021-10-29T15:17:16.645Z] d287ab97295c: Pull complete [2021-10-29T15:17:16.645Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T15:17:16.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T15:17:16.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T15:17:16.716Z] prd-centos7-docker-4c-2g-13420 does not seem to be running inside a container [2021-10-29T15:17:16.752Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T15:17:19.225Z] $ docker top bf98d585d08e9c548da9a547abd68f9c5e6b55717cbb52b51d6515c3f778d398 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T15:17:19.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T15:17:19.897Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T15:17:20.197Z] + ls /var/log/sa-host [2021-10-29T15:17:20.197Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T15:17:20.197Z] file_magic: OK [2021-10-29T15:17:20.197Z] HZ: Using current value: 100 [2021-10-29T15:17:20.197Z] file_header: OK [2021-10-29T15:17:20.197Z] 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-29T15:17:20.197Z] Statistics: [2021-10-29T15:17:20.197Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T15:17:20.197Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T15:17:20.197Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T15:17:20.197Z] file_magic: OK [2021-10-29T15:17:20.197Z] HZ: Using current value: 100 [2021-10-29T15:17:20.197Z] file_header: OK [2021-10-29T15:17:20.197Z] 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-29T15:17:20.197Z] Statistics: [2021-10-29T15:17:20.197Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T15:17:20.197Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T15:17:20.270Z] provisioning config files... [2021-10-29T15:17:20.280Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config2239740553125094337tmp [Pipeline] { [Pipeline] echo [2021-10-29T15:17:20.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:20.586Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T15:17:20.593Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:20.918Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T15:17:20.928Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:21.222Z] ---> sudo-logs.sh [2021-10-29T15:17:21.222Z] Archiving 'sudo' log.. [2021-10-29T15:17:21.222Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13420.novalocal: Name or service not known [2021-10-29T15:17:21.222Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13420.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T15:17:21.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:21.571Z] ---> job-cost.sh [2021-10-29T15:17:21.572Z] lf-activate-venv: SKIPPING [2021-10-29T15:17:21.572Z] DEBUG: total: 0.10999999940395355 [2021-10-29T15:17:21.572Z] INFO: Retrieving Stack Cost... [2021-10-29T15:17:22.146Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T15:17:22.408Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T15:17:22.420Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T15:17:22.710Z] ---> logs-deploy.sh [2021-10-29T15:17:22.710Z] lf-activate-venv: SKIPPING [2021-10-29T15:17:22.710Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/6 [2021-10-29T15:17:22.710Z] INFO: archiving workspace using pattern(s): [2021-10-29T15:17:23.296Z] Archives upload complete. [2021-10-29T15:17:23.556Z] INFO: archiving logs to Nexus