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 0dee0e27628480d7764d79be3c3eb57859c00315 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-ssh5434476721787647585.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-ssh4891945380709876170.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-ssh7310343152655824484.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-ssh510110341191752070.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-ssh3541914754809049980.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-13400 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-ssh6396517933089382284.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/jenkins-gitclient-ssh8415507312813896073.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # 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-ssh1433458186494194338.key > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 Commit message: "feat(snap): add initial snap packaging (part 3)" > git rev-list --no-walk 0226cd85567f66670c45d107f3711c83387ff73f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-29T07:52:29.877Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T07:52:29.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T07:52:29.936Z] ========================================================= [2021-10-29T07:52:29.936Z] EdgeX Global Pipelines Version Info [2021-10-29T07:52:29.936Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:52:31.103Z] ------------------- [2021-10-29T07:52:31.103Z] stable info: [2021-10-29T07:52:31.103Z] ------------------- [2021-10-29T07:52:31.103Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T07:52:31.103Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T07:52:31.103Z] Message: update stable to v1.0.210 [2021-10-29T07:52:31.677Z] ------------------- [2021-10-29T07:52:31.677Z] experimental info: [2021-10-29T07:52:31.677Z] ------------------- [2021-10-29T07:52:31.677Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T07:52:31.677Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T07:52:31.677Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T07:52:31.759Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2021-10-29T07:52:31.768Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2021-10-29T07:52:31.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T07:52:31.787Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T07:52:31.797Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T07:52:31.807Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T07:52:31.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T07:52:31.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T07:52:31.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T07:52:31.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T07:52:31.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T07:52:31.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2021-10-29T07:52:31.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T07:52:31.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T07:52:31.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T07:52:31.903Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T07:52:31.912Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T07:52:31.921Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T07:52:31.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T07:52:31.939Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-29T07:52:31.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T07:52:31.957Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T07:52:31.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T07:52:31.971Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T07:52:31.978Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T07:52:31.985Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T07:52:31.991Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-10-29T07:52:31.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-10-29T07:52:32.005Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-10-29T07:52:32.011Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dee0e27628480d7764d79be3c3eb57859c00315 [Pipeline] echo [2021-10-29T07:52:32.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dee0e2 [Pipeline] echo [2021-10-29T07:52:32.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T07:52:32.069Z] provisioning config files... [2021-10-29T07:52:32.084Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config7902551352414290751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:52:32.400Z] ---> docker-login.sh [2021-10-29T07:52:32.400Z] nexus3.edgexfoundry.org:10001 [2021-10-29T07:52:32.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:32.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:32.661Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:32.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:32.661Z] [2021-10-29T07:52:32.661Z] Login Succeeded [2021-10-29T07:52:32.661Z] nexus3.edgexfoundry.org:10002 [2021-10-29T07:52:32.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:32.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:32.661Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:32.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:32.661Z] [2021-10-29T07:52:32.661Z] Login Succeeded [2021-10-29T07:52:32.661Z] nexus3.edgexfoundry.org:10003 [2021-10-29T07:52:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:32.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:32.926Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:32.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:32.926Z] [2021-10-29T07:52:32.926Z] Login Succeeded [2021-10-29T07:52:32.926Z] nexus3.edgexfoundry.org:10004 [2021-10-29T07:52:32.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:32.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:32.926Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:32.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:32.926Z] [2021-10-29T07:52:32.926Z] Login Succeeded [2021-10-29T07:52:32.926Z] docker.io [2021-10-29T07:52:33.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:33.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:33.449Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:33.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:33.449Z] [2021-10-29T07:52:33.449Z] Login Succeeded [2021-10-29T07:52:33.449Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T07:52:33.459Z] 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-29T07:52:33.909Z] + git log --format=format:%s -1 0dee0e27628480d7764d79be3c3eb57859c00315 [Pipeline] echo [2021-10-29T07:52:33.949Z] GIT_COMMIT: 0dee0e27628480d7764d79be3c3eb57859c00315, Commit Message: feat(snap): add initial snap packaging (part 3) [Pipeline] echo [2021-10-29T07:52:33.958Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:52:34.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T07:52:34.679Z] [2021-10-29T07:52:34.679Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:52:34.981Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T07:52:34.981Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T07:52:34.981Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T07:52:34.981Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T07:52:34.981Z] 4c7163046ea9: Pulling fs layer [2021-10-29T07:52:34.981Z] 0c2d73faf560: Pulling fs layer [2021-10-29T07:52:34.981Z] 0c2d73faf560: Waiting [2021-10-29T07:52:34.981Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T07:52:34.981Z] 3e5f54012d9b: Download complete [2021-10-29T07:52:34.981Z] a0d0a0d46f8b: Download complete [2021-10-29T07:52:34.981Z] 4c7163046ea9: Verifying Checksum [2021-10-29T07:52:34.981Z] 4c7163046ea9: Download complete [2021-10-29T07:52:34.981Z] 0c2d73faf560: Verifying Checksum [2021-10-29T07:52:34.981Z] 0c2d73faf560: Download complete [2021-10-29T07:52:35.246Z] a0d0a0d46f8b: Pull complete [2021-10-29T07:52:35.246Z] 3e5f54012d9b: Pull complete [2021-10-29T07:52:35.507Z] 4c7163046ea9: Pull complete [2021-10-29T07:52:35.771Z] 0c2d73faf560: Pull complete [2021-10-29T07:52:35.771Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T07:52:35.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T07:52:35.771Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T07:52:35.844Z] prd-centos7-docker-4c-2g-13400 does not seem to be running inside a container [2021-10-29T07:52:35.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-29T07:52:36.496Z] $ docker top 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T07:52:36.582Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T07:52:36.582Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T07:52:36.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T07:52:36.695Z] $ docker exec 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent [2021-10-29T07:52:36.787Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiBeFmh/agent.14 [2021-10-29T07:52:36.787Z] SSH_AGENT_PID=20 [2021-10-29T07:52:36.795Z] Running ssh-add (command line suppressed) [2021-10-29T07:52:36.898Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_368771269562854907.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_368771269562854907.key) [2021-10-29T07:52:36.904Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T07:52:37.203Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T07:52:37.223Z] $ docker exec --env ******** --env ******** 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent -k [2021-10-29T07:52:37.321Z] unset SSH_AUTH_SOCK; [2021-10-29T07:52:37.324Z] unset SSH_AGENT_PID; [2021-10-29T07:52:37.324Z] echo Agent pid 20 killed; [2021-10-29T07:52:37.328Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T07:52:37.354Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T07:52:37.354Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T07:52:37.471Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T07:52:37.479Z] $ docker exec 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent [2021-10-29T07:52:37.587Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXholdli/agent.54 [2021-10-29T07:52:37.587Z] SSH_AGENT_PID=60 [2021-10-29T07:52:37.592Z] Running ssh-add (command line suppressed) [2021-10-29T07:52:37.700Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1670961618143242847.key (/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/private_key_1670961618143242847.key) [2021-10-29T07:52:37.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T07:52:37.998Z] + git semver init [2021-10-29T07:52:37.998Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T07:52:37.998Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.git [2021-10-29T07:52:37.998Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T07:52:37.998Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T07:52:37.998Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T07:52:37.998Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T07:52:37.998Z] # $SEMVER_BRANCH = PR-127 [2021-10-29T07:52:37.998Z] # $SEMVER_TEMP = /tmp/semver-950612575 [2021-10-29T07:52:37.998Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2021-10-29T07:52:38.574Z] # '/tmp/semver-950612575' -> '/w/workspace/gexfoundry_device-snmp-go_PR-127/.semver' [2021-10-29T07:52:38.574Z] # -> Force: false [2021-10-29T07:52:38.574Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-127/.semver [Pipeline] } [2021-10-29T07:52:38.589Z] $ docker exec --env ******** --env ******** 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 ssh-agent -k [2021-10-29T07:52:38.686Z] unset SSH_AUTH_SOCK; [2021-10-29T07:52:38.686Z] unset SSH_AGENT_PID; [2021-10-29T07:52:38.686Z] echo Agent pid 60 killed; [2021-10-29T07:52:38.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T07:52:38.999Z] + git semver [Pipeline] } [2021-10-29T07:52:39.020Z] $ docker stop --time=1 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 [2021-10-29T07:52:40.216Z] $ docker rm -f 2b9d2ae459fa1e81593a846e0e0399ef25805049a2edf4711d8f91b4820e7c70 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T07:52:40.564Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T07:52:40.809Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T07:52:40.812Z] [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-29T07:52:48.109Z] Running on prd-centos7-docker-4c-2g-13401 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T07:52:48.117Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T07:52:48.201Z] Selected Git installation does not exist. Using Default [2021-10-29T07:52:48.201Z] The recommended git tool is: NONE [2021-10-29T07:52:50.284Z] using credential edgex-jenkins-ssh [2021-10-29T07:52:50.294Z] Cloning the remote Git repository [2021-10-29T07:52:49.097Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:52:49.154Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-10-29T07:52:49.195Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:52:49.195Z] > git --version # timeout=10 [2021-10-29T07:52:49.202Z] > git --version # 'git version 2.24.4' [2021-10-29T07:52:49.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:52:49.233Z] [INFO] Currently running in a labeled security context [2021-10-29T07:52:49.234Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T07:52:49.234Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh3591551654469015571.key [2021-10-29T07:52:49.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T07:52:51.605Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 [2021-10-29T07:52:49.865Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T07:52:49.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T07:52:49.887Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T07:52:49.897Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:52:49.897Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:52:49.898Z] [INFO] Currently running in a labeled security context [2021-10-29T07:52:49.898Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T07:52:49.898Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh2759729439490688763.key [2021-10-29T07:52:49.905Z] > 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-29T07:52:50.399Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T07:52:50.406Z] > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 [2021-10-29T07:52:51.683Z] Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 [2021-10-29T07:52:51.683Z] Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) [2021-10-29T07:52:50.434Z] > git remote # timeout=10 [2021-10-29T07:52:50.441Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T07:52:50.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:52:50.448Z] [INFO] Currently running in a labeled security context [2021-10-29T07:52:50.448Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T07:52:50.448Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-snmp-go/2@tmp/jenkins-gitclient-ssh1053170202050628656.key [2021-10-29T07:52:50.453Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T07:52:50.459Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T07:52:50.472Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T07:52:50.475Z] > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 [2021-10-29T07:52:54.647Z] Commit message: "feat(snap): add initial snap packaging (part 3)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T07:52:54.976Z] provisioning config files... [2021-10-29T07:52:54.989Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config8314226035638350153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:52:55.376Z] ---> docker-login.sh [2021-10-29T07:52:55.377Z] nexus3.edgexfoundry.org:10001 [2021-10-29T07:52:55.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:55.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:55.377Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:55.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:55.377Z] [2021-10-29T07:52:55.377Z] Login Succeeded [2021-10-29T07:52:55.377Z] nexus3.edgexfoundry.org:10002 [2021-10-29T07:52:55.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:55.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:55.646Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:55.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:55.646Z] [2021-10-29T07:52:55.646Z] Login Succeeded [2021-10-29T07:52:55.646Z] nexus3.edgexfoundry.org:10003 [2021-10-29T07:52:55.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:55.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:55.646Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:55.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:55.646Z] [2021-10-29T07:52:55.646Z] Login Succeeded [2021-10-29T07:52:55.646Z] nexus3.edgexfoundry.org:10004 [2021-10-29T07:52:55.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:55.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:55.909Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:55.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:55.909Z] [2021-10-29T07:52:55.909Z] Login Succeeded [2021-10-29T07:52:55.909Z] docker.io [2021-10-29T07:52:55.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:52:56.081Z] Still waiting to schedule task [2021-10-29T07:52:56.081Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-29T07:52:56.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:52:56.171Z] Configure a credential helper to remove this warning. See [2021-10-29T07:52:56.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:52:56.171Z] [2021-10-29T07:52:56.171Z] Login Succeeded [2021-10-29T07:52:56.171Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T07:52:56.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T07:52:56.349Z] ========================================================= [2021-10-29T07:52:56.349Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T07:52:56.349Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:52:56.673Z] + 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-29T07:52:56.674Z] Sending build context to Docker daemon 470.5kB [2021-10-29T07:52:56.674Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T07:52:56.674Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T07:52:56.674Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T07:52:56.674Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T07:52:56.674Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T07:52:56.674Z] b8b176561691: Pulling fs layer [2021-10-29T07:52:56.674Z] 4527c011a84f: Pulling fs layer [2021-10-29T07:52:56.674Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T07:52:56.674Z] e0aca202a116: Pulling fs layer [2021-10-29T07:52:56.674Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T07:52:56.674Z] 34cad66bf833: Pulling fs layer [2021-10-29T07:52:56.674Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T07:52:56.674Z] 4527c011a84f: Waiting [2021-10-29T07:52:56.674Z] 5d74067f8e1e: Waiting [2021-10-29T07:52:56.674Z] e0aca202a116: Waiting [2021-10-29T07:52:56.674Z] 3a43be97a3b4: Waiting [2021-10-29T07:52:56.674Z] 34cad66bf833: Waiting [2021-10-29T07:52:56.674Z] b4e3c513aaa6: Waiting [2021-10-29T07:52:56.674Z] b8b176561691: Verifying Checksum [2021-10-29T07:52:56.674Z] b8b176561691: Download complete [2021-10-29T07:52:56.674Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T07:52:56.674Z] 31adcdaf11c8: Download complete [2021-10-29T07:52:56.674Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T07:52:56.674Z] 5d74067f8e1e: Download complete [2021-10-29T07:52:56.674Z] e0aca202a116: Verifying Checksum [2021-10-29T07:52:56.674Z] e0aca202a116: Download complete [2021-10-29T07:52:56.674Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T07:52:56.674Z] a0d0a0d46f8b: Download complete [2021-10-29T07:52:56.674Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T07:52:56.674Z] 3a43be97a3b4: Download complete [2021-10-29T07:52:56.937Z] 34cad66bf833: Verifying Checksum [2021-10-29T07:52:56.937Z] 34cad66bf833: Download complete [2021-10-29T07:52:57.529Z] a0d0a0d46f8b: Pull complete [2021-10-29T07:52:57.529Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T07:52:57.529Z] b4e3c513aaa6: Download complete [2021-10-29T07:52:57.529Z] 4527c011a84f: Verifying Checksum [2021-10-29T07:52:57.529Z] 4527c011a84f: Download complete [2021-10-29T07:52:57.529Z] 31adcdaf11c8: Pull complete [2021-10-29T07:52:57.529Z] b8b176561691: Pull complete [2021-10-29T07:53:01.763Z] 4527c011a84f: Pull complete [2021-10-29T07:53:01.763Z] 5d74067f8e1e: Pull complete [2021-10-29T07:53:01.763Z] e0aca202a116: Pull complete [2021-10-29T07:53:01.763Z] 3a43be97a3b4: Pull complete [2021-10-29T07:53:01.763Z] 34cad66bf833: Pull complete [2021-10-29T07:53:04.307Z] b4e3c513aaa6: Pull complete [2021-10-29T07:53:04.307Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T07:53:04.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T07:53:04.307Z] ---> 9f6097aaca64 [2021-10-29T07:53:04.307Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T07:53:06.867Z] ---> Running in 73261a89325c [2021-10-29T07:53:06.868Z] Removing intermediate container 73261a89325c [2021-10-29T07:53:06.868Z] ---> e220b81f7ca3 [2021-10-29T07:53:06.868Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T07:53:06.868Z] ---> Running in 8f994f259fba [2021-10-29T07:53:06.868Z] Removing intermediate container 8f994f259fba [2021-10-29T07:53:06.868Z] ---> dbd85c65a201 [2021-10-29T07:53:06.868Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T07:53:06.868Z] ---> Running in c05caa775924 [2021-10-29T07:53:06.868Z] Removing intermediate container c05caa775924 [2021-10-29T07:53:06.868Z] ---> 7ee486fae908 [2021-10-29T07:53:06.868Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T07:53:06.868Z] ---> Running in ff0fb4019c16 [2021-10-29T07:53:07.129Z] Removing intermediate container ff0fb4019c16 [2021-10-29T07:53:07.129Z] ---> de1746932378 [2021-10-29T07:53:07.129Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T07:53:07.391Z] ---> Running in 3133adce2227 [2021-10-29T07:53:07.391Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T07:53:08.332Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T07:53:08.593Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T07:53:08.852Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T07:53:08.852Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T07:53:08.852Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T07:53:09.117Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T07:53:09.117Z] OK: 224 MiB in 56 packages [2021-10-29T07:53:09.387Z] Removing intermediate container 3133adce2227 [2021-10-29T07:53:09.387Z] ---> d48daf8fa334 [2021-10-29T07:53:09.387Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T07:53:09.387Z] ---> Running in d9a6bcc07f15 [2021-10-29T07:53:09.387Z] Removing intermediate container d9a6bcc07f15 [2021-10-29T07:53:09.387Z] ---> addd88aef86f [2021-10-29T07:53:09.387Z] Step 9/11 : COPY . . [2021-10-29T07:53:09.649Z] ---> c8858134a41c [2021-10-29T07:53:09.649Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T07:53:09.909Z] ---> Running in b34eec2df9b0 [2021-10-29T07:53:22.189Z] Removing intermediate container b34eec2df9b0 [2021-10-29T07:53:22.189Z] ---> d2eb6c5fed37 [2021-10-29T07:53:22.189Z] Step 11/11 : RUN ${MAKE} [2021-10-29T07:53:22.189Z] ---> Running in a8b03840e450 [2021-10-29T07:53:22.189Z] noop [2021-10-29T07:53:22.189Z] Removing intermediate container a8b03840e450 [2021-10-29T07:53:22.189Z] ---> f26f1f14e59d [2021-10-29T07:53:22.189Z] Successfully built f26f1f14e59d [2021-10-29T07:53:22.189Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:53:22.483Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T07:53:22.483Z] . [Pipeline] withDockerContainer [2021-10-29T07:53:22.550Z] prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container [2021-10-29T07:53:22.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T07:53:22.925Z] $ docker top dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T07:53:23.296Z] + go version [2021-10-29T07:53:23.296Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T07:53:23.307Z] $ docker stop --time=1 dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 [2021-10-29T07:53:24.530Z] $ docker rm -f dbf4c7b37f204154320c9466a5f33bb64f5ef88eab20ce393125e733b28a8782 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:53:25.056Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T07:53:25.056Z] . [Pipeline] withDockerContainer [2021-10-29T07:53:25.116Z] prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container [2021-10-29T07:53:25.153Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T07:53:25.500Z] $ docker top 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T07:53:25.871Z] + make test [2021-10-29T07:53:25.871Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T07:53:26.138Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-29T07:53:41.126Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-29T07:53:41.126Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.006s coverage: 0.0% of statements [2021-10-29T07:53:41.126Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T07:53:47.755Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T07:53:47.755Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-29T07:53:47.755Z] ./snap/local/hooks/cmd/install/install.go [2021-10-29T07:53:47.755Z] ./snap/local/hooks/const.go [2021-10-29T07:53:47.755Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T07:53:47.755Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-29T07:53:47.768Z] $ docker stop --time=1 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd [2021-10-29T07:53:49.169Z] $ docker rm -f 7e287b2e4964cf10710a62695539e1da3118d3c9607d07d5f908f9e0a861a6bd [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-29T07:53:49.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:53:49.941Z] [2021-10-29T07:53:49.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:53:50.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:53:50.245Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T07:53:50.245Z] b4d181a07f80: Pulling fs layer [2021-10-29T07:53:50.245Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T07:53:50.245Z] ed53099fbce6: Pulling fs layer [2021-10-29T07:53:50.245Z] dc539afda2c1: Pulling fs layer [2021-10-29T07:53:50.245Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T07:53:50.245Z] 9065ff56babe: Pulling fs layer [2021-10-29T07:53:50.245Z] d287ab97295c: Pulling fs layer [2021-10-29T07:53:50.245Z] 77bc0d833cb6: Waiting [2021-10-29T07:53:50.245Z] 9065ff56babe: Waiting [2021-10-29T07:53:50.245Z] d287ab97295c: Waiting [2021-10-29T07:53:50.245Z] dc539afda2c1: Waiting [2021-10-29T07:53:50.245Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T07:53:50.245Z] a1111a8f2ec3: Download complete [2021-10-29T07:53:50.245Z] dc539afda2c1: Verifying Checksum [2021-10-29T07:53:50.245Z] dc539afda2c1: Download complete [2021-10-29T07:53:50.245Z] ed53099fbce6: Verifying Checksum [2021-10-29T07:53:50.245Z] ed53099fbce6: Download complete [2021-10-29T07:53:50.511Z] 9065ff56babe: Verifying Checksum [2021-10-29T07:53:50.511Z] 9065ff56babe: Download complete [2021-10-29T07:53:50.511Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T07:53:50.511Z] 77bc0d833cb6: Download complete [2021-10-29T07:53:50.511Z] b4d181a07f80: Verifying Checksum [2021-10-29T07:53:50.511Z] b4d181a07f80: Download complete [2021-10-29T07:53:51.086Z] d287ab97295c: Verifying Checksum [2021-10-29T07:53:51.086Z] d287ab97295c: Download complete [2021-10-29T07:53:52.046Z] b4d181a07f80: Pull complete [2021-10-29T07:53:52.046Z] a1111a8f2ec3: Pull complete [2021-10-29T07:53:52.622Z] ed53099fbce6: Pull complete [2021-10-29T07:53:52.622Z] dc539afda2c1: Pull complete [2021-10-29T07:53:52.888Z] 77bc0d833cb6: Pull complete [2021-10-29T07:53:52.888Z] 9065ff56babe: Pull complete [2021-10-29T07:53:58.198Z] d287ab97295c: Pull complete [2021-10-29T07:53:58.198Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T07:53:58.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:53:58.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T07:53:58.273Z] prd-centos7-docker-4c-2g-13401 does not seem to be running inside a container [2021-10-29T07:53:58.308Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T07:54:01.331Z] $ docker top 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:54:01.769Z] ---> job-cost.sh [2021-10-29T07:54:01.770Z] lf-activate-venv: SKIPPING [2021-10-29T07:54:01.770Z] INFO: No Stack... [2021-10-29T07:54:02.031Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T07:54:02.600Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T07:54:02.890Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-10-29T07:54:02.891Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T07:54:02.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [2021-10-29T07:54:02.923Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] did not exist. Created. [2021-10-29T07:54:02.924Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T07:54:03.221Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T07:54:03.394Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T07:54:03.401Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T07:54:03.417Z] $ docker stop --time=1 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 [2021-10-29T07:54:04.547Z] $ docker rm -f 2e65f13672dc6b562a9c8be5e8ed2718397228cee8f648f09a0833803a0da7c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T07:54:04.758Z] Failed in branch amd64 [2021-10-29T07:54:33.689Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13402 in /w/workspace/gexfoundry_device-snmp-go_PR-127 [Pipeline] { [Pipeline] ws [2021-10-29T07:54:33.701Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T07:54:33.900Z] Selected Git installation does not exist. Using Default [2021-10-29T07:54:33.900Z] The recommended git tool is: NONE [2021-10-29T07:54:39.617Z] using credential edgex-jenkins-ssh [2021-10-29T07:54:39.637Z] Cloning the remote Git repository [2021-10-29T07:54:39.734Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:54:39.829Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2021-10-29T07:54:39.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:54:39.906Z] > git --version # timeout=10 [2021-10-29T07:54:39.939Z] > git --version # 'git version 2.17.1' [2021-10-29T07:54:39.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:54:40.052Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T07:54:40.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T07:54:40.765Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T07:54:40.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2021-10-29T07:54:40.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2021-10-29T07:54:40.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:54:40.848Z] > 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-29T07:54:41.506Z] Merging remotes/origin/main commit 8bb32805f03fb28af25e69a0648a2076882556f1 into PR head commit 0dee0e27628480d7764d79be3c3eb57859c00315 [2021-10-29T07:54:41.703Z] Merge succeeded, producing 0dee0e27628480d7764d79be3c3eb57859c00315 [2021-10-29T07:54:41.703Z] Checking out Revision 0dee0e27628480d7764d79be3c3eb57859c00315 (PR-127) [2021-10-29T07:54:41.525Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T07:54:41.544Z] > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 [2021-10-29T07:54:41.629Z] > git remote # timeout=10 [2021-10-29T07:54:41.644Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T07:54:41.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T07:54:41.666Z] > git merge 8bb32805f03fb28af25e69a0648a2076882556f1 # timeout=10 [2021-10-29T07:54:41.691Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T07:54:41.711Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T07:54:41.727Z] > git checkout -f 0dee0e27628480d7764d79be3c3eb57859c00315 # timeout=10 [2021-10-29T07:54:45.853Z] Commit message: "feat(snap): add initial snap packaging (part 3)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T07:54:46.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T07:54:46.691Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T07:54:46.692Z] Dload Upload Total Spent Left Speed [2021-10-29T07:54:46.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 61264 0 --:--:-- --:--:-- --:--:-- 61264 [Pipeline] sh [2021-10-29T07:54:47.093Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T07:54:47.424Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2021-10-29T07:54:47.424Z] [2021-10-29T07:54:47.424Z] { [2021-10-29T07:54:47.424Z] "registry-mirrors": [ [2021-10-29T07:54:47.424Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T07:54:47.424Z] ], [2021-10-29T07:54:47.424Z] "bip": "10.250.0.254/24", [2021-10-29T07:54:47.424Z] "hosts": [ [2021-10-29T07:54:47.424Z] "tcp://0.0.0.0:5555", [2021-10-29T07:54:47.424Z] "unix:///var/run/docker.sock" [2021-10-29T07:54:47.424Z] ], [2021-10-29T07:54:47.424Z] "mtu": 1458, [2021-10-29T07:54:47.424Z] "selinux-enabled": true, [2021-10-29T07:54:47.424Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T07:54:47.424Z] } [Pipeline] sh [2021-10-29T07:54:47.771Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T07:54:48.113Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T07:55:06.411Z] provisioning config files... [2021-10-29T07:55:06.433Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config6880832755574520699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:55:06.791Z] ---> docker-login.sh [2021-10-29T07:55:06.791Z] nexus3.edgexfoundry.org:10001 [2021-10-29T07:55:07.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:55:08.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:55:08.049Z] Configure a credential helper to remove this warning. See [2021-10-29T07:55:08.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:55:08.049Z] [2021-10-29T07:55:08.049Z] Login Succeeded [2021-10-29T07:55:08.049Z] nexus3.edgexfoundry.org:10002 [2021-10-29T07:55:08.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:55:08.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:55:08.321Z] Configure a credential helper to remove this warning. See [2021-10-29T07:55:08.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:55:08.321Z] [2021-10-29T07:55:08.321Z] Login Succeeded [2021-10-29T07:55:08.321Z] nexus3.edgexfoundry.org:10003 [2021-10-29T07:55:08.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:55:08.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:55:08.873Z] Configure a credential helper to remove this warning. See [2021-10-29T07:55:08.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:55:08.873Z] [2021-10-29T07:55:08.873Z] Login Succeeded [2021-10-29T07:55:08.873Z] nexus3.edgexfoundry.org:10004 [2021-10-29T07:55:09.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:55:09.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:55:09.419Z] Configure a credential helper to remove this warning. See [2021-10-29T07:55:09.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:55:09.419Z] [2021-10-29T07:55:09.419Z] Login Succeeded [2021-10-29T07:55:09.419Z] docker.io [2021-10-29T07:55:09.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T07:55:10.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T07:55:10.000Z] Configure a credential helper to remove this warning. See [2021-10-29T07:55:10.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T07:55:10.000Z] [2021-10-29T07:55:10.000Z] Login Succeeded [2021-10-29T07:55:10.000Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T07:55:10.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T07:55:10.578Z] ========================================================= [2021-10-29T07:55:10.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T07:55:10.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:55:11.000Z] + 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-29T07:55:11.271Z] Sending build context to Docker daemon 469.5kB [2021-10-29T07:55:11.271Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T07:55:11.271Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T07:55:11.546Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T07:55:11.546Z] 552d1f2373af: Pulling fs layer [2021-10-29T07:55:11.546Z] ea3f2d53f512: Pulling fs layer [2021-10-29T07:55:11.546Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T07:55:11.546Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T07:55:11.546Z] 72dc09318566: Pulling fs layer [2021-10-29T07:55:11.546Z] f4f7b4309257: Pulling fs layer [2021-10-29T07:55:11.546Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T07:55:11.546Z] b78e95d17946: Pulling fs layer [2021-10-29T07:55:11.546Z] 72dc09318566: Waiting [2021-10-29T07:55:11.546Z] f4f7b4309257: Waiting [2021-10-29T07:55:11.546Z] 0ac9a79272e3: Waiting [2021-10-29T07:55:11.546Z] b78e95d17946: Waiting [2021-10-29T07:55:11.546Z] 7a9cfe048b4a: Waiting [2021-10-29T07:55:11.546Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T07:55:11.546Z] 9e70ebbbe112: Download complete [2021-10-29T07:55:11.546Z] ea3f2d53f512: Verifying Checksum [2021-10-29T07:55:11.546Z] ea3f2d53f512: Download complete [2021-10-29T07:55:11.546Z] 72dc09318566: Verifying Checksum [2021-10-29T07:55:11.546Z] 72dc09318566: Download complete [2021-10-29T07:55:11.546Z] f4f7b4309257: Verifying Checksum [2021-10-29T07:55:11.546Z] f4f7b4309257: Download complete [2021-10-29T07:55:11.546Z] 552d1f2373af: Download complete [2021-10-29T07:55:11.546Z] 0ac9a79272e3: Verifying Checksum [2021-10-29T07:55:11.546Z] 0ac9a79272e3: Download complete [2021-10-29T07:55:12.532Z] 552d1f2373af: Pull complete [2021-10-29T07:55:12.805Z] ea3f2d53f512: Pull complete [2021-10-29T07:55:13.400Z] 9e70ebbbe112: Pull complete [2021-10-29T07:55:13.400Z] b78e95d17946: Verifying Checksum [2021-10-29T07:55:13.400Z] b78e95d17946: Download complete [2021-10-29T07:55:14.003Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T07:55:14.003Z] 7a9cfe048b4a: Download complete [2021-10-29T07:55:24.138Z] 7a9cfe048b4a: Pull complete [2021-10-29T07:55:24.138Z] 72dc09318566: Pull complete [2021-10-29T07:55:24.138Z] f4f7b4309257: Pull complete [2021-10-29T07:55:24.138Z] 0ac9a79272e3: Pull complete [2021-10-29T07:55:28.417Z] b78e95d17946: Pull complete [2021-10-29T07:55:28.417Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T07:55:28.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T07:55:28.417Z] ---> 8b459fc5aaf0 [2021-10-29T07:55:28.417Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T07:55:31.022Z] ---> Running in 92479a0814d9 [2021-10-29T07:55:31.022Z] Removing intermediate container 92479a0814d9 [2021-10-29T07:55:31.022Z] ---> af11870178d4 [2021-10-29T07:55:31.022Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T07:55:31.022Z] ---> Running in f54a826317aa [2021-10-29T07:55:31.613Z] Removing intermediate container f54a826317aa [2021-10-29T07:55:31.613Z] ---> 5da2ae283d23 [2021-10-29T07:55:31.613Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T07:55:31.613Z] ---> Running in 9b163b9adc65 [2021-10-29T07:55:31.882Z] Removing intermediate container 9b163b9adc65 [2021-10-29T07:55:31.882Z] ---> c5c243633604 [2021-10-29T07:55:31.882Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T07:55:32.152Z] ---> Running in a688d2e1ecbc [2021-10-29T07:55:34.130Z] Removing intermediate container a688d2e1ecbc [2021-10-29T07:55:34.130Z] ---> 7bcd2223d2df [2021-10-29T07:55:34.130Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T07:55:34.409Z] ---> Running in e308e27588eb [2021-10-29T07:55:35.386Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T07:55:36.355Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T07:55:37.326Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T07:55:37.326Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T07:55:37.326Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T07:55:37.598Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T07:55:37.598Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T07:55:37.598Z] OK: 223 MiB in 56 packages [2021-10-29T07:55:38.573Z] Removing intermediate container e308e27588eb [2021-10-29T07:55:38.573Z] ---> 247025dcf69a [2021-10-29T07:55:38.573Z] Step 8/11 : WORKDIR /device-snmp-go [2021-10-29T07:55:38.843Z] ---> Running in f2eee3099919 [2021-10-29T07:55:39.115Z] Removing intermediate container f2eee3099919 [2021-10-29T07:55:39.115Z] ---> 2c328a8619ed [2021-10-29T07:55:39.115Z] Step 9/11 : COPY . . [2021-10-29T07:55:40.548Z] ---> 382a85e385c8 [2021-10-29T07:55:40.548Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T07:55:40.548Z] ---> Running in f00baabf488b [2021-10-29T07:56:07.381Z] Removing intermediate container f00baabf488b [2021-10-29T07:56:07.381Z] ---> de0f51496a31 [2021-10-29T07:56:07.381Z] Step 11/11 : RUN ${MAKE} [2021-10-29T07:56:07.381Z] ---> Running in 97851ddd87ab [2021-10-29T07:56:07.381Z] noop [2021-10-29T07:56:07.381Z] Removing intermediate container 97851ddd87ab [2021-10-29T07:56:07.381Z] ---> 31509ad690a4 [2021-10-29T07:56:07.381Z] Successfully built 31509ad690a4 [2021-10-29T07:56:07.381Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:56:07.722Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T07:56:07.722Z] . [Pipeline] withDockerContainer [2021-10-29T07:56:07.986Z] prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container [2021-10-29T07:56:08.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T07:56:09.705Z] $ docker top 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T07:56:10.656Z] + go version [2021-10-29T07:56:10.656Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T07:56:10.679Z] $ docker stop --time=1 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 [2021-10-29T07:56:12.454Z] $ docker rm -f 97acbe468eccb241fefa63e55be936c49d2867093a123f9eed699e30d3283809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:56:13.148Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T07:56:13.148Z] . [Pipeline] withDockerContainer [2021-10-29T07:56:13.379Z] prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container [2021-10-29T07:56:13.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T07:56:15.003Z] $ docker top d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T07:56:15.917Z] + make test [2021-10-29T07:56:15.917Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T07:56:17.352Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2021-10-29T07:57:04.340Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2021-10-29T07:57:04.340Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.035s coverage: 0.0% of statements [2021-10-29T07:57:04.340Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T07:57:31.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T07:57:31.168Z] ./snap/local/hooks/const.go [2021-10-29T07:57:31.168Z] ./snap/local/hooks/cmd/install/install.go [2021-10-29T07:57:31.168Z] ./snap/local/hooks/cmd/configure/configure.go [2021-10-29T07:57:31.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T07:57:31.168Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-10-29T07:57:31.197Z] $ docker stop --time=1 d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e [2021-10-29T07:57:33.137Z] $ docker rm -f d58c481ed5f91c8bd1f697533572d4271de21c4ef1bdf7c37fece7629539606e [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-29T07:57:34.284Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T07:57:34.284Z] [2021-10-29T07:57:34.284Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:57:34.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T07:57:34.903Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T07:57:34.903Z] 448f6bf000e3: Pulling fs layer [2021-10-29T07:57:34.903Z] f757da607395: Pulling fs layer [2021-10-29T07:57:34.903Z] 05883995daec: Pulling fs layer [2021-10-29T07:57:34.903Z] 8603b9c90790: Pulling fs layer [2021-10-29T07:57:34.903Z] 1560dd03e051: Pulling fs layer [2021-10-29T07:57:34.903Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T07:57:34.903Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T07:57:34.903Z] 8603b9c90790: Waiting [2021-10-29T07:57:34.903Z] 1560dd03e051: Waiting [2021-10-29T07:57:34.903Z] c2d8d7efcc4b: Waiting [2021-10-29T07:57:34.903Z] 27f5ce0e4adf: Waiting [2021-10-29T07:57:34.903Z] f757da607395: Verifying Checksum [2021-10-29T07:57:34.903Z] f757da607395: Download complete [2021-10-29T07:57:34.903Z] 8603b9c90790: Verifying Checksum [2021-10-29T07:57:34.904Z] 8603b9c90790: Download complete [2021-10-29T07:57:35.177Z] 1560dd03e051: Verifying Checksum [2021-10-29T07:57:35.177Z] 1560dd03e051: Download complete [2021-10-29T07:57:35.177Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T07:57:35.177Z] 27f5ce0e4adf: Download complete [2021-10-29T07:57:35.177Z] 05883995daec: Verifying Checksum [2021-10-29T07:57:35.177Z] 05883995daec: Download complete [2021-10-29T07:57:35.452Z] 448f6bf000e3: Verifying Checksum [2021-10-29T07:57:35.452Z] 448f6bf000e3: Download complete [2021-10-29T07:57:38.076Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T07:57:38.076Z] c2d8d7efcc4b: Download complete [2021-10-29T07:57:39.060Z] 448f6bf000e3: Pull complete [2021-10-29T07:57:40.041Z] f757da607395: Pull complete [2021-10-29T07:57:41.471Z] 05883995daec: Pull complete [2021-10-29T07:57:41.471Z] 8603b9c90790: Pull complete [2021-10-29T07:57:42.452Z] 1560dd03e051: Pull complete [2021-10-29T07:57:42.727Z] 27f5ce0e4adf: Pull complete [2021-10-29T07:57:57.824Z] c2d8d7efcc4b: Pull complete [2021-10-29T07:57:57.824Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T07:57:57.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T07:57:57.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T07:57:58.077Z] prd-ubuntu18.04-docker-arm64-4c-16g-13402 does not seem to be running inside a container [2021-10-29T07:57:58.150Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-29T07:58:00.937Z] $ docker top fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:01.902Z] ---> job-cost.sh [2021-10-29T07:58:01.903Z] lf-activate-venv: SKIPPING [2021-10-29T07:58:01.903Z] INFO: No Stack... [2021-10-29T07:58:02.173Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T07:58:02.764Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T07:58:03.417Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2021-10-29T07:58:03.417Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T07:58:03.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [2021-10-29T07:58:03.479Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] did not exist. Created. [2021-10-29T07:58:03.479Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T07:58:04.151Z] /w/workspace/device-snmp-go/2@tmp/durable-dbb396df/script.sh: 1: /w/workspace/device-snmp-go/2@tmp/durable-dbb396df/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-29T07:58:04.816Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T07:58:04.842Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T07:58:05.309Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T07:58:05.319Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-127-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T07:58:05.334Z] $ docker stop --time=1 fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 [2021-10-29T07:58:06.915Z] $ docker rm -f fb2f66a34f17acf676e4f5e7704382e5916574d39c037a0c5eaed6710dc6fae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T07:58:07.341Z] 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-29T07:58:08.703Z] + '[' -d /w/workspace/gexfoundry_device-snmp-go_PR-127/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:09.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:09.561Z] ---> package-listing.sh [2021-10-29T07:58:09.561Z] ++ facter osfamily [2021-10-29T07:58:09.561Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T07:58:09.831Z] + OS_FAMILY=redhat [2021-10-29T07:58:09.831Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-127 [2021-10-29T07:58:09.831Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T07:58:09.831Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T07:58:09.831Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T07:58:09.831Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T07:58:09.831Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T07:58:09.831Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T07:58:09.831Z] + case "${OS_FAMILY}" in [2021-10-29T07:58:09.831Z] + rpm -qa [2021-10-29T07:58:09.831Z] + sort [2021-10-29T07:58:10.412Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T07:58:10.412Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T07:58:10.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T07:58:10.412Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-127 ']' [2021-10-29T07:58:10.412Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-127/archives/ [2021-10-29T07:58:10.412Z] + 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-29T07:58:10.422Z] 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-29T07:58:10.706Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:58:11.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:58:11.269Z] [2021-10-29T07:58:11.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T07:58:11.573Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:58:11.573Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T07:58:11.573Z] b4d181a07f80: Pulling fs layer [2021-10-29T07:58:11.573Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T07:58:11.573Z] ed53099fbce6: Pulling fs layer [2021-10-29T07:58:11.573Z] dc539afda2c1: Pulling fs layer [2021-10-29T07:58:11.573Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T07:58:11.573Z] 9065ff56babe: Pulling fs layer [2021-10-29T07:58:11.573Z] d287ab97295c: Pulling fs layer [2021-10-29T07:58:11.573Z] dc539afda2c1: Waiting [2021-10-29T07:58:11.573Z] 77bc0d833cb6: Waiting [2021-10-29T07:58:11.573Z] 9065ff56babe: Waiting [2021-10-29T07:58:11.573Z] d287ab97295c: Waiting [2021-10-29T07:58:11.573Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T07:58:11.573Z] a1111a8f2ec3: Download complete [2021-10-29T07:58:11.573Z] dc539afda2c1: Verifying Checksum [2021-10-29T07:58:11.573Z] dc539afda2c1: Download complete [2021-10-29T07:58:11.573Z] ed53099fbce6: Verifying Checksum [2021-10-29T07:58:11.573Z] ed53099fbce6: Download complete [2021-10-29T07:58:11.573Z] 9065ff56babe: Verifying Checksum [2021-10-29T07:58:11.573Z] 9065ff56babe: Download complete [2021-10-29T07:58:11.838Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T07:58:11.838Z] 77bc0d833cb6: Download complete [2021-10-29T07:58:11.838Z] b4d181a07f80: Verifying Checksum [2021-10-29T07:58:11.838Z] b4d181a07f80: Download complete [2021-10-29T07:58:12.431Z] d287ab97295c: Verifying Checksum [2021-10-29T07:58:12.432Z] d287ab97295c: Download complete [2021-10-29T07:58:13.386Z] b4d181a07f80: Pull complete [2021-10-29T07:58:13.386Z] a1111a8f2ec3: Pull complete [2021-10-29T07:58:13.971Z] ed53099fbce6: Pull complete [2021-10-29T07:58:13.971Z] dc539afda2c1: Pull complete [2021-10-29T07:58:14.234Z] 77bc0d833cb6: Pull complete [2021-10-29T07:58:14.234Z] 9065ff56babe: Pull complete [2021-10-29T07:58:19.550Z] d287ab97295c: Pull complete [2021-10-29T07:58:19.550Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T07:58:19.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T07:58:19.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T07:58:19.616Z] prd-centos7-docker-4c-2g-13400 does not seem to be running inside a container [2021-10-29T07:58:19.663Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-127 -v /w/workspace/gexfoundry_device-snmp-go_PR-127:/w/workspace/gexfoundry_device-snmp-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T07:58:21.783Z] $ docker top 8bc48de9ec281fb3023780e2208cc7c11b96795c817a163f15e318b137ba913b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T07:58:22.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T07:58:22.453Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T07:58:22.745Z] + ls /var/log/sa-host [2021-10-29T07:58:22.745Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T07:58:22.745Z] file_magic: OK [2021-10-29T07:58:22.745Z] HZ: Using current value: 100 [2021-10-29T07:58:22.745Z] file_header: OK [2021-10-29T07:58:22.745Z] 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-29T07:58:22.745Z] Statistics: [2021-10-29T07:58:22.745Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T07:58:22.745Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T07:58:22.745Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T07:58:22.745Z] file_magic: OK [2021-10-29T07:58:22.745Z] HZ: Using current value: 100 [2021-10-29T07:58:22.745Z] file_header: OK [2021-10-29T07:58:22.745Z] 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-29T07:58:22.745Z] Statistics: [2021-10-29T07:58:22.745Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T07:58:22.745Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T07:58:22.981Z] provisioning config files... [2021-10-29T07:58:22.993Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-127@tmp/config8474380578835351819tmp [Pipeline] { [Pipeline] echo [2021-10-29T07:58:23.007Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:23.298Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T07:58:23.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:23.650Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T07:58:23.660Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:23.958Z] ---> sudo-logs.sh [2021-10-29T07:58:23.958Z] Archiving 'sudo' log.. [2021-10-29T07:58:24.220Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13400.novalocal: Name or service not known [2021-10-29T07:58:24.220Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13400.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T07:58:24.257Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:24.545Z] ---> job-cost.sh [2021-10-29T07:58:24.545Z] lf-activate-venv: SKIPPING [2021-10-29T07:58:24.545Z] DEBUG: total: 0.10999999940395355 [2021-10-29T07:58:24.545Z] INFO: Retrieving Stack Cost... [2021-10-29T07:58:24.806Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T07:58:25.070Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T07:58:25.081Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T07:58:25.368Z] ---> logs-deploy.sh [2021-10-29T07:58:25.368Z] lf-activate-venv: SKIPPING [2021-10-29T07:58:25.368Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-127/2 [2021-10-29T07:58:25.368Z] INFO: archiving workspace using pattern(s): [2021-10-29T07:58:25.944Z] Archives upload complete. [2021-10-29T07:58:26.206Z] INFO: archiving logs to Nexus