Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 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-ssh8427861670409710408.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh7268826328681171476.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6080832833409226940.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh11780015103070509827.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11703949900215714482.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [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-9202 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b (main) Commit message: "Merge pull request #199 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45" > 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 core.sparsecheckout # timeout=10 > git checkout -f dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 > git rev-list --no-walk c5649ddb8ffd305e282f5692e5ab02afc05b76b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:34:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:34:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:34:03 ========================================================= 07:34:03 EdgeX Global Pipelines Version Info 07:34:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:34:04 ------------------- 07:34:04 stable info: 07:34:04 ------------------- 07:34:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:34:04 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:34:04 Message: update stable to v1.0.243 07:34:04 ------------------- 07:34:04 experimental info: 07:34:04 ------------------- 07:34:04 Commited By: **** collab-it+edgex@linuxfoundation.org 07:34:04 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:34:04 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:34:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dcc848a [Pipeline] echo 07:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:34:05 provisioning config files... 07:34:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config474011406157155820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:05 ---> docker-login.sh 07:34:05 nexus3.edgexfoundry.org:10001 07:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:05 Configure a credential helper to remove this warning. See 07:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:05 07:34:05 Login Succeeded 07:34:05 nexus3.edgexfoundry.org:10002 07:34:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:05 Configure a credential helper to remove this warning. See 07:34:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:05 07:34:05 Login Succeeded 07:34:05 nexus3.edgexfoundry.org:10003 07:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:06 Configure a credential helper to remove this warning. See 07:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:06 07:34:06 Login Succeeded 07:34:06 nexus3.edgexfoundry.org:10004 07:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:06 Configure a credential helper to remove this warning. See 07:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:06 07:34:06 Login Succeeded 07:34:06 docker.io 07:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:06 Configure a credential helper to remove this warning. See 07:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:06 07:34:06 Login Succeeded 07:34:06 ---> docker-login.sh ends [Pipeline] } 07:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:34:07 + git rev-list -1 --merges dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b~1..dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] echo 07:34:07 -----------> git rev-list -1 --merges dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b~1..dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:34:07 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [false] [Pipeline] sh 07:34:07 + git log --format=format:%s -1 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] echo 07:34:07 ========================================================= 07:34:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:34:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:07 + git log --format=format:%s -1 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] echo 07:34:07 [semverPrep] GIT_COMMIT: dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b, Commit Message: Merge pull request #199 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45 [Pipeline] echo 07:34:07 [semverPrep] This is not a build commit. [Pipeline] sh 07:34:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:34:08 + grep -v github /etc/ssh/ssh_known_hosts 07:34:08 + [ -e /tmp/ssh_known_hosts ] 07:34:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:34:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:34:08 + sudo tee -a /etc/ssh/ssh_known_hosts 07:34:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:08 07:34:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:08 0.1.4: Pulling from edgex-devops/py-git-semver 07:34:08 b85a868b505f: Pulling fs layer 07:34:08 e2be974225ed: Pulling fs layer 07:34:08 339a4e72a1f5: Pulling fs layer 07:34:08 988bab9f4d93: Pulling fs layer 07:34:08 1469e6f7b9e6: Pulling fs layer 07:34:08 eaf3925da568: Pulling fs layer 07:34:08 bab4dde63d76: Pulling fs layer 07:34:08 bde34c3a00c8: Pulling fs layer 07:34:08 b352a97aabf1: Pulling fs layer 07:34:08 4872d77fe225: Pulling fs layer 07:34:08 5851b861e8e6: Pulling fs layer 07:34:08 bab4dde63d76: Waiting 07:34:08 bde34c3a00c8: Waiting 07:34:08 b352a97aabf1: Waiting 07:34:08 4872d77fe225: Waiting 07:34:08 5851b861e8e6: Waiting 07:34:08 1469e6f7b9e6: Waiting 07:34:08 eaf3925da568: Waiting 07:34:08 988bab9f4d93: Waiting 07:34:08 e2be974225ed: Verifying Checksum 07:34:08 e2be974225ed: Download complete 07:34:08 988bab9f4d93: Verifying Checksum 07:34:08 988bab9f4d93: Download complete 07:34:09 1469e6f7b9e6: Verifying Checksum 07:34:09 1469e6f7b9e6: Download complete 07:34:09 eaf3925da568: Verifying Checksum 07:34:09 eaf3925da568: Download complete 07:34:09 339a4e72a1f5: Verifying Checksum 07:34:09 bde34c3a00c8: Verifying Checksum 07:34:09 bde34c3a00c8: Download complete 07:34:09 b352a97aabf1: Verifying Checksum 07:34:09 b352a97aabf1: Download complete 07:34:09 4872d77fe225: Download complete 07:34:09 5851b861e8e6: Verifying Checksum 07:34:09 5851b861e8e6: Download complete 07:34:09 b85a868b505f: Verifying Checksum 07:34:09 b85a868b505f: Download complete 07:34:09 bab4dde63d76: Verifying Checksum 07:34:09 bab4dde63d76: Download complete 07:34:10 b85a868b505f: Pull complete 07:34:10 e2be974225ed: Pull complete 07:34:10 339a4e72a1f5: Pull complete 07:34:11 988bab9f4d93: Pull complete 07:34:11 1469e6f7b9e6: Pull complete 07:34:11 eaf3925da568: Pull complete 07:34:13 bab4dde63d76: Pull complete 07:34:13 bde34c3a00c8: Pull complete 07:34:13 b352a97aabf1: Pull complete 07:34:13 4872d77fe225: Pull complete 07:34:13 5851b861e8e6: Pull complete 07:34:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:34:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:34:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:13 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:34:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:34:15 $ docker top d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 -eo pid,comm 07:34:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:34:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:34:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:15 [ssh-agent] Looking for ssh-agent implementation... 07:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:16 $ docker exec d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 ssh-agent 07:34:16 SSH_AUTH_SOCK=/tmp/ssh-MFUSYQoUUUhh/agent.32 07:34:16 SSH_AGENT_PID=38 07:34:16 Running ssh-add (command line suppressed) 07:34:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11783034957848998609.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11783034957848998609.key) 07:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:16 + git tag --points-at HEAD [Pipeline] } 07:34:16 $ docker exec --env ******** --env ******** d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 ssh-agent -k 07:34:16 unset SSH_AUTH_SOCK; 07:34:16 unset SSH_AGENT_PID; 07:34:16 echo Agent pid 38 killed; 07:34:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:34:16 [ssh-agent] Looking for ssh-agent implementation... 07:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:34:16 $ docker exec d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 ssh-agent 07:34:16 SSH_AUTH_SOCK=/tmp/ssh-H3vh7htHUzgA/agent.71 07:34:16 SSH_AGENT_PID=77 07:34:16 Running ssh-add (command line suppressed) 07:34:17 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14765828064620593669.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14765828064620593669.key) 07:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:34:17 + git semver init 07:34:17 2022-10-24 07:34:17,552 [run_init] DEBUG init version:0.0.0 force:False 07:34:17 2022-10-24 07:34:17,553 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:34:17 2022-10-24 07:34:17,553 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 07:34:17 2022-10-24 07:34:17,554 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 07:34:18 2022-10-24 07:34:18,503 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 07:34:18 2022-10-24 07:34:18,504 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 07:34:18 2022-10-24 07:34:18,504 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:34:18 2022-10-24 07:34:18,504 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:34:18 2.3.0-dev.20 [Pipeline] } 07:34:18 $ docker exec --env ******** --env ******** d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 ssh-agent -k 07:34:18 unset SSH_AUTH_SOCK; 07:34:18 unset SSH_AGENT_PID; 07:34:18 echo Agent pid 77 killed; 07:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:34:18 + git semver [Pipeline] } 07:34:19 $ docker stop --time=1 d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 07:34:20 $ docker rm -f d84609c0b7ddeea25a7b05300bc48a45803e0a701b732f3a50c1618e6a586719 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:34:21 Stashed 1 file(s) [Pipeline] echo 07:34:21 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [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 07:34:21 provisioning config files... 07:34:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5629570962969368669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:34:21 ---> docker-login.sh 07:34:21 nexus3.edgexfoundry.org:10001 07:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:21 Configure a credential helper to remove this warning. See 07:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:21 07:34:21 Login Succeeded 07:34:21 nexus3.edgexfoundry.org:10002 07:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:21 Configure a credential helper to remove this warning. See 07:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:21 07:34:21 Login Succeeded 07:34:21 nexus3.edgexfoundry.org:10003 07:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:21 Configure a credential helper to remove this warning. See 07:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:21 07:34:21 Login Succeeded 07:34:21 nexus3.edgexfoundry.org:10004 07:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:21 Configure a credential helper to remove this warning. See 07:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:21 07:34:21 Login Succeeded 07:34:21 docker.io 07:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:34:22 Configure a credential helper to remove this warning. See 07:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:34:22 07:34:22 Login Succeeded 07:34:22 ---> docker-login.sh ends [Pipeline] } 07:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:34:22 ========================================================= 07:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:34:22 Sending build context to Docker daemon 5.521MB 07:34:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:34:22 Step 2/13 : FROM ${BASE} AS builder 07:34:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:34:22 213ec9aee27d: Pulling fs layer 07:34:22 4583459ba037: Pulling fs layer 07:34:22 93c1e223e6f2: Pulling fs layer 07:34:22 53926ce57604: Pulling fs layer 07:34:22 21b2b0c7a3f4: Pulling fs layer 07:34:22 30f14e443154: Pulling fs layer 07:34:22 801331c1e519: Pulling fs layer 07:34:22 99cc6dd402b0: Pulling fs layer 07:34:22 7d9ed39f4882: Pulling fs layer 07:34:22 21b2b0c7a3f4: Waiting 07:34:22 801331c1e519: Waiting 07:34:22 30f14e443154: Waiting 07:34:22 99cc6dd402b0: Waiting 07:34:22 7d9ed39f4882: Waiting 07:34:22 53926ce57604: Waiting 07:34:22 93c1e223e6f2: Verifying Checksum 07:34:22 93c1e223e6f2: Download complete 07:34:22 4583459ba037: Download complete 07:34:22 21b2b0c7a3f4: Download complete 07:34:22 30f14e443154: Verifying Checksum 07:34:22 30f14e443154: Download complete 07:34:22 213ec9aee27d: Verifying Checksum 07:34:22 213ec9aee27d: Download complete 07:34:22 801331c1e519: Download complete 07:34:22 213ec9aee27d: Pull complete 07:34:23 4583459ba037: Pull complete 07:34:23 93c1e223e6f2: Pull complete 07:34:23 7d9ed39f4882: Verifying Checksum 07:34:23 7d9ed39f4882: Download complete 07:34:23 53926ce57604: Verifying Checksum 07:34:23 53926ce57604: Download complete 07:34:23 99cc6dd402b0: Verifying Checksum 07:34:23 99cc6dd402b0: Download complete 07:34:27 53926ce57604: Pull complete 07:34:27 21b2b0c7a3f4: Pull complete 07:34:27 30f14e443154: Pull complete 07:34:27 801331c1e519: Pull complete 07:34:29 99cc6dd402b0: Pull complete 07:34:30 7d9ed39f4882: Pull complete 07:34:30 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:34:30 ---> 1dedd983c030 07:34:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:34:34 ---> Running in b66edddf38bd 07:34:34 Removing intermediate container b66edddf38bd 07:34:34 ---> c485f5d6b9dc 07:34:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:34:34 ---> Running in ecdc319764c3 07:34:34 Removing intermediate container ecdc319764c3 07:34:34 ---> 74ae1986bdbf 07:34:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:34:34 ---> Running in 104bab3020b5 07:34:34 Removing intermediate container 104bab3020b5 07:34:34 ---> b322dfc0b495 07:34:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:34:34 ---> Running in c6ac60938e7e 07:34:34 Removing intermediate container c6ac60938e7e 07:34:34 ---> 92ab13b89955 07:34:34 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:34:34 ---> Running in 2b74004b77f3 07:34:34 Removing intermediate container 2b74004b77f3 07:34:34 ---> 5f1d58ee83a4 07:34:34 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:34:34 ---> Running in 4993af829b7b 07:34:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:34:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:34:36 Still waiting to schedule task 07:34:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:34:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:34:36 (2/4) Installing libedit (20210910.3.1-r0) 07:34:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:34:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:34:36 Executing busybox-1.35.0-r17.trigger 07:34:36 OK: 216 MiB in 55 packages 07:34:37 Removing intermediate container 4993af829b7b 07:34:37 ---> bf2387481941 07:34:37 Step 9/13 : WORKDIR /device-snmp-go 07:34:37 ---> Running in fb3dc1121915 07:34:37 Removing intermediate container fb3dc1121915 07:34:37 ---> f2e794a22f86 07:34:37 Step 10/13 : COPY go.mod vendor* ./ 07:34:37 ---> a5155e7516c9 07:34:37 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:37 ---> Running in 56dba1ab7c6a 07:34:55 Removing intermediate container 56dba1ab7c6a 07:34:55 ---> f564346c21e2 07:34:55 Step 12/13 : COPY . . 07:34:55 ---> 1fe40177638f 07:34:55 Step 13/13 : RUN ${MAKE} 07:34:55 ---> Running in 06ccb741bf7a 07:34:56 noop 07:34:56 Removing intermediate container 06ccb741bf7a 07:34:56 ---> 1f371a26dbe9 07:34:56 Successfully built 1f371a26dbe9 07:34:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:56 + docker inspect -f . ci-base-image-x86_64 07:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:56 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:34:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 07:34:57 $ docker top 83416b37db651dba3990466bc2c1f1c7dbd2beb55b7f94684557a05eb3ee7769 -eo pid,comm [Pipeline] { [Pipeline] sh 07:34:57 + go version 07:34:57 go version go1.18.7 linux/amd64 [Pipeline] } 07:34:57 $ docker stop --time=1 83416b37db651dba3990466bc2c1f1c7dbd2beb55b7f94684557a05eb3ee7769 07:34:58 $ docker rm -f 83416b37db651dba3990466bc2c1f1c7dbd2beb55b7f94684557a05eb3ee7769 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:59 + docker inspect -f . ci-base-image-x86_64 07:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:34:59 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 07:34:59 $ docker top 21a655e57824e3752def771852a29cdba823fb5782ae849767311f520c083bb2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:35:00 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh 07:35:00 + make test 07:35:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:35:00 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:35:10 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:35:10 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 07:35:17 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:35:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:35:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:35:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:35:21 ./bin/test-attribution-txt.sh [Pipeline] echo 07:35:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:35:21 $ docker stop --time=1 21a655e57824e3752def771852a29cdba823fb5782ae849767311f520c083bb2 07:35:23 $ docker rm -f 21a655e57824e3752def771852a29cdba823fb5782ae849767311f520c083bb2 [Pipeline] // withDockerContainer [Pipeline] sh 07:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:35:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:35:24 + ls -al . 07:35:24 total 172 07:35:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 07:35 . 07:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:34 .. 07:35:24 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 07:34 .dockerignore 07:35:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:35 .git 07:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:34 .github 07:35:24 -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 07:34 .gitignore 07:35:24 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 07:34 .golangci.yml 07:35:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:34 .semver 07:35:24 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 07:34 Attribution.txt 07:35:24 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 07:34 CHANGELOG.md 07:35:24 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 07:34 Dockerfile 07:35:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:34 GOVERNANCE.md 07:35:24 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 07:34 Jenkinsfile 07:35:24 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 07:34 LICENSE 07:35:24 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 07:34 Makefile 07:35:24 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 07:34 OWNERS.md 07:35:24 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 07:34 README.md 07:35:24 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:34 VERSION 07:35:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:34 bin 07:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:34 cmd 07:35:24 -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 07:35 coverage.out 07:35:24 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 07:34 go.mod 07:35:24 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 07:34 go.sum 07:35:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:34 internal 07:35:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:34 snap 07:35:24 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 07:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:25 + 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=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b --label arch=amd64 --label version=2.3.0-dev.20 . 07:35:25 Sending build context to Docker daemon 5.529MB 07:35:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:35:25 Step 2/25 : FROM ${BASE} AS builder 07:35:25 ---> 1f371a26dbe9 07:35:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:35:25 ---> Running in bb144991b844 07:35:25 Removing intermediate container bb144991b844 07:35:25 ---> a7b5bfcef459 07:35:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:35:25 ---> Running in b4b51ac07aeb 07:35:25 Removing intermediate container b4b51ac07aeb 07:35:25 ---> 0d5c00e5ddc4 07:35:25 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:35:25 ---> Running in c1cb29a0bd9c 07:35:25 Removing intermediate container c1cb29a0bd9c 07:35:25 ---> d4551b48b9d5 07:35:25 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:35:25 ---> Running in cec49fb2bbc1 07:35:25 Removing intermediate container cec49fb2bbc1 07:35:25 ---> f1bfec616a08 07:35:25 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:35:25 ---> Running in 1e6e182eb6fd 07:35:26 Removing intermediate container 1e6e182eb6fd 07:35:26 ---> f33f9c158095 07:35:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:35:26 ---> Running in 1c14d8a878ae 07:35:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:27 OK: 216 MiB in 55 packages 07:35:28 Removing intermediate container 1c14d8a878ae 07:35:28 ---> 45687f470b6d 07:35:28 Step 9/25 : WORKDIR /device-snmp-go 07:35:28 ---> Running in 90f5bf96d042 07:35:28 Removing intermediate container 90f5bf96d042 07:35:28 ---> d1e6ff23f6ac 07:35:28 Step 10/25 : COPY go.mod vendor* ./ 07:35:28 ---> 4249b978939b 07:35:28 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:35:28 ---> Running in ee7e3075172a 07:35:29 Removing intermediate container ee7e3075172a 07:35:29 ---> 942d50e5e1ae 07:35:29 Step 12/25 : COPY . . 07:35:29 ---> 8ffa956aac96 07:35:29 Step 13/25 : RUN ${MAKE} 07:35:29 ---> Running in c06aec96d4ad 07:35:29 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 07:35:51 Removing intermediate container c06aec96d4ad 07:35:51 ---> 75eaf9a4c3ed 07:35:51 Step 14/25 : FROM alpine:3.16 07:35:51 3.16: Pulling from library/alpine 07:35:51 213ec9aee27d: Already exists 07:35:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:35:51 Status: Downloaded newer image for alpine:3.16 07:35:51 ---> 9c6f07244728 07:35:51 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 07:35:51 ---> Running in 724278ee62be 07:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:35:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:35:52 (1/6) Installing dumb-init (1.2.5-r1) 07:35:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:35:52 (3/6) Installing libsodium (1.0.18-r0) 07:35:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:35:52 (5/6) Installing libzmq (4.3.4-r0) 07:35:52 (6/6) Installing zeromq (4.3.4-r0) 07:35:52 Executing busybox-1.35.0-r17.trigger 07:35:52 OK: 8 MiB in 20 packages 07:35:53 Removing intermediate container 724278ee62be 07:35:53 ---> aaa09e14946a 07:35:53 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:35:53 ---> 3fee481fc10d 07:35:53 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:35:53 ---> e9a83394f17a 07:35:53 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:35:54 ---> 10f3a9a4e9bd 07:35:54 Step 19/25 : EXPOSE 59993 07:35:54 ---> Running in 283d1a22a764 07:35:54 Removing intermediate container 283d1a22a764 07:35:54 ---> 01dee167348d 07:35:54 Step 20/25 : EXPOSE 161 07:35:54 ---> Running in 4f6a3021047b 07:35:54 Removing intermediate container 4f6a3021047b 07:35:54 ---> 01b8ad1af371 07:35:54 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:35:54 ---> Running in 00870f692fd4 07:35:54 Removing intermediate container 00870f692fd4 07:35:54 ---> 89828568e870 07:35:54 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:35:54 ---> Running in 5e14fe8f1f29 07:35:54 Removing intermediate container 5e14fe8f1f29 07:35:54 ---> ed3337d3fe7e 07:35:54 Step 23/25 : LABEL arch=amd64 07:35:54 ---> Running in c3a1811d510e 07:35:54 Removing intermediate container c3a1811d510e 07:35:54 ---> c2b40441cf46 07:35:54 Step 24/25 : LABEL git_sha=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:35:54 ---> Running in 401828d0aa25 07:35:54 Removing intermediate container 401828d0aa25 07:35:54 ---> e77a14797438 07:35:54 Step 25/25 : LABEL version=2.3.0-dev.20 07:35:54 ---> Running in 679e082bfe84 07:35:54 Removing intermediate container 679e082bfe84 07:35:54 ---> 18309c2dfb41 07:35:54 [Warning] One or more build-args [ARCH] were not consumed 07:35:54 Successfully built 18309c2dfb41 07:35:54 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:35:54 provisioning config files... 07:35:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14926653648225503586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:35:54 ---> docker-login.sh 07:35:54 nexus3.edgexfoundry.org:10001 07:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:54 Configure a credential helper to remove this warning. See 07:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:54 07:35:54 Login Succeeded 07:35:54 nexus3.edgexfoundry.org:10002 07:35:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:54 Configure a credential helper to remove this warning. See 07:35:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:54 07:35:54 Login Succeeded 07:35:54 nexus3.edgexfoundry.org:10003 07:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:55 Configure a credential helper to remove this warning. See 07:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:55 07:35:55 Login Succeeded 07:35:55 nexus3.edgexfoundry.org:10004 07:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:55 Configure a credential helper to remove this warning. See 07:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:55 07:35:55 Login Succeeded 07:35:55 docker.io 07:35:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:35:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:35:55 Configure a credential helper to remove this warning. See 07:35:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:35:55 07:35:55 Login Succeeded 07:35:55 ---> docker-login.sh ends [Pipeline] } 07:35:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:35:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:35:55 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 07:35:55 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:35:55 latest 07:35:55 2.3.0-dev.20 07:35:55 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:35:55 main 07:35:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:56 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:35:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:35:56 8eec2beb160d: Preparing 07:35:56 bbceca7801aa: Preparing 07:35:56 ddda586b4212: Preparing 07:35:56 11583fbf688b: Preparing 07:35:56 994393dc58e7: Preparing 07:35:56 994393dc58e7: Layer already exists 07:35:56 8eec2beb160d: Pushed 07:35:56 bbceca7801aa: Pushed 07:35:56 11583fbf688b: Pushed 07:35:59 ddda586b4212: Pushed 07:35:59 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b: digest: sha256:17a627677c7f0fc9d85e7f212170b98d245b85c11701733092b2229eca12b5eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:35:59 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 07:36:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:36:00 8eec2beb160d: Preparing 07:36:00 bbceca7801aa: Preparing 07:36:00 ddda586b4212: Preparing 07:36:00 11583fbf688b: Preparing 07:36:00 994393dc58e7: Preparing 07:36:00 8eec2beb160d: Layer already exists 07:36:00 11583fbf688b: Layer already exists 07:36:00 bbceca7801aa: Layer already exists 07:36:00 ddda586b4212: Layer already exists 07:36:00 994393dc58e7: Layer already exists 07:36:00 latest: digest: sha256:17a627677c7f0fc9d85e7f212170b98d245b85c11701733092b2229eca12b5eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.20 07:36:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:36:00 8eec2beb160d: Preparing 07:36:00 bbceca7801aa: Preparing 07:36:00 ddda586b4212: Preparing 07:36:00 11583fbf688b: Preparing 07:36:00 994393dc58e7: Preparing 07:36:00 11583fbf688b: Layer already exists 07:36:00 8eec2beb160d: Layer already exists 07:36:00 994393dc58e7: Layer already exists 07:36:00 bbceca7801aa: Layer already exists 07:36:00 ddda586b4212: Layer already exists 07:36:00 2.3.0-dev.20: digest: sha256:17a627677c7f0fc9d85e7f212170b98d245b85c11701733092b2229eca12b5eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:36:01 8eec2beb160d: Preparing 07:36:01 bbceca7801aa: Preparing 07:36:01 ddda586b4212: Preparing 07:36:01 11583fbf688b: Preparing 07:36:01 994393dc58e7: Preparing 07:36:01 ddda586b4212: Layer already exists 07:36:01 8eec2beb160d: Layer already exists 07:36:01 11583fbf688b: Layer already exists 07:36:01 bbceca7801aa: Layer already exists 07:36:01 994393dc58e7: Layer already exists 07:36:01 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20: digest: sha256:17a627677c7f0fc9d85e7f212170b98d245b85c11701733092b2229eca12b5eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 07:36:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 07:36:01 8eec2beb160d: Preparing 07:36:01 bbceca7801aa: Preparing 07:36:01 ddda586b4212: Preparing 07:36:01 11583fbf688b: Preparing 07:36:01 994393dc58e7: Preparing 07:36:01 8eec2beb160d: Layer already exists 07:36:01 bbceca7801aa: Layer already exists 07:36:01 994393dc58e7: Layer already exists 07:36:01 11583fbf688b: Layer already exists 07:36:01 ddda586b4212: Layer already exists 07:36:01 main: digest: sha256:17a627677c7f0fc9d85e7f212170b98d245b85c11701733092b2229eca12b5eb size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:36:01 ===================================================== [Pipeline] echo 07:36:01 taggedImages: 07:36:01 - nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:36:01 - nexus3.edgexfoundry.org:10004/device-snmp:latest 07:36:01 - nexus3.edgexfoundry.org:10004/device-snmp:2.3.0-dev.20 07:36:01 - nexus3.edgexfoundry.org:10004/device-snmp:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:36:01 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [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] withEnv [Pipeline] { [Pipeline] sh 07:36:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:02 07:36:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:36:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:02 latest: Pulling from edgex-lftools-log-publisher 07:36:02 5eb5b503b376: Pulling fs layer 07:36:02 5c69ac0246d0: Pulling fs layer 07:36:02 ec43610c2a17: Pulling fs layer 07:36:02 3a2ae6a8a46f: Pulling fs layer 07:36:02 33b1e0a273af: Pulling fs layer 07:36:02 5d3b04190fa2: Pulling fs layer 07:36:02 2f39f015ded8: Pulling fs layer 07:36:02 3a2ae6a8a46f: Waiting 07:36:02 33b1e0a273af: Waiting 07:36:02 5d3b04190fa2: Waiting 07:36:02 5c69ac0246d0: Verifying Checksum 07:36:02 5c69ac0246d0: Download complete 07:36:02 3a2ae6a8a46f: Verifying Checksum 07:36:02 3a2ae6a8a46f: Download complete 07:36:02 33b1e0a273af: Verifying Checksum 07:36:02 33b1e0a273af: Download complete 07:36:02 5d3b04190fa2: Verifying Checksum 07:36:02 5d3b04190fa2: Download complete 07:36:02 ec43610c2a17: Verifying Checksum 07:36:02 ec43610c2a17: Download complete 07:36:02 5eb5b503b376: Download complete 07:36:03 2f39f015ded8: Download complete 07:36:04 5eb5b503b376: Pull complete 07:36:04 5c69ac0246d0: Pull complete 07:36:04 ec43610c2a17: Pull complete 07:36:04 3a2ae6a8a46f: Pull complete 07:36:05 33b1e0a273af: Pull complete 07:36:05 5d3b04190fa2: Pull complete 07:36:10 2f39f015ded8: Pull complete 07:36:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:36:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:36:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:36:10 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:36:10 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:36:13 $ docker top dd969f4f8a288ae8a567187cf790b6e768b1c4ccbcbfa5293c5b61978eedcf0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:36:14 ---> job-cost.sh 07:36:14 lf-activate-venv: SKIPPING 07:36:14 INFO: No Stack... 07:36:14 INFO: Retrieving Pricing Info for: v3-standard-8 07:36:15 INFO: Archiving Costs [Pipeline] sh 07:36:15 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 07:36:15 + cut -d, -f6 [Pipeline] lock 07:36:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] 07:36:15 Resource [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] did not exist. Created. 07:36:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:36:15 + echo total: 0.2199999988079071 [Pipeline] stash 07:36:15 Stashed 1 file(s) [Pipeline] } 07:36:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 07:36:15 $ docker stop --time=1 dd969f4f8a288ae8a567187cf790b6e768b1c4ccbcbfa5293c5b61978eedcf0b 07:36:17 $ docker rm -f dd969f4f8a288ae8a567187cf790b6e768b1c4ccbcbfa5293c5b61978eedcf0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:40:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9261 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 07:40:55 Running in /w/workspace/device-snmp-go/51 [Pipeline] { [Pipeline] checkout 07:40:55 Selected Git installation does not exist. Using Default 07:40:55 The recommended git tool is: NONE 07:41:02 using credential edgex-jenkins-ssh 07:41:02 Cloning the remote Git repository 07:41:02 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 07:41:02 > git init /w/workspace/device-snmp-go/51 # timeout=10 07:41:02 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 07:41:02 > git --version # timeout=10 07:41:02 > git --version # 'git version 2.25.1' 07:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:02 Verifying host key using known hosts file 07:41:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 07:41:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 07:41:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:05 Avoid second fetch 07:41:05 Checking out Revision dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b (main) 07:41:05 Commit message: "Merge pull request #199 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.45" 07:41:05 > git config core.sparsecheckout # timeout=10 07:41:05 > git checkout -f dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:06 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:06 Dload Upload Total Spent Left Speed 07:41:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 07:41:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:41:07 + sudo tee /etc/docker/daemon.new 07:41:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:41:07 { 07:41:07 "registry-mirrors": [ 07:41:07 "https://nexus3.edgexfoundry.org:10001" 07:41:07 ], 07:41:07 "bip": "10.250.0.254/24", 07:41:07 "hosts": [ 07:41:07 "tcp://0.0.0.0:5555", 07:41:07 "unix:///var/run/docker.sock" 07:41:07 ], 07:41:07 "mtu": 1458, 07:41:07 "selinux-enabled": true, 07:41:07 "seccomp-profile": "/etc/docker/seccomp.json" 07:41:07 } [Pipeline] sh 07:41:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:41:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:26 provisioning config files... 07:41:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/51@tmp/config7927835949225666004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:27 ---> docker-login.sh 07:41:27 nexus3.edgexfoundry.org:10001 07:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:27 Configure a credential helper to remove this warning. See 07:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:27 07:41:27 Login Succeeded 07:41:27 nexus3.edgexfoundry.org:10002 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:28 Configure a credential helper to remove this warning. See 07:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:28 07:41:28 Login Succeeded 07:41:28 nexus3.edgexfoundry.org:10003 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:28 Configure a credential helper to remove this warning. See 07:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:28 07:41:28 Login Succeeded 07:41:28 nexus3.edgexfoundry.org:10004 07:41:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:29 Configure a credential helper to remove this warning. See 07:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:29 07:41:29 Login Succeeded 07:41:29 docker.io 07:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:29 Configure a credential helper to remove this warning. See 07:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:29 07:41:29 Login Succeeded 07:41:29 ---> docker-login.sh ends [Pipeline] } 07:41:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:29 ========================================================= 07:41:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:41:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:41:30 Sending build context to Docker daemon 2.85MB 07:41:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 07:41:30 Step 2/13 : FROM ${BASE} AS builder 07:41:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:41:30 9b18e9b68314: Pulling fs layer 07:41:30 d32db5db7311: Pulling fs layer 07:41:30 d0c4b47475fc: Pulling fs layer 07:41:30 5831b945b038: Pulling fs layer 07:41:30 86bbec2aaacd: Pulling fs layer 07:41:30 e10730c5d714: Pulling fs layer 07:41:30 5dd5c2283517: Pulling fs layer 07:41:30 d5ac0230b979: Pulling fs layer 07:41:30 e10730c5d714: Waiting 07:41:30 5dd5c2283517: Waiting 07:41:30 5831b945b038: Waiting 07:41:30 d5ac0230b979: Waiting 07:41:30 86bbec2aaacd: Waiting 07:41:30 d0c4b47475fc: Verifying Checksum 07:41:30 d0c4b47475fc: Download complete 07:41:30 d32db5db7311: Verifying Checksum 07:41:30 d32db5db7311: Download complete 07:41:30 86bbec2aaacd: Verifying Checksum 07:41:30 86bbec2aaacd: Download complete 07:41:30 e10730c5d714: Verifying Checksum 07:41:30 e10730c5d714: Download complete 07:41:31 9b18e9b68314: Verifying Checksum 07:41:31 9b18e9b68314: Download complete 07:41:31 9b18e9b68314: Pull complete 07:41:32 d5ac0230b979: Verifying Checksum 07:41:32 d5ac0230b979: Download complete 07:41:32 d32db5db7311: Pull complete 07:41:32 d0c4b47475fc: Pull complete 07:41:34 5dd5c2283517: Download complete 07:41:35 5831b945b038: Verifying Checksum 07:41:35 5831b945b038: Download complete 07:41:47 5831b945b038: Pull complete 07:41:47 86bbec2aaacd: Pull complete 07:41:47 e10730c5d714: Pull complete 07:41:54 5dd5c2283517: Pull complete 07:41:55 d5ac0230b979: Pull complete 07:41:55 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:41:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:41:55 ---> 59b3b1a385d4 07:41:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 07:41:58 ---> Running in 6f29059fa82f 07:41:59 Removing intermediate container 6f29059fa82f 07:41:59 ---> ffe730ab779d 07:41:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:41:59 ---> Running in 28b64dc8c77d 07:41:59 Removing intermediate container 28b64dc8c77d 07:41:59 ---> 096285c5312e 07:41:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:41:59 ---> Running in 399760e367c8 07:41:59 Removing intermediate container 399760e367c8 07:41:59 ---> f99bdf57d05b 07:41:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 07:42:00 ---> Running in 0f869d55221b 07:42:00 Removing intermediate container 0f869d55221b 07:42:00 ---> 3cf33e4e8e96 07:42:00 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:42:00 ---> Running in 4fb4b65ba15c 07:42:02 Removing intermediate container 4fb4b65ba15c 07:42:02 ---> 40f2411c9be5 07:42:02 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:02 ---> Running in 6f7c14533d2d 07:42:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:42:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:42:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:42:06 (2/4) Installing libedit (20210910.3.1-r0) 07:42:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:42:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:42:06 Executing busybox-1.35.0-r17.trigger 07:42:06 OK: 226 MiB in 55 packages 07:42:07 Removing intermediate container 6f7c14533d2d 07:42:07 ---> 6d10433d739b 07:42:07 Step 9/13 : WORKDIR /device-snmp-go 07:42:07 ---> Running in c0e7b1c5d625 07:42:08 Removing intermediate container c0e7b1c5d625 07:42:08 ---> 5a5f74f6caf4 07:42:08 Step 10/13 : COPY go.mod vendor* ./ 07:42:08 ---> 22fa33bee134 07:42:08 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:08 ---> Running in f6999a1f40a5 07:43:05 Removing intermediate container f6999a1f40a5 07:43:05 ---> adaa1e5ac662 07:43:05 Step 12/13 : COPY . . 07:43:05 ---> 5064aefb910b 07:43:05 Step 13/13 : RUN ${MAKE} 07:43:05 ---> Running in ed785664495b 07:43:05 noop 07:43:05 Removing intermediate container ed785664495b 07:43:05 ---> 77453f62dc3f 07:43:05 Successfully built 77453f62dc3f 07:43:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:05 + docker inspect -f . ci-base-image-arm64 07:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:05 prd-ubuntu20.04-docker-arm64-4c-16g-9261 does not seem to be running inside a container 07:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/51 -v /w/workspace/device-snmp-go/51:/w/workspace/device-snmp-go/51:rw,z -v /w/workspace/device-snmp-go/51@tmp:/w/workspace/device-snmp-go/51@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 ******** ci-base-image-arm64 cat 07:43:07 $ docker top f3659ba3a6744b877a21096570a46d81b4bf3b959e97697aace6981b8cb192db -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:08 + go version 07:43:08 go version go1.18.7 linux/arm64 [Pipeline] } 07:43:08 $ docker stop --time=1 f3659ba3a6744b877a21096570a46d81b4bf3b959e97697aace6981b8cb192db 07:43:09 $ docker rm -f f3659ba3a6744b877a21096570a46d81b4bf3b959e97697aace6981b8cb192db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:10 + docker inspect -f . ci-base-image-arm64 07:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:10 prd-ubuntu20.04-docker-arm64-4c-16g-9261 does not seem to be running inside a container 07:43:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-snmp-go/51 -v /w/workspace/device-snmp-go/51:/w/workspace/device-snmp-go/51:rw,z -v /w/workspace/device-snmp-go/51@tmp:/w/workspace/device-snmp-go/51@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 ******** ci-base-image-arm64 cat 07:43:11 $ docker top 605363b8215462405b7466623336fc4dd043d26f48ea974af6195895326a40f6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:12 + git config --global --add safe.directory /w/workspace/device-snmp-go/51 [Pipeline] fileExists [Pipeline] sh 07:43:13 + make test 07:43:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 07:43:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 07:44:51 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 07:44:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.065s coverage: 0.0% of statements 07:44:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:51 CGO_ENABLED=1 GO111MODULE=on go vet ./... 07:45:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:45:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:45:13 ./bin/test-attribution-txt.sh [Pipeline] echo 07:45:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:45:13 $ docker stop --time=1 605363b8215462405b7466623336fc4dd043d26f48ea974af6195895326a40f6 07:45:15 $ docker rm -f 605363b8215462405b7466623336fc4dd043d26f48ea974af6195895326a40f6 [Pipeline] // withDockerContainer [Pipeline] sh 07:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:45:16 Warning: overwriting stash ‘coverage-report’ 07:45:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:45:17 + ls -al . 07:45:17 total 168 07:45:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:43 . 07:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 .. 07:45:17 -rw-rw-r-- 1 jenkins jenkins 6 Oct 24 07:41 .dockerignore 07:45:17 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:41 .git 07:45:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 .github 07:45:17 -rw-rw-r-- 1 jenkins jenkins 328 Oct 24 07:41 .gitignore 07:45:17 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 07:41 .golangci.yml 07:45:17 -rw-rw-r-- 1 jenkins jenkins 8932 Oct 24 07:41 Attribution.txt 07:45:17 -rw-rw-r-- 1 jenkins jenkins 6948 Oct 24 07:41 CHANGELOG.md 07:45:17 -rw-rw-r-- 1 jenkins jenkins 1575 Oct 24 07:41 Dockerfile 07:45:17 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:41 GOVERNANCE.md 07:45:17 -rw-rw-r-- 1 jenkins jenkins 656 Oct 24 07:41 Jenkinsfile 07:45:17 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 07:41 LICENSE 07:45:17 -rw-rw-r-- 1 jenkins jenkins 2543 Oct 24 07:41 Makefile 07:45:17 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 07:41 OWNERS.md 07:45:17 -rw-rw-r-- 1 jenkins jenkins 10054 Oct 24 07:41 README.md 07:45:17 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:34 VERSION 07:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:41 bin 07:45:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 cmd 07:45:17 -rw-r--r-- 1 jenkins jenkins 7631 Oct 24 07:44 coverage.out 07:45:17 -rw-rw-r-- 1 jenkins jenkins 3473 Oct 24 07:41 go.mod 07:45:17 -rw-rw-r-- 1 jenkins jenkins 38138 Oct 24 07:41 go.sum 07:45:17 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:41 internal 07:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:41 snap 07:45:17 -rw-rw-r-- 1 jenkins jenkins 228 Oct 24 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:18 + 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=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b --label arch=arm64 --label version=2.3.0-dev.20 . 07:45:18 Sending build context to Docker daemon 2.858MB 07:45:18 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:45:18 Step 2/25 : FROM ${BASE} AS builder 07:45:18 ---> 77453f62dc3f 07:45:18 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:45:18 ---> Running in 57e4cb38d7e5 07:45:18 Removing intermediate container 57e4cb38d7e5 07:45:18 ---> 514334f5cd86 07:45:18 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:19 ---> Running in b3c03d84ef91 07:45:19 Removing intermediate container b3c03d84ef91 07:45:19 ---> 2b3859e11922 07:45:19 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 07:45:19 ---> Running in 552447b02fa4 07:45:19 Removing intermediate container 552447b02fa4 07:45:19 ---> 7b6414587d51 07:45:19 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:45:19 ---> Running in 9f2916923e76 07:45:20 Removing intermediate container 9f2916923e76 07:45:20 ---> 69808827f8cb 07:45:20 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:45:20 ---> Running in 305c8a21a437 07:45:22 Removing intermediate container 305c8a21a437 07:45:22 ---> 864ae4c043e8 07:45:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:45:22 ---> Running in e52df36056a6 07:45:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:45:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:45:26 OK: 226 MiB in 55 packages 07:45:27 Removing intermediate container e52df36056a6 07:45:27 ---> 83e6db0acf84 07:45:27 Step 9/25 : WORKDIR /device-snmp-go 07:45:27 ---> Running in 172adc46efe6 07:45:28 Removing intermediate container 172adc46efe6 07:45:28 ---> 4b3f13da234c 07:45:28 Step 10/25 : COPY go.mod vendor* ./ 07:45:29 ---> d4c3c82dfbe2 07:45:29 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:45:29 ---> Running in 40ec72121fc9 07:45:33 Removing intermediate container 40ec72121fc9 07:45:33 ---> b63357aaf88c 07:45:33 Step 12/25 : COPY . . 07:45:34 ---> 6747d7092755 07:45:34 Step 13/25 : RUN ${MAKE} 07:45:34 ---> Running in 1a6dce767124 07:45:35 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.45 -X github.com/edgexfoundry/device-snmp-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 07:48:12 Removing intermediate container 1a6dce767124 07:48:12 ---> 9c49921aefd2 07:48:12 Step 14/25 : FROM alpine:3.16 07:48:12 3.16: Pulling from library/alpine 07:48:12 9b18e9b68314: Already exists 07:48:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:48:12 Status: Downloaded newer image for alpine:3.16 07:48:12 ---> a6215f271958 07:48:12 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 07:48:12 ---> Running in 18677a9f86e9 07:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:48:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:48:12 (1/6) Installing dumb-init (1.2.5-r1) 07:48:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 07:48:12 (3/6) Installing libsodium (1.0.18-r0) 07:48:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 07:48:12 (5/6) Installing libzmq (4.3.4-r0) 07:48:12 (6/6) Installing zeromq (4.3.4-r0) 07:48:12 Executing busybox-1.35.0-r17.trigger 07:48:12 OK: 8 MiB in 20 packages 07:48:12 Removing intermediate container 18677a9f86e9 07:48:12 ---> 798331104aee 07:48:12 Step 16/25 : COPY --from=builder /device-snmp-go/cmd / 07:48:13 ---> f54f9fd4e654 07:48:13 Step 17/25 : COPY --from=builder /device-snmp-go/Attribution.txt / 07:48:14 ---> 9611ad4ce724 07:48:14 Step 18/25 : COPY --from=builder /device-snmp-go/LICENSE / 07:48:14 ---> 17891c04a734 07:48:14 Step 19/25 : EXPOSE 59993 07:48:14 ---> Running in e5d8455f6900 07:48:15 Removing intermediate container e5d8455f6900 07:48:15 ---> 3ae96e8c67a0 07:48:15 Step 20/25 : EXPOSE 161 07:48:15 ---> Running in baefc9ada0e7 07:48:15 Removing intermediate container baefc9ada0e7 07:48:15 ---> 6182a59bed6b 07:48:15 Step 21/25 : ENTRYPOINT ["/device-snmp"] 07:48:15 ---> Running in d83d7ce6b6dd 07:48:15 Removing intermediate container d83d7ce6b6dd 07:48:15 ---> 2221e62ee817 07:48:15 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 07:48:15 ---> Running in aaf7fd98fe8a 07:48:16 Removing intermediate container aaf7fd98fe8a 07:48:16 ---> c39d7daa666a 07:48:16 Step 23/25 : LABEL arch=arm64 07:48:16 ---> Running in 9d72cf814825 07:48:16 Removing intermediate container 9d72cf814825 07:48:16 ---> 8a32eea50605 07:48:16 Step 24/25 : LABEL git_sha=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:48:16 ---> Running in 7be3ee07cfb2 07:48:16 Removing intermediate container 7be3ee07cfb2 07:48:16 ---> 611d95d68be6 07:48:16 Step 25/25 : LABEL version=2.3.0-dev.20 07:48:16 ---> Running in 1775e3b14d32 07:48:17 Removing intermediate container 1775e3b14d32 07:48:17 ---> cce774c0e157 07:48:17 [Warning] One or more build-args [ARCH] were not consumed 07:48:17 Successfully built cce774c0e157 07:48:17 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:48:17 provisioning config files... 07:48:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/51@tmp/config5022604462405057991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:17 ---> docker-login.sh 07:48:17 nexus3.edgexfoundry.org:10001 07:48:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:17 Configure a credential helper to remove this warning. See 07:48:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:17 07:48:17 Login Succeeded 07:48:17 nexus3.edgexfoundry.org:10002 07:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:18 Configure a credential helper to remove this warning. See 07:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:18 07:48:18 Login Succeeded 07:48:18 nexus3.edgexfoundry.org:10003 07:48:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:18 Configure a credential helper to remove this warning. See 07:48:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:18 07:48:18 Login Succeeded 07:48:18 nexus3.edgexfoundry.org:10004 07:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:19 Configure a credential helper to remove this warning. See 07:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:19 07:48:19 Login Succeeded 07:48:19 docker.io 07:48:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:48:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:48:19 Configure a credential helper to remove this warning. See 07:48:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:48:19 07:48:19 Login Succeeded 07:48:19 ---> docker-login.sh ends [Pipeline] } 07:48:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:48:19 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 07:48:19 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:48:19 latest 07:48:19 2.3.0-dev.20 07:48:19 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:48:19 main 07:48:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:20 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:48:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:48:20 28e467b4d590: Preparing 07:48:20 411534ce766b: Preparing 07:48:20 0f79747bc709: Preparing 07:48:20 fb374099ba2d: Preparing 07:48:20 5d3e392a13a0: Preparing 07:48:20 5d3e392a13a0: Layer already exists 07:48:20 411534ce766b: Pushed 07:48:20 28e467b4d590: Pushed 07:48:21 fb374099ba2d: Pushed 07:48:26 0f79747bc709: Pushed 07:48:26 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b: digest: sha256:4c586685eb59935ed0a908e6a5fadc556324590a45093fe2ca48e84d2d941396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:27 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:48:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:48:27 28e467b4d590: Preparing 07:48:27 411534ce766b: Preparing 07:48:27 0f79747bc709: Preparing 07:48:27 fb374099ba2d: Preparing 07:48:27 5d3e392a13a0: Preparing 07:48:27 5d3e392a13a0: Layer already exists 07:48:27 fb374099ba2d: Layer already exists 07:48:27 411534ce766b: Layer already exists 07:48:27 0f79747bc709: Layer already exists 07:48:27 28e467b4d590: Layer already exists 07:48:27 latest: digest: sha256:4c586685eb59935ed0a908e6a5fadc556324590a45093fe2ca48e84d2d941396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:28 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.20 07:48:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:48:28 28e467b4d590: Preparing 07:48:28 411534ce766b: Preparing 07:48:28 0f79747bc709: Preparing 07:48:28 fb374099ba2d: Preparing 07:48:28 5d3e392a13a0: Preparing 07:48:28 5d3e392a13a0: Layer already exists 07:48:28 411534ce766b: Layer already exists 07:48:28 0f79747bc709: Layer already exists 07:48:28 28e467b4d590: Layer already exists 07:48:28 fb374099ba2d: Layer already exists 07:48:28 2.3.0-dev.20: digest: sha256:4c586685eb59935ed0a908e6a5fadc556324590a45093fe2ca48e84d2d941396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:29 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:29 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:48:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:48:29 28e467b4d590: Preparing 07:48:29 411534ce766b: Preparing 07:48:29 0f79747bc709: Preparing 07:48:29 fb374099ba2d: Preparing 07:48:29 5d3e392a13a0: Preparing 07:48:29 5d3e392a13a0: Layer already exists 07:48:29 28e467b4d590: Layer already exists 07:48:29 fb374099ba2d: Layer already exists 07:48:29 0f79747bc709: Layer already exists 07:48:29 411534ce766b: Layer already exists 07:48:29 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20: digest: sha256:4c586685eb59935ed0a908e6a5fadc556324590a45093fe2ca48e84d2d941396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:29 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 07:48:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 07:48:30 28e467b4d590: Preparing 07:48:30 411534ce766b: Preparing 07:48:30 0f79747bc709: Preparing 07:48:30 fb374099ba2d: Preparing 07:48:30 5d3e392a13a0: Preparing 07:48:30 fb374099ba2d: Layer already exists 07:48:30 0f79747bc709: Layer already exists 07:48:30 411534ce766b: Layer already exists 07:48:30 28e467b4d590: Layer already exists 07:48:30 5d3e392a13a0: Layer already exists 07:48:30 main: digest: sha256:4c586685eb59935ed0a908e6a5fadc556324590a45093fe2ca48e84d2d941396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:48:30 ===================================================== [Pipeline] echo 07:48:30 taggedImages: 07:48:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b 07:48:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 07:48:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.3.0-dev.20 07:48:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b-2.3.0-dev.20 07:48:30 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:30 07:48:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:31 arm64: Pulling from edgex-lftools-log-publisher 07:48:31 8998bd30e6a1: Pulling fs layer 07:48:31 04944245beec: Pulling fs layer 07:48:31 699f458cf7ca: Pulling fs layer 07:48:31 765212b225bb: Pulling fs layer 07:48:31 f23df028b6ca: Pulling fs layer 07:48:31 d65c8cfc05b1: Pulling fs layer 07:48:31 2437ff75d9bd: Pulling fs layer 07:48:31 f23df028b6ca: Waiting 07:48:31 d65c8cfc05b1: Waiting 07:48:31 2437ff75d9bd: Waiting 07:48:31 765212b225bb: Waiting 07:48:31 04944245beec: Verifying Checksum 07:48:31 04944245beec: Download complete 07:48:31 765212b225bb: Verifying Checksum 07:48:31 765212b225bb: Download complete 07:48:31 f23df028b6ca: Download complete 07:48:31 d65c8cfc05b1: Verifying Checksum 07:48:31 d65c8cfc05b1: Download complete 07:48:31 699f458cf7ca: Verifying Checksum 07:48:31 699f458cf7ca: Download complete 07:48:32 8998bd30e6a1: Download complete 07:48:34 2437ff75d9bd: Verifying Checksum 07:48:34 2437ff75d9bd: Download complete 07:48:36 8998bd30e6a1: Pull complete 07:48:36 04944245beec: Pull complete 07:48:38 699f458cf7ca: Pull complete 07:48:38 765212b225bb: Pull complete 07:48:38 f23df028b6ca: Pull complete 07:48:38 d65c8cfc05b1: Pull complete 07:48:53 2437ff75d9bd: Pull complete 07:48:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:48:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:54 prd-ubuntu20.04-docker-arm64-4c-16g-9261 does not seem to be running inside a container 07:48:54 $ 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/51 -v /w/workspace/device-snmp-go/51:/w/workspace/device-snmp-go/51:rw,z -v /w/workspace/device-snmp-go/51@tmp:/w/workspace/device-snmp-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:48:57 $ docker top d123d9b3ffa06f52879e63e55fb740c819429d1418a69181a78b81a40bf468f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:57 ---> job-cost.sh 07:48:57 lf-activate-venv: SKIPPING 07:48:57 INFO: No Stack... 07:48:58 INFO: Retrieving Pricing Info for: v3-standard-4 07:48:59 INFO: Archiving Costs [Pipeline] sh 07:48:59 + cat /w/workspace/device-snmp-go/51/archives/cost.csv 07:48:59 + cut -d, -f6 [Pipeline] lock 07:48:59 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] 07:48:59 Resource [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] did not exist. Created. 07:48:59 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:00 /w/workspace/device-snmp-go/51@tmp/durable-719d7d15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:49:01 + echo total: 0.10999999940395355 [Pipeline] stash 07:49:01 Warning: overwriting stash ‘stack-cost’ 07:49:01 Stashed 1 file(s) [Pipeline] } 07:49:01 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 07:49:01 $ docker stop --time=1 d123d9b3ffa06f52879e63e55fb740c819429d1418a69181a78b81a40bf468f7 07:49:02 $ docker rm -f d123d9b3ffa06f52879e63e55fb740c819429d1418a69181a78b81a40bf468f7 [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 07:49:03 provisioning config files... 07:49:03 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9877439732855212380tmp [Pipeline] { [Pipeline] sh 07:49:03 + set +x 07:49:03 + + curlbash -s -s https://codecov.io/bash -- 07:49:03 07:49:03 07:49:03 _____ _ 07:49:03 / ____| | | 07:49:03 | | ___ __| | ___ ___ _____ __ 07:49:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:49:03 | |___| (_) | (_| | __/ (_| (_) \ V / 07:49:03 \_____\___/ \__,_|\___|\___\___/ \_/ 07:49:03 Bash-1.0.6 07:49:03 07:49:03 07:49:03 ==> git version 2.25.1 found 07:49:03 ==> 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 07:49:03 Release-Date: 2020-01-08 07:49:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:49:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:49:03 ==> Jenkins CI detected. 07:49:03 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 07:49:03 project root: . 07:49:03 --> token set from env 07:49:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:49:03 ==> Running gcov in . (disable via -X gcov) 07:49:03 ==> Python coveragepy not found 07:49:03 ==> Searching for coverage reports in: 07:49:03 + . 07:49:03 -> Found 1 reports 07:49:03 ==> Detecting git/mercurial file structure 07:49:03 ==> Reading reports 07:49:03 + ./coverage.out bytes=7631 07:49:03 ==> Appending adjustments 07:49:03 https://docs.codecov.io/docs/fixing-reports 07:49:03 + Found adjustments 07:49:03 ==> Gzipping contents 07:49:03 4.0K /tmp/codecov.zGVgI3.gz 07:49:03 ==> Uploading reports 07:49:03 url: https://codecov.io 07:49:03 query: branch=main&commit=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:03 -> Pinging Codecov 07:49:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:49:04 -> Uploading to 07:49:04 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/6C56EA5C29638FB4528AC87E60AF5AE0/dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b/5c09a796-cb32-4aba-b6bc-84a42c01a095.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T074904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a06625dda4866d1af7b34138960fae40ceb9a8b5abaa0151a2e90bbc60a7ef4 07:49:04 % Total % Received % Xferd Average Speed Time Time Time Current 07:49:04 Dload Upload Total Spent Left Speed 07:49:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1537 0 0 100 1537 0 6682 --:--:-- --:--:-- --:--:-- 6711 07:49:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] } 07:49:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:49:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:49:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:04 07:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:49:05 df9b9388f04a: Pulling fs layer 07:49:05 52dc419b0ee2: Pulling fs layer 07:49:05 25bc292e5bac: Pulling fs layer 07:49:05 114826534d7a: Pulling fs layer 07:49:05 4657fd5d0bcf: Pulling fs layer 07:49:05 6ad1cebc031e: Pulling fs layer 07:49:05 8a3aa393b2d8: Pulling fs layer 07:49:05 114826534d7a: Waiting 07:49:05 4657fd5d0bcf: Waiting 07:49:05 6ad1cebc031e: Waiting 07:49:05 8a3aa393b2d8: Waiting 07:49:05 25bc292e5bac: Download complete 07:49:05 52dc419b0ee2: Verifying Checksum 07:49:05 52dc419b0ee2: Download complete 07:49:05 4657fd5d0bcf: Download complete 07:49:05 df9b9388f04a: Verifying Checksum 07:49:05 df9b9388f04a: Pull complete 07:49:05 6ad1cebc031e: Verifying Checksum 07:49:05 6ad1cebc031e: Download complete 07:49:05 52dc419b0ee2: Pull complete 07:49:05 25bc292e5bac: Pull complete 07:49:06 114826534d7a: Verifying Checksum 07:49:06 114826534d7a: Download complete 07:49:06 8a3aa393b2d8: Verifying Checksum 07:49:06 8a3aa393b2d8: Download complete 07:49:10 114826534d7a: Pull complete 07:49:10 4657fd5d0bcf: Pull complete 07:49:10 6ad1cebc031e: Pull complete 07:49:12 8a3aa393b2d8: Pull complete 07:49:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:49:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:49:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:12 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:49:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 07:49:15 $ docker top 5b0378ece63991507be1a308f22d280818ce286d2c07d2292d8ddaafd2cb1fa2 -eo pid,comm [Pipeline] { [Pipeline] echo 07:49:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh 07:49:16 + set -o pipefail 07:49:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' 07:49:21 07:49:21 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 07:49:21 07:49:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/8b56b4c6-aca4-4cd4-9f50-e3a092649e12 07:49:21 07:49:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:49:21 07:49:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:49:21 07:49:21 07:49:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:49:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:49:21 More details here: https://snyk.co/ue1NS [Pipeline] } 07:49:21 $ docker stop --time=1 5b0378ece63991507be1a308f22d280818ce286d2c07d2292d8ddaafd2cb1fa2 07:49:24 $ docker rm -f 5b0378ece63991507be1a308f22d280818ce286d2c07d2292d8ddaafd2cb1fa2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:49:25 + git log --format=format:%s -1 dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b [Pipeline] sh 07:49:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:25 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:49:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:26 $ docker top a800999b4cf3130db77735c6a43667769600a659c04666f8c7340892c0ff74b6 -eo pid,comm 07:49:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:49:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:26 [ssh-agent] Looking for ssh-agent implementation... 07:49:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:26 $ docker exec a800999b4cf3130db77735c6a43667769600a659c04666f8c7340892c0ff74b6 ssh-agent 07:49:26 SSH_AUTH_SOCK=/tmp/ssh-BzoCnYgjTgcS/agent.32 07:49:26 SSH_AGENT_PID=38 07:49:26 Running ssh-add (command line suppressed) 07:49:26 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12536515197953517787.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12536515197953517787.key) 07:49:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:26 + git semver tag 07:49:27 2022-10-24 07:49:27,072 [run_tag] DEBUG tag force:False 07:49:27 2022-10-24 07:49:27,072 [check_head_tag] DEBUG check head tag 07:49:27 2022-10-24 07:49:27,072 [execute] INFO git cat-file --batch-check 07:49:27 2022-10-24 07:49:27,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:49:27 2022-10-24 07:49:27,076 [execute] INFO git cat-file --batch 07:49:27 2022-10-24 07:49:27,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 07:49:27 2022-10-24 07:49:27,089 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:27 2022-10-24 07:49:27,089 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 07:49:27 2022-10-24 07:49:27,089 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 07:49:27 2022-10-24 07:49:27,095 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:27 2.3.0-dev.20 [Pipeline] } 07:49:27 $ docker exec --env ******** --env ******** a800999b4cf3130db77735c6a43667769600a659c04666f8c7340892c0ff74b6 ssh-agent -k 07:49:27 unset SSH_AUTH_SOCK; 07:49:27 unset SSH_AGENT_PID; 07:49:27 echo Agent pid 38 killed; 07:49:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:27 + git semver [Pipeline] } 07:49:27 $ docker stop --time=1 a800999b4cf3130db77735c6a43667769600a659c04666f8c7340892c0ff74b6 07:49:29 $ docker rm -f a800999b4cf3130db77735c6a43667769600a659c04666f8c7340892c0ff74b6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:29 07:49:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:29 0.23.1-centos7: Pulling from edgex-lftools 07:49:29 ab5ef0e58194: Pulling fs layer 07:49:29 9712f1f96733: Pulling fs layer 07:49:29 63f879dbbcfc: Pulling fs layer 07:49:29 0d9ebad4ef96: Pulling fs layer 07:49:29 e9a5061849ea: Pulling fs layer 07:49:29 d747dcd14b5f: Pulling fs layer 07:49:29 2de7ff778b66: Pulling fs layer 07:49:29 0d9ebad4ef96: Waiting 07:49:29 e9a5061849ea: Waiting 07:49:29 9712f1f96733: Verifying Checksum 07:49:29 9712f1f96733: Download complete 07:49:30 63f879dbbcfc: Verifying Checksum 07:49:30 63f879dbbcfc: Download complete 07:49:30 e9a5061849ea: Verifying Checksum 07:49:30 e9a5061849ea: Download complete 07:49:30 d747dcd14b5f: Download complete 07:49:30 0d9ebad4ef96: Verifying Checksum 07:49:30 0d9ebad4ef96: Download complete 07:49:30 ab5ef0e58194: Verifying Checksum 07:49:30 ab5ef0e58194: Download complete 07:49:30 2de7ff778b66: Verifying Checksum 07:49:30 2de7ff778b66: Download complete 07:49:33 ab5ef0e58194: Pull complete 07:49:33 9712f1f96733: Pull complete 07:49:34 63f879dbbcfc: Pull complete 07:49:38 0d9ebad4ef96: Pull complete 07:49:38 e9a5061849ea: Pull complete 07:49:38 d747dcd14b5f: Pull complete 07:49:39 2de7ff778b66: Pull complete 07:49:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:49:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:40 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:49:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:49:44 $ docker top bde40870bc30a3733299f3f0a30ccb9fccb8ac5c73fc38b69e21f25d3a44d19c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:49:44 provisioning config files... 07:49:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16301649463390149637tmp 07:49:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9053821259181351069tmp 07:49:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14672370050377717587tmp [Pipeline] { [Pipeline] echo 07:49:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:49:44 ---> sigul-configuration.sh 07:49:44 gpg: directory `/root/.gnupg' created 07:49:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:49:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:49:44 gpg: keyring `/root/.gnupg/secring.gpg' created 07:49:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:49:44 gpg: CAST5 encrypted data 07:49:44 gpg: encrypted with 1 passphrase 07:49:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:49:44 + mkdir /home/jenkins 07:49:44 + mkdir /home/jenkins/sigul [Pipeline] sh 07:49:45 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 07:49:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:49:45 ---> sigul-install.sh 07:49:45 Sigul already installed; skipping installation. [Pipeline] sh 07:49:45 + git tag --list 07:49:45 1.0.0 07:49:45 v0.0.0 07:49:45 v1.1.0 07:49:45 v1.1.1 07:49:45 v1.2.2 07:49:45 v1.3.0 07:49:45 v1.3.1 07:49:45 v2.0.0 07:49:45 v2.1.0 07:49:45 v2.1.1 07:49:45 v2.1.1-dev.2 07:49:45 v2.1.1-dev.3 07:49:45 v2.2.0 07:49:45 v2.2.1-dev.1 07:49:45 v2.2.1-dev.2 07:49:45 v2.2.1-dev.3 07:49:45 v2.2.1-dev.4 07:49:45 v2.2.1-dev.5 07:49:45 v2.2.1-dev.6 07:49:45 v2.2.1-dev.7 07:49:45 v2.3.0-dev.10 07:49:45 v2.3.0-dev.11 07:49:45 v2.3.0-dev.12 07:49:45 v2.3.0-dev.13 07:49:45 v2.3.0-dev.14 07:49:45 v2.3.0-dev.15 07:49:45 v2.3.0-dev.16 07:49:45 v2.3.0-dev.17 07:49:45 v2.3.0-dev.18 07:49:45 v2.3.0-dev.19 07:49:45 v2.3.0-dev.20 07:49:45 v2.3.0-dev.7 07:49:45 v2.3.0-dev.8 07:49:45 v2.3.0-dev.9 [Pipeline] sh 07:49:46 + lftools sign git-tag v2.3.0-dev.20 07:49:46 Signing Git tag with Sigul... 07:49:46 Signing v2.3.0-dev.20 [Pipeline] echo 07:49:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:49:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:49:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:49:47 $ docker stop --time=1 bde40870bc30a3733299f3f0a30ccb9fccb8ac5c73fc38b69e21f25d3a44d19c 07:49:48 $ docker rm -f bde40870bc30a3733299f3f0a30ccb9fccb8ac5c73fc38b69e21f25d3a44d19c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:49:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:49 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:49 $ docker top 67a02a0492afb44a30daf27c22dfc005801bf25d3bea83fbbdd35202b2350d12 -eo pid,comm 07:49:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:49:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:49 [ssh-agent] Looking for ssh-agent implementation... 07:49:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:49 $ docker exec 67a02a0492afb44a30daf27c22dfc005801bf25d3bea83fbbdd35202b2350d12 ssh-agent 07:49:49 SSH_AUTH_SOCK=/tmp/ssh-hYAFoSLFijzn/agent.32 07:49:49 SSH_AGENT_PID=38 07:49:49 Running ssh-add (command line suppressed) 07:49:50 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12050149959727025544.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12050149959727025544.key) 07:49:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:50 + git semver bump pre 07:49:50 2022-10-24 07:49:50,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:50 2022-10-24 07:49:50,487 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 07:49:50 2022-10-24 07:49:50,487 [bump_version] DEBUG bumped version:2.3.0-dev.21 07:49:50 2022-10-24 07:49:50,487 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 07:49:50 2022-10-24 07:49:50,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:50 2022-10-24 07:49:50,487 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:50 2022-10-24 07:49:50,490 [execute] INFO git cat-file --batch-check 07:49:50 2022-10-24 07:49:50,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:50 2022-10-24 07:49:50,496 [execute] INFO git cat-file --batch 07:49:50 2022-10-24 07:49:50,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:50 2022-10-24 07:49:50,503 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:50 2.3.0-dev.21 [Pipeline] } 07:49:50 $ docker exec --env ******** --env ******** 67a02a0492afb44a30daf27c22dfc005801bf25d3bea83fbbdd35202b2350d12 ssh-agent -k 07:49:50 unset SSH_AUTH_SOCK; 07:49:50 unset SSH_AGENT_PID; 07:49:50 echo Agent pid 38 killed; 07:49:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:50 + git semver [Pipeline] } 07:49:51 $ docker stop --time=1 67a02a0492afb44a30daf27c22dfc005801bf25d3bea83fbbdd35202b2350d12 07:49:52 $ docker rm -f 67a02a0492afb44a30daf27c22dfc005801bf25d3bea83fbbdd35202b2350d12 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:53 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:49:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:49:53 $ docker top cd833d584c36a88629084702261798b25ce6ceb757e6f797f56af061d571cf51 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:53 [ssh-agent] Looking for ssh-agent implementation... 07:49:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:53 $ docker exec cd833d584c36a88629084702261798b25ce6ceb757e6f797f56af061d571cf51 ssh-agent 07:49:53 SSH_AUTH_SOCK=/tmp/ssh-DqSbO91O1Bvx/agent.33 07:49:53 SSH_AGENT_PID=39 07:49:53 Running ssh-add (command line suppressed) 07:49:54 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5078682009563542017.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5078682009563542017.key) 07:49:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:54 + git semver push 07:49:54 2022-10-24 07:49:54,526 [run_push] DEBUG push 07:49:54 2022-10-24 07:49:54,526 [execute] INFO git cat-file --batch-check 07:49:54 2022-10-24 07:49:54,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:54 2022-10-24 07:49:54,531 [execute] INFO git rev-list 4a206c4a2294147005823fd0c46d457c094a9463 -- 07:49:54 2022-10-24 07:49:54,532 [execute] DEBUG Popen(['git', 'rev-list', '4a206c4a2294147005823fd0c46d457c094a9463', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:54 2022-10-24 07:49:54,540 [execute] INFO git fetch -v origin 07:49:54 2022-10-24 07:49:54,540 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:49:55 2022-10-24 07:49:55,169 [run_push] DEBUG no remote changes detected 07:49:55 2022-10-24 07:49:55,169 [execute] INFO git push origin semver 07:49:55 2022-10-24 07:49:55,170 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:56 2022-10-24 07:49:56,007 [run_push] DEBUG push all version tags 07:49:56 2022-10-24 07:49:56,008 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:49:56 2022-10-24 07:49:56,008 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 07:49:57 2022-10-24 07:49:56,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 07:49:57 2.3.0-dev.21 [Pipeline] } 07:49:57 $ docker exec --env ******** --env ******** cd833d584c36a88629084702261798b25ce6ceb757e6f797f56af061d571cf51 ssh-agent -k 07:49:57 unset SSH_AUTH_SOCK; 07:49:57 unset SSH_AGENT_PID; 07:49:57 echo Agent pid 39 killed; 07:49:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:57 + git semver [Pipeline] } 07:49:57 $ docker stop --time=1 cd833d584c36a88629084702261798b25ce6ceb757e6f797f56af061d571cf51 07:49:59 $ docker rm -f cd833d584c36a88629084702261798b25ce6ceb757e6f797f56af061d571cf51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 07:49:59 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 07:49:59 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:49:59 total 16 07:49:59 drwxr-xr-x 3 root root 4096 Oct 24 07:36 . 07:49:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:49 .. 07:49:59 drwxr-xr-x 2 root root 4096 Oct 24 07:36 cost 07:49:59 -rw-r--r-- 1 root root 85 Oct 24 07:36 cost.csv 07:49:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:49:59 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 07:49:59 total 16 07:49:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:36 . 07:49:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:49 .. 07:49:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:36 cost 07:49:59 -rw-r--r-- 1 jenkins jenkins 85 Oct 24 07:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:49:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:50:00 ---> package-listing.sh 07:50:00 ++ facter osfamily 07:50:00 ++ tr '[:upper:]' '[:lower:]' 07:50:00 + OS_FAMILY=debian 07:50:00 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 07:50:00 + START_PACKAGES=/tmp/packages_start.txt 07:50:00 + END_PACKAGES=/tmp/packages_end.txt 07:50:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:50:00 + PACKAGES=/tmp/packages_start.txt 07:50:00 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:50:00 + PACKAGES=/tmp/packages_end.txt 07:50:00 + case "${OS_FAMILY}" in 07:50:00 + dpkg -l 07:50:00 + grep '^ii' 07:50:00 + '[' -f /tmp/packages_start.txt ']' 07:50:00 + '[' -f /tmp/packages_end.txt ']' 07:50:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:50:00 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 07:50:00 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 07:50:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 07:50:00 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:50:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:50:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:01 prd-ubuntu20.04-docker-8c-8g-9202 does not seem to be running inside a container 07:50:01 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:50:01 $ docker top fd518209ca8afb2088b8f9b4ea3805719e1b03bc77a6da316a079dac68304515 -eo pid,comm [Pipeline] { [Pipeline] sh 07:50:02 + touch /tmp/pre-build-complete [Pipeline] sh 07:50:02 + mkdir -p /var/log/sysstat [Pipeline] sh 07:50:02 + ls /var/log/sa-host 07:50:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:02 provisioning config files... 07:50:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config11520554025075687219tmp [Pipeline] { [Pipeline] echo 07:50:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:50:03 ---> create-netrc.sh [Pipeline] } 07:50:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:50:03 ---> python-tools-install.sh [Pipeline] echo 07:50:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:50:03 ---> sudo-logs.sh 07:50:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:50:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:50:04 ---> job-cost.sh 07:50:04 lf-activate-venv: SKIPPING 07:50:04 DEBUG: total: 0.2199999988079071 07:50:04 INFO: Retrieving Stack Cost... 07:50:04 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:05 INFO: Archiving Costs [Pipeline] echo 07:50:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:50:05 ---> logs-deploy.sh 07:50:05 lf-activate-venv: SKIPPING 07:50:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/51 07:50:05 INFO: archiving workspace using pattern(s): 07:50:06 Archives upload complete. 07:50:06 INFO: archiving logs to Nexus