Pull request #160 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 farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec rather than 982e4616adac711241339f8fe4f62fb3bd543c19 Obtained Jenkinsfile from 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec 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-ssh11224902265115410173.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-ssh10855724787203366460.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-160/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-160/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1852656892014900035.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-160/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2919287336466939179.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-ssh9592633486859021907.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-160/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-160/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10122263474744524117.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22088 in /w/workspace/gexfoundry_device-snmp-go_PR-160 [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-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 982e4616adac711241339f8fe4f62fb3bd543c19 Merge succeeded, producing 982e4616adac711241339f8fe4f62fb3bd543c19 Checking out Revision 982e4616adac711241339f8fe4f62fb3bd543c19 (PR-160) > 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/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 Commit message: "feat(snap): add support for env var injection" 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 19:51:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:51:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:51:14 ========================================================= 19:51:14 EdgeX Global Pipelines Version Info 19:51:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:51:15 ------------------- 19:51:15 stable info: 19:51:15 ------------------- 19:51:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:51:15 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:51:15 Message: update stable to v1.0.221 19:51:15 ------------------- 19:51:15 experimental info: 19:51:15 ------------------- 19:51:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:51:15 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 19:51:15 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:51:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 982e461 [Pipeline] echo 19:51:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:51:17 provisioning config files... 19:51:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config5907236776069156453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:17 ---> docker-login.sh 19:51:17 nexus3.edgexfoundry.org:10001 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 nexus3.edgexfoundry.org:10002 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 nexus3.edgexfoundry.org:10003 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 nexus3.edgexfoundry.org:10004 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 docker.io 19:51:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:18 Configure a credential helper to remove this warning. See 19:51:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:18 19:51:18 Login Succeeded 19:51:18 ---> docker-login.sh ends [Pipeline] } 19:51:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:51:19 + git rev-list -1 --merges 982e4616adac711241339f8fe4f62fb3bd543c19~1..982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo 19:51:19 -----------> git rev-list -1 --merges 982e4616adac711241339f8fe4f62fb3bd543c19~1..982e4616adac711241339f8fe4f62fb3bd543c19 982e4616adac711241339f8fe4f62fb3bd543c19 [false] [Pipeline] sh 19:51:19 + git log --format=format:%s -1 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo 19:51:20 ========================================================= 19:51:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:51:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:51:20 + git log --format=format:%s -1 982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] echo 19:51:20 [semverPrep] GIT_COMMIT: 982e4616adac711241339f8fe4f62fb3bd543c19, Commit Message: feat(snap): add support for env var injection [Pipeline] echo 19:51:20 [semverPrep] This is not a build commit. [Pipeline] sh 19:51:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:51:20 + grep -v github /etc/ssh/ssh_known_hosts 19:51:20 + [ -e /tmp/ssh_known_hosts ] 19:51:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:51:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:51:20 + sudo tee -a /etc/ssh/ssh_known_hosts 19:51:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:51:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:51:21 19:51:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:51:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:51:21 latest: Pulling from edgex-devops/git-semver 19:51:21 a0d0a0d46f8b: Pulling fs layer 19:51:21 3e5f54012d9b: Pulling fs layer 19:51:21 4c7163046ea9: Pulling fs layer 19:51:21 0c2d73faf560: Pulling fs layer 19:51:21 0c2d73faf560: Waiting 19:51:21 3e5f54012d9b: Verifying Checksum 19:51:21 3e5f54012d9b: Download complete 19:51:21 a0d0a0d46f8b: Verifying Checksum 19:51:21 a0d0a0d46f8b: Download complete 19:51:21 0c2d73faf560: Verifying Checksum 19:51:21 0c2d73faf560: Download complete 19:51:21 4c7163046ea9: Download complete 19:51:21 a0d0a0d46f8b: Pull complete 19:51:21 3e5f54012d9b: Pull complete 19:51:22 4c7163046ea9: Pull complete 19:51:22 0c2d73faf560: Pull complete 19:51:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:51:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:51:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:51:22 prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container 19:51:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@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:10004/edgex-devops/git-semver:latest cat 19:51:23 $ docker top 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:51:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:23 [ssh-agent] Looking for ssh-agent implementation... 19:51:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:23 $ docker exec 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent 19:51:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOHDNnh/agent.13 19:51:23 SSH_AGENT_PID=19 19:51:23 Running ssh-add (command line suppressed) 19:51:23 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_935971881436105394.key (/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_935971881436105394.key) 19:51:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:24 + git tag --points-at HEAD [Pipeline] } 19:51:24 $ docker exec --env ******** --env ******** 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent -k 19:51:24 unset SSH_AUTH_SOCK; 19:51:24 unset SSH_AGENT_PID; 19:51:24 echo Agent pid 19 killed; 19:51:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:51:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:51:24 [ssh-agent] Looking for ssh-agent implementation... 19:51:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:51:24 $ docker exec 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent 19:51:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfpCPAl/agent.51 19:51:24 SSH_AGENT_PID=57 19:51:24 Running ssh-add (command line suppressed) 19:51:24 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_3668549750423738783.key (/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/private_key_3668549750423738783.key) 19:51:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:51:25 + git semver init 19:51:25 # -> Open(): unable to determine branch for HEAD 19:51:25 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-160/.git 19:51:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-160 19:51:25 # $SEMVER_REMOTE_NAME = origin 19:51:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:51:25 # $SEMVER_USER_NAME = edgex-jenkins 19:51:25 # $SEMVER_BRANCH = PR-160 19:51:25 # $SEMVER_TEMP = /tmp/semver-316988278 19:51:25 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 19:51:26 # '/tmp/semver-316988278' -> '/w/workspace/gexfoundry_device-snmp-go_PR-160/.semver' 19:51:26 # -> Force: false 19:51:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-160/.semver [Pipeline] } 19:51:26 $ docker exec --env ******** --env ******** 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 ssh-agent -k 19:51:26 unset SSH_AUTH_SOCK; 19:51:26 unset SSH_AGENT_PID; 19:51:26 echo Agent pid 57 killed; 19:51:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:51:26 + git semver [Pipeline] } 19:51:26 $ docker stop --time=1 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 19:51:28 $ docker rm -f 3f9f463b631d3e2687a2424b5848a8d649f685a1ac3d492c9a7f61a7d314a3a5 [Pipeline] // withDockerContainer [Pipeline] sh 19:51:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:51:28 Stashed 1 file(s) [Pipeline] echo 19:51:29 [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 19:51:29 provisioning config files... 19:51:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config7151368568983651305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:51:29 ---> docker-login.sh 19:51:29 nexus3.edgexfoundry.org:10001 19:51:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:29 Configure a credential helper to remove this warning. See 19:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:29 19:51:29 Login Succeeded 19:51:29 nexus3.edgexfoundry.org:10002 19:51:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:30 Configure a credential helper to remove this warning. See 19:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:30 19:51:30 Login Succeeded 19:51:30 nexus3.edgexfoundry.org:10003 19:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:30 Configure a credential helper to remove this warning. See 19:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:30 19:51:30 Login Succeeded 19:51:30 nexus3.edgexfoundry.org:10004 19:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:30 Configure a credential helper to remove this warning. See 19:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:30 19:51:30 Login Succeeded 19:51:30 docker.io 19:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:51:30 Configure a credential helper to remove this warning. See 19:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:51:30 19:51:30 Login Succeeded 19:51:30 ---> docker-login.sh ends [Pipeline] } 19:51:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:51:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:51:30 ========================================================= 19:51:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:51:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:51:31 + 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 . 19:51:31 Sending build context to Docker daemon 5.278MB 19:51:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:51:31 Step 2/12 : FROM ${BASE} AS builder 19:51:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:51:31 59bf1c3509f3: Pulling fs layer 19:51:31 666ba61612fd: Pulling fs layer 19:51:31 8ed8ca486205: Pulling fs layer 19:51:31 4fe6c5a15a65: Pulling fs layer 19:51:31 22a0e8bec74d: Pulling fs layer 19:51:31 ca2b28591e48: Pulling fs layer 19:51:31 a51346096db8: Pulling fs layer 19:51:31 daebc70d1ce1: Pulling fs layer 19:51:31 0e18a0eac166: Pulling fs layer 19:51:31 4fe6c5a15a65: Waiting 19:51:31 22a0e8bec74d: Waiting 19:51:31 a51346096db8: Waiting 19:51:31 daebc70d1ce1: Waiting 19:51:31 8ed8ca486205: Download complete 19:51:31 666ba61612fd: Verifying Checksum 19:51:31 666ba61612fd: Download complete 19:51:31 22a0e8bec74d: Verifying Checksum 19:51:31 22a0e8bec74d: Download complete 19:51:31 ca2b28591e48: Download complete 19:51:31 a51346096db8: Verifying Checksum 19:51:31 a51346096db8: Download complete 19:51:31 59bf1c3509f3: Verifying Checksum 19:51:31 59bf1c3509f3: Download complete 19:51:31 daebc70d1ce1: Verifying Checksum 19:51:31 daebc70d1ce1: Download complete 19:51:31 59bf1c3509f3: Pull complete 19:51:31 666ba61612fd: Pull complete 19:51:31 8ed8ca486205: Pull complete 19:51:32 0e18a0eac166: Verifying Checksum 19:51:32 0e18a0eac166: Download complete 19:51:32 4fe6c5a15a65: Verifying Checksum 19:51:32 4fe6c5a15a65: Download complete 19:51:36 4fe6c5a15a65: Pull complete 19:51:36 22a0e8bec74d: Pull complete 19:51:36 ca2b28591e48: Pull complete 19:51:36 a51346096db8: Pull complete 19:51:36 daebc70d1ce1: Pull complete 19:51:39 0e18a0eac166: Pull complete 19:51:39 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 19:51:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:51:39 ---> f018257e8ee9 19:51:39 Step 3/12 : ARG MAKE='make build' 19:51:40 ---> Running in aeef0f375cac 19:51:40 Removing intermediate container aeef0f375cac 19:51:40 ---> 0ec30174ce25 19:51:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:51:40 ---> Running in 0376fe69187c 19:51:40 Removing intermediate container 0376fe69187c 19:51:40 ---> 0d72bb8bb72f 19:51:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:51:40 ---> Running in 31ed542c4fbb 19:51:40 Removing intermediate container 31ed542c4fbb 19:51:40 ---> 46651e99aca8 19:51:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:51:40 ---> Running in 0e2b069ca2b2 19:51:41 Removing intermediate container 0e2b069ca2b2 19:51:41 ---> 656f1cb9739b 19:51:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:51:41 ---> Running in e661e5c440bb 19:51:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:51:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:51:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:51:42 (2/4) Installing libedit (20210910.3.1-r0) 19:51:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:51:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:51:43 Executing busybox-1.34.1-r3.trigger 19:51:43 OK: 224 MiB in 56 packages 19:51:43 Removing intermediate container e661e5c440bb 19:51:43 ---> a707e07bc514 19:51:43 Step 8/12 : WORKDIR /device-snmp-go 19:51:43 ---> Running in 3e27d3d51148 19:51:43 Removing intermediate container 3e27d3d51148 19:51:43 ---> 67badcfb9045 19:51:43 Step 9/12 : COPY go.mod vendor* ./ 19:51:43 ---> 9e715e993d6d 19:51:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:51:43 ---> Running in 28eef6b0861e 19:51:44 Still waiting to schedule task 19:51:44 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:51:58 Removing intermediate container 28eef6b0861e 19:51:58 ---> 6f27693df4e4 19:51:58 Step 11/12 : COPY . . 19:51:58 ---> e0998498197c 19:51:58 Step 12/12 : RUN ${MAKE} 19:51:58 ---> Running in 5f25795dfff4 19:51:58 noop 19:51:58 Removing intermediate container 5f25795dfff4 19:51:58 ---> f90d0930b1eb 19:51:58 Successfully built f90d0930b1eb 19:51:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:51:58 + docker inspect -f . ci-base-image-x86_64 19:51:58 . [Pipeline] withDockerContainer 19:51:59 prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container 19:51:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:51:59 $ docker top 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 -eo pid,comm [Pipeline] { [Pipeline] sh 19:52:00 + go version 19:52:00 go version go1.17.6 linux/amd64 [Pipeline] } 19:52:00 $ docker stop --time=1 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 19:52:01 $ docker rm -f 4ac040c23dfe9ff04f4ec37279f5e33e20707510aeab48c72cf1147a02a9e198 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:52:02 + docker inspect -f . ci-base-image-x86_64 19:52:02 . [Pipeline] withDockerContainer 19:52:02 prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container 19:52:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:52:02 $ docker top 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:52:03 + make test 19:52:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:52:03 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:52:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:52:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.019s coverage: 0.0% of statements 19:52:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:52:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:52:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:52:24 ./bin/test-attribution-txt.sh [Pipeline] echo 19:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:52:24 $ docker stop --time=1 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 19:52:26 $ docker rm -f 9851866f87894def69e4f1c83509a07595f4a2385eb909962e95bb123b6e9829 [Pipeline] // withDockerContainer [Pipeline] sh 19:52:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:52:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:52:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:52:28 + ls -al . 19:52:28 total 164 19:52:28 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 19:52 . 19:52:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:51 .. 19:52:28 -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 19:51 .dockerignore 19:52:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:51 .git 19:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 .github 19:52:28 -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 19:51 .gitignore 19:52:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:51 .golangci.yml 19:52:28 drwx------ 3 jenkins jenkins 4096 Apr 25 19:51 .semver 19:52:28 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 19:51 Attribution.txt 19:52:28 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 19:51 CHANGELOG.md 19:52:28 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 19:51 Dockerfile 19:52:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:51 GOVERNANCE.md 19:52:28 -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 19:51 Jenkinsfile 19:52:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 19:51 LICENSE 19:52:28 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 19:51 Makefile 19:52:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 19:51 OWNERS.md 19:52:28 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 19:51 README.md 19:52:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:51 VERSION 19:52:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:51 bin 19:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 cmd 19:52:28 -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 19:52 coverage.out 19:52:28 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 19:51 go.mod 19:52:28 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 25 19:51 go.sum 19:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 internal 19:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:51 snap 19:52:28 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 19:51 version.go [Pipeline] isUnix [Pipeline] sh 19:52:28 + 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=982e4616adac711241339f8fe4f62fb3bd543c19 --label arch=amd64 --label version=0.0.0 . 19:52:28 Sending build context to Docker daemon 5.286MB 19:52:28 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 19:52:28 Step 2/24 : FROM ${BASE} AS builder 19:52:28 ---> f90d0930b1eb 19:52:28 Step 3/24 : ARG MAKE='make build' 19:52:28 ---> Running in 4faae2f4eee7 19:52:28 Removing intermediate container 4faae2f4eee7 19:52:28 ---> 37638272cbbf 19:52:28 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:52:28 ---> Running in f0f1da321132 19:52:28 Removing intermediate container f0f1da321132 19:52:28 ---> 2b8ddee6c57f 19:52:28 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:52:28 ---> Running in 9c665811e008 19:52:28 Removing intermediate container 9c665811e008 19:52:28 ---> f1eb9bd57cc6 19:52:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:52:28 ---> Running in be70b6e3b2fe 19:52:29 Removing intermediate container be70b6e3b2fe 19:52:29 ---> aea8189fac00 19:52:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:52:29 ---> Running in de51a9052108 19:52:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:52:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:52:30 OK: 224 MiB in 56 packages 19:52:31 Removing intermediate container de51a9052108 19:52:31 ---> 9d5e6cf076a2 19:52:31 Step 8/24 : WORKDIR /device-snmp-go 19:52:31 ---> Running in ac0ee58a0597 19:52:31 Removing intermediate container ac0ee58a0597 19:52:31 ---> f94191e11141 19:52:31 Step 9/24 : COPY go.mod vendor* ./ 19:52:31 ---> 17844243220b 19:52:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:52:31 ---> Running in b7ba254522a8 19:52:31 Removing intermediate container b7ba254522a8 19:52:31 ---> d6e2a9ad81e3 19:52:31 Step 11/24 : COPY . . 19:52:32 ---> e8079a3fb5ba 19:52:32 Step 12/24 : RUN ${MAKE} 19:52:32 ---> Running in 00404e9744ea 19:52:32 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 19:52:54 Removing intermediate container 00404e9744ea 19:52:54 ---> 3af51cfb4e19 19:52:54 Step 13/24 : FROM alpine:3.14 19:52:54 3.14: Pulling from library/alpine 19:52:54 8663204ce13b: Pulling fs layer 19:52:54 8663204ce13b: Verifying Checksum 19:52:54 8663204ce13b: Download complete 19:52:54 8663204ce13b: Pull complete 19:52:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:52:54 Status: Downloaded newer image for alpine:3.14 19:52:54 ---> e04c818066af 19:52:54 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 19:52:54 ---> Running in 967b2c8606bc 19:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:52:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:52:54 (1/6) Installing dumb-init (1.2.5-r1) 19:52:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 19:52:54 (3/6) Installing libsodium (1.0.18-r0) 19:52:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 19:52:54 (5/6) Installing libzmq (4.3.4-r0) 19:52:54 (6/6) Installing zeromq (4.3.4-r0) 19:52:54 Executing busybox-1.33.1-r7.trigger 19:52:54 OK: 8 MiB in 20 packages 19:52:54 Removing intermediate container 967b2c8606bc 19:52:54 ---> c79e26501114 19:52:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 19:52:55 ---> d3742bd6399f 19:52:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 19:52:55 ---> 8fb13485182f 19:52:55 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 19:52:55 ---> 0e1cce3db34d 19:52:55 Step 18/24 : EXPOSE 59993 19:52:55 ---> Running in 66fbe80bcf81 19:52:55 Removing intermediate container 66fbe80bcf81 19:52:55 ---> 0443d9464567 19:52:55 Step 19/24 : EXPOSE 161 19:52:55 ---> Running in 259bed8441dc 19:52:56 Removing intermediate container 259bed8441dc 19:52:56 ---> d2a5b0cc277b 19:52:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 19:52:56 ---> Running in 9ba9025e0c57 19:52:56 Removing intermediate container 9ba9025e0c57 19:52:56 ---> 3a535f8e4fe6 19:52:56 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 19:52:56 ---> Running in 935b1305dae9 19:52:56 Removing intermediate container 935b1305dae9 19:52:56 ---> 659c25fd85e8 19:52:56 Step 22/24 : LABEL arch=amd64 19:52:56 ---> Running in 4f17e3ce5be9 19:52:56 Removing intermediate container 4f17e3ce5be9 19:52:56 ---> 7f6c11d8b3c0 19:52:56 Step 23/24 : LABEL git_sha=982e4616adac711241339f8fe4f62fb3bd543c19 19:52:56 ---> Running in 3b46ac9f8327 19:52:56 Removing intermediate container 3b46ac9f8327 19:52:56 ---> bfb67b0630cd 19:52:56 Step 24/24 : LABEL version=0.0.0 19:52:56 ---> Running in 2efcd9bad7b1 19:52:56 Removing intermediate container 2efcd9bad7b1 19:52:56 ---> 88c865ffca41 19:52:56 [Warning] One or more build-args [ARCH] were not consumed 19:52:56 Successfully built 88c865ffca41 19:52:56 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 19:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:57 19:52:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:52:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:52:57 latest: Pulling from edgex-lftools-log-publisher 19:52:57 5eb5b503b376: Pulling fs layer 19:52:57 5c69ac0246d0: Pulling fs layer 19:52:57 ec43610c2a17: Pulling fs layer 19:52:57 3a2ae6a8a46f: Pulling fs layer 19:52:57 33b1e0a273af: Pulling fs layer 19:52:57 5d3b04190fa2: Pulling fs layer 19:52:57 2f39f015ded8: Pulling fs layer 19:52:57 3a2ae6a8a46f: Waiting 19:52:57 5d3b04190fa2: Waiting 19:52:57 33b1e0a273af: Waiting 19:52:57 2f39f015ded8: Waiting 19:52:57 5c69ac0246d0: Verifying Checksum 19:52:57 5c69ac0246d0: Download complete 19:52:57 3a2ae6a8a46f: Verifying Checksum 19:52:57 3a2ae6a8a46f: Download complete 19:52:57 33b1e0a273af: Verifying Checksum 19:52:57 33b1e0a273af: Download complete 19:52:57 ec43610c2a17: Verifying Checksum 19:52:57 ec43610c2a17: Download complete 19:52:57 5d3b04190fa2: Verifying Checksum 19:52:57 5d3b04190fa2: Download complete 19:52:57 5eb5b503b376: Verifying Checksum 19:52:57 5eb5b503b376: Download complete 19:52:58 2f39f015ded8: Download complete 19:52:59 5eb5b503b376: Pull complete 19:52:59 5c69ac0246d0: Pull complete 19:53:00 ec43610c2a17: Pull complete 19:53:00 3a2ae6a8a46f: Pull complete 19:53:00 33b1e0a273af: Pull complete 19:53:00 5d3b04190fa2: Pull complete 19:53:05 2f39f015ded8: Pull complete 19:53:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:53:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:53:05 prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container 19:53:05 $ 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-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:53:07 $ docker top 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:07 ---> job-cost.sh 19:53:07 lf-activate-venv: SKIPPING 19:53:07 INFO: No Stack... 19:53:08 INFO: Retrieving Pricing Info for: v3-standard-8 19:53:08 INFO: Archiving Costs [Pipeline] sh 19:53:09 + cat /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/cost.csv 19:53:09 + cut -d, -f6 [Pipeline] lock 19:53:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] 19:53:09 Resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] did not exist. Created. 19:53:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:53:09 + echo total: 0.2199999988079071 [Pipeline] stash 19:53:09 Stashed 1 file(s) [Pipeline] } 19:53:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:53:09 $ docker stop --time=1 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 19:53:10 $ docker rm -f 8d32aad73835d1a0580eb4a3573fd8687b9d70b0cec23751c7fae7b4d881f633 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:53:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22102 in /w/workspace/gexfoundry_device-snmp-go_PR-160 [Pipeline] { [Pipeline] ws 19:53:59 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 19:53:59 Selected Git installation does not exist. Using Default 19:53:59 The recommended git tool is: NONE 19:54:08 using credential edgex-jenkins-ssh 19:54:08 Cloning the remote Git repository 19:54:08 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 19:54:08 > git init /w/workspace/device-snmp-go/1 # timeout=10 19:54:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:54:08 > git --version # timeout=10 19:54:08 > git --version # 'git version 2.25.1' 19:54:08 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 982e4616adac711241339f8fe4f62fb3bd543c19 19:54:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:54:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:54:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 19:54:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 19:54:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:54:10 > git config core.sparsecheckout # timeout=10 19:54:10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 19:54:10 Merge succeeded, producing 982e4616adac711241339f8fe4f62fb3bd543c19 19:54:10 Checking out Revision 982e4616adac711241339f8fe4f62fb3bd543c19 (PR-160) 19:54:10 > git remote # timeout=10 19:54:10 > git config --get remote.origin.url # timeout=10 19:54:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:54:10 > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 19:54:10 > git rev-parse HEAD^{commit} # timeout=10 19:54:10 > git config core.sparsecheckout # timeout=10 19:54:10 > git checkout -f 982e4616adac711241339f8fe4f62fb3bd543c19 # timeout=10 19:54:15 Commit message: "feat(snap): add support for env var injection" 19:54:15 > git --version # timeout=10 19:54:15 > git --version # 'git version 2.25.1' 19:54:15 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:54:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:54:16 % Total % Received % Xferd Average Speed Time Time Time Current 19:54:16 Dload Upload Total Spent Left Speed 19:54:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh 19:54:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:54:17 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:54:17 sudo tee /etc/docker/daemon.new 19:54:17 { 19:54:17 "registry-mirrors": [ 19:54:17 "https://nexus3.edgexfoundry.org:10001" 19:54:17 ], 19:54:17 "bip": "10.250.0.254/24", 19:54:17 "hosts": [ 19:54:17 "tcp://0.0.0.0:5555", 19:54:17 "unix:///var/run/docker.sock" 19:54:17 ], 19:54:17 "mtu": 1458, 19:54:17 "selinux-enabled": true, 19:54:17 "seccomp-profile": "/etc/docker/seccomp.json" 19:54:17 } [Pipeline] sh 19:54:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:54:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:54:37 provisioning config files... 19:54:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config2002323363170631402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:54:37 ---> docker-login.sh 19:54:37 nexus3.edgexfoundry.org:10001 19:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:39 Configure a credential helper to remove this warning. See 19:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:39 19:54:39 Login Succeeded 19:54:39 nexus3.edgexfoundry.org:10002 19:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:39 Configure a credential helper to remove this warning. See 19:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:39 19:54:39 Login Succeeded 19:54:39 nexus3.edgexfoundry.org:10003 19:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:40 Configure a credential helper to remove this warning. See 19:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:40 19:54:40 Login Succeeded 19:54:40 nexus3.edgexfoundry.org:10004 19:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:40 Configure a credential helper to remove this warning. See 19:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:40 19:54:40 Login Succeeded 19:54:40 docker.io 19:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:54:41 Configure a credential helper to remove this warning. See 19:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:54:41 19:54:41 Login Succeeded 19:54:41 ---> docker-login.sh ends [Pipeline] } 19:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:54:42 ========================================================= 19:54:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:54:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:54:42 + 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 . 19:54:42 Sending build context to Docker daemon 2.754MB 19:54:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 19:54:43 Step 2/12 : FROM ${BASE} AS builder 19:54:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:54:43 9b3977197b4f: Pulling fs layer 19:54:43 1a89e8eeedd5: Pulling fs layer 19:54:43 94645a83ff95: Pulling fs layer 19:54:43 3f3a8bcf1eab: Pulling fs layer 19:54:43 0c92f367c5e7: Pulling fs layer 19:54:43 3096ccb668a1: Pulling fs layer 19:54:43 e8cf19c19ddd: Pulling fs layer 19:54:43 a4caa8a26152: Pulling fs layer 19:54:43 3f3a8bcf1eab: Waiting 19:54:43 0c92f367c5e7: Waiting 19:54:43 3096ccb668a1: Waiting 19:54:43 e8cf19c19ddd: Waiting 19:54:43 a4caa8a26152: Waiting 19:54:43 94645a83ff95: Download complete 19:54:43 1a89e8eeedd5: Verifying Checksum 19:54:43 1a89e8eeedd5: Download complete 19:54:43 0c92f367c5e7: Verifying Checksum 19:54:43 0c92f367c5e7: Download complete 19:54:43 3096ccb668a1: Verifying Checksum 19:54:43 3096ccb668a1: Download complete 19:54:43 9b3977197b4f: Verifying Checksum 19:54:43 e8cf19c19ddd: Verifying Checksum 19:54:43 e8cf19c19ddd: Download complete 19:54:44 9b3977197b4f: Pull complete 19:54:44 1a89e8eeedd5: Pull complete 19:54:45 94645a83ff95: Pull complete 19:54:45 a4caa8a26152: Verifying Checksum 19:54:45 a4caa8a26152: Download complete 19:54:46 3f3a8bcf1eab: Download complete 19:55:01 3f3a8bcf1eab: Pull complete 19:55:01 0c92f367c5e7: Pull complete 19:55:01 3096ccb668a1: Pull complete 19:55:01 e8cf19c19ddd: Pull complete 19:55:08 a4caa8a26152: Pull complete 19:55:08 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 19:55:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:55:08 ---> 725f1c02e7f9 19:55:08 Step 3/12 : ARG MAKE='make build' 19:55:09 ---> Running in 0642b20771a3 19:55:09 Removing intermediate container 0642b20771a3 19:55:09 ---> 10da08409bd8 19:55:09 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:55:09 ---> Running in 334c20f7da26 19:55:10 Removing intermediate container 334c20f7da26 19:55:10 ---> 88cc31369228 19:55:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 19:55:10 ---> Running in 4ab267e04deb 19:55:10 Removing intermediate container 4ab267e04deb 19:55:10 ---> 293a8fec00b1 19:55:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:55:10 ---> Running in 28791d782e55 19:55:12 Removing intermediate container 28791d782e55 19:55:12 ---> 67a26563818a 19:55:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:55:12 ---> Running in ff89dd4550a2 19:55:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:55:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:55:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 19:55:15 (2/4) Installing libedit (20210910.3.1-r0) 19:55:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 19:55:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 19:55:16 Executing busybox-1.34.1-r3.trigger 19:55:16 OK: 224 MiB in 56 packages 19:55:17 Removing intermediate container ff89dd4550a2 19:55:17 ---> ae6cc44846fa 19:55:17 Step 8/12 : WORKDIR /device-snmp-go 19:55:17 ---> Running in a970834377b3 19:55:17 Removing intermediate container a970834377b3 19:55:17 ---> 623f3ac94c76 19:55:17 Step 9/12 : COPY go.mod vendor* ./ 19:55:18 ---> bbc5059d65ae 19:55:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:55:18 ---> Running in 27d805fd3396 19:56:15 Removing intermediate container 27d805fd3396 19:56:15 ---> 1b48e8802567 19:56:15 Step 11/12 : COPY . . 19:56:15 ---> 3382ed48ceca 19:56:15 Step 12/12 : RUN ${MAKE} 19:56:15 ---> Running in 9267685786af 19:56:15 noop 19:56:15 Removing intermediate container 9267685786af 19:56:15 ---> 419c95de3830 19:56:15 Successfully built 419c95de3830 19:56:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:56:15 + docker inspect -f . ci-base-image-arm64 19:56:15 . [Pipeline] withDockerContainer 19:56:15 prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container 19:56:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:56:17 $ docker top 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 -eo pid,comm [Pipeline] { [Pipeline] sh 19:56:18 + go version 19:56:18 go version go1.17.6 linux/arm64 [Pipeline] } 19:56:18 $ docker stop --time=1 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 19:56:20 $ docker rm -f 5135e128d488c6bdf875411ea2084c63ebf780156d2eb25543ac9c3f6f56ce05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:56:21 + docker inspect -f . ci-base-image-arm64 19:56:21 . [Pipeline] withDockerContainer 19:56:21 prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container 19:56:21 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:56:23 $ docker top ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:56:24 + make test 19:56:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:56:26 ? github.com/edgexfoundry/device-snmp-go [no test files] 19:58:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 19:58:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.073s coverage: 0.0% of statements 19:58:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:58:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:58:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:58:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:58:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:58:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:58:43 $ docker stop --time=1 ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 19:58:45 $ docker rm -f ca1567d4478c4d8edbfad28f518ecd53d2773c4b75edb044a5ce320becdbc557 [Pipeline] // withDockerContainer [Pipeline] sh 19:58:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:58:46 Warning: overwriting stash ‘coverage-report’ 19:58:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:58:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:58:48 + ls -al . 19:58:48 total 160 19:58:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:58 . 19:58:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 19:54 .. 19:58:48 -rw-rw-r-- 1 jenkins jenkins 6 Apr 25 19:54 .dockerignore 19:58:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 19:54 .git 19:58:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 .github 19:58:48 -rw-rw-r-- 1 jenkins jenkins 328 Apr 25 19:54 .gitignore 19:58:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 19:54 .golangci.yml 19:58:48 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 25 19:54 Attribution.txt 19:58:48 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 25 19:54 CHANGELOG.md 19:58:48 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 25 19:54 Dockerfile 19:58:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 19:54 GOVERNANCE.md 19:58:48 -rw-rw-r-- 1 jenkins jenkins 656 Apr 25 19:54 Jenkinsfile 19:58:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 19:54 LICENSE 19:58:48 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 25 19:54 Makefile 19:58:48 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 19:54 OWNERS.md 19:58:48 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 25 19:54 README.md 19:58:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 19:51 VERSION 19:58:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 19:54 bin 19:58:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 cmd 19:58:48 -rw-r--r-- 1 jenkins jenkins 7631 Apr 25 19:57 coverage.out 19:58:48 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 25 19:54 go.mod 19:58:48 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 25 19:54 go.sum 19:58:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 internal 19:58:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 19:54 snap 19:58:48 -rw-rw-r-- 1 jenkins jenkins 209 Apr 25 19:54 version.go [Pipeline] isUnix [Pipeline] sh 19:58:48 + 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=982e4616adac711241339f8fe4f62fb3bd543c19 --label arch=arm64 --label version=0.0.0 . 19:58:49 Sending build context to Docker daemon 2.762MB 19:58:49 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 19:58:49 Step 2/24 : FROM ${BASE} AS builder 19:58:49 ---> 419c95de3830 19:58:49 Step 3/24 : ARG MAKE='make build' 19:58:49 ---> Running in a7c7e120c159 19:58:49 Removing intermediate container a7c7e120c159 19:58:49 ---> 7d6269009f5d 19:58:49 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:58:49 ---> Running in 31aa1ffc437c 19:58:50 Removing intermediate container 31aa1ffc437c 19:58:50 ---> 0507d71222e0 19:58:50 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 19:58:50 ---> Running in 7f34d80e4bd8 19:58:50 Removing intermediate container 7f34d80e4bd8 19:58:50 ---> fed8b7049db0 19:58:50 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:58:50 ---> Running in 50403991ac49 19:58:52 Removing intermediate container 50403991ac49 19:58:52 ---> 0108d9fe203e 19:58:52 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:58:52 ---> Running in aa7fd626fe77 19:58:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:58:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:58:55 OK: 224 MiB in 56 packages 19:58:56 Removing intermediate container aa7fd626fe77 19:58:56 ---> 572d143e0f32 19:58:56 Step 8/24 : WORKDIR /device-snmp-go 19:58:56 ---> Running in f40289861d0a 19:58:57 Removing intermediate container f40289861d0a 19:58:57 ---> 58adc4ad10c1 19:58:57 Step 9/24 : COPY go.mod vendor* ./ 19:58:57 ---> a622a72e9a6c 19:58:57 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:57 ---> Running in a18339ecf151 19:58:59 Removing intermediate container a18339ecf151 19:58:59 ---> 2c1c5c38111a 19:58:59 Step 11/24 : COPY . . 19:59:00 ---> b83640821c20 19:59:00 Step 12/24 : RUN ${MAKE} 19:59:00 ---> Running in a5f63f6eff92 19:59:02 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 20:01:39 Removing intermediate container a5f63f6eff92 20:01:39 ---> ca75a87f6671 20:01:39 Step 13/24 : FROM alpine:3.14 20:01:39 3.14: Pulling from library/alpine 20:01:39 455c02918c45: Pulling fs layer 20:01:39 455c02918c45: Verifying Checksum 20:01:39 455c02918c45: Download complete 20:01:39 455c02918c45: Pull complete 20:01:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:01:39 Status: Downloaded newer image for alpine:3.14 20:01:39 ---> ac73e934f311 20:01:39 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 20:01:39 ---> Running in 62f5c88135d8 20:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:01:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:01:39 (1/6) Installing dumb-init (1.2.5-r1) 20:01:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:01:39 (3/6) Installing libsodium (1.0.18-r0) 20:01:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:01:39 (5/6) Installing libzmq (4.3.4-r0) 20:01:39 (6/6) Installing zeromq (4.3.4-r0) 20:01:39 Executing busybox-1.33.1-r7.trigger 20:01:39 OK: 8 MiB in 20 packages 20:01:39 Removing intermediate container 62f5c88135d8 20:01:39 ---> 4da6602d57c9 20:01:39 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 20:01:39 ---> 1f5e9e09db47 20:01:39 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 20:01:39 ---> f3f1c04410cd 20:01:39 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 20:01:39 ---> 0366b36a402f 20:01:39 Step 18/24 : EXPOSE 59993 20:01:39 ---> Running in 14b89e250d9a 20:01:39 Removing intermediate container 14b89e250d9a 20:01:39 ---> e0d961189f2d 20:01:39 Step 19/24 : EXPOSE 161 20:01:39 ---> Running in d3cb150ab3c6 20:01:39 Removing intermediate container d3cb150ab3c6 20:01:39 ---> 81cc52179229 20:01:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 20:01:39 ---> Running in baa64e1c7b4b 20:01:39 Removing intermediate container baa64e1c7b4b 20:01:39 ---> 51b26fccd503 20:01:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:01:39 ---> Running in 64ff8895389e 20:01:39 Removing intermediate container 64ff8895389e 20:01:39 ---> da60668feaab 20:01:39 Step 22/24 : LABEL arch=arm64 20:01:39 ---> Running in 5a811a1d1eca 20:01:39 Removing intermediate container 5a811a1d1eca 20:01:39 ---> 63bfd8145fe9 20:01:39 Step 23/24 : LABEL git_sha=982e4616adac711241339f8fe4f62fb3bd543c19 20:01:39 ---> Running in 4416c3c3519d 20:01:39 Removing intermediate container 4416c3c3519d 20:01:39 ---> 1e558398d464 20:01:39 Step 24/24 : LABEL version=0.0.0 20:01:39 ---> Running in b85d3e33e688 20:01:39 Removing intermediate container b85d3e33e688 20:01:39 ---> fea377b85530 20:01:39 [Warning] One or more build-args [ARCH] were not consumed 20:01:39 Successfully built fea377b85530 20:01:39 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 20:01:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:40 20:01:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:01:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:01:41 arm64: Pulling from edgex-lftools-log-publisher 20:01:41 8998bd30e6a1: Pulling fs layer 20:01:41 04944245beec: Pulling fs layer 20:01:41 699f458cf7ca: Pulling fs layer 20:01:41 765212b225bb: Pulling fs layer 20:01:41 f23df028b6ca: Pulling fs layer 20:01:41 d65c8cfc05b1: Pulling fs layer 20:01:41 2437ff75d9bd: Pulling fs layer 20:01:41 765212b225bb: Waiting 20:01:41 d65c8cfc05b1: Waiting 20:01:41 2437ff75d9bd: Waiting 20:01:41 f23df028b6ca: Waiting 20:01:41 04944245beec: Verifying Checksum 20:01:41 04944245beec: Download complete 20:01:41 765212b225bb: Verifying Checksum 20:01:41 765212b225bb: Download complete 20:01:41 f23df028b6ca: Download complete 20:01:41 d65c8cfc05b1: Verifying Checksum 20:01:41 d65c8cfc05b1: Download complete 20:01:41 699f458cf7ca: Verifying Checksum 20:01:41 699f458cf7ca: Download complete 20:01:42 8998bd30e6a1: Verifying Checksum 20:01:42 8998bd30e6a1: Download complete 20:01:44 2437ff75d9bd: Download complete 20:01:46 8998bd30e6a1: Pull complete 20:01:47 04944245beec: Pull complete 20:01:48 699f458cf7ca: Pull complete 20:01:49 765212b225bb: Pull complete 20:01:50 f23df028b6ca: Pull complete 20:01:50 d65c8cfc05b1: Pull complete 20:02:08 2437ff75d9bd: Pull complete 20:02:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:02:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:02:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:02:08 prd-ubuntu20.04-docker-arm64-4c-16g-22102 does not seem to be running inside a container 20:02:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:02:11 $ docker top 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:12 ---> job-cost.sh 20:02:12 lf-activate-venv: SKIPPING 20:02:12 INFO: No Stack... 20:02:13 INFO: Retrieving Pricing Info for: v3-standard-4 20:02:14 INFO: Archiving Costs [Pipeline] sh 20:02:15 + cut -d,+ -f6 20:02:15 cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock 20:02:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] 20:02:15 Resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] did not exist. Created. 20:02:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:02:15 /w/workspace/device-snmp-go/1@tmp/durable-29bdd983/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:02:16 + echo total: 0.10999999940395355 [Pipeline] stash 20:02:16 Warning: overwriting stash ‘stack-cost’ 20:02:16 Stashed 1 file(s) [Pipeline] } 20:02:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-160-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:02:16 $ docker stop --time=1 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 20:02:18 $ docker rm -f 9aec617e1cb6e7f63198b02ad9e666b4e73dcc07fb22a414ac10126e9eb09fa7 [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 20:02:19 provisioning config files... 20:02:19 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config7626635738058229906tmp [Pipeline] { [Pipeline] sh 20:02:19 + set +x 20:02:19 + curl -s https://codecov.io/bash 20:02:19 + bash -s -- 20:02:19 20:02:19 _____ _ 20:02:19 / ____| | | 20:02:19 | | ___ __| | ___ ___ _____ __ 20:02:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:02:19 | |___| (_) | (_| | __/ (_| (_) \ V / 20:02:19 \_____\___/ \__,_|\___|\___\___/ \_/ 20:02:19 Bash-1.0.6 20:02:19 20:02:19 20:02:19 ==> git version 2.25.1 found 20:02:19 ==> 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 20:02:19 Release-Date: 2020-01-08 20:02:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:02:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:02:19 ==> Jenkins CI detected. 20:02:19 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-160 20:02:19 project root: . 20:02:19 --> token set from env 20:02:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:02:19 ==> Running gcov in . (disable via -X gcov) 20:02:19 ==> Python coveragepy not found 20:02:19 ==> Searching for coverage reports in: 20:02:19 + . 20:02:19 -> Found 1 reports 20:02:19 ==> Detecting git/mercurial file structure 20:02:19 ==> Reading reports 20:02:19 + ./coverage.out bytes=7631 20:02:19 ==> Appending adjustments 20:02:19 https://docs.codecov.io/docs/fixing-reports 20:02:20 + Found adjustments 20:02:20 ==> Gzipping contents 20:02:20 4.0K /tmp/codecov.Oz4CWb.gz 20:02:20 ==> Uploading reports 20:02:20 url: https://codecov.io 20:02:20 query: branch=PR-160&commit=982e4616adac711241339f8fe4f62fb3bd543c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 20:02:20 -> Pinging Codecov 20:02:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-160&commit=982e4616adac711241339f8fe4f62fb3bd543c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-160%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 20:02:20 -> Uploading to 20:02:20 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/6C56EA5C29638FB4528AC87E60AF5AE0/982e4616adac711241339f8fe4f62fb3bd543c19/77c381dc-8cbf-4fde-987a-5d6d44a4ebe7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T200219Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=830dba828d5531693fe9cd14ac01b6b3b8db16eeaf61ddbec4c899abf0fe44bd 20:02:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:02:20 Dload Upload Total Spent Left Speed 20:02:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7120 --:--:-- --:--:-- --:--:-- 7120 20:02:20 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/982e4616adac711241339f8fe4f62fb3bd543c19 [Pipeline] } 20:02:20 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 20:02:21 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-160/archives ] 20:02:21 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-160/archives 20:02:21 total 16 20:02:21 drwxr-xr-x 3 root root 4096 Apr 25 19:53 . 20:02:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 19:53 .. 20:02:21 drwxr-xr-x 2 root root 4096 Apr 25 19:53 cost 20:02:21 -rw-r--r-- 1 root root 85 Apr 25 19:53 cost.csv 20:02:21 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-160/archives 20:02:21 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-160/archives 20:02:21 total 16 20:02:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 19:53 . 20:02:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 19:53 .. 20:02:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 19:53 cost 20:02:21 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:02:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:02:23 ---> package-listing.sh 20:02:23 ++ facter osfamily 20:02:23 ++ tr '[:upper:]' '[:lower:]' 20:02:23 + OS_FAMILY=debian 20:02:23 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-160 20:02:23 + START_PACKAGES=/tmp/packages_start.txt 20:02:23 + END_PACKAGES=/tmp/packages_end.txt 20:02:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:02:23 + PACKAGES=/tmp/packages_start.txt 20:02:23 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-160 ']' 20:02:23 + PACKAGES=/tmp/packages_end.txt 20:02:23 + case "${OS_FAMILY}" in 20:02:23 + dpkg -l 20:02:23 + grep '^ii' 20:02:23 + '[' -f /tmp/packages_start.txt ']' 20:02:23 + '[' -f /tmp/packages_end.txt ']' 20:02:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:02:23 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-160 ']' 20:02:23 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/ 20:02:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-160/archives/ [Pipeline] echo 20:02:23 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-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:02:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:02:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:02:24 . [Pipeline] withDockerContainer 20:02:24 prd-ubuntu20.04-docker-8c-8g-22088 does not seem to be running inside a container 20:02:24 $ 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-160/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-160 -v /w/workspace/gexfoundry_device-snmp-go_PR-160:/w/workspace/gexfoundry_device-snmp-go_PR-160:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-160@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-160@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:latest cat 20:02:24 $ docker top b859fb2a70d34b408acf1629b43841583c1672a7cdedc99d65a3fd9f6a0e4795 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:02:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:02:25 + ls /var/log/sa-host 20:02:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:25 provisioning config files... 20:02:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-160@tmp/config3942996233673374383tmp [Pipeline] { [Pipeline] echo 20:02:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:02:26 ---> create-netrc.sh [Pipeline] } 20:02:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:02:26 ---> python-tools-install.sh [Pipeline] echo 20:02:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:02:27 ---> sudo-logs.sh 20:02:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:02:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:02:27 ---> job-cost.sh 20:02:27 lf-activate-venv: SKIPPING 20:02:27 DEBUG: total: 0.2199999988079071 20:02:27 INFO: Retrieving Stack Cost... 20:02:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:02:28 INFO: Archiving Costs [Pipeline] echo 20:02:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:02:28 ---> logs-deploy.sh 20:02:28 lf-activate-venv: SKIPPING 20:02:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-160/1 20:02:28 INFO: archiving workspace using pattern(s): 20:02:29 Archives upload complete. 20:02:29 INFO: archiving logs to Nexus