Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2c7d09f47ef91aa804aada2f58e507595b834e57 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-ssh17919183839782469801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5751904425253247708.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh3916352317382488924.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12660083161313680031.key > 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-ssh10604000146126607337.key > 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.20 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-14467 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 > 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 2c7d09f47ef91aa804aada2f58e507595b834e57 (main) > 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 2c7d09f47ef91aa804aada2f58e507595b834e57 # timeout=10 Commit message: "Merge pull request #303 from jumpingliu/ignore-go-mods" > git rev-list --no-walk 99a3003bf1ce8196f615f02073f77889c060ae6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T05:32:59.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T05:32:59.846Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T05:32:59.864Z] ========================================================= [2023-05-08T05:32:59.864Z] EdgeX Global Pipelines Version Info [2023-05-08T05:32:59.865Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:33:00.579Z] ------------------- [2023-05-08T05:33:00.579Z] stable info: [2023-05-08T05:33:00.579Z] ------------------- [2023-05-08T05:33:00.579Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T05:33:00.579Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T05:33:00.579Z] Message: update stable to v1.0.249 [2023-05-08T05:33:01.148Z] ------------------- [2023-05-08T05:33:01.148Z] experimental info: [2023-05-08T05:33:01.148Z] ------------------- [2023-05-08T05:33:01.148Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T05:33:01.148Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T05:33:01.148Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T05:33:01.319Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-08T05:33:01.334Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-08T05:33:01.351Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T05:33:01.365Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T05:33:01.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T05:33:01.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T05:33:01.406Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T05:33:01.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-08T05:33:01.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T05:33:01.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T05:33:01.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T05:33:01.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-08T05:33:01.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T05:33:01.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T05:33:01.490Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T05:33:01.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T05:33:01.516Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T05:33:01.531Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T05:33:01.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T05:33:01.567Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T05:33:01.584Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-08T05:33:01.594Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-08T05:33:01.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T05:33:01.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T05:33:01.645Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T05:33:01.656Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T05:33:01.670Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T05:33:01.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-08T05:33:01.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-08T05:33:01.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-08T05:33:01.718Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] echo [2023-05-08T05:33:01.729Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c7d09f [Pipeline] echo [2023-05-08T05:33:01.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:33:01.785Z] provisioning config files... [2023-05-08T05:33:01.801Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config16849323787274223107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:33:02.106Z] ---> docker-login.sh [2023-05-08T05:33:02.106Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:33:02.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:02.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:02.367Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:02.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:02.367Z] [2023-05-08T05:33:02.367Z] Login Succeeded [2023-05-08T05:33:02.367Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:33:02.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:02.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:02.367Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:02.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:02.367Z] [2023-05-08T05:33:02.367Z] Login Succeeded [2023-05-08T05:33:02.367Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:33:02.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:02.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:02.650Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:02.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:02.650Z] [2023-05-08T05:33:02.650Z] Login Succeeded [2023-05-08T05:33:02.650Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:33:02.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:02.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:02.650Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:02.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:02.650Z] [2023-05-08T05:33:02.650Z] Login Succeeded [2023-05-08T05:33:02.650Z] docker.io [2023-05-08T05:33:02.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:02.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:02.913Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:02.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:02.913Z] [2023-05-08T05:33:02.913Z] Login Succeeded [2023-05-08T05:33:02.913Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:33:02.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T05:33:03.287Z] + git rev-list -1 --merges 2c7d09f47ef91aa804aada2f58e507595b834e57~1..2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] echo [2023-05-08T05:33:03.342Z] -----------> git rev-list -1 --merges 2c7d09f47ef91aa804aada2f58e507595b834e57~1..2c7d09f47ef91aa804aada2f58e507595b834e57 2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:33:03.342Z] 2c7d09f47ef91aa804aada2f58e507595b834e57 [false] [Pipeline] sh [2023-05-08T05:33:03.632Z] + git log --format=format:%s -1 2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] echo [2023-05-08T05:33:03.646Z] ========================================================= [2023-05-08T05:33:03.646Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T05:33:03.646Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:33:03.965Z] + git log --format=format:%s -1 2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] echo [2023-05-08T05:33:03.994Z] [semverPrep] GIT_COMMIT: 2c7d09f47ef91aa804aada2f58e507595b834e57, Commit Message: Merge pull request #303 from jumpingliu/ignore-go-mods [Pipeline] echo [2023-05-08T05:33:04.005Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T05:33:04.351Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:33:04.351Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T05:33:04.351Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T05:33:04.351Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T05:33:04.351Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T05:33:04.351Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T05:33:04.351Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:04.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:33:04.712Z] [2023-05-08T05:33:04.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:05.014Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:33:05.014Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T05:33:05.014Z] b85a868b505f: Pulling fs layer [2023-05-08T05:33:05.014Z] e2be974225ed: Pulling fs layer [2023-05-08T05:33:05.014Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T05:33:05.014Z] 988bab9f4d93: Pulling fs layer [2023-05-08T05:33:05.014Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T05:33:05.014Z] eaf3925da568: Pulling fs layer [2023-05-08T05:33:05.014Z] bab4dde63d76: Pulling fs layer [2023-05-08T05:33:05.014Z] bde34c3a00c8: Pulling fs layer [2023-05-08T05:33:05.014Z] b352a97aabf1: Pulling fs layer [2023-05-08T05:33:05.014Z] 4872d77fe225: Pulling fs layer [2023-05-08T05:33:05.014Z] 5851b861e8e6: Pulling fs layer [2023-05-08T05:33:05.014Z] bab4dde63d76: Waiting [2023-05-08T05:33:05.014Z] bde34c3a00c8: Waiting [2023-05-08T05:33:05.014Z] 5851b861e8e6: Waiting [2023-05-08T05:33:05.014Z] b352a97aabf1: Waiting [2023-05-08T05:33:05.014Z] 4872d77fe225: Waiting [2023-05-08T05:33:05.014Z] 988bab9f4d93: Waiting [2023-05-08T05:33:05.014Z] 1469e6f7b9e6: Waiting [2023-05-08T05:33:05.014Z] eaf3925da568: Waiting [2023-05-08T05:33:05.014Z] e2be974225ed: Download complete [2023-05-08T05:33:05.014Z] 988bab9f4d93: Verifying Checksum [2023-05-08T05:33:05.014Z] 988bab9f4d93: Download complete [2023-05-08T05:33:05.014Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T05:33:05.014Z] 1469e6f7b9e6: Download complete [2023-05-08T05:33:05.014Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T05:33:05.014Z] 339a4e72a1f5: Download complete [2023-05-08T05:33:05.272Z] eaf3925da568: Verifying Checksum [2023-05-08T05:33:05.272Z] eaf3925da568: Download complete [2023-05-08T05:33:05.272Z] bde34c3a00c8: Verifying Checksum [2023-05-08T05:33:05.272Z] bde34c3a00c8: Download complete [2023-05-08T05:33:05.272Z] b352a97aabf1: Download complete [2023-05-08T05:33:05.272Z] 4872d77fe225: Verifying Checksum [2023-05-08T05:33:05.272Z] 4872d77fe225: Download complete [2023-05-08T05:33:05.272Z] 5851b861e8e6: Download complete [2023-05-08T05:33:05.272Z] b85a868b505f: Download complete [2023-05-08T05:33:05.530Z] bab4dde63d76: Verifying Checksum [2023-05-08T05:33:06.465Z] b85a868b505f: Pull complete [2023-05-08T05:33:06.465Z] e2be974225ed: Pull complete [2023-05-08T05:33:07.037Z] 339a4e72a1f5: Pull complete [2023-05-08T05:33:07.037Z] 988bab9f4d93: Pull complete [2023-05-08T05:33:07.037Z] 1469e6f7b9e6: Pull complete [2023-05-08T05:33:07.296Z] eaf3925da568: Pull complete [2023-05-08T05:33:09.201Z] bab4dde63d76: Pull complete [2023-05-08T05:33:09.201Z] bde34c3a00c8: Pull complete [2023-05-08T05:33:09.201Z] b352a97aabf1: Pull complete [2023-05-08T05:33:09.201Z] 4872d77fe225: Pull complete [2023-05-08T05:33:09.460Z] 5851b861e8e6: Pull complete [2023-05-08T05:33:09.460Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T05:33:09.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:33:09.460Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:33:09.563Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:33:09.594Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:33:11.678Z] $ docker top f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 -eo pid,comm [2023-05-08T05:33:11.741Z] 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). [2023-05-08T05:33:11.741Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:33:11.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:33:11.780Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:33:11.906Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:33:11.908Z] $ docker exec f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 ssh-agent [2023-05-08T05:33:12.008Z] SSH_AUTH_SOCK=/tmp/ssh-P8BlRrr3zYP4/agent.33 [2023-05-08T05:33:12.008Z] SSH_AGENT_PID=39 [2023-05-08T05:33:12.014Z] Running ssh-add (command line suppressed) [2023-05-08T05:33:12.125Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14720567871481283503.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14720567871481283503.key) [2023-05-08T05:33:12.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:33:12.428Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T05:33:12.443Z] $ docker exec --env ******** --env ******** f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 ssh-agent -k [2023-05-08T05:33:12.537Z] unset SSH_AUTH_SOCK; [2023-05-08T05:33:12.537Z] unset SSH_AGENT_PID; [2023-05-08T05:33:12.537Z] echo Agent pid 39 killed; [2023-05-08T05:33:12.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T05:33:12.593Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:33:12.593Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:33:12.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:33:12.759Z] $ docker exec f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 ssh-agent [2023-05-08T05:33:12.879Z] SSH_AUTH_SOCK=/tmp/ssh-pw7NhkIZyfnV/agent.71 [2023-05-08T05:33:12.879Z] SSH_AGENT_PID=77 [2023-05-08T05:33:12.894Z] Running ssh-add (command line suppressed) [2023-05-08T05:33:12.990Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5321740712896816559.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5321740712896816559.key) [2023-05-08T05:33:13.004Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:33:13.299Z] + git semver init [2023-05-08T05:33:13.870Z] 2023-05-08 05:33:13,576 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T05:33:13.870Z] 2023-05-08 05:33:13,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-08T05:33:13.870Z] 2023-05-08 05:33:13,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-08T05:33:13.870Z] 2023-05-08 05:33:13,579 [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) [2023-05-08T05:33:14.439Z] 2023-05-08 05:33:14,304 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-08T05:33:14.439Z] 2023-05-08 05:33:14,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-08T05:33:14.439Z] 2023-05-08 05:33:14,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:33:14.439Z] 2023-05-08 05:33:14,305 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:33:14.439Z] 3.0.0-dev.20 [Pipeline] } [2023-05-08T05:33:14.448Z] $ docker exec --env ******** --env ******** f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 ssh-agent -k [2023-05-08T05:33:14.544Z] unset SSH_AUTH_SOCK; [2023-05-08T05:33:14.547Z] unset SSH_AGENT_PID; [2023-05-08T05:33:14.547Z] echo Agent pid 77 killed; [2023-05-08T05:33:14.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:33:14.858Z] + git semver [Pipeline] } [2023-05-08T05:33:15.129Z] $ docker stop --time=1 f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 [2023-05-08T05:33:16.541Z] $ docker rm -f --volumes f1174d3f0e4c4238351fbd14d98933b231061dcef41ac58fadda44a6e29d4a65 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:33:16.884Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T05:33:17.100Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T05:33:17.102Z] [edgeXSemver]: initialized semver on version 3.0.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 [2023-05-08T05:33:17.220Z] provisioning config files... [2023-05-08T05:33:17.229Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4056624467124885281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:33:17.526Z] ---> docker-login.sh [2023-05-08T05:33:17.526Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:33:17.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:17.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:17.526Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:17.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:17.526Z] [2023-05-08T05:33:17.526Z] Login Succeeded [2023-05-08T05:33:17.526Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:33:17.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:17.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:17.526Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:17.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:17.526Z] [2023-05-08T05:33:17.526Z] Login Succeeded [2023-05-08T05:33:17.526Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:33:17.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:17.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:17.785Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:17.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:17.785Z] [2023-05-08T05:33:17.785Z] Login Succeeded [2023-05-08T05:33:17.785Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:33:17.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:17.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:17.785Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:17.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:17.785Z] [2023-05-08T05:33:17.785Z] Login Succeeded [2023-05-08T05:33:17.785Z] docker.io [2023-05-08T05:33:18.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:33:18.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:33:18.044Z] Configure a credential helper to remove this warning. See [2023-05-08T05:33:18.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:33:18.044Z] [2023-05-08T05:33:18.044Z] Login Succeeded [2023-05-08T05:33:18.044Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:33:18.051Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T05:33:18.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:33:18.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:33:18.132Z] ========================================================= [2023-05-08T05:33:18.132Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T05:33:18.132Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:18.434Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T05:33:18.434Z] Sending build context to Docker daemon 5.806MB [2023-05-08T05:33:18.434Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:33:18.434Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T05:33:18.434Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T05:33:18.434Z] f56be85fc22e: Pulling fs layer [2023-05-08T05:33:18.434Z] 85791d961cd3: Pulling fs layer [2023-05-08T05:33:18.434Z] d694b5ae8c79: Pulling fs layer [2023-05-08T05:33:18.434Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T05:33:18.434Z] 4d19c01a9841: Pulling fs layer [2023-05-08T05:33:18.434Z] 9325e15d5711: Pulling fs layer [2023-05-08T05:33:18.434Z] 556b6ee489ea: Pulling fs layer [2023-05-08T05:33:18.434Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T05:33:18.434Z] 9325e15d5711: Waiting [2023-05-08T05:33:18.434Z] 9f32a84ed3da: Waiting [2023-05-08T05:33:18.434Z] 4d19c01a9841: Waiting [2023-05-08T05:33:18.434Z] 556b6ee489ea: Waiting [2023-05-08T05:33:18.434Z] c5a4b2cf53e6: Waiting [2023-05-08T05:33:18.434Z] 85791d961cd3: Verifying Checksum [2023-05-08T05:33:18.434Z] 85791d961cd3: Download complete [2023-05-08T05:33:18.434Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T05:33:18.434Z] 9f32a84ed3da: Download complete [2023-05-08T05:33:18.698Z] 4d19c01a9841: Verifying Checksum [2023-05-08T05:33:18.698Z] 4d19c01a9841: Download complete [2023-05-08T05:33:18.698Z] f56be85fc22e: Download complete [2023-05-08T05:33:18.698Z] 9325e15d5711: Verifying Checksum [2023-05-08T05:33:18.698Z] 9325e15d5711: Download complete [2023-05-08T05:33:18.957Z] f56be85fc22e: Pull complete [2023-05-08T05:33:19.216Z] 85791d961cd3: Pull complete [2023-05-08T05:33:19.216Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T05:33:19.216Z] c5a4b2cf53e6: Download complete [2023-05-08T05:33:19.216Z] d694b5ae8c79: Verifying Checksum [2023-05-08T05:33:19.216Z] d694b5ae8c79: Download complete [2023-05-08T05:33:19.475Z] 556b6ee489ea: Verifying Checksum [2023-05-08T05:33:19.475Z] 556b6ee489ea: Download complete [2023-05-08T05:33:22.767Z] d694b5ae8c79: Pull complete [2023-05-08T05:33:23.028Z] 9f32a84ed3da: Pull complete [2023-05-08T05:33:23.028Z] 4d19c01a9841: Pull complete [2023-05-08T05:33:23.028Z] 9325e15d5711: Pull complete [2023-05-08T05:33:25.555Z] 556b6ee489ea: Pull complete [2023-05-08T05:33:26.490Z] c5a4b2cf53e6: Pull complete [2023-05-08T05:33:26.490Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T05:33:26.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T05:33:26.490Z] ---> c4be618373d6 [2023-05-08T05:33:26.490Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:33:29.798Z] ---> Running in 5c74e0f942e0 [2023-05-08T05:33:29.798Z] Removing intermediate container 5c74e0f942e0 [2023-05-08T05:33:29.798Z] ---> dfb9e51a75ae [2023-05-08T05:33:29.798Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:33:29.798Z] ---> Running in 12f327a10286 [2023-05-08T05:33:29.798Z] Removing intermediate container 12f327a10286 [2023-05-08T05:33:29.798Z] ---> e3171dccdb69 [2023-05-08T05:33:29.798Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T05:33:30.057Z] ---> Running in 1ad5fd94248b [2023-05-08T05:33:30.057Z] Removing intermediate container 1ad5fd94248b [2023-05-08T05:33:30.057Z] ---> 980f12a64576 [2023-05-08T05:33:30.057Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T05:33:30.057Z] ---> Running in d6388207beec [2023-05-08T05:33:30.057Z] Removing intermediate container d6388207beec [2023-05-08T05:33:30.057Z] ---> 9aa7c7589ad8 [2023-05-08T05:33:30.057Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T05:33:30.057Z] ---> Running in b41c109f205b [2023-05-08T05:33:30.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:33:30.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:33:30.574Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T05:33:30.832Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T05:33:30.832Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T05:33:30.832Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T05:33:30.832Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:33:30.832Z] OK: 269 MiB in 57 packages [2023-05-08T05:33:31.400Z] Removing intermediate container b41c109f205b [2023-05-08T05:33:31.400Z] ---> d1098843ee10 [2023-05-08T05:33:31.400Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-08T05:33:31.400Z] ---> Running in 69e60f5d5592 [2023-05-08T05:33:31.400Z] Removing intermediate container 69e60f5d5592 [2023-05-08T05:33:31.400Z] ---> 97fd2626e5ce [2023-05-08T05:33:31.400Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-08T05:33:31.400Z] ---> eacb3c49cc69 [2023-05-08T05:33:31.400Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:33:31.400Z] ---> Running in 40d94d876761 [2023-05-08T05:33:32.194Z] Still waiting to schedule task [2023-05-08T05:33:32.194Z] ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T05:33:32.194Z] ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T05:33:32.194Z] ‘prd-ubuntu20.04-docker-8c-8g-14469’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-08T05:33:32.194Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14468’ is offline [2023-05-08T05:33:53.337Z] Removing intermediate container 40d94d876761 [2023-05-08T05:33:53.337Z] ---> fb9bc932f69d [2023-05-08T05:33:53.337Z] Step 11/12 : COPY . . [2023-05-08T05:33:53.337Z] ---> 490db9bf79e4 [2023-05-08T05:33:53.337Z] Step 12/12 : RUN ${MAKE} [2023-05-08T05:33:53.337Z] ---> Running in 29068dea5bbb [2023-05-08T05:33:53.596Z] noop [2023-05-08T05:33:53.855Z] Removing intermediate container 29068dea5bbb [2023-05-08T05:33:53.855Z] ---> 4c55bc8aa714 [2023-05-08T05:33:53.855Z] Successfully built 4c55bc8aa714 [2023-05-08T05:33:53.855Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:54.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:33:54.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:33:54.241Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:33:54.269Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T05:33:54.603Z] $ docker top a8201181830b7c0a7284d9b53a7997be5202faf2e484e3f4fb026f00e15c97de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:33:54.940Z] + go version [2023-05-08T05:33:54.940Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T05:33:54.948Z] $ docker stop --time=1 a8201181830b7c0a7284d9b53a7997be5202faf2e484e3f4fb026f00e15c97de [2023-05-08T05:33:56.209Z] $ docker rm -f --volumes a8201181830b7c0a7284d9b53a7997be5202faf2e484e3f4fb026f00e15c97de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:33:56.606Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:33:56.606Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:33:56.673Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:33:56.701Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T05:33:57.042Z] $ docker top cd958043bdc7e36ce817d951adcb3550595acc61a44514a93d1828a26425782d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:33:57.385Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:33:57.680Z] + make test [2023-05-08T05:33:57.680Z] go test ./... -coverprofile=coverage.out [2023-05-08T05:34:02.950Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-08T05:34:12.917Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-08T05:34:12.917Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements [2023-05-08T05:34:18.178Z] go vet ./... [2023-05-08T05:34:21.458Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:34:21.458Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:34:21.458Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:34:21.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:34:21.479Z] $ docker stop --time=1 cd958043bdc7e36ce817d951adcb3550595acc61a44514a93d1828a26425782d [2023-05-08T05:34:24.186Z] $ docker rm -f --volumes cd958043bdc7e36ce817d951adcb3550595acc61a44514a93d1828a26425782d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:34:24.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:34:24.685Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T05:34:25.099Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:34:25.383Z] + ls -al . [2023-05-08T05:34:25.383Z] total 172 [2023-05-08T05:34:25.383Z] drwxrwxr-x 9 jenkins jenkins 4096 May 8 05:33 . [2023-05-08T05:34:25.383Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 .. [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 6 May 8 05:32 .dockerignore [2023-05-08T05:34:25.383Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:33 .git [2023-05-08T05:34:25.383Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 .github [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 328 May 8 05:32 .gitignore [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:32 .golangci.yml [2023-05-08T05:34:25.383Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:33 .semver [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 8 05:32 Attribution.txt [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 8 05:32 CHANGELOG.md [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 8 05:32 Dockerfile [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:32 GOVERNANCE.md [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 656 May 8 05:32 Jenkinsfile [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:32 LICENSE [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 8 05:32 Makefile [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 05:32 OWNERS.md [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 8 05:32 README.md [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:33 VERSION [2023-05-08T05:34:25.383Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 bin [2023-05-08T05:34:25.383Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 cmd [2023-05-08T05:34:25.383Z] -rw-r--r-- 1 jenkins jenkins 8837 May 8 05:34 coverage.out [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 8 05:32 go.mod [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 8 05:32 go.sum [2023-05-08T05:34:25.383Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 internal [2023-05-08T05:34:25.383Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 snap [2023-05-08T05:34:25.383Z] -rw-rw-r-- 1 jenkins jenkins 228 May 8 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:25.687Z] + 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=2c7d09f47ef91aa804aada2f58e507595b834e57 --label arch=amd64 --label version=3.0.0-dev.20 . [2023-05-08T05:34:25.687Z] Sending build context to Docker daemon 5.816MB [2023-05-08T05:34:25.687Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:34:25.687Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-08T05:34:25.687Z] ---> 4c55bc8aa714 [2023-05-08T05:34:25.687Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:34:25.687Z] ---> Running in 1b5b388acdfc [2023-05-08T05:34:25.949Z] Removing intermediate container 1b5b388acdfc [2023-05-08T05:34:25.949Z] ---> d81628bc6013 [2023-05-08T05:34:25.949Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:34:25.949Z] ---> Running in fd4d1503fa45 [2023-05-08T05:34:25.949Z] Removing intermediate container fd4d1503fa45 [2023-05-08T05:34:25.949Z] ---> c96904756411 [2023-05-08T05:34:25.949Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T05:34:25.949Z] ---> Running in 0fe4297dd786 [2023-05-08T05:34:25.949Z] Removing intermediate container 0fe4297dd786 [2023-05-08T05:34:25.949Z] ---> 57248834a0c5 [2023-05-08T05:34:25.949Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T05:34:25.949Z] ---> Running in e1d44b688a95 [2023-05-08T05:34:26.207Z] Removing intermediate container e1d44b688a95 [2023-05-08T05:34:26.207Z] ---> f4a7bb3e06ec [2023-05-08T05:34:26.207Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T05:34:26.207Z] ---> Running in 7ae55b8c02d6 [2023-05-08T05:34:26.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:26.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:26.726Z] OK: 269 MiB in 57 packages [2023-05-08T05:34:26.985Z] Removing intermediate container 7ae55b8c02d6 [2023-05-08T05:34:26.985Z] ---> 026348e5cd36 [2023-05-08T05:34:26.985Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-08T05:34:26.985Z] ---> Running in 057f16348690 [2023-05-08T05:34:27.244Z] Removing intermediate container 057f16348690 [2023-05-08T05:34:27.244Z] ---> 7e705d488f97 [2023-05-08T05:34:27.244Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-08T05:34:27.244Z] ---> 75de67190ad9 [2023-05-08T05:34:27.244Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:34:27.244Z] ---> Running in d2ed67db20fb [2023-05-08T05:34:28.191Z] Removing intermediate container d2ed67db20fb [2023-05-08T05:34:28.191Z] ---> 8b2f468327cf [2023-05-08T05:34:28.191Z] Step 11/24 : COPY . . [2023-05-08T05:34:28.450Z] ---> fdbc04fcd8f4 [2023-05-08T05:34:28.450Z] Step 12/24 : RUN ${MAKE} [2023-05-08T05:34:28.450Z] ---> Running in 685f217b5098 [2023-05-08T05:34:28.708Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-08T05:34:46.926Z] Removing intermediate container 685f217b5098 [2023-05-08T05:34:46.926Z] ---> a472d93bfb77 [2023-05-08T05:34:46.926Z] Step 13/24 : FROM alpine:3.17 [2023-05-08T05:34:46.926Z] 3.17: Pulling from library/alpine [2023-05-08T05:34:46.926Z] f56be85fc22e: Already exists [2023-05-08T05:34:46.926Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:34:46.926Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:34:46.926Z] ---> 9ed4aefc74f6 [2023-05-08T05:34:46.926Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-08T05:34:46.926Z] ---> Running in 3c0aa2216a5b [2023-05-08T05:34:46.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:46.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:34:46.926Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T05:34:46.926Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:34:46.926Z] OK: 7 MiB in 16 packages [2023-05-08T05:34:46.926Z] Removing intermediate container 3c0aa2216a5b [2023-05-08T05:34:46.926Z] ---> 02e6fa3b33fe [2023-05-08T05:34:46.926Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-08T05:34:47.184Z] ---> dff8072b6a44 [2023-05-08T05:34:47.184Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-08T05:34:47.184Z] ---> b25bcb1ce724 [2023-05-08T05:34:47.184Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-08T05:34:47.443Z] ---> 1980e046009d [2023-05-08T05:34:47.443Z] Step 18/24 : EXPOSE 59993 [2023-05-08T05:34:47.443Z] ---> Running in 4039ece66f20 [2023-05-08T05:34:47.443Z] Removing intermediate container 4039ece66f20 [2023-05-08T05:34:47.443Z] ---> d16d3a26053e [2023-05-08T05:34:47.443Z] Step 19/24 : EXPOSE 161 [2023-05-08T05:34:47.443Z] ---> Running in 28d31db5afab [2023-05-08T05:34:47.443Z] Removing intermediate container 28d31db5afab [2023-05-08T05:34:47.443Z] ---> 7ed62d123903 [2023-05-08T05:34:47.443Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-08T05:34:47.443Z] ---> Running in d258f4571396 [2023-05-08T05:34:47.702Z] Removing intermediate container d258f4571396 [2023-05-08T05:34:47.702Z] ---> 5d60681043ec [2023-05-08T05:34:47.702Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T05:34:47.702Z] ---> Running in 8bc5dd7ef97f [2023-05-08T05:34:47.702Z] Removing intermediate container 8bc5dd7ef97f [2023-05-08T05:34:47.702Z] ---> 1e565feae28e [2023-05-08T05:34:47.702Z] Step 22/24 : LABEL arch=amd64 [2023-05-08T05:34:47.702Z] ---> Running in f3eb46413833 [2023-05-08T05:34:47.702Z] Removing intermediate container f3eb46413833 [2023-05-08T05:34:47.702Z] ---> 10150a6cdf39 [2023-05-08T05:34:47.702Z] Step 23/24 : LABEL git_sha=2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:34:47.702Z] ---> Running in d8a870d1e525 [2023-05-08T05:34:47.961Z] Removing intermediate container d8a870d1e525 [2023-05-08T05:34:47.961Z] ---> 3e9c6b311a3f [2023-05-08T05:34:47.961Z] Step 24/24 : LABEL version=3.0.0-dev.20 [2023-05-08T05:34:47.961Z] ---> Running in 91d9dc41d8b5 [2023-05-08T05:34:47.961Z] Removing intermediate container 91d9dc41d8b5 [2023-05-08T05:34:47.961Z] ---> f9885447fd26 [2023-05-08T05:34:47.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:34:47.961Z] Successfully built f9885447fd26 [2023-05-08T05:34:47.961Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:34:48.061Z] provisioning config files... [2023-05-08T05:34:48.068Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9666346445567755886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:34:48.361Z] ---> docker-login.sh [2023-05-08T05:34:48.361Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:34:48.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:48.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:48.361Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:48.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:48.361Z] [2023-05-08T05:34:48.361Z] Login Succeeded [2023-05-08T05:34:48.361Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:34:48.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:48.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:48.361Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:48.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:48.361Z] [2023-05-08T05:34:48.361Z] Login Succeeded [2023-05-08T05:34:48.361Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:34:48.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:48.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:48.622Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:48.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:48.622Z] [2023-05-08T05:34:48.622Z] Login Succeeded [2023-05-08T05:34:48.622Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:34:48.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:48.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:48.622Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:48.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:48.622Z] [2023-05-08T05:34:48.622Z] Login Succeeded [2023-05-08T05:34:48.622Z] docker.io [2023-05-08T05:34:48.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:34:48.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:34:48.883Z] Configure a credential helper to remove this warning. See [2023-05-08T05:34:48.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:34:48.883Z] [2023-05-08T05:34:48.883Z] Login Succeeded [2023-05-08T05:34:48.883Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:34:48.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:34:48.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:34:48.932Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-08T05:34:48.932Z] 2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:34:48.932Z] latest [2023-05-08T05:34:48.932Z] 3.0.0-dev.20 [2023-05-08T05:34:48.932Z] 2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:34:48.932Z] main [2023-05-08T05:34:48.932Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:49.239Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:49.541Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:34:49.541Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-08T05:34:49.541Z] 161268bc6a3a: Preparing [2023-05-08T05:34:49.541Z] a98cea207b05: Preparing [2023-05-08T05:34:49.541Z] 0ff74c213a3c: Preparing [2023-05-08T05:34:49.541Z] 1700560322bd: Preparing [2023-05-08T05:34:49.541Z] f1417ff83b31: Preparing [2023-05-08T05:34:49.541Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:49.541Z] 161268bc6a3a: Pushed [2023-05-08T05:34:49.541Z] 1700560322bd: Pushed [2023-05-08T05:34:49.541Z] a98cea207b05: Pushed [2023-05-08T05:34:52.400Z] 0ff74c213a3c: Pushed [2023-05-08T05:34:52.662Z] 2c7d09f47ef91aa804aada2f58e507595b834e57: digest: sha256:ca72c6615374b9ae642141a1d58c7ba53acface7868efa5fe28286a3701ce4c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:52.971Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:53.274Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-08T05:34:53.274Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-08T05:34:53.274Z] 161268bc6a3a: Preparing [2023-05-08T05:34:53.274Z] a98cea207b05: Preparing [2023-05-08T05:34:53.274Z] 0ff74c213a3c: Preparing [2023-05-08T05:34:53.274Z] 1700560322bd: Preparing [2023-05-08T05:34:53.274Z] f1417ff83b31: Preparing [2023-05-08T05:34:53.274Z] 1700560322bd: Layer already exists [2023-05-08T05:34:53.274Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:53.274Z] a98cea207b05: Layer already exists [2023-05-08T05:34:53.274Z] 161268bc6a3a: Layer already exists [2023-05-08T05:34:53.274Z] 0ff74c213a3c: Layer already exists [2023-05-08T05:34:53.274Z] latest: digest: sha256:ca72c6615374b9ae642141a1d58c7ba53acface7868efa5fe28286a3701ce4c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:53.581Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:53.881Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.20 [2023-05-08T05:34:53.881Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-08T05:34:53.881Z] 161268bc6a3a: Preparing [2023-05-08T05:34:53.881Z] a98cea207b05: Preparing [2023-05-08T05:34:53.881Z] 0ff74c213a3c: Preparing [2023-05-08T05:34:53.881Z] 1700560322bd: Preparing [2023-05-08T05:34:53.881Z] f1417ff83b31: Preparing [2023-05-08T05:34:53.881Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:53.881Z] 1700560322bd: Layer already exists [2023-05-08T05:34:53.881Z] 0ff74c213a3c: Layer already exists [2023-05-08T05:34:53.881Z] a98cea207b05: Layer already exists [2023-05-08T05:34:53.881Z] 161268bc6a3a: Layer already exists [2023-05-08T05:34:53.881Z] 3.0.0-dev.20: digest: sha256:ca72c6615374b9ae642141a1d58c7ba53acface7868efa5fe28286a3701ce4c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:54.185Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:54.491Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:34:54.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-08T05:34:54.491Z] 161268bc6a3a: Preparing [2023-05-08T05:34:54.491Z] a98cea207b05: Preparing [2023-05-08T05:34:54.491Z] 0ff74c213a3c: Preparing [2023-05-08T05:34:54.491Z] 1700560322bd: Preparing [2023-05-08T05:34:54.491Z] f1417ff83b31: Preparing [2023-05-08T05:34:54.491Z] a98cea207b05: Layer already exists [2023-05-08T05:34:54.491Z] 1700560322bd: Layer already exists [2023-05-08T05:34:54.491Z] 0ff74c213a3c: Layer already exists [2023-05-08T05:34:54.491Z] 161268bc6a3a: Layer already exists [2023-05-08T05:34:54.491Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:54.491Z] 2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20: digest: sha256:ca72c6615374b9ae642141a1d58c7ba53acface7868efa5fe28286a3701ce4c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:54.793Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:55.096Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-08T05:34:55.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-08T05:34:55.096Z] 161268bc6a3a: Preparing [2023-05-08T05:34:55.096Z] a98cea207b05: Preparing [2023-05-08T05:34:55.096Z] 0ff74c213a3c: Preparing [2023-05-08T05:34:55.096Z] 1700560322bd: Preparing [2023-05-08T05:34:55.096Z] f1417ff83b31: Preparing [2023-05-08T05:34:55.096Z] f1417ff83b31: Layer already exists [2023-05-08T05:34:55.096Z] a98cea207b05: Layer already exists [2023-05-08T05:34:55.096Z] 161268bc6a3a: Layer already exists [2023-05-08T05:34:55.096Z] 1700560322bd: Layer already exists [2023-05-08T05:34:55.096Z] 0ff74c213a3c: Layer already exists [2023-05-08T05:34:55.096Z] main: digest: sha256:ca72c6615374b9ae642141a1d58c7ba53acface7868efa5fe28286a3701ce4c6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:34:55.143Z] ===================================================== [Pipeline] echo [2023-05-08T05:34:55.151Z] taggedImages: [2023-05-08T05:34:55.151Z] - nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:34:55.151Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-08T05:34:55.151Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.20 [2023-05-08T05:34:55.151Z] - nexus3.edgexfoundry.org:10004/device-snmp:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:34:55.151Z] - 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 [2023-05-08T05:34:55.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:34:55.615Z] [2023-05-08T05:34:55.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:34:55.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:34:55.907Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T05:34:55.907Z] 5eb5b503b376: Pulling fs layer [2023-05-08T05:34:55.907Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T05:34:55.907Z] ec43610c2a17: Pulling fs layer [2023-05-08T05:34:55.907Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T05:34:55.907Z] 33b1e0a273af: Pulling fs layer [2023-05-08T05:34:55.907Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T05:34:55.907Z] 2f39f015ded8: Pulling fs layer [2023-05-08T05:34:55.907Z] 3a2ae6a8a46f: Waiting [2023-05-08T05:34:55.907Z] 33b1e0a273af: Waiting [2023-05-08T05:34:55.907Z] 2f39f015ded8: Waiting [2023-05-08T05:34:55.907Z] 5c69ac0246d0: Verifying Checksum [2023-05-08T05:34:55.907Z] 5c69ac0246d0: Download complete [2023-05-08T05:34:55.907Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T05:34:55.907Z] 3a2ae6a8a46f: Download complete [2023-05-08T05:34:55.907Z] 33b1e0a273af: Verifying Checksum [2023-05-08T05:34:55.907Z] 33b1e0a273af: Download complete [2023-05-08T05:34:55.907Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T05:34:55.907Z] 5d3b04190fa2: Download complete [2023-05-08T05:34:55.907Z] ec43610c2a17: Verifying Checksum [2023-05-08T05:34:55.907Z] ec43610c2a17: Download complete [2023-05-08T05:34:56.165Z] 5eb5b503b376: Verifying Checksum [2023-05-08T05:34:56.165Z] 5eb5b503b376: Download complete [2023-05-08T05:34:56.732Z] 2f39f015ded8: Download complete [2023-05-08T05:34:57.298Z] 5eb5b503b376: Pull complete [2023-05-08T05:34:57.298Z] 5c69ac0246d0: Pull complete [2023-05-08T05:34:57.555Z] ec43610c2a17: Pull complete [2023-05-08T05:34:57.555Z] 3a2ae6a8a46f: Pull complete [2023-05-08T05:34:57.812Z] 33b1e0a273af: Pull complete [2023-05-08T05:34:57.812Z] 5d3b04190fa2: Pull complete [2023-05-08T05:35:01.998Z] 2f39f015ded8: Pull complete [2023-05-08T05:35:01.998Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T05:35:01.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:35:01.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:35:02.071Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:35:02.093Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:35:04.813Z] $ docker top 1d8c2b6877da96087180bf797401bce17951778f8a64ab9b16591245be4581b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:35:05.166Z] ---> job-cost.sh [2023-05-08T05:35:05.166Z] lf-activate-venv: SKIPPING [2023-05-08T05:35:05.166Z] INFO: No Stack... [2023-05-08T05:35:05.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T05:35:05.683Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:35:05.962Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-08T05:35:05.962Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:35:05.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [2023-05-08T05:35:05.980Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] did not exist. Created. [2023-05-08T05:35:05.980Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T05:35:06.278Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T05:35:06.304Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:35:06.310Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:35:06.323Z] $ docker stop --time=1 1d8c2b6877da96087180bf797401bce17951778f8a64ab9b16591245be4581b2 [2023-05-08T05:35:07.477Z] $ docker rm -f --volumes 1d8c2b6877da96087180bf797401bce17951778f8a64ab9b16591245be4581b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T05:36:16.132Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14473 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-08T05:36:16.147Z] Running in /w/workspace/device-snmp-go/77 [Pipeline] { [Pipeline] checkout [2023-05-08T05:36:16.177Z] Selected Git installation does not exist. Using Default [2023-05-08T05:36:16.177Z] The recommended git tool is: NONE [2023-05-08T05:36:22.041Z] using credential edgex-jenkins-ssh [2023-05-08T05:36:22.060Z] Cloning the remote Git repository [2023-05-08T05:36:22.115Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-08T05:36:22.233Z] > git init /w/workspace/device-snmp-go/77 # timeout=10 [2023-05-08T05:36:22.413Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-08T05:36:22.415Z] > git --version # timeout=10 [2023-05-08T05:36:22.438Z] > git --version # 'git version 2.25.1' [2023-05-08T05:36:22.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T05:36:22.616Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:36:24.737Z] Avoid second fetch [2023-05-08T05:36:24.738Z] Checking out Revision 2c7d09f47ef91aa804aada2f58e507595b834e57 (main) [2023-05-08T05:36:23.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-08T05:36:23.729Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:36:24.761Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T05:36:24.856Z] > git checkout -f 2c7d09f47ef91aa804aada2f58e507595b834e57 # timeout=10 [2023-05-08T05:36:25.464Z] Commit message: "Merge pull request #303 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:36:26.774Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T05:36:26.774Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:36:26.774Z] Dload Upload Total Spent Left Speed [2023-05-08T05:36:26.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-05-08T05:36:27.430Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T05:36:27.778Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T05:36:27.779Z] + sudo tee /etc/docker/daemon.new [2023-05-08T05:36:27.779Z] { [2023-05-08T05:36:27.779Z] "registry-mirrors": [ [2023-05-08T05:36:27.779Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T05:36:27.779Z] ], [2023-05-08T05:36:27.779Z] "bip": "10.250.0.254/24", [2023-05-08T05:36:27.779Z] "hosts": [ [2023-05-08T05:36:27.779Z] "tcp://0.0.0.0:5555", [2023-05-08T05:36:27.779Z] "unix:///var/run/docker.sock" [2023-05-08T05:36:27.779Z] ], [2023-05-08T05:36:27.779Z] "mtu": 1458, [2023-05-08T05:36:27.779Z] "selinux-enabled": true, [2023-05-08T05:36:27.779Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T05:36:27.779Z] } [Pipeline] sh [2023-05-08T05:36:28.130Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T05:36:28.492Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:36:47.112Z] provisioning config files... [2023-05-08T05:36:47.148Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/77@tmp/config5021434871294555154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:36:47.544Z] ---> docker-login.sh [2023-05-08T05:36:47.544Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:36:48.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:36:48.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:36:48.138Z] Configure a credential helper to remove this warning. See [2023-05-08T05:36:48.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:36:48.138Z] [2023-05-08T05:36:48.138Z] Login Succeeded [2023-05-08T05:36:48.138Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:36:48.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:36:48.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:36:48.687Z] Configure a credential helper to remove this warning. See [2023-05-08T05:36:48.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:36:48.687Z] [2023-05-08T05:36:48.687Z] Login Succeeded [2023-05-08T05:36:48.687Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:36:48.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:36:49.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:36:49.234Z] Configure a credential helper to remove this warning. See [2023-05-08T05:36:49.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:36:49.234Z] [2023-05-08T05:36:49.234Z] Login Succeeded [2023-05-08T05:36:49.234Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:36:49.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:36:49.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:36:49.511Z] Configure a credential helper to remove this warning. See [2023-05-08T05:36:49.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:36:49.511Z] [2023-05-08T05:36:49.511Z] Login Succeeded [2023-05-08T05:36:49.511Z] docker.io [2023-05-08T05:36:49.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:36:50.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:36:50.059Z] Configure a credential helper to remove this warning. See [2023-05-08T05:36:50.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:36:50.059Z] [2023-05-08T05:36:50.059Z] Login Succeeded [2023-05-08T05:36:50.059Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:36:50.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T05:36:50.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:36:50.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:36:50.432Z] ========================================================= [2023-05-08T05:36:50.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T05:36:50.432Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:36:50.802Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T05:36:52.234Z] Sending build context to Docker daemon 3.008MB [2023-05-08T05:36:52.234Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:36:52.234Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-08T05:36:52.506Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T05:36:52.506Z] c41833b44d91: Pulling fs layer [2023-05-08T05:36:52.506Z] ed15518f5707: Pulling fs layer [2023-05-08T05:36:52.506Z] feae8fd75edb: Pulling fs layer [2023-05-08T05:36:52.506Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T05:36:52.506Z] 3cdef696dda3: Pulling fs layer [2023-05-08T05:36:52.506Z] 2ced38df9373: Pulling fs layer [2023-05-08T05:36:52.506Z] 58f1dce35555: Pulling fs layer [2023-05-08T05:36:52.506Z] 242c74f7c9fa: Waiting [2023-05-08T05:36:52.506Z] 3cdef696dda3: Waiting [2023-05-08T05:36:52.506Z] 2ced38df9373: Waiting [2023-05-08T05:36:52.506Z] 58f1dce35555: Waiting [2023-05-08T05:36:52.506Z] ed15518f5707: Download complete [2023-05-08T05:36:52.506Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T05:36:52.506Z] 242c74f7c9fa: Download complete [2023-05-08T05:36:52.506Z] 3cdef696dda3: Download complete [2023-05-08T05:36:52.789Z] c41833b44d91: Verifying Checksum [2023-05-08T05:36:52.789Z] c41833b44d91: Download complete [2023-05-08T05:36:53.778Z] c41833b44d91: Pull complete [2023-05-08T05:36:54.050Z] 58f1dce35555: Verifying Checksum [2023-05-08T05:36:54.050Z] 58f1dce35555: Download complete [2023-05-08T05:36:54.648Z] ed15518f5707: Pull complete [2023-05-08T05:36:55.625Z] feae8fd75edb: Download complete [2023-05-08T05:36:55.625Z] 2ced38df9373: Verifying Checksum [2023-05-08T05:36:55.625Z] 2ced38df9373: Download complete [2023-05-08T05:37:08.000Z] feae8fd75edb: Pull complete [2023-05-08T05:37:08.000Z] 242c74f7c9fa: Pull complete [2023-05-08T05:37:08.000Z] 3cdef696dda3: Pull complete [2023-05-08T05:37:14.710Z] 2ced38df9373: Pull complete [2023-05-08T05:37:17.330Z] 58f1dce35555: Pull complete [2023-05-08T05:37:17.330Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T05:37:17.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T05:37:17.330Z] ---> fadd8f120f05 [2023-05-08T05:37:17.330Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:37:19.302Z] ---> Running in 9faaa3cb8478 [2023-05-08T05:37:19.302Z] Removing intermediate container 9faaa3cb8478 [2023-05-08T05:37:19.302Z] ---> fa27129056fd [2023-05-08T05:37:19.302Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:37:19.573Z] ---> Running in 68538b35fb7c [2023-05-08T05:37:19.846Z] Removing intermediate container 68538b35fb7c [2023-05-08T05:37:19.846Z] ---> 4493ba5b279b [2023-05-08T05:37:19.846Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T05:37:20.118Z] ---> Running in c9a3f18ce4ee [2023-05-08T05:37:20.390Z] Removing intermediate container c9a3f18ce4ee [2023-05-08T05:37:20.390Z] ---> 20a111a9b5b3 [2023-05-08T05:37:20.390Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T05:37:20.390Z] ---> Running in d5cc18550a77 [2023-05-08T05:37:20.982Z] Removing intermediate container d5cc18550a77 [2023-05-08T05:37:20.982Z] ---> 7a2e9093ae3a [2023-05-08T05:37:20.982Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T05:37:20.982Z] ---> Running in 2a269dd683f8 [2023-05-08T05:37:22.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:37:23.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:37:24.517Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-08T05:37:24.517Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-08T05:37:24.517Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-08T05:37:24.517Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-08T05:37:24.517Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:37:24.517Z] OK: 268 MiB in 57 packages [2023-05-08T05:37:25.494Z] Removing intermediate container 2a269dd683f8 [2023-05-08T05:37:25.494Z] ---> 14768fd970bd [2023-05-08T05:37:25.494Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-08T05:37:25.766Z] ---> Running in 87a5abfa315d [2023-05-08T05:37:26.039Z] Removing intermediate container 87a5abfa315d [2023-05-08T05:37:26.039Z] ---> 73b25eb75db3 [2023-05-08T05:37:26.039Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-08T05:37:26.637Z] ---> 62001a3ccde5 [2023-05-08T05:37:26.637Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:37:26.914Z] ---> Running in 9cf5a970d1ba [2023-05-08T05:38:34.869Z] Removing intermediate container 9cf5a970d1ba [2023-05-08T05:38:34.869Z] ---> b612c1356f8c [2023-05-08T05:38:34.869Z] Step 11/12 : COPY . . [2023-05-08T05:38:34.869Z] ---> a24a5fe29b55 [2023-05-08T05:38:34.869Z] Step 12/12 : RUN ${MAKE} [2023-05-08T05:38:34.869Z] ---> Running in a19c3169d517 [2023-05-08T05:38:34.869Z] noop [2023-05-08T05:38:34.869Z] Removing intermediate container a19c3169d517 [2023-05-08T05:38:34.869Z] ---> a82c88680e40 [2023-05-08T05:38:34.869Z] Successfully built a82c88680e40 [2023-05-08T05:38:34.869Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:38:35.218Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:38:35.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:38:35.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-14473 does not seem to be running inside a container [2023-05-08T05:38:35.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/77 -v /w/workspace/device-snmp-go/77:/w/workspace/device-snmp-go/77:rw,z -v /w/workspace/device-snmp-go/77@tmp:/w/workspace/device-snmp-go/77@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 [2023-05-08T05:38:36.783Z] $ docker top 28080d2e0f5b843ae762ff36c00be4cc39962b172c98476a2ffdb30752eb635a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:38:37.636Z] + go version [2023-05-08T05:38:37.637Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T05:38:37.661Z] $ docker stop --time=1 28080d2e0f5b843ae762ff36c00be4cc39962b172c98476a2ffdb30752eb635a [2023-05-08T05:38:39.327Z] $ docker rm -f --volumes 28080d2e0f5b843ae762ff36c00be4cc39962b172c98476a2ffdb30752eb635a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:38:39.902Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:38:39.902Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:38:40.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-14473 does not seem to be running inside a container [2023-05-08T05:38:40.194Z] $ 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/77 -v /w/workspace/device-snmp-go/77:/w/workspace/device-snmp-go/77:rw,z -v /w/workspace/device-snmp-go/77@tmp:/w/workspace/device-snmp-go/77@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 [2023-05-08T05:38:41.473Z] $ docker top 23f7af0f54befc84b118dd20d7c9035c356b0330adbb01626ae178cf6d187564 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:38:42.326Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/77 [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:38:42.987Z] + make test [2023-05-08T05:38:42.987Z] go test ./... -coverprofile=coverage.out [2023-05-08T05:39:21.885Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-08T05:41:59.408Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-08T05:41:59.408Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.051s coverage: 0.0% of statements [2023-05-08T05:41:59.408Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T05:41:59.408Z] go vet ./... [2023-05-08T05:42:17.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:42:17.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:42:17.658Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:42:17.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:42:17.694Z] $ docker stop --time=1 23f7af0f54befc84b118dd20d7c9035c356b0330adbb01626ae178cf6d187564 [2023-05-08T05:42:19.628Z] $ docker rm -f --volumes 23f7af0f54befc84b118dd20d7c9035c356b0330adbb01626ae178cf6d187564 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:42:20.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:42:20.871Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T05:42:21.392Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:42:21.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:42:22.099Z] + ls -al . [2023-05-08T05:42:22.099Z] total 168 [2023-05-08T05:42:22.099Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:38 . [2023-05-08T05:42:22.099Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:36 .. [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 6 May 8 05:36 .dockerignore [2023-05-08T05:42:22.099Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:36 .git [2023-05-08T05:42:22.099Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:36 .github [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 328 May 8 05:36 .gitignore [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 41 May 8 05:36 .golangci.yml [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 8 05:36 Attribution.txt [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 8 05:36 CHANGELOG.md [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 8 05:36 Dockerfile [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:36 GOVERNANCE.md [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 656 May 8 05:36 Jenkinsfile [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 8 05:36 LICENSE [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 8 05:36 Makefile [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 620 May 8 05:36 OWNERS.md [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 8 05:36 README.md [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:33 VERSION [2023-05-08T05:42:22.099Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:36 bin [2023-05-08T05:42:22.099Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:36 cmd [2023-05-08T05:42:22.099Z] -rw-r--r-- 1 jenkins jenkins 8837 May 8 05:41 coverage.out [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 8 05:36 go.mod [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 8 05:36 go.sum [2023-05-08T05:42:22.099Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:36 internal [2023-05-08T05:42:22.099Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:36 snap [2023-05-08T05:42:22.099Z] -rw-rw-r-- 1 jenkins jenkins 228 May 8 05:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:42:22.447Z] + 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=2c7d09f47ef91aa804aada2f58e507595b834e57 --label arch=arm64 --label version=3.0.0-dev.20 . [2023-05-08T05:42:22.721Z] Sending build context to Docker daemon 3.018MB [2023-05-08T05:42:22.721Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:42:22.721Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-08T05:42:22.721Z] ---> a82c88680e40 [2023-05-08T05:42:22.721Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-08T05:42:22.992Z] ---> Running in 9c1cb19a8e19 [2023-05-08T05:42:23.266Z] Removing intermediate container 9c1cb19a8e19 [2023-05-08T05:42:23.266Z] ---> 8541778186ee [2023-05-08T05:42:23.266Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-08T05:42:23.537Z] ---> Running in 37edf9416716 [2023-05-08T05:42:23.807Z] Removing intermediate container 37edf9416716 [2023-05-08T05:42:23.807Z] ---> 9b85d0db6f3b [2023-05-08T05:42:23.807Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-08T05:42:23.807Z] ---> Running in f0335f552a8d [2023-05-08T05:42:24.090Z] Removing intermediate container f0335f552a8d [2023-05-08T05:42:24.090Z] ---> fc7fa7e2ce06 [2023-05-08T05:42:24.090Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-08T05:42:24.365Z] ---> Running in faa60b76d6b2 [2023-05-08T05:42:24.635Z] Removing intermediate container faa60b76d6b2 [2023-05-08T05:42:24.635Z] ---> 68e53e71626a [2023-05-08T05:42:24.635Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-08T05:42:24.635Z] ---> Running in 76c6752db53b [2023-05-08T05:42:26.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:42:26.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:42:28.088Z] OK: 268 MiB in 57 packages [2023-05-08T05:42:30.696Z] Removing intermediate container 76c6752db53b [2023-05-08T05:42:30.696Z] ---> d78caef2d264 [2023-05-08T05:42:30.696Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-08T05:42:30.696Z] ---> Running in 767f73e0bad4 [2023-05-08T05:42:31.290Z] Removing intermediate container 767f73e0bad4 [2023-05-08T05:42:31.290Z] ---> 35176d8b0c60 [2023-05-08T05:42:31.290Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-08T05:42:31.877Z] ---> d5cc0e137367 [2023-05-08T05:42:31.877Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:42:31.877Z] ---> Running in fd9dd88c083a [2023-05-08T05:42:34.485Z] Removing intermediate container fd9dd88c083a [2023-05-08T05:42:34.485Z] ---> 8206fae5ba0a [2023-05-08T05:42:34.485Z] Step 11/24 : COPY . . [2023-05-08T05:42:35.912Z] ---> 45f42bac4007 [2023-05-08T05:42:35.912Z] Step 12/24 : RUN ${MAKE} [2023-05-08T05:42:35.912Z] ---> Running in 2093e81db4bb [2023-05-08T05:42:36.886Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-08T05:45:13.653Z] Removing intermediate container 2093e81db4bb [2023-05-08T05:45:13.653Z] ---> 3629f3d4ee36 [2023-05-08T05:45:13.653Z] Step 13/24 : FROM alpine:3.17 [2023-05-08T05:45:13.653Z] 3.17: Pulling from library/alpine [2023-05-08T05:45:13.653Z] c41833b44d91: Already exists [2023-05-08T05:45:13.653Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:45:13.653Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:45:13.653Z] ---> 51e60588ff2c [2023-05-08T05:45:13.653Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-08T05:45:13.653Z] ---> Running in edcfd4545296 [2023-05-08T05:45:13.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:45:13.653Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:45:13.653Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-08T05:45:13.653Z] Executing busybox-1.35.0-r29.trigger [2023-05-08T05:45:13.653Z] OK: 8 MiB in 16 packages [2023-05-08T05:45:13.653Z] Removing intermediate container edcfd4545296 [2023-05-08T05:45:13.653Z] ---> 30ec969fc762 [2023-05-08T05:45:13.653Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-08T05:45:15.065Z] ---> 33a25274f3be [2023-05-08T05:45:15.065Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-08T05:45:15.652Z] ---> f4bf9bcb072b [2023-05-08T05:45:15.652Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-08T05:45:16.236Z] ---> 961c930dd451 [2023-05-08T05:45:16.236Z] Step 18/24 : EXPOSE 59993 [2023-05-08T05:45:16.236Z] ---> Running in 79bf3a9763fb [2023-05-08T05:45:16.504Z] Removing intermediate container 79bf3a9763fb [2023-05-08T05:45:16.504Z] ---> 74ac68d3a670 [2023-05-08T05:45:16.504Z] Step 19/24 : EXPOSE 161 [2023-05-08T05:45:16.504Z] ---> Running in babea4f55ce9 [2023-05-08T05:45:16.773Z] Removing intermediate container babea4f55ce9 [2023-05-08T05:45:16.773Z] ---> aeae78858599 [2023-05-08T05:45:16.773Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-08T05:45:17.041Z] ---> Running in cf6515209fc2 [2023-05-08T05:45:17.310Z] Removing intermediate container cf6515209fc2 [2023-05-08T05:45:17.310Z] ---> aac6ee449c17 [2023-05-08T05:45:17.310Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T05:45:17.310Z] ---> Running in 68fb5ba1cb4c [2023-05-08T05:45:17.578Z] Removing intermediate container 68fb5ba1cb4c [2023-05-08T05:45:17.578Z] ---> 8f7b9f0634a4 [2023-05-08T05:45:17.578Z] Step 22/24 : LABEL arch=arm64 [2023-05-08T05:45:17.846Z] ---> Running in 6b0a41c3e5bc [2023-05-08T05:45:18.114Z] Removing intermediate container 6b0a41c3e5bc [2023-05-08T05:45:18.114Z] ---> 49519633db62 [2023-05-08T05:45:18.114Z] Step 23/24 : LABEL git_sha=2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:45:18.114Z] ---> Running in 55d50139d420 [2023-05-08T05:45:18.382Z] Removing intermediate container 55d50139d420 [2023-05-08T05:45:18.382Z] ---> 5c2b69835fd1 [2023-05-08T05:45:18.382Z] Step 24/24 : LABEL version=3.0.0-dev.20 [2023-05-08T05:45:18.382Z] ---> Running in aa835f1a22e7 [2023-05-08T05:45:18.966Z] Removing intermediate container aa835f1a22e7 [2023-05-08T05:45:18.966Z] ---> 3005b93f77fc [2023-05-08T05:45:18.966Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:45:18.966Z] Successfully built 3005b93f77fc [2023-05-08T05:45:18.966Z] 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 [2023-05-08T05:45:19.068Z] provisioning config files... [2023-05-08T05:45:19.085Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/77@tmp/config11906844650395530001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:19.422Z] ---> docker-login.sh [2023-05-08T05:45:19.422Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:45:19.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:45:19.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:45:19.689Z] Configure a credential helper to remove this warning. See [2023-05-08T05:45:19.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:45:19.689Z] [2023-05-08T05:45:19.689Z] Login Succeeded [2023-05-08T05:45:19.689Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:45:19.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:45:20.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:45:20.228Z] Configure a credential helper to remove this warning. See [2023-05-08T05:45:20.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:45:20.228Z] [2023-05-08T05:45:20.228Z] Login Succeeded [2023-05-08T05:45:20.228Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:45:20.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:45:20.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:45:20.496Z] Configure a credential helper to remove this warning. See [2023-05-08T05:45:20.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:45:20.496Z] [2023-05-08T05:45:20.496Z] Login Succeeded [2023-05-08T05:45:20.496Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:45:20.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:45:21.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:45:21.034Z] Configure a credential helper to remove this warning. See [2023-05-08T05:45:21.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:45:21.034Z] [2023-05-08T05:45:21.034Z] Login Succeeded [2023-05-08T05:45:21.034Z] docker.io [2023-05-08T05:45:21.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:45:21.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:45:21.620Z] Configure a credential helper to remove this warning. See [2023-05-08T05:45:21.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:45:21.620Z] [2023-05-08T05:45:21.620Z] Login Succeeded [2023-05-08T05:45:21.620Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:45:21.634Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:45:21.671Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:45:21.698Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-08T05:45:21.698Z] 2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:45:21.698Z] latest [2023-05-08T05:45:21.698Z] 3.0.0-dev.20 [2023-05-08T05:45:21.698Z] 2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:45:21.698Z] main [2023-05-08T05:45:21.698Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:22.060Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:22.425Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:45:22.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-08T05:45:22.425Z] 0cf1602c04f0: Preparing [2023-05-08T05:45:22.425Z] 3e36a0454d09: Preparing [2023-05-08T05:45:22.425Z] 49522c17813b: Preparing [2023-05-08T05:45:22.425Z] 1b4b4bf9ef5c: Preparing [2023-05-08T05:45:22.425Z] 26cbea5cba74: Preparing [2023-05-08T05:45:22.425Z] 26cbea5cba74: Layer already exists [2023-05-08T05:45:22.714Z] 3e36a0454d09: Pushed [2023-05-08T05:45:22.714Z] 0cf1602c04f0: Pushed [2023-05-08T05:45:22.714Z] 1b4b4bf9ef5c: Pushed [2023-05-08T05:45:28.072Z] 49522c17813b: Pushed [2023-05-08T05:45:28.072Z] 2c7d09f47ef91aa804aada2f58e507595b834e57: digest: sha256:bc61a09a9a76779e2f1c8045a7ae7613736368042e08f49fa120d360554db15b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:28.422Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:28.764Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-08T05:45:28.764Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-08T05:45:28.764Z] 0cf1602c04f0: Preparing [2023-05-08T05:45:28.764Z] 3e36a0454d09: Preparing [2023-05-08T05:45:28.764Z] 49522c17813b: Preparing [2023-05-08T05:45:28.764Z] 1b4b4bf9ef5c: Preparing [2023-05-08T05:45:28.764Z] 26cbea5cba74: Preparing [2023-05-08T05:45:28.764Z] 0cf1602c04f0: Layer already exists [2023-05-08T05:45:28.764Z] 3e36a0454d09: Layer already exists [2023-05-08T05:45:28.764Z] 26cbea5cba74: Layer already exists [2023-05-08T05:45:28.764Z] 1b4b4bf9ef5c: Layer already exists [2023-05-08T05:45:28.764Z] 49522c17813b: Layer already exists [2023-05-08T05:45:28.764Z] latest: digest: sha256:bc61a09a9a76779e2f1c8045a7ae7613736368042e08f49fa120d360554db15b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:29.384Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:29.747Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.20 [2023-05-08T05:45:29.747Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-08T05:45:29.747Z] 0cf1602c04f0: Preparing [2023-05-08T05:45:29.747Z] 3e36a0454d09: Preparing [2023-05-08T05:45:29.747Z] 49522c17813b: Preparing [2023-05-08T05:45:29.747Z] 1b4b4bf9ef5c: Preparing [2023-05-08T05:45:29.747Z] 26cbea5cba74: Preparing [2023-05-08T05:45:29.747Z] 0cf1602c04f0: Layer already exists [2023-05-08T05:45:29.747Z] 26cbea5cba74: Layer already exists [2023-05-08T05:45:29.747Z] 49522c17813b: Layer already exists [2023-05-08T05:45:29.747Z] 1b4b4bf9ef5c: Layer already exists [2023-05-08T05:45:29.747Z] 3e36a0454d09: Layer already exists [2023-05-08T05:45:29.747Z] 3.0.0-dev.20: digest: sha256:bc61a09a9a76779e2f1c8045a7ae7613736368042e08f49fa120d360554db15b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:30.094Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:30.439Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:45:30.439Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-08T05:45:30.439Z] 0cf1602c04f0: Preparing [2023-05-08T05:45:30.439Z] 3e36a0454d09: Preparing [2023-05-08T05:45:30.439Z] 49522c17813b: Preparing [2023-05-08T05:45:30.439Z] 1b4b4bf9ef5c: Preparing [2023-05-08T05:45:30.439Z] 26cbea5cba74: Preparing [2023-05-08T05:45:30.439Z] 26cbea5cba74: Layer already exists [2023-05-08T05:45:30.439Z] 49522c17813b: Layer already exists [2023-05-08T05:45:30.439Z] 0cf1602c04f0: Layer already exists [2023-05-08T05:45:30.439Z] 3e36a0454d09: Layer already exists [2023-05-08T05:45:30.439Z] 1b4b4bf9ef5c: Layer already exists [2023-05-08T05:45:30.439Z] 2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20: digest: sha256:bc61a09a9a76779e2f1c8045a7ae7613736368042e08f49fa120d360554db15b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:31.057Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:31.394Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-08T05:45:31.394Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-08T05:45:31.394Z] 0cf1602c04f0: Preparing [2023-05-08T05:45:31.394Z] 3e36a0454d09: Preparing [2023-05-08T05:45:31.394Z] 49522c17813b: Preparing [2023-05-08T05:45:31.394Z] 1b4b4bf9ef5c: Preparing [2023-05-08T05:45:31.394Z] 26cbea5cba74: Preparing [2023-05-08T05:45:31.394Z] 1b4b4bf9ef5c: Layer already exists [2023-05-08T05:45:31.394Z] 49522c17813b: Layer already exists [2023-05-08T05:45:31.394Z] 3e36a0454d09: Layer already exists [2023-05-08T05:45:31.394Z] 0cf1602c04f0: Layer already exists [2023-05-08T05:45:31.394Z] 26cbea5cba74: Layer already exists [2023-05-08T05:45:31.660Z] main: digest: sha256:bc61a09a9a76779e2f1c8045a7ae7613736368042e08f49fa120d360554db15b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-08T05:45:31.703Z] ===================================================== [Pipeline] echo [2023-05-08T05:45:31.709Z] taggedImages: [2023-05-08T05:45:31.709Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57 [2023-05-08T05:45:31.709Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-08T05:45:31.709Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.20 [2023-05-08T05:45:31.709Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2c7d09f47ef91aa804aada2f58e507595b834e57-3.0.0-dev.20 [2023-05-08T05:45:31.709Z] - 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 [2023-05-08T05:45:32.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:45:32.060Z] [2023-05-08T05:45:32.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:45:32.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:45:32.387Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T05:45:32.387Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T05:45:32.387Z] 04944245beec: Pulling fs layer [2023-05-08T05:45:32.387Z] 699f458cf7ca: Pulling fs layer [2023-05-08T05:45:32.387Z] 765212b225bb: Pulling fs layer [2023-05-08T05:45:32.387Z] f23df028b6ca: Pulling fs layer [2023-05-08T05:45:32.387Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T05:45:32.387Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T05:45:32.387Z] f23df028b6ca: Waiting [2023-05-08T05:45:32.387Z] 765212b225bb: Waiting [2023-05-08T05:45:32.387Z] 2437ff75d9bd: Waiting [2023-05-08T05:45:32.387Z] d65c8cfc05b1: Waiting [2023-05-08T05:45:32.654Z] 04944245beec: Verifying Checksum [2023-05-08T05:45:32.654Z] 04944245beec: Download complete [2023-05-08T05:45:32.654Z] 765212b225bb: Download complete [2023-05-08T05:45:32.654Z] f23df028b6ca: Verifying Checksum [2023-05-08T05:45:32.654Z] f23df028b6ca: Download complete [2023-05-08T05:45:32.654Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T05:45:32.654Z] d65c8cfc05b1: Download complete [2023-05-08T05:45:32.654Z] 699f458cf7ca: Verifying Checksum [2023-05-08T05:45:32.654Z] 699f458cf7ca: Download complete [2023-05-08T05:45:33.242Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T05:45:33.242Z] 8998bd30e6a1: Download complete [2023-05-08T05:45:35.182Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T05:45:35.182Z] 2437ff75d9bd: Download complete [2023-05-08T05:45:37.136Z] 8998bd30e6a1: Pull complete [2023-05-08T05:45:37.403Z] 04944245beec: Pull complete [2023-05-08T05:45:41.660Z] 699f458cf7ca: Pull complete [2023-05-08T05:45:41.660Z] 765212b225bb: Pull complete [2023-05-08T05:45:42.244Z] f23df028b6ca: Pull complete [2023-05-08T05:45:42.510Z] d65c8cfc05b1: Pull complete [2023-05-08T05:45:54.806Z] 2437ff75d9bd: Pull complete [2023-05-08T05:45:54.806Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T05:45:54.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:45:54.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:45:54.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-14473 does not seem to be running inside a container [2023-05-08T05:45:55.029Z] $ 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/77 -v /w/workspace/device-snmp-go/77:/w/workspace/device-snmp-go/77:rw,z -v /w/workspace/device-snmp-go/77@tmp:/w/workspace/device-snmp-go/77@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 [2023-05-08T05:45:57.332Z] $ docker top 9ae50c0bef3647eb5e7177608b1db71f3c0d2808658f2159772fe5b38c4fdb59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:45:57.821Z] ---> job-cost.sh [2023-05-08T05:45:58.084Z] lf-activate-venv: SKIPPING [2023-05-08T05:45:58.084Z] INFO: No Stack... [2023-05-08T05:45:58.664Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T05:45:59.615Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:45:59.926Z] + cat /w/workspace/device-snmp-go/77/archives/cost.csv [2023-05-08T05:45:59.926Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:45:59.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [2023-05-08T05:45:59.993Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] did not exist. Created. [2023-05-08T05:45:59.993Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T05:46:00.325Z] /w/workspace/device-snmp-go/77@tmp/durable-0bbf31dd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T05:46:00.659Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T05:46:00.673Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T05:46:00.719Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:46:00.727Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:46:00.755Z] $ docker stop --time=1 9ae50c0bef3647eb5e7177608b1db71f3c0d2808658f2159772fe5b38c4fdb59 [2023-05-08T05:46:03.619Z] $ docker rm -f --volumes 9ae50c0bef3647eb5e7177608b1db71f3c0d2808658f2159772fe5b38c4fdb59 [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 [2023-05-08T05:46:04.162Z] provisioning config files... [2023-05-08T05:46:04.167Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config17447778388394541309tmp [Pipeline] { [Pipeline] sh [2023-05-08T05:46:04.451Z] + set +x [2023-05-08T05:46:04.451Z] + curl -s https://codecov.io/bash [2023-05-08T05:46:04.451Z] + bash -s -- [2023-05-08T05:46:04.451Z] [2023-05-08T05:46:04.451Z] _____ _ [2023-05-08T05:46:04.451Z] / ____| | | [2023-05-08T05:46:04.451Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T05:46:04.451Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T05:46:04.451Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T05:46:04.451Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T05:46:04.451Z] Bash-1.0.6 [2023-05-08T05:46:04.451Z] [2023-05-08T05:46:04.451Z] [2023-05-08T05:46:04.451Z] ==> git version 2.25.1 found [2023-05-08T05:46:04.451Z] ==> 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 [2023-05-08T05:46:04.451Z] Release-Date: 2020-01-08 [2023-05-08T05:46:04.451Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-08T05:46:04.451Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T05:46:04.451Z] ==> Jenkins CI detected. [2023-05-08T05:46:04.451Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-08T05:46:04.451Z] project root: . [2023-05-08T05:46:04.451Z] --> token set from env [2023-05-08T05:46:04.451Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T05:46:04.451Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T05:46:04.451Z] ==> Python coveragepy not found [2023-05-08T05:46:04.451Z] ==> Searching for coverage reports in: [2023-05-08T05:46:04.451Z] + . [2023-05-08T05:46:04.451Z] -> Found 1 reports [2023-05-08T05:46:04.451Z] ==> Detecting git/mercurial file structure [2023-05-08T05:46:04.451Z] ==> Reading reports [2023-05-08T05:46:04.451Z] + ./coverage.out bytes=8837 [2023-05-08T05:46:04.451Z] ==> Appending adjustments [2023-05-08T05:46:04.451Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T05:46:04.709Z] + Found adjustments [2023-05-08T05:46:04.710Z] ==> Gzipping contents [2023-05-08T05:46:04.710Z] 4.0K /tmp/codecov.4FIMPM.gz [2023-05-08T05:46:04.710Z] ==> Uploading reports [2023-05-08T05:46:04.710Z] url: https://codecov.io [2023-05-08T05:46:04.710Z] query: branch=main&commit=2c7d09f47ef91aa804aada2f58e507595b834e57&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-08T05:46:04.710Z] -> Pinging Codecov [2023-05-08T05:46:04.710Z] 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=2c7d09f47ef91aa804aada2f58e507595b834e57&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-08T05:46:04.710Z] -> Uploading to [2023-05-08T05:46:04.710Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/6C56EA5C29638FB4528AC87E60AF5AE0/2c7d09f47ef91aa804aada2f58e507595b834e57/2a65a448-f4e1-4cdd-9d0f-53a17b7aae4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=68d929ebc1c7151b597b5e3fe6371b6406b8c7d7c469dbe6f87b36dd18984765 [2023-05-08T05:46:04.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:46:04.710Z] Dload Upload Total Spent Left Speed [2023-05-08T05:46:04.969Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7495 --:--:-- --:--:-- --:--:-- 7495 [2023-05-08T05:46:04.969Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] } [2023-05-08T05:46:04.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-08T05:46:05.082Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-08T05:46:05.097Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:05.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:46:05.389Z] [2023-05-08T05:46:05.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:05.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:46:05.688Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-08T05:46:05.688Z] df9b9388f04a: Pulling fs layer [2023-05-08T05:46:05.688Z] 52dc419b0ee2: Pulling fs layer [2023-05-08T05:46:05.688Z] 25bc292e5bac: Pulling fs layer [2023-05-08T05:46:05.688Z] 114826534d7a: Pulling fs layer [2023-05-08T05:46:05.688Z] 4657fd5d0bcf: Pulling fs layer [2023-05-08T05:46:05.688Z] 6ad1cebc031e: Pulling fs layer [2023-05-08T05:46:05.688Z] 8a3aa393b2d8: Pulling fs layer [2023-05-08T05:46:05.688Z] 4657fd5d0bcf: Waiting [2023-05-08T05:46:05.688Z] 6ad1cebc031e: Waiting [2023-05-08T05:46:05.688Z] 8a3aa393b2d8: Waiting [2023-05-08T05:46:05.688Z] 114826534d7a: Waiting [2023-05-08T05:46:05.688Z] 25bc292e5bac: Verifying Checksum [2023-05-08T05:46:05.688Z] 25bc292e5bac: Download complete [2023-05-08T05:46:05.688Z] 52dc419b0ee2: Download complete [2023-05-08T05:46:05.688Z] 4657fd5d0bcf: Verifying Checksum [2023-05-08T05:46:05.688Z] 4657fd5d0bcf: Download complete [2023-05-08T05:46:05.688Z] df9b9388f04a: Verifying Checksum [2023-05-08T05:46:05.947Z] 6ad1cebc031e: Verifying Checksum [2023-05-08T05:46:05.947Z] 6ad1cebc031e: Download complete [2023-05-08T05:46:05.947Z] df9b9388f04a: Pull complete [2023-05-08T05:46:05.947Z] 52dc419b0ee2: Pull complete [2023-05-08T05:46:05.947Z] 25bc292e5bac: Pull complete [2023-05-08T05:46:06.516Z] 114826534d7a: Verifying Checksum [2023-05-08T05:46:06.516Z] 114826534d7a: Download complete [2023-05-08T05:46:06.516Z] 8a3aa393b2d8: Verifying Checksum [2023-05-08T05:46:06.516Z] 8a3aa393b2d8: Download complete [2023-05-08T05:46:09.796Z] 114826534d7a: Pull complete [2023-05-08T05:46:09.796Z] 4657fd5d0bcf: Pull complete [2023-05-08T05:46:10.054Z] 6ad1cebc031e: Pull complete [2023-05-08T05:46:12.581Z] 8a3aa393b2d8: Pull complete [2023-05-08T05:46:12.581Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-08T05:46:12.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-08T05:46:12.581Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:12.662Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:12.690Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-08T05:46:16.129Z] $ docker top dbb17c5a05ebb106d1c0f9fe1eb5e353b21d97ae9a66b94ff79972fb649360b1 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-08T05:46:16.199Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-08T05:46:16.476Z] + set -o pipefail [2023-05-08T05:46:16.476Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/dea43f41-f5ec-4b70-889f-a3103142a347 [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] [2023-05-08T05:46:20.662Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-08T05:46:20.662Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-08T05:46:20.662Z] More details here: https://snyk.co/ue1NS [2023-05-08T05:46:20.662Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-08T05:46:20.662Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-08T05:46:20.670Z] $ docker stop --time=1 dbb17c5a05ebb106d1c0f9fe1eb5e353b21d97ae9a66b94ff79972fb649360b1 [2023-05-08T05:46:23.458Z] $ docker rm -f --volumes dbb17c5a05ebb106d1c0f9fe1eb5e353b21d97ae9a66b94ff79972fb649360b1 [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 [2023-05-08T05:46:24.151Z] + git log --format=format:%s -1 2c7d09f47ef91aa804aada2f58e507595b834e57 [Pipeline] sh [2023-05-08T05:46:24.450Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:46:24.450Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:24.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:46:24.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:24.817Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:24.842Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:46:25.189Z] $ docker top e50b4a6bb95b28cd771aa91f79256f69e329e70b28fd44430ff5c32da04c9bb0 -eo pid,comm [2023-05-08T05:46:25.238Z] 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). [2023-05-08T05:46:25.238Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:46:25.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:46:25.282Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:46:25.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:46:25.401Z] $ docker exec e50b4a6bb95b28cd771aa91f79256f69e329e70b28fd44430ff5c32da04c9bb0 ssh-agent [2023-05-08T05:46:25.514Z] SSH_AUTH_SOCK=/tmp/ssh-riX6h5Vg0zcO/agent.32 [2023-05-08T05:46:25.514Z] SSH_AGENT_PID=38 [2023-05-08T05:46:25.519Z] Running ssh-add (command line suppressed) [2023-05-08T05:46:25.606Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18020972490238734216.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_18020972490238734216.key) [2023-05-08T05:46:25.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:46:25.908Z] + git semver tag [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,088 [run_tag] DEBUG tag force:False [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,088 [check_head_tag] DEBUG check head tag [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,090 [execute] INFO git cat-file --batch-check [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,094 [execute] INFO git cat-file --batch [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,094 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,115 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,115 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:46:26.167Z] 2023-05-08 05:46:26,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:26.167Z] 3.0.0-dev.20 [Pipeline] } [2023-05-08T05:46:26.172Z] $ docker exec --env ******** --env ******** e50b4a6bb95b28cd771aa91f79256f69e329e70b28fd44430ff5c32da04c9bb0 ssh-agent -k [2023-05-08T05:46:26.268Z] unset SSH_AUTH_SOCK; [2023-05-08T05:46:26.268Z] unset SSH_AGENT_PID; [2023-05-08T05:46:26.268Z] echo Agent pid 38 killed; [2023-05-08T05:46:26.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:46:26.591Z] + git semver [Pipeline] } [2023-05-08T05:46:26.862Z] $ docker stop --time=1 e50b4a6bb95b28cd771aa91f79256f69e329e70b28fd44430ff5c32da04c9bb0 [2023-05-08T05:46:28.174Z] $ docker rm -f --volumes e50b4a6bb95b28cd771aa91f79256f69e329e70b28fd44430ff5c32da04c9bb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:28.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:46:28.565Z] [2023-05-08T05:46:28.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:28.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:46:28.859Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-08T05:46:28.859Z] ab5ef0e58194: Pulling fs layer [2023-05-08T05:46:28.859Z] 9712f1f96733: Pulling fs layer [2023-05-08T05:46:28.859Z] 63f879dbbcfc: Pulling fs layer [2023-05-08T05:46:28.859Z] 0d9ebad4ef96: Pulling fs layer [2023-05-08T05:46:28.859Z] e9a5061849ea: Pulling fs layer [2023-05-08T05:46:28.859Z] d747dcd14b5f: Pulling fs layer [2023-05-08T05:46:28.859Z] 2de7ff778b66: Pulling fs layer [2023-05-08T05:46:28.859Z] 0d9ebad4ef96: Waiting [2023-05-08T05:46:28.859Z] e9a5061849ea: Waiting [2023-05-08T05:46:28.859Z] d747dcd14b5f: Waiting [2023-05-08T05:46:28.859Z] 2de7ff778b66: Waiting [2023-05-08T05:46:29.118Z] 63f879dbbcfc: Verifying Checksum [2023-05-08T05:46:29.118Z] 63f879dbbcfc: Download complete [2023-05-08T05:46:29.118Z] e9a5061849ea: Verifying Checksum [2023-05-08T05:46:29.118Z] e9a5061849ea: Download complete [2023-05-08T05:46:29.118Z] d747dcd14b5f: Verifying Checksum [2023-05-08T05:46:29.118Z] d747dcd14b5f: Download complete [2023-05-08T05:46:29.374Z] 0d9ebad4ef96: Verifying Checksum [2023-05-08T05:46:29.374Z] 0d9ebad4ef96: Download complete [2023-05-08T05:46:29.374Z] 2de7ff778b66: Verifying Checksum [2023-05-08T05:46:29.374Z] 2de7ff778b66: Download complete [2023-05-08T05:46:29.374Z] ab5ef0e58194: Verifying Checksum [2023-05-08T05:46:29.374Z] ab5ef0e58194: Download complete [2023-05-08T05:46:31.905Z] ab5ef0e58194: Pull complete [2023-05-08T05:46:31.905Z] 9712f1f96733: Pull complete [2023-05-08T05:46:32.470Z] 63f879dbbcfc: Pull complete [2023-05-08T05:46:35.752Z] 0d9ebad4ef96: Pull complete [2023-05-08T05:46:35.752Z] e9a5061849ea: Pull complete [2023-05-08T05:46:35.752Z] d747dcd14b5f: Pull complete [2023-05-08T05:46:36.687Z] 2de7ff778b66: Pull complete [2023-05-08T05:46:36.687Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-08T05:46:36.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-08T05:46:36.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:36.757Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:36.779Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-08T05:46:40.207Z] $ docker top 0c23bad5552a2817355a31659dc57e34ecc277930a4e86d827f6f6f46c4119ab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:46:40.278Z] provisioning config files... [2023-05-08T05:46:40.284Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config528024951549349417tmp [2023-05-08T05:46:40.294Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15781752798437974627tmp [2023-05-08T05:46:40.305Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6575750120464772189tmp [Pipeline] { [Pipeline] echo [2023-05-08T05:46:40.317Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:40.597Z] ---> sigul-configuration.sh [2023-05-08T05:46:40.597Z] gpg: directory `/root/.gnupg' created [2023-05-08T05:46:40.597Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-08T05:46:40.597Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-08T05:46:40.597Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-08T05:46:40.597Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-08T05:46:40.597Z] gpg: CAST5 encrypted data [2023-05-08T05:46:40.597Z] gpg: encrypted with 1 passphrase [2023-05-08T05:46:40.597Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-08T05:46:40.884Z] + mkdir /home/jenkins [2023-05-08T05:46:40.884Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-08T05:46:41.170Z] + 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 [2023-05-08T05:46:41.178Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:41.462Z] ---> sigul-install.sh [2023-05-08T05:46:41.462Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-08T05:46:41.751Z] + git tag --list [2023-05-08T05:46:41.751Z] 1.0.0 [2023-05-08T05:46:41.751Z] v0.0.0 [2023-05-08T05:46:41.751Z] v1.1.0 [2023-05-08T05:46:41.751Z] v1.1.1 [2023-05-08T05:46:41.751Z] v1.2.2 [2023-05-08T05:46:41.751Z] v1.3.0 [2023-05-08T05:46:41.751Z] v1.3.1 [2023-05-08T05:46:41.751Z] v2.0.0 [2023-05-08T05:46:41.751Z] v2.1.0 [2023-05-08T05:46:41.751Z] v2.1.1 [2023-05-08T05:46:41.751Z] v2.1.1-dev.2 [2023-05-08T05:46:41.751Z] v2.1.1-dev.3 [2023-05-08T05:46:41.751Z] v2.2.0 [2023-05-08T05:46:41.751Z] v2.2.1-dev.1 [2023-05-08T05:46:41.751Z] v2.2.1-dev.2 [2023-05-08T05:46:41.751Z] v2.2.1-dev.3 [2023-05-08T05:46:41.751Z] v2.2.1-dev.4 [2023-05-08T05:46:41.751Z] v2.2.1-dev.5 [2023-05-08T05:46:41.751Z] v2.2.1-dev.6 [2023-05-08T05:46:41.751Z] v2.2.1-dev.7 [2023-05-08T05:46:41.751Z] v2.3.0 [2023-05-08T05:46:41.751Z] v2.3.0-dev.10 [2023-05-08T05:46:41.751Z] v2.3.0-dev.11 [2023-05-08T05:46:41.751Z] v2.3.0-dev.12 [2023-05-08T05:46:41.751Z] v2.3.0-dev.13 [2023-05-08T05:46:41.751Z] v2.3.0-dev.14 [2023-05-08T05:46:41.751Z] v2.3.0-dev.15 [2023-05-08T05:46:41.751Z] v2.3.0-dev.16 [2023-05-08T05:46:41.751Z] v2.3.0-dev.17 [2023-05-08T05:46:41.751Z] v2.3.0-dev.18 [2023-05-08T05:46:41.751Z] v2.3.0-dev.19 [2023-05-08T05:46:41.751Z] v2.3.0-dev.20 [2023-05-08T05:46:41.751Z] v2.3.0-dev.21 [2023-05-08T05:46:41.751Z] v2.3.0-dev.22 [2023-05-08T05:46:41.751Z] v2.3.0-dev.23 [2023-05-08T05:46:41.751Z] v2.3.0-dev.24 [2023-05-08T05:46:41.751Z] v2.3.0-dev.7 [2023-05-08T05:46:41.751Z] v2.3.0-dev.8 [2023-05-08T05:46:41.751Z] v2.3.0-dev.9 [2023-05-08T05:46:41.751Z] v3.0.0-dev.1 [2023-05-08T05:46:41.751Z] v3.0.0-dev.10 [2023-05-08T05:46:41.751Z] v3.0.0-dev.11 [2023-05-08T05:46:41.751Z] v3.0.0-dev.12 [2023-05-08T05:46:41.751Z] v3.0.0-dev.13 [2023-05-08T05:46:41.751Z] v3.0.0-dev.14 [2023-05-08T05:46:41.751Z] v3.0.0-dev.15 [2023-05-08T05:46:41.751Z] v3.0.0-dev.16 [2023-05-08T05:46:41.751Z] v3.0.0-dev.17 [2023-05-08T05:46:41.751Z] v3.0.0-dev.18 [2023-05-08T05:46:41.751Z] v3.0.0-dev.19 [2023-05-08T05:46:41.751Z] v3.0.0-dev.2 [2023-05-08T05:46:41.751Z] v3.0.0-dev.20 [2023-05-08T05:46:41.751Z] v3.0.0-dev.3 [2023-05-08T05:46:41.751Z] v3.0.0-dev.4 [2023-05-08T05:46:41.751Z] v3.0.0-dev.5 [2023-05-08T05:46:41.751Z] v3.0.0-dev.6 [2023-05-08T05:46:41.751Z] v3.0.0-dev.7 [2023-05-08T05:46:41.751Z] v3.0.0-dev.8 [2023-05-08T05:46:41.751Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-08T05:46:42.039Z] + lftools sign git-tag v3.0.0-dev.20 [2023-05-08T05:46:42.606Z] Signing Git tag with Sigul... [2023-05-08T05:46:42.606Z] Signing v3.0.0-dev.20 [Pipeline] echo [2023-05-08T05:46:42.874Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:43.160Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-08T05:46:43.166Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-08T05:46:43.184Z] $ docker stop --time=1 0c23bad5552a2817355a31659dc57e34ecc277930a4e86d827f6f6f46c4119ab [2023-05-08T05:46:44.475Z] $ docker rm -f --volumes 0c23bad5552a2817355a31659dc57e34ecc277930a4e86d827f6f6f46c4119ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-08T05:46:44.964Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:46:44.964Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:45.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:46:45.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:45.326Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:45.352Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:46:45.686Z] $ docker top ad682940296c4503da932ce5c33c7a059751cc4088a8d6c3fbad44e597707a53 -eo pid,comm [2023-05-08T05:46:45.735Z] 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). [2023-05-08T05:46:45.735Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:46:45.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:46:45.775Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:46:45.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:46:45.880Z] $ docker exec ad682940296c4503da932ce5c33c7a059751cc4088a8d6c3fbad44e597707a53 ssh-agent [2023-05-08T05:46:45.970Z] SSH_AUTH_SOCK=/tmp/ssh-TZeyw6EEffaI/agent.31 [2023-05-08T05:46:45.970Z] SSH_AGENT_PID=37 [2023-05-08T05:46:45.975Z] Running ssh-add (command line suppressed) [2023-05-08T05:46:46.073Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2773247010355240157.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2773247010355240157.key) [2023-05-08T05:46:46.091Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:46:46.374Z] + git semver bump pre [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [bump_version] DEBUG bumped version:3.0.0-dev.21 [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,561 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,563 [execute] INFO git cat-file --batch-check [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,567 [execute] INFO git cat-file --batch [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:46:46.632Z] 2023-05-08 05:46:46,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:46.632Z] 3.0.0-dev.21 [Pipeline] } [2023-05-08T05:46:46.637Z] $ docker exec --env ******** --env ******** ad682940296c4503da932ce5c33c7a059751cc4088a8d6c3fbad44e597707a53 ssh-agent -k [2023-05-08T05:46:46.739Z] unset SSH_AUTH_SOCK; [2023-05-08T05:46:46.739Z] unset SSH_AGENT_PID; [2023-05-08T05:46:46.739Z] echo Agent pid 37 killed; [2023-05-08T05:46:46.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:46:47.059Z] + git semver [Pipeline] } [2023-05-08T05:46:47.328Z] $ docker stop --time=1 ad682940296c4503da932ce5c33c7a059751cc4088a8d6c3fbad44e597707a53 [2023-05-08T05:46:48.602Z] $ docker rm -f --volumes ad682940296c4503da932ce5c33c7a059751cc4088a8d6c3fbad44e597707a53 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:46:48.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T05:46:48.940Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:49.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T05:46:49.234Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:49.307Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:49.329Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T05:46:49.642Z] $ docker top 26214537ae5d36c1317bd38573bd0e81c715f7b0ab775d0fa835c587220ef600 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T05:46:49.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T05:46:49.727Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T05:46:49.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T05:46:49.836Z] $ docker exec 26214537ae5d36c1317bd38573bd0e81c715f7b0ab775d0fa835c587220ef600 ssh-agent [2023-05-08T05:46:49.935Z] SSH_AUTH_SOCK=/tmp/ssh-2tgrdsopsEco/agent.33 [2023-05-08T05:46:49.935Z] SSH_AGENT_PID=39 [2023-05-08T05:46:49.940Z] Running ssh-add (command line suppressed) [2023-05-08T05:46:50.032Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8381577111731607951.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8381577111731607951.key) [2023-05-08T05:46:50.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T05:46:50.332Z] + git semver push [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,480 [run_push] DEBUG push [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,481 [execute] INFO git cat-file --batch-check [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,481 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,483 [execute] INFO git rev-list c5c5ff0cd3321d76c3d0a46c8d3528a2f7b682bc -- [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,484 [execute] DEBUG Popen(['git', 'rev-list', 'c5c5ff0cd3321d76c3d0a46c8d3528a2f7b682bc', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,490 [execute] INFO git fetch -v origin [2023-05-08T05:46:50.590Z] 2023-05-08 05:46:50,490 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-08T05:46:51.156Z] 2023-05-08 05:46:50,950 [run_push] DEBUG no remote changes detected [2023-05-08T05:46:51.156Z] 2023-05-08 05:46:50,950 [execute] INFO git push origin semver [2023-05-08T05:46:51.156Z] 2023-05-08 05:46:50,951 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-08T05:46:51.722Z] 2023-05-08 05:46:51,685 [run_push] DEBUG push all version tags [2023-05-08T05:46:51.722Z] 2023-05-08 05:46:51,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-08T05:46:51.722Z] 2023-05-08 05:46:51,686 [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) [2023-05-08T05:46:52.657Z] 2023-05-08 05:46:52,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-08T05:46:52.657Z] 3.0.0-dev.21 [Pipeline] } [2023-05-08T05:46:52.666Z] $ docker exec --env ******** --env ******** 26214537ae5d36c1317bd38573bd0e81c715f7b0ab775d0fa835c587220ef600 ssh-agent -k [2023-05-08T05:46:52.765Z] unset SSH_AUTH_SOCK; [2023-05-08T05:46:52.765Z] unset SSH_AGENT_PID; [2023-05-08T05:46:52.765Z] echo Agent pid 39 killed; [2023-05-08T05:46:52.778Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T05:46:53.091Z] + git semver [Pipeline] } [2023-05-08T05:46:53.355Z] $ docker stop --time=1 26214537ae5d36c1317bd38573bd0e81c715f7b0ab775d0fa835c587220ef600 [2023-05-08T05:46:54.627Z] $ docker rm -f --volumes 26214537ae5d36c1317bd38573bd0e81c715f7b0ab775d0fa835c587220ef600 [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 [2023-05-08T05:46:55.153Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-08T05:46:55.153Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-08T05:46:55.153Z] total 16 [2023-05-08T05:46:55.153Z] drwxr-xr-x 3 root root 4096 May 8 05:35 . [2023-05-08T05:46:55.153Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:46 .. [2023-05-08T05:46:55.153Z] drwxr-xr-x 2 root root 4096 May 8 05:35 cost [2023-05-08T05:46:55.153Z] -rw-r--r-- 1 root root 85 May 8 05:35 cost.csv [2023-05-08T05:46:55.153Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-08T05:46:55.153Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-08T05:46:55.153Z] total 16 [2023-05-08T05:46:55.153Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:35 . [2023-05-08T05:46:55.153Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:46 .. [2023-05-08T05:46:55.153Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:35 cost [2023-05-08T05:46:55.153Z] -rw-r--r-- 1 jenkins jenkins 85 May 8 05:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:55.438Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:56.287Z] ---> package-listing.sh [2023-05-08T05:46:56.287Z] ++ facter osfamily [2023-05-08T05:46:56.287Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T05:46:56.544Z] + OS_FAMILY=debian [2023-05-08T05:46:56.544Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-08T05:46:56.544Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T05:46:56.544Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T05:46:56.544Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T05:46:56.544Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T05:46:56.544Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-08T05:46:56.544Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T05:46:56.544Z] + case "${OS_FAMILY}" in [2023-05-08T05:46:56.544Z] + dpkg -l [2023-05-08T05:46:56.544Z] + grep '^ii' [2023-05-08T05:46:56.544Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T05:46:56.544Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T05:46:56.544Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T05:46:56.544Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-08T05:46:56.544Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-08T05:46:56.544Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo [2023-05-08T05:46:56.552Z] 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 [2023-05-08T05:46:56.823Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:46:57.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:46:57.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:46:57.451Z] prd-ubuntu20.04-docker-8c-8g-14467 does not seem to be running inside a container [2023-05-08T05:46:57.495Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:46:57.710Z] $ docker top 949890454fde90865cc9d8f7ec0e95c5f91f08d545892736c7a856a74a7ea72b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:46:58.112Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T05:46:58.428Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T05:46:58.716Z] + ls /var/log/sa-host [2023-05-08T05:46:58.716Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:46:58.792Z] provisioning config files... [2023-05-08T05:46:58.800Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config15156446331967274636tmp [Pipeline] { [Pipeline] echo [2023-05-08T05:46:58.814Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:59.099Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T05:46:59.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:59.427Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T05:46:59.436Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:46:59.719Z] ---> sudo-logs.sh [2023-05-08T05:46:59.720Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T05:46:59.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:47:00.109Z] ---> job-cost.sh [2023-05-08T05:47:00.109Z] lf-activate-venv: SKIPPING [2023-05-08T05:47:00.109Z] DEBUG: total: 0.2199999988079071 [2023-05-08T05:47:00.109Z] INFO: Retrieving Stack Cost... [2023-05-08T05:47:00.367Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T05:47:00.935Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T05:47:00.946Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:47:01.227Z] ---> logs-deploy.sh [2023-05-08T05:47:01.227Z] lf-activate-venv: SKIPPING [2023-05-08T05:47:01.227Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/77 [2023-05-08T05:47:01.227Z] INFO: archiving workspace using pattern(s): [2023-05-08T05:47:02.166Z] Archives upload complete. [2023-05-08T05:47:02.166Z] INFO: archiving logs to Nexus