Pull request #159 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (dacc3128cf8ca6eb61fa550bde33a12243ddd2c1) 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-ssh10342806728140304865.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17747796474641959959.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-159/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1168011643026582588.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-159/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6366978636074207732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16955780668206482772.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-159/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-159/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12512066366616300296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21934’ Running on prd-ubuntu20.04-docker-8c-8g-21944 in /w/workspace/gexfoundry_device-snmp-go_PR-159 [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-159 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 Merge succeeded, producing 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 Checking out Revision 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 (PR-159) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T05:07:28.040Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T05:07:28.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T05:07:28.332Z] ========================================================= [2022-04-25T05:07:28.332Z] EdgeX Global Pipelines Version Info [2022-04-25T05:07:28.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:07:29.203Z] ------------------- [2022-04-25T05:07:29.203Z] stable info: [2022-04-25T05:07:29.203Z] ------------------- [2022-04-25T05:07:29.203Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T05:07:29.203Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T05:07:29.203Z] Message: update stable to v1.0.221 [2022-04-25T05:07:29.804Z] ------------------- [2022-04-25T05:07:29.804Z] experimental info: [2022-04-25T05:07:29.804Z] ------------------- [2022-04-25T05:07:29.804Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T05:07:29.804Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T05:07:29.804Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T05:07:30.051Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-25T05:07:30.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-25T05:07:30.140Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T05:07:30.184Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T05:07:30.226Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T05:07:30.269Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T05:07:30.312Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T05:07:30.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T05:07:30.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T05:07:30.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T05:07:30.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T05:07:30.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-25T05:07:30.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T05:07:30.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T05:07:30.671Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T05:07:30.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T05:07:30.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T05:07:30.810Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T05:07:30.854Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T05:07:30.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T05:07:30.942Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T05:07:30.986Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T05:07:31.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T05:07:31.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T05:07:31.102Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T05:07:31.146Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T05:07:31.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-159 [Pipeline] echo [2022-04-25T05:07:31.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-159 [Pipeline] echo [2022-04-25T05:07:31.270Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-159 [Pipeline] echo [2022-04-25T05:07:31.309Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo [2022-04-25T05:07:31.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34a9330 [Pipeline] echo [2022-04-25T05:07:31.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:07:31.524Z] provisioning config files... [2022-04-25T05:07:31.540Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config6177152045719969387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:07:31.919Z] ---> docker-login.sh [2022-04-25T05:07:31.920Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:07:32.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:32.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:32.442Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:32.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:32.442Z] [2022-04-25T05:07:32.442Z] Login Succeeded [2022-04-25T05:07:32.442Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:07:32.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:32.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:32.442Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:32.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:32.442Z] [2022-04-25T05:07:32.442Z] Login Succeeded [2022-04-25T05:07:32.442Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:07:32.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:32.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:32.701Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:32.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:32.701Z] [2022-04-25T05:07:32.701Z] Login Succeeded [2022-04-25T05:07:32.701Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:07:32.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:32.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:32.701Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:32.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:32.702Z] [2022-04-25T05:07:32.702Z] Login Succeeded [2022-04-25T05:07:32.702Z] docker.io [2022-04-25T05:07:32.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:33.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:33.226Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:33.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:33.226Z] [2022-04-25T05:07:33.226Z] Login Succeeded [2022-04-25T05:07:33.226Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:07:33.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T05:07:33.980Z] + git rev-list -1 --merges 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0~1..34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo [2022-04-25T05:07:34.039Z] -----------> git rev-list -1 --merges 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0~1..34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [false] [Pipeline] sh [2022-04-25T05:07:34.360Z] + git log --format=format:%s -1 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo [2022-04-25T05:07:34.397Z] ========================================================= [2022-04-25T05:07:34.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T05:07:34.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T05:07:34.835Z] + git log --format=format:%s -1 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [Pipeline] echo [2022-04-25T05:07:34.871Z] [semverPrep] GIT_COMMIT: 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-25T05:07:34.902Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T05:07:35.308Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T05:07:35.308Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T05:07:35.308Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T05:07:35.308Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T05:07:35.308Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T05:07:35.308Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T05:07:35.308Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:07:35.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:07:35.697Z] [2022-04-25T05:07:35.697Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:07:36.051Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:07:36.051Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T05:07:36.319Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T05:07:36.319Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T05:07:36.319Z] 4c7163046ea9: Pulling fs layer [2022-04-25T05:07:36.319Z] 0c2d73faf560: Pulling fs layer [2022-04-25T05:07:36.319Z] 3e5f54012d9b: Download complete [2022-04-25T05:07:36.319Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T05:07:36.319Z] a0d0a0d46f8b: Download complete [2022-04-25T05:07:36.319Z] 0c2d73faf560: Verifying Checksum [2022-04-25T05:07:36.319Z] 0c2d73faf560: Download complete [2022-04-25T05:07:36.319Z] 4c7163046ea9: Verifying Checksum [2022-04-25T05:07:36.319Z] 4c7163046ea9: Download complete [2022-04-25T05:07:36.580Z] a0d0a0d46f8b: Pull complete [2022-04-25T05:07:36.580Z] 3e5f54012d9b: Pull complete [2022-04-25T05:07:37.150Z] 4c7163046ea9: Pull complete [2022-04-25T05:07:37.411Z] 0c2d73faf560: Pull complete [2022-04-25T05:07:37.411Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T05:07:37.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T05:07:37.411Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T05:07:37.521Z] prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container [2022-04-25T05:07:37.567Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-25T05:07:39.432Z] $ docker top bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T05:07:39.662Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T05:07:39.662Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T05:07:39.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T05:07:39.844Z] $ docker exec bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent [2022-04-25T05:07:39.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBHejj/agent.13 [2022-04-25T05:07:39.979Z] SSH_AGENT_PID=20 [2022-04-25T05:07:39.994Z] Running ssh-add (command line suppressed) [2022-04-25T05:07:40.123Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_2967895372189383320.key (/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_2967895372189383320.key) [2022-04-25T05:07:40.143Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T05:07:40.483Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T05:07:40.513Z] $ docker exec --env ******** --env ******** bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent -k [2022-04-25T05:07:40.633Z] unset SSH_AUTH_SOCK; [2022-04-25T05:07:40.633Z] unset SSH_AGENT_PID; [2022-04-25T05:07:40.633Z] echo Agent pid 20 killed; [2022-04-25T05:07:40.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T05:07:40.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T05:07:40.730Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T05:07:40.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T05:07:40.874Z] $ docker exec bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent [2022-04-25T05:07:41.008Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhCgimh/agent.52 [2022-04-25T05:07:41.008Z] SSH_AGENT_PID=58 [2022-04-25T05:07:41.014Z] Running ssh-add (command line suppressed) [2022-04-25T05:07:41.143Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_8427713818818302610.key (/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/private_key_8427713818818302610.key) [2022-04-25T05:07:41.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T05:07:41.499Z] + git semver init [2022-04-25T05:07:41.499Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T05:07:41.499Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-159/.git [2022-04-25T05:07:41.499Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-159 [2022-04-25T05:07:41.499Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T05:07:41.499Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T05:07:41.499Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T05:07:41.499Z] # $SEMVER_BRANCH = PR-159 [2022-04-25T05:07:41.499Z] # $SEMVER_TEMP = /tmp/semver-740138906 [2022-04-25T05:07:41.499Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-25T05:07:42.448Z] # '/tmp/semver-740138906' -> '/w/workspace/gexfoundry_device-snmp-go_PR-159/.semver' [2022-04-25T05:07:42.448Z] # -> Force: false [2022-04-25T05:07:42.448Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-159/.semver [Pipeline] } [2022-04-25T05:07:42.480Z] $ docker exec --env ******** --env ******** bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf ssh-agent -k [2022-04-25T05:07:42.605Z] unset SSH_AUTH_SOCK; [2022-04-25T05:07:42.606Z] unset SSH_AGENT_PID; [2022-04-25T05:07:42.606Z] echo Agent pid 58 killed; [2022-04-25T05:07:42.611Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T05:07:43.046Z] + git semver [Pipeline] } [2022-04-25T05:07:43.084Z] $ docker stop --time=1 bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf [2022-04-25T05:07:44.606Z] $ docker rm -f bb7af98bfb3b853e318ea3e91c05f6c8a35791cdc7e7b5f2524e9d5995bcebbf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T05:07:45.032Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T05:07:45.397Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T05:07:45.417Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:07:46.012Z] provisioning config files... [2022-04-25T05:07:46.022Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config4041672134119148013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:07:46.366Z] ---> docker-login.sh [2022-04-25T05:07:46.366Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:07:46.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:46.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:46.366Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:46.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:46.366Z] [2022-04-25T05:07:46.366Z] Login Succeeded [2022-04-25T05:07:46.366Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:07:46.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:46.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:46.626Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:46.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:46.626Z] [2022-04-25T05:07:46.626Z] Login Succeeded [2022-04-25T05:07:46.626Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:07:46.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:46.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:46.626Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:46.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:46.626Z] [2022-04-25T05:07:46.626Z] Login Succeeded [2022-04-25T05:07:46.626Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:07:46.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:46.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:46.887Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:46.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:46.887Z] [2022-04-25T05:07:46.887Z] Login Succeeded [2022-04-25T05:07:46.887Z] docker.io [2022-04-25T05:07:46.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:07:47.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:07:47.148Z] Configure a credential helper to remove this warning. See [2022-04-25T05:07:47.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:07:47.148Z] [2022-04-25T05:07:47.148Z] Login Succeeded [2022-04-25T05:07:47.407Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:07:47.434Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T05:07:47.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T05:07:47.648Z] ========================================================= [2022-04-25T05:07:47.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T05:07:47.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:07:48.066Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T05:07:48.066Z] Sending build context to Docker daemon 5.259MB [2022-04-25T05:07:48.066Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T05:07:48.066Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T05:07:48.066Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T05:07:48.066Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T05:07:48.066Z] 666ba61612fd: Pulling fs layer [2022-04-25T05:07:48.066Z] 8ed8ca486205: Pulling fs layer [2022-04-25T05:07:48.066Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T05:07:48.066Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T05:07:48.066Z] ca2b28591e48: Pulling fs layer [2022-04-25T05:07:48.066Z] a51346096db8: Pulling fs layer [2022-04-25T05:07:48.066Z] daebc70d1ce1: Pulling fs layer [2022-04-25T05:07:48.066Z] 0e18a0eac166: Pulling fs layer [2022-04-25T05:07:48.066Z] daebc70d1ce1: Waiting [2022-04-25T05:07:48.066Z] ca2b28591e48: Waiting [2022-04-25T05:07:48.066Z] 0e18a0eac166: Waiting [2022-04-25T05:07:48.066Z] a51346096db8: Waiting [2022-04-25T05:07:48.066Z] 4fe6c5a15a65: Waiting [2022-04-25T05:07:48.066Z] 22a0e8bec74d: Waiting [2022-04-25T05:07:48.066Z] 8ed8ca486205: Verifying Checksum [2022-04-25T05:07:48.066Z] 8ed8ca486205: Download complete [2022-04-25T05:07:48.066Z] 666ba61612fd: Verifying Checksum [2022-04-25T05:07:48.066Z] 666ba61612fd: Download complete [2022-04-25T05:07:48.334Z] 22a0e8bec74d: Verifying Checksum [2022-04-25T05:07:48.334Z] 22a0e8bec74d: Download complete [2022-04-25T05:07:48.334Z] ca2b28591e48: Verifying Checksum [2022-04-25T05:07:48.334Z] ca2b28591e48: Download complete [2022-04-25T05:07:48.334Z] a51346096db8: Verifying Checksum [2022-04-25T05:07:48.334Z] a51346096db8: Download complete [2022-04-25T05:07:48.334Z] 59bf1c3509f3: Verifying Checksum [2022-04-25T05:07:48.334Z] 59bf1c3509f3: Download complete [2022-04-25T05:07:48.598Z] daebc70d1ce1: Verifying Checksum [2022-04-25T05:07:48.598Z] daebc70d1ce1: Download complete [2022-04-25T05:07:48.598Z] 59bf1c3509f3: Pull complete [2022-04-25T05:07:48.598Z] 666ba61612fd: Pull complete [2022-04-25T05:07:48.865Z] 8ed8ca486205: Pull complete [2022-04-25T05:07:49.127Z] 0e18a0eac166: Verifying Checksum [2022-04-25T05:07:49.127Z] 0e18a0eac166: Download complete [2022-04-25T05:07:49.387Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T05:07:49.387Z] 4fe6c5a15a65: Download complete [2022-04-25T05:07:53.580Z] 4fe6c5a15a65: Pull complete [2022-04-25T05:07:53.581Z] 22a0e8bec74d: Pull complete [2022-04-25T05:07:53.840Z] ca2b28591e48: Pull complete [2022-04-25T05:07:53.840Z] a51346096db8: Pull complete [2022-04-25T05:07:54.100Z] daebc70d1ce1: Pull complete [2022-04-25T05:07:56.657Z] 0e18a0eac166: Pull complete [2022-04-25T05:07:56.657Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T05:07:56.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T05:07:56.657Z] ---> f018257e8ee9 [2022-04-25T05:07:56.657Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T05:07:58.572Z] ---> Running in b4a4ece30418 [2022-04-25T05:07:58.572Z] Removing intermediate container b4a4ece30418 [2022-04-25T05:07:58.572Z] ---> 82741087580d [2022-04-25T05:07:58.572Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T05:07:58.572Z] ---> Running in b086548eff7f [2022-04-25T05:07:58.572Z] Removing intermediate container b086548eff7f [2022-04-25T05:07:58.572Z] ---> 006d2dc6d5ba [2022-04-25T05:07:58.572Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T05:07:58.572Z] ---> Running in dad16908bd0c [2022-04-25T05:07:58.572Z] Removing intermediate container dad16908bd0c [2022-04-25T05:07:58.572Z] ---> 814f470ec1ef [2022-04-25T05:07:58.572Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T05:07:58.572Z] ---> Running in b66b5bd8b478 [2022-04-25T05:07:59.516Z] Removing intermediate container b66b5bd8b478 [2022-04-25T05:07:59.516Z] ---> 35c96aa69dbd [2022-04-25T05:07:59.516Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T05:07:59.516Z] ---> Running in 6213afce963f [2022-04-25T05:07:59.776Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T05:08:00.348Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T05:08:00.832Z] Still waiting to schedule task [2022-04-25T05:08:00.832Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21942’ [2022-04-25T05:08:00.921Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T05:08:00.921Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T05:08:00.921Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T05:08:00.921Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T05:08:01.182Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T05:08:01.182Z] OK: 224 MiB in 56 packages [2022-04-25T05:08:01.757Z] Removing intermediate container 6213afce963f [2022-04-25T05:08:01.757Z] ---> 3febc5b66fbe [2022-04-25T05:08:01.757Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-25T05:08:01.757Z] ---> Running in 4b05178661dd [2022-04-25T05:08:01.757Z] Removing intermediate container 4b05178661dd [2022-04-25T05:08:01.757Z] ---> e3863823fe1f [2022-04-25T05:08:01.757Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T05:08:01.757Z] ---> cbac8f6276a7 [2022-04-25T05:08:01.757Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T05:08:02.020Z] ---> Running in 43fc8bd17dc8 [2022-04-25T05:08:20.148Z] Removing intermediate container 43fc8bd17dc8 [2022-04-25T05:08:20.148Z] ---> 9017d791eab7 [2022-04-25T05:08:20.148Z] Step 11/12 : COPY . . [2022-04-25T05:08:20.148Z] ---> 69fc5694fafd [2022-04-25T05:08:20.148Z] Step 12/12 : RUN ${MAKE} [2022-04-25T05:08:20.148Z] ---> Running in 9bbb90ad5c0b [2022-04-25T05:08:20.148Z] noop [2022-04-25T05:08:20.148Z] Removing intermediate container 9bbb90ad5c0b [2022-04-25T05:08:20.148Z] ---> a5502c78a3b6 [2022-04-25T05:08:20.148Z] Successfully built a5502c78a3b6 [2022-04-25T05:08:20.148Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:08:20.483Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T05:08:20.483Z] . [Pipeline] withDockerContainer [2022-04-25T05:08:20.596Z] prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container [2022-04-25T05:08:20.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** ci-base-image-x86_64 cat [2022-04-25T05:08:21.090Z] $ docker top b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:08:21.496Z] + go version [2022-04-25T05:08:21.496Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T05:08:21.534Z] $ docker stop --time=1 b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd [2022-04-25T05:08:22.842Z] $ docker rm -f b72af9fed4869b2fe5b3683d9ab3508269d06ce02285d5c4cbf8cc08ec73ffcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:08:23.514Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T05:08:23.514Z] . [Pipeline] withDockerContainer [2022-04-25T05:08:23.608Z] prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container [2022-04-25T05:08:23.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** ci-base-image-x86_64 cat [2022-04-25T05:08:24.097Z] $ docker top 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T05:08:24.583Z] + make test [2022-04-25T05:08:24.584Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T05:08:24.900Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-25T05:08:34.919Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-25T05:08:34.919Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.030s coverage: 0.0% of statements [2022-04-25T05:08:41.493Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T05:08:44.789Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T05:08:44.789Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T05:08:44.789Z] ./bin/test-attribution-txt.sh [2022-04-25T05:08:45.367Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T05:08:45.367Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-25T05:08:45.421Z] $ docker stop --time=1 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd [2022-04-25T05:08:47.520Z] $ docker rm -f 25d944ace8b880e30fae13514905b3926c74d82afaf6ce514258b106b00384fd [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 [2022-04-25T05:08:48.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:08:48.715Z] [2022-04-25T05:08:48.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:08:49.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:08:49.072Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T05:08:49.072Z] 5eb5b503b376: Pulling fs layer [2022-04-25T05:08:49.072Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T05:08:49.072Z] ec43610c2a17: Pulling fs layer [2022-04-25T05:08:49.072Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T05:08:49.072Z] 33b1e0a273af: Pulling fs layer [2022-04-25T05:08:49.072Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T05:08:49.072Z] 2f39f015ded8: Pulling fs layer [2022-04-25T05:08:49.072Z] 5d3b04190fa2: Waiting [2022-04-25T05:08:49.072Z] 2f39f015ded8: Waiting [2022-04-25T05:08:49.072Z] 3a2ae6a8a46f: Waiting [2022-04-25T05:08:49.072Z] 33b1e0a273af: Waiting [2022-04-25T05:08:49.072Z] 5c69ac0246d0: Verifying Checksum [2022-04-25T05:08:49.072Z] 5c69ac0246d0: Download complete [2022-04-25T05:08:49.072Z] 3a2ae6a8a46f: Download complete [2022-04-25T05:08:49.072Z] 33b1e0a273af: Verifying Checksum [2022-04-25T05:08:49.072Z] 33b1e0a273af: Download complete [2022-04-25T05:08:49.072Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T05:08:49.072Z] 5d3b04190fa2: Download complete [2022-04-25T05:08:49.072Z] ec43610c2a17: Verifying Checksum [2022-04-25T05:08:49.072Z] ec43610c2a17: Download complete [2022-04-25T05:08:49.331Z] 5eb5b503b376: Download complete [2022-04-25T05:08:49.900Z] 2f39f015ded8: Download complete [2022-04-25T05:08:50.471Z] 5eb5b503b376: Pull complete [2022-04-25T05:08:50.730Z] 5c69ac0246d0: Pull complete [2022-04-25T05:08:51.299Z] ec43610c2a17: Pull complete [2022-04-25T05:08:51.299Z] 3a2ae6a8a46f: Pull complete [2022-04-25T05:08:51.559Z] 33b1e0a273af: Pull complete [2022-04-25T05:08:51.559Z] 5d3b04190fa2: Pull complete [2022-04-25T05:08:55.750Z] 2f39f015ded8: Pull complete [2022-04-25T05:08:55.750Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T05:08:55.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:08:55.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T05:08:55.849Z] prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container [2022-04-25T05:08:55.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T05:08:58.163Z] $ docker top 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:08:58.612Z] ---> job-cost.sh [2022-04-25T05:08:58.612Z] lf-activate-venv: SKIPPING [2022-04-25T05:08:58.612Z] INFO: No Stack... [2022-04-25T05:08:58.873Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T05:08:59.445Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T05:08:59.770Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/cost.csv [2022-04-25T05:08:59.770Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T05:08:59.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [2022-04-25T05:08:59.818Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] did not exist. Created. [2022-04-25T05:08:59.819Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T05:09:00.213Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T05:09:00.275Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T05:09:00.310Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T05:09:00.392Z] $ docker stop --time=1 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 [2022-04-25T05:09:01.569Z] $ docker rm -f 0349ef8a39a82c23a789c7678641bae31dda027575f6ea65ab60940f9e198bb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T05:09:01.953Z] Failed in branch amd64 [2022-04-25T05:11:16.929Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21950 in /w/workspace/gexfoundry_device-snmp-go_PR-159 [Pipeline] { [Pipeline] ws [2022-04-25T05:11:16.972Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-25T05:11:17.308Z] Selected Git installation does not exist. Using Default [2022-04-25T05:11:17.308Z] The recommended git tool is: NONE [2022-04-25T05:11:25.006Z] using credential edgex-jenkins-ssh [2022-04-25T05:11:25.023Z] Cloning the remote Git repository [2022-04-25T05:11:25.091Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T05:11:25.176Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-25T05:11:25.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T05:11:25.270Z] > git --version # timeout=10 [2022-04-25T05:11:25.290Z] > git --version # 'git version 2.25.1' [2022-04-25T05:11:25.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:11:25.419Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T05:11:27.045Z] Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [2022-04-25T05:11:27.262Z] Merge succeeded, producing 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 [2022-04-25T05:11:27.262Z] Checking out Revision 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 (PR-159) [2022-04-25T05:11:26.422Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-25T05:11:26.456Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T05:11:26.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-25T05:11:26.523Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-25T05:11:26.524Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:11:26.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/159/head:refs/remotes/origin/PR-159 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T05:11:27.071Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T05:11:27.087Z] > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 [2022-04-25T05:11:27.179Z] > git remote # timeout=10 [2022-04-25T05:11:27.199Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T05:11:27.213Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T05:11:27.225Z] > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 [2022-04-25T05:11:27.250Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T05:11:27.274Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T05:11:27.289Z] > git checkout -f 34a9330798a0bff2d39e323fa4d613cf9f7ad5e0 # timeout=10 [2022-04-25T05:11:31.543Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-25T05:11:31.608Z] > git --version # timeout=10 [2022-04-25T05:11:31.620Z] > git --version # 'git version 2.25.1' [2022-04-25T05:11:31.631Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T05:11:32.702Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T05:11:32.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T05:11:32.702Z] Dload Upload Total Spent Left Speed [2022-04-25T05:11:32.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-04-25T05:11:33.263Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T05:11:33.628Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-25T05:11:33.629Z] + sudo tee /etc/docker/daemon.new [2022-04-25T05:11:33.629Z] { [2022-04-25T05:11:33.629Z] "registry-mirrors": [ [2022-04-25T05:11:33.629Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T05:11:33.629Z] ], [2022-04-25T05:11:33.629Z] "bip": "10.250.0.254/24", [2022-04-25T05:11:33.629Z] "hosts": [ [2022-04-25T05:11:33.629Z] "tcp://0.0.0.0:5555", [2022-04-25T05:11:33.629Z] "unix:///var/run/docker.sock" [2022-04-25T05:11:33.629Z] ], [2022-04-25T05:11:33.629Z] "mtu": 1458, [2022-04-25T05:11:33.629Z] "selinux-enabled": true, [2022-04-25T05:11:33.629Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T05:11:33.629Z] } [Pipeline] sh [2022-04-25T05:11:34.093Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T05:11:34.534Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:11:52.957Z] provisioning config files... [2022-04-25T05:11:52.991Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7295414196388628198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:11:53.617Z] ---> docker-login.sh [2022-04-25T05:11:53.617Z] nexus3.edgexfoundry.org:10001 [2022-04-25T05:11:54.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:11:54.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:11:54.501Z] Configure a credential helper to remove this warning. See [2022-04-25T05:11:54.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:11:54.501Z] [2022-04-25T05:11:54.776Z] Login Succeeded [2022-04-25T05:11:54.776Z] nexus3.edgexfoundry.org:10002 [2022-04-25T05:11:55.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:11:55.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:11:55.056Z] Configure a credential helper to remove this warning. See [2022-04-25T05:11:55.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:11:55.056Z] [2022-04-25T05:11:55.056Z] Login Succeeded [2022-04-25T05:11:55.056Z] nexus3.edgexfoundry.org:10003 [2022-04-25T05:11:55.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:11:55.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:11:55.666Z] Configure a credential helper to remove this warning. See [2022-04-25T05:11:55.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:11:55.666Z] [2022-04-25T05:11:55.666Z] Login Succeeded [2022-04-25T05:11:55.666Z] nexus3.edgexfoundry.org:10004 [2022-04-25T05:11:55.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:11:56.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:11:56.220Z] Configure a credential helper to remove this warning. See [2022-04-25T05:11:56.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:11:56.220Z] [2022-04-25T05:11:56.220Z] Login Succeeded [2022-04-25T05:11:56.220Z] docker.io [2022-04-25T05:11:56.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T05:11:57.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T05:11:57.095Z] Configure a credential helper to remove this warning. See [2022-04-25T05:11:57.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T05:11:57.095Z] [2022-04-25T05:11:57.095Z] Login Succeeded [2022-04-25T05:11:57.095Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T05:11:57.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T05:11:57.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T05:11:57.593Z] ========================================================= [2022-04-25T05:11:57.593Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T05:11:57.593Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:11:58.065Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T05:11:58.344Z] Sending build context to Docker daemon 2.734MB [2022-04-25T05:11:58.344Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T05:11:58.344Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T05:11:58.620Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T05:11:58.620Z] 9b3977197b4f: Pulling fs layer [2022-04-25T05:11:58.620Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T05:11:58.620Z] 94645a83ff95: Pulling fs layer [2022-04-25T05:11:58.620Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T05:11:58.620Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T05:11:58.620Z] 3096ccb668a1: Pulling fs layer [2022-04-25T05:11:58.620Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T05:11:58.620Z] a4caa8a26152: Pulling fs layer [2022-04-25T05:11:58.620Z] 3f3a8bcf1eab: Waiting [2022-04-25T05:11:58.620Z] 3096ccb668a1: Waiting [2022-04-25T05:11:58.620Z] e8cf19c19ddd: Waiting [2022-04-25T05:11:58.620Z] 0c92f367c5e7: Waiting [2022-04-25T05:11:58.620Z] a4caa8a26152: Waiting [2022-04-25T05:11:58.621Z] 94645a83ff95: Verifying Checksum [2022-04-25T05:11:58.621Z] 94645a83ff95: Download complete [2022-04-25T05:11:58.621Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T05:11:58.621Z] 1a89e8eeedd5: Download complete [2022-04-25T05:11:58.621Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T05:11:58.621Z] 0c92f367c5e7: Download complete [2022-04-25T05:11:58.621Z] 3096ccb668a1: Verifying Checksum [2022-04-25T05:11:58.621Z] 3096ccb668a1: Download complete [2022-04-25T05:11:58.621Z] 9b3977197b4f: Verifying Checksum [2022-04-25T05:11:58.621Z] 9b3977197b4f: Download complete [2022-04-25T05:11:58.905Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T05:11:58.905Z] e8cf19c19ddd: Download complete [2022-04-25T05:11:59.509Z] 9b3977197b4f: Pull complete [2022-04-25T05:12:00.116Z] 1a89e8eeedd5: Pull complete [2022-04-25T05:12:00.717Z] 94645a83ff95: Pull complete [2022-04-25T05:12:00.993Z] a4caa8a26152: Verifying Checksum [2022-04-25T05:12:00.993Z] a4caa8a26152: Download complete [2022-04-25T05:12:01.605Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T05:12:01.605Z] 3f3a8bcf1eab: Download complete [2022-04-25T05:12:14.028Z] 3f3a8bcf1eab: Pull complete [2022-04-25T05:12:14.305Z] 0c92f367c5e7: Pull complete [2022-04-25T05:12:14.580Z] 3096ccb668a1: Pull complete [2022-04-25T05:12:14.854Z] e8cf19c19ddd: Pull complete [2022-04-25T05:12:21.605Z] a4caa8a26152: Pull complete [2022-04-25T05:12:21.605Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T05:12:21.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T05:12:21.605Z] ---> 725f1c02e7f9 [2022-04-25T05:12:21.605Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T05:12:22.593Z] ---> Running in efe9e27a884f [2022-04-25T05:12:22.870Z] Removing intermediate container efe9e27a884f [2022-04-25T05:12:22.870Z] ---> 7146d81d605a [2022-04-25T05:12:22.870Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T05:12:22.870Z] ---> Running in e93f2d17054d [2022-04-25T05:12:23.145Z] Removing intermediate container e93f2d17054d [2022-04-25T05:12:23.145Z] ---> fc5c49357b9b [2022-04-25T05:12:23.145Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T05:12:23.418Z] ---> Running in 5866583b78e5 [2022-04-25T05:12:23.693Z] Removing intermediate container 5866583b78e5 [2022-04-25T05:12:23.693Z] ---> e7794105c6a1 [2022-04-25T05:12:23.693Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T05:12:23.693Z] ---> Running in 03bc70249a87 [2022-04-25T05:12:25.681Z] Removing intermediate container 03bc70249a87 [2022-04-25T05:12:25.681Z] ---> 30621fcc2e6f [2022-04-25T05:12:25.681Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T05:12:25.681Z] ---> Running in c79eefd79bcc [2022-04-25T05:12:27.688Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T05:12:28.679Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T05:12:29.663Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T05:12:29.663Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T05:12:29.663Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T05:12:29.941Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T05:12:29.941Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T05:12:29.941Z] OK: 224 MiB in 56 packages [2022-04-25T05:12:30.933Z] Removing intermediate container c79eefd79bcc [2022-04-25T05:12:30.933Z] ---> 99f912d36b0b [2022-04-25T05:12:30.933Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-25T05:12:31.217Z] ---> Running in 44e838b7fcdb [2022-04-25T05:12:31.493Z] Removing intermediate container 44e838b7fcdb [2022-04-25T05:12:31.493Z] ---> 34f5a9e5894f [2022-04-25T05:12:31.494Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T05:12:32.103Z] ---> 05030a605de8 [2022-04-25T05:12:32.103Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T05:12:32.103Z] ---> Running in 052eb9bb3fe4 [2022-04-25T05:13:19.120Z] Removing intermediate container 052eb9bb3fe4 [2022-04-25T05:13:19.120Z] ---> f9483f44f475 [2022-04-25T05:13:19.120Z] Step 11/12 : COPY . . [2022-04-25T05:13:20.107Z] ---> e8add2e282f4 [2022-04-25T05:13:20.107Z] Step 12/12 : RUN ${MAKE} [2022-04-25T05:13:20.107Z] ---> Running in 42cac8641314 [2022-04-25T05:13:21.090Z] noop [2022-04-25T05:13:21.689Z] Removing intermediate container 42cac8641314 [2022-04-25T05:13:21.689Z] ---> acd44a30a245 [2022-04-25T05:13:21.966Z] Successfully built acd44a30a245 [2022-04-25T05:13:21.966Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:13:22.351Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T05:13:22.351Z] . [Pipeline] withDockerContainer [2022-04-25T05:13:22.643Z] prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container [2022-04-25T05:13:22.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T05:13:24.190Z] $ docker top 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:13:25.199Z] + go version [2022-04-25T05:13:25.199Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T05:13:25.240Z] $ docker stop --time=1 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 [2022-04-25T05:13:26.930Z] $ docker rm -f 2bb180a33f4afcc292bc5a9e3c25373732aaadcf14061ea2206b4e6727215c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:13:27.831Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T05:13:27.831Z] . [Pipeline] withDockerContainer [2022-04-25T05:13:28.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container [2022-04-25T05:13:28.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T05:13:29.602Z] $ docker top fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T05:13:30.635Z] + make test [2022-04-25T05:13:30.635Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-25T05:13:32.643Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-25T05:15:09.538Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-25T05:15:09.538Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements [2022-04-25T05:15:09.538Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T05:15:09.538Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T05:15:24.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T05:15:24.677Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T05:15:24.677Z] ./bin/test-attribution-txt.sh [2022-04-25T05:15:28.062Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-25T05:15:28.062Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-25T05:15:28.112Z] $ docker stop --time=1 fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f [2022-04-25T05:15:29.894Z] $ docker rm -f fa9b1bfec9d2e9aae38e4a7c6c8629db1533f7d1d2d645a69b7ec1e482b71d5f [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 [2022-04-25T05:15:31.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:15:31.413Z] [2022-04-25T05:15:31.413Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:15:31.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:15:32.073Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T05:15:32.073Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T05:15:32.073Z] 04944245beec: Pulling fs layer [2022-04-25T05:15:32.073Z] 699f458cf7ca: Pulling fs layer [2022-04-25T05:15:32.073Z] 765212b225bb: Pulling fs layer [2022-04-25T05:15:32.073Z] f23df028b6ca: Pulling fs layer [2022-04-25T05:15:32.073Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T05:15:32.073Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T05:15:32.073Z] f23df028b6ca: Waiting [2022-04-25T05:15:32.073Z] d65c8cfc05b1: Waiting [2022-04-25T05:15:32.073Z] 2437ff75d9bd: Waiting [2022-04-25T05:15:32.073Z] 765212b225bb: Waiting [2022-04-25T05:15:32.073Z] 04944245beec: Download complete [2022-04-25T05:15:32.073Z] 765212b225bb: Verifying Checksum [2022-04-25T05:15:32.073Z] 765212b225bb: Download complete [2022-04-25T05:15:32.073Z] f23df028b6ca: Verifying Checksum [2022-04-25T05:15:32.073Z] f23df028b6ca: Download complete [2022-04-25T05:15:32.073Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T05:15:32.073Z] d65c8cfc05b1: Download complete [2022-04-25T05:15:32.352Z] 699f458cf7ca: Verifying Checksum [2022-04-25T05:15:32.352Z] 699f458cf7ca: Download complete [2022-04-25T05:15:32.624Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T05:15:32.624Z] 8998bd30e6a1: Download complete [2022-04-25T05:15:35.252Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T05:15:35.252Z] 2437ff75d9bd: Download complete [2022-04-25T05:15:37.230Z] 8998bd30e6a1: Pull complete [2022-04-25T05:15:37.506Z] 04944245beec: Pull complete [2022-04-25T05:15:38.946Z] 699f458cf7ca: Pull complete [2022-04-25T05:15:39.220Z] 765212b225bb: Pull complete [2022-04-25T05:15:40.201Z] f23df028b6ca: Pull complete [2022-04-25T05:15:40.201Z] d65c8cfc05b1: Pull complete [2022-04-25T05:15:55.476Z] 2437ff75d9bd: Pull complete [2022-04-25T05:15:55.476Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T05:15:55.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T05:15:55.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T05:15:55.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-21950 does not seem to be running inside a container [2022-04-25T05:15:55.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T05:15:58.531Z] $ docker top eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:15:59.527Z] ---> job-cost.sh [2022-04-25T05:15:59.527Z] lf-activate-venv: SKIPPING [2022-04-25T05:15:59.527Z] INFO: No Stack... [2022-04-25T05:16:00.127Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T05:16:00.728Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T05:16:01.423Z] + cut -d, -f6 [2022-04-25T05:16:01.423Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2022-04-25T05:16:01.478Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [2022-04-25T05:16:01.483Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] did not exist. Created. [2022-04-25T05:16:01.483Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T05:16:02.239Z] /w/workspace/device-snmp-go/1@tmp/durable-5c41e87c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T05:16:02.940Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T05:16:02.976Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T05:16:03.451Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T05:16:03.466Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-159-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T05:16:03.551Z] $ docker stop --time=1 eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 [2022-04-25T05:16:05.063Z] $ docker rm -f eb363c4ed95a3851fdde1cb6e7a2096469a86b93837d033b26379d09e78cd646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T05:16:05.785Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-25T05:16:07.751Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-159/archives ] [2022-04-25T05:16:07.751Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-159/archives [2022-04-25T05:16:07.751Z] total 16 [2022-04-25T05:16:07.751Z] drwxr-xr-x 3 root root 4096 Apr 25 05:08 . [2022-04-25T05:16:07.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. [2022-04-25T05:16:07.751Z] drwxr-xr-x 2 root root 4096 Apr 25 05:08 cost [2022-04-25T05:16:07.751Z] -rw-r--r-- 1 root root 85 Apr 25 05:08 cost.csv [2022-04-25T05:16:07.751Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-159/archives [2022-04-25T05:16:07.751Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-159/archives [2022-04-25T05:16:07.751Z] total 16 [2022-04-25T05:16:07.751Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 05:08 . [2022-04-25T05:16:07.751Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 05:09 .. [2022-04-25T05:16:07.751Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 05:08 cost [2022-04-25T05:16:07.751Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 05:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:08.087Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:08.993Z] ---> package-listing.sh [2022-04-25T05:16:08.994Z] ++ facter osfamily [2022-04-25T05:16:08.994Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T05:16:09.258Z] + OS_FAMILY=debian [2022-04-25T05:16:09.258Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-159 [2022-04-25T05:16:09.258Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T05:16:09.258Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T05:16:09.258Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T05:16:09.258Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T05:16:09.258Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-159 ']' [2022-04-25T05:16:09.258Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T05:16:09.258Z] + case "${OS_FAMILY}" in [2022-04-25T05:16:09.258Z] + dpkg -l [2022-04-25T05:16:09.258Z] + grep '^ii' [2022-04-25T05:16:09.258Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T05:16:09.258Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T05:16:09.258Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T05:16:09.258Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-159 ']' [2022-04-25T05:16:09.258Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/ [2022-04-25T05:16:09.258Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-159/archives/ [Pipeline] echo [2022-04-25T05:16:09.302Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-159/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T05:16:09.654Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T05:16:10.003Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T05:16:10.003Z] . [Pipeline] withDockerContainer [2022-04-25T05:16:10.091Z] prd-ubuntu20.04-docker-8c-8g-21944 does not seem to be running inside a container [2022-04-25T05:16:10.134Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-159/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-159 -v /w/workspace/gexfoundry_device-snmp-go_PR-159:/w/workspace/gexfoundry_device-snmp-go_PR-159:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T05:16:10.381Z] $ docker top 23fea228cdf34df4b26e8fd96a3daebdd38e433c4e5c73fa9ac0a2476ce295db -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T05:16:10.792Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T05:16:11.108Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T05:16:11.439Z] + ls /var/log/sa-host [2022-04-25T05:16:11.439Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T05:16:11.590Z] provisioning config files... [2022-04-25T05:16:11.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-159@tmp/config9223242547484471154tmp [Pipeline] { [Pipeline] echo [2022-04-25T05:16:11.646Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:11.963Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T05:16:11.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:12.396Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T05:16:12.427Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:12.743Z] ---> sudo-logs.sh [2022-04-25T05:16:12.743Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T05:16:12.837Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:13.150Z] ---> job-cost.sh [2022-04-25T05:16:13.150Z] lf-activate-venv: SKIPPING [2022-04-25T05:16:13.150Z] DEBUG: total: 0.2199999988079071 [2022-04-25T05:16:13.150Z] INFO: Retrieving Stack Cost... [2022-04-25T05:16:13.722Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T05:16:13.984Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T05:16:14.026Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T05:16:14.343Z] ---> logs-deploy.sh [2022-04-25T05:16:14.343Z] lf-activate-venv: SKIPPING [2022-04-25T05:16:14.343Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-159/1 [2022-04-25T05:16:14.343Z] INFO: archiving workspace using pattern(s): [2022-04-25T05:16:15.284Z] Archives upload complete. [2022-04-25T05:16:15.284Z] INFO: archiving logs to Nexus