Pull request #163 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 rather than d275d083175b600d40c2c13744dc8abee3a0b075 Obtained Jenkinsfile from 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 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-ssh16769913556874657204.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-ssh15586429450532071444.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-163/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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10624099086569536391.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-163/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6070156756630897263.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-ssh12992617441568984797.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-163/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-163/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5079665183230600918.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 Running on prd-ubuntu20.04-docker-8c-8g-33461 in /w/workspace/gexfoundry_device-snmp-go_PR-163 [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-163 # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit d275d083175b600d40c2c13744dc8abee3a0b075 Merge succeeded, producing d275d083175b600d40c2c13744dc8abee3a0b075 Checking out Revision d275d083175b600d40c2c13744dc8abee3a0b075 (PR-163) > 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/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # 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 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 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-27T10:18:34.321Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T10:18:34.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T10:18:34.603Z] ========================================================= [2022-04-27T10:18:34.603Z] EdgeX Global Pipelines Version Info [2022-04-27T10:18:34.603Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:18:35.406Z] ------------------- [2022-04-27T10:18:35.406Z] stable info: [2022-04-27T10:18:35.406Z] ------------------- [2022-04-27T10:18:35.406Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T10:18:35.406Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T10:18:35.406Z] Message: update stable to v1.0.221 [2022-04-27T10:18:35.982Z] ------------------- [2022-04-27T10:18:35.982Z] experimental info: [2022-04-27T10:18:35.982Z] ------------------- [2022-04-27T10:18:35.982Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T10:18:35.982Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T10:18:35.982Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T10:18:36.256Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-04-27T10:18:36.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-04-27T10:18:36.340Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T10:18:36.384Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T10:18:36.428Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T10:18:36.469Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T10:18:36.508Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T10:18:36.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T10:18:36.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T10:18:36.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T10:18:36.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T10:18:36.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-04-27T10:18:36.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T10:18:36.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T10:18:36.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T10:18:37.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T10:18:37.068Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T10:18:37.112Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T10:18:37.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T10:18:37.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T10:18:37.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T10:18:37.282Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T10:18:37.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T10:18:37.361Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T10:18:37.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T10:18:37.450Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T10:18:37.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-163 [Pipeline] echo [2022-04-27T10:18:37.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-163 [Pipeline] echo [2022-04-27T10:18:37.578Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-163 [Pipeline] echo [2022-04-27T10:18:37.625Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo [2022-04-27T10:18:37.671Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d275d08 [Pipeline] echo [2022-04-27T10:18:37.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T10:18:37.962Z] provisioning config files... [2022-04-27T10:18:37.977Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6874593954867085560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:18:38.312Z] ---> docker-login.sh [2022-04-27T10:18:38.312Z] nexus3.edgexfoundry.org:10001 [2022-04-27T10:18:38.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:38.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:38.574Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:38.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:38.574Z] [2022-04-27T10:18:38.574Z] Login Succeeded [2022-04-27T10:18:38.574Z] nexus3.edgexfoundry.org:10002 [2022-04-27T10:18:38.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:38.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:38.835Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:38.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:38.835Z] [2022-04-27T10:18:38.835Z] Login Succeeded [2022-04-27T10:18:38.835Z] nexus3.edgexfoundry.org:10003 [2022-04-27T10:18:38.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:38.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:38.835Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:38.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:38.835Z] [2022-04-27T10:18:38.835Z] Login Succeeded [2022-04-27T10:18:38.835Z] nexus3.edgexfoundry.org:10004 [2022-04-27T10:18:39.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:39.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:39.097Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:39.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:39.097Z] [2022-04-27T10:18:39.097Z] Login Succeeded [2022-04-27T10:18:39.097Z] docker.io [2022-04-27T10:18:39.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:39.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:39.676Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:39.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:39.676Z] [2022-04-27T10:18:39.676Z] Login Succeeded [2022-04-27T10:18:39.676Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T10:18:39.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T10:18:40.387Z] + git rev-list -1 --merges d275d083175b600d40c2c13744dc8abee3a0b075~1..d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo [2022-04-27T10:18:40.440Z] -----------> git rev-list -1 --merges d275d083175b600d40c2c13744dc8abee3a0b075~1..d275d083175b600d40c2c13744dc8abee3a0b075 d275d083175b600d40c2c13744dc8abee3a0b075 [false] [Pipeline] sh [2022-04-27T10:18:40.763Z] + git log --format=format:%s -1 d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo [2022-04-27T10:18:40.800Z] ========================================================= [2022-04-27T10:18:40.800Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T10:18:40.800Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T10:18:41.314Z] + git log --format=format:%s -1 d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] echo [2022-04-27T10:18:41.380Z] [semverPrep] GIT_COMMIT: d275d083175b600d40c2c13744dc8abee3a0b075, Commit Message: feat: Bump device-sdk-go version and update configuration.toml [Pipeline] echo [2022-04-27T10:18:41.414Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T10:18:41.876Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T10:18:41.876Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T10:18:41.876Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T10:18:41.876Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T10:18:41.876Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T10:18:41.876Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T10:18:41.876Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:18:42.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T10:18:42.347Z] [2022-04-27T10:18:42.347Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:18:42.688Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T10:18:42.688Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T10:18:42.688Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T10:18:42.688Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T10:18:42.688Z] 4c7163046ea9: Pulling fs layer [2022-04-27T10:18:42.688Z] 0c2d73faf560: Pulling fs layer [2022-04-27T10:18:42.688Z] 0c2d73faf560: Waiting [2022-04-27T10:18:42.688Z] 3e5f54012d9b: Verifying Checksum [2022-04-27T10:18:42.688Z] 3e5f54012d9b: Download complete [2022-04-27T10:18:42.688Z] a0d0a0d46f8b: Download complete [2022-04-27T10:18:42.688Z] 0c2d73faf560: Verifying Checksum [2022-04-27T10:18:42.688Z] 0c2d73faf560: Download complete [2022-04-27T10:18:42.688Z] 4c7163046ea9: Verifying Checksum [2022-04-27T10:18:42.688Z] 4c7163046ea9: Download complete [2022-04-27T10:18:42.950Z] a0d0a0d46f8b: Pull complete [2022-04-27T10:18:42.950Z] 3e5f54012d9b: Pull complete [2022-04-27T10:18:43.211Z] 4c7163046ea9: Pull complete [2022-04-27T10:18:43.472Z] 0c2d73faf560: Pull complete [2022-04-27T10:18:43.472Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T10:18:43.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T10:18:43.472Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T10:18:43.577Z] prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container [2022-04-27T10:18:43.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T10:18:44.254Z] $ docker top cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T10:18:44.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T10:18:44.442Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T10:18:44.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T10:18:44.593Z] $ docker exec cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent [2022-04-27T10:18:44.720Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhAPJOK/agent.14 [2022-04-27T10:18:44.720Z] SSH_AGENT_PID=20 [2022-04-27T10:18:44.728Z] Running ssh-add (command line suppressed) [2022-04-27T10:18:44.852Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_2927262257904503309.key (/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_2927262257904503309.key) [2022-04-27T10:18:44.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T10:18:45.203Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T10:18:45.234Z] $ docker exec --env ******** --env ******** cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent -k [2022-04-27T10:18:45.343Z] unset SSH_AUTH_SOCK; [2022-04-27T10:18:45.345Z] unset SSH_AGENT_PID; [2022-04-27T10:18:45.346Z] echo Agent pid 20 killed; [2022-04-27T10:18:45.354Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T10:18:45.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T10:18:45.442Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T10:18:45.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T10:18:45.586Z] $ docker exec cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent [2022-04-27T10:18:45.708Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMabDoc/agent.53 [2022-04-27T10:18:45.708Z] SSH_AGENT_PID=60 [2022-04-27T10:18:45.715Z] Running ssh-add (command line suppressed) [2022-04-27T10:18:45.837Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_1319683735675237938.key (/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/private_key_1319683735675237938.key) [2022-04-27T10:18:45.847Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T10:18:46.183Z] + git semver init [2022-04-27T10:18:46.184Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T10:18:46.184Z] # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-163/.git [2022-04-27T10:18:46.184Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-163 [2022-04-27T10:18:46.184Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T10:18:46.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T10:18:46.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T10:18:46.184Z] # $SEMVER_BRANCH = PR-163 [2022-04-27T10:18:46.184Z] # $SEMVER_TEMP = /tmp/semver-573184987 [2022-04-27T10:18:46.184Z] # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP [2022-04-27T10:18:47.129Z] # '/tmp/semver-573184987' -> '/w/workspace/gexfoundry_device-snmp-go_PR-163/.semver' [2022-04-27T10:18:47.129Z] # -> Force: false [2022-04-27T10:18:47.129Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-163/.semver [Pipeline] } [2022-04-27T10:18:47.160Z] $ docker exec --env ******** --env ******** cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 ssh-agent -k [2022-04-27T10:18:47.268Z] unset SSH_AUTH_SOCK; [2022-04-27T10:18:47.268Z] unset SSH_AGENT_PID; [2022-04-27T10:18:47.268Z] echo Agent pid 60 killed; [2022-04-27T10:18:47.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T10:18:47.699Z] + git semver [Pipeline] } [2022-04-27T10:18:47.790Z] $ docker stop --time=1 cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 [2022-04-27T10:18:49.142Z] $ docker rm -f cb7afb0b369a574b5e5547d5a12a71692d49f1b83c700a4aa289d53173b6d390 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T10:18:49.566Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T10:18:49.872Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T10:18:49.890Z] [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-27T10:18:50.504Z] provisioning config files... [2022-04-27T10:18:50.516Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6656238196436818955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:18:50.867Z] ---> docker-login.sh [2022-04-27T10:18:50.867Z] nexus3.edgexfoundry.org:10001 [2022-04-27T10:18:50.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:50.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:50.867Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:50.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:50.867Z] [2022-04-27T10:18:50.867Z] Login Succeeded [2022-04-27T10:18:50.867Z] nexus3.edgexfoundry.org:10002 [2022-04-27T10:18:50.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:51.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:51.128Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:51.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:51.128Z] [2022-04-27T10:18:51.128Z] Login Succeeded [2022-04-27T10:18:51.128Z] nexus3.edgexfoundry.org:10003 [2022-04-27T10:18:51.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:51.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:51.128Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:51.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:51.128Z] [2022-04-27T10:18:51.128Z] Login Succeeded [2022-04-27T10:18:51.128Z] nexus3.edgexfoundry.org:10004 [2022-04-27T10:18:51.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:51.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:51.389Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:51.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:51.389Z] [2022-04-27T10:18:51.389Z] Login Succeeded [2022-04-27T10:18:51.389Z] docker.io [2022-04-27T10:18:51.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:18:51.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:18:51.650Z] Configure a credential helper to remove this warning. See [2022-04-27T10:18:51.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:18:51.650Z] [2022-04-27T10:18:51.650Z] Login Succeeded [2022-04-27T10:18:51.650Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T10:18:51.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T10:18:51.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T10:18:51.977Z] ========================================================= [2022-04-27T10:18:51.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T10:18:51.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:18:52.386Z] + 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-27T10:18:52.386Z] Sending build context to Docker daemon 5.313MB [2022-04-27T10:18:52.386Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:18:52.386Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T10:18:52.386Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T10:18:52.386Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T10:18:52.386Z] 666ba61612fd: Pulling fs layer [2022-04-27T10:18:52.386Z] 8ed8ca486205: Pulling fs layer [2022-04-27T10:18:52.386Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T10:18:52.386Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T10:18:52.386Z] ca2b28591e48: Pulling fs layer [2022-04-27T10:18:52.386Z] a51346096db8: Pulling fs layer [2022-04-27T10:18:52.386Z] daebc70d1ce1: Pulling fs layer [2022-04-27T10:18:52.386Z] 0e18a0eac166: Pulling fs layer [2022-04-27T10:18:52.386Z] 4fe6c5a15a65: Waiting [2022-04-27T10:18:52.386Z] daebc70d1ce1: Waiting [2022-04-27T10:18:52.386Z] 22a0e8bec74d: Waiting [2022-04-27T10:18:52.386Z] ca2b28591e48: Waiting [2022-04-27T10:18:52.386Z] a51346096db8: Waiting [2022-04-27T10:18:52.386Z] 8ed8ca486205: Download complete [2022-04-27T10:18:52.386Z] 666ba61612fd: Verifying Checksum [2022-04-27T10:18:52.386Z] 666ba61612fd: Download complete [2022-04-27T10:18:52.646Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T10:18:52.646Z] 22a0e8bec74d: Download complete [2022-04-27T10:18:52.646Z] ca2b28591e48: Download complete [2022-04-27T10:18:52.646Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T10:18:52.646Z] 59bf1c3509f3: Download complete [2022-04-27T10:18:52.646Z] a51346096db8: Verifying Checksum [2022-04-27T10:18:52.646Z] a51346096db8: Download complete [2022-04-27T10:18:52.646Z] daebc70d1ce1: Verifying Checksum [2022-04-27T10:18:52.646Z] daebc70d1ce1: Download complete [2022-04-27T10:18:52.646Z] 59bf1c3509f3: Pull complete [2022-04-27T10:18:52.906Z] 666ba61612fd: Pull complete [2022-04-27T10:18:52.906Z] 8ed8ca486205: Pull complete [2022-04-27T10:18:53.167Z] 0e18a0eac166: Verifying Checksum [2022-04-27T10:18:53.167Z] 0e18a0eac166: Download complete [2022-04-27T10:18:53.428Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T10:18:53.428Z] 4fe6c5a15a65: Download complete [2022-04-27T10:18:57.633Z] 4fe6c5a15a65: Pull complete [2022-04-27T10:18:57.633Z] 22a0e8bec74d: Pull complete [2022-04-27T10:18:57.633Z] ca2b28591e48: Pull complete [2022-04-27T10:18:57.633Z] a51346096db8: Pull complete [2022-04-27T10:18:57.633Z] daebc70d1ce1: Pull complete [2022-04-27T10:19:00.183Z] 0e18a0eac166: Pull complete [2022-04-27T10:19:00.183Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T10:19:00.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T10:19:00.183Z] ---> f018257e8ee9 [2022-04-27T10:19:00.183Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T10:19:02.107Z] ---> Running in e0ebba829b92 [2022-04-27T10:19:02.107Z] Removing intermediate container e0ebba829b92 [2022-04-27T10:19:02.107Z] ---> d72dc30087b6 [2022-04-27T10:19:02.107Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T10:19:02.107Z] ---> Running in 05a888bf3c5e [2022-04-27T10:19:02.107Z] Removing intermediate container 05a888bf3c5e [2022-04-27T10:19:02.107Z] ---> 9f62d439de73 [2022-04-27T10:19:02.107Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T10:19:02.107Z] ---> Running in c33db1a58e71 [2022-04-27T10:19:02.107Z] Removing intermediate container c33db1a58e71 [2022-04-27T10:19:02.107Z] ---> 0194bb143e5f [2022-04-27T10:19:02.107Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:19:02.107Z] ---> Running in d1a1fb593221 [2022-04-27T10:19:02.678Z] Removing intermediate container d1a1fb593221 [2022-04-27T10:19:02.678Z] ---> 86166c469cc2 [2022-04-27T10:19:02.678Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T10:19:02.678Z] ---> Running in f7721356cd45 [2022-04-27T10:19:03.250Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T10:19:03.823Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T10:19:04.085Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T10:19:04.347Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T10:19:04.347Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T10:19:04.615Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T10:19:04.615Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T10:19:04.615Z] OK: 224 MiB in 56 packages [2022-04-27T10:19:04.881Z] Removing intermediate container f7721356cd45 [2022-04-27T10:19:04.881Z] ---> 936722363918 [2022-04-27T10:19:04.881Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-27T10:19:05.143Z] ---> Running in b60eed540eae [2022-04-27T10:19:05.143Z] Removing intermediate container b60eed540eae [2022-04-27T10:19:05.143Z] ---> 499051c6b8d8 [2022-04-27T10:19:05.143Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T10:19:05.143Z] ---> f6e026595c12 [2022-04-27T10:19:05.143Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:19:05.315Z] Still waiting to schedule task [2022-04-27T10:19:05.315Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-33462’ is offline [2022-04-27T10:19:05.405Z] ---> Running in 3db4b15b53b7 [2022-04-27T10:19:20.320Z] Removing intermediate container 3db4b15b53b7 [2022-04-27T10:19:20.321Z] ---> aa036764fb28 [2022-04-27T10:19:20.321Z] Step 11/12 : COPY . . [2022-04-27T10:19:20.321Z] ---> b3b060ce0541 [2022-04-27T10:19:20.321Z] Step 12/12 : RUN ${MAKE} [2022-04-27T10:19:20.321Z] ---> Running in 0a6bc50d5c89 [2022-04-27T10:19:20.321Z] noop [2022-04-27T10:19:20.321Z] Removing intermediate container 0a6bc50d5c89 [2022-04-27T10:19:20.321Z] ---> 76c4142c89c4 [2022-04-27T10:19:20.321Z] Successfully built 76c4142c89c4 [2022-04-27T10:19:20.321Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:19:20.655Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T10:19:20.655Z] . [Pipeline] withDockerContainer [2022-04-27T10:19:20.749Z] prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container [2022-04-27T10:19:20.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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 ******** ci-base-image-x86_64 cat [2022-04-27T10:19:21.212Z] $ docker top a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:19:21.621Z] + go version [2022-04-27T10:19:21.621Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T10:19:21.657Z] $ docker stop --time=1 a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d [2022-04-27T10:19:22.977Z] $ docker rm -f a3fe3944277a55315c672f4a976deca814fa51aecfa6248d25a695f0e405de3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:19:23.663Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T10:19:23.664Z] . [Pipeline] withDockerContainer [2022-04-27T10:19:23.763Z] prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container [2022-04-27T10:19:23.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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 ******** ci-base-image-x86_64 cat [2022-04-27T10:19:24.203Z] $ docker top 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T10:19:24.850Z] + make test [2022-04-27T10:19:24.850Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T10:19:25.133Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-27T10:19:35.132Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-27T10:19:35.132Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements [2022-04-27T10:19:41.722Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T10:19:45.927Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T10:19:45.927Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T10:19:45.927Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T10:19:46.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T10:19:46.564Z] $ docker stop --time=1 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 [2022-04-27T10:19:48.334Z] $ docker rm -f 0f3aa879945ad1213a4f041349e8e8381f722c83939986d9f12b08fcff26e8b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T10:19:48.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T10:19:48.899Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-27T10:19:50.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T10:19:50.346Z] + ls -al . [2022-04-27T10:19:50.346Z] total 188 [2022-04-27T10:19:50.346Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 10:19 . [2022-04-27T10:19:50.346Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:18 .. [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 10:18 .dockerignore [2022-04-27T10:19:50.346Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:18 .git [2022-04-27T10:19:50.346Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 .github [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 10:18 .gitignore [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:18 .golangci.yml [2022-04-27T10:19:50.346Z] drwx------ 3 jenkins jenkins 4096 Apr 27 10:18 .semver [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 10:18 Attribution.txt [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 10:18 CHANGELOG.md [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 10:18 Dockerfile [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:18 GOVERNANCE.md [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 10:18 Jenkinsfile [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:18 LICENSE [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 10:18 Makefile [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:18 OWNERS.md [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 10:18 README.md [2022-04-27T10:19:50.346Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:18 VERSION [2022-04-27T10:19:50.346Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:18 bin [2022-04-27T10:19:50.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 cmd [2022-04-27T10:19:50.347Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 10:19 coverage.out [2022-04-27T10:19:50.347Z] -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 10:18 go.mod [2022-04-27T10:19:50.347Z] -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 10:18 go.sum [2022-04-27T10:19:50.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 internal [2022-04-27T10:19:50.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:18 snap [2022-04-27T10:19:50.347Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 10:18 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:19:50.680Z] + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 --label arch=amd64 --label version=0.0.0 . [2022-04-27T10:19:50.681Z] Sending build context to Docker daemon 5.321MB [2022-04-27T10:19:50.681Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:19:50.681Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T10:19:50.681Z] ---> 76c4142c89c4 [2022-04-27T10:19:50.681Z] Step 3/24 : ARG MAKE='make build' [2022-04-27T10:19:50.681Z] ---> Running in 55f3cd63cf0b [2022-04-27T10:19:50.945Z] Removing intermediate container 55f3cd63cf0b [2022-04-27T10:19:50.945Z] ---> 7240a6d8110b [2022-04-27T10:19:50.945Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T10:19:50.945Z] ---> Running in 28be7ebbdbed [2022-04-27T10:19:51.206Z] Removing intermediate container 28be7ebbdbed [2022-04-27T10:19:51.206Z] ---> e475f7d7dddd [2022-04-27T10:19:51.206Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T10:19:51.206Z] ---> Running in a64d7df52442 [2022-04-27T10:19:51.206Z] Removing intermediate container a64d7df52442 [2022-04-27T10:19:51.206Z] ---> 1589a1b98887 [2022-04-27T10:19:51.206Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:19:51.206Z] ---> Running in 28bef8035de2 [2022-04-27T10:19:51.779Z] Removing intermediate container 28bef8035de2 [2022-04-27T10:19:51.779Z] ---> 9a7fa595a584 [2022-04-27T10:19:51.779Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T10:19:51.779Z] ---> Running in 34f9157791b8 [2022-04-27T10:19:52.352Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T10:19:52.928Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T10:19:53.191Z] OK: 224 MiB in 56 packages [2022-04-27T10:19:53.762Z] Removing intermediate container 34f9157791b8 [2022-04-27T10:19:53.762Z] ---> e91f9f277427 [2022-04-27T10:19:53.762Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-27T10:19:53.762Z] ---> Running in 105c98dd5f3d [2022-04-27T10:19:53.762Z] Removing intermediate container 105c98dd5f3d [2022-04-27T10:19:53.762Z] ---> ad153cccbae0 [2022-04-27T10:19:53.762Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-27T10:19:54.022Z] ---> 3c20a9f766a5 [2022-04-27T10:19:54.022Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:19:54.022Z] ---> Running in be6360e2dc48 [2022-04-27T10:19:54.595Z] Removing intermediate container be6360e2dc48 [2022-04-27T10:19:54.595Z] ---> 56ccbfbc1934 [2022-04-27T10:19:54.595Z] Step 11/24 : COPY . . [2022-04-27T10:19:54.856Z] ---> aa0438197cec [2022-04-27T10:19:54.856Z] Step 12/24 : RUN ${MAKE} [2022-04-27T10:19:54.856Z] ---> Running in 882b45c26ad5 [2022-04-27T10:19:55.428Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-27T10:20:17.397Z] Removing intermediate container 882b45c26ad5 [2022-04-27T10:20:17.397Z] ---> 8eba3a2d82ae [2022-04-27T10:20:17.397Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T10:20:17.397Z] 3.14: Pulling from library/alpine [2022-04-27T10:20:17.397Z] 8663204ce13b: Pulling fs layer [2022-04-27T10:20:17.397Z] 8663204ce13b: Verifying Checksum [2022-04-27T10:20:17.397Z] 8663204ce13b: Download complete [2022-04-27T10:20:17.397Z] 8663204ce13b: Pull complete [2022-04-27T10:20:17.397Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T10:20:17.397Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T10:20:17.397Z] ---> e04c818066af [2022-04-27T10:20:17.397Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T10:20:17.397Z] ---> Running in 79bd166d7607 [2022-04-27T10:20:17.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-27T10:20:17.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-27T10:20:17.397Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T10:20:17.397Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T10:20:17.397Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T10:20:17.397Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T10:20:17.397Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T10:20:17.397Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T10:20:17.397Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T10:20:17.397Z] OK: 8 MiB in 20 packages [2022-04-27T10:20:17.397Z] Removing intermediate container 79bd166d7607 [2022-04-27T10:20:17.397Z] ---> 71fee7c6573e [2022-04-27T10:20:17.397Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-27T10:20:17.969Z] ---> 47713ab52155 [2022-04-27T10:20:17.969Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-27T10:20:17.969Z] ---> bdfeab58c517 [2022-04-27T10:20:17.969Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-27T10:20:18.229Z] ---> 4e35d2b1082d [2022-04-27T10:20:18.229Z] Step 18/24 : EXPOSE 59993 [2022-04-27T10:20:18.229Z] ---> Running in 26c6e5e21d75 [2022-04-27T10:20:18.229Z] Removing intermediate container 26c6e5e21d75 [2022-04-27T10:20:18.229Z] ---> 670bcb3e8c8b [2022-04-27T10:20:18.229Z] Step 19/24 : EXPOSE 161 [2022-04-27T10:20:18.229Z] ---> Running in bccaae9ad067 [2022-04-27T10:20:18.490Z] Removing intermediate container bccaae9ad067 [2022-04-27T10:20:18.490Z] ---> 6ee7ee1965c4 [2022-04-27T10:20:18.490Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-27T10:20:18.490Z] ---> Running in c745392e1255 [2022-04-27T10:20:18.490Z] Removing intermediate container c745392e1255 [2022-04-27T10:20:18.490Z] ---> f4e903cd963c [2022-04-27T10:20:18.490Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-27T10:20:18.490Z] ---> Running in 1e7b01245598 [2022-04-27T10:20:18.753Z] Removing intermediate container 1e7b01245598 [2022-04-27T10:20:18.753Z] ---> 63b760ede7e5 [2022-04-27T10:20:18.753Z] Step 22/24 : LABEL arch=amd64 [2022-04-27T10:20:18.753Z] ---> Running in 8abbb768eed7 [2022-04-27T10:20:18.753Z] Removing intermediate container 8abbb768eed7 [2022-04-27T10:20:18.753Z] ---> 2e8559aef1c5 [2022-04-27T10:20:18.753Z] Step 23/24 : LABEL git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 [2022-04-27T10:20:18.753Z] ---> Running in 89cc6a07d7ab [2022-04-27T10:20:19.014Z] Removing intermediate container 89cc6a07d7ab [2022-04-27T10:20:19.014Z] ---> 9d4f57cf4ea8 [2022-04-27T10:20:19.014Z] Step 24/24 : LABEL version=0.0.0 [2022-04-27T10:20:19.014Z] ---> Running in 88c8ab46307f [2022-04-27T10:20:19.014Z] Removing intermediate container 88c8ab46307f [2022-04-27T10:20:19.014Z] ---> ffa2a0bf02a4 [2022-04-27T10:20:19.014Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T10:20:19.014Z] Successfully built ffa2a0bf02a4 [2022-04-27T10:20:19.014Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:20:19.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:20:19.744Z] [2022-04-27T10:20:19.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:20:20.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:20:20.082Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T10:20:20.082Z] 5eb5b503b376: Pulling fs layer [2022-04-27T10:20:20.082Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T10:20:20.082Z] ec43610c2a17: Pulling fs layer [2022-04-27T10:20:20.082Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T10:20:20.082Z] 33b1e0a273af: Pulling fs layer [2022-04-27T10:20:20.082Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T10:20:20.082Z] 2f39f015ded8: Pulling fs layer [2022-04-27T10:20:20.082Z] 3a2ae6a8a46f: Waiting [2022-04-27T10:20:20.082Z] 33b1e0a273af: Waiting [2022-04-27T10:20:20.082Z] 5d3b04190fa2: Waiting [2022-04-27T10:20:20.082Z] 2f39f015ded8: Waiting [2022-04-27T10:20:20.082Z] 5c69ac0246d0: Verifying Checksum [2022-04-27T10:20:20.082Z] 5c69ac0246d0: Download complete [2022-04-27T10:20:20.082Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-27T10:20:20.082Z] 3a2ae6a8a46f: Download complete [2022-04-27T10:20:20.082Z] 33b1e0a273af: Verifying Checksum [2022-04-27T10:20:20.082Z] 33b1e0a273af: Download complete [2022-04-27T10:20:20.082Z] ec43610c2a17: Download complete [2022-04-27T10:20:20.082Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T10:20:20.082Z] 5d3b04190fa2: Download complete [2022-04-27T10:20:20.341Z] 5eb5b503b376: Verifying Checksum [2022-04-27T10:20:20.341Z] 5eb5b503b376: Download complete [2022-04-27T10:20:20.912Z] 2f39f015ded8: Download complete [2022-04-27T10:20:21.485Z] 5eb5b503b376: Pull complete [2022-04-27T10:20:21.744Z] 5c69ac0246d0: Pull complete [2022-04-27T10:20:22.315Z] ec43610c2a17: Pull complete [2022-04-27T10:20:22.315Z] 3a2ae6a8a46f: Pull complete [2022-04-27T10:20:22.576Z] 33b1e0a273af: Pull complete [2022-04-27T10:20:22.576Z] 5d3b04190fa2: Pull complete [2022-04-27T10:20:27.861Z] 2f39f015ded8: Pull complete [2022-04-27T10:20:27.861Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T10:20:27.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:20:27.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T10:20:27.949Z] prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container [2022-04-27T10:20:27.984Z] $ 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-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-27T10:20:29.725Z] $ docker top abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:20:30.309Z] ---> job-cost.sh [2022-04-27T10:20:30.309Z] lf-activate-venv: SKIPPING [2022-04-27T10:20:30.309Z] INFO: No Stack... [2022-04-27T10:20:31.253Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T10:20:31.514Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T10:20:31.835Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/cost.csv [2022-04-27T10:20:31.835Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T10:20:31.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [2022-04-27T10:20:31.879Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] did not exist. Created. [2022-04-27T10:20:31.879Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T10:20:32.273Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T10:20:32.324Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T10:20:32.349Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T10:20:32.434Z] $ docker stop --time=1 abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 [2022-04-27T10:20:33.604Z] $ docker rm -f abe5474feef13e0f91e8963f604415288bbe0aba246292fdd911fc0230252923 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T10:20:38.156Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33463 in /w/workspace/gexfoundry_device-snmp-go_PR-163 [Pipeline] { [Pipeline] ws [2022-04-27T10:20:38.197Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-04-27T10:20:38.547Z] Selected Git installation does not exist. Using Default [2022-04-27T10:20:38.548Z] The recommended git tool is: NONE [2022-04-27T10:20:45.863Z] using credential edgex-jenkins-ssh [2022-04-27T10:20:45.882Z] Cloning the remote Git repository [2022-04-27T10:20:46.007Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-04-27T10:20:46.101Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-04-27T10:20:46.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-27T10:20:46.206Z] > git --version # timeout=10 [2022-04-27T10:20:46.232Z] > git --version # 'git version 2.25.1' [2022-04-27T10:20:46.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:20:46.339Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T10:20:47.448Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-27T10:20:47.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T10:20:47.521Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-04-27T10:20:47.591Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-04-27T10:20:47.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:20:47.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/163/head:refs/remotes/origin/PR-163 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T10:20:48.181Z] Merging remotes/origin/main commit 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 into PR head commit d275d083175b600d40c2c13744dc8abee3a0b075 [2022-04-27T10:20:48.499Z] Merge succeeded, producing d275d083175b600d40c2c13744dc8abee3a0b075 [2022-04-27T10:20:48.500Z] Checking out Revision d275d083175b600d40c2c13744dc8abee3a0b075 (PR-163) [2022-04-27T10:20:48.212Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T10:20:48.260Z] > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 [2022-04-27T10:20:48.361Z] > git remote # timeout=10 [2022-04-27T10:20:48.389Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T10:20:48.426Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T10:20:48.446Z] > git merge 9a3dba1396f359ed2da05b9e2de949f9cb839ab1 # timeout=10 [2022-04-27T10:20:48.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T10:20:48.511Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T10:20:48.528Z] > git checkout -f d275d083175b600d40c2c13744dc8abee3a0b075 # timeout=10 [2022-04-27T10:20:52.692Z] Commit message: "feat: Bump device-sdk-go version and update configuration.toml" [2022-04-27T10:20:52.751Z] > git --version # timeout=10 [2022-04-27T10:20:52.761Z] > git --version # 'git version 2.25.1' [2022-04-27T10:20:52.773Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T10:20:53.897Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T10:20:53.897Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T10:20:53.897Z] Dload Upload Total Spent Left Speed [2022-04-27T10:20:53.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh [2022-04-27T10:20:54.431Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T10:20:54.782Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-04-27T10:20:54.782Z] [2022-04-27T10:20:54.782Z] { [2022-04-27T10:20:54.782Z] "registry-mirrors": [ [2022-04-27T10:20:54.782Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T10:20:54.782Z] ], [2022-04-27T10:20:54.782Z] "bip": "10.250.0.254/24", [2022-04-27T10:20:54.782Z] "hosts": [ [2022-04-27T10:20:54.782Z] "tcp://0.0.0.0:5555", [2022-04-27T10:20:54.782Z] "unix:///var/run/docker.sock" [2022-04-27T10:20:54.782Z] ], [2022-04-27T10:20:54.782Z] "mtu": 1458, [2022-04-27T10:20:54.782Z] "selinux-enabled": true, [2022-04-27T10:20:54.782Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T10:20:54.782Z] } [Pipeline] sh [2022-04-27T10:20:55.129Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T10:20:55.637Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T10:21:14.030Z] provisioning config files... [2022-04-27T10:21:14.056Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7416661017135194288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:21:14.644Z] ---> docker-login.sh [2022-04-27T10:21:14.644Z] nexus3.edgexfoundry.org:10001 [2022-04-27T10:21:15.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:21:15.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:21:15.523Z] Configure a credential helper to remove this warning. See [2022-04-27T10:21:15.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:21:15.523Z] [2022-04-27T10:21:15.523Z] Login Succeeded [2022-04-27T10:21:15.523Z] nexus3.edgexfoundry.org:10002 [2022-04-27T10:21:15.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:21:16.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:21:16.073Z] Configure a credential helper to remove this warning. See [2022-04-27T10:21:16.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:21:16.073Z] [2022-04-27T10:21:16.073Z] Login Succeeded [2022-04-27T10:21:16.073Z] nexus3.edgexfoundry.org:10003 [2022-04-27T10:21:16.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:21:16.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:21:16.355Z] Configure a credential helper to remove this warning. See [2022-04-27T10:21:16.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:21:16.355Z] [2022-04-27T10:21:16.355Z] Login Succeeded [2022-04-27T10:21:16.355Z] nexus3.edgexfoundry.org:10004 [2022-04-27T10:21:16.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:21:16.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:21:16.960Z] Configure a credential helper to remove this warning. See [2022-04-27T10:21:16.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:21:16.960Z] [2022-04-27T10:21:16.960Z] Login Succeeded [2022-04-27T10:21:16.960Z] docker.io [2022-04-27T10:21:17.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T10:21:17.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T10:21:17.833Z] Configure a credential helper to remove this warning. See [2022-04-27T10:21:17.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T10:21:17.833Z] [2022-04-27T10:21:17.833Z] Login Succeeded [2022-04-27T10:21:17.833Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T10:21:17.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T10:21:18.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T10:21:18.287Z] ========================================================= [2022-04-27T10:21:18.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T10:21:18.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:21:18.743Z] + 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-27T10:21:19.018Z] Sending build context to Docker daemon 2.783MB [2022-04-27T10:21:19.018Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:21:19.018Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T10:21:19.301Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T10:21:19.301Z] 9b3977197b4f: Pulling fs layer [2022-04-27T10:21:19.301Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T10:21:19.301Z] 94645a83ff95: Pulling fs layer [2022-04-27T10:21:19.301Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T10:21:19.301Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T10:21:19.301Z] 3096ccb668a1: Pulling fs layer [2022-04-27T10:21:19.301Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T10:21:19.301Z] a4caa8a26152: Pulling fs layer [2022-04-27T10:21:19.301Z] 3096ccb668a1: Waiting [2022-04-27T10:21:19.301Z] e8cf19c19ddd: Waiting [2022-04-27T10:21:19.301Z] a4caa8a26152: Waiting [2022-04-27T10:21:19.301Z] 3f3a8bcf1eab: Waiting [2022-04-27T10:21:19.301Z] 0c92f367c5e7: Waiting [2022-04-27T10:21:19.301Z] 94645a83ff95: Download complete [2022-04-27T10:21:19.301Z] 1a89e8eeedd5: Verifying Checksum [2022-04-27T10:21:19.301Z] 1a89e8eeedd5: Download complete [2022-04-27T10:21:19.301Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T10:21:19.301Z] 0c92f367c5e7: Download complete [2022-04-27T10:21:19.301Z] 3096ccb668a1: Verifying Checksum [2022-04-27T10:21:19.301Z] 3096ccb668a1: Download complete [2022-04-27T10:21:19.301Z] 9b3977197b4f: Verifying Checksum [2022-04-27T10:21:19.301Z] 9b3977197b4f: Download complete [2022-04-27T10:21:19.301Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T10:21:19.301Z] e8cf19c19ddd: Download complete [2022-04-27T10:21:20.292Z] 9b3977197b4f: Pull complete [2022-04-27T10:21:20.577Z] 1a89e8eeedd5: Pull complete [2022-04-27T10:21:20.855Z] 94645a83ff95: Pull complete [2022-04-27T10:21:21.453Z] a4caa8a26152: Verifying Checksum [2022-04-27T10:21:21.453Z] a4caa8a26152: Download complete [2022-04-27T10:21:22.050Z] 3f3a8bcf1eab: Download complete [2022-04-27T10:21:34.467Z] 3f3a8bcf1eab: Pull complete [2022-04-27T10:21:34.467Z] 0c92f367c5e7: Pull complete [2022-04-27T10:21:34.467Z] 3096ccb668a1: Pull complete [2022-04-27T10:21:34.742Z] e8cf19c19ddd: Pull complete [2022-04-27T10:21:41.480Z] a4caa8a26152: Pull complete [2022-04-27T10:21:41.480Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T10:21:41.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T10:21:41.480Z] ---> 725f1c02e7f9 [2022-04-27T10:21:41.480Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T10:21:42.465Z] ---> Running in 8fe32f84737a [2022-04-27T10:21:42.465Z] Removing intermediate container 8fe32f84737a [2022-04-27T10:21:42.465Z] ---> b038e2fceaf0 [2022-04-27T10:21:42.465Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T10:21:42.745Z] ---> Running in 0c79b71568bb [2022-04-27T10:21:43.021Z] Removing intermediate container 0c79b71568bb [2022-04-27T10:21:43.021Z] ---> 4239297e5457 [2022-04-27T10:21:43.021Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T10:21:43.021Z] ---> Running in a5b66918d03b [2022-04-27T10:21:43.301Z] Removing intermediate container a5b66918d03b [2022-04-27T10:21:43.301Z] ---> 2f16006e338c [2022-04-27T10:21:43.301Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:21:43.301Z] ---> Running in 8100fdcbf731 [2022-04-27T10:21:45.291Z] Removing intermediate container 8100fdcbf731 [2022-04-27T10:21:45.291Z] ---> e9da07b915b6 [2022-04-27T10:21:45.291Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T10:21:45.291Z] ---> Running in 716f3adc1c3e [2022-04-27T10:21:46.273Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:21:46.870Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:21:47.853Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T10:21:47.853Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T10:21:48.126Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T10:21:48.126Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T10:21:48.402Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T10:21:48.402Z] OK: 224 MiB in 56 packages [2022-04-27T10:21:49.411Z] Removing intermediate container 716f3adc1c3e [2022-04-27T10:21:49.411Z] ---> b9f10a7b59b5 [2022-04-27T10:21:49.411Z] Step 8/12 : WORKDIR /device-snmp-go [2022-04-27T10:21:49.411Z] ---> Running in 09531ef25f97 [2022-04-27T10:21:50.023Z] Removing intermediate container 09531ef25f97 [2022-04-27T10:21:50.023Z] ---> b5010b955244 [2022-04-27T10:21:50.023Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T10:21:51.456Z] ---> 0bca6d057b61 [2022-04-27T10:21:51.457Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:21:51.457Z] ---> Running in adb9fcedff15 [2022-04-27T10:22:38.457Z] Removing intermediate container adb9fcedff15 [2022-04-27T10:22:38.457Z] ---> 1d9fb366237e [2022-04-27T10:22:38.457Z] Step 11/12 : COPY . . [2022-04-27T10:22:38.457Z] ---> 0a727aab7b43 [2022-04-27T10:22:38.457Z] Step 12/12 : RUN ${MAKE} [2022-04-27T10:22:38.457Z] ---> Running in b631178d3b4d [2022-04-27T10:22:38.457Z] noop [2022-04-27T10:22:38.457Z] Removing intermediate container b631178d3b4d [2022-04-27T10:22:38.457Z] ---> cd4326999a55 [2022-04-27T10:22:38.457Z] Successfully built cd4326999a55 [2022-04-27T10:22:38.457Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:22:38.829Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T10:22:38.829Z] . [Pipeline] withDockerContainer [2022-04-27T10:22:39.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container [2022-04-27T10:22:39.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T10:22:40.493Z] $ docker top 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:22:41.481Z] + go version [2022-04-27T10:22:41.481Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T10:22:41.525Z] $ docker stop --time=1 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a [2022-04-27T10:22:43.160Z] $ docker rm -f 86b662b7773f6aac8b479bc655d7096dff5b23b8266e594c14c321e7880a6e4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:22:44.001Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T10:22:44.001Z] . [Pipeline] withDockerContainer [2022-04-27T10:22:44.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container [2022-04-27T10:22:44.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-27T10:22:45.622Z] $ docker top 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T10:22:46.631Z] + make test [2022-04-27T10:22:46.631Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-27T10:22:48.071Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-04-27T10:24:09.882Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-04-27T10:24:09.882Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.045s coverage: 0.0% of statements [2022-04-27T10:24:09.882Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T10:24:09.882Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T10:24:28.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T10:24:28.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T10:24:28.239Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-27T10:24:29.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-27T10:24:29.297Z] $ docker stop --time=1 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb [2022-04-27T10:24:31.016Z] $ docker rm -f 8fa06f13a66bf026a0b3a220fff785c8a112b661dd908397966ca1db14a8b1fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T10:24:31.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-27T10:24:32.010Z] Warning: overwriting stash ‘coverage-report’ [2022-04-27T10:24:32.438Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T10:24:33.014Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-27T10:24:33.359Z] + ls -al . [2022-04-27T10:24:33.359Z] total 184 [2022-04-27T10:24:33.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:24 . [2022-04-27T10:24:33.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:20 .. [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 6 Apr 27 10:20 .dockerignore [2022-04-27T10:24:33.359Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:20 .git [2022-04-27T10:24:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 .github [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 328 Apr 27 10:20 .gitignore [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:20 .golangci.yml [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 8296 Apr 27 10:20 Attribution.txt [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 4401 Apr 27 10:20 CHANGELOG.md [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 1516 Apr 27 10:20 Dockerfile [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:20 GOVERNANCE.md [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 656 Apr 27 10:20 Jenkinsfile [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:20 LICENSE [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 1938 Apr 27 10:20 Makefile [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:20 OWNERS.md [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 9074 Apr 27 10:20 README.md [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:18 VERSION [2022-04-27T10:24:33.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:20 bin [2022-04-27T10:24:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 cmd [2022-04-27T10:24:33.359Z] -rw-r--r-- 1 jenkins jenkins 7631 Apr 27 10:23 coverage.out [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 3296 Apr 27 10:20 go.mod [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 54231 Apr 27 10:20 go.sum [2022-04-27T10:24:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 internal [2022-04-27T10:24:33.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:20 snap [2022-04-27T10:24:33.359Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 27 10:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:24:33.724Z] + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 --label arch=arm64 --label version=0.0.0 . [2022-04-27T10:24:33.996Z] Sending build context to Docker daemon 2.791MB [2022-04-27T10:24:33.996Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T10:24:33.996Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-27T10:24:33.996Z] ---> cd4326999a55 [2022-04-27T10:24:33.996Z] Step 3/24 : ARG MAKE='make build' [2022-04-27T10:24:34.275Z] ---> Running in 6fa9b956c9a7 [2022-04-27T10:24:34.546Z] Removing intermediate container 6fa9b956c9a7 [2022-04-27T10:24:34.546Z] ---> af4c27225bb1 [2022-04-27T10:24:34.546Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T10:24:34.546Z] ---> Running in 06edc91e7ddc [2022-04-27T10:24:34.817Z] Removing intermediate container 06edc91e7ddc [2022-04-27T10:24:34.817Z] ---> 1f4f2f1ffa5f [2022-04-27T10:24:34.817Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T10:24:34.817Z] ---> Running in d4536f3f8a75 [2022-04-27T10:24:35.099Z] Removing intermediate container d4536f3f8a75 [2022-04-27T10:24:35.099Z] ---> e628cb61def2 [2022-04-27T10:24:35.099Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T10:24:35.099Z] ---> Running in 59a3f65543f1 [2022-04-27T10:24:36.530Z] Removing intermediate container 59a3f65543f1 [2022-04-27T10:24:36.530Z] ---> 5d27598ed2ef [2022-04-27T10:24:36.530Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T10:24:36.803Z] ---> Running in 1c36db15a98d [2022-04-27T10:24:37.779Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:24:38.370Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:24:39.341Z] OK: 224 MiB in 56 packages [2022-04-27T10:24:39.931Z] Removing intermediate container 1c36db15a98d [2022-04-27T10:24:39.931Z] ---> f442be3c257b [2022-04-27T10:24:39.931Z] Step 8/24 : WORKDIR /device-snmp-go [2022-04-27T10:24:39.931Z] ---> Running in 3d7005a52198 [2022-04-27T10:24:40.527Z] Removing intermediate container 3d7005a52198 [2022-04-27T10:24:40.527Z] ---> c052b8a90151 [2022-04-27T10:24:40.527Z] Step 9/24 : COPY go.mod vendor* ./ [2022-04-27T10:24:40.797Z] ---> db5c49f919bf [2022-04-27T10:24:40.797Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T10:24:40.797Z] ---> Running in 7a1be7c3b24a [2022-04-27T10:24:42.769Z] Removing intermediate container 7a1be7c3b24a [2022-04-27T10:24:42.769Z] ---> 725654f8107a [2022-04-27T10:24:42.769Z] Step 11/24 : COPY . . [2022-04-27T10:24:43.368Z] ---> f86ed5722763 [2022-04-27T10:24:43.368Z] Step 12/24 : RUN ${MAKE} [2022-04-27T10:24:43.640Z] ---> Running in 44201bc99d67 [2022-04-27T10:24:44.616Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-04-27T10:26:51.511Z] Removing intermediate container 44201bc99d67 [2022-04-27T10:26:51.511Z] ---> 01cde8d83b21 [2022-04-27T10:26:51.511Z] Step 13/24 : FROM alpine:3.14 [2022-04-27T10:26:51.511Z] 3.14: Pulling from library/alpine [2022-04-27T10:26:51.511Z] 455c02918c45: Pulling fs layer [2022-04-27T10:26:51.511Z] 455c02918c45: Verifying Checksum [2022-04-27T10:26:51.511Z] 455c02918c45: Download complete [2022-04-27T10:26:51.511Z] 455c02918c45: Pull complete [2022-04-27T10:26:51.511Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-27T10:26:51.511Z] Status: Downloaded newer image for alpine:3.14 [2022-04-27T10:26:51.511Z] ---> ac73e934f311 [2022-04-27T10:26:51.511Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-27T10:26:51.511Z] ---> Running in fde19f2073f7 [2022-04-27T10:26:51.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-27T10:26:51.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-27T10:26:51.511Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-27T10:26:51.511Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-27T10:26:51.511Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-27T10:26:51.511Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-27T10:26:51.511Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-27T10:26:51.511Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-27T10:26:51.511Z] Executing busybox-1.33.1-r7.trigger [2022-04-27T10:26:51.511Z] OK: 8 MiB in 20 packages [2022-04-27T10:26:51.511Z] Removing intermediate container fde19f2073f7 [2022-04-27T10:26:51.511Z] ---> efd7159d4522 [2022-04-27T10:26:51.511Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-04-27T10:26:51.511Z] ---> 01584f627edf [2022-04-27T10:26:51.511Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-04-27T10:26:51.511Z] ---> 6d84d4e385bc [2022-04-27T10:26:51.511Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-04-27T10:26:51.511Z] ---> e081d1b81964 [2022-04-27T10:26:51.511Z] Step 18/24 : EXPOSE 59993 [2022-04-27T10:26:51.511Z] ---> Running in 45faf79c31fd [2022-04-27T10:26:51.511Z] Removing intermediate container 45faf79c31fd [2022-04-27T10:26:51.511Z] ---> b3b350a0dd85 [2022-04-27T10:26:51.511Z] Step 19/24 : EXPOSE 161 [2022-04-27T10:26:51.511Z] ---> Running in 415342dfc1c7 [2022-04-27T10:26:51.511Z] Removing intermediate container 415342dfc1c7 [2022-04-27T10:26:51.511Z] ---> 1e75fee937be [2022-04-27T10:26:51.511Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-04-27T10:26:51.511Z] ---> Running in 41d1c9941528 [2022-04-27T10:26:51.511Z] Removing intermediate container 41d1c9941528 [2022-04-27T10:26:51.511Z] ---> 1bc274f5d56a [2022-04-27T10:26:51.511Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-27T10:26:51.511Z] ---> Running in 9f7f621afce0 [2022-04-27T10:26:51.511Z] Removing intermediate container 9f7f621afce0 [2022-04-27T10:26:51.511Z] ---> d492e5ef0bee [2022-04-27T10:26:51.511Z] Step 22/24 : LABEL arch=arm64 [2022-04-27T10:26:51.511Z] ---> Running in 1607ddb8d47d [2022-04-27T10:26:51.511Z] Removing intermediate container 1607ddb8d47d [2022-04-27T10:26:51.511Z] ---> e929a47e0569 [2022-04-27T10:26:51.511Z] Step 23/24 : LABEL git_sha=d275d083175b600d40c2c13744dc8abee3a0b075 [2022-04-27T10:26:51.511Z] ---> Running in 633d56d7069e [2022-04-27T10:26:51.511Z] Removing intermediate container 633d56d7069e [2022-04-27T10:26:51.511Z] ---> 5162e9b14e8c [2022-04-27T10:26:51.511Z] Step 24/24 : LABEL version=0.0.0 [2022-04-27T10:26:51.511Z] ---> Running in 8e285b1a3ad7 [2022-04-27T10:26:51.511Z] Removing intermediate container 8e285b1a3ad7 [2022-04-27T10:26:51.511Z] ---> 3f2fec8afc68 [2022-04-27T10:26:51.511Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-27T10:26:51.511Z] Successfully built 3f2fec8afc68 [2022-04-27T10:26:51.511Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:26:52.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:26:52.182Z] [2022-04-27T10:26:52.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:26:52.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:26:52.834Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T10:26:52.834Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T10:26:52.834Z] 04944245beec: Pulling fs layer [2022-04-27T10:26:52.834Z] 699f458cf7ca: Pulling fs layer [2022-04-27T10:26:52.834Z] 765212b225bb: Pulling fs layer [2022-04-27T10:26:52.834Z] f23df028b6ca: Pulling fs layer [2022-04-27T10:26:52.834Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T10:26:52.834Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T10:26:52.834Z] 765212b225bb: Waiting [2022-04-27T10:26:52.834Z] f23df028b6ca: Waiting [2022-04-27T10:26:52.834Z] d65c8cfc05b1: Waiting [2022-04-27T10:26:52.834Z] 2437ff75d9bd: Waiting [2022-04-27T10:26:52.834Z] 04944245beec: Verifying Checksum [2022-04-27T10:26:52.834Z] 04944245beec: Download complete [2022-04-27T10:26:52.834Z] 765212b225bb: Verifying Checksum [2022-04-27T10:26:52.835Z] 765212b225bb: Download complete [2022-04-27T10:26:52.835Z] f23df028b6ca: Download complete [2022-04-27T10:26:52.835Z] d65c8cfc05b1: Download complete [2022-04-27T10:26:53.111Z] 699f458cf7ca: Verifying Checksum [2022-04-27T10:26:53.111Z] 699f458cf7ca: Download complete [2022-04-27T10:26:53.390Z] 8998bd30e6a1: Verifying Checksum [2022-04-27T10:26:53.390Z] 8998bd30e6a1: Download complete [2022-04-27T10:26:55.379Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T10:26:55.379Z] 2437ff75d9bd: Download complete [2022-04-27T10:26:57.371Z] 8998bd30e6a1: Pull complete [2022-04-27T10:26:57.975Z] 04944245beec: Pull complete [2022-04-27T10:26:59.423Z] 699f458cf7ca: Pull complete [2022-04-27T10:26:59.699Z] 765212b225bb: Pull complete [2022-04-27T10:27:00.686Z] f23df028b6ca: Pull complete [2022-04-27T10:27:00.686Z] d65c8cfc05b1: Pull complete [2022-04-27T10:27:15.806Z] 2437ff75d9bd: Pull complete [2022-04-27T10:27:15.806Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T10:27:15.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T10:27:15.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T10:27:16.035Z] prd-ubuntu20.04-docker-arm64-4c-16g-33463 does not seem to be running inside a container [2022-04-27T10:27:16.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T10:27:18.522Z] $ docker top 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:19.471Z] ---> job-cost.sh [2022-04-27T10:27:19.471Z] lf-activate-venv: SKIPPING [2022-04-27T10:27:19.471Z] INFO: No Stack... [2022-04-27T10:27:19.743Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T10:27:20.721Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T10:27:21.400Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-04-27T10:27:21.400Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T10:27:21.483Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [2022-04-27T10:27:21.487Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] did not exist. Created. [2022-04-27T10:27:21.487Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T10:27:22.229Z] /w/workspace/device-snmp-go/1@tmp/durable-caf243b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T10:27:22.927Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T10:27:22.966Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T10:27:23.008Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T10:27:23.025Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-163-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T10:27:23.113Z] $ docker stop --time=1 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 [2022-04-27T10:27:24.567Z] $ docker rm -f 60c5c7abee793e961fa982ef28b7f5135a7ed83739e796cc15efdb6790f8e006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-27T10:27:25.536Z] provisioning config files... [2022-04-27T10:27:25.546Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6570910393222309210tmp [Pipeline] { [Pipeline] sh [2022-04-27T10:27:25.875Z] + set +x [2022-04-27T10:27:25.875Z] + curl -s https://codecov.io/bash [2022-04-27T10:27:25.875Z] + bash -s -- [2022-04-27T10:27:25.876Z] [2022-04-27T10:27:25.876Z] _____ _ [2022-04-27T10:27:25.876Z] / ____| | | [2022-04-27T10:27:25.876Z] | | ___ __| | ___ ___ _____ __ [2022-04-27T10:27:25.876Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-27T10:27:25.876Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-27T10:27:25.876Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-27T10:27:25.876Z] Bash-1.0.6 [2022-04-27T10:27:25.876Z] [2022-04-27T10:27:25.876Z] [2022-04-27T10:27:25.876Z] ==> git version 2.25.1 found [2022-04-27T10:27:25.876Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-27T10:27:25.876Z] Release-Date: 2020-01-08 [2022-04-27T10:27:25.876Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-27T10:27:25.876Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-27T10:27:25.876Z] ==> Jenkins CI detected. [2022-04-27T10:27:25.876Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-163 [2022-04-27T10:27:25.876Z] project root: . [2022-04-27T10:27:25.876Z] --> token set from env [2022-04-27T10:27:25.876Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-27T10:27:25.876Z] ==> Running gcov in . (disable via -X gcov) [2022-04-27T10:27:25.876Z] ==> Python coveragepy not found [2022-04-27T10:27:25.876Z] ==> Searching for coverage reports in: [2022-04-27T10:27:25.876Z] + . [2022-04-27T10:27:25.876Z] -> Found 1 reports [2022-04-27T10:27:25.876Z] ==> Detecting git/mercurial file structure [2022-04-27T10:27:25.876Z] ==> Reading reports [2022-04-27T10:27:25.876Z] + ./coverage.out bytes=7631 [2022-04-27T10:27:25.876Z] ==> Appending adjustments [2022-04-27T10:27:25.876Z] https://docs.codecov.io/docs/fixing-reports [2022-04-27T10:27:26.137Z] + Found adjustments [2022-04-27T10:27:26.137Z] ==> Gzipping contents [2022-04-27T10:27:26.137Z] 4.0K /tmp/codecov.HuT1y1.gz [2022-04-27T10:27:26.137Z] ==> Uploading reports [2022-04-27T10:27:26.137Z] url: https://codecov.io [2022-04-27T10:27:26.137Z] query: branch=PR-163&commit=d275d083175b600d40c2c13744dc8abee3a0b075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-04-27T10:27:26.137Z] -> Pinging Codecov [2022-04-27T10:27:26.137Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-163&commit=d275d083175b600d40c2c13744dc8abee3a0b075&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-163%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=163&job=&cmd_args= [2022-04-27T10:27:26.399Z] -> Uploading to [2022-04-27T10:27:26.399Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-27/6C56EA5C29638FB4528AC87E60AF5AE0/d275d083175b600d40c2c13744dc8abee3a0b075/84373cf3-d4ec-4d21-8e1c-0c47041ee3c6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T102726Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dd4ab6886488fb24ea17d9a5685a0ffa6e49213a3019409ad141e06d91d03dc6 [2022-04-27T10:27:26.399Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T10:27:26.399Z] Dload Upload Total Spent Left Speed [2022-04-27T10:27:26.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6512 --:--:-- --:--:-- --:--:-- 6538 [2022-04-27T10:27:26.661Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d275d083175b600d40c2c13744dc8abee3a0b075 [Pipeline] } [2022-04-27T10:27:26.687Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-27T10:27:28.409Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-163/archives ] [2022-04-27T10:27:28.409Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-163/archives [2022-04-27T10:27:28.409Z] total 16 [2022-04-27T10:27:28.409Z] drwxr-xr-x 3 root root 4096 Apr 27 10:20 . [2022-04-27T10:27:28.409Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:20 .. [2022-04-27T10:27:28.409Z] drwxr-xr-x 2 root root 4096 Apr 27 10:20 cost [2022-04-27T10:27:28.409Z] -rw-r--r-- 1 root root 85 Apr 27 10:20 cost.csv [2022-04-27T10:27:28.409Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-163/archives [2022-04-27T10:27:28.409Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-163/archives [2022-04-27T10:27:28.409Z] total 16 [2022-04-27T10:27:28.409Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 10:20 . [2022-04-27T10:27:28.409Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:20 .. [2022-04-27T10:27:28.409Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 10:20 cost [2022-04-27T10:27:28.409Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 10:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:28.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:29.766Z] ---> package-listing.sh [2022-04-27T10:27:29.766Z] ++ facter osfamily [2022-04-27T10:27:29.766Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T10:27:30.029Z] + OS_FAMILY=debian [2022-04-27T10:27:30.029Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-163 [2022-04-27T10:27:30.029Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T10:27:30.029Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T10:27:30.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T10:27:30.029Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T10:27:30.029Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-163 ']' [2022-04-27T10:27:30.029Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T10:27:30.029Z] + case "${OS_FAMILY}" in [2022-04-27T10:27:30.029Z] + dpkg -l [2022-04-27T10:27:30.029Z] + grep '^ii' [2022-04-27T10:27:30.029Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T10:27:30.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T10:27:30.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T10:27:30.029Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-163 ']' [2022-04-27T10:27:30.029Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/ [2022-04-27T10:27:30.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-163/archives/ [Pipeline] echo [2022-04-27T10:27:30.061Z] 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-163/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T10:27:30.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T10:27:30.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T10:27:30.942Z] . [Pipeline] withDockerContainer [2022-04-27T10:27:31.034Z] prd-ubuntu20.04-docker-8c-8g-33461 does not seem to be running inside a container [2022-04-27T10:27:31.077Z] $ 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-163/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-163 -v /w/workspace/gexfoundry_device-snmp-go_PR-163:/w/workspace/gexfoundry_device-snmp-go_PR-163:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-163@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-163@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-27T10:27:31.303Z] $ docker top 092dcb21f4bc8612e18edaab20ae862f9767acdc878d214e19bb2430e1d676a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T10:27:31.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T10:27:32.020Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T10:27:32.332Z] + ls /var/log/sa-host [2022-04-27T10:27:32.332Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T10:27:32.599Z] provisioning config files... [2022-04-27T10:27:32.609Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-163@tmp/config6293413405660894226tmp [Pipeline] { [Pipeline] echo [2022-04-27T10:27:32.656Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:32.977Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T10:27:33.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:33.412Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T10:27:33.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:33.757Z] ---> sudo-logs.sh [2022-04-27T10:27:33.757Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T10:27:33.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:34.163Z] ---> job-cost.sh [2022-04-27T10:27:34.163Z] lf-activate-venv: SKIPPING [2022-04-27T10:27:34.163Z] DEBUG: total: 0.2199999988079071 [2022-04-27T10:27:34.163Z] INFO: Retrieving Stack Cost... [2022-04-27T10:27:34.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T10:27:34.995Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T10:27:35.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T10:27:35.358Z] ---> logs-deploy.sh [2022-04-27T10:27:35.359Z] lf-activate-venv: SKIPPING [2022-04-27T10:27:35.359Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-163/1 [2022-04-27T10:27:35.359Z] INFO: archiving workspace using pattern(s): [2022-04-27T10:27:36.303Z] Archives upload complete. [2022-04-27T10:27:36.303Z] INFO: archiving logs to Nexus